/* ==========================================================================
   SKINTHEORY — "feed" world
   Taken from the brand's Instagram: white and silver studio ground, silver
   packshots, a small spaced wordmark. The one brand colour is #0a4550 (type,
   buttons, the proof strip and the closing field); there is no second accent.

   Scope: the homepage (.st-home) and the pieces every page shares: header,
   footer and the product card. Account, checkout and affiliate pages keep
   skintheory-tokens.css; nothing here redefines the theme's --theory-* variables.
   The theme sets html { font-size: 62.5% }, so every size below is in px.
   ========================================================================== */

:root {
  --st-paper: #ffffff;
  /* silvers lean a few degrees toward the brand hue so they sit with it, not against it */
  --st-silver-50: #f5f7f7;
  --st-silver-100: #eaeff0;
  --st-silver-200: #d9e1e2;
  --st-silver-300: #bfcbcd;
  --st-silver-400: #96a6a9;

  --st-brand: #0a4550;
  --st-brand-deep: #06323b;
  --st-ink-2: #3a5057;
  --st-muted: #55686d;

  --st-serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --st-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --st-r-sm: 16px; /* thumbnails, menus */
  --st-r-md: 20px; /* tiles and product cards */
  --st-r-lg: 28px; /* panels: stage, poster, set, closing field */
  --st-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --st-shadow: 0 18px 40px -22px rgb(10 69 80 / 0.45);
}

/* ---------- shared: focus --------------------------------------------------- */
.header__section a:focus-visible,
.header__section button:focus-visible,
.footer__section a:focus-visible,
.st-home a:focus-visible,
.st-home button:focus-visible,
.st-home input:focus-visible + label,
.product__card a:focus-visible,
.product__card button:focus-visible {
  outline: 2px solid var(--st-brand);
  outline-offset: 3px;
}

/* ==========================================================================
   HEADER (shared)
   ========================================================================== */
.header__section .header__topbar {
  background: var(--st-brand);
  padding: 9px 16px;
}

.header__section .header__info--text {
  height: auto !important;
  margin: 0;
  color: #fff;
  font: 500 13px/1.5 var(--st-sans);
  letter-spacing: 0.04em;
}

.header__section .main__header {
  background: var(--st-paper);
  border-bottom: 1px solid var(--st-silver-200);
  padding: 14px 0;
}

.header__section .main__header--inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
}

.header__section .offcanvas__header--menu__open {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.header__section .main__logo {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  margin: 0;
}

.header__section .main__logo--img {
  max-width: 168px;
  display: block;
}

.header__section .header__menu {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.header__section .header__account {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  width: auto !important;
}

.header__section .header__menu--wrapper {
  gap: 4px;
}

@media (min-width: 992px) {
  .header__section .main__header--inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 24px;
  }

  .header__section .header__menu {
    grid-column: 2;
    justify-self: center;
  }

  .header__section .header__account {
    grid-column: 3;
  }
}

.header__section .header__menu--link {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--st-brand);
  font: 600 13px/1 var(--st-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s var(--st-ease);
}

.header__section .header__menu--items:hover > .header__menu--link {
  color: var(--st-brand);
  background: var(--st-silver-100);
}

.header__section .header__sub--menu {
  background: var(--st-paper);
  border: 1px solid var(--st-silver-200);
  border-radius: var(--st-r-sm);
  box-shadow: var(--st-shadow);
}

.header__section .header__sub--menu__link {
  color: var(--st-ink-2);
  font: 500 14px/1.4 var(--st-sans);
}

.header__section .header__sub--menu__link:hover {
  color: var(--st-brand);
}

.header__section .header__account--btn,
.header__section .offcanvas__header--menu__open--btn {
  color: var(--st-brand);
}

.header__section .items__count {
  background: var(--st-brand);
  color: #fff;
  font: 600 11px/17px var(--st-sans);
}

/* Menu button (below 992px): round tap target, ring only for keyboard focus */
.header__section .offcanvas__header--menu__open--btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border-radius: 50%;
  outline: 0;
  transition: background 0.2s var(--st-ease);
}

.header__section .offcanvas__header--menu__open--btn:hover {
  background: var(--st-silver-100);
}

.header__section .offcanvas__header--menu__open--btn:focus-visible {
  outline: 2px solid var(--st-brand);
  outline-offset: 2px;
}

.header__section .offcanvas__header--menu__open--svg {
  width: 28px;
}

/* ==========================================================================
   DRAWER MENU (below 992px): slides in from the right, under the menu button
   ========================================================================== */
body.mobile_menu_open::before {
  position: fixed;
  inset: 0;
  background: var(--st-brand-deep);
  opacity: 0.5;
}

.offcanvas__header {
  left: auto;
  right: 0;
  width: min(84vw, 320px);
  max-width: none;
  height: 100vh;
  height: 100dvh;
  background: var(--st-paper);
  border-radius: var(--st-r-lg) 0 0 var(--st-r-lg);
  box-shadow: -24px 0 48px -28px rgb(6 50 59 / 0.5);
  overflow: hidden;
  transform: translateX(100%);
  transition:
    transform 0.45s var(--st-ease),
    opacity 0.3s var(--st-ease),
    visibility 0.45s;
}

.offcanvas__header.open {
  transform: translateX(0);
}

.offcanvas__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}

.offcanvas__logo {
  flex: none;
  padding: 14px 14px 14px 24px;
}

.offcanvas__logo img {
  display: block;
  max-width: 132px;
}

.offcanvas__close--btn {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--st-silver-100);
  transition: background 0.2s var(--st-ease);
}

.offcanvas__close--btn:hover {
  background: var(--st-silver-200);
}

.offcanvas__close--btn:focus-visible {
  outline: 2px solid var(--st-brand);
  outline-offset: 2px;
}

.offcanvas__close--btn::before,
.offcanvas__close--btn::after {
  left: 50%;
  width: 18px;
  margin-left: -9px;
  background: var(--st-brand);
  border-radius: 2px;
}

