@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;1,100;1,300;1,400;1,500;1,700&display=swap");
html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

html, body {
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  width: 100%;
  height: 100%;
  margin: 0;
  color: #303030;
}

:focus {
  outline-style: dashed;
  outline-offset: 0.25rem;
  outline-color: #9F9F9F;
  outline-width: 1px;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

hr {
  border: 0;
  border-top: 1px solid #C7C7C7;
}

input {
  padding: 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid #4285F4;
  color: #303030;
}

a {
  color: #4285F4;
}

button, a.button {
  background-color: #4285F4;
  border: 0;
  border-radius: 0.25rem;
  padding: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  color: white;
}
button:hover, a.button:hover {
  cursor: pointer;
}
button:active, a.button:active {
  box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
  color: #EFEFEF;
}
button:disabled, a.button:disabled {
  background-color: #C7C7C7 !important;
  border-color: #C7C7C7 !important;
  cursor: default;
}
button:disabled:active, a.button:disabled:active {
  box-shadow: none;
  color: white;
}
button:disabled:hover, a.button:disabled:hover {
  cursor: default;
}

.button {
  appearance: button;
  text-decoration: none;
  text-align: center;
}

.btn-green {
  background-color: #34A853;
}

.btn-red {
  background-color: #EA4335;
}

.checkbox-symbol {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
  user-select: none;
}

.checkbox {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: left;
  align-items: center;
  gap: 0.5rem;
}
.checkbox input[type=checkbox] {
  position: absolute;
  visibility: hidden;
}
.checkbox input[type=checkbox]:checked + span {
  fill: #4285F4;
}
.checkbox input[type=checkbox]:disabled + span {
  border: 1px solid #C7C7C7;
  fill: #C7C7C7;
}
.checkbox input[type=checkbox]:disabled ~ div {
  color: #C7C7C7;
}
.checkbox input[type=checkbox]:checked + span > .svg-cross {
  display: none;
}
.checkbox input[type=checkbox]:disabled + span > .svg-check {
  display: none;
}
.checkbox span {
  fill: none;
  border: 1px solid #4285F4;
  width: 20px;
  height: 20px;
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto;
  justify-content: center;
  align-content: center;
}
.checkbox span svg {
  grid-column: 1;
  grid-row: 1;
}

.fill-grey1 {
  fill: #303030;
}

.fill-blue1 {
  fill: #4285F4;
}

.fill-red1 {
  fill: #EA4335;
}

.fill-green1 {
  fill: #34A853;
}

.fill-white {
  fill: white;
}

.icon-hover:hover {
  fill: #4285F4;
  cursor: pointer;
}

.bgc-red {
  background-color: #EA4335;
}

.bgc-green {
  background-color: #34A853;
}

.text-red {
  color: #EA4335;
}

.dsp-none {
  display: none !important;
}

.mr {
  margin-right: 0.5rem;
}

.page-container {
  width: 100%;
  height: 100%;
  background-color: #EFEFEF;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-items: center;
  justify-content: center;
}

.page {
  width: 100%;
  max-width: calc(1366px + 2rem);
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 2rem;
  grid-column: 1;
  grid-row: 1;
  background-color: white;
}

.page-full {
  width: 100%;
  height: 100%;
  background-color: #EFEFEF;
  padding: 2rem;
}

.page-shadow {
  box-sizing: border-box;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.form-group {
  background-color: white;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  border: 1px solid #C7C7C7;
  border-radius: 0.25rem;
  padding: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  gap: 0.25rem;
}
.form-group:focus-within {
  outline-style: dashed;
  outline-offset: 0.25rem;
  outline-color: #9F9F9F;
  outline-width: 1px;
}
.form-group label {
  color: #4285F4;
  font-size: 0.75rem;
}
.form-group input {
  padding: 0;
  border: 0;
  border-radius: 0;
}
.form-group input:focus {
  outline-style: none;
}
.form-group span {
  color: #EA4335;
  font-size: 0.75rem;
}

.tab-control .tab-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0;
}
.tab-control .tab-buttons button {
  background-color: #E7E7E7;
  background: linear-gradient(0deg, rgb(235, 235, 235) 0%, rgb(243, 243, 243) 25%, rgb(243, 243, 243) 100%);
  color: #303030;
  border: 1px solid #C7C7C7;
  border-radius: 0;
  margin-right: -1px;
  margin-bottom: -1px;
}
.tab-control .tab-buttons button:last-child {
  border-right: 1px solid #C7C7C7;
}
.tab-control .tab-buttons button:focus {
  outline: 0;
  box-shadow: 0 0 0 0 white;
}
.tab-control .tab-buttons button[active] {
  background: none;
  background-color: white;
  border-bottom: 1px solid white;
}
.tab-control .tab-content {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  border: 1px solid #C7C7C7;
}
.tab-control .tab-content .tab-page {
  background-color: white;
  padding: 1rem;
  visibility: hidden;
  grid-column: 1;
  grid-row: 1;
}
.tab-control .tab-content .tab-page[active] {
  visibility: visible;
}

.loader-layout {
  width: 100%;
  height: 100%;
  background-color: transparent;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-items: center;
  align-items: center;
}
.loader-layout .content {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-weight: 700;
}
.loader-layout .content .loader {
  width: 48px;
  height: 48px;
  display: inline-block;
  position: relative;
}
.loader-layout .content .loader::after, .loader-layout .content .loader::before {
  content: "";
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  border: 2px solid #C7C7C7;
  position: absolute;
  left: 0;
  top: 0;
  animation: rotationBreak 3s ease-in-out infinite alternate;
}
.loader-layout .content .loader::after {
  border-color: #4285F4;
  animation-direction: alternate-reverse;
}

@keyframes rotationBreak {
  0% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(90deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(270deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
#layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}
#layout #toolbar {
  top: 0px;
  left: 0px;
  position: sticky;
  z-index: 200;
}
#layout #search {
  border-top: 1px solid #C7C7C7;
  border-bottom: 1px solid #C7C7C7;
  background-color: white;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto;
  gap: 1rem;
}
#layout #search input {
  border: 0;
}
#layout #search input:focus {
  outline: 0;
}
#layout .menu-container {
  position: fixed;
  top: 72px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.12s ease-in;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  align-items: start;
  align-content: start;
  pointer-events: none;
  overflow: hidden;
  z-index: 99999;
}
#layout .container-open {
  background-color: rgba(0, 0, 0, 0.6);
  pointer-events: all;
}
#layout .menu {
  grid-row: 1;
  grid-column: 1;
  max-height: calc(100% - 72px);
  overflow-y: auto;
  transform: translateY(calc(-100% - 1px));
  transition: transform 0.12s ease-in;
  background-color: #E7E7E7;
  border-bottom: #C7C7C7;
  padding: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  justify-items: center;
}
#layout .menu a {
  color: #303030;
  text-decoration: none;
}
#layout .menu a:hover {
  text-decoration: underline;
}
#layout .menu .inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 1366px;
  display: flex;
  flex-wrap: wrap;
  column-count: 2;
  flex-grow: 1;
  justify-content: center;
}
#layout .menu .section {
  padding: 2rem;
  flex: 1;
  flex-basis: 50%;
  flex-grow: 0;
  flex-shrink: 0;
  min-width: 400px;
}
#layout .menu .section .header {
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #303030;
  margin-bottom: 0.5rem;
}
#layout .menu .section .items {
  column-count: 2;
}
#layout .menu .section .items span {
  display: block;
  margin-bottom: 0.5rem;
  user-select: none;
}
#layout .menu-open {
  transform: translateY(0) !important;
}
#layout .small-menu {
  grid-row: 1;
  grid-column: 1;
  transform: translateY(calc(-100% - 1px));
  transition: transform 0.12s ease-in;
  background-color: #E7E7E7;
}
#layout .small-menu a {
  color: #303030;
  text-decoration: none;
}
#layout .small-menu a:hover {
  text-decoration: underline;
}
#layout .small-menu .small-menu-item {
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #C7C7C7;
}
#layout .small-menu .small-menu-item:hover {
  cursor: pointer;
  text-decoration: underline;
}

