/* Frontend form controls: black surfaces with the established gold type. */
html body.sn-page input:not([type]),
html body.sn-page input[type="text"],
html body.sn-page input[type="email"],
html body.sn-page input[type="tel"],
html body.sn-page input[type="url"],
html body.sn-page input[type="password"],
html body.sn-page input[type="search"],
html body.sn-page input[type="number"],
html body.sn-page input[type="date"],
html body.sn-page input[type="time"],
html body.sn-page input[type="datetime-local"],
html body.sn-page input[type="month"],
html body.sn-page input[type="week"],
html body.sn-page textarea,
html body.sn-page select,
html body.sn-page .select2-container--default .select2-selection--single,
html body.sn-page .select2-container--default .select2-selection--multiple,
html body.sn-page .wc-block-components-text-input input,
html body.sn-page .wc-block-components-combobox input {
  background-color: #050505 !important;
  background-image: none !important;
  border-color: rgba(240, 210, 138, 0.48) !important;
  color: var(--sn-gold-bright) !important;
  caret-color: var(--sn-gold-bright);
  color-scheme: dark;
}

html body.sn-page input::placeholder,
html body.sn-page textarea::placeholder,
html body.sn-page .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--sn-muted) !important;
  opacity: 0.88;
}

html body.sn-page select option,
html body.sn-page select optgroup,
html body.sn-page .select2-dropdown,
html body.sn-page .select2-search--dropdown .select2-search__field,
html body.sn-page .select2-results__option {
  background: #050505 !important;
  color: var(--sn-gold-bright) !important;
}

html body.sn-page select option:checked,
html body.sn-page select option:hover,
html body.sn-page select option:focus {
  background-color: var(--sn-blue) !important;
  background-image: linear-gradient(var(--sn-blue), var(--sn-blue)) !important;
  box-shadow: 0 0 0 100vmax var(--sn-blue) inset !important;
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
}

html body.sn-page .select2-container--default .select2-selection--single .select2-selection__rendered,
html body.sn-page .select2-container--default .select2-selection--multiple .select2-selection__rendered,
html body.sn-page .select2-container--default .select2-selection--multiple .select2-selection__choice {
  color: var(--sn-gold-bright) !important;
}

html body.sn-page .select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: #11100d !important;
  border-color: rgba(240, 210, 138, 0.48) !important;
}

html body.sn-page .select2-container--default .select2-results__option--highlighted[aria-selected],
html body.sn-page .select2-container--default .select2-results__option--highlighted[data-selected],
html body.sn-page .select2-container--default .select2-results__option[aria-selected="true"] {
  background: var(--sn-blue) !important;
  color: #050505 !important;
}

html body.sn-page input:not([type]):focus,
html body.sn-page input[type="text"]:focus,
html body.sn-page input[type="email"]:focus,
html body.sn-page input[type="tel"]:focus,
html body.sn-page input[type="url"]:focus,
html body.sn-page input[type="password"]:focus,
html body.sn-page input[type="search"]:focus,
html body.sn-page input[type="number"]:focus,
html body.sn-page input[type="date"]:focus,
html body.sn-page input[type="time"]:focus,
html body.sn-page input[type="datetime-local"]:focus,
html body.sn-page input[type="month"]:focus,
html body.sn-page input[type="week"]:focus,
html body.sn-page textarea:focus,
html body.sn-page select:focus,
html body.sn-page .select2-container--open .select2-selection--single,
html body.sn-page .select2-container--open .select2-selection--multiple {
  background-color: #050505 !important;
  border-color: var(--sn-gold-bright) !important;
  box-shadow: 0 0 0 2px rgba(66, 184, 200, 0.18) !important;
  color: var(--sn-gold-bright) !important;
  outline: 0;
}

html body.sn-page input:-webkit-autofill,
html body.sn-page input:-webkit-autofill:hover,
html body.sn-page input:-webkit-autofill:focus,
html body.sn-page textarea:-webkit-autofill,
html body.sn-page select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #050505 inset !important;
  -webkit-text-fill-color: var(--sn-gold-bright) !important;
  caret-color: var(--sn-gold-bright) !important;
  transition: background-color 9999s ease-out 0s;
}

html body.sn-page input:disabled,
html body.sn-page textarea:disabled,
html body.sn-page select:disabled,
html body.sn-page input[readonly],
html body.sn-page textarea[readonly] {
  background-color: #11100d !important;
  color: var(--sn-muted) !important;
  opacity: 1;
}

html body.sn-page input[type="checkbox"],
html body.sn-page input[type="radio"] {
  accent-color: var(--sn-gold);
}