.offcanvas__menu {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 24px 24px;
}

.offcanvas__menu_ul {
  max-height: none;
  overflow: visible;
}

.offcanvas__menu_li,
.offcanvas__menu_li:first-child {
  border: 0;
  border-bottom: 1px solid var(--st-silver-200);
}

.offcanvas__menu_li:first-child {
  border-top: 1px solid var(--st-silver-200);
}

.offcanvas__menu_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 8px 0;
  color: var(--st-brand);
  font: 500 24px/1.1 var(--st-serif);
  letter-spacing: -0.01em;
  text-transform: none;
  transition: color 0.2s var(--st-ease);
}

.offcanvas__menu_item span {
  transition: transform 0.25s var(--st-ease);
}

.offcanvas__menu_item:hover span,
.offcanvas__menu_item:focus-visible span {
  transform: translateX(8px);
}

.offcanvas__menu_item:hover,
.offcanvas__menu_item:focus-visible {
  color: var(--st-brand-deep);
}

.offcanvas__menu_item:focus-visible {
  outline: 2px solid var(--st-brand);
  outline-offset: -2px;
  border-radius: var(--st-r-sm);
}

.offcanvas__menu_item[aria-current="page"] {
  font-style: italic;
}

.offcanvas__menu_item--sale span {
  padding: 5px 14px 6px;
  border-radius: 999px;
  background: var(--st-brand);
  color: #fff;
}

.offcanvas__menu_item[aria-current="page"]::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--st-brand);
}

.offcanvas__account--items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding: 24px 0 0;
}

.offcanvas__account--items .st-btn {
  width: 100%;
}

.offcanvas__proof {
  margin: 18px 0 0;
  color: var(--st-muted);
  font: 400 13px/1.5 var(--st-sans);
  text-align: center;
}

/* The Qiscus chat button (z-index 999999) would sit on top of the drawer's bottom actions */
body.mobile_menu_open .qcw-trigger-btn {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .offcanvas__header {
    transition:
      opacity 0.2s linear,
      visibility 0.2s;
  }
}

/* ==========================================================================
   FOOTER (shared)
   ========================================================================== */
.footer__section.footer__bg {
  background: var(--st-silver-50);
  border-top: 1px solid var(--st-silver-200);
}

.footer__section .footer__widget--title {
  color: var(--st-brand);
  font: 700 13px/1.4 var(--st-sans);
  letter-spacing: 0.12em;
}

.footer__section .footer__widget--menu__text,
.footer__section .footer__widget--info__text,
.footer__section .footer__widget--desc,
.footer__section .copyright__content {
  color: var(--st-ink-2);
  font: 400 15px/1.7 var(--st-sans);
}

.footer__section a.footer__widget--menu__text:hover,
.footer__section a.footer__widget--info__text:hover {
  color: var(--st-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__section .footer__widget--info_list svg {
  color: var(--st-brand);
}

.footer__section .social__share--icon {
  background: var(--st-paper);
  color: var(--st-brand);
  border: 1px solid var(--st-silver-300);
}

.footer__section .footer__bottom {
  border-top: 1px solid var(--st-silver-200);
}

.footer__section .text__secondary,
.footer__section .copyright__content--link {
  color: var(--st-brand);
}

/* ==========================================================================
   PRODUCT CARD (shared: homepage, Product, Sale, related items)
   ========================================================================== */
.product__card {
  background: var(--st-paper);
  border: 1px solid var(--st-silver-200);
  border-radius: var(--st-r-md);
  box-shadow: none;
  overflow: hidden;
  transition:
    border-color 0.25s var(--st-ease),
    box-shadow 0.25s var(--st-ease),
    transform 0.25s var(--st-ease);
}

.product__card:hover {
  border-color: var(--st-silver-300);
  box-shadow: var(--st-shadow);
}

.product__card .product__card--thumbnail {
  background: linear-gradient(180deg, var(--st-silver-50) 0%, var(--st-silver-100) 100%);
}

.product__card .product__card--thumbnail__img {
  mix-blend-mode: multiply;
}

.product__card .product__card--content {
  padding: 16px 16px 20px;
}

.product__card .product__card--title,
.product__card .product__card--title a,
.product__card a.product__card--title {
  color: var(--st-brand);
  font: 600 16px/1.4 var(--st-sans);
}

.product__card .product__card--title a:hover,
.product__card a.product__card--title:hover {
  color: var(--st-brand-deep);
}

.product__card .current__price {
  color: var(--st-brand);
  font: 700 16px/1.4 var(--st-sans);
}

.product__card .old__price {
  color: var(--st-muted);
  font: 400 14px/1.4 var(--st-sans);
}

.product__card .rating__review--text {
  color: var(--st-muted);
  font: 400 13px/1.4 var(--st-sans);
}

.product__card .product__badge {
  width: auto;
  height: auto;
  padding: 5px 9px;
  background: var(--st-brand);
  border-radius: 999px;
  font: 600 12px/1.2 var(--st-sans);
  letter-spacing: 0.04em;
}

.product__card .product__card--btn {
  background: var(--st-brand);
  border-radius: 999px;
  font: 600 14px/1 var(--st-sans);
  height: 42px;
  line-height: 42px;
  padding: 0 22px;
}

.product__card .product__card--btn:hover {
  background: var(--st-brand-deep);
}

.product__card .product__card--action__btn {
  color: var(--st-brand);
}

/* ==========================================================================
   HOMEPAGE
   ========================================================================== */
.st-home {
  background: var(--st-paper);
  color: var(--st-brand);
  font-family: var(--st-sans);
  font-size: 17px;
  line-height: 1.65;
}

.st-home h1,
.st-home h2,
.st-home h3 {
  color: var(--st-brand);
  margin: 0;
}

.st-home p {
  margin: 0;
}

/* same left edge as the theme's header container */
.st-wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 20px;
}

.st-serif {
  font-family: var(--st-serif);
  font-optical-sizing: auto;
}

/* ---- buttons ---- */
.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1.5px solid var(--st-brand);
  border-radius: 999px;
  background: var(--st-brand);
  color: #fff;
  font: 600 16px/1 var(--st-sans);
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s var(--st-ease),
    color 0.2s var(--st-ease),
    border-color 0.2s var(--st-ease);
}