@media screen and (max-width: 1280px) {
  #layout .menu .section {
    flex-grow: 1 !important;
  }
}
#navigation {
  background-color: #E7E7E7;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  padding-left: 2rem;
  padding-right: 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  justify-content: center;
  justify-items: center;
  align-items: center;
}
#navigation .menu-strip {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  align-content: center;
}
#navigation .menu-strip .item {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: 1fr;
  align-items: center;
  user-select: none;
}
#navigation .menu-strip .item:hover {
  cursor: pointer;
  text-decoration: underline;
}
#navigation .controls {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
#navigation .controls .small-menu-button {
  display: none;
}
#navigation .controls .small-menu-button:hover {
  cursor: pointer;
}

@media screen and (max-width: 1280px) {
  #navigation .menu-strip .item {
    display: none;
  }
  #navigation .controls .small-menu-button {
    display: unset;
  }
}
#carousel {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  height: 60vh;
  transition: height 0.2s linear;
  position: relative;
  overflow: hidden;
}
#carousel .images {
  width: 100%;
  overflow: hidden;
  grid-column: 1;
  grid-row: 1;
}
#carousel .item {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 100%;
  color: white;
  text-decoration: none;
  justify-items: center;
  opacity: 1;
  transition: opacity 0.2s cubic-bezier(0.5, 1, 0.89, 1);
  z-index: 51;
}
#carousel .item img {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  object-fit: cover;
}
#carousel .item div.text > h1, #carousel .item h2, #carousel .item p {
  margin-top: 0;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 7px #000, 0 0 10px #000, 0 0 21px #000;
}
#carousel .item div.text {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  padding: 2rem;
  box-sizing: border-box;
  max-width: 1200px;
}
#carousel .item-hidden {
  opacity: 0;
}
#carousel .item-under {
  z-index: 50;
}
#carousel .controls {
  display: grid;
  gap: 2rem;
  grid-column: 1;
  grid-row: 1;
  grid-template-rows: 1fr auto;
  z-index: 60;
  pointer-events: none;
}
#carousel .controls .marker {
  background-color: #EFEFEF;
  height: 12px;
  width: 60px;
  border-radius: 6px;
  margin-top: 3rem;
  margin-bottom: 3rem;
  grid-row: 2;
  pointer-events: all;
  transition: all 0.2s linear;
}
#carousel .controls .marker:hover {
  cursor: pointer;
  box-shadow: 0px 0px 10px 5px rgba(255, 255, 255, 0.4);
}
#carousel .controls .selected {
  background-color: #4285F4;
}

@media screen and (max-width: 2180px) {
  #carousel {
    height: 60vh;
  }
}
@media screen and (max-width: 1940px) {
  #carousel {
    height: 65vh;
  }
}
@media screen and (max-width: 1700px) {
  #carousel {
    height: 70vh;
  }
}
@media screen and (max-width: 1460px) {
  #carousel {
    height: 75vh;
  }
}
@media screen and (max-width: 980px) {
  #carousel {
    height: 80vh;
  }
}
@media screen and (max-width: 640px) {
  #carousel {
    height: 85vh;
  }
}
@media screen and (max-width: 480px) {
  #carousel {
    height: 90vh;
  }
}
@media screen and (max-width: 240px) {
  #carousel {
    height: 90vh;
  }
}
#carousel-main {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  height: 60vh;
  transition: height 0.2s linear;
  position: relative;
  overflow: hidden;
}
#carousel-main .item {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  z-index: 8;
  opacity: 0;
  animation: crossfade-out 1s;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
}
#carousel-main .item img {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  object-fit: cover;
}
#carousel-main .item .overlay {
  grid-column: 1;
  grid-row: 1;
  max-width: 1366px;
  width: 100%;
  justify-self: center;
  align-self: start;
  padding: 2rem;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 9;
}
#carousel-main .item .overlay h1, #carousel-main .item .overlay h2, #carousel-main .item .overlay h3, #carousel-main .item .overlay h4, #carousel-main .item .overlay p {
  margin: 0;
  text-shadow: 0 0 7px #000, 0 0 10px #000, 0 0 21px #000;
}
#carousel-main .item[selected] {
  z-index: 10;
  opacity: 1;
  animation: crossfade-in 1s;
}
#carousel-main .item[selected] .overlay {
  z-index: 11;
}
#carousel-main .controls {
  display: grid;
  gap: 2rem;
  grid-column: 1;
  grid-row: 1;
  height: 100%;
  justify-self: center;
  align-items: end;
  z-index: 3000;
  pointer-events: none;
}
#carousel-main .controls .pill {
  background-color: #EFEFEF;
  height: 12px;
  width: 60px;
  border-radius: 6px;
  margin-top: 3rem;
  margin-bottom: 3rem;
  grid-row: 1;
  pointer-events: all;
  transition: all 0.75s linear;
}
#carousel-main .controls .pill:hover {
  cursor: pointer;
  box-shadow: 0px 0px 10px 5px rgba(255, 255, 255, 0.4);
}
#carousel-main .controls .pill[selected] {
  background-color: #4285F4;
}

@keyframes crossfade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes crossfade-out {
  0% {
    opacity: 1;
  }
  99% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@media screen and (max-width: 2180px) {
  #carousel-main {
    height: 60vh;
  }
}
@media screen and (max-width: 1940px) {
  #carousel-main {
    height: 65vh;
  }
}
@media screen and (max-width: 1700px) {
  #carousel-main {
    height: 70vh;
  }
}
@media screen and (max-width: 1460px) {
  #carousel-main {
    height: 75vh;
  }
}
@media screen and (max-width: 980px) {
  #carousel-main {
    height: 80vh;
  }
}
@media screen and (max-width: 640px) {
  #carousel-main {
    height: 85vh;
  }
}
@media screen and (max-width: 480px) {
  #carousel-main {
    height: 90vh;
  }
}
@media screen and (max-width: 240px) {
  #carousel-main {
    height: 90vh;
  }
}
#index {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  background-color: #EFEFEF;
}
#index .intro {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}
#index .intro h1 {
  margin-top: 0;
}
#index .grid {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

#footer {
  background-color: #E7E7E7;
  color: #303030;
  border-top: 3px solid #4285F4;
  display: flex;
  flex-wrap: nowrap;
  padding-top: 2rem;
  padding-bottom: 2rem;
  flex-shrink: 0;
}
#footer .spacer {
  flex: 1 1 auto;
  min-width: 2rem;
}
#footer .inner {
  width: 100%;
  max-width: 1366px;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
#footer .column {
  flex: 1 1 auto;
}
#footer a {
  font-size: 12px;
  color: #303030;
  margin-bottom: 0;
  display: block;
  text-decoration: none;
}
#footer a:hover {
  text-decoration: underline;
}
#footer p {
  font-size: 12px;
}
#footer .header {
  font-weight: 700;
  margin-bottom: 0.25rem;
}
#footer .prod-links {
  column-count: 2;
  max-height: 150px;
}
#footer .socials {
  display: flex;
  margin-top: 1rem;
}
#footer .socials a {
  margin-right: 15px;
  text-decoration: none;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto;
  align-content: center;
  align-items: center;
  gap: 0.5rem;
}
#footer .socials .social-img {
  width: 30px;
  height: 30px;
}
#footer .cards {
  display: flex;
  margin-top: 1rem;
  image-rendering: -webkit-optimize-contrast;
}
#footer .card-img {
  width: 30px;
  height: 18px;
  margin-right: 0.25rem;
}
#footer .phone {
  font-size: 16px;
  font-weight: 500;
}
#footer .email {
  font-size: 12px;
  color: #303030;
}

#auth-layout {
  display: grid;
  width: 100vw;
  height: 100vh;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  background-size: cover;
  background-position: 20% 20%;
}
#auth-layout .container {
  padding: 2rem;
  grid-row: 1;
  grid-column: 1;
  background-color: #E7E7E7;
  height: unset;
  align-self: center;
  justify-self: center;
  min-width: 300px;
  max-width: 450px;
  width: 100%;
  border: 1px solid #303030;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#auth-layout .container .logo {
  padding: 2rem;
}
#auth-layout .container .logo img {
  width: 100%;
}
#auth-layout form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  height: 100%;
}

#account {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-items: left;
  justify-content: left;
  padding-bottom: 2rem;
}
#account .info {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
  align-content: start;
  align-items: start;
}

