/*
 * Theme of the partner stores. One stylesheet for both stores: the colours, fonts and
 * button styles come from the CSS variables that the layout prints from kit/stores/<store>.json.
 * All rules are below the class "st", so they do not change the pages of the platform
 * (cart, checkout, account), which use the stylesheet of the platform.
 */

/* ---------- base ---------- */
.st-body { margin: 0; background: var(--store-page-bg); font-family: var(--store-font-body); color: #111827; }
.st, .st *, .st *::before, .st *::after { box-sizing: border-box; }
.st { font-family: var(--store-font-body); font-size: 16px; line-height: 1.5; color: #111827; -webkit-font-smoothing: antialiased; }
.st a { color: inherit; text-decoration: none; }
.st ul, .st ol, .st dl, .st dd, .st p, .st h1, .st h2, .st h3, .st figure { margin: 0; padding: 0; }
.st ul { list-style: none; }
.st img { display: block; max-width: 100%; height: auto; border: 0; }
.st button, .st input, .st select { font: inherit; color: inherit; }
.st button { cursor: pointer; background: none; border: 0; padding: 0; }
.st[hidden], .st [hidden] { display: none !important; }
.st-container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.st-heading { font-family: var(--store-font-heading); font-weight: 700; }
.st-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.st-skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: #fff; color: #111827; padding: 8px 16px; }
.st-skip:focus { left: 8px; top: 8px; }
.st-no-scroll { overflow: hidden; }
.st-only-mobile { display: none !important; }
.st-main { min-height: 50vh; background: var(--store-page-bg); }

/* The sign-in, cart and checkout pages of the platform print their own logo. The store header has it. */
.st-platform #main a:has(> img[width="131"][height="29"]) { display: none; }

/* ---------- header ---------- */
.st-bar { padding: 8px 16px; text-align: center; font-size: 14px; }
.st-bar--light { background: var(--store-bar-light); color: #111827; }
.st-bar--dark { background: var(--store-bar-dark); color: #fff; }
.st-sticky { position: sticky; top: 0; z-index: 50; }
.st-header { background: var(--store-header-bg); color: var(--store-header-fg); border-bottom: 1px solid rgba(0, 0, 0, .1); }
.st-header__row { display: flex; align-items: center; gap: 32px; padding-top: 12px; padding-bottom: 12px; }
.st-logo { flex-shrink: 0; display: block; }
.st-logo img { width: 220px; max-height: 80px; object-fit: contain; }
.st-logo__text { font-size: 22px; font-weight: 700; text-transform: uppercase; }
.st-search { flex: 1; max-width: 576px; margin: 0 auto; display: flex; background: var(--store-search-bg); color: var(--store-search-fg); border-radius: var(--store-radius); overflow: hidden; }
.st .st-search input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border: 0; outline: 0; background: transparent; color: inherit; font-size: 15px; box-shadow: none; }
.st-search input::placeholder { color: currentColor; opacity: .7; }
.st .st-search button { width: 48px; display: flex; align-items: center; justify-content: center; color: inherit; }
.st-search--page { margin: 16px 0 0; border: 1px solid #d1d5db; background: #fff; color: #111827; }
.st-header__actions { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.st-icon-btn { display: inline-flex; align-items: center; justify-content: center; color: inherit; position: relative; }
.st-icon-btn:hover { opacity: .8; }
.st-cart__count { position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--store-accent); color: var(--store-accent-fg); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }

.st-menu { background: var(--store-menu-bg); color: var(--store-menu-fg); border-bottom: 1px solid rgba(0, 0, 0, .1); }
.st-menu__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.st-menu__list { display: flex; flex-wrap: wrap; align-items: center; column-gap: 24px; font-size: 14px; font-weight: 700; text-transform: var(--store-menu-transform); }
.st-menu__item { position: relative; padding: 12px 0; }
.st-menu__item > a:hover { opacity: .8; }
.st-menu__dropdown { visibility: hidden; position: absolute; left: 0; top: 100%; z-index: 60; min-width: 220px; padding: 8px 0; background: #fff; color: #111827; border-radius: 0 0 4px 4px; box-shadow: 0 8px 24px rgba(0, 0, 0, .15); font-weight: 400; text-transform: none; }
.st-menu__item:hover .st-menu__dropdown, .st-menu__item:focus-within .st-menu__dropdown { visibility: visible; }
.st-menu__dropdown a { display: block; padding: 8px 16px; }
.st-menu__dropdown a:hover { background: #f3f4f6; }
.st-phone { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 4px; background: var(--store-phone-bg); color: var(--store-phone-fg); font-size: 14px; font-weight: 700; }

.st-drawer { position: fixed; inset: 0; z-index: 90; }
.st-drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.st-drawer__panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(88vw, 360px); overflow-y: auto; background: #fff; padding: 16px 20px 32px; }
.st-drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid #e5e7eb; font-weight: 700; }
.st-drawer__list > li { border-bottom: 1px solid #f3f4f6; }
.st-drawer__list a { display: block; padding: 12px 0; font-weight: 700; }
.st-drawer__list ul a { padding: 8px 0 8px 16px; font-weight: 400; }
.st-drawer__phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 700; }

/* ---------- buttons, prices ---------- */
.st .st-buy { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 44px; padding: 0 24px; background: var(--store-buy-bg); color: var(--store-buy-fg); border-radius: var(--store-radius); text-transform: var(--store-buy-transform); font-weight: 700; font-size: 14px; text-align: center; transition: opacity .15s; }
.st .st-buy:hover { opacity: .9; }
.st .st-buy:disabled { opacity: .5; cursor: not-allowed; }
.st .st-buy--small { height: 40px; }
.st .st-buy--large { height: 48px; font-size: 16px; }
.st .st-btn-outline { height: 44px; padding: 0 24px; border: 1px solid #d1d5db; border-radius: var(--store-radius); background: #fff; font-size: 14px; }
.st .st-accent-btn { display: inline-block; margin-top: 24px; padding: 12px 24px; border-radius: 5px; background: var(--store-accent); color: var(--store-accent-fg); font-size: 14px; font-weight: 700; }
.st-price { font-size: 16px; font-weight: 700; color: var(--store-price); }
.st-price--large { font-size: 24px; }
.st-price--old { font-size: 14px; color: #6b7280; text-decoration: line-through; }
.st-badge { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 4px; background: var(--store-accent); color: var(--store-accent-fg); font-size: 12px; font-weight: 700; }
.st-badge--muted { background: rgba(255, 255, 255, .9); color: #4b5563; box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.st-alert { margin: 16px 0 0; padding: 12px 16px; border: 1px solid #fca5a5; background: #fef2f2; color: #991b1b; border-radius: var(--store-radius); font-size: 14px; }

/* ---------- product card and grid ---------- */
.st-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.st-grid > li { min-width: 0; }
.st-card { display: flex; flex-direction: column; height: 100%; }
.st-card__media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; border: 1px solid #e5e7eb; border-radius: var(--store-radius); }
.st-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.st-card__noimage { font-size: 12px; color: #9ca3af; }
.st-card__body { display: flex; flex: 1; flex-direction: column; margin-top: 12px; }
.st-card__brand { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #6b7280; }
.st-card__title { margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.375; }
.st-card:hover .st-card__title { text-decoration: underline; }
.st-card__price { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.st-card__action { margin-top: auto; padding-top: 12px; }

/* ---------- home sections ---------- */
.st-hero { position: relative; width: 100%; overflow: hidden; background: #262626; aspect-ratio: 32 / 9; }
.st-hero--banner { aspect-ratio: 6840 / 1916; }
.st-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s; pointer-events: none; }
.st-hero__slide.is-active { opacity: 1; pointer-events: auto; }
.st-hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.st-hero__slide picture { display: block; width: 100%; height: 100%; }
.st-hero__shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.st-hero__text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 0 24px; text-align: center; }
.st-hero__text h2 { font-size: 48px; line-height: 1.2; color: #fff; }
.st .st-hero__cta { padding: 12px 24px; border-radius: 5px; background: #fff; color: #000; font-size: 14px; font-weight: 700; }
.st-hero__link { position: absolute; inset: 0; }
.st-hero__dots { position: absolute; bottom: 16px; left: 50%; display: flex; gap: 8px; transform: translateX(-50%); }
.st .st-hero__dots button { width: 32px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .4); }
.st .st-hero__dots button.is-active { background: #fff; }

.st-usps { background: var(--store-bar-light); border-bottom: 1px solid #e5e7eb; }
.st-usps ul.st-container { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 40px; row-gap: 12px; padding: 16px 24px; font-size: 14px; }
.st-usps li { display: flex; align-items: flex-start; gap: 8px; }
.st-usps__check { color: var(--store-accent); }
.st-usps__text { display: block; color: #4b5563; }

.st-section { padding-top: 48px; padding-bottom: 48px; }
.st-section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.st-section__head .st-section__title { margin-bottom: 0; }
.st-section__head a { font-size: 14px; text-decoration: underline; }
.st-section__title { margin-bottom: 24px; font-size: 30px; line-height: 1.2; }
.st-brands { display: grid; grid-template-columns: repeat(var(--st-columns, 8), minmax(0, 1fr)); gap: 16px; }
.st-brands a { display: block; text-align: center; }
.st-brands img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border: 1px solid #e5e7eb; border-radius: 4px; }
.st-brands span { display: block; margin-top: 8px; font-size: 14px; font-weight: 700; }
.st-brands a:hover span, .st-tiles a:hover span { text-decoration: underline; }
.st-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.st-tiles img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
.st-tiles span { display: block; margin-top: 8px; text-align: center; font-weight: 700; }
.st-media { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
.st-media img { width: 100%; border-radius: 4px; object-fit: cover; }
.st-media p { margin-top: 16px; color: #4b5563; }

/* ---------- listing and content pages ---------- */
.st-page { padding-top: 32px; padding-bottom: 64px; }
.st-page--narrow { max-width: 880px; }
.st-crumbs { margin-bottom: 16px; font-size: 12px; color: #6b7280; }
.st-crumbs a:hover { text-decoration: underline; }
.st-page__title { font-size: 36px; line-height: 1.15; }
.st-page__lead { max-width: 768px; margin-top: 12px; font-size: 14px; color: #4b5563; }
.st-page__body { margin-top: 32px; }
.st-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; font-size: 14px; color: #4b5563; }
.st-sort { display: flex; align-items: center; gap: 8px; }
.st .st-sort select { height: 40px; padding: 0 32px 0 12px; border: 1px solid #d1d5db; border-radius: var(--store-radius); background-color: #fff; font-size: 14px; }
.st-empty { padding: 48px 0; text-align: center; color: #6b7280; }
.st-pages { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 48px; font-size: 14px; }
.st-pages__link { padding: 8px 16px; border: 1px solid #d1d5db; border-radius: var(--store-radius); }
.st-pages__link--off { color: #9ca3af; }
.st-about { max-width: 768px; margin-top: 64px; padding-top: 32px; border-top: 1px solid #e5e7eb; }
.st-about h2 { margin-bottom: 16px; font-size: 24px; }
.st-letters { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.st-letters a { min-width: 36px; padding: 6px 10px; border: 1px solid #d1d5db; border-radius: var(--store-radius); text-align: center; font-weight: 700; }
.st-letter { padding: 20px 0; border-top: 1px solid #e5e7eb; scroll-margin-top: 180px; }
.st-letter h2 { margin-bottom: 12px; font-size: 22px; }
.st-letter ul { columns: 4; column-gap: 24px; }
.st-letter li { padding: 4px 0; break-inside: avoid; }
.st-letter a:hover { text-decoration: underline; }
.st-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.st-posts img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.st-posts h2 { margin-top: 12px; font-size: 20px; }
.st-posts time, .st-article__meta { font-size: 13px; color: #6b7280; }
.st-posts p { margin-top: 8px; font-size: 14px; color: #4b5563; }
.st-article__meta { margin-top: 8px; }
.st-article__image { width: 100%; margin-top: 24px; border-radius: 4px; }
.st-error { text-align: center; padding-top: 64px; }
.st-error__code { font-size: 80px; font-weight: 700; line-height: 1; color: var(--store-accent); }
.st-error .st-search { margin: 24px auto 0; }
.st-error > p { margin-top: 12px; color: #4b5563; }

.st-prose { font-size: 15px; line-height: 1.7; color: #374151; overflow-wrap: anywhere; }
.st-prose > * + * { margin-top: 12px; }
.st-prose h2, .st-prose h3, .st-prose h4 { margin-top: 24px; font-family: var(--store-font-heading); color: #111827; }
.st-prose h2 { font-size: 22px; }
.st-prose h3 { font-size: 18px; }
.st-prose ul { list-style: disc; padding-left: 24px; }
.st-prose ol { list-style: decimal; padding-left: 24px; }
.st-prose a { text-decoration: underline; }
.st-prose img { max-width: 100%; height: auto; }
.st-prose table { border-collapse: collapse; }
.st-prose td, .st-prose th { padding: 6px 10px; border: 1px solid #e5e7eb; }

/* ---------- product page ---------- */
.st-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.st-product__gallery { position: sticky; top: 190px; align-self: start; }
.st-product__image { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: #fff; border: 1px solid #e5e7eb; border-radius: var(--store-radius); overflow: hidden; }
.st-product__image img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.st-product__thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.st .st-product__thumbs button { display: block; width: 100%; aspect-ratio: 1 / 1; border: 1px solid #e5e7eb; border-radius: var(--store-radius); overflow: hidden; background: #fff; opacity: .8; }
.st .st-product__thumbs button.is-active { opacity: 1; outline: 2px solid var(--store-buy-bg); }
.st-product__thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.st-product__info { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.st-product__brand { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #6b7280; margin-bottom: -16px; }
a.st-product__brand:hover { text-decoration: underline; }
.st-product__title { font-size: 30px; line-height: 1.2; }
.st-product__form { display: flex; flex-direction: column; gap: 10px; }
.st-product__price { display: flex; align-items: baseline; gap: 12px; }
.st-product__stock { font-size: 14px; color: #4b5563; }
.st-option { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.st .st-option select { height: 44px; padding: 0 12px; border: 1px solid #d1d5db; border-radius: var(--store-radius); background-color: #fff; }
.st-qty { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #4b5563; }
.st-qty__box { display: flex; align-items: center; height: 44px; border: 1px solid #d1d5db; border-radius: var(--store-radius); }
.st .st-qty__box button { width: 40px; height: 100%; font-size: 18px; }
.st .st-qty__box input { width: 48px; height: 100%; border: 0; outline: 0; background: transparent; text-align: center; font-size: 14px; -moz-appearance: textfield; box-shadow: none; padding: 0; }
.st-qty__box input::-webkit-outer-spin-button, .st-qty__box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.st-details { display: grid; grid-template-columns: 8rem 1fr; column-gap: 16px; row-gap: 8px; padding-top: 24px; border-top: 1px solid #e5e7eb; font-size: 14px; }
.st-details dt { color: #6b7280; }
.st-notice { padding: 12px 16px; border: 1px solid #fcd34d; background: #fffbeb; color: #78350f; border-radius: var(--store-radius); font-size: 14px; }
.st-product__description { padding-top: 24px; border-top: 1px solid #e5e7eb; }
.st-product__description h2 { margin-bottom: 12px; font-size: 16px; font-weight: 700; }

/* ---------- footer ---------- */
.st-footer { background: var(--store-footer-bg); border-top: 1px solid #e5e7eb; }
.st-footer__main { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding: 64px 0; }
.st-footer__about { max-width: 384px; font-size: 14px; color: #4b5563; }
.st-footer__name { font-size: 20px; font-weight: 700; text-transform: uppercase; color: #111827; }
.st-footer__about p { margin-top: 12px; }
.st-footer__contact { font-weight: 700; color: #111827; }
.st-footer__columns { display: grid; grid-auto-flow: column; grid-auto-columns: max-content; gap: 64px; font-size: 14px; }
.st-footer__title { display: block; margin-bottom: 8px; font-weight: 700; color: #111827; }
.st-footer__columns li { padding: 4px 0; color: #4b5563; }
.st-footer__columns a:hover { color: #111827; }
.st-footer__legal { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 48px; font-size: 13px; color: #6b7280; }

/* ---------- age gate ---------- */
.st-age { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .7); transition: opacity .2s; }
.st-age.is-closing { opacity: 0; }
.st-age__box { width: 100%; max-width: 448px; overflow: hidden; background: #fff; border-radius: var(--store-radius); text-align: center; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); }
.st-age__head { display: flex; justify-content: center; padding: 16px 32px; background: var(--store-header-bg); color: var(--store-header-fg); }
.st-age__head img { width: 180px; max-height: 56px; object-fit: contain; }
.st-age__body { padding: 32px; }
.st-age__body h2 { font-size: 24px; }
.st-age__body p { margin-top: 12px; font-size: 14px; color: #4b5563; }
.st-age__buttons { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.st .st-age__buttons .st-buy { width: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1279px) {
  .st-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .st-only-desktop { display: none !important; }
  .st-only-mobile { display: inline-flex !important; }
  .st-header__row { gap: 12px; padding-top: 8px; padding-bottom: 8px; }
  .st-logo { margin: 0 auto; }
  .st-logo img { width: 140px; max-height: 48px; }
  .st-header__actions { gap: 16px; margin-left: 0; }
  .st-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 16px; }
  .st-brands { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .st-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-hero { aspect-ratio: 16 / 7; }
  .st-hero--banner { aspect-ratio: 6840 / 1916; }
  .st-hero__text h2 { font-size: 36px; }
  .st-product { grid-template-columns: 1fr; gap: 32px; }
  .st-product__gallery { position: static; }
  .st-footer__main { flex-direction: column; padding: 48px 0; }
  .st-footer__columns { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .st-letter ul { columns: 3; }
  .st-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .st-container { padding: 0 16px; }
  .st-bar { font-size: 12px; }
  .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .st-brands span { font-size: 12px; }
  .st-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-hero { aspect-ratio: 4 / 3; }
  .st-hero--banner { aspect-ratio: 2 / 1; }
  .st-hero__text h2 { font-size: 24px; }
  .st-usps ul { flex-direction: column; }
  .st-section__title { font-size: 24px; }
  .st-media { grid-template-columns: 1fr; }
  .st-page__title { font-size: 28px; }
  .st-product__title { font-size: 24px; }
  .st-toolbar { flex-direction: column; align-items: flex-start; }
  .st-footer__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-footer__legal { flex-direction: column; }
  .st-letter ul { columns: 2; }
  .st-posts { grid-template-columns: 1fr; }
}