.st-btn:hover {
  background: var(--st-brand-deep);
  border-color: var(--st-brand-deep);
  color: #fff;
}

.st-btn--line {
  background: transparent;
  color: var(--st-brand);
}

.st-btn--line:hover {
  background: var(--st-brand);
  border-color: var(--st-brand);
  color: #fff;
}

.st-btn--sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 15px;
}

.st-btn--white {
  background: #fff;
  border-color: #fff;
  color: var(--st-brand);
}

.st-btn--white:hover {
  background: var(--st-silver-100);
  border-color: var(--st-silver-100);
  color: var(--st-brand);
}

.st-btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.st-link {
  color: var(--st-brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
}

.st-link:hover {
  color: var(--st-brand-deep);
}

/* ---- hero: studio paper, the closed pouch ---- */
.st-hero {
  background: linear-gradient(180deg, var(--st-paper) 0%, var(--st-silver-100) 62%, var(--st-silver-200) 100%);
  overflow: hidden;
}

.st-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: min(720px, calc(100svh - 150px));
  padding-block: clamp(36px, 6vw, 72px) 0;
}

.st-hero__text {
  display: grid;
  gap: 24px;
  justify-items: start;
  padding-bottom: 8px;
}

.st-hero h1 {
  font-family: var(--st-serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(46px, 8.4vw, 96px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.st-hero h1 em {
  display: block;
  font-style: italic;
  font-weight: 400;
}

.st-hero__lede {
  max-width: 34ch;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.5;
  color: var(--st-ink-2);
}

.st-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}

.st-hero__art {
  display: grid;
  place-items: end center;
  min-height: 300px;
}

@media (min-width: 900px) {
  .st-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 24px;
  }

  .st-hero__art {
    min-height: 0;
    align-self: end;
  }
}

/* ---- the pouch (authored SVG + product images that rise out of it) ---- */
.st-pouch {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 440 / 520;
}

/* the closed pouch drops the empty headroom the products rise into */
.st-pouch--closed {
  aspect-ratio: 440 / 350;
}

.st-pouch svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.st-pouch__items {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.st-pouch__item {
  position: absolute;
  bottom: 51%;
  width: 25%;
  object-fit: contain;
  object-position: 50% 100%;
  mix-blend-mode: multiply;
  transform: translateY(105%);
  opacity: 0;
  transition:
    transform 0.9s var(--st-ease),
    opacity 0.5s var(--st-ease);
}

.st-pouch__item[data-slot="1"] {
  left: 9%;
  height: 36%;
  --tilt: -3deg;
}
.st-pouch__item[data-slot="2"] {
  left: 29%;
  height: 40%;
  --tilt: 1deg;
}
.st-pouch__item[data-slot="3"] {
  left: 50%;
  height: 33%;
  --tilt: -1deg;
}
.st-pouch__item[data-slot="4"] {
  left: 70%;
  height: 30%;
  --tilt: 3deg;
}

.st-pouch__item.is-out {
  transform: translateY(0) rotate(var(--tilt, 0deg));
  opacity: 1;
}

.st-pouch__lid {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transition:
    transform 0.7s var(--st-ease),
    opacity 0.5s var(--st-ease);
}

.st-pouch.is-open .st-pouch__lid {
  transform: translateY(-6px) scaleY(0.1);
  opacity: 0;
}

.st-pouch__shadow {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -2%;
  height: 6%;
  background: radial-gradient(closest-side, rgb(10 69 80 / 0.32), transparent);
  filter: blur(4px);
}

/* ---- routine ---- */
.st-routine {
  padding-block: clamp(56px, 9vw, 120px);
  background: var(--st-paper);
}

.st-routine__head {
  display: grid;
  gap: 14px;
  max-width: 62ch;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.st-routine__head h2,
.st-section-title {
  font-family: var(--st-serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.st-routine__head p {
  color: var(--st-ink-2);
  font-size: 18px;
  max-width: 56ch;
}

.st-routine__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 992px) {
  .st-routine__grid {
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: start;
  }

  .st-routine__stage {
    position: sticky;
    top: 110px;
  }
}

.st-routine__stage {
  display: grid;
  place-items: center;
  border-radius: var(--st-r-lg);
  overflow: hidden;
  padding: 20px 12px 8px;
  background: linear-gradient(180deg, var(--st-silver-50), var(--st-silver-200));
}

/* skin type */
.st-skin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}

.st-skin legend {
  float: left;
  width: auto;
  margin: 0 6px 0 0;
  padding: 0;
  font: 600 16px/1 var(--st-sans);
  color: var(--st-brand);
}

.st-skin input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.st-skin label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--st-silver-300);
  border-radius: 999px;
  background: var(--st-paper);
  color: var(--st-ink-2);
  font: 500 15px/1 var(--st-sans);
  cursor: pointer;
  transition:
    border-color 0.2s var(--st-ease),
    background 0.2s var(--st-ease),
    color 0.2s var(--st-ease);
}

.st-skin label:hover {
  border-color: var(--st-brand);
}

.st-skin input:checked + label {
  background: var(--st-brand);
  border-color: var(--st-brand);
  color: #fff;
}

.st-skin input:focus-visible + label {
  outline: 2px solid var(--st-brand);
  outline-offset: 3px;
}

/* day parts */
.st-part {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 36px 0 4px;
}

.st-part:first-of-type {
  margin-top: 18px;
}

.st-part h3 {
  font-family: var(--st-serif);
  font-optical-sizing: auto;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
}

.st-part::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--st-silver-300);
  transform: translateY(-6px);
}

/* steps: rows on hairlines, not cards */
.st-step {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px 22px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--st-silver-200);
}