.account-status {
  border: 1px solid #C7C7C7;
  border-radius: 0.5rem;
  background-color: #E7E7E7;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.account-status th {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-right: 0.5rem;
  text-wrap: none;
  white-space: nowrap;
}
.account-status .circle {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.25rem;
}
.account-status .red {
  background-color: #EA4335;
}
.account-status .blue {
  background-color: #4285F4;
}
.account-status .green {
  background-color: #34A853;
}

.orders-table-container {
  height: 400px;
  overflow-y: scroll;
  margin-top: 1rem;
  border: 1px solid #C7C7C7;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
}
.orders-table th, .orders-table td {
  border-bottom: 1px solid #C7C7C7;
  padding: 0.5rem;
}
.orders-table th {
  background: #E7E7E7;
  position: sticky;
  top: 0;
  font-weight: 700;
}
.orders-table tr:hover {
  background: #E7EFFD;
  cursor: pointer;
}

@media (max-width: 984px) {
  .orders-table {
    font-size: 12px;
  }
}
@media (max-width: 768px) {
  .orders-table {
    font-size: 10px;
  }
}
@media (max-width: 584px) {
  .orders-table {
    font-size: 8px;
  }
}
#search-page {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 250px 1fr;
  grid-template-rows: 1fr;
  gap: 2rem;
  padding: 2rem;
  background-color: #EFEFEF;
}
#search-page .side {
  grid-column: 1;
  position: fixed;
  top: calc(120px + 2rem);
  width: 250px;
}
#search-page .main {
  grid-column: 2;
}
#search-page .item-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: 380px;
  grid-auto-flow: row;
  gap: 2rem;
}
#search-page h1 {
  margin-bottom: 1rem;
}
#search-page .show-filter {
  position: fixed;
  background-color: #4285F4;
  width: 1.5rem;
  height: 200px;
  border-radius: 0.5rem 0 0 0.5rem;
  color: white;
  visibility: hidden;
  top: 20vh;
  left: calc(100% - 1.5rem);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-items: center;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
#search-page .filter-open {
  transform: translateX(0);
}

@media screen and (max-width: 500px) {
  #search-page {
    grid-template-columns: 1fr;
  }
  #search-page .side {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    pointer-events: none;
    grid-column: unset;
    z-index: 10000;
  }
  #search-page .main {
    grid-column: 1;
  }
  #search-page .show-filter {
    visibility: visible;
  }
  #filter {
    position: fixed;
    top: 10%;
    height: calc(90% - 2rem);
    width: 300px;
    left: calc(100% - 300px);
    transform: translateX(300px);
    transition: transform 0.15s ease-in;
    z-index: 10000;
    border-radius: 0.5rem 0 0 0.5rem !important;
    pointer-events: all;
  }
  #filter .hide-filter {
    display: block !important;
  }
}
.item-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  color: #303030;
  text-decoration: none;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 380px;
}
.item-card hr {
  justify-self: stretch;
  align-self: stretch;
  width: 100%;
}
.item-card .retail-price {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  font-weight: 500;
}
.item-card .trade-price {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}
.item-card .name {
  height: 64.4px;
  font-weight: 500;
}
.item-card .options {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-content: center;
  gap: 0.5em;
  height: 24px;
}
.item-card .price-strikethrough {
  text-decoration: line-through;
  color: #C7C7C7;
}
.item-card .price-offer {
  margin-left: 0.2ch;
  color: #EA4335;
}
.item-card .oos {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  opacity: 0.5;
}
.item-card .thumb {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  height: 200px;
}
.item-card .thumb .img-error {
  width: 100%;
  height: 100%;
  object-fit: none;
  object-position: center;
  grid-column: 1;
  grid-row: 1;
  max-height: 200px;
}
.item-card .thumb .img-good {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 200px;
  object-fit: contain;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  max-height: 200px;
}
.item-card .thumb .sale-banner {
  grid-column: 1;
  grid-row: 1;
  justify-self: right;
  width: 48px;
  height: 48px;
  border-radius: 0 0.25rem 0 0;
  overflow: hidden;
}
.item-card .thumb .availability-type {
  grid-column: 1;
  grid-row: 1;
  justify-self: right;
  align-self: end;
  height: 2rem;
  display: grid;
  align-content: center;
  padding-left: 1.5rem;
  padding-right: 1rem;
  border-radius: 2rem 0 0 2rem;
  color: white;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: bold;
}
.item-card .thumb .preorder {
  background-color: #34A853;
}
.item-card .thumb .special-order {
  background-color: #EA4335;
}

#filter {
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 0.5rem;
  max-height: calc(100vh - 120px - 179px - 4rem);
}
#filter .title {
  text-align: center;
  font-weight: 600;
  border-bottom: 1px solid #C7C7C7;
  padding: 0.5rem;
  padding-bottom: 1rem;
  padding-top: 1rem;
  user-select: none;
}
#filter .inner {
  max-height: 100%;
  overflow-y: auto;
  overflow-y: overlay;
}
#filter .inner::-webkit-scrollbar {
  width: 10px;
}
#filter .inner::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
  width: 6px;
}
#filter .inner::-webkit-scrollbar-thumb {
  background: #C7C7C7;
  border: 2px solid rgba(0, 0, 0, 0);
  border-radius: 6px;
  background-clip: padding-box;
}
#filter .items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  padding-top: 0;
}
#filter .header {
  text-transform: uppercase;
  font-weight: 600;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  user-select: none;
}
#filter .facet {
  text-transform: uppercase;
  font-size: 12px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
#filter .options {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-top: 1px solid #C7C7C7;
  border-bottom: 1px solid #C7C7C7;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#filter .closed {
  padding: 0;
  border: 0;
  overflow: hidden;
  height: 0;
  visibility: none;
  position: fixed;
  top: 0;
  left: 0;
}
#filter .facet-name {
  font-size: 12px;
  user-select: none;
}
#filter .facet-value {
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1rem;
}
#filter label {
  cursor: pointer;
  user-select: none;
}
#filter .hidden {
  visibility: hidden;
}
#filter .hide-filter button {
  width: 100%;
  border-radius: 0 0 0 0.5rem;
}
#filter .hide-filter {
  display: none;
}

#product-page {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: 1fr;
  justify-items: center;
}
#product-page .section {
  width: 100%;
  max-width: calc(1366px + 4rem);
  padding: 2rem;
}
#product-page .top {
  background-color: white;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