/* Catalogue filters match the black-and-gold contact-form controls. */
html body.sn-page .sn-catalog-check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  background: #050505 !important;
  border: 2px solid var(--sn-gold-bright) !important;
  border-radius: 3px;
  box-shadow: none !important;
  cursor: pointer;
  display: grid;
  flex: 0 0 20px;
  height: 20px;
  min-height: 20px;
  min-width: 20px;
  padding: 0;
  place-content: center;
  width: 20px;
}

html body.sn-page .sn-catalog-check input[type="checkbox"]::before {
  border-bottom: 2px solid #050505;
  border-left: 2px solid #050505;
  content: "";
  height: 5px;
  transform: rotate(-45deg) scale(0);
  transition: transform 120ms ease;
  width: 10px;
}

html body.sn-page .sn-catalog-check input[type="checkbox"]:checked {
  background: var(--sn-gold-bright) !important;
  border-color: var(--sn-gold-bright) !important;
}

html body.sn-page .sn-catalog-check input[type="checkbox"]:checked::before {
  transform: rotate(-45deg) scale(1);
}

html body.sn-page .sn-catalog-check input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(66, 184, 200, 0.34) !important;
  outline: 2px solid var(--sn-blue-soft);
  outline-offset: 2px;
}

html body.sn-page .sn-catalog-submit,
html body.sn-page .sn-catalog-submit:visited {
  background: var(--sn-blue) !important;
  background-image: none !important;
  border-color: rgba(240, 210, 138, 0.48) !important;
  box-shadow: none;
  color: #050505 !important;
}

html body.sn-page .sn-catalog-submit:hover,
html body.sn-page .sn-catalog-submit:focus-visible {
  background: var(--sn-blue-soft) !important;
  background-image: none !important;
  border-color: var(--sn-blue-soft) !important;
  box-shadow: 0 10px 28px rgba(8, 127, 145, 0.28);
  color: #050505 !important;
}

html body.sn-page .sn-catalog-submit:active {
  background: var(--sn-blue) !important;
  background-image: none !important;
  box-shadow: inset 0 0 0 2px rgba(5, 5, 5, 0.28);
  color: #050505 !important;
  transform: translateY(0);
}

/* Keep catalogue discovery compact and directly connected to the categories. */
html body.sn-page .sn-shop-categories {
  padding-bottom: clamp(30px, 4vw, 48px);
}

html body.sn-page .sn-shop-products {
  padding-top: clamp(32px, 4vw, 52px);
}

html body.sn-page :is(.sn-shop-categories, .sn-shop-products) .sn-section-heading > .sn-eyebrow {
  color: var(--sn-blue-soft) !important;
}

html body.sn-page .sn-catalog-compact {
  margin: 16px auto 0;
  max-width: 1180px;
}

html body.sn-page .sn-shop-categories .sn-category-grid.compact {
  align-items: stretch;
  gap: 14px;
  grid-auto-rows: 1fr;
  margin: 0 auto;
  max-width: 1040px;
}

html body.sn-page .sn-shop-categories .sn-category-grid.compact .sn-category-card {
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  width: 100%;
}

html body.sn-page .sn-shop-categories .sn-category-grid.compact .sn-category-card > a {
  display: block;
  height: 100%;
  width: 100%;
}

html body.sn-page .sn-shop-categories .sn-category-grid.compact .sn-category-card img {
  height: 100%;
  min-height: 0;
}

html body.sn-page .sn-shop-categories .sn-category-grid.compact .sn-category-card div {
  bottom: 14px;
  left: 18px;
  right: 18px;
}

html body.sn-page .sn-shop-categories .sn-category-grid.compact .sn-category-card h3 {
  font-size: clamp(20px, 1.55vw, 25px);
  margin-bottom: 8px;
}

html body.sn-page .sn-shop-categories .sn-category-grid.compact .sn-category-card p {
  font-size: 14px;
  line-height: 1.36;
}

html body.sn-page .sn-catalog-compact .sn-catalog-toolbar {
  align-items: end;
  background: linear-gradient(135deg, rgba(7, 31, 43, 0.58), rgba(17, 16, 13, 0.72));
  border-color: rgba(66, 184, 200, 0.22);
  column-gap: 12px;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1.05fr) minmax(204px, 1.15fr) minmax(220px, 1fr);
  margin-top: 0;
  padding: 9px 10px;
  row-gap: 9px;
}

html body.sn-page .sn-catalog-compact .sn-catalog-field {
  align-self: end;
  gap: 4px;
  min-width: 0;
}

html body.sn-page .sn-catalog-compact :is(.sn-catalog-field label, .sn-catalog-price legend, .sn-catalog-options legend) {
  font-size: 12px;
  line-height: 1.2;
}