.st-step__img {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--st-r-sm);
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, var(--st-silver-50), var(--st-silver-200));
}

.st-step__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: scale(1.45);
}

.st-step__n {
  z-index: 2;
  position: absolute;
  left: 8px;
  top: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--st-paper);
  color: var(--st-brand);
  font: italic 500 17px/1 var(--st-serif);
}

.st-step__body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.st-step__name {
  font: 700 20px/1.3 var(--st-sans);
  letter-spacing: -0.005em;
}

.st-step__name a {
  color: var(--st-brand);
  text-decoration: none;
}

.st-step__name a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.st-step__fit {
  color: var(--st-ink-2);
  font-size: 17px;
  max-width: 52ch;
}

.st-step__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  color: var(--st-muted);
  font-size: 14px;
  line-height: 1.5;
}

.st-step__proof strong {
  color: var(--st-brand);
  font-weight: 700;
}

.st-step__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 8px;
}

.st-price {
  font: 700 18px/1 var(--st-sans);
  color: var(--st-brand);
}

.st-price s {
  margin-left: 8px;
  color: var(--st-muted);
  font-weight: 400;
  font-size: 15px;
}

.st-step__swap {
  background: none;
  border: 0;
  padding: 4px 0;
  color: var(--st-ink-2);
  font: 500 15px/1.4 var(--st-sans);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  text-align: left;
}

.st-step__swap:hover {
  color: var(--st-brand);
}

@media (max-width: 520px) {
  .st-step {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px 16px;
  }

  .st-step__name {
    font-size: 18px;
  }
}

/* skeleton / empty */
.st-skel {
  border-radius: var(--st-r-md);
  min-height: 150px;
  margin: 18px 0;
  background: linear-gradient(90deg, var(--st-silver-100), var(--st-silver-50), var(--st-silver-100));
  background-size: 200% 100%;
  animation: st-shimmer 1.6s linear infinite;
}

@keyframes st-shimmer {
  to {
    background-position: -200% 0;
  }
}

.st-empty {
  padding: 28px 0;
  color: var(--st-ink-2);
}

/* ---- the set, laid flat ---- */
.st-set {
  padding-block: 0 clamp(48px, 7vw, 96px);
}

.st-set__panel {
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--st-r-lg);
  background: linear-gradient(180deg, var(--st-silver-100), var(--st-silver-200));
}

.st-set__panel {
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .st-set__panel {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 64px;
  }
}

.st-set__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 2.5vw, 28px);
  align-items: end;
}

.st-set__row img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.st-set__copy {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.st-set__total {
  display: grid;
  gap: 4px;
}

.st-set__total small {
  color: var(--st-ink-2);
  font-size: 16px;
}

.st-set__total strong {
  font: 700 clamp(32px, 4vw, 44px)/1.1 var(--st-sans);
  letter-spacing: -0.01em;
}

.st-set__note {
  color: var(--st-ink-2);
  font-size: 15px;
  max-width: 40ch;
}

/* ---- film ---- */
.st-film {
  padding-block: clamp(56px, 8vw, 112px);
}

.st-film__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .st-film__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 88px);
  }
}

.st-film__poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--st-r-lg);
  background: var(--st-silver-100);
}

.st-film__poster img {
  display: block;
  width: 100%;
  height: auto;
}

.st-film__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.96);
  color: var(--st-brand);
  box-shadow: 0 12px 28px -10px rgb(10 69 80 / 0.55);
  transition: transform 0.25s var(--st-ease);
}

.st-film__poster:hover .st-film__play {
  transform: scale(1.06);
}

