/* Zin Home — storefront styles (layout modelled on zinhome.com) */
:root {
  --black: #000;
  --text: #000;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --beige: #f6f0e9;
  --beige-dark: #e9dfd3;
  --soft: #f8f8f8;
  --search: #ededed;
  --sale: #c4301c;
  --white: #fff;
  --brown: #3b2a20;
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --sans: 'Montserrat', system-ui, sans-serif;
  --page: 1400px;
  --gutter: 32px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 14px/1.6 var(--sans); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.15; }
.container { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 28px; border-radius: 0; font-weight: 500; font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--black); color: var(--white); }
.btn-black { background: var(--black); color: var(--white); border-radius: 30px; }
.btn-black:hover { background: #333; }
.btn-outline { border: 1px solid var(--black); border-radius: 30px; }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-block { width: 100%; }
.link-underline { font-weight: 600; font-size: 13px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* Top bar */
.topbar { background: var(--black); color: var(--white); font-size: 13px; font-weight: 500; }
.topbar .container { display: flex; align-items: center; justify-content: center; height: 40px; position: relative; }
.topbar-social { position: absolute; inset-inline-end: var(--gutter); display: flex; gap: 14px; }
.topbar-social svg { width: 14px; height: 14px; fill: currentColor; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.08); }
.header-main { display: grid; grid-template-columns: 200px 1fr auto; align-items: center; gap: 40px; height: 84px; }
.logo img { height: 68px; width: auto; }
.logo-sm img { height: 52px; }
.logo { font-family: 'Cormorant', var(--serif); font-weight: 700; font-size: 34px; letter-spacing: .5px; white-space: nowrap; }
.search { position: relative; max-width: 620px; width: 100%; }
.search input { width: 100%; height: 48px; border: 0; border-radius: 30px; background: var(--search); padding-block: 0; padding-inline: 24px 56px; font-size: 14px; outline: none; }
.search input::placeholder { color: #707070; }
.search button { position: absolute; inset-inline-end: 18px; top: 50%; transform: translateY(-50%); }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--white); border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,.14); padding: 12px; display: none; max-height: 70vh; overflow: auto; z-index: 60; }
.search-results.open { display: block; }
.search-results a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; }
.search-results a:hover { background: var(--soft); }
.search-results img { width: 48px; height: 60px; object-fit: cover; }
.search-results .sr-name { font-size: 13px; }
.search-results .sr-all { justify-content: center; font-weight: 600; font-size: 13px; border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.header-actions a { display: flex; align-items: center; gap: 8px; }
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--search); display: grid; place-items: center; }
.cart-count { position: absolute; top: -2px; inset-inline-end: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--black); color: var(--white); font-size: 10px; font-weight: 600; display: grid; place-items: center; }
.cart-count:empty, .cart-count[data-n="0"] { display: none; }
.menu-toggle { display: none; }

/* Main navigation + mega menu */
.main-nav { border-bottom: 1px solid transparent; }
.main-nav .container { display: flex; justify-content: space-between; }
.nav-list { display: flex; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a, .nav-list > li > button { display: flex; align-items: center; gap: 4px; height: 46px; padding: 0 14px; white-space: nowrap; font-size: 13.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .2px; }
.nav-list > li:first-child > a { padding-inline-start: 0; }
.nav-list:last-child > li:last-child > a { padding-inline-end: 0; }
.nav-list > li > a:hover span, .nav-list > li:hover > button span { text-decoration: underline; text-underline-offset: 6px; }
.nav-list .chev { width: 12px; height: 12px; stroke-width: 2.2; }
.nav-sale { color: var(--sale); position: relative; }
.nav-sale::before, .nav-sale::after { content: '✦'; position: absolute; font-size: 8px; color: var(--sale); }
.nav-sale::before { left: 6px; top: 8px; }
.nav-sale::after { right: 4px; bottom: 8px; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0,0,0,.08); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: flex; gap: 56px; padding: 32px var(--gutter) 40px; max-width: var(--page); margin: 0 auto; }
.mega-col h4 { font-size: 22px; margin-bottom: 18px; }
.mega-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 104px); gap: 18px 16px; }
.mega-grid a { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; line-height: 1.35; text-align: center; }
.mega-grid img { width: 104px; height: 104px; object-fit: cover; background: var(--soft); transition: opacity .2s; }
.mega-grid a:hover img { opacity: .85; }
.mega-grid a:hover span { text-decoration: underline; }
.mega-promo { margin-inline-start: auto; width: 300px; position: relative; }
.mega-promo img { width: 100%; height: 300px; object-fit: cover; }
.mega-promo span { position: absolute; left: 20px; bottom: 18px; color: var(--white); font-family: var(--serif); font-size: 26px; text-shadow: 0 1px 10px rgba(0,0,0,.4); }