#product-page .top .images {
  flex: 0 1 calc(60% - 0.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#product-page .top .images img {
  width: 100%;
  cursor: pointer;
}
#product-page .top .images .image-thumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
}
#product-page .top .images .image-thumbs .image-thumb {
  width: 50px;
  height: 50px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  outline: 1px solid #C7C7C7;
}
#product-page .top .images .image-thumbs .image-thumb img {
  grid-column: 1;
  grid-row: 1;
  width: 50px;
  height: 50px;
  object-fit: contain;
}
#product-page .top .images .image-thumbs .image-thumb:hover {
  outline: 2px solid #4285F4;
  cursor: pointer;
}
#product-page .top .info {
  display: grid;
  grid-template-columns: auto;
  gap: 1rem;
  flex: 0 1 calc(40% - 0.5rem);
}
#product-page .top .info .availability-text {
  display: grid;
  align-content: center;
  justify-content: center;
  height: 2rem;
  color: white;
  border-radius: 2rem;
}
#product-page .bottom > hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
#product-page .bottom-background {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  justify-items: center;
  background-color: #E7E7E7;
  border-top: 1px solid #C7C7C7;
  width: 100%;
}
#product-page .colour-thumb-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
}
#product-page .colour-thumb {
  width: 50px;
  height: 50px;
  outline: 1px solid #C7C7C7;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  justify-content: center;
}
#product-page .colour-thumb img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  grid-column: 1;
  grid-row: 1;
}
#product-page .colour-thumb:hover {
  cursor: pointer;
}
#product-page .colour-thumb[selected] {
  outline: 2px solid #4285F4;
}
#product-page .offer-tri {
  width: 12px;
  height: 12px;
  border-top: 6px solid #EA4335;
  border-right: 6px solid #EA4335;
  border-bottom: 6px solid transparent;
  border-left: 6px solid transparent;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: right;
}
#product-page .main-image-container {
  width: 100%;
  height: 604px;
}
#product-page .main-image {
  image-rendering: -webkit-optimize-contrast;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#product-page .main-image-error {
  width: 100%;
  height: 100%;
  object-fit: none;
}
#product-page .options-table-container {
  display: block;
  max-height: 242px;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  border-top: 1px solid #C7C7C7;
  border-bottom: 1px solid #C7C7C7;
}
#product-page .options-table {
  width: 100%;
  font-size: 12px;
  border-spacing: 0;
}
#product-page .options-table thead {
  position: sticky;
  top: 0;
  background-color: white;
}
#product-page .options-table td, #product-page .options-table th {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #C7C7C7;
}
#product-page .options-table tbody > tr:last-child > td {
  border-bottom: 0;
}
#product-page .options-table tr:hover {
  background-color: #EFEFEF;
  cursor: pointer;
}
#product-page .options-table tr[selected] {
  background-color: #E7EFFD;
}
#product-page .options-table thead > tr:hover {
  background-color: white;
  cursor: default;
}
#product-page .selected-row {
  background-color: #4285F4;
}
#product-page .oos-row {
  color: #EA4335;
}
#product-page .retail-text {
  font-size: 21px;
  font-weight: 500;
  font-variant: small-caps;
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}
#product-page .price-block {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: baseline;
}
#product-page .trade-price-block {
  display: flex;
  align-items: baseline;
}
#product-page #box-price {
  display: flex;
  align-items: start;
  gap: 0.5rem;
}
#product-page .strikethrough {
  text-decoration: line-through;
  color: #C7C7C7;
}
#product-page .offer-text {
  color: #EA4335;
}
#product-page .a2b-area {
  display: grid;
  grid-template-columns: auto 1fr auto;
}
#product-page #qty-box {
  display: grid;
  grid-template-columns: repeat(4, auto);
  border: 2px solid #4285F4;
  border-radius: 0.25rem;
}
#product-page #qty-box:focus-within {
  outline-style: dashed;
  outline-offset: 0.25rem;
  outline-color: #C7C7C7;
  outline-width: 1px;
}
#product-page #qty-box #qty-label {
  background-color: #4285F4;
  display: flex;
  align-items: center;
  padding: 0.5rem;
  color: white;
}
#product-page #qty-box .icon {
  fill: white;
  background-color: #4285F4;
  display: flex;
  align-items: center;
  padding: 0.5rem;
  transition: fill 0.2s ease-in;
  height: 100%;
}
#product-page #qty-box .icon:hover {
  cursor: pointer;
  fill: #E7E7E7;
}
#product-page #qty-box .larger > svg {
  transform: scale(1.3);
}
#product-page #qty-box #qty-input {
  border: 0;
  margin: 0;
  text-align: center;
  width: 60px;
}
#product-page #qty-box #qty-input:focus {
  outline-style: none;
}
#product-page #qty-box input[type=number] {
  -moz-appearance: textfield;
}
#product-page #qty-box input::-webkit-outer-spin-button, #product-page #qty-box input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
#product-page #qty-box .error {
  color: #EA4335;
  font-weight: 700;
}
#product-page .extra-info {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  justify-items: left;
}
#product-page #product-title {
  width: 100%;
  margin-top: 2rem;
  max-width: calc(1366px + 4rem);
  padding-left: 2rem;
  padding-right: 2rem;
}

@media screen and (max-width: 1100px) {
  #product-page .top .images {
    flex: 1 1 100%;
  }
  #product-page .top .info {
    flex: 1 1 100%;
  }
}
.number-spinner {
  display: inline-block;
  overflow: hidden;
  height: 16.1px;
}
.number-spinner span {
  height: 16.1px;
  display: block;
  transition: transform 0.2s ease-out;
}

#retail-price {
  height: 24.15px;
}
#retail-price span {
  height: 24.15px;
}

.animate-spinner {
  transform: translateY(-100%);
}

.range-view h2 {
  margin-top: 4rem;
  margin-bottom: 1rem;
}
.range-view a {
  text-decoration: none;
}
.range-view a:hover {
  text-decoration: underline;
}
.range-view .range-view-items {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: auto;
  gap: 2rem;
  padding-bottom: 1rem;
}
.range-view .range-view-card {
  background-color: white;
  display: grid;
  margin: 0;
  padding: 1rem;
  color: var(--dark-grey);
  grid-template-rows: 100px 1em 1fr;
  grid-template-columns: 1fr;
  border-radius: 0.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.range-view .range-view-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  justify-self: center;
  align-self: center;
}
.range-view .range-view-card .image-error {
  width: 100%;
  height: 100%;
  object-fit: none;
  object-position: center;
}
.range-view .range-view-card h1 {
  color: var(--dark-grey);
  font-size: 14px;
  margin: 0;
}
.range-view .range-view-card hr {
  color: var(--dark-grey);
  width: 100%;
}

@media screen and (max-width: 1150px) {
  .range-view .range-view-items {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media screen and (max-width: 950px) {
  .range-view .range-view-items {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 850px) {
  .range-view .range-view-items {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 750px) {
  .range-view .range-view-items {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 600px) {
  .range-view .range-view-items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 450px) {
  .range-view .range-view-items {
    grid-template-columns: repeat(1, 1fr);
  }
}
#image-viewer.htmx-added {
  opacity: 0;
}

#image-viewer.htmx-swapping {
  opacity: 0;
}

#image-viewer {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 500;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  padding: 4rem;
  opacity: 1;
  transition: opacity 0.2s ease-in;
}
#image-viewer #images {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  background-color: #EFEFEF;
  display: grid;
  grid-auto-columns: 100%;
  grid-template-rows: 1fr;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  touch-action: pan-x;
}
#image-viewer #images .image {
  width: 100%;
  height: calc(100vh - 8rem);
  object-fit: contain;
  grid-column: 1;
  grid-row: 1;
}
#image-viewer .button-aligner {
  width: 100%;
  grid-column: 1;
  grid-row: 1;
  align-self: flex-end;
}
#image-viewer .button-aligner .buttons {
  display: grid;
  grid-template-columns: 1fr auto auto auto auto 1fr;
  grid-template-rows: auto;
}
#image-viewer .button-aligner .buttons button {
  border-radius: 0;
  background-color: rgba(0, 0, 0, 0.9);
  width: 48px;
  height: 48px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  justify-items: center;
}

#dialog-container.htmx-added {
  opacity: 0;
}

#dialog-container.htmx-swapping {
  opacity: 0;
}

#dialog-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-items: center;
  align-items: center;
  z-index: 2000;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.2s ease-in;
  pointer-events: none;
}
#dialog-container #dialog {
  grid-column: 1;
  grid-row: 1;
  background-color: white;
  border: 1px solid #303030;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  margin: 2rem;
  max-width: 600px;
  pointer-events: all;
}
#dialog-container #dialog-title {
  font-weight: 700;
  border-bottom: 1px solid #C7C7C7;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}
#dialog-container #dialog-buttons {
  display: flex;
  justify-content: right;
  gap: 1rem;
  margin-top: 1rem;
}
#dialog-container #dialog-buttons button {
  width: 80px;
}
#dialog-container form {
  display: grid;
  grid-template-columns: auto auto;
  grid-auto-rows: auto;
  gap: 1rem;
  align-items: center;
  padding-top: 0.5rem;
}
#dialog-container form input, #dialog-container form select {
  grid-column: 2/3;
}
#dialog-container form label {
  grid-column: 1/2;
}
#dialog-container form .form-buttons {
  grid-column: 1/3;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #C7C7C7;
  padding-top: 1rem;
}

#notification-list {
  position: fixed;
  width: 300px;
  top: calc(120px + 1rem);
  left: calc(100% - 300px - 1rem);
  height: calc(100vh - 120px - 1rem);
  z-index: 2500;
  pointer-events: none;
}
#notification-list .notification-outer {
  padding-bottom: 1rem;
}
#notification-list .notification-outer .notification {
  width: 300px;
  height: 93px;
  padding: 1rem;
  border: 1px solid #303030;
  border-radius: 0.5rem;
  background-color: #E7EFFD;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  opacity: 1;
  transition: opacity 0.2s ease-out;
}
#notification-list .notification-outer .notification .title {
  font-weight: 700;
  border-bottom: 1px solid #C7C7C7;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.fade-out {
  opacity: 0 !important;
}

.bounce-in-anim {
  animation: bounce-in 0.2s linear;
}