.st-film__play svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.st-film__copy {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.st-film__copy p {
  max-width: 52ch;
  color: var(--st-ink-2);
  font-size: 18px;
}

/* ---- shop ---- */
.st-shop {
  padding-block: 0 clamp(56px, 8vw, 112px);
}

.st-shop__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.st-shop .product__card--thumbnail__img {
  padding: 8px;
}

/* ---- close ---- */
.st-close {
  padding-bottom: clamp(48px, 7vw, 96px);
}

.st-close__panel {
  display: grid;
  gap: 28px;
  justify-items: start;
  padding: clamp(32px, 6vw, 80px);
  border-radius: var(--st-r-lg);
  background: var(--st-brand);
  color: #fff;
}

.st-close__panel h2 {
  max-width: 14ch;
  color: #fff;
  font-family: var(--st-serif);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.st-close__panel a:focus-visible {
  outline-color: #fff;
}

.st-close__panel p {
  max-width: 54ch;
  color: #fff;
  font-size: clamp(17px, 2vw, 20px);
}

/* ---- motion: the pouch is the only authored moment ---- */
@media (prefers-reduced-motion: reduce) {
  .st-pouch__item,
  .st-pouch__lid {
    transition: none;
  }

  .st-skel {
    animation: none;
  }
}

@media (max-width: 991px) {
  .st-routine__stage .st-pouch {
    width: min(100%, 320px);
  }
}

.st-hero__art .st-pouch {
  width: min(100%, 520px);
}

/* The theme restyles the header again once it sticks (green links, brown hover); keep the world's brand colour. */
.header__section .header__sticky.sticky {
  background: var(--st-paper);
  border-bottom: 1px solid var(--st-silver-200);
  box-shadow: 0 14px 28px -24px rgb(10 69 80 / 0.5);
}

.header__section .header__sticky.sticky .header__menu--link,
.header__section .header__sticky.sticky .offcanvas__header--menu__open--btn {
  color: var(--st-brand) !important;
}

.header__section .header__sticky.sticky .header__menu--items:hover .header__menu--link {
  color: var(--st-brand) !important;
}

/* Current page: a 2px underline in the brand colour (Sale, already filled, gets a ring instead) */
.header__section .header__menu--link.is-current {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.header__section .header__menu--sale > .header__menu--link.is-current {
  text-decoration: none;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px var(--st-brand);
}

/* Sale is the one highlighted link: a filled brand pill (same single hue) */
.header__section .header__menu--sale > .header__menu--link,
.header__section .header__menu--sale:hover > .header__menu--link {
  background: var(--st-brand);
  color: #fff !important; /* the theme forces a brown hover colour with !important */
}

.header__section .header__menu--sale:hover > .header__menu--link {
  background: var(--st-brand-deep);
}

.header__section .header__sticky.sticky .header__menu--items.header__menu--sale .header__menu--link,
.header__section .header__sticky.sticky .header__menu--items.header__menu--sale:hover .header__menu--link {
  color: #fff !important;
}

/* ==========================================================================
   ABOUT: the feed grid. One mosaic of rounded tiles, the profile grid of the
   brand's Instagram continued. One brand-teal field (the big tile); everything
   else is silver or white. Packshots multiply into their tile, so no ancestor
   of an image may carry z-index or isolation (the tile itself holds the ground).
   ========================================================================== */
.st-about__intro {
  padding: clamp(40px, 7vw, 96px) 0 clamp(32px, 5vw, 64px);
}

.st-about__intro .st-wrap {
  display: grid;
  gap: 28px 64px;
  align-items: start;
}

.st-about__intro h1 {
  font-family: var(--st-serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(44px, 5.8vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.st-about__intro h1 em {
  display: block;
  font-style: italic;
  font-weight: 400;
}

.st-about__lede {
  display: grid;
  gap: 26px;
  max-width: 52ch;
}

.st-about__lede p {
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.6;
  color: var(--st-ink-2);
}

@media (min-width: 992px) {
  .st-about__intro .st-wrap {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  /* line the first line of the paragraph up with the cap height of the heading (8% of the heading size) */
  .st-about__lede {
    margin-top: calc(clamp(44px, 5.8vw, 76px) * -0.08);
  }
}

/* grid: 2 columns up to 991px, 3 columns of squares above; areas are set per tile in the markup */
.st-feed {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "big big"
    "spray quote"
    "sun halal"
    "cream peel"
    "video video"
    "photo derma"
    "years years"
    "follow follow";
}

@media (min-width: 992px) {
  .st-feed {
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "big big spray"
      "big big quote"
      "sun halal cream"
      "video video peel"
      "photo derma years"
      "follow follow follow";
  }
}

.st-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--st-r-md);
  background: var(--st-silver-100);
  color: var(--st-brand);
  text-decoration: none;
}

.st-tile[hidden] {
  display: none;
}

@media (min-width: 992px) {
  .st-tile {
    min-height: 0;
    aspect-ratio: 1;
    border-radius: var(--st-r-lg);
  }
}

/* the one brand-colour field */
.st-tile--big {
  justify-content: space-between;
  gap: 14px;
  padding: clamp(22px, 4vw, 44px);
  aspect-ratio: 1;
  background: var(--st-brand);
  color: #fff;
}

.st-tile--big h2 {
  color: #fff;
  font-family: var(--st-serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(34px, 6.2vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.st-tile--big h2 em {
  display: block;
  font-style: italic;
  font-weight: 400;
}

.st-tile--big p {
  max-width: 30ch;
  color: var(--st-silver-200);
  font-size: 18px;
  line-height: 1.5;
}

@media (min-width: 600px) and (max-width: 991px) {
  .st-tile--big {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 992px) {
  .st-tile--big {
    aspect-ratio: auto;
  }
}

/* statements and claims */
.st-tile--text,
.st-tile--claim {
  justify-content: flex-end;
  padding: 20px;
}

.st-tile--text {
  border: 1px solid var(--st-silver-200);
  background: var(--st-silver-50);
}

.st-tile--text p {
  font-family: var(--st-serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.st-tile--years {
  min-height: 0;
}

.st-tile--claim {
  justify-content: center;
  border: 1.5px solid var(--st-silver-300);
  background: var(--st-paper);
}

.st-tile--claim p {
  font-family: var(--st-serif);
  font-optical-sizing: auto;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 5.6vw, 34px);
  line-height: 1.08;
  text-wrap: balance;
}

@media (min-width: 992px) {
  .st-tile--claim p {
    font-size: clamp(26px, 3.2vw, 40px);
  }

  .st-tile--text,
  .st-tile--claim {
    padding: 32px;
  }

  .st-tile--years {
    min-height: 0;
  }
}

/* live product tiles */
.st-tile--product {
  background: linear-gradient(180deg, var(--st-silver-50), var(--st-silver-100));
  border: 1px solid var(--st-silver-200);
  transition:
    border-color 0.25s var(--st-ease),
    box-shadow 0.25s var(--st-ease);
}

.st-tile--product:hover {
  border-color: var(--st-silver-300);
  box-shadow: var(--st-shadow);
}

.st-tile__pic {
  position: relative;
  display: block;
  flex: none;
  aspect-ratio: 1;
  overflow: hidden;
}

.st-tile__pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  /* packshots carry wide white margins and a faint off-white box: scale past the margin, lift the box to white */
  transform: scale(1.14);
  filter: brightness(1.03);
  transition: transform 0.5s var(--st-ease);
}

.st-tile--product:hover .st-tile__pic img {
  transform: scale(1.2);
}

@media (min-width: 992px) {
  .st-tile__pic {
    flex: 1;
    min-height: 0;
    aspect-ratio: auto;
  }
}

.st-tile__cap {
  display: grid;
  gap: 4px;
  padding: 6px 14px 16px;
  min-height: 92px;
}

.st-tile__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.st-tile__claim {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--st-ink-2);
}

.st-tile__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  font-size: 13px;
  color: var(--st-muted);
  white-space: nowrap;
}

.st-tile__meta b {
  font-size: 16px;
  font-weight: 700;
  color: var(--st-brand);
}

@media (min-width: 600px) {
  .st-tile__meta {
    font-size: 14px;
  }
}

@media (min-width: 992px) {
  .st-tile__cap {
    padding: 8px 24px 24px;
  }
}

/* arrow chip: opens the product / profile */
.st-tile__go {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--st-brand);
  transition:
    background 0.2s var(--st-ease),
    color 0.2s var(--st-ease);
}

.st-tile__go svg {
  width: 20px;
  height: 20px;
}

.st-tile--product:hover .st-tile__go,
.st-tile--follow:hover .st-tile__go {
  background: var(--st-brand);
  color: #fff;
}

/* film */
.st-tile--video {
  aspect-ratio: 16 / 10;
  background: var(--st-brand-deep);
}

.st-tile--video img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.st-tile--video .st-film__play {
  width: 60px;
  height: 60px;
  margin: -34px 0 0 -30px;
}

.st-tile--video:hover .st-film__play {
  transform: scale(1.06);
}

.st-tile--video .st-film__play svg {
  width: 24px;
  height: 24px;
}

.st-tile__title {
  position: absolute;
  inset: auto 0 0;
  padding: 36px 20px 16px;
  background: linear-gradient(0deg, rgb(6 50 59 / 0.82), rgb(6 50 59 / 0));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

@media (min-width: 992px) {
  .st-tile--video {
    aspect-ratio: auto;
  }

  .st-tile--video .st-film__play {
    width: 76px;
    height: 76px;
    margin: -44px 0 0 -38px;
  }

  .st-tile__title {
    padding: 56px 28px 24px;
    font-size: 18px;
  }
}

/* photo */
.st-tile--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

/* follow */
.st-tile--follow {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 0;
  padding: 24px 76px 24px 24px;
  background: var(--st-silver-100);
  transition: background 0.25s var(--st-ease);
}

.st-tile--follow:hover {
  background: var(--st-silver-200);
}

.st-tile--follow > span:first-child {
  display: grid;
  gap: 4px;
}

.st-tile--follow strong {
  font-family: var(--st-serif);
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.st-tile--follow > span > span {
  color: var(--st-ink-2);
  font-size: 16px;
  line-height: 1.45;
}

.st-tile--follow .st-tile__go {
  top: 50%;
  right: 20px;
  margin-top: -20px;
}

@media (min-width: 992px) {
  .st-tile--follow {
    aspect-ratio: auto;
    padding: 32px 96px 32px 32px;
  }

  .st-tile--follow .st-tile__go {
    right: 32px;
  }
}

/* the one entrance: tiles rise in as the grid scrolls into view (only when a script turned it on) */
.st-feed[data-motion] .st-tile {
  opacity: 0;
  transform: translateY(20px);
}

.st-feed[data-motion] .st-tile.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s var(--st-ease),
    transform 0.7s var(--st-ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.st-feed[data-motion] .st-tile--product.is-in {
  transition:
    opacity 0.7s var(--st-ease),
    transform 0.7s var(--st-ease),
    border-color 0.25s var(--st-ease),
    box-shadow 0.25s var(--st-ease);
  transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s, 0s;
}

/* close */
.st-about__close {
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px);
  text-align: center;
}

.st-about__close .st-wrap {
  display: grid;
  justify-items: center;
  gap: 28px;
}

.st-about__close h2 {
  font-family: var(--st-serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* ==========================================================================
   CONTACT: the office card. The intro reuses .st-about__intro / .st-about__lede
   (same heading and lede as the About page). One silver card in two halves:
   channels on the left (WhatsApp is the one filled action), the office on the right.
   ========================================================================== */
.st-contact__body {
  padding-bottom: clamp(56px, 8vw, 112px);
}

.st-ccard {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--st-silver-200);
  border-radius: var(--st-r-md);
  background: var(--st-silver-50);
}

@media (min-width: 992px) {
  .st-ccard {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    border-radius: var(--st-r-lg);
  }
}

.st-ccard__channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 20px 8px;
}

@media (min-width: 992px) {
  .st-ccard__channels {
    padding: 32px 32px 32px 32px;
  }
}

.st-ccard__wa {
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 12px 18px 12px 30px;
  text-align: left;
}

.st-ccard__wa > span:first-child {
  display: grid;
  gap: 4px;
}

.st-ccard__wa strong {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.st-ccard__wa > span:first-child > span {
  color: var(--st-silver-200);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.st-ccard__wa .st-chan__go {
  background: #fff;
}

.st-chan-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.st-chan-list li + li {
  border-top: 1px solid var(--st-silver-200);
}

.st-chan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  color: var(--st-brand);
  text-decoration: none;
}

.st-chan strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.st-chan span span {
  display: block;
  color: var(--st-ink-2);
  font-size: 16px;
  line-height: 1.4;
}

.st-chan__go {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--st-silver-200);
  border-radius: 50%;
  background: #fff;
  color: var(--st-brand);
  transition:
    background 0.2s var(--st-ease),
    color 0.2s var(--st-ease),
    border-color 0.2s var(--st-ease);
}

.st-chan__go svg {
  width: 20px;
  height: 20px;
}

.st-chan:hover .st-chan__go {
  border-color: var(--st-brand);
  background: var(--st-brand);
  color: #fff;
}

.st-ccard__place {
  display: flex;
  padding: 0 20px 20px;
}

@media (min-width: 992px) {
  .st-ccard__place {
    padding: 24px 24px 24px 0;
  }

  .st-ccard__map {
    min-height: 420px;
  }
}

.st-ccard__map {
  position: relative;
  flex: 1;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--st-r-md);
  background: var(--st-silver-100);
}

.st-ccard__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.st-ccard__office {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--st-silver-200);
}

.st-ccard__address {
  display: grid;
  gap: 4px;
  margin: 0;
  font-style: normal;
}

.st-ccard__address strong {
  color: var(--st-brand);
  font-size: 17px;
  font-weight: 700;
}

.st-ccard__address span {
  max-width: 52ch;
  color: var(--st-ink-2);
  font-size: 16px;
  line-height: 1.55;
}

.st-ccard__routes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Contact: a compact intro (heading and lede on one line, wrapping on small screens) so the card starts in the first viewport */
.st-compact .st-about__intro {
  padding: clamp(20px, 2.5vw, 32px) 0 clamp(16px, 2vw, 24px);
}

.st-compact .st-about__intro .st-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 48px;
}

.st-compact .st-about__intro h1 {
  font-size: clamp(40px, 5vw, 64px);
}

.st-compact .st-about__intro h1 em {
  display: inline;
}

.st-compact .st-about__lede {
  max-width: 56ch;
  margin-top: 0;
}

/* ==========================================================================
   PRODUCT AND SALE LISTS: the spec sheet. One row per product with the same
   columns every time. Packshots multiply into their own rounded tile, so no
   ancestor of an image carries z-index or isolation. Below 1100px a row is a
   compact horizontal card.
   ========================================================================== */
.st-sheet-section {
  padding: 4px 0 clamp(56px, 8vw, 112px);
}

.st-sheet__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}

.st-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.st-chip {
  min-height: 40px;
  padding: 0 18px;
  border: 1.5px solid var(--st-silver-300);
  border-radius: 999px;
  background: var(--st-paper);
  color: var(--st-ink-2);
  font: 600 15px/1 var(--st-sans);
  cursor: pointer;
  transition:
    border-color 0.2s var(--st-ease),
    background 0.2s var(--st-ease),
    color 0.2s var(--st-ease);
}

.st-chip:hover {
  border-color: var(--st-brand);
}

.st-chip[aria-pressed="true"] {
  border-color: var(--st-brand);
  background: var(--st-brand);
  color: #fff;
}

.st-sheet__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.st-search,
.st-select {
  position: relative;
  display: block;
}

.st-search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  color: var(--st-muted);
  pointer-events: none;
}

.st-search input,
.st-select select {
  height: 44px;
  border: 1.5px solid var(--st-silver-300);
  border-radius: 999px;
  background-color: var(--st-paper);
  color: var(--st-brand);
  font: 500 16px/1 var(--st-sans);
}

.st-search input {
  width: 240px;
  max-width: 100%;
  padding: 0 16px 0 42px;
}

.st-search input::placeholder {
  color: var(--st-muted);
}

.st-select select {
  padding: 0 42px 0 18px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a4550' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}

.st-search input:hover,
.st-select select:hover {
  border-color: var(--st-brand);
}

.st-search input:focus-visible,
.st-select select:focus-visible {
  outline: 2px solid var(--st-brand);
  outline-offset: 2px;
}

.st-sheet__count {
  min-height: 24px;
  margin: 22px 0 20px;
  color: var(--st-muted);
  font-size: 15px;
}

.st-sheet__head {
  display: none;
}

.st-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 6px 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--st-silver-200);
}

.st-sheet__head + div > .st-row:first-child {
  border-top: 1px solid var(--st-silver-200);
}

.st-row__img {
  position: relative;
  display: block;
  grid-row: 1 / span 3;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--st-r-sm);
  background: linear-gradient(180deg, var(--st-silver-50), var(--st-silver-100));
}

.st-row__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: scale(1.2);
  filter: brightness(1.03);
  transition: transform 0.5s var(--st-ease);
}

