/* AHO Jewellery storefront
   White theme, black type, serif display + clean sans body. */

@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #ffffff;
  --ink: #111111;
  --ink-2: #2b2b2b;
  --muted: #6f6c66;
  --line: #e7e4de;
  --soft: #f6f4f0;
  --soft-2: #efece6;
  --gold: #a98a55;
  --green: #1e7a47;
  --red: #b3261e;
  --radius: 2px;
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, system-ui, sans-serif;
  --header-h: 68px;
  --wrap: 1320px;
  --shadow: 0 10px 40px rgba(17, 17, 17, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 400; font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink-2); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(30px, 4.2vw, 48px); }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #000; color: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section-sm { padding: 32px 0; }
.eyebrow { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: block; }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head p { color: var(--muted); max-width: 560px; margin: 0 auto; }
.section-head .link-more { display: inline-block; margin-top: 10px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 28px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; border-radius: var(--radius); transition: background .2s, color .2s, opacity .2s; white-space: nowrap; }
.btn:hover { background: #333; color: #fff; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 11px; }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn-wa { background: #1fa855; border-color: #1fa855; }
.btn-wa:hover { background: #178a45; }
.link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link-more { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* Announcement bar */
.announce { background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .12em; text-align: center; height: 34px; overflow: hidden; position: relative; }
.announce-track { display: flex; flex-direction: column; transition: transform .5s ease; }
.announce-item { height: 34px; display: flex; align-items: center; justify-content: center; padding: 0 12px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce a { color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.header-left, .header-right { display: flex; align-items: center; gap: 4px; }
.header-right { justify-content: flex-end; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; min-width: 44px; padding: 0 8px; background: none; border: 0; color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.icon-btn .label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.badge-count { position: absolute; top: 5px; right: 2px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 10px; line-height: 17px; text-align: center; padding: 0 4px; font-weight: 500; }
.badge-count[data-count="0"] { display: none; }
.logo img { height: 42px; width: auto; }
.desktop-nav { display: none; border-top: 1px solid var(--line); }
.desktop-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 34px; }
.desktop-nav a { display: block; padding: 12px 0; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid transparent; }
.desktop-nav a:hover, .desktop-nav a.active { border-bottom-color: var(--ink); }

/* Drawers (menu / cart / filters) */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.42); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 90; }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(440px, 92vw); background: #fff; z-index: 100; display: flex; flex-direction: column; transition: transform .38s cubic-bezier(.2,.7,.2,1); }
.drawer-left { left: 0; transform: translateX(-102%); }
.drawer-right { right: 0; transform: translateX(102%); }
.drawer.is-open { transform: none; box-shadow: var(--shadow); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); min-height: 64px; }
.drawer-head h3 { margin: 0; font-size: 22px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px 24px; overscroll-behavior: contain; }
.drawer-foot { padding: 16px 20px; border-top: 1px solid var(--line); background: #fff; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { border-bottom: 1px solid var(--line); }
.menu-list a { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; font-family: var(--serif); font-size: 24px; }
.menu-list a small { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.menu-sub { list-style: none; margin: 18px 0 0; padding: 0; }
.menu-sub a { display: block; padding: 8px 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.menu-contact { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.menu-contact a { color: var(--ink); }

/* Search overlay */
.search-panel { position: fixed; left: 0; right: 0; top: 0; background: #fff; z-index: 100; transform: translateY(-105%); transition: transform .35s cubic-bezier(.2,.7,.2,1); box-shadow: var(--shadow); max-height: 92vh; overflow-y: auto; }
.search-panel.is-open { transform: none; }
.search-form { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--ink); padding: 18px 0 10px; }
.search-form input { flex: 1; border: 0; outline: 0; font-family: var(--serif); font-size: 26px; padding: 6px 0; background: transparent; min-width: 0; }
.search-results { padding: 18px 0 28px; }
.search-results .suggest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.suggest-item { display: flex; gap: 12px; align-items: center; }
.suggest-item img { width: 64px; height: 64px; object-fit: cover; background: var(--soft); }
.suggest-item .n { font-size: 14px; line-height: 1.35; }
.suggest-item .p { font-size: 13px; color: var(--muted); }
.search-popular { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 17px; font-size: 13px; background: #fff; white-space: nowrap; }
.chip:hover, .chip.active { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--soft); }
.hero-slides { display: flex; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.hero-slide { position: relative; flex: 0 0 100%; min-height: min(78vh, 720px); display: flex; align-items: flex-end; }
.hero-slide picture, .hero-slide > img { position: absolute; inset: 0; }
.hero-slide picture img, .hero-slide > img { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 2; padding: 0 20px 64px; width: 100%; max-width: var(--wrap); margin: 0 auto; }
.hero-content h1, .hero-content h2 { font-size: clamp(36px, 6vw, 72px); margin-bottom: 12px; }
.hero-content p { font-size: 16px; max-width: 460px; margin-bottom: 24px; }
.hero-slide.light .hero-content { color: #fff; }
.hero-slide.light::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0) 60%); z-index: 1; }
.hero-dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.hero-dots button { width: 28px; height: 3px; border: 0; background: rgba(0,0,0,.25); padding: 0; }
.hero-dots button.active { background: var(--ink); }
.hero-plain { min-height: min(72vh, 640px); display: grid; grid-template-columns: 1fr; align-items: center; background: var(--soft); }
.hero-plain .hero-art { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 20px; }
.hero-plain .hero-art img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.hero-plain .hero-copy { padding: 48px 24px; text-align: center; }
.hero-plain .hero-copy h1 { font-size: clamp(40px, 6.5vw, 80px); }
.hero-plain .hero-copy em { font-style: italic; }

/* USP strip */
.usps { border-bottom: 1px solid var(--line); }
.usps ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.usps li { display: flex; align-items: center; gap: 10px; padding: 16px 10px; font-size: 12px; letter-spacing: .06em; justify-content: center; text-align: left; }
.usps svg { width: 22px; height: 22px; flex: 0 0 22px; stroke: var(--ink); fill: none; stroke-width: 1.3; }

/* Category tiles */
.cat-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 34%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.cat-scroller::-webkit-scrollbar { display: none; }
.cat-tile { scroll-snap-align: start; text-align: center; }
.cat-tile .img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--soft); margin-bottom: 10px; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* Product grid & card */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
.card { position: relative; display: flex; flex-direction: column; }
.card-media { position: relative; aspect-ratio: 1; background: var(--soft); overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s, transform .8s; }
.card-media .img-2 { opacity: 0; }
@media (hover: hover) { .card:hover .card-media .img-2 { opacity: 1; } .card:hover .card-media .img-1.has-2 { opacity: 0; } .card:hover .card-media img { transform: scale(1.03); } }
.card-badge { position: absolute; top: 10px; left: 0; z-index: 2; background: var(--ink); color: #fff; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px 4px 9px; }
.card-badge.sale { background: var(--gold); }
.card-badge.soldout { background: #8c8a85; }
.card-wish { position: absolute; top: 8px; right: 8px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; }
.card-wish svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.5; }
.card-wish.is-active svg { fill: var(--ink); }
.card-rating { position: absolute; bottom: 10px; left: 10px; z-index: 2; background: rgba(255,255,255,.94); font-size: 12px; padding: 2px 9px; border-radius: 12px; display: flex; align-items: center; gap: 4px; }
.card-rating .star { color: var(--gold); }
.card-rating .cnt { color: var(--muted); border-left: 1px solid var(--line); padding-left: 5px; }
.card-body { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-price-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-weight: 500; font-size: 15px; }
.price s { color: var(--muted); font-weight: 400; font-size: 13px; }
.price .off { color: var(--green); font-size: 12px; font-weight: 500; }
.quick-add { flex: 0 0 34px; width: 34px; height: 34px; border: 0; background: var(--ink); color: #fff; border-radius: 3px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.quick-add:hover { background: #333; }
.quick-add svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 2; fill: none; }
.quick-add[disabled] { background: #bbb; }
.card-offer { font-size: 12.5px; color: var(--green); font-weight: 500; }
.card-name { font-size: 14px; line-height: 1.4; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .quick-add, .card .card-wish { z-index: 3; position: relative; }
.card .card-wish { position: absolute; }

/* Promo / editorial */
.promo-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.promo { position: relative; overflow: hidden; display: block; background: var(--soft); min-height: 300px; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.promo:hover img { transform: scale(1.04); }
.promo-copy { position: absolute; left: 24px; bottom: 24px; right: 24px; z-index: 2; }
.promo.light .promo-copy { color: #fff; }
.promo.light::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), transparent 60%); }
.promo-copy h3 { font-size: 30px; margin-bottom: 8px; }

.story { display: grid; gap: 28px; align-items: center; }
.story-img { aspect-ratio: 4/5; background: var(--soft); overflow: hidden; }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { max-width: 520px; }
.story-copy blockquote { font-family: var(--serif); font-size: 26px; font-style: italic; line-height: 1.35; margin: 0 0 18px; }

.testimonials { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.testimonials::-webkit-scrollbar { display: none; }
.tcard { scroll-snap-align: start; border: 1px solid var(--line); padding: 26px; background: #fff; }
.tcard .stars { color: var(--gold); letter-spacing: 2px; }
.tcard p { font-family: var(--serif); font-size: 20px; line-height: 1.4; margin: 12px 0; }
.tcard .who { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.newsletter { background: var(--soft); text-align: center; }
.inline-form { display: flex; max-width: 480px; margin: 18px auto 0; border-bottom: 1px solid var(--ink); }
.inline-form input { flex: 1; border: 0; background: transparent; padding: 12px 4px; outline: 0; min-width: 0; }
.inline-form button { border: 0; background: none; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; padding: 0 6px; }

/* Breadcrumbs, page head */
.crumbs { font-size: 12px; color: var(--muted); padding: 16px 0 0; letter-spacing: .04em; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #bbb; }
.page-head { text-align: center; padding: 30px 0 18px; }
.page-head p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* Shop toolbar & filters */
.tabs-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 14px; }
.tabs-row::-webkit-scrollbar { display: none; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; margin-bottom: 22px; position: sticky; top: var(--header-h); background: #fff; z-index: 20; }
.toolbar .count { font-size: 13px; color: var(--muted); }
.select { appearance: none; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23111'/%3E%3C/svg%3E") no-repeat right 12px center; padding: 0 32px 0 12px; height: 40px; font-size: 13px; border-radius: var(--radius); }
.shop-layout { display: grid; grid-template-columns: 1fr; gap: 28px; }
.filters { display: none; }
.filter-group { border-bottom: 1px solid var(--line); padding: 16px 0; }
.filter-group h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin-bottom: 10px; }
.filter-group ul { list-style: none; margin: 0; padding: 0; }
.filter-group li a { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; color: var(--ink-2); }
.filter-group li a.active { font-weight: 500; color: var(--ink); text-decoration: underline; }
.price-inputs { display: flex; gap: 8px; align-items: center; }
.price-inputs input { width: 100%; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.pagination { display: flex; justify-content: center; gap: 6px; margin: 40px 0 10px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); font-size: 14px; }
.pagination .active { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty h2, .empty h3 { color: var(--ink); }

/* Product page */
.pdp { display: grid; grid-template-columns: 1fr; gap: 26px; padding-top: 14px; }
.gallery { position: relative; }
.gallery-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--soft); }
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-main figure { margin: 0; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1; position: relative; overflow: hidden; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.gallery-main figure.zoomed img { transform: scale(2); }
.gallery-dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 0; }
.gallery-dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; background: #ccc; padding: 0; }
.gallery-dots button.active { background: var(--ink); }
.gallery-thumbs { display: none; }
.pdp-info h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 6px 0 8px; }
.pdp-rating { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.pdp-rating .stars { color: var(--gold); letter-spacing: 1px; font-size: 15px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin: 16px 0 4px; flex-wrap: wrap; }
.pdp-price .now { font-size: 26px; font-weight: 500; }
.pdp-price s { color: var(--muted); font-size: 17px; }
.pdp-price .off { color: var(--green); font-weight: 500; font-size: 14px; }
.tax-note { font-size: 12px; color: var(--muted); }
.pdp-offer { margin: 14px 0; padding: 12px 14px; border: 1px dashed #b9d6c3; background: #f3faf5; color: var(--green); font-size: 14px; font-weight: 500; }
.variant-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin: 18px 0 8px; }
.variant-list { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-list label { position: relative; }
.variant-list input { position: absolute; opacity: 0; }
.variant-list span { display: inline-flex; min-width: 48px; height: 42px; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--line); font-size: 14px; cursor: pointer; }
.variant-list input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.variant-list input:disabled + span { color: #bbb; text-decoration: line-through; cursor: not-allowed; }
.variant-list input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin: 20px 0 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 48px; }
.qty button { width: 40px; height: 100%; border: 0; background: none; font-size: 18px; }
.qty input { width: 40px; text-align: center; border: 0; outline: 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row-2 { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.wish-btn { width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.wish-btn svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.5; }
.wish-btn.is-active svg { fill: var(--ink); }
.stock-note { font-size: 13px; margin: 6px 0; }
.stock-note.low { color: var(--red); }
.perks { list-style: none; margin: 22px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.perks li { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.perks svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.3; flex: 0 0 20px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 16px 0; display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 18px; line-height: 1; }
.accordion details[open] summary::after { content: "−"; }
.accordion .acc-body { padding: 0 0 18px; font-size: 14.5px; color: var(--ink-2); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table td { padding: 7px 0; border-bottom: 1px solid var(--soft-2); }
.spec-table td:first-child { color: var(--muted); width: 40%; }
.share-row { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--muted); margin-top: 16px; flex-wrap: wrap; }
.share-row a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: center; z-index: 40; transform: translateY(110%); transition: transform .3s; }
.sticky-buy.show { transform: none; }
.sticky-buy .p { flex: 1; min-width: 0; }
.sticky-buy .p strong { display: block; font-size: 13px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Reviews */
.reviews-wrap { display: grid; gap: 30px; }
.rating-summary .big { font-family: var(--serif); font-size: 54px; line-height: 1; }
.rating-summary .stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; }
.bar-row { display: grid; grid-template-columns: 30px 1fr 36px; gap: 10px; align-items: center; font-size: 13px; margin: 6px 0; }
.bar { height: 5px; background: var(--soft-2); position: relative; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); }
.review { border-bottom: 1px solid var(--line); padding: 18px 0; }
.review .stars { color: var(--gold); letter-spacing: 1px; }
.review h4 { font-family: var(--sans); font-size: 15px; font-weight: 500; margin: 6px 0; }
.review .meta { font-size: 12px; color: var(--muted); }
.verified { color: var(--green); font-size: 12px; margin-left: 6px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 32px; color: #d4d0c8; cursor: pointer; line-height: 1; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--gold); }
.star-input input:focus-visible + label { outline: 2px solid var(--ink); }

/* Forms */
.form-row { margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
label.lbl { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink-2); }
.input, textarea.input, select.input { width: 100%; border: 1px solid #d6d2ca; background: #fff; padding: 12px 14px; font-size: 15px; border-radius: var(--radius); outline: 0; transition: border-color .2s; min-height: 48px; }
.input:focus { border-color: var(--ink); }
.input.is-invalid { border-color: var(--red); }
textarea.input { min-height: 120px; resize: vertical; }
.field-error { color: var(--red); font-size: 13px; margin-top: 4px; }
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; overflow: hidden; }
.input-group { display: flex; }
.input-group .prefix { display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid #d6d2ca; border-right: 0; background: var(--soft); font-size: 15px; }
.input-group .input { flex: 1; min-width: 0; }
.input-group .btn { border-radius: 0; }
.otp-input { letter-spacing: .5em; font-size: 22px; text-align: center; }

/* Alerts / toasts */
.alert { padding: 13px 16px; margin: 14px 0; font-size: 14px; border-left: 3px solid var(--ink); background: var(--soft); }
.alert-error { border-color: var(--red); background: #fbefee; color: #7c1d17; }
.alert-success { border-color: var(--green); background: #eef7f1; color: #14542f; }
.alert-info { border-color: var(--gold); }
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; width: max-content; max-width: 92vw; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 12px 20px; font-size: 14px; box-shadow: var(--shadow); animation: toastIn .3s ease; pointer-events: auto; }
.toast.error { background: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Cart */
.cart-layout { display: grid; grid-template-columns: 1fr; gap: 30px; padding-bottom: 40px; }
.cart-line { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 90px; height: 90px; object-fit: cover; background: var(--soft); }
.cart-line .n { font-size: 15px; line-height: 1.35; }
.cart-line .v { font-size: 13px; color: var(--muted); }
.cart-line .row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 10px; flex-wrap: wrap; }
.cart-line .qty { height: 38px; }
.cart-line .qty button { width: 34px; }
.cart-line .remove { background: none; border: 0; font-size: 12px; text-decoration: underline; color: var(--muted); padding: 4px; }
.cart-line.unavailable { opacity: .6; }
.summary { background: var(--soft); padding: 24px; align-self: start; }
.summary h3 { font-size: 24px; }
.sum-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14.5px; }
.sum-row.discount { color: var(--green); }
.sum-row.total { border-top: 1px solid #d9d4ca; margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 500; }
.ship-progress { background: #fff; padding: 12px 14px; font-size: 13px; margin-bottom: 16px; border: 1px solid var(--line); }
.ship-progress .track { height: 4px; background: var(--soft-2); margin-top: 8px; position: relative; }
.ship-progress .track i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); }
.coupon-form { display: flex; gap: 8px; margin: 14px 0 6px; }
.coupon-form .input { min-height: 44px; text-transform: uppercase; }
.coupon-list { display: grid; gap: 8px; margin-top: 8px; }
.coupon-card { border: 1px dashed #c9c2b5; background: #fff; padding: 10px 12px; display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 13px; }
.coupon-card strong { letter-spacing: .1em; }
.applied-coupon { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid #b9d6c3; padding: 10px 12px; font-size: 13px; margin: 12px 0; }
.mini-lines { display: grid; gap: 0; }
.mini-empty { text-align: center; padding: 50px 10px; color: var(--muted); }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1fr; gap: 30px; padding: 10px 0 50px; }
.co-step { border: 1px solid var(--line); padding: 22px; margin-bottom: 16px; }
.co-step h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; margin-bottom: 14px; }
.co-step h3 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--sans); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.co-step.done h3 .n { background: var(--green); }
.co-step.locked { opacity: .5; pointer-events: none; }
.addr-option { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line); margin-bottom: 10px; cursor: pointer; align-items: flex-start; }
.addr-option input { margin-top: 4px; accent-color: var(--ink); }
.addr-option:has(input:checked) { border-color: var(--ink); }
.pay-option { display: flex; gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--line); margin-bottom: 10px; cursor: pointer; }
.pay-option:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.pay-option input { accent-color: var(--ink); width: 18px; height: 18px; }
.pay-option small { display: block; color: var(--muted); font-size: 12.5px; }
.co-items { display: grid; gap: 12px; margin-bottom: 14px; }
.co-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.co-item .thumb { position: relative; }
.co-item img { width: 56px; height: 56px; object-fit: cover; background: #fff; }
.co-item .q { position: absolute; top: -6px; right: -6px; background: var(--ink); color: #fff; font-size: 11px; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); margin-top: 12px; }
.secure-note svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* Account */
.account { display: grid; grid-template-columns: 1fr; gap: 26px; padding: 10px 0 60px; }
.account-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.account-nav a, .account-nav button { white-space: nowrap; padding: 12px 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; border: 0; background: none; border-bottom: 2px solid transparent; }
.account-nav a.active { border-bottom-color: var(--ink); }
.order-card { border: 1px solid var(--line); padding: 18px; margin-bottom: 14px; display: grid; gap: 10px; }
.order-card .top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.status-pill { display: inline-block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 12px; background: var(--soft-2); }
.status-pill.delivered, .status-pill.paid { background: #e6f3ea; color: var(--green); }
.status-pill.cancelled, .status-pill.failed { background: #fbefee; color: var(--red); }
.status-pill.shipped { background: #eaf0fb; color: #22458a; }
.timeline { list-style: none; margin: 20px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; position: relative; }
.timeline::before { content: ""; position: absolute; top: 9px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line); }
.timeline li { position: relative; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.timeline li::before { content: ""; display: block; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--line); margin: 0 auto 8px; position: relative; z-index: 1; }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--ink); border-color: var(--ink); }
.kv { display: grid; grid-template-columns: 1fr; gap: 18px; }
.box { border: 1px solid var(--line); padding: 18px; }
.box h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-bottom: 10px; }

/* Auth */
.auth-box { max-width: 440px; margin: 30px auto 60px; padding: 0 20px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.auth-tabs button { border: 0; background: none; padding: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 2px solid transparent; }
.auth-tabs button.active { border-bottom-color: var(--ink); }
[hidden] { display: none !important; }

/* Content pages */
.prose { font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose h3 { font-size: 22px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose a { text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px; }
.faq-cat { margin: 34px 0 10px; font-size: 26px; }
.contact-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
.contact-card { background: var(--soft); padding: 26px; }
.contact-card p { margin-bottom: 14px; }
.map-frame { width: 100%; aspect-ratio: 16/10; border: 0; background: var(--soft); }
.gallery-grid { columns: 2; column-gap: 12px; }
.gallery-grid figure { margin: 0 0 12px; break-inside: avoid; background: var(--soft); }
.gallery-grid figcaption { font-size: 13px; padding: 8px 2px; color: var(--muted); }
.services-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.service { border: 1px solid var(--line); padding: 28px; }
.service svg { width: 30px; height: 30px; stroke: var(--ink); fill: none; stroke-width: 1.2; margin-bottom: 12px; }

/* Footer */
.site-footer { background: #0e0e0e; color: #cfccc6; margin-top: 40px; font-size: 14px; }
.site-footer a { color: #cfccc6; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 30px; padding-top: 56px; padding-bottom: 36px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 340px; color: #9d9a94; }
.footer-col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #fff; font-weight: 500; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border: 1px solid #333; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.socials svg { width: 17px; height: 17px; fill: #cfccc6; }
.footer-bottom { border-top: 1px solid #262626; padding-top: 18px; padding-bottom: 90px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 12px; color: #8a8781; }
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-badges span { border: 1px solid #333; padding: 3px 8px; font-size: 11px; letter-spacing: .08em; }

/* Floating contact buttons */
.float-actions { position: fixed; right: 16px; bottom: 18px; z-index: 45; display: flex; flex-direction: column; gap: 10px; transition: bottom .3s; }
body.has-sticky-buy .float-actions { bottom: 84px; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.float-btn svg { width: 28px; height: 28px; }
.float-wa { background: #25d366; }
.float-wa svg { fill: #fff; }
.float-call { background: var(--ink); }
.float-call svg { stroke: #fff; fill: none; stroke-width: 1.6; width: 22px; height: 22px; }

/* Utilities */
.hide-mobile { display: none; }
.stack > * + * { margin-top: 14px; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fade-in { animation: fadeIn .6s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 30px 16px; }
  .usps ul { grid-template-columns: repeat(4, 1fr); }
  .cat-scroller { grid-auto-columns: 22%; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
  .promo-grid { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-auto-columns: 46%; }
  .search-results .suggest-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 3; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .kv { grid-template-columns: 1fr 1fr; }
  .float-actions { right: 22px; bottom: 24px; }
  .cart-line { grid-template-columns: 110px 1fr; }
  .cart-line img { width: 110px; height: 110px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  :root { --header-h: 76px; }
  body { font-size: 15.5px; }
  .section { padding: 84px 0; }
  .hide-mobile { display: initial; }
  .icon-btn.hide-mobile { display: inline-flex; }
  .hide-desktop { display: none !important; }
  .wrap { padding: 0 36px; }
  .logo img { height: 50px; }
  .desktop-nav { display: block; }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 40px 22px; }
  .cat-scroller { grid-auto-flow: row; grid-template-columns: repeat(var(--cats, 6), 1fr); grid-auto-columns: auto; overflow: visible; gap: 24px; }
  .hero-plain { grid-template-columns: 1fr 1fr; }
  .hero-plain .hero-copy { text-align: left; padding: 60px 80px; }
  .hero-content { padding-bottom: 90px; }
  .story { grid-template-columns: 1fr 1fr; gap: 70px; }
  .testimonials { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .shop-layout { grid-template-columns: 240px 1fr; gap: 44px; }
  .filters { display: block; position: sticky; top: calc(var(--header-h) + 70px); align-self: start; max-height: calc(100vh - 160px); overflow-y: auto; }
  .filter-toggle { display: none !important; }
  .pdp { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 60px; }
  .gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: start; position: sticky; top: calc(var(--header-h) + 16px); }
  .gallery-thumbs { display: flex; flex-direction: column; gap: 10px; }
  .gallery-thumbs button { border: 1px solid transparent; padding: 0; background: var(--soft); aspect-ratio: 1; }
  .gallery-thumbs button.active { border-color: var(--ink); }
  .gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
  .gallery-dots { display: none; }
  .gallery-main { grid-column: 2; }
  .sticky-buy { display: none; }
  .reviews-wrap { grid-template-columns: 300px 1fr; gap: 60px; }
  .cart-layout { grid-template-columns: 1fr 400px; gap: 50px; }
  .checkout { grid-template-columns: 1fr 420px; gap: 50px; }
  .checkout .summary { position: sticky; top: calc(var(--header-h) + 20px); }
  .account { grid-template-columns: 220px 1fr; gap: 50px; }
  .account-nav { flex-direction: column; border-bottom: 0; border-right: 1px solid var(--line); align-self: start; gap: 0; }
  .account-nav a, .account-nav button { text-align: left; border-bottom: 0; border-left: 2px solid transparent; padding: 12px 16px; }
  .account-nav a.active { border-left-color: var(--ink); background: var(--soft); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { columns: 4; }
  .promo { min-height: 460px; }
  .float-call { display: none; }
}
