/* Marigold — Shopify theme by Code Craft. Colours, fonts and sizes come from
   theme settings via the CSS variables in snippets/css-variables.liquid. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: var(--font-body-weight);
  font-style: var(--font-body-style);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
header-bar, cart-drawer, search-modal, announce-rotator, product-page, product-recommendations, facet-filters, look-book { display: block; }
:focus-visible { outline: 2px solid var(--color-text); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--color-text); color: var(--color-bg); padding: .6rem 1rem; }
.skip-link:focus { left: 8px; }

.page-width { width: 100%; max-width: var(--page-width); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem); }
.page-width--narrow { max-width: 820px; }
.page-width--auth { max-width: 480px; }
.center { text-align: center; }
.center .btn, .center .newsletter { margin-inline: auto; }

/* ---------- type ---------- */
.display, .h1, .h2, .h3, .product__title, .header__wordmark {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-style: var(--font-heading-style);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.display { font-size: calc(clamp(2.6rem, 6vw, 5.2rem) * var(--heading-scale)); }
.h1 { font-size: calc(clamp(2rem, 4vw, 3.2rem) * var(--heading-scale)); margin-bottom: 1rem; }
.h2 { font-size: calc(clamp(1.6rem, 3vw, 2.4rem) * var(--heading-scale)); }
.h3 { font-size: calc(1.3rem * var(--heading-scale)); margin-bottom: .75rem; }
.eyebrow { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: .6rem; }
.rte > * + * { margin-top: 1em; }
.rte a { text-decoration: underline; text-underline-offset: 3px; }
.rte img { border-radius: var(--radius); }

/* ---------- buttons & controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.1rem; padding: .8rem 1.8rem;
  background: var(--color-accent); color: var(--color-accent-text);
  border: 1px solid var(--color-accent); border-radius: var(--radius);
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  white-space: nowrap;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}
.btn:hover { opacity: .9; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { background: transparent; color: var(--color-text); border-color: var(--color-text); }
.btn--small { min-height: 2.5rem; padding: .5rem 1.1rem; font-size: .74rem; }
.btn--block { width: 100%; }
.link-under { text-decoration: underline; text-underline-offset: 4px; font-size: .9rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; position: relative; }
.icon-btn:hover { background: var(--color-bg-alt); }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border: 1px solid var(--color-border); border-radius: 999px; font-size: .82rem; }
.chip .icon { width: 12px; height: 12px; }

input[type="email"], input[type="text"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; padding: .8rem 1rem; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--color-text); }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; font-size: .9rem; }
.form__row { display: grid; gap: 0 1rem; grid-template-columns: 1fr 1fr; }
.form-success { color: #2E6B3F; margin: .5rem 0; }
.form-error { color: var(--color-sale); margin: .5rem 0; font-size: .9rem; }
.check { display: flex; align-items: center; gap: .55rem; font-size: .92rem; cursor: pointer; }
.check input { width: 1.05rem; height: 1.05rem; accent-color: var(--color-text); }
.check.is-disabled { opacity: .45; }
.check__count { color: var(--color-text-muted); font-size: .8rem; }

/* ---------- announcement ---------- */
.announce { background: var(--announce-bg); color: var(--announce-fg); text-align: center; font-size: .78rem; letter-spacing: .08em; }
.announce__track { display: grid; min-height: 2.4rem; place-items: center; }
.announce__msg { grid-area: 1 / 1; padding: .55rem 1rem; opacity: 0; transition: opacity .5s ease; }
.announce__msg.is-active { opacity: 1; }
.announce a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.header { position: relative; z-index: 30; background: var(--color-bg); border-bottom: 1px solid var(--color-border); }
.header--sticky { position: sticky; top: 0; }
.header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; min-height: 4.6rem; }
.header__logo { display: flex; align-items: center; }
.header__wordmark { font-size: 1.7rem; letter-spacing: .02em; }
.header__nav { justify-self: center; }
.header--center .header__inner { grid-template-columns: 1fr auto 1fr; }
.header--center .header__logo { grid-column: 2; justify-content: center; }
.header--center .header__nav { grid-column: 1 / -1; grid-row: 2; padding-bottom: .5rem; }
.header--center .header__icons { grid-column: 3; grid-row: 1; }
.nav { display: flex; gap: 2rem; }
.nav__link { display: inline-flex; align-items: center; gap: .3rem; padding: 1.6rem 0; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1.2rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__item:hover .nav__link::after, .nav__link[aria-current]::after { transform: scaleX(1); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--color-bg); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); box-shadow: 0 20px 40px rgba(0,0,0,.06); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .22s ease; }
.nav__item--parent:hover .mega, .nav__item--parent:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: flex; gap: 3rem; padding-top: 2rem; padding-bottom: 2.4rem; }
.mega__col { min-width: 150px; }
.mega__heading { display: block; font-weight: 600; margin-bottom: .7rem; }
.mega__col li a { display: block; padding: .25rem 0; color: var(--color-text-muted); }
.mega__col li a:hover { color: var(--color-text); }
.mega__promo { margin-left: auto; width: 280px; position: relative; border-radius: var(--radius); overflow: hidden; }
.mega__promo span { position: absolute; left: 1rem; bottom: 1rem; color: #fff; font-family: var(--font-heading); font-size: 1.4rem; }
.mega__img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.header__icons { display: flex; align-items: center; gap: .2rem; justify-self: end; }
.header__count { position: absolute; top: .15rem; right: .1rem; min-width: 1.15rem; height: 1.15rem; padding: 0 .25rem; border-radius: 999px; background: var(--color-accent); color: var(--color-accent-text); font-size: .68rem; display: grid; place-items: center; }
.menu-drawer { display: none; }
.menu-drawer > summary { list-style: none; }
.menu-drawer > summary::-webkit-details-marker { display: none; }
.menu-drawer__panel { position: fixed; inset: 0 auto 0 0; width: min(88vw, 380px); background: var(--color-bg); z-index: 60; padding: 1rem 1.25rem 2rem; overflow-y: auto; box-shadow: 0 0 0 100vmax rgba(20,15,12,.4); }
.menu-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.menu-drawer__title { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.menu-drawer__list > li { border-bottom: 1px solid var(--color-border); }
.menu-drawer__list a, .menu-drawer__list summary { display: flex; justify-content: space-between; align-items: center; padding: .95rem 0; font-size: 1.15rem; font-family: var(--font-heading); cursor: pointer; list-style: none; }
.menu-drawer__list ul { padding: 0 0 .8rem .8rem; }
.menu-drawer__list ul a { font-family: var(--font-body); font-size: 1rem; padding: .45rem 0; }
.menu-drawer__account { display: flex; align-items: center; gap: .6rem; margin-top: 1.5rem; }

.search-modal { position: fixed; inset: 0; z-index: 70; }
.search-modal__overlay { position: absolute; inset: 0; background: rgba(20,15,12,.45); }
.search-modal__panel { position: relative; background: var(--color-bg); padding-top: 1.2rem; padding-bottom: 1.5rem; max-width: none; }
.search-modal__form { display: flex; align-items: center; gap: .8rem; max-width: 860px; margin: 0 auto; border-bottom: 1px solid var(--color-text); }
.search-modal__form input { border: 0; padding: 1rem 0; font-size: 1.3rem; background: transparent; }
.search-modal__results { max-width: 860px; margin: 1.2rem auto 0; }
.predictive__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .5rem 1.5rem; margin-bottom: 1.2rem; }
.predictive__item { display: flex; gap: .8rem; align-items: center; padding: .4rem; border-radius: var(--radius); }
.predictive__item:hover { background: var(--color-bg-alt); }
.predictive__item img { width: 56px; height: 70px; object-fit: cover; border-radius: var(--radius); }
.predictive__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }

/* ---------- sections ---------- */
.section { padding-top: 0; padding-bottom: clamp(3rem, 6vw, 5rem); }
.section--tinted,
main > .shopify-section:first-child > .section,
main > .shopify-section:first-child > .page-width.section,
.section-hero + .shopify-section > .section,
.section-marquee + .shopify-section > .section,
.section--tinted + .shopify-section > .section,
.shopify-section > .section.product { padding-top: clamp(2.5rem, 5vw, 4rem); }
.section.section--tight { padding-top: 2.6rem; padding-bottom: 2.6rem; }
.section--tinted { background: var(--color-bg-alt); }
.collection { display: block; padding-bottom: clamp(3rem, 6vw, 5rem); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }

.hero { position: relative; display: grid; color: #fff; overflow: hidden; }
.hero--small { min-height: 44vh; }
.hero--medium { min-height: 62vh; }
.hero--large { min-height: 82vh; }
.hero--full { min-height: 100svh; }
.hero__media, .hero__content { grid-area: 1 / 1; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,calc(var(--overlay) + .25))), rgba(0,0,0,var(--overlay)); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 14s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__content { position: relative; z-index: 1; display: flex; align-items: flex-end; padding-bottom: clamp(2.5rem, 7vw, 5.5rem); }
.hero--center .hero__content { align-items: center; justify-content: center; text-align: center; }
.hero__box { max-width: 640px; }
.hero .eyebrow { color: rgba(255,255,255,.85); }
.hero__text { font-size: 1.12rem; margin: 1rem 0 1.8rem; opacity: .92; }
.hero__btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero--center .hero__btns { justify-content: center; }
.hero .btn:not(.btn--ghost) { background: #fff; color: #1F1A17; border-color: #fff; }

.marquee { background: var(--marquee-bg); color: var(--marquee-fg); overflow: hidden; padding: .9rem 0; }
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-speed) linear infinite; }
.marquee__group { display: flex; align-items: center; }
.marquee__item { font-family: var(--font-heading); font-size: 1.35rem; padding: 0 1.4rem; white-space: nowrap; }
.marquee__dot { font-size: 1rem; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

.grid { display: grid; gap: 2rem 1.25rem; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }

/* product card */
.card { position: relative; display: flex; flex-direction: column; height: 100%; }
.card__media { position: relative; display: block; aspect-ratio: var(--card-ratio); overflow: hidden; border-radius: var(--radius); background: var(--color-bg-alt); }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease, transform .9s ease; }
.card__img--alt { opacity: 0; }
.card:hover .card__img--alt { opacity: 1; }
.card:hover .card__img { transform: scale(1.03); }
.card__badges { position: absolute; top: .7rem; left: .7rem; display: flex; gap: .4rem; z-index: 1; }
.badge { display: inline-block; padding: .25rem .6rem; border-radius: 999px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; background: var(--color-bg); }
.badge--sale { background: var(--color-sale); color: #fff; }
.badge--muted { background: var(--color-text); color: var(--color-bg); }
.card__top { position: relative; }
.card__quick-btn { position: absolute; right: .7rem; bottom: .7rem; z-index: 2; display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem; border-radius: 999px; background: var(--color-bg); font-size: .76rem; font-weight: 600; letter-spacing: .06em; box-shadow: 0 6px 18px rgba(0,0,0,.1); opacity: 0; transform: translateY(6px); transition: all .25s; }
.card:hover .card__quick-btn, .card:focus-within .card__quick-btn { opacity: 1; transform: none; }
.card__info { padding-top: .9rem; display: grid; gap: .25rem; }
.card__vendor { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-muted); }
.card__title { font-family: var(--font-body); font-size: .98rem; font-weight: 500; line-height: 1.35; }
.card__swatches { display: flex; gap: .35rem; margin-top: .35rem; align-items: center; }
.swatch { display: inline-block; flex: none; width: .95rem; height: .95rem; border-radius: 50%; background: var(--swatch, #ccc); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.swatch--large { width: 1.7rem; height: 1.7rem; }
.swatch-more { font-size: .75rem; color: var(--color-text-muted); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .55rem; font-size: .95rem; }
.price--sale .price__now { color: var(--color-sale); }
.price__was { color: var(--color-text-muted); font-size: .88em; }
.price__unit { width: 100%; font-size: .78rem; color: var(--color-text-muted); }
.price--large { font-size: 1.35rem; }

/* collection tiles */
.tile { display: block; position: relative; border-radius: var(--radius); overflow: hidden; }
.tile__media { display: block; aspect-ratio: 3 / 4; background: var(--color-bg-alt); }
.tile__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.tile:hover .tile__img { transform: scale(1.05); }
.tile__label { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; justify-content: space-between; align-items: center; padding: .9rem 1.1rem; background: var(--color-bg); border-radius: var(--radius); font-family: var(--font-heading); font-size: 1.25rem; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split__content { display: grid; gap: 1.2rem; justify-items: start; max-width: 520px; }

/* lookbook */
.lookbook { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; align-items: center; }
.lookbook__media { position: relative; border-radius: var(--radius); overflow: hidden; }
.lookbook__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hotspot { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 2.2rem; height: 2.2rem; border-radius: 50%; background: #fff; color: #1F1A17; font-size: .8rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(255,255,255,.35); transition: transform .2s; }
.hotspot.is-active, .hotspot:hover { transform: translate(-50%, -50%) scale(1.15); background: var(--color-accent); color: var(--color-accent-text); }
.lookbook__list { display: grid; gap: .8rem; }
.lookbook__item { display: flex; gap: 1rem; align-items: center; padding: .8rem; border: 1px solid var(--color-border); border-radius: var(--radius); transition: border-color .2s, background .2s; }
.lookbook__item.is-active { border-color: var(--color-text); background: var(--color-bg-alt); }
.lookbook__num { width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-size: .75rem; flex: none; }
.lookbook__thumb img { width: 64px; height: 80px; object-fit: cover; border-radius: var(--radius); }
.lookbook__title { display: block; font-weight: 500; }

/* features */
.features { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 1.5rem; }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .icon { flex: none; }
.feature__title { font-weight: 600; font-size: .98rem; }
.feature__text { font-size: .88rem; color: var(--color-text-muted); }

.rich-text { display: grid; gap: 1.2rem; max-width: 760px; margin: 0 auto; }
.rich-text--center { text-align: center; justify-items: center; }
.rich-text--right { text-align: right; justify-items: end; }

.newsletter { display: flex; gap: .6rem; max-width: 460px; margin-top: 1rem; flex-wrap: wrap; }
.newsletter input { flex: 1 1 220px; }
.newsletter--large { margin: 1.4rem auto 0; }
.newsletter-block { text-align: center; display: grid; gap: .8rem; justify-items: center; }

/* footer */
.footer { background: var(--color-bg-alt); padding-top: 4rem; margin-top: 0; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.6fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__heading { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 600; }
.footer__links li { padding: .22rem 0; }
.footer__links a { color: var(--color-text-muted); }
.footer__links a:hover { color: var(--color-text); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.5rem; padding-bottom: 1.8rem; border-top: 1px solid var(--color-border); font-size: .8rem; color: var(--color-text-muted); }
.footer__social { display: flex; gap: .9rem; }
.footer__pay { display: flex; gap: .4rem; }
.pay-icon { width: 38px; height: 24px; }

/* product page */
.product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); padding-top: 2rem; }
.product__gallery--stack .product__media-list { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.product__gallery--stack .product__media:first-child,
.product__gallery--stack .product__media:nth-child(even):last-child { grid-column: 1 / -1; }
.product__gallery--stack .product__thumbs { display: none; }
.product__gallery--carousel .product__media { display: none; }
.product__gallery--carousel .product__media.is-active, .product__gallery--carousel .product__media-list:not(:has(.is-active)) .product__media:first-child { display: block; }
.product__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--color-bg-alt); }
.product__video, .product__model { width: 100%; aspect-ratio: 1; border-radius: var(--radius); }
.product__thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; }
.product__thumb { border-radius: var(--radius); overflow: hidden; opacity: .55; border: 1px solid transparent; }
.product__thumb.is-active { opacity: 1; border-color: var(--color-text); }
.product__thumb img { width: 72px; height: 90px; object-fit: cover; }
.product__sticky { position: sticky; top: 6.5rem; display: grid; gap: 1.4rem; }
.product__title { font-size: calc(clamp(1.8rem, 3vw, 2.6rem) * var(--heading-scale)); }
.product__tax { font-size: .82rem; color: var(--color-text-muted); margin-top: .3rem; }
.product__tax a { text-decoration: underline; }
.variants { display: grid; gap: 1.2rem; }
.variants__set { border: 0; padding: 0; margin: 0; }
.variants__set legend { font-size: .85rem; margin-bottom: .6rem; }
.variants__set legend span { color: var(--color-text-muted); }
.variants__values { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { min-width: 3rem; padding: .6rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius); text-align: center; font-size: .88rem; cursor: pointer; transition: border-color .15s, background .15s; }
.pill:hover { border-color: var(--color-text); }
input:checked + .pill { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
input:focus-visible + .pill { outline: 2px solid var(--color-text); outline-offset: 2px; }
.pill.is-unavailable { text-decoration: line-through; opacity: .5; }
.pill--swatch { min-width: 0; padding: .25rem; border-radius: 50%; }
input:checked + .pill--swatch { background: transparent; box-shadow: 0 0 0 1px var(--color-text); }
.size-chart summary { cursor: pointer; display: inline-block; }
.size-chart .rte { margin-top: .8rem; font-size: .88rem; }
.size-chart table { width: 100%; border-collapse: collapse; }
.size-chart td, .size-chart th { border-bottom: 1px solid var(--color-border); padding: .4rem; text-align: left; }
.buy__row { display: flex; gap: .6rem; }
.buy__add { flex: 1; }
.buy .shopify-payment-button { margin-top: .6rem; }
.buy .shopify-payment-button__button { border-radius: var(--radius); min-height: 3.1rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius); }
.qty__btn { width: 2.4rem; height: 2.6rem; display: grid; place-items: center; }
.qty__val { min-width: 1.6rem; text-align: center; font-size: .9rem; }
.qty__input { width: 3rem; border: 0 !important; text-align: center; padding: .6rem 0 !important; -moz-appearance: textfield; background: transparent !important; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input--boxed { width: 4.5rem; border: 1px solid var(--color-border) !important; border-radius: var(--radius); }
.stock { font-size: .85rem; display: flex; align-items: center; gap: .5rem; margin-top: .8rem; }
.stock::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #3E8E5A; }
.stock--low::before { background: #D88A1E; }
.accordion { border-top: 1px solid var(--color-border); }
.accordion:last-of-type { border-bottom: 1px solid var(--color-border); }
.accordion summary { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; cursor: pointer; list-style: none; font-weight: 500; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion[open] summary .icon { transform: rotate(45deg); }
.accordion summary .icon { transition: transform .2s; }
.accordion__body { padding-bottom: 1.1rem; font-size: .93rem; color: var(--color-text-muted); }
.share { display: flex; align-items: center; gap: .8rem; font-size: .85rem; }
.sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--color-bg); border-top: 1px solid var(--color-border); box-shadow: 0 -10px 30px rgba(0,0,0,.06); transform: translateY(100%); transition: transform .3s ease; }
.sticky-atc.is-visible { transform: none; }
.sticky-atc__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .7rem; padding-bottom: .7rem; }
.sticky-atc__info { display: grid; font-size: .9rem; }

/* collection page */
.collection-hero { padding-top: 3rem; padding-bottom: 2rem; }
.collection-hero__desc { max-width: 640px; color: var(--color-text-muted); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); margin-bottom: 1.5rem; position: relative; }
.toolbar__count { font-size: .88rem; color: var(--color-text-muted); }
.toolbar__sort { display: flex; align-items: center; gap: .6rem; font-size: .88rem; }
.toolbar__sort select { width: auto; padding: .5rem 2rem .5rem .8rem; }
.filters-drawer > summary { list-style: none; }
.filters-drawer > summary::-webkit-details-marker { display: none; }
.filters-drawer__panel { position: absolute; z-index: 20; top: calc(100% + .5rem); left: 0; width: min(92vw, 360px); max-height: 70vh; overflow-y: auto; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius); padding: .4rem 1.2rem 1.2rem; box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.filter-list { display: grid; gap: .5rem; }
.price-range { display: flex; align-items: center; gap: .6rem; }
.filters-drawer__actions { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; }
.active-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.active-filters:empty { display: none; }
.empty { padding: 3rem 0; text-align: center; display: grid; gap: 1rem; justify-items: center; }
.pagination ul { display: flex; justify-content: center; gap: .4rem; margin-top: 3rem; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 2.5rem; height: 2.5rem; border-radius: var(--radius); }
.pagination a:hover { background: var(--color-bg-alt); }
.pagination [aria-current] { background: var(--color-text); color: var(--color-bg); }