.st-row:hover .st-row__img img {
  transform: scale(1.26);
}

.st-row__name {
  color: var(--st-brand);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.st-row__name:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.st-row__brief {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 4px 0 0;
  color: var(--st-ink-2);
  font-size: 15px;
  line-height: 1.5;
}

.st-row__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  color: var(--st-ink-2);
  font-size: 14px;
}

.st-row__rate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.st-row__none {
  color: var(--st-muted);
}

.st-row__bpom i {
  font-style: normal;
}

.st-row__end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}

.st-row__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
}

.st-row__price strong {
  color: var(--st-brand);
  font-size: 19px;
  font-weight: 700;
}

.st-row__price s {
  color: var(--st-muted);
  font-size: 14px;
}

.st-off {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--st-silver-100);
  color: var(--st-brand);
  font-size: 13px;
  font-weight: 700;
}

.st-row .st-btn--sm {
  padding: 0 16px;
  font-size: 15px;
  white-space: nowrap;
}

/* stars (shared by the lists and the detail page) */
.st-stars {
  display: inline-flex;
  gap: 2px;
}

.st-stars svg {
  width: 16px;
  height: 16px;
}

.st-stars .is-on {
  fill: var(--st-brand);
  stroke: var(--st-brand);
}

.st-stars .is-off {
  fill: none;
  stroke: var(--st-silver-400);
}