html body.sn-page .sn-catalog-compact .sn-catalog-field input,
html body.sn-page .sn-catalog-compact .sn-catalog-field select {
  box-sizing: border-box;
  font-size: 15px;
  height: 36px !important;
  min-height: 36px !important;
  padding: 5px 9px;
}

html body.sn-page .sn-catalog-compact .sn-catalog-sort .sn-brand-select__trigger {
  box-sizing: border-box;
  font-size: 14px;
  height: 36px !important;
  line-height: 1.2;
  min-height: 36px !important;
  overflow: hidden;
  padding: 5px 42px 5px 9px;
  white-space: nowrap;
}

html body.sn-page .sn-catalog-compact :is(.sn-catalog-search, .sn-catalog-sort, .sn-catalog-price) {
  grid-column: auto;
  grid-row: 1;
  max-width: none;
  min-width: 0;
  width: 100%;
}

html body.sn-page .sn-catalog-compact .sn-catalog-price {
  align-self: end;
}

html body.sn-page .sn-catalog-compact .sn-catalog-price-fields {
  gap: 12px;
}

html body.sn-page .sn-catalog-compact .sn-catalog-options {
  align-content: end;
  align-self: end;
  display: grid;
  gap: 4px 10px;
  grid-column: 1 / span 2;
  grid-row: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 36px;
}

html body.sn-page .sn-catalog-compact .sn-catalog-options legend {
  grid-column: 1 / -1;
  margin: 0;
  white-space: nowrap;
}

html body.sn-page .sn-catalog-compact .sn-catalog-check {
  font-size: 12px;
  gap: 6px;
  line-height: 1.2;
  min-height: 36px;
  white-space: nowrap;
}

html body.sn-page .sn-catalog-compact .sn-catalog-check input[type="checkbox"] {
  flex: 0 0 18px;
  height: 18px !important;
  width: 18px !important;
}

html body.sn-page .sn-catalog-compact .sn-catalog-actions {
  align-self: end;
  display: grid;
  gap: 8px;
  grid-column: 4;
  grid-row: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html body.sn-page .sn-catalog-compact .sn-catalog-submit,
html body.sn-page .sn-catalog-compact .sn-catalog-reset {
  box-shadow: 0 5px 14px rgba(8, 127, 145, 0.14) !important;
  box-sizing: border-box;
  font-size: 12px;
  height: 36px !important;
  line-height: 1.2 !important;
  min-height: 36px !important;
  min-width: 0;
  padding: 5px 10px !important;
  white-space: nowrap;
  width: 100%;
}

html body.sn-page .sn-catalog-compact .sn-catalog-count {
  margin: 8px 0 0;
}

@media (max-width: 1050px) {
  html body.sn-page .sn-catalog-compact .sn-catalog-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body.sn-page .sn-catalog-compact :is(.sn-catalog-search, .sn-catalog-sort, .sn-catalog-price, .sn-catalog-options, .sn-catalog-actions) {
    grid-row: auto;
  }

  html body.sn-page .sn-catalog-compact .sn-catalog-price {
    grid-column: 1 / -1;
  }

  html body.sn-page .sn-catalog-compact .sn-catalog-options {
    grid-column: 1;
  }

  html body.sn-page .sn-catalog-compact .sn-catalog-actions {
    grid-column: 2;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  html body.sn-page .sn-shop-categories .sn-category-grid.compact {
    max-width: 380px;
  }

  html body.sn-page .sn-catalog-compact .sn-catalog-toolbar {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  html body.sn-page .sn-catalog-compact .sn-catalog-price,
  html body.sn-page .sn-catalog-compact .sn-catalog-options,
  html body.sn-page .sn-catalog-compact .sn-catalog-actions {
    grid-column: 1;
  }

  html body.sn-page .sn-catalog-compact .sn-catalog-options {
    grid-template-columns: 1fr;
  }

  html body.sn-page .sn-catalog-compact .sn-catalog-options legend {
    grid-column: 1;
  }

  html body.sn-page .sn-catalog-compact .sn-catalog-actions {
    display: grid;
  }

  html body.sn-page .sn-catalog-compact .sn-catalog-submit,
  html body.sn-page .sn-catalog-compact .sn-catalog-reset {
    height: 44px !important;
    min-height: 44px !important;
    width: 100%;
  }

  html body.sn-page .sn-catalog-compact .sn-catalog-check {
    min-height: 44px;
  }

  html body.sn-page .sn-catalog-compact .sn-catalog-field input,
  html body.sn-page .sn-catalog-compact .sn-catalog-field select,
  html body.sn-page .sn-catalog-compact .sn-catalog-sort .sn-brand-select__trigger {
    height: 44px !important;
    min-height: 44px !important;
  }
}

html body.sn-page .sn-modal-buy :is(input, select),
html body.sn-page.single-product form.cart :is(select, .quantity .qty) {
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

html body.sn-page .sn-modal-buy :is(input, select):is(:hover, :focus, :focus-visible),
html body.sn-page.single-product form.cart :is(select, .quantity .qty):is(:hover, :focus, :focus-visible) {
  border-color: var(--sn-blue-soft) !important;
  box-shadow: 0 0 0 2px rgba(66, 184, 200, 0.22) !important;
  outline: 0;
}

html body.sn-page .sn-order-review-banner {
  align-items: center;
  background: #082b35;
  border-bottom: 1px solid var(--sn-blue-soft);
  color: var(--sn-gold-bright);
  display: flex;
  gap: 10px 18px;
  justify-content: center;
  padding: 11px 20px;
  text-align: center;
}

html body.sn-page .sn-order-review-banner strong {
  color: var(--sn-blue-soft);
  font-family: "Cinzel", Georgia, serif;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  html body.sn-page .sn-order-review-banner {
    align-items: stretch;
    flex-direction: column;
  }
}
/* One scrollbar language for the page, WooCommerce panels and custom lists. */
html,
html body.sn-page,
html body.sn-page * {
  scrollbar-color: var(--sn-blue-soft) #050505;
  scrollbar-width: thin;
}

html::-webkit-scrollbar,
html body.sn-page::-webkit-scrollbar,
html body.sn-page *::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

html::-webkit-scrollbar-track,
html body.sn-page::-webkit-scrollbar-track,
html body.sn-page *::-webkit-scrollbar-track {
  background: #050505 !important;
  box-shadow: inset 0 0 0 1px rgba(66, 184, 200, 0.18);
}

html::-webkit-scrollbar-thumb,
html body.sn-page::-webkit-scrollbar-thumb,
html body.sn-page *::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--sn-gold-bright) 0%, var(--sn-blue-soft) 100%) !important;
  border: 2px solid #050505 !important;
  border-radius: 999px;
  min-height: 42px;
}

html::-webkit-scrollbar-thumb:horizontal,
html body.sn-page::-webkit-scrollbar-thumb:horizontal,
html body.sn-page *::-webkit-scrollbar-thumb:horizontal {
  background: linear-gradient(90deg, var(--sn-gold-bright) 0%, var(--sn-blue-soft) 100%) !important;
  min-width: 42px;
}

html::-webkit-scrollbar-thumb:hover,
html body.sn-page::-webkit-scrollbar-thumb:hover,
html body.sn-page *::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffe8a8 0%, #65d8e6 100%) !important;
}

