/* Maison theme for YouCan, built for Sector 7
   Colors, fonts and sizes come from Theme settings (CSS variables are set in layout/theme.liquid).
   Logical properties (inline-start/end) are used so Arabic (RTL) works without changes. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--base-size);
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; border-radius: 0; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.01em; margin: 0; font-weight: 500; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--highlight); outline-offset: 3px; }

.sr-only { position: absolute; 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; inset-inline-start: 8px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: var(--page-width); margin-inline: auto; padding-inline: clamp(20px, 3.4vw, 48px); }
.container-narrow { max-width: 780px; }
.section { padding-block: clamp(56px, 8vw, 120px); }
.section-soft { background: var(--surface); }
.brand-svg { display: block; line-height: 0; }
.brand-svg svg { width: 100%; height: auto; overflow: visible; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; min-height: 50px;
  font-family: var(--font-body); font-weight: 500; font-size: .95rem; letter-spacing: .05em;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ink:hover { background: var(--accent); border-color: var(--accent); }
.btn-accent, .btn-highlight { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-accent:hover, .btn-highlight:hover { background: var(--accent); border-color: var(--accent); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--highlight); border-color: var(--highlight); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-lg { min-height: 58px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-grow { flex: 1; }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); font-size: .9rem; }
.link-btn:hover { color: var(--ink); }
.text-link { display: inline-block; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-weight: 500; letter-spacing: .04em; transition: color .2s, border-color .2s; }
.text-link:hover { color: var(--highlight); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-weight: 500; font-size: .95rem; }
.link-arrow:hover { color: var(--highlight); }
.link-arrow .icon { width: 16px; height: 16px; }
[dir="rtl"] .link-arrow .icon { transform: scaleX(-1); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; border-radius: 50%; color: inherit; transition: background-color .2s; }
.icon-btn:hover { background: rgba(127,127,127,.16); }

/* ---------- Announcement bar ---------- */
.announce { background: var(--ink); color: #fff; font-size: .82rem; letter-spacing: .06em; }
.announce-inner { display: grid; min-height: 40px; align-items: center; text-align: center; }
.announce-msg { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s; padding-block: 8px; }
.announce-msg.is-active { opacity: 1; visibility: visible; }
.announce-msg a { border-bottom: 1px solid rgba(255,255,255,.5); }

/* ---------- Header: centered logo, transparent over the hero ---------- */
.header { position: relative; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); z-index: 60; transition: background-color .3s, color .3s, border-color .3s; }
.header.is-sticky { position: sticky; top: 0; }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 78px; gap: 16px; }
.header-start { display: flex; align-items: center; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.brand { display: inline-flex; align-items: center; justify-content: center; }
.brand-img { height: auto; max-height: 52px; object-fit: contain; }
.brand-name { font-family: var(--font-head); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.01em; }
.menu-btn { display: none; }
.nav-list { display: flex; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a { display: block; padding: 10px 14px; font-size: .95rem; font-weight: 500; letter-spacing: .03em; position: relative; }
.nav-item > a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
[dir="rtl"] .nav-item > a::after { transform-origin: right; }
.nav-item:hover > a::after, .nav-item:focus-within > a::after { transform: scaleX(1); }
.nav-sub { position: absolute; inset-inline-start: 0; top: 100%; min-width: 230px; background: #fff; color: var(--ink); border: 1px solid var(--line); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 5; }
.nav-item.has-sub:hover .nav-sub, .nav-item.has-sub:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub a { display: block; padding: 10px 14px; }
.nav-sub a:hover { background: var(--surface); }
.cart-count { position: absolute; top: 5px; inset-inline-end: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--highlight); color: #fff; font-size: .68rem; font-weight: 600; line-height: 17px; text-align: center; }
.search-bar { border-top: 1px solid var(--line); background: #fff; color: var(--ink); }
.search-form, .search-page-form { display: flex; gap: 8px; padding-block: 16px; }
.search-page-form { padding-inline: 0; margin-top: 20px; max-width: 560px; }
.search-form input, .search-page-form input { flex: 1; min-height: 50px; padding: 0 16px; border: 1px solid var(--line); background: #fff; }
.search-form input:focus, .search-page-form input:focus { border-color: var(--ink); outline: none; }

/* Over the hero: transparent with white text, turns solid after a little scrolling */
body:has(.hero) .header:not(.is-scrolled) { position: absolute; top: auto; inset-inline: 0; background: transparent; color: #fff; border-color: rgba(255,255,255,.22); }
body:has(.hero) .header.is-sticky.is-scrolled { position: fixed; top: 0; inset-inline: 0; box-shadow: 0 1px 0 var(--line); }
body:has(.hero) .header:not(.is-scrolled) .brand-img { filter: brightness(0) invert(1); }

.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(19,18,20,.55); }
.drawer-panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(88vw, 380px); background: #fff; color: var(--ink); padding: 12px 24px 32px; overflow-y: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.drawer-list > li > a { display: block; padding: 16px 0; font-family: var(--font-head); font-size: 1.4rem; border-bottom: 1px solid var(--line); }
.drawer-list ul a { display: block; padding: 11px 16px; color: var(--muted); }

/* ---------- Hero: the one bold moment ---------- */
.hero { position: relative; background: var(--panel); color: #fff; overflow: hidden; }
.hero-stage { display: grid; }
.hero-slide { grid-area: 1 / 1; position: relative; display: flex; align-items: flex-end; min-height: clamp(620px, 94svh, 1020px); opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide.is-active .hero-bg { animation: hero-settle 14s ease-out both; }
@keyframes hero-settle { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(14,12,14,.78) 0%, rgba(14,12,14,.12) 52%, rgba(14,12,14,.38) 100%); }
.hero-slide.no-image { background: radial-gradient(110% 90% at 88% 8%, #3b1722 0%, var(--panel) 62%); }
.hero-slide.no-image::before {
  content: ""; position: absolute; inset-inline-end: -4vw; top: 50%; width: min(52vw, 760px); aspect-ratio: 1; transform: translateY(-46%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpolygon points='100,10 121.75,70.07 185.59,72.19 135.19,111.43 152.9,172.81 100,137 47.1,172.81 64.81,111.43 14.41,72.19 78.25,70.07' fill='none' stroke='%23B08D57' stroke-opacity='.55' stroke-width='.9'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hero-inner { position: relative; z-index: 1; padding-block: 0 clamp(64px, 9vw, 128px); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero-title { font-size: clamp(3rem, 9vw, 8.6rem); font-weight: 500; line-height: .94; letter-spacing: -0.03em; max-width: 11ch; text-wrap: balance; }
.hero-text { max-width: 42ch; font-size: 1.12rem; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.hero-nav { position: absolute; inset-inline: 0; bottom: 30px; z-index: 2; pointer-events: none; }
.hero-nav-row { display: flex; justify-content: flex-end; }
.hero-dots { display: flex; gap: 10px; }
.hero-dot { pointer-events: auto; width: 40px; height: 14px; padding: 0; border: 0; background: none; position: relative; }
.hero-dot::before { content: ""; position: absolute; inset-inline: 0; top: 6px; height: 2px; background: rgba(255,255,255,.4); transition: background .3s; }
.hero-dot.is-active::before { background: var(--highlight); }

/* ---------- Trust bar ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 26px 16px; text-align: start; }
.trust-item + .trust-item { border-inline-start: 1px solid var(--line); }
.trust-icon { flex: none; display: inline-grid; color: var(--highlight); }
.trust-icon .icon { width: 26px; height: 26px; stroke-width: 1.4; }
.trust-title { font-weight: 500; font-size: .95rem; letter-spacing: .02em; }
.trust-text { font-size: .85rem; color: var(--muted); }

/* ---------- Statement ---------- */
.statement { padding-block: clamp(80px, 12vw, 176px); text-align: center; }
.statement-text { font-family: var(--font-head); font-size: clamp(1.7rem, 3.8vw, 3.3rem); line-height: 1.22; letter-spacing: -0.015em; max-width: 26ch; margin-inline: auto; text-wrap: balance; }
.statement .text-link { margin-top: 40px; }

/* ---------- Section headings ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-title { font-size: clamp(1.9rem, 3.6vw, 3rem); text-wrap: balance; }
.page-head { margin-bottom: clamp(32px, 5vw, 56px); }
.page-title { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.page-lead { margin-top: 14px; max-width: 64ch; color: var(--muted); }
.page-meta { margin-top: 8px; color: var(--muted); }

/* ---------- Product cards ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(36px, 4vw, 64px) clamp(12px, 1.6vw, 24px); }
.pcard-media { position: relative; display: block; aspect-ratio: var(--card-ratio); background: var(--surface); overflow: hidden; }
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard-alt { opacity: 0; transition: opacity .6s ease; }
@media (hover: hover) { .pcard:hover .pcard-alt { opacity: 1; } }
.pcard-info { display: grid; gap: 2px; padding-top: 16px; }
.pcard-name { font-family: var(--font-body); font-weight: 500; font-size: .98rem; letter-spacing: .01em; line-height: 1.4; }
.pcard-name a:hover { color: var(--accent); }
.price { display: inline-flex; align-items: baseline; gap: 10px; }
.price-now { font-variant-numeric: tabular-nums; color: var(--muted); }
.price-now.is-sale { color: var(--sale); font-weight: 500; }
.price-was { color: var(--muted); font-size: .88em; opacity: .8; }
.badge { position: absolute; z-index: 1; top: 12px; inset-inline-start: 12px; padding: 5px 11px; font-size: .74rem; font-weight: 500; letter-spacing: .06em; line-height: 1.3; }
.badge-sale { background: var(--sale); color: #fff; }
.badge-soldout { background: #fff; color: var(--ink); }

/* ---------- Category tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.tiles-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { display: block; }
.tile img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: opacity .4s; }
.tile:not(:has(img))::before { content: ""; display: block; aspect-ratio: 3 / 4; background: var(--surface); }
.tile:hover img { opacity: .88; }
.tile-label { display: inline-block; margin-top: 16px; font-family: var(--font-head); font-size: 1.55rem; border-bottom: 1px solid transparent; transition: border-color .3s; }
.tile:hover .tile-label { border-color: currentColor; }

/* ---------- Lookbook ---------- */
.lookbook { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); }
.lookbook:not(.lookbook-flip) .lookbook-media { order: 2; }
.lookbook.no-image { grid-template-columns: 1fr; text-align: center; }
.lookbook.no-image .lookbook-copy { align-items: center; margin-inline: auto; }
.lookbook-media { min-height: 520px; background: #d8d4ce; }
.lookbook-media img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.lookbook-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; padding: clamp(36px, 7vw, 120px); max-width: 640px; }
.lookbook-title { font-size: clamp(2rem, 3.8vw, 3.3rem); text-wrap: balance; }
.lookbook-copy p { color: var(--muted); max-width: 44ch; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); }
.review { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.review blockquote { margin: 0; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.5; letter-spacing: -0.005em; }
.review figcaption { display: flex; flex-direction: column; font-size: .9rem; color: var(--muted); }
.review figcaption strong { color: var(--ink); font-weight: 500; }
.stars { display: flex; gap: 3px; color: var(--line); }
.stars .icon { width: 16px; height: 16px; }
.star.is-on { color: var(--highlight); }

/* ---------- FAQ and accordions ---------- */
.faq-item, .acc { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary, .acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--font-head); font-size: 1.2rem; cursor: pointer; list-style: none; }
.acc summary { font-family: var(--font-body); font-weight: 500; font-size: 1rem; letter-spacing: .03em; padding: 18px 0; }
.faq-item summary::-webkit-details-marker, .acc summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; transition: transform .25s; display: inline-flex; }
details[open] > summary .faq-icon { transform: rotate(180deg); }
.faq-answer, .acc-body { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--surface); padding-block: clamp(56px, 8vw, 112px); }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.newsletter p { color: var(--muted); margin-top: 10px; }
.newsletter-form { display: flex; gap: 12px; }
.newsletter-form input { flex: 1; min-width: 0; min-height: 52px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; }
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form input:focus { outline: none; border-bottom-width: 2px; }
.form-ok { color: var(--accent); font-weight: 500; }

/* ---------- Footer ---------- */
.footer { background: var(--panel); color: rgba(255,255,255,.82); }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 48px; padding-block: clamp(56px, 7vw, 96px) 48px; }
.footer-logo { width: 220px; color: #fff; }
.footer .brand-name { color: #fff; font-size: 1.7rem; }
.footer-text { margin-top: 20px; font-size: .94rem; max-width: 38ch; color: rgba(255,255,255,.66); }
.footer-head { font-family: var(--font-body); font-size: .95rem; font-weight: 500; letter-spacing: .05em; color: #fff; margin-bottom: 20px; }
.footer-links { display: grid; gap: 12px; font-size: .94rem; }
.footer-links a:hover { color: var(--highlight); }
.social { display: flex; gap: 10px; margin-top: 28px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; transition: background-color .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--highlight); border-color: var(--highlight); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); font-size: .86rem; color: rgba(255,255,255,.6); }
.footer-bottom-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; }
.footer-cod { display: inline-flex; align-items: center; gap: 8px; }
.footer-cod .icon { width: 20px; height: 20px; color: var(--highlight); }

/* ---------- Product page ---------- */
.pdp { padding-block: 8px 80px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 18px 22px; font-size: .86rem; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: start; padding-inline-end: clamp(20px, 3.4vw, 48px); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.gallery-item { position: relative; margin: 0; aspect-ratio: 3 / 4; background: var(--surface); overflow: hidden; }
.gallery-item:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { position: sticky; top: 100px; max-width: 540px; padding-block: 8px; }
.pdp-title { font-size: clamp(2rem, 3.6vw, 3rem); text-wrap: balance; }
.pdp-rating { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--muted); }
.pdp-rating .icon { width: 16px; height: 16px; color: var(--highlight); }
.pdp-price { display: flex; align-items: baseline; gap: 14px; margin-block: 16px 28px; font-size: 1.35rem; }
.pdp-price .price-now { color: var(--ink); }
.pdp-price .price-now.is-sale { color: var(--sale); }
.opt { margin-bottom: 24px; }
.opt legend, .opt > label { display: block; margin-bottom: 10px; font-weight: 500; font-size: .92rem; letter-spacing: .03em; }
.opt-values { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; min-height: 50px; padding: 0 16px; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--highlight); outline-offset: 3px; }
.opt select { width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid var(--line); background: #fff; }
.buy-row { display: flex; gap: 12px; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { display: grid; place-items: center; width: 42px; height: 56px; background: none; border: 0; }
.qty button .icon { width: 15px; height: 15px; }
.qty input { width: 44px; height: 56px; text-align: center; border: 0; background: none; -moz-appearance: textfield; font-weight: 500; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.assure { display: grid; gap: 12px; margin-block: 28px; padding-block: 22px; border-block: 1px solid var(--line); font-size: .94rem; }
.assure li { display: flex; align-items: center; gap: 12px; }
.assure-star { display: inline-flex; color: var(--highlight); }
.assure .icon { width: 14px; height: 14px; }
.rte { line-height: 1.75; }
.rte img { margin-block: 16px; }
.rte a { text-decoration: underline; text-underline-offset: 3px; }
.rte p + p { margin-top: 1em; }
.sticky-buy { position: fixed; inset-inline: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); padding-block: 10px; display: none; }
.sticky-buy-row { display: flex; align-items: center; gap: 14px; }
.sticky-buy-name { flex: 1; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Cart ---------- */
.cart-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.cart-item:first-child { border-top: 1px solid var(--line); }
.cart-img { display: block; aspect-ratio: 3 / 4; background: var(--surface); overflow: hidden; }
.cart-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-name { font-weight: 500; }
.cart-var { font-size: .88rem; color: var(--muted); }
.cart-controls { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.cart-controls .qty button { height: 42px; width: 36px; }
.cart-controls .qty input { height: 42px; width: 40px; }
.cart-line { font-variant-numeric: tabular-nums; }
.cart-summary { position: sticky; top: 100px; padding: 32px; background: var(--surface); }
.summary-title { font-size: 1.5rem; margin-bottom: 20px; }
.summary-rows { margin: 0 0 18px; display: grid; gap: 12px; }
.summary-rows > div { display: flex; justify-content: space-between; gap: 12px; }
.summary-rows dt { color: var(--muted); }
.summary-rows dd { margin: 0; font-variant-numeric: tabular-nums; }
.summary-rows .is-total { padding-top: 16px; border-top: 1px solid var(--line); font-size: 1.2rem; font-weight: 500; }
.summary-rows .is-total dt { color: var(--ink); }
.summary-rows .is-discount dd { color: var(--accent); }
.summary-note { margin-bottom: 20px; font-size: .88rem; color: var(--muted); }
.summary-update { display: block; margin: 16px auto 0; }

/* ---------- Misc ---------- */
.empty { display: grid; justify-items: start; gap: 20px; padding-block: 40px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 64px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border: 1px solid var(--line); }
.pagination a:hover { border-color: var(--ink); }
.pagination .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.wa-float { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 80; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #1FA855; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float .icon { width: 27px; height: 27px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-products, .tiles-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-inline-start: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-grid; }
  .nav { display: none; }
  .header-row { min-height: 66px; }
  .hide-sm { display: none; }
  .hero-slide { min-height: clamp(560px, 88svh, 800px); }
  .hero-title { font-size: clamp(2.7rem, 13vw, 4.6rem); }
  .pdp-grid { grid-template-columns: 1fr; padding-inline-end: 0; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 4px; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery-item, .gallery-item:first-child { flex: 0 0 88%; scroll-snap-align: start; aspect-ratio: 3 / 4; grid-column: auto; }
  .pdp-info { position: static; padding-inline: clamp(20px, 3.4vw, 48px); max-width: none; }
  .cart-grid, .newsletter-inner, .lookbook { grid-template-columns: 1fr; }
  .lookbook:not(.lookbook-flip) .lookbook-media { order: 0; }
  .lookbook-media, .lookbook-media img { min-height: 380px; }
  .cart-summary { position: static; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-buy.is-visible { display: block; }
  .wa-float { bottom: 80px; }
}
@media (max-width: 560px) {
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
  .tiles-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item { padding: 18px 10px; gap: 10px; }
  .trust-icon .icon { width: 22px; height: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-block: 48px 32px; }
  .cart-item { grid-template-columns: 84px 1fr; }
  .cart-line { grid-column: 2; }
  .newsletter-form { flex-direction: column; align-items: stretch; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-nav { bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide.is-active .hero-bg { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