.st-row--skel {
  min-height: 130px;
}

.st-row--skel .st-skel {
  min-height: 90px;
  margin: 0;
}

.st-row--skel .st-row__img {
  grid-row: auto;
  animation: st-shimmer 1.6s linear infinite;
  background-size: 200% 100%;
}

/* wide: one line per product, the same columns every time */
@media (min-width: 1100px) {
  .st-sheet__head,
  .st-row {
    display: grid;
    grid-template-columns: 112px minmax(220px, 1fr) 110px 150px 124px 150px 188px;
    gap: 20px;
    align-items: center;
  }

  .st-sheet__head {
    padding: 0 0 12px;
    border-bottom: 1px solid var(--st-silver-300);
    color: var(--st-muted);
    font: 600 13px/1 var(--st-sans);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .st-sheet__head span:first-child {
    grid-column: 1 / span 2;
  }

  .st-sheet__head + div > .st-row:first-child {
    border-top: 0;
  }

  .st-row__img {
    grid-row: auto;
  }

  .st-row__facts,
  .st-row__end {
    display: contents;
  }

  .st-row__cat,
  .st-row__bpom,
  .st-row__rate {
    font-size: 15px;
  }

  /* the column label already says BPOM */
  .st-row__bpom i {
    display: none;
  }

  .st-row__price {
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
  }

  .st-row__buy {
    justify-self: end;
  }
}

@media (max-width: 479px) {
  .st-row {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 6px 14px;
  }

  .st-row__name {
    font-size: 17px;
  }

  .st-search,
  .st-search input {
    width: 100%;
  }

  .st-sheet__tools {
    width: 100%;
  }
}

/* ==========================================================================
   PRODUCT DETAIL: the list row opened. A silver stage with the packshot
   multiplied into it (no ancestor of the image carries z-index or isolation),
   then the same facts as the list in the same order, then reviews as rows.
   ========================================================================== */
.st-pd {
  padding-bottom: clamp(56px, 8vw, 112px);
}

.st-pd__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0 20px;
  font-size: 16px;
}