/* cart */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(20,15,12,.45); opacity: 0; transition: opacity .3s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100vw, 440px); background: var(--color-bg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--color-border); }
.drawer__title { font-family: var(--font-heading); font-size: 1.4rem; font-weight: var(--font-heading-weight); }
.drawer__count { font-size: .9rem; color: var(--color-text-muted); }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 1.4rem; }
.drawer__empty { display: grid; gap: 1rem; justify-items: center; padding: 3rem 0; }
.drawer__foot { padding: 1.2rem 1.4rem 1.5rem; border-top: 1px solid var(--color-border); display: grid; gap: .7rem; text-align: center; }
.drawer__total { display: flex; justify-content: space-between; font-size: 1.05rem; }
.drawer__note { font-size: .8rem; color: var(--color-text-muted); }
.ship-bar { padding: .9rem 1.4rem; background: var(--color-bg-alt); font-size: .85rem; }
.ship-bar__track { height: 4px; border-radius: 4px; background: var(--color-border); margin-top: .5rem; overflow: hidden; }
.ship-bar__track span { display: block; height: 100%; background: var(--color-text); transition: width .4s; }
.line-items { display: grid; }
.line-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--color-border); align-items: start; }
.line-item__media img { width: 84px; height: 105px; object-fit: cover; border-radius: var(--radius); }
.line-item__info { display: grid; gap: .3rem; justify-items: start; }
.line-item__title { font-weight: 500; }
.line-item__variant { font-size: .82rem; color: var(--color-text-muted); }
.line-item__price { font-size: .92rem; }
.line-item__remove { font-size: .78rem; text-decoration: underline; color: var(--color-text-muted); }
.drawer.is-loading .drawer__body { opacity: .5; pointer-events: none; }
.cart-page__grid { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-muted); font-weight: 500; padding-bottom: .8rem; border-bottom: 1px solid var(--color-border); }
.cart-table td { padding: 1.2rem 0; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.cart-table__right { text-align: right !important; }
.cart-table__product { display: flex; gap: 1rem; }
.cart-table__product img { width: 96px; height: 120px; object-fit: cover; border-radius: var(--radius); }
.cart-summary { display: grid; gap: .8rem; background: var(--color-bg-alt); padding: 1.6rem; border-radius: var(--radius); }
.cart-summary__label { font-size: .85rem; }
.cart-summary__row { display: flex; justify-content: space-between; }
.cart-summary__total { font-size: 1.1rem; }

/* blog, search, account */
.article-card { display: grid; gap: .5rem; }
.article-card__media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--color-bg-alt); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.article-card__title { font-family: var(--font-heading); font-size: 1.35rem; font-weight: var(--font-heading-weight); }
.article-card__excerpt { font-size: .92rem; color: var(--color-text-muted); }
.article__media { margin: 1.5rem 0 2rem; }
.article__media img { border-radius: var(--radius); }
.comments { margin-top: 3rem; display: grid; gap: 1.5rem; }
.comment { padding-bottom: 1.2rem; border-bottom: 1px solid var(--color-border); }
.search-page__form { display: flex; gap: .6rem; max-width: 640px; margin-bottom: 1.5rem; }
.result { display: grid; gap: .3rem; padding: 1.2rem; border: 1px solid var(--color-border); border-radius: var(--radius); height: 100%; }
.account-head { display: flex; justify-content: space-between; align-items: baseline; }
.account-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; margin-top: 2rem; }
.address-card { padding: 1.2rem 0; border-bottom: 1px solid var(--color-border); display: grid; gap: .5rem; justify-items: start; }
.auth-recover { display: none; }
.auth-recover:target { display: block; }
.auth-recover:target + .auth-login { display: none; }
.password { min-height: 100svh; display: grid; place-content: center; gap: 1rem; }
.password__login { margin-top: 1.5rem; }
.gift-card__value { font-family: var(--font-heading); font-size: 3rem; margin: 1rem 0; }
.gift-card__code code { font-size: 1.3rem; letter-spacing: .1em; padding: .6rem 1rem; border: 1px dashed var(--color-text); border-radius: var(--radius); }
.placeholder { background: var(--color-bg-alt); fill: var(--color-text-muted); width: 100%; height: 100%; }