.notification-anim {
  animation: notifification-slide-up 0.2s ease-out forwards;
}

@keyframes bounce-in {
  000% {
    transform: scale(0);
    opacity: 0;
  }
  060% {
    transform: scale(1);
    opacity: 0.6;
  }
  080% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes notifification-slide-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}
#basket-container.htmx-added {
  background-color: rgba(0, 0, 0, 0);
}
#basket-container.htmx-added #basket {
  transform: translateY(-100%);
}

#basket-container.htmx-swapping {
  background-color: rgba(0, 0, 0, 0);
}
#basket-container.htmx-swapping #basket {
  transform: translateY(-100%);
}

@keyframes shrink-item {
  000% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0);
    opacity: 0;
  }
}
@keyframes shrink-row {
  000% {
    height: 55px;
    opacity: 0;
  }
  100% {
    height: 0px;
    opacity: 0;
  }
}
.shrink-item-anim {
  animation: shrink-item 0.2s ease-in;
}

.shrink-row-anim {
  animation: shrink-row 0.2s ease-in;
}

#basket-container {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  height: calc(100vh - 72px);
  background-color: rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  z-index: 1999;
  opacity: 1;
  transition: background-color 0.125s ease-in;
  align-items: start;
  overflow: hidden;
  transform: translateY(0);
  user-select: none;
}
#basket-container #basket {
  background-color: #E7E7E7;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  border-bottom: #303030;
  padding-top: 4rem;
  padding-bottom: 4rem;
  justify-items: center;
  transition: transform 0.125s ease-in;
}
#basket-container #basket #inner {
  width: min(100%, 600px);
  padding-left: 1rem;
  padding-right: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: 1rem;
}
#basket-container #basket #inner #basket-items {
  display: grid;
  grid-template-columns: 1fr;
  font-size: 12px;
  max-width: 600px;
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
}
#basket-container #basket #inner #basket-items .basket-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto auto;
  grid-template-rows: auto;
  align-items: center;
  border-bottom: 1px solid #C7C7C7;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
  gap: 0.5rem;
  height: 55px;
  overflow: hidden;
}
#basket-container #basket #inner #basket-items .basket-row:first-child {
  border-top: 1px solid #C7C7C7;
}
#basket-container #basket #inner #basket-items .basket-row .item-text {
  min-width: 0;
}
#basket-container #basket #inner #basket-items .basket-row .item-text div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 14px;
}
#basket-container #basket #inner #basket-items .basket-row img {
  width: 40px;
  height: 40px;
  object-position: center;
  object-fit: contain;
  background-color: white;
}
#basket-container #basket #inner #basket-items .basket-row .full-row {
  grid-column: 1/7;
}
#basket-container #basket #inner #basket-items .basket-row .full-row hr {
  margin: 0;
}
#basket-container #basket #inner #basket-items .basket-row .quantity {
  width: 40px;
  text-align: right;
}
#basket-container #basket #inner #basket-items .basket-row input[type=number] {
  -moz-appearance: textfield;
}
#basket-container #basket #inner #basket-items .basket-row input::-webkit-outer-spin-button, #basket-container #basket #inner #basket-items .basket-row input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
#basket-container #basket #inner .values {
  display: flex;
  justify-content: right;
  font-weight: 500;
}
#basket-container #basket #inner .buttons {
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-rows: 1fr;
  gap: 1rem;
}
#basket-container #basket #inner .buttons button {
  width: 100px;
}
#basket-container #basket #inner .buttons label {
  display: flex;
  align-items: center;
  font-weight: 500;
  gap: 0.5rem;
}
#basket-container #basket #inner .buttons label:hover {
  cursor: pointer;
}
#basket-container #basket #inner .buttons label a {
  color: #303030;
  text-decoration: none;
}

#top-blocker {
  position: fixed;
  top: 0;
  left: 0;
  height: 120px;
  width: 100%;
  z-index: 1999;
}

#basket-icon {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}
#basket-icon:hover {
  cursor: pointer;
}
#basket-icon #basket-icon-inner {
  grid-column: 1;
  grid-row: 1;
}
#basket-icon #basket-count {
  grid-column: 1;
  grid-row: 1;
  font-weight: 600;
  text-shadow: -1px -1px 0 #FFFFFF, 0 -1px 0 #FFFFFF, 1px -1px 0 #FFFFFF, 1px 0 0 #FFFFFF, 1px 1px 0 #FFFFFF, 0 1px 0 #FFFFFF, -1px 1px 0 #FFFFFF, -1px 0 0 #FFFFFF;
  text-align: right;
  transform: translate(0, 90%);
}

#upload-csv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2rem;
}
#upload-csv form {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto;
  gap: 1rem;
  align-items: center;
}
#upload-csv form h1, #upload-csv form p {
  grid-column: 1/span 2;
  margin: 0;
}
#upload-csv form #csv-options {
  grid-column: 1/span 2;
}
#upload-csv form button {
  grid-column: 1/span 2;
}
#upload-csv #results {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 1rem;
}
#upload-csv #results table {
  border-collapse: collapse;
  width: 100%;
}
#upload-csv #results table th {
  padding: 0.5rem;
  border: 1px solid #C7C7C7;
  background-color: #E7E7E7;
  font-weight: 500;
}
#upload-csv #results table td {
  padding: 0.5rem;
  border: 1px solid #C7C7C7;
  background-color: white;
}
#upload-csv #results .error {
  background-color: #F4C6C2;
  color: #EA4335;
  font-weight: 500;
  border: 1px solid #F4A19A;
}
#upload-csv #results .error-next {
  border-bottom: 1px solid #F4A19A;
}
#upload-csv #results .loader {
  justify-self: center;
  margin: 2rem;
  opacity: 0;
  transition: opacity 0.2s ease-in;
}
#upload-csv #results .htmx-request .loader {
  opacity: 1;
}
#upload-csv #results .htmx-request.loader {
  opacity: 1;
}

@media screen and (max-width: 1080px) {
  #upload-csv {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
}
#admin {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#admin #toolbar {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

#manage-users {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 1rem;
}
#manage-users input {
  width: 100%;
  max-width: 400px;
}
#manage-users .toolbar {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
}
#manage-users #table-container {
  overflow-y: auto;
  border: 1px solid #C7C7C7;
  max-height: 830px;
}
#manage-users table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #C7C7C7;
}
#manage-users table td, #manage-users table th {
  padding: 0.75rem;
  border-top: 1px solid #C7C7C7;
  border-bottom: 1px solid #C7C7C7;
}
#manage-users table th {
  border-top: 0;
  background-color: #E7E7E7;
  top: 0;
  position: sticky;
}
#manage-users table td {
  background-color: white;
}
#manage-users table tr[locked] {
  background-color: #F4C6C2;
  color: #EA4335;
}
#manage-users table tr[locked] td {
  background-color: #F4C6C2;
  color: #EA4335;
}
#manage-users table tr[selected] {
  background-color: #E7EFFD;
}
#manage-users table tr[selected] td {
  background-color: #E7EFFD;
}
#manage-users table tr:hover {
  cursor: pointer;
}

#create-user form {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 1rem;
  max-width: 500px;
}
#create-user form .cols {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto;
  gap: 1rem;
}
#create-user form .cols label {
  font-weight: 700;
  align-self: center;
}
#create-user form .cols div {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
#create-user form .cols #sage-account {
  border: 0;
  background-color: transparent;
}
#create-user form .cols #sage-account:focus {
  outline: none;
}

#edit-user {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}
#edit-user #edit-user-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  min-width: 300px;
}
#edit-user #edit-user-form .cols {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto;
  gap: 1rem;
}
#edit-user #edit-user-form .cols label {
  font-weight: 700;
  align-self: center;
}
#edit-user #edit-user-form .cols div {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
#edit-user #edit-user-form .cols #sage-account {
  border: 0;
  background-color: transparent;
}
#edit-user #edit-user-form .cols #sage-account:focus {
  outline: none;
}
#edit-user #update-pword {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
}
#edit-user #update-pword input {
  font-family: "Roboto Mono", "Consolas", "Courier New", Courier, monospace;
}

@media screen and (max-width: 1200px) {
  #edit-user {
    flex-direction: column;
  }
}
#account-picker.htmx-added {
  opacity: 0;
}

#account-picker.htmx-swapping {
  opacity: 0;
}