html::-webkit-scrollbar-thumb:horizontal:hover,
html body.sn-page::-webkit-scrollbar-thumb:horizontal:hover,
html body.sn-page *::-webkit-scrollbar-thumb:horizontal:hover {
  background: linear-gradient(90deg, #ffe8a8 0%, #65d8e6 100%) !important;
}

html::-webkit-scrollbar-corner,
html body.sn-page::-webkit-scrollbar-corner,
html body.sn-page *::-webkit-scrollbar-corner {
  background: #050505;
}

html::-webkit-scrollbar-button,
html body.sn-page::-webkit-scrollbar-button,
html body.sn-page *::-webkit-scrollbar-button {
  display: none;
  height: 0;
  width: 0;
}

.sn-shop-category-item {
  align-items: stretch;
  display: grid;
  gap: 14px;
  grid-template-rows: 68px minmax(0, 1fr);
  height: 100%;
  min-width: 0;
}

.sn-shop-category-item .sn-category-card {
  min-height: 285px;
}

.sn-shop-category-title {
  align-items: center;
  border-bottom: 1px solid rgba(66, 184, 200, 0.78);
  border-top: 1px solid rgba(240, 210, 138, 0.86);
  box-sizing: border-box;
  color: var(--sn-gold-bright);
  display: flex;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 600;
  height: 68px;
  justify-content: center;
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin: 0;
  min-height: 68px;
  padding: 10px 8px 4px;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

.sn-shop-category-item .sn-category-card div {
  bottom: 20px;
}
.sn-catalog-sort {
  justify-self: start;
  max-width: none;
  width: 100%;
}

.sn-catalog-sort label {
  font-size: 12px;
}

.sn-catalog-sort select {
  font-size: 14px;
  min-height: 40px;
  padding: 7px 34px 7px 10px;
}
@media (max-width: 780px) {
  .sn-catalog-sort {
    max-width: min(100%, 280px);
  }

  .sn-shop-category-title {
    font-size: clamp(15px, 4.5vw, 18px);
    height: 64px;
    min-height: 64px;
    padding: 9px 6px 4px;
  }

  .sn-shop-category-item {
    grid-template-rows: 64px minmax(0, 1fr);
  }
}