/* ---------- responsive ---------- */
@media (max-width: 989px) {
  .header__nav { display: none; }
  .menu-drawer { display: block; }
  .header__inner { grid-template-columns: auto 1fr auto; gap: .5rem; min-height: 3.8rem; }
  .header--center .header__inner { grid-template-columns: auto 1fr auto; }
  .header__logo, .header--center .header__logo { grid-column: 2; justify-content: center; }
  .header--center .header__icons { grid-column: 3; }
  .header__account { display: none; }
  .grid { --cols: 2 !important; gap: 1.6rem .8rem; }
  .grid--collections, .grid--articles { --cols: 1 !important; }
  .grid--scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .grid--scroll > li { flex: 0 0 64%; scroll-snap-align: start; }
  .split, .lookbook, .product, .cart-page__grid, .account-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .features { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .product__gallery--stack .product__media-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .5rem; scrollbar-width: none; }
  .product__gallery--stack .product__media { flex: 0 0 88%; scroll-snap-align: start; }
  .product__sticky { position: static; }
  .card__quick-btn { opacity: 1; transform: none; padding: .5rem; }
  .card__quick-btn span { display: none; }
  .buy__add { padding-inline: 1rem; letter-spacing: .08em; }
  .tile__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 599px) {
  .features, .footer__top, .form__row { grid-template-columns: 1fr; }
  .toolbar__count { display: none; }
  .cart-table thead { display: none; }
  .hero--large { min-height: 72vh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