#account-picker {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-items: center;
  align-items: center;
  z-index: 2000;
  opacity: 1;
  transition: opacity 0.2s ease-in;
}
#account-picker #dialog {
  grid-column: 1;
  grid-row: 1;
  background-color: white;
  border: 1px solid #303030;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  margin: 2rem;
  width: 800px;
  height: 500px;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr auto;
}
#account-picker #dialog table {
  width: 100%;
  border-collapse: collapse;
}
#account-picker #dialog table td, #account-picker #dialog table th {
  padding: 0.75rem;
  border-top: 1px solid #C7C7C7;
  border-bottom: 1px solid #C7C7C7;
}
#account-picker #dialog table th {
  border-top: 0;
  background-color: #E7E7E7;
  top: 0;
  position: sticky;
}
#account-picker #dialog table td {
  background-color: white;
}
#account-picker #dialog table tr[selected] {
  background-color: #E7EFFD;
}
#account-picker #dialog table tr[selected] td {
  background-color: #E7EFFD;
}
#account-picker #dialog table tr:hover {
  cursor: pointer;
}
#account-picker #dialog .table-container {
  overflow-y: auto;
  border: 1px solid #C7C7C7;
}
#account-picker #dialog .buttons {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-items: right;
  justify-content: right;
}
#account-picker #dialog .buttons button {
  width: 100px;
}

#basket-viewer.htmx-added {
  opacity: 0;
}

#basket-viewer.htmx-swapping {
  opacity: 0;
}

#basket-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-items: center;
  align-items: center;
  z-index: 2000;
  opacity: 1;
  transition: opacity 0.2s ease-in;
}
#basket-viewer #dialog {
  grid-column: 1;
  grid-row: 1;
  background-color: white;
  border: 1px solid #303030;
  border-radius: 0.5rem;
  padding: 2rem;
  margin: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto 1fr auto;
  max-height: calc(100vh - 4rem);
}
#basket-viewer #dialog table {
  width: 100%;
  border-collapse: collapse;
}
#basket-viewer #dialog table td, #basket-viewer #dialog table th {
  padding: 0.75rem;
  border-top: 1px solid #C7C7C7;
  border-bottom: 1px solid #C7C7C7;
}
#basket-viewer #dialog table th {
  border-top: 0;
  background-color: #E7E7E7;
  top: 0;
  position: sticky;
  z-index: 50;
}
#basket-viewer #dialog table td {
  border-top: 0;
  backgroun-color: #E7E7E7;
  top: 0;
  position: sticky;
}
#basket-viewer #dialog table tr[selected] {
  background-color: #E7EFFD;
}
#basket-viewer #dialog table tr[selected] td {
  background-color: #E7EFFD;
}
#basket-viewer #dialog table tr:hover {
  cursor: pointer;
}
#basket-viewer #dialog #table-container {
  overflow-y: auto;
  border: 1px solid #C7C7C7;
}
#basket-viewer #dialog #buttons {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-items: right;
  justify-content: right;
}
#basket-viewer #dialog #buttons button {
  width: 100px;
}

#email-form #old-email {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
}

#verify-email {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 1rem;
}

#brand-page {
  width: 100%;
  height: 100%;
  padding: 2rem;
  background-color: #EFEFEF;
  display: grid;
  grid-template-columns: minmax(350px, 0.333fr) 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
}
#brand-page #brand-page-info {
  background-color: #E7E7E7;
  padding: 1rem;
}
#brand-page #categories {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  grid-column: 1;
  grid-row: 1/span 2;
}
#brand-page #categories .links {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  background-color: #E7E7E7;
}
#brand-page #categories .links > div:first-child {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  background: #C7C7C7;
  font-weight: 700;
}
#brand-page #categories .links > a:last-child {
  border-bottom: 0px;
}
#brand-page #categories .links .link {
  display: flex;
  flex-direction: row;
  color: var(--dark-grey);
  justify-content: space-between;
  align-items: center;
  margin-left: 1rem;
  margin-right: 1rem;
  border-bottom: 1px solid var(--grey);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-decoration: none;
}
#brand-page #categories .links .link:hover {
  text-decoration: none;
  cursor: pointer;
}
#brand-page #description {
  grid-column: 2;
  grid-row: 1;
}
#brand-page #items {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
#brand-page .brand-page-highlights {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

@media screen and (max-width: 1200px) {
  #brand-page {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  #brand-page #description {
    grid-column: 1;
    grid-row: 1;
  }
  #brand-page #items {
    grid-column: 1;
    grid-row: 3;
  }
  #brand-page #categories {
    grid-column: 1;
    grid-row: 2;
  }
}
@media screen and (max-width: 1790px) {
  #brand-page .brand-page-highlights {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 1500px) {
  #brand-page .brand-page-highlights {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 1200px) {
  #brand-page .brand-page-highlights {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 1120px) {
  #brand-page .brand-page-highlights {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 878px) {
  #brand-page .brand-page-highlights {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 840px) {
  #brand-page .brand-page-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 620px) {
  #brand-page .brand-page-highlights {
    grid-template-columns: repeat(1, 1fr);
  }
}
#sage-order-view {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2rem;
}
#sage-order-view h1 {
  margin: 0;
}
#sage-order-view #heading-group {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
}
#sage-order-view #details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
#sage-order-view #details .order-info {
  border-collapse: collapse;
  flex: 1 1;
  flex-basis: 30%;
  min-width: 264px;
  width: 100%;
}
#sage-order-view #details .order-info td, #sage-order-view #details .order-info th {
  border: 1px solid #C7C7C7;
  padding: 0.5rem;
}
#sage-order-view #details .order-info th {
  width: 50%;
  background: #E7E7E7;
}
#sage-order-view #details .address {
  border: 1px solid #C7C7C7;
  height: 100%;
  padding: 1rem;
  flex: 1 1;
  flex-basis: 30%;
  min-width: 240px;
}
#sage-order-view #details .address h4 {
  margin-top: 0;
}
#sage-order-view .orders-table {
  border: 1px solid #C7C7C7;
}

@media (max-width: 932px) {
  #sage-order-view #details {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 614px) {
  #sage-order-view #details {
    grid-template-columns: repeat(1, 1fr);
  }
}
#web-order-view {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2rem;
}
#web-order-view h1 {
  margin: 0;
}
#web-order-view #heading-group {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
}
#web-order-view #details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
#web-order-view #details .order-info {
  border-collapse: collapse;
  flex: 1 1;
  flex-basis: 30%;
  min-width: 264px;
  width: 100%;
}
#web-order-view #details .order-info td, #web-order-view #details .order-info th {
  border: 1px solid #C7C7C7;
  padding: 0.5rem;
}
#web-order-view #details .order-info th {
  width: 50%;
  background: #E7E7E7;
}
#web-order-view #details .address {
  border: 1px solid #C7C7C7;
  height: 100%;
  padding: 1rem;
  flex: 1 1;
  flex-basis: 30%;
  min-width: 240px;
}
#web-order-view #details .address h4 {
  margin-top: 0;
}
#web-order-view .orders-table {
  border: 1px solid #C7C7C7;
}

@media (max-width: 614px) {
  #web-order-view #details {
    grid-template-columns: repeat(1, 1fr);
  }
}
#checkout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
#checkout h2, #checkout h2, #checkout p {
  margin: 0;
}
#checkout #checkout-stages {
  grid-column: 1/3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  align-items: center;
  align-content: center;
  justify-content: center;
  justify-items: center;
}
#checkout #checkout-stages .stage {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  align-content: center;
}
#checkout #checkout-stages .stage .checkout-text {
  display: inline-block;
  font-weight: 500;
  font-size: 1.25rem;
}
#checkout #checkout-stages .number {
  display: flex;
  height: 40px;
  width: 40px;
  background-color: #C7C7C7;
  border-radius: 50%;
  text-align: center;
  color: white;
  font-weight: 500;
  font-size: 18px;
  margin-right: 1rem;
  align-items: center;
  align-content: center;
  justify-content: center;
}
#checkout #checkout-stages .blue {
  background-color: #4285F4;
}
#checkout #checkout-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
}
#checkout #checkout-main {
  grid-column: 1;
}
#checkout #checkout-summary {
  grid-column: 2;
  align-self: start;
  border: 1px solid #C7C7C7;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#checkout #checkout-summary .summary-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
}
#checkout #checkout-summary .summary-grid span:nth-child(odd) {
  grid-column: 1;
}
#checkout #checkout-summary .summary-grid span:nth-child(even) {
  grid-column: 3;
  text-align: right;
}
#checkout #checkout-summary .bold {
  font-weight: 500;
}
#checkout #checkout-summary #voucher-container {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 1rem;
  align-items: center;
}
#checkout #checkout-summary #voucher-container input {
  width: 100%;
}
#checkout #checkout-summary p {
  margin: 0;
  font-size: 12px;
}
#checkout #checkout-summary #buttons {
  display: grid;
  grid-template-columns: auto 1fr auto;
}
#checkout #checkout-summary #buttons button:nth-child(odd) {
  grid-column: 1;
}
#checkout #checkout-summary #buttons button:nth-child(even) {
  grid-column: 3;
  background-color: #34A853;
}