/* Hero slideshow */
.hero { position: relative; height: 720px; overflow: hidden; background: #222; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.28); }
.slide-content { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--white); padding: 0 20px; }
.slide-content h2 { font-size: 64px; font-weight: 500; margin-bottom: 14px; }
.slide-content p { font-size: 16px; margin: 0 0 28px; max-width: 620px; }
.hero-dots { position: absolute; z-index: 2; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 3px; background: rgba(255,255,255,.45); }
.hero-dots button.active { background: var(--white); }
.hero-arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; opacity: 0; transition: .2s; }
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow.prev { inset-inline-start: 24px; } .hero-arrow.next { inset-inline-end: 24px; }

/* Sections */
.section { padding: 72px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 32px; gap: 20px; }
.section-title { font-size: 44px; font-weight: 500; }
.section-title.center { text-align: center; width: 100%; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }

/* Product carousel */
.carousel-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }
.carousel-wrap > div { min-width: 0; }
.carousel-promo { position: relative; overflow: hidden; }
.carousel-promo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.carousel-promo .promo-text { position: absolute; left: 22px; right: 22px; bottom: 22px; color: var(--white); }
.carousel-promo h3 { font-size: 30px; font-weight: 500; margin-bottom: 10px; }
.carousel-promo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0,0,0,.55)); }
.carousel-promo .promo-text { z-index: 1; }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; }
.carousel-controls { display: flex; align-items: center; gap: 24px; margin-top: 28px; }
.carousel-progress { flex: 1; height: 2px; background: var(--line); position: relative; }
.carousel-progress span { position: absolute; inset-inline-start: 0; top: -1px; height: 4px; background: var(--black); width: 25%; transition: inset-inline-start .15s; }
.carousel-btns { display: flex; gap: 10px; }
.round-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: var(--white); transition: .2s; }
.round-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.round-btn .icon { width: 16px; height: 16px; }