.st-pd__back svg {
  width: 18px;
  height: 18px;
}

.st-pd__grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 992px) {
  .st-pd__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 56px;
    align-items: start;
  }

  .st-pd__media {
    position: sticky;
    top: 110px;
  }
}

.st-pd__stage {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--st-r-md);
  background: linear-gradient(180deg, var(--st-silver-50), var(--st-silver-200));
}

@media (min-width: 992px) {
  .st-pd__stage {
    border-radius: var(--st-r-lg);
  }
}

.st-pd__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 4%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: brightness(1.03);
}

.st-pd__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.st-pd__thumbs:empty {
  display: none;
}

.st-pd__thumb {
  position: relative;
  width: 72px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  border: 1.5px solid var(--st-silver-200);
  border-radius: var(--st-r-sm);
  background: linear-gradient(180deg, var(--st-silver-50), var(--st-silver-100));
  cursor: pointer;
  transition: border-color 0.2s var(--st-ease);
}

.st-pd__thumb:hover,
.st-pd__thumb[aria-current="true"] {
  border-color: var(--st-brand);
}

.st-pd__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: scale(1.1);
}

.st-pd__title {
  font-family: var(--st-serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.st-pd__rate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 14px;
  color: var(--st-ink-2);
  font-size: 15px;
}

.st-pd__rate a {
  color: var(--st-brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.st-pd__rate .st-stars svg {
  width: 18px;
  height: 18px;
}

.st-pd__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-top: 18px;
}

.st-pd__now {
  color: var(--st-brand);
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.1;
}

.st-pd__price s {
  color: var(--st-muted);
  font-size: 18px;
}

.st-pd__brief {
  max-width: 52ch;
  margin: 20px 0 0;
  color: var(--st-ink-2);
  font-size: 17px;
  line-height: 1.6;
}

.st-pd__facts {
  margin: 22px 0 0;
  border-top: 1px solid var(--st-silver-200);
}

.st-pd__facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--st-silver-200);
}

.st-pd__facts dt {
  color: var(--st-muted);
  font-size: 15px;
  font-weight: 500;
}

.st-pd__facts dd {
  margin: 0;
  color: var(--st-brand);
  font-size: 16px;
  font-weight: 600;
  text-align: right;
}

.st-pd__buy {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.st-pd__buy > div:last-child {
  flex: 1 1 220px;
}

.st-pd__buy .st-btn {
  width: 100%;
}

.st-qty {
  display: inline-flex;
  align-items: center;
  height: 52px;
  border: 1.5px solid var(--st-silver-300);
  border-radius: 999px;
  background: var(--st-paper);
}

.st-qty button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--st-brand);
  cursor: pointer;
}

.st-qty button svg {
  width: 18px;
  height: 18px;
}

.st-qty button:hover {
  color: var(--st-brand-deep);
}

.st-qty input {
  width: 48px;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--st-brand);
  font: 700 17px/1 var(--st-sans);
  text-align: center;
  -moz-appearance: textfield;
}

.st-qty input::-webkit-outer-spin-button,
.st-qty input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.st-pd__share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--st-silver-200);
  border-bottom: 1px solid var(--st-silver-200);
}

.st-pd__share > div {
  display: grid;
  gap: 2px;
}

.st-pd__share strong {
  font-size: 16px;
}

.st-pd__share span {
  color: var(--st-ink-2);
  font-size: 15px;
}

.st-pd__more {
  border-bottom: 1px solid var(--st-silver-200);
}

.st-pd__more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  color: var(--st-brand);
  font-size: 18px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.st-pd__more summary::-webkit-details-marker {
  display: none;
}

.st-pd__more summary::after {
  content: "";
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a4550' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: transform 0.25s var(--st-ease);
}

.st-pd__more[open] summary::after {
  transform: rotate(180deg);
}

.st-pd__prose {
  padding: 0 0 20px;
  color: var(--st-ink-2);
  font-size: 16px;
  line-height: 1.7;
}

.st-pd__prose p,
.st-pd__prose ul,
.st-pd__prose ol {
  margin: 0 0 12px;
}

.st-pd__prose ul,
.st-pd__prose ol {
  padding-left: 22px;
}

.st-pd__facts--plain {
  margin: 0 0 12px;
  border-top: 0;
}

/* reviews */
.st-pd__reviews {
  margin-top: clamp(48px, 7vw, 96px);
  max-width: 820px;
}

.st-pd__reviews h2 {
  font-family: var(--st-serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.st-review {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--st-silver-200);
}

.st-pd__reviews h2 + div {
  margin-top: 16px;
  border-top: 1px solid var(--st-silver-200);
}

.st-review__av {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--st-silver-100);
  color: var(--st-brand);
  font: 700 17px/1 var(--st-sans);
  object-fit: cover;
}

.st-review__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}

.st-review__top strong {
  color: var(--st-brand);
  font-size: 17px;
}

.st-review__date {
  color: var(--st-muted);
  font-size: 14px;
}

.st-review p {
  margin: 6px 0 0;
  color: var(--st-ink-2);
  font-size: 16px;
  line-height: 1.6;
}

.st-review__photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  cursor: pointer;
}

.st-review__photos img {
  width: 72px;
  height: 72px;
  border-radius: var(--st-r-sm);
  object-fit: cover;
}

@media (max-width: 479px) {
  .st-pd__share {
    flex-wrap: wrap;
  }
}