.checkout-item {
  display: grid;
  grid-template-columns: 50px 1fr 110px;
  padding-bottom: 1rem;
  padding-top: 1rem;
  border-bottom: 1px solid #C7C7C7;
  gap: 1rem;
}
.checkout-item .thumb {
  width: 50px;
  display: flex;
  align-content: center;
  align-items: center;
}
.checkout-item .thumb img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
}
.checkout-item .details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}
.checkout-item .details h1 {
  font-size: 14px;
  margin: 0;
}
.checkout-item .stock {
  display: flex;
  flex-direction: row;
  gap: 0.5ch;
}
.checkout-item .bullet {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #34A853;
  margin-top: 2px;
}
.checkout-item .red {
  background-color: #EA4335 !important;
}
.checkout-item .values {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.checkout-item .value-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.checkout-item .value-row .bold {
  font-weight: 500;
}
.checkout-item .value-row input {
  width: 100%;
}

#checkout-review {
  border-top: 1px solid #C7C7C7;
}

#checkout-backorders {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#checkout-backorders .checkout-items {
  border-top: 1px solid #C7C7C7;
}
#checkout-backorders p {
  margin: 0;
}

#checkout-delivery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
#checkout-delivery .col-1 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
#checkout-delivery .col-2 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

#submit-success {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr 2fr;
  width: 100%;
  height: 100%;
  justify-items: center;
}
#submit-success #details {
  grid-column: 1;
  grid-row: 2;
  text-align: center;
}

#submit-failure {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr 2fr;
  width: 100%;
  height: 100%;
  justify-items: center;
}
#submit-failure #details {
  grid-column: 1;
  grid-row: 2;
  text-align: center;
}

#backorders h1 {
  margin-bottom: 1rem;
}
#backorders #controls {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  gap: 1rem;
  align-items: center;
}
#backorders #instructions {
  grid-row: 2;
  grid-column: 1/span 4;
}
#backorders #download {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  color: #303030;
}
#backorders #download:hover {
  cursor: pointer;
  text-decoration: underline;
}
#backorders #backorder-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.backorder-item-container {
  border: 1px solid #C7C7C7;
  border-radius: 1rem;
  display: grid;
  grid-template-columns: auto repeat(5, 1fr) auto;
  padding: 1rem;
  row-gap: 1rem;
}
.backorder-item-container .item {
  grid-column: 1/span 6;
}
.backorder-item-container .quantity {
  text-align: center;
}
.backorder-item-container .data {
  text-align: center;
}
.backorder-item-container h2, .backorder-item-container h3, .backorder-item-container h4 {
  margin-top: 0;
  margin-bottom: 0;
}
.backorder-item-container h2, .backorder-item-container h3 {
  margin-bottom: 0.5rem;
}

@media screen and (max-width: 874px) {
  .backorder-item-container {
    grid-template-columns: auto repeat(4, 1fr) auto;
  }
  .backorder-item-container .item {
    grid-column: 1/span 5;
  }
}
@media screen and (max-width: 810px) {
  .backorder-item-container {
    grid-template-columns: auto repeat(3, 1fr) auto;
  }
  .backorder-item-container .item {
    grid-column: 1/span 4;
  }
}
@media screen and (max-width: 665px) {
  .backorder-item-container {
    grid-template-columns: auto repeat(2, 1fr) auto;
  }
  .backorder-item-container .item {
    grid-column: 1/span 3;
  }
}
@media screen and (max-width: 595px) {
  .backorder-item-container {
    grid-template-columns: auto repeat(1, 1fr) auto;
  }
  .backorder-item-container .item {
    grid-column: 1/span 2;
  }
}
@media screen and (max-width: 500px) {
  .backorder-item-container {
    grid-template-columns: auto repeat(1, 1fr) auto;
  }
  .backorder-item-container .item {
    grid-column: 1/span 3;
  }
}
@media screen and (max-width: 450px) {
  .backorder-item-container {
    grid-template-columns: auto auto;
  }
  .backorder-item-container .item {
    grid-column: 1/span 2;
  }
}
@media screen and (max-width: 360px) {
  .backorder-item-container {
    grid-template-columns: auto;
  }
  .backorder-item-container .item {
    grid-column: 1/span 1;
  }
}
#contacts tr, #contacts th, #contacts td {
  border: 0;
  padding: 0;
  padding-right: 1rem;
}
#contacts div {
  margin-bottom: 2rem;
}
#contacts h1, #contacts h2, #contacts h3, #contacts h4, #contacts h5 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

#terms-and-conditions h1 {
  margin-top: 0;
}
#terms-and-conditions h1, #terms-and-conditions h2, #terms-and-conditions h3 {
  margin-bottom: 0.5rem;
}
#terms-and-conditions li {
  margin-top: 0.5rem;
}
#terms-and-conditions dl {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-auto-rows: auto;
  padding-left: 1.8rem;
  gap: 0.5rem;
}
#terms-and-conditions dt {
  font-weight: 700;
}
#terms-and-conditions dt ::before {
  content: '"';
}
#terms-and-conditions dt ::after {
  content: '"';
}
#terms-and-conditions dd {
  margin-inline-start: 0.5rem;
}
#terms-and-conditions p {
  margin-left: 1.8rem;
}

.payment-result #container {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  align-content: center;
  justify-items: center;
  justify-content: center;
}
.payment-result #container div {
  text-align: center;
}

#billing-address-form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  align-content: center;
  justify-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 250;
}
#billing-address-form .container {
  grid-column: 1;
  grid-row: 1;
  background-color: white;
  border: 1px solid #303030;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  margin: 2rem;
  width: 400px;
  max-width: 100vw;
  pointer-events: all;
}
#billing-address-form .container form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#billing-address-form .container form #billing-buttons {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: 1fr;
  gap: 1rem;
}
#billing-address-form .container form #billing-buttons button:nth-child(odd) {
  grid-column: 1;
}
#billing-address-form .container form #billing-buttons button:nth-child(even) {
  grid-column: 3;
}

#manage-transactions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 2rem;
}
#manage-transactions h1, #manage-transactions h2, #manage-transactions h3, #manage-transactions h4, #manage-transactions p {
  margin: 0;
}
#manage-transactions #loader {
  padding: 3rem;
}
#manage-transactions .details-container {
  display: grid;
  grid-template-columns: 1fr auto;
}
#manage-transactions .details-container .totals-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 200px;
}
#manage-transactions .details-container .totals-column .totals {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
#manage-transactions .details-container .totals-column .totals h3 {
  display: inline;
}
#manage-transactions .table-parent {
  max-height: 500px;
  overflow: auto;
  border-top: 1px solid #C7C7C7;
  border-bottom: 1px solid #C7C7C7;
}

#account-payment-success {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  justify-items: center;
}
#account-payment-success #container {
  max-width: 350px;
}
#account-payment-success #container .orders-table {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

#error {
  background-image: url("/content/site-images/bridge_low.jpg");
  background-position: center;
  background-size: cover;
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 33% 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  justify-items: center;
}
#error .text {
  grid-column: 2;
  color: #636381;
  margin-left: 1rem;
  margin-right: 1rem;
  text-align: center;
}
#error .heading {
  font-size: 120px;
  font-weight: 700;
}
#error .sub-heading {
  font-size: 30px;
  font-weight: 700;
}
#error .description {
  font-weight: 700;
}
#error .rule {
  border: 1px solid #931F1D;
}
#error .links {
  margin-top: 1rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
}
#error .links a {
  color: #931F1D;
  font-weight: 700;
}