/* Product card */
.card { position: relative; display: flex; flex-direction: column; }
.card-media { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--soft); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s, transform .6s; }
.card-media .alt { opacity: 0; }
.card:hover .card-media .alt { opacity: 1; }
.card:hover .card-media img:only-of-type { transform: scale(1.04); }
.badge { position: absolute; z-index: 2; top: 12px; inset-inline-start: 12px; background: var(--sale); color: var(--white); font-size: 11px; font-weight: 600; padding: 4px 9px; letter-spacing: .3px; }
.badge.new { background: var(--black); }
.badge.soldout { background: #8a8a8a; }
.card-add { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; height: 44px; background: var(--white); font-size: 13px; font-weight: 500; border-radius: 30px; opacity: 0; transform: translateY(8px); transition: .25s; }
.card:hover .card-add { opacity: 1; transform: none; }
.card-add:hover { background: var(--black); color: var(--white); }
.card-body { padding-top: 14px; }
.card-cat { font-size: 10.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #444; margin-bottom: 4px; }
.card-title { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.2; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title:hover { text-decoration: underline; }
.price { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-weight: 600; font-size: 14px; }
.price .was { color: var(--muted); text-decoration: line-through; font-weight: 400; font-size: 13px; }
.price .now.on-sale { color: var(--sale); }
.swatches { display: flex; gap: 6px; margin-top: 10px; align-items: center; }
.swatch { width: 18px; height: 18px; border: 1px solid #d0d0d0; outline: 1px solid transparent; outline-offset: 2px; }
.swatches small { font-size: 11px; color: var(--muted); }

/* Image with text (beige) */
.story { background: var(--beige); }
.story .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding-top: 90px; padding-bottom: 90px; }
.story h2 { font-size: 46px; font-weight: 500; margin: 8px 0 22px; }
.story p { color: #555; font-size: 15px; margin: 0 0 16px; max-width: 520px; }
.story p b { color: var(--black); }
.story-list { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 14px; font-weight: 600; font-size: 14px; }
.story-list li { display: flex; gap: 12px; align-items: center; }
.story-media { position: relative; }
.story-media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.spin-badge { position: absolute; inset-inline-start: -64px; top: -64px; width: 128px; height: 128px; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.spin-badge svg { width: 118px; height: 118px; animation: spin 18s linear infinite; }
.spin-badge text { font: 600 10.5px var(--sans); letter-spacing: 3.2px; fill: var(--black); }
.spin-badge b { position: absolute; font-family: 'Cormorant', var(--serif); font-size: 18px; font-weight: 700; text-align: center; line-height: .9; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Collection tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.tile img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--soft); transition: opacity .25s; }
.tile:hover img { opacity: .88; }
.tile h3 { font-size: 24px; font-weight: 600; margin-top: 14px; }
.tile:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

/* Lookbook */
.lookbook { display: grid; grid-auto-flow: column; grid-auto-columns: 58%; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lookbook::-webkit-scrollbar { display: none; }
.look { position: relative; scroll-snap-align: start; height: 560px; overflow: hidden; }
.look:nth-child(even) { }
.look img { width: 100%; height: 100%; object-fit: cover; }
.look-chip { position: absolute; inset-inline-end: 16px; bottom: 16px; display: flex; gap: 6px; align-items: center; background: var(--white); border-radius: 30px; padding: 8px 14px; font-size: 13px; font-weight: 600; }
.look-dot { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.85); box-shadow: 0 0 0 6px rgba(255,255,255,.35); display: grid; place-items: center; font-size: 15px; font-weight: 600; transition: transform .2s; }
.look-dot:hover { transform: scale(1.12); }
.look-pop { position: absolute; z-index: 3; width: 260px; background: var(--white); padding: 12px; display: none; gap: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.look-dot:hover + .look-pop, .look-pop:hover { display: flex; }
.look-pop img { width: 70px; height: 86px; object-fit: cover; }
.look-pop .t { font-family: var(--serif); font-weight: 600; font-size: 16px; line-height: 1.2; }

/* Numbered columns */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.col-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 22px; }
.col-card h3 { font-size: 28px; font-weight: 500; margin-bottom: 10px; }
.col-card p { color: #555; margin: 0 0 16px; }

/* Wholesale / contact banners */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card { position: relative; height: 420px; overflow: hidden; color: var(--white); display: flex; flex-direction: column; justify-content: end; padding: 40px; }
.duo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.duo-card:hover img { transform: scale(1.04); }
.duo-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0,0,0,.6)); }
.duo-card > div { position: relative; z-index: 1; }
.duo-card h3 { font-family: var(--sans); font-size: 26px; font-weight: 600; letter-spacing: 1px; margin-bottom: 10px; }
.duo-card p { margin: 0 0 22px; max-width: 380px; }

/* Service icons */
.services { background: var(--beige); padding: 64px 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { background: var(--white); border-radius: 14px; padding: 28px 30px; }
.service h4 { font-size: 22px; display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.service p { color: #555; margin: 0 0 18px; font-size: 13.5px; }
.service-contact { text-align: center; }
.service-contact h4 { justify-content: center; flex-direction: column; }
.service-contact .icon { width: 30px; height: 30px; }

/* Footer */
.footer { padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: 26px; margin-bottom: 16px; }
.footer p { color: #555; margin: 0 0 18px; font-size: 13px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 13px; color: #555; }
.footer ul a:hover { color: var(--black); text-decoration: underline; }
.newsletter { display: flex; gap: 8px; }
.newsletter input { flex: 1; height: 48px; border: 0; border-radius: 30px; background: var(--search); padding: 0 22px; outline: none; }
.newsletter .btn { height: 48px; }
.fine { font-size: 11.5px !important; margin-top: 14px !important; }
.fine a { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 26px; font-size: 12.5px; gap: 20px; flex-wrap: wrap; }
.pay-icons { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-icons span { border: 1px solid var(--line); border-radius: 4px; padding: 3px 7px; font-size: 10.5px; font-weight: 700; color: #333; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.social a:hover { background: var(--black); color: var(--white); }

/* Breadcrumb & page head */
.breadcrumb { font-size: 12.5px; color: var(--muted); padding: 18px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--black); }
.breadcrumb a:hover { text-decoration: underline; }
.page-title { font-size: 48px; font-weight: 500; margin: 18px 0 8px; }
.page-sub { color: var(--muted); margin: 0 0 32px; }
.subcats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.chip { border: 1px solid var(--line); border-radius: 30px; padding: 8px 16px; font-size: 13px; transition: .2s; }
.chip:hover, .chip.active { border-color: var(--black); background: var(--black); color: var(--white); }

/* Collection layout */
.collection { display: grid; grid-template-columns: 250px 1fr; gap: 40px; padding-bottom: 80px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin-bottom: 28px; gap: 16px; font-size: 13px; }
.toolbar .filter-btn { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 30px; padding: 8px 16px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.toolbar select { border: 1px solid var(--line); border-radius: 30px; height: 38px; padding: 0 14px; background: var(--white); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.filters details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.filters summary { list-style: none; display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; text-transform: lowercase; cursor: pointer; }
.filters summary::first-letter { text-transform: uppercase; }
.filters summary::after { content: '+'; font-size: 18px; line-height: 1; font-weight: 400; }
.filters details[open] summary::after { content: '−'; }
.filters summary::-webkit-details-marker { display: none; }
.filter-body { padding-top: 12px; display: grid; gap: 8px; font-size: 13px; }
.filter-body label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.filter-body input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--black); }
.filter-body .n { color: var(--muted); margin-left: auto; font-size: 12px; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-range input { width: 100%; border: 0; background: var(--search); height: 40px; padding: 0 12px; }
.color-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
.color-grid label { flex-direction: column; gap: 4px; font-size: 11px; text-align: center; }
.color-grid input { position: absolute; opacity: 0; }
.color-grid .sw { width: 36px; height: 36px; border: 1px solid #ddd; }
.color-grid input:checked + .sw { outline: 2px solid var(--black); outline-offset: 2px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.empty { padding: 60px 0; text-align: center; color: var(--muted); grid-column: 1/-1; }
.load-more { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 48px; font-size: 13px; color: var(--muted); }

/* Product page */
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; padding-bottom: 72px; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-self: start; position: sticky; top: 150px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 680px; overflow: auto; scrollbar-width: thin; }
.thumbs button { border: 1px solid transparent; padding: 0; }
.thumbs button.active { border-color: var(--black); }
.thumbs img { width: 82px; height: 102px; object-fit: cover; }
.main-img { position: relative; background: var(--soft); aspect-ratio: 4/5; overflow: hidden; cursor: zoom-in; }
.main-img img { width: 100%; height: 100%; object-fit: cover; }
.main-img .round-btn { position: absolute; top: 50%; transform: translateY(-50%); }
.main-img .prev { inset-inline-start: 14px; } .main-img .next { inset-inline-end: 14px; }
.p-info h1 { font-size: 40px; font-weight: 500; margin-bottom: 10px; }
.p-meta { font-size: 12px; color: var(--muted); margin-bottom: 14px; display: flex; gap: 16px; flex-wrap: wrap; }
.p-price { font-size: 22px; margin-bottom: 6px; }
.p-price .was { font-size: 16px; }
.p-save { display: inline-block; background: #fbe9e6; color: var(--sale); font-size: 12px; font-weight: 600; padding: 3px 10px; margin-bottom: 8px; }
.tax { font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.stock { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; margin: 18px 0; }
.stock::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #2e9b4b; box-shadow: 0 0 0 4px #dff2e4; }
.stock.out::before { background: #aaa; box-shadow: 0 0 0 4px #eee; }
.opt { margin-bottom: 20px; }
.opt-label { font-size: 13px; margin-bottom: 10px; }
.opt-label b { font-weight: 600; }
.opt-values { display: flex; gap: 8px; flex-wrap: wrap; }
.opt-values button { min-width: 48px; height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 30px; font-size: 13px; transition: .15s; }
.opt-values button:hover { border-color: var(--black); }
.opt-values button.active { border-color: var(--black); background: var(--black); color: var(--white); }
.opt-values button.color { width: 38px; min-width: 0; height: 38px; padding: 0; border-radius: 50%; border: 1px solid #ccc; outline: 1px solid transparent; outline-offset: 3px; }
.opt-values button.color.active { outline-color: var(--black); background: inherit; }
.buy-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; margin-bottom: 12px; }
.qty { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 30px; height: 48px; padding: 0 8px; }
.qty button { width: 32px; height: 32px; font-size: 18px; }
.qty input { width: 40px; text-align: center; border: 0; outline: none; background: none; }
.perks { display: grid; gap: 10px; margin: 24px 0; font-size: 13px; }
.perks div { display: flex; gap: 10px; align-items: center; }
.promo-box { background: var(--beige); padding: 14px 18px; font-size: 13px; margin-bottom: 24px; }
.promo-box b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--sale); }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; display: flex; justify-content: space-between; padding: 18px 0; font-weight: 600; font-size: 14px; cursor: pointer; }
.accordion summary::after { content: '+'; font-size: 20px; font-weight: 400; line-height: 1; }
.accordion details[open] summary::after { content: '−'; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion .acc-body { padding-bottom: 20px; color: #444; font-size: 13.5px; }
.accordion .acc-body ul { padding-inline-start: 18px; margin: 0; }
.accordion .acc-body p { margin: 0 0 8px; }
.share { display: flex; gap: 10px; align-items: center; margin-top: 22px; font-size: 13px; }
.share a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.share svg { width: 13px; height: 13px; fill: currentColor; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(255,255,255,.98); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 92vh; object-fit: contain; }
.lightbox .close { position: absolute; top: 20px; inset-inline-end: 20px; }

/* Cart drawer */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 90; opacity: 0; visibility: hidden; transition: .25s; }
.overlay.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; inset-inline-end: 0; bottom: 0; width: 440px; max-width: 100%; background: var(--white); z-index: 100; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 28px; }
.ship-bar { padding: 14px 26px; font-size: 12.5px; background: var(--beige); }
.ship-bar .bar { height: 4px; background: var(--white); margin-top: 8px; border-radius: 2px; overflow: hidden; }
.ship-bar .bar span { display: block; height: 100%; background: var(--black); }
.drawer-body { flex: 1; overflow: auto; padding: 8px 26px; }
.line-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line-item img { width: 84px; height: 104px; object-fit: cover; }
.line-item .t { font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.2; }
.line-item .v { font-size: 12px; color: var(--muted); margin: 4px 0 8px; }
.line-item .qty { height: 34px; width: 104px; }
.line-item .remove { font-size: 12px; text-decoration: underline; color: var(--muted); align-self: start; }
.drawer-foot { padding: 20px 26px 26px; border-top: 1px solid var(--line); }
.subtotal { display: flex; justify-content: space-between; font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.drawer-foot small { display: block; color: var(--muted); margin-bottom: 16px; font-size: 12px; }
.drawer-empty { text-align: center; padding: 70px 10px; }
.drawer-empty h4 { font-size: 26px; margin-bottom: 18px; }

/* Toast */
.toast { position: fixed; z-index: 300; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--black); color: var(--white); padding: 12px 22px; border-radius: 30px; font-size: 13px; opacity: 0; transition: .3s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Content pages */
.content-page { max-width: 820px; margin: 0 auto; padding-bottom: 90px; }
.content-page p, .content-page li { color: #444; font-size: 15px; line-height: 1.8; }
.content-page h2 { font-size: 30px; margin: 36px 0 12px; }
.form { display: grid; gap: 14px; margin-top: 24px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input, .form textarea, .form select { width: 100%; border: 0; background: var(--search); padding: 14px 18px; border-radius: 12px; outline: none; }
.form textarea { min-height: 140px; resize: vertical; }
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; padding-bottom: 90px; }
.summary { background: var(--soft); padding: 28px; align-self: start; }
.summary .line-item { grid-template-columns: 64px 1fr auto; }
.summary .line-item img { width: 64px; height: 80px; }
.note { background: #fff7e0; border: 1px solid #f0dfa8; padding: 12px 16px; font-size: 13px; border-radius: 10px; }

/* Mobile nav */
.mobile-nav { position: fixed; top: 0; inset-inline-start: 0; bottom: 0; width: 340px; max-width: 88%; background: var(--white); z-index: 100; transform: translateX(-100%); transition: transform .3s; overflow: auto; padding: 20px 24px; }
.mobile-nav.open { transform: none; }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary, .mobile-nav > a { display: flex; justify-content: space-between; padding: 14px 0; font-weight: 600; font-size: 14px; text-transform: uppercase; list-style: none; border-bottom: 1px solid var(--line); }
.mobile-nav details summary { border: 0; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details a { display: block; padding: 8px 0 8px 12px; font-size: 14px; }
.mobile-nav details > div { padding-bottom: 12px; }

/* Language selector */
.lang-select { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; }
.lang-select select { appearance: none; background: transparent; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 2px 4px; }
.lang-select select option { color: var(--black); }
.topbar-lang { position: absolute; inset-inline-start: var(--gutter); }
.footer-lang { border: 1px solid var(--line); border-radius: 30px; padding: 8px 14px; }
.mobile-lang { border: 1px solid var(--line); border-radius: 30px; padding: 10px 16px; font-size: 14px; }
a.u { text-decoration: underline; }

/* Right-to-left (Arabic) */
:root[lang="ar"] { --serif: 'Amiri', 'Noto Naskh Arabic', serif; --sans: 'Tajawal', 'Noto Sans Arabic', system-ui, sans-serif; }
:root[lang="ar"] body { font-size: 15px; }
:root[lang="ar"] h1, :root[lang="ar"] h2, :root[lang="ar"] h3, :root[lang="ar"] h4 { font-weight: 700; line-height: 1.35; }
:root[lang="ar"] .eyebrow, :root[lang="ar"] .card-cat, :root[lang="ar"] .nav-list > li > a, :root[lang="ar"] .duo-card h3,
:root[lang="ar"] .filters summary, :root[lang="ar"] .toolbar .filter-btn, :root[lang="ar"] .spin-badge text { letter-spacing: 0; text-transform: none; }
[dir="rtl"] .dir-icon { transform: scaleX(-1); }
[dir="rtl"] .spin-badge svg { direction: ltr; }
:root[lang="ar"] .spin-badge text { font-size: 13px; font-family: var(--sans); }
[dir="rtl"] .drawer { transform: translateX(-100%); }
[dir="rtl"] .mobile-nav { transform: translateX(100%); }
[dir="rtl"] .drawer.open, [dir="rtl"] .mobile-nav.open { transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .carousel { grid-auto-columns: calc((100% - 48px) / 3); }
  .mega-promo { display: none; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --gutter: 16px; }
  .topbar-social, .topbar-lang { display: none; }
  .topbar .container { font-size: 12px; text-align: center; }
  /* equal side columns keep the logo on the true centre line, whatever the icons' widths */
  .header-main { grid-template-columns: 1fr auto 1fr; grid-template-rows: 64px auto; height: auto; gap: 0 12px; }
  .header-main .menu-toggle { justify-self: start; }
  .header-main .header-actions { justify-self: end; }
  .toolbar .result-count { display: none; }
  .toolbar select { max-width: 150px; }
  .menu-toggle { display: grid; place-items: center; width: 40px; height: 40px; }
  .logo { font-size: 26px; text-align: center; }
  .logo { display: flex; justify-content: center; }
  .logo img { height: 50px; }
  .header-main .search { grid-column: 1 / -1; grid-row: 2; max-width: none; margin-bottom: 12px; }
  .header-main .search input { height: 42px; }
  .header-actions .account-label { display: none; }
  .main-nav { display: none; }
  .hero { height: 520px; }
  .slide-content h2 { font-size: 40px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 34px; }
  .carousel-wrap { grid-template-columns: 1fr; }
  .carousel-promo { display: none; }
  .carousel { grid-auto-columns: 64%; gap: 14px; }
  .story .container { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; padding-bottom: 56px; }
  .story h2 { font-size: 34px; }
  .spin-badge { inset-inline-start: auto; inset-inline-end: 12px; top: -50px; width: 100px; height: 100px; }
  .spin-badge svg { width: 92px; height: 92px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .tile h3 { font-size: 19px; }
  .lookbook { grid-auto-columns: 86%; }
  .look { height: 420px; }
  .cols3, .duo, .services-grid { grid-template-columns: 1fr; }
  .duo-card { height: 340px; padding: 28px; }
  .footer-top { grid-template-columns: 1fr; }
  .collection { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filters.open { display: block; }
  .grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .card-title { font-size: 16px; }
  .card-add { display: none; }
  .page-title { font-size: 36px; }
  .product { grid-template-columns: 1fr; gap: 28px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; max-height: none; overflow-x: auto; }
  .thumbs img { width: 64px; height: 80px; }
  .p-info h1 { font-size: 30px; }
  .checkout { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
}