#dealer-map {
  display: grid;
  grid-template-columns: 1fr 300px;
  grid-template-rows: 1fr;
  gap: 2rem;
  background-color: white;
}
#dealer-map h1 {
  margin-top: 0;
}
#dealer-map select {
  margin-bottom: 1rem;
}
#dealer-map #my-map {
  width: 100%;
  height: 100%;
}
#dealer-map .map {
  width: 100%;
  height: 700px;
  order: 0;
}
#dealer-map .controls {
  order: 1;
}
#dealer-map .controls button {
  margin-bottom: 1rem;
}

#info-window {
  line-height: 1.25rem;
}

@media screen and (max-width: 860px) {
  #dealer-map.map {
    order: 1;
  }
  #dealer-map.controls {
    order: 0;
  }
  #dealer-map {
    grid-template-columns: 1fr;
  }
}
#address-picker {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto;
  gap: 1rem;
  align-items: start;
  justify-items: start;
}
#address-picker #address-select {
  grid-column: 1;
  grid-row: 1;
}
#address-picker #selected-address {
  grid-column: 1;
  grid-row: 2;
}

.file-uploader {
  background-color: #EFEFEF;
  border: 2px solid #C7C7C7;
  border-radius: 0.5rem;
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: auto;
}
.file-uploader input {
  grid-row: 1;
  grid-column: 1;
  opacity: 0;
}
.file-uploader .outer {
  padding: 1rem;
  grid-row: 1;
  grid-column: 1;
}
.file-uploader .outer .inner {
  border: 4px dashed #C7C7C7;
  padding: 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
}
.file-uploader .outer .inner span {
  color: #C7C7C7;
  font-weight: 500;
  font-size: 16px;
}

#carousel-editor {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 2rem;
  padding-bottom: 2rem;
}
#carousel-editor h1, #carousel-editor h2 {
  margin-top: 0;
  margin-bottom: 0;
}
#carousel-editor #carousel-items {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 2rem;
}

.carousel-edit-item {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 2rem;
  border: 2px solid #C7C7C7;
  border-radius: 1rem;
  gap: 1rem;
  align-items: center;
}
.carousel-edit-item img {
  width: 80px;
}
.carousel-edit-item label {
  font-weight: bold;
}

.carousel-edit-item-editing {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  grid-template-rows: auto;
  column-gap: 2rem;
  row-gap: 1rem;
  border: 2px solid #C7C7C7;
  border-radius: 1rem;
  padding: 2rem;
  align-items: stretch;
}
.carousel-edit-item-editing .flex-row {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
}
.carousel-edit-item-editing .carousel-image {
  width: 150px;
}
.carousel-edit-item-editing textarea {
  font-family: Roboto Mono, Consolas, Courier, monospace;
  tab-size: 4;
  border: 0;
}

#brand-page-editor {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-auto-rows: auto;
  gap: 2rem;
  height: 100%;
}
#brand-page-editor h1 {
  grid-column: 1/2;
  grid-row: 1/1;
  margin: 0;
}
#brand-page-editor .col-1, #brand-page-editor .col-2 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2rem;
}
#brand-page-editor .col-1 {
  grid-column: 1/1;
  grid-row: 2/2;
}
#brand-page-editor .col-2 {
  grid-column: 2/2;
  grid-row: 2/2;
}
#brand-page-editor .centre {
  text-align: center;
}
#brand-page-editor textarea {
  height: 100%;
  font-family: "Roboto Mono", "Consolas", "Courier New", Courier, monospace;
  font-size: 12px;
  white-space: pre;
  overflow-wrap: normal;
  overflow-x: scroll;
  tab-size: 4;
}
#brand-page-editor select {
  width: 150px;
}
#brand-page-editor table {
  border-spacing: 0;
}
#brand-page-editor td {
  border-bottom: 1px solid #C7C7C7;
  background-color: transparent;
  padding: 0.5rem;
}
#brand-page-editor td :first-child {
  padding-left: 1rem;
}
#brand-page-editor td :last-child {
  padding-right: 1rem;
}
#brand-page-editor th {
  border-top: 1px solid #C7C7C7;
  border-bottom: 1px solid #C7C7C7;
  padding: 0.5rem;
}
#brand-page-editor th :first-child {
  padding-left: 1rem;
}
#brand-page-editor th :last-child {
  padding-right: 1rem;
}
#brand-page-editor tr:hover td {
  background-color: #E7E7E7;
}
#brand-page-editor tr[selected] td {
  background-color: #E7EFFD;
}
#brand-page-editor tr:not([changed]) button.save {
  visibility: hidden;
}

#qty-breaks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto;
  gap: 2rem;
  padding: 2rem;
  align-items: start;
  align-content: start;
}
#qty-breaks #col-1, #qty-breaks #col-2 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#qty-breaks #col-1 {
  grid-column: 1/2;
}
#qty-breaks #col-2 {
  grid-column: 2/3;
}
#qty-breaks .table-container {
  height: 500px;
  overflow-y: auto;
  border: 1px solid #C7C7C7;
}
#qty-breaks tr[selected] {
  background-color: #E7EFFD;
}

#front-page-grid-editor {
  display: grid;
  grid-template-rows: auto auto 1fr auto 3fr auto;
  height: 100%;
  gap: 1rem;
  padding-bottom: 2rem;
}
#front-page-grid-editor textarea {
  width: 100%;
  height: 100%;
  font-family: "Roboto Mono", "Consolas", "Courier New", Courier, monospace;
  font-size: 12px;
  tab-size: 4;
}
#front-page-grid-editor h1 {
  margin-top: 0;
  margin-bottom: 0;
}

#voucher-editor {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  padding-bottom: 2rem;
}
#voucher-editor #toolbar {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
#voucher-editor #toolbar input {
  width: 300px;
}
#voucher-editor #table-container {
  overflow-y: scroll;
  overflow-x: hidden;
  border: 1px solid #C7C7C7;
  height: 100%;
  background-color: white;
}
#voucher-editor #table-container th, #voucher-editor #table-container td {
  white-space: nowrap;
}
#voucher-editor #table-container tr[selected] {
  background-color: #E7EFFD;
}

#voucher-dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 500;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  align-content: center;
  justify-items: center;
  justify-content: center;
}
#voucher-dialog form {
  max-width: 600px;
  min-width: 400px;
  width: 30%;
  padding: 2rem;
  background-color: white;
  display: flex;
  flex-direction: column;
  border: 1px solid #4285F4;
  border-radius: 1rem;
  gap: 1rem;
}
#voucher-dialog .form-select {
  display: grid;
  grid-template-columns: 100px auto;
  align-content: center;
  align-items: center;
}
#voucher-dialog .buttons {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: space-between;
}
#voucher-dialog .buttons button {
  max-width: 200px;
  width: 200px;
}

#voucher-dialog.htmx-added {
  opacity: 0;
}

#voucher-dialog.htmx-swapping {
  opacity: 0;
}

#downloads {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 2rem;
}
#downloads table {
  border-collapse: collapse;
  border-left: 1px solid #C7C7C7;
  border-right: 1px solid #C7C7C7;
}
#downloads table td {
  border-top: 1px solid #C7C7C7;
  border-bottom: 1px solid #C7C7C7;
  padding: 0.5rem;
}

#description-html {
  width: 100%;
  max-width: calc(1366px + 4rem);
}

#standard-description {
  display: block;
  width: 100%;
  margin-top: 2rem;
  max-width: calc(1366px + 2rem);
  padding-left: 2rem;
  padding-right: 2rem;
}
#standard-description img {
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}
#standard-description h1, #standard-description h2, #standard-description h3, #standard-description h4, #standard-description h5, #standard-description h6 {
  margin-bottom: 1rem;
}
#standard-description table {
  margin-bottom: 1.5rem;
  border-bottom: 0;
  padding: 0;
  border-spacing: 0;
}
#standard-description td, #standard-description th {
  font-size: 12px;
  border-bottom: 1px solid #C7C7C7;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-right: 0.5rem;
}
#standard-description th {
  border-bottom: 1px solid #303030;
}
#standard-description blockquote {
  padding-left: 5rem;
  padding-right: 5rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/*# sourceMappingURL=styles.css.map */
