/* Storefront design system. Written mobile first: base rules target phones,
   and min-width queries add room for larger screens. */
:root {
  --ink: #17130f;
  --ink-2: #5f574e;
  --ink-3: #8b8378;
  --line: #e8e3da;
  --bg: #fbfaf8;
  --surface: #ffffff;
  --sand: #f3efe8;
  --gold: #d9bd7e;
  --sale: #a3123f;
  --green: #1d6b42;
  --red: #b3261e;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --shadow: 0 10px 30px rgba(23, 19, 15, .08);
  --shadow-lg: 0 16px 44px rgba(23, 19, 15, .16);
  --display: "Cormorant Garamond", Garamond, Georgia, "Times New Roman", serif;
  --body: "Lato", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(14px, 4vw, 32px);
  --header-h: 60px;
  --nav-h: 62px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --bottom-space: calc(var(--nav-h) + 22px + var(--safe-b));
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15.5px/1.55 var(--body);
  padding-bottom: var(--bottom-space);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  overflow-wrap: break-word;
}
body.no-scroll { overflow: hidden; }
body.no-nav { --bottom-space: calc(84px + var(--safe-b)); }
body.no-bar { --bottom-space: 20px; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a, button { touch-action: manipulation; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: .005em; }
h1 { font-size: clamp(34px, 8.5vw, 62px); }
h2 { font-size: clamp(28px, 6.5vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0 0 12px; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
small, .small { font-size: 13.5px; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; border-radius: var(--r-s); }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 760px; }
.only-d { display: none !important; }
.ic { flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 10px 26px; border: 1.5px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .15s var(--ease), background .15s, color .15s, opacity .15s;
}
.btn:active { transform: scale(.975); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-gold { background: #fff; border-color: #fff; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-block { width: 100%; }
.btn-grow { flex: 1; min-width: 0; }
.btn-text { display: inline-block; background: none; border: 0; padding: 8px 0; color: var(--ink); text-decoration: underline; cursor: pointer; font-weight: 500; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: none; border: 0; border-radius: 50%; color: var(--ink); cursor: pointer; text-decoration: none;
}
.dot {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--ink); color: #fff; border-radius: 9px; font-size: 10.5px; line-height: 18px; text-align: center; font-weight: 700;
}

/* Header */
.announce { background: var(--ink); color: #f1eadd; text-align: center; font-size: 12.5px; font-weight: 500; padding: 7px var(--gutter); }
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(251, 250, 248, .82);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(23, 19, 15, .07);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: var(--header-h); max-width: 1440px; margin-inline: auto; padding: 0 6px 0 var(--gutter); }
.logo { min-width: 0; text-decoration: none; font: 600 22px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-block: 4px; }
.logo img { height: 38px; width: auto; max-width: 170px; object-fit: contain; }
.header-search { display: none; }
.header-actions { display: flex; align-items: center; flex: none; }
.mobile-search, .header-search { position: relative; }
.mobile-search { padding: 0 var(--gutter) 10px; }
.mobile-search input, .header-search input {
  width: 100%; height: 46px; padding: 0 48px 0 18px; background: var(--sand); border: 1px solid transparent; border-radius: 999px; font-size: 16px;
  -webkit-appearance: none; appearance: none;
}
.mobile-search input:focus, .header-search input:focus { background: #fff; border-color: var(--ink); outline: 0; }
.mobile-search > button, .header-search > button { position: absolute; top: 0; height: 46px; width: 46px; background: none; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mobile-search > button { right: calc(var(--gutter) + 2px); }
.header-search > button { right: 2px; }
.suggest { position: absolute; left: var(--gutter); right: var(--gutter); top: 50px; z-index: 50; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow-lg); max-height: 62dvh; overflow-y: auto; }
.header-search .suggest { left: 0; right: 0; }
.suggest a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px; border-radius: var(--r-s); text-decoration: none; font-size: 14px; font-weight: 500; }
.suggest a:hover, .suggest a:focus { background: var(--sand); }
.suggest img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--sand); }
.suggest b { font-weight: 700; font-size: 13.5px; }
.suggest p { margin: 0; padding: 12px; font-size: 14px; color: var(--ink-2); }
.suggest .all { display: block; text-align: center; padding: 10px; font-weight: 600; }
.main-nav .wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 4px; padding-block: 0 8px; }
.main-nav a { padding: 7px 14px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background .15s, color .15s; }
.main-nav a[aria-current] { background: var(--ink); color: #fff; }

/* Slide-over menu */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-scrim { position: fixed; inset: 0; background: rgba(23, 19, 15, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.drawer-panel {
  position: fixed; inset: 8px 8px 8px auto; width: min(calc(100vw - 40px), 360px); background: var(--bg); border-radius: var(--r-l);
  overflow-y: auto; overscroll-behavior: contain; padding-bottom: 20px; animation: slide-in .28s var(--ease);
}
@keyframes slide-in { from { transform: translateX(105%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 8px 10px 20px; font: 600 22px var(--display); letter-spacing: .12em; text-transform: uppercase; }
.drawer-head strong { font-weight: 400; }
.drawer-nav { display: flex; flex-direction: column; padding: 4px 0 12px; }
.drawer-nav a { padding: 10px 20px; text-decoration: none; font: 600 24px/1.2 var(--display); }
.drawer-nav.small { border-top: 1px solid var(--line); padding-top: 12px; }
.drawer-nav.small a { font: 500 15px var(--body); padding: 11px 20px; color: var(--ink-2); }

/* Messages */
.flash-stack { position: fixed; top: calc(var(--header-h) + 10px); left: var(--gutter); right: var(--gutter); z-index: 70; display: grid; gap: 8px; pointer-events: none; }
.flash { padding: 12px 16px; border-radius: var(--r-m); background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); pointer-events: auto; font-size: 14.5px; font-weight: 500; animation: drop .3s var(--ease); }
@keyframes drop { from { transform: translateY(-10px); opacity: 0; } }
.flash-success { background: var(--green); }
.flash-error { background: var(--red); }
.flash.static { margin-bottom: 16px; box-shadow: none; animation: none; }
.toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--bottom-space) + 8px);
  z-index: 80; background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 500;
  width: max-content; max-width: calc(100vw - 32px); text-align: center; box-shadow: var(--shadow-lg); animation: rise-in .25s var(--ease);
}
@keyframes rise-in { from { transform: translate(-50%, 10px); opacity: 0; } }
.toast.is-error { background: var(--red); }

/* Homepage bento */
.hero-bento { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-top: 10px; }
.hero { grid-column: 1 / -1; position: relative; min-width: 0; background: var(--ink); color: #fff; border-radius: var(--r-l); overflow: hidden; isolation: isolate; }
.hero-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide {
  position: relative; flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(470px, 74svh, 660px);
}
.hero-img { position: absolute; inset: 0; z-index: -1; }
.hero-img picture { display: contents; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 19, 15, 0) 30%, rgba(23, 19, 15, .86) 76%); }
.hero-img.is-cutout { inset: 4% 8% 40%; }
.hero-img.is-cutout img { object-fit: contain; }
.hero-img.is-cutout::after { display: none; }
.hero-text { padding: 20px 22px 46px; }
.hero h1, .h1-like { font: 600 clamp(38px, 10.5vw, 74px)/1.04 var(--display); letter-spacing: .005em; color: #fff; margin: 4px 0 10px; }
.hero-sub { color: #d8d1c6; max-width: 46ch; margin: 0 0 18px; font-size: 15px; }
.eyebrow { display: block; margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; }
.hero .eyebrow { color: var(--gold); }
.hero-dots { position: absolute; bottom: 14px; left: 18px; display: flex; gap: 0; }
.hero-dots button { width: 30px; height: 24px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.hero-dots button::after { content: ""; position: absolute; left: 4px; right: 4px; top: 11px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .32); transition: background .2s; }
.hero-dots button.on::after { background: #fff; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; min-height: 168px; padding: 14px; border-radius: var(--r-l); overflow: hidden; background: var(--sand); text-decoration: none; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 25% 0 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 19, 15, 0), rgba(23, 19, 15, .84) 78%); }
.tile strong { font: 600 clamp(21px, 5.5vw, 32px)/1.08 var(--display); color: #fff; }
.tile span { font-size: 12.5px; font-weight: 500; color: #ebe5da; margin-top: 3px; }

/* Moving ribbon of category names */
.marquee { overflow: hidden; margin-top: clamp(28px, 6vw, 56px); padding-block: 12px; border-block: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee span { flex: none; padding-inline: 16px; font: 500 clamp(18px, 4vw, 26px)/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.marquee span::after { content: "✦"; margin-left: 32px; font-size: .55em; font-style: normal; vertical-align: .3em; color: var(--gold); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(36px, 7vw, 76px) 0 0; }
.section-sm { padding: 40px 0 0; }
.band { margin-top: clamp(36px, 7vw, 76px); padding-block: clamp(36px, 6vw, 68px); background: var(--sand); }
.band .card-media { background: #e9e3d9; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: clamp(16px, 3vw, 26px); }
.sec-head h2 { min-width: 0; }
.sec-head.center { display: block; text-align: center; }
.link-more { display: inline-flex; align-items: center; gap: 2px; flex: none; min-height: 32px; font-size: 14px; font-weight: 600; text-decoration: none; }

/* Category arches */
.arch-scroll { display: flex; gap: 12px; overflow-x: auto; padding: 2px var(--gutter) 6px; scroll-padding-inline: var(--gutter); scroll-snap-type: x proximity; scrollbar-width: none; max-width: 1440px; margin-inline: auto; }
.arch-scroll::-webkit-scrollbar { display: none; }
.arch { flex: 0 0 clamp(92px, 27vw, 150px); scroll-snap-align: start; text-align: center; text-decoration: none; }
.arch-img { display: block; border-radius: 999px 999px var(--r-m) var(--r-m); overflow: hidden; background: var(--sand); }
.arch-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s var(--ease); }
.arch-name { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; line-height: 1.25; }

/* Product grid and rails */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
.rail {
  display: flex; gap: 10px; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail > .card { flex: 0 0 min(44vw, 240px); scroll-snap-align: start; }

/* Product card */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--sand); border-radius: var(--r-m); overflow: hidden; }
.card-media > a { display: block; width: 100%; height: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s var(--ease); }
.card-alt { position: absolute; inset: 0; opacity: 0; }
.is-out .card-media img { filter: grayscale(.5); opacity: .7; }
.tag { position: absolute; top: 8px; left: 8px; background: #fff; color: var(--sale); padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.tag-muted { color: var(--ink-2); }
.tag-lg { top: 12px; left: 12px; font-size: 12.5px; padding: 4px 11px; z-index: 2; }
.wish, .quick {
  position: absolute; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none;
}
.wish { top: 2px; right: 2px; }
.quick { bottom: 2px; right: 2px; }
.wish::before, .quick::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 8px rgba(23, 19, 15, .1); transition: transform .2s var(--ease), background .15s; }
.wish .ic, .quick .ic { position: relative; }
.quick-form { display: contents; }
.quick.is-done::before { background: var(--green); }
.quick.is-done { color: #fff; }
.wish.on .ic, .link-btn.on .ic { fill: var(--sale); stroke: var(--sale); }
.wish:active::before, .quick:active::before { transform: scale(.88); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 9px 2px 0; }
.card-title { font: 500 13.5px/1.35 var(--body); letter-spacing: 0; margin: 0 0 3px; }
.card-title a { text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; }
.price { font-weight: 700; font-size: 14.5px; }
.mrp { color: var(--ink-3); font-size: 12.5px; }

/* Assurance cards */
.trust { padding-top: clamp(36px, 7vw, 76px); }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.trust-grid > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 16px; border-radius: var(--r-m); background: var(--sand); }
.trust-grid .ic { margin-bottom: 8px; }
.trust-grid strong { font-weight: 600; font-size: 14px; line-height: 1.3; }
.trust-grid span { font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }
.seo-block { color: var(--ink-2); }
.seo-block h2 { color: var(--ink); font-size: clamp(24px, 5vw, 32px); margin-bottom: 10px; }

/* Listing */
.crumbs { padding: 12px 0; font-size: 12.5px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; color: var(--ink-2); }
.crumbs::-webkit-scrollbar { display: none; }
.crumbs ol { display: flex; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.crumbs [aria-current] { color: var(--ink); }
.list-head { margin-bottom: 12px; }
.list-intro { color: var(--ink-2); margin: 6px 0 0; max-width: 680px; font-size: 14.5px; }
.pills { display: flex; gap: 6px; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 10px; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pills a { flex: none; display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px; background: var(--sand); border-radius: 999px; font-size: 13.5px; font-weight: 500; text-decoration: none; }
.pills a[aria-current] { background: var(--ink); color: #fff; }
.toolbar {
  position: sticky; top: var(--header-h); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin: 0 calc(var(--gutter) * -1) 12px; padding: 8px var(--gutter); background: rgba(251, 250, 248, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.toolbar-actions { display: flex; gap: 6px; align-items: center; min-width: 0; }
.count { font-size: 13px; color: var(--ink-2); white-space: nowrap; font-weight: 500; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.sort-form { min-width: 0; }
.sort-form select { height: 40px; width: 100%; max-width: 158px; padding: 0 30px 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 600; text-overflow: ellipsis;
  -webkit-appearance: none; appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2317130f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center; }
.filters { display: none; }
.filter-cats { display: none; }
.filters.open { display: block; position: fixed; inset: 0; z-index: 60; }
.filters.open .filters-panel { position: fixed; inset: auto 0 0 0; max-height: 86dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-radius: var(--r-l) var(--r-l) 0 0; padding-bottom: calc(14px + var(--safe-b)); animation: rise .3s var(--ease); }
@keyframes rise { from { transform: translateY(100%); } }
.filter-group { padding: 12px 20px; }
.filter-group h2 { font: 600 14px var(--body); letter-spacing: 0; margin-bottom: 8px; }
.filter-link { display: flex; justify-content: space-between; padding: 8px 0; text-decoration: none; font-size: 14.5px; color: var(--ink-2); }
.filter-link small { color: var(--ink-3); }
.filter-link.on { color: var(--ink); font-weight: 700; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.price-inputs span { display: block; font-size: 12.5px; color: var(--ink-2); margin-bottom: 3px; }
.price-inputs input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--surface); font-size: 16px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 8px; font-size: 14.5px; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 30px 0 4px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; }
.pager a { background: var(--surface); border: 1px solid var(--line); }
.pager .on { background: var(--ink); color: #fff; }
.empty { text-align: center; padding: 56px 16px; }
.empty .ic { margin: 0 auto 12px; color: var(--ink-3); }
.empty h2 { margin-bottom: 6px; }
.empty p { color: var(--ink-2); }
.search-big { display: flex; gap: 8px; max-width: 560px; margin: 16px 0 48px; }
.search-big input { flex: 1; min-width: 0; height: 50px; padding: 0 18px; background: var(--sand); border: 1px solid transparent; border-radius: 999px; font-size: 16px; }

/* Product page */
.pdp { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.gallery { position: relative; margin-inline: calc(var(--gutter) * -1); min-width: 0; }
.gallery-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--sand); aspect-ratio: 1; overscroll-behavior-x: contain; }
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-main img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; scroll-snap-stop: always; }
.gallery-count { position: absolute; right: 12px; top: 12px; padding: 3px 10px; background: rgba(23, 19, 15, .62); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; pointer-events: none; }
.gallery-thumbs { display: flex; gap: 6px; padding: 8px var(--gutter) 0; overflow-x: auto; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs button { flex: 0 0 56px; padding: 0; border: 0; border-radius: var(--r-s); background: var(--sand); cursor: pointer; overflow: hidden; opacity: .55; transition: opacity .15s; position: relative; }
.gallery-thumbs button.on { opacity: 1; }
.gallery-thumbs button.on::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--ink); }
.gallery-thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.pdp-info { min-width: 0; }
.pdp-info h1 { font-size: clamp(30px, 7.5vw, 46px); margin-bottom: 8px; }
.rating-line { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-2); text-decoration: none; }
.stars { display: inline-flex; color: #dcd6cb; }
.stars .on { color: #b08a2e; }
.stars span { display: flex; }
.pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin-top: 8px; }
.pdp-price .price { font-size: 24px; }
.pdp-price .mrp { font-size: 15px; }
.save { color: var(--sale); font-weight: 700; font-size: 13px; }
.tax-note { font-size: 12.5px; color: var(--ink-2); margin: 2px 0 12px; }
.pdp-short { margin: 10px 0 16px; color: var(--ink-2); }
.variants { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
.variants legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.variant-list { display: flex; flex-wrap: wrap; gap: 8px; }
.variant { position: relative; cursor: pointer; }
.variant input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.variant span { display: flex; align-items: center; justify-content: center; min-width: 58px; min-height: 46px; padding: 6px 16px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; transition: background .15s, color .15s, border-color .15s; }
.variant input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.variant input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.variant.is-out span { color: var(--ink-3); text-decoration: line-through; background: var(--sand); border-color: transparent; }
.variant.is-out, .variant.is-out input { cursor: not-allowed; }
.stock-line { min-height: 20px; font-size: 13.5px; font-weight: 500; margin-bottom: 12px; }
.stock-ok { color: var(--green); display: inline-flex; align-items: center; gap: 4px; }
.stock-low { color: #9a5300; }
.stock-out { color: var(--red); }
.buy-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
.buy-row { display: contents; }
.buy-row .btn-grow { display: none; }
.qty { display: inline-flex; flex: none; align-items: stretch; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); height: 50px; }
.qty button { width: 42px; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 999px; }
.qty input { width: 32px; border: 0; background: none; text-align: center; font-size: 16px; font-weight: 600; -moz-appearance: textfield; appearance: textfield; padding: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-buy-now { background: var(--surface); color: var(--ink); }
.pdp-links { display: flex; flex-wrap: wrap; gap: 0 16px; margin: 10px 0; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; background: none; border: 0; padding: 0; font-size: 13.5px; font-weight: 500; text-decoration: none; cursor: pointer; }
.assure { display: grid; gap: 8px; padding: 14px 16px; margin: 6px 0 4px; background: var(--sand); border-radius: var(--r-m); font-size: 13.5px; }
.assure li { display: flex; gap: 8px; align-items: center; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { padding: 15px 0; min-height: 44px; cursor: pointer; font-weight: 600; font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 20px; line-height: 1; font-weight: 400; }
.accordion details[open] summary::after { content: "−"; }
.accordion .prose, .spec { padding-bottom: 14px; color: var(--ink-2); font-size: 14.5px; }
.spec { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 6px; margin: 0; }
.spec dd { margin: 0; color: var(--ink); }
.review-list { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.review { background: var(--sand); padding: 16px; border-radius: var(--r-m); min-width: 0; }
.review-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 6px; font-size: 13.5px; }
.review-top time { color: var(--ink-2); font-size: 12.5px; }
.review p { margin: 0; font-size: 14.5px; }
.review-form { margin-top: 18px; max-width: 520px; }
.review-form h3 { margin-bottom: 12px; }
.buybar, .stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + var(--safe-b)); background: rgba(255, 255, 255, .9); line-height: 1.2;
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-top: 1px solid var(--line);
}
.buybar > div, .stickybar > div { min-width: 0; }
.buybar .price, .stickybar .price { font-size: 18px; }
.buybar .btn, .stickybar .btn { flex: 0 1 60%; min-height: 50px; padding-inline: 18px; }

/* Bag and checkout */
.page-title { margin: 20px 0 16px; }
.page-title small { font: 500 15px var(--body); color: var(--ink-2); letter-spacing: 0; }
.steps { display: flex; align-items: center; gap: 6px; margin: 16px 0 0; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.steps li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.steps li + li::before { content: ""; width: clamp(12px, 5vw, 36px); height: 1.5px; background: var(--line); }
.steps .now, .steps .done { color: var(--ink); }
.cart-layout { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.ship-note { display: flex; gap: 8px; align-items: center; background: var(--sand); padding: 11px 14px; border-radius: var(--r-m); font-size: 13.5px; font-weight: 500; margin-bottom: 4px; }
.cart-lines { min-width: 0; }
.cart-line { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line.has-issue .cart-img { outline: 2px solid var(--red); outline-offset: 2px; border-radius: var(--r-m); }
.cart-img img { border-radius: var(--r-m); background: var(--sand); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.cart-info { min-width: 0; }
.cart-name { text-decoration: none; font-weight: 600; font-size: 14.5px; line-height: 1.35; display: block; }
.cart-price { margin-top: 2px; color: var(--ink-2); font-size: 14px; }
.cart-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.cart-actions .qty { height: 42px; }
.cart-actions .qty button { width: 38px; }
.remove { width: 44px; height: 44px; background: none; border: 0; color: var(--ink-2); cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.cart-total { display: none; }
.summary { background: var(--surface); padding: 18px; border-radius: var(--r-l); border: 1px solid var(--line); align-self: start; min-width: 0; }
.summary h2 { font-size: 27px; margin-bottom: 12px; }
.coupon-form { display: flex; gap: 8px; margin-bottom: 8px; }
.coupon-form input { flex: 1; min-width: 0; height: 50px; padding: 0 16px; background: var(--sand); border: 1px solid transparent; border-radius: 999px; font-size: 16px; text-transform: uppercase; }
.coupon-form input::placeholder { text-transform: none; color: var(--ink-2); }
.coupon-form .btn { padding-inline: 20px; flex: none; }
.coupon-on { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; background: #e9f3ed; color: var(--green); padding: 4px 16px; border-radius: 999px; }
.coupon-on span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13.5px; min-width: 0; }
.coupon-on .btn-text { color: var(--green); flex: none; }
.totals { margin: 12px 0 2px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14.5px; }
.totals dt { color: var(--ink-2); }
.totals dd { margin: 0; font-weight: 500; }
.totals .disc dd, .totals .disc dt { color: var(--green); }
.totals .grand { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 700; }
.totals .grand dt { color: var(--ink); }
.totals .grand dd { font-weight: 700; }
.totals.gst-breakup { margin: 4px 0 2px; padding: 8px 12px; background: var(--paper-2, #f7f1e8); border-radius: 8px; }
.totals.gst-breakup div { padding: 2px 0; font-size: 13px; }
.totals.gst-breakup dd { font-weight: 400; }
.pay-totals { text-align: left; margin: 8px 0 14px; }
.pay-note { font-size: 12.5px; color: var(--ink-2); margin-top: 10px; }
.pay-note .ic { display: inline; vertical-align: -2px; }

/* Forms and panels */
.panel { background: var(--surface); padding: 18px; border-radius: var(--r-l); border: 1px solid var(--line); margin: 0 0 12px; min-width: 0; }
.panel h2 { font-size: 27px; margin-bottom: 12px; }
fieldset.panel legend { float: left; width: 100%; padding: 0; margin-bottom: 12px; font: 600 27px/1.1 var(--display); }
fieldset.panel legend + * { clear: both; }
.field { display: block; margin-bottom: 14px; min-width: 0; }
.field > span { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 5px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: var(--sand); border: 1.5px solid transparent; border-radius: var(--r-s); font-size: 16px; transition: border-color .15s, background .15s;
}
.field select { -webkit-appearance: none; appearance: none; padding-right: 36px; background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2317130f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field input:focus, .field textarea:focus, .field select:focus { background-color: #fff; border-color: var(--ink); outline: 0; }
.field input:disabled { color: var(--ink-3); }
.field.has-err input, .field.has-err select { border-color: var(--red); background-color: #fff; }
.field-err { display: block; color: var(--red); font-size: 13px; font-weight: 500; margin-top: 4px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.checkout-layout { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.checkout-form { min-width: 0; }
.mini-lines li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 500; }
.mini-lines img { border-radius: var(--r-s); aspect-ratio: 1; object-fit: cover; background: var(--sand); width: 100%; }
.mini-lines small { display: block; color: var(--ink-2); font-size: 12.5px; font-weight: 400; }
.mini-lines b { font-weight: 600; }
.auth-wrap { max-width: 460px; }
.pay-wrap { max-width: 480px; }
.pay-amount { font: 600 clamp(44px, 12vw, 58px)/1.1 var(--display); font-variant-numeric: lining-nums; margin: 4px 0; }

/* Order */
.thanks { text-align: center; padding: 28px 0 18px; }
.thanks-mark { display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center; background: var(--green); color: #fff; border-radius: 50%; margin-bottom: 10px; }
.order-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-bottom: 18px; font-size: 14px; }
.order-meta > div > * { display: block; }
.order-meta strong { overflow-wrap: anywhere; }
.tracker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; font-size: 12px; color: var(--ink-3); }
.tracker li { position: relative; padding-top: 32px; }
.tracker li span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--line); display: flex; align-items: center; justify-content: center; color: #fff; z-index: 1; }
.tracker li::before { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.tracker li:first-child::before { display: none; }
.tracker li.done { color: var(--ink); }
.tracker li.done span, .tracker li.done::before { background: var(--ink); }
.tracker li.now { font-weight: 700; }
.tracking { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; font-size: 14px; }
.order-list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.order-list span { min-width: 0; }
.order-list small { display: block; color: var(--ink-2); }
.pill { flex: none; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--sand); white-space: nowrap; }
.pill-confirmed, .pill-processing { background: #f9efd6; color: #6d4c00; }
.pill-shipped { background: #e4eefb; color: #1f4d8a; }
.pill-delivered { background: #e3f2e7; color: #1c5a33; }
.pill-cancelled { background: #f7e2e0; color: #8f2019; }
.contact-layout { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.contact-ways a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 0; text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.prose { min-width: 0; }
.prose h2 { font-size: 27px; margin: 24px 0 8px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.prose li { margin-bottom: 4px; }
.prose img { border-radius: var(--r-m); margin-block: 12px; }

/* Footer */
.site-footer { margin-top: clamp(40px, 8vw, 88px); background: var(--ink); color: #cfc8bc; padding: 40px 0 16px; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
.footer-grid > div { min-width: 0; }
.footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
.footer-logo { font: 600 26px/1.1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.site-footer h2 { font: 600 13px var(--body); letter-spacing: 0; color: #fff; margin-bottom: 6px; }
.site-footer a { display: flex; align-items: center; min-height: 36px; text-decoration: none; font-size: 14px; overflow-wrap: anywhere; }
.site-footer p { font-size: 14px; }
.site-footer .pay-note { color: #a89f92; }
.social { display: flex; flex-wrap: wrap; gap: 0 16px; }
.footer-base { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .13); font-size: 12.5px; color: #a89f92; }

/* App-style navigation for phones and tablets */
.wa-float {
  position: fixed; right: 14px; bottom: calc(var(--bottom-space) + 2px); z-index: 25;
  width: 46px; height: 46px; border-radius: 50%; background: #1f9d55; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
}
.no-bar .wa-float { display: none; }
.bottom-nav {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + var(--safe-b)); z-index: 35; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 480px; margin-inline: auto; height: var(--nav-h); padding: 4px; background: rgba(255, 255, 255, .86); border: 1px solid rgba(23, 19, 15, .07); border-radius: 22px; box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
}
.bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0; border-radius: 18px; color: var(--ink-2); text-decoration: none; font-size: 10.5px; font-weight: 600; transition: background .15s, color .15s; }
.bottom-nav a[aria-current] { background: var(--ink); color: #fff; }
.bottom-nav .dot { top: 3px; right: calc(50% - 20px); background: var(--sale); color: #fff; }
.no-nav .bottom-nav, .no-bar .bottom-nav { display: none; }

/* Combo contents and order timeline */
.combo-box { margin: 4px 0 16px; padding: 14px; background: var(--sand); border-radius: var(--r-m); }
.combo-box h2 { font: 600 14px var(--body); letter-spacing: 0; margin-bottom: 8px; }
.combo-box a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 44px; padding: 6px 0; text-decoration: none; font-size: 13.5px; font-weight: 500; }
.combo-box img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--r-s); background: #e9e3d9; }
.combo-box small { display: block; color: var(--ink-2); font-weight: 400; }
.combo-box s { color: var(--ink-3); font-size: 12.5px; }
.combo-save { margin: 8px 0 0; padding-top: 10px; border-top: 1px solid rgba(23, 19, 15, .1); font-size: 13.5px; }
.timeline { margin-top: 20px; padding-left: 16px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding-bottom: 14px; font-size: 14px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -22px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.timeline li:first-child::before { background: var(--ink); }
.timeline strong { display: block; font-weight: 600; }
.timeline time { color: var(--ink-2); font-size: 12.5px; }
.invoice-link { margin: 18px 0 0; }

/* Hover effects only where a real pointer exists */
@media (hover: hover) {
  .btn:hover { opacity: .86; }
  .btn-outline:hover, .pdp-buy-now:hover { background: var(--ink); color: #fff; opacity: 1; }
  .card:hover .card-alt { opacity: 1; }
  .card:hover .card-media img { transform: scale(1.03); }
  .tile:hover img, .arch:hover .arch-img img { transform: scale(1.05); }
  .wish:hover::before, .quick:hover::before { transform: scale(1.08); }
  .main-nav a:hover { background: var(--sand); color: var(--ink); }
  .main-nav a[aria-current]:hover { background: var(--ink); color: #fff; }
  .site-footer a:hover { color: #fff; }
  .icon-btn:hover { background: rgba(23, 19, 15, .06); }
  .card-title a:hover { text-decoration: underline; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}

/* Gentle reveal as sections scroll in, where the browser supports it */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .grid > .card, .trust-grid > div, .review { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
    @keyframes reveal { from { opacity: .35; transform: translateY(14px); } }
  }
}

/* Very small phones */
@media (max-width: 359px) {
  :root { --gutter: 12px; }
  .logo { font-size: 18px; letter-spacing: .1em; }
  .grid { gap: 14px 8px; }
  .card-title { font-size: 13px; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sort-form select { max-width: 124px; padding-left: 10px; }
  .chip { padding: 0 10px; }
  .count { display: none; }
  .toolbar { justify-content: flex-end; }
  .buybar .btn, .stickybar .btn { padding-inline: 12px; }
  .qty button { width: 36px; }
  .bottom-nav a { font-size: 10px; }
  .coupon-form .btn { padding-inline: 14px; }
  .cart-line { grid-template-columns: 68px minmax(0, 1fr); gap: 10px; }
  .cart-actions .qty button { width: 32px; }
  .cart-actions .qty input { width: 26px; }
  .remove { width: 38px; }
}

/* Phones held sideways: keep the hero from filling the whole short screen */
@media (max-height: 520px) and (orientation: landscape) {
  .hero-slide { min-height: 340px; }
  .hero-img.is-cutout { inset: 6% 2% 6% 54%; }
  .hero-text { padding: 20px 50% 44px 26px; }
  .hero h1, .h1-like { font-size: 38px; }
  .hero-img::after { background: linear-gradient(90deg, rgba(23, 19, 15, .86) 30%, rgba(23, 19, 15, 0) 75%); }
  .hero-sub { display: none; }
  .filters.open .filters-panel { max-height: 94dvh; }
  .site-header { position: relative; }
  .toolbar { position: static; }
  html { scroll-padding-top: 12px; }
}

/* Large phones and small tablets */
@media (min-width: 600px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 14px; }
  .rail > .card { flex-basis: min(30vw, 260px); }
  .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card-title { font-size: 14.5px; }
  .price { font-size: 15.5px; }
  .card-media { border-radius: 18px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .tile { min-height: 210px; padding: 18px; }
  .cart-line { grid-template-columns: 110px minmax(0, 1fr) auto; }
  .cart-total { display: block; font-weight: 700; }
  .gallery-thumbs button { flex-basis: 66px; }
  .review-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-img.is-cutout { inset: 6% 3% 6% 50%; }
  .hero-img::after { background: linear-gradient(90deg, rgba(23, 19, 15, .84) 25%, rgba(23, 19, 15, 0) 72%); }
  .hero-slide { min-height: clamp(400px, 56svh, 620px); justify-content: center; }
  .hero-text { padding: 30px 48% 54px 36px; }
  .hero-sub { font-size: 16px; }
  .hero-dots { left: 30px; bottom: 18px; }
  .hero h1, .h1-like { font-size: clamp(42px, 6.8vw, 84px); }
}

/* Tablets: product page and checkout gain a second column */
@media (min-width: 768px) {
  .pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 4px; }
  .gallery { margin: 0; }
  .gallery-main { border-radius: var(--r-l); }
  .gallery-thumbs { padding-inline: 0; }
  .pdp-info { position: sticky; top: calc(var(--header-h) + 16px); }
  .cart-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 28px; align-items: start; }
  .checkout-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 20px; align-items: start; }
  .summary { position: sticky; top: calc(var(--header-h) + 16px); }
  .contact-layout { grid-template-columns: 1fr 1.4fr; gap: 16px; }
  .panel, .summary { padding: 24px; }
}

/* Desktop */
@media (min-width: 1024px) {
  :root { --header-h: 72px; }
  body, body.no-nav, body.no-bar { padding-bottom: 0; }
  .only-m { display: none !important; }
  .only-d { display: block !important; }
  a.only-d { display: inline-flex !important; }
  .bottom-nav, .buybar, .stickybar { display: none; }
  .header-row { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(280px, 520px) minmax(180px, 1fr); padding-inline: var(--gutter); gap: 24px; }
  .logo { font-size: 26px; }
  .logo img { height: 44px; }
  .header-search { display: block; }
  .header-actions { justify-content: flex-end; }
  .toolbar { top: calc(var(--header-h) + 48px); margin-inline: 0; padding-inline: 0; }
  .flash-stack { top: 130px; left: auto; right: 24px; width: 380px; }
  .toast { bottom: 28px; }
  .wa-float { bottom: 24px; right: 24px; width: 54px; height: 54px; }
  .hero-bento { grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 14px; padding-top: 14px; }
  .hero { grid-column: 1; grid-row: 1 / 3; }
  .hero-slide { min-height: clamp(460px, 68vh, 680px); }
  .hero h1, .h1-like { font-size: clamp(44px, 4.6vw, 76px); }
  .buy-row .btn-grow { display: inline-flex; }
  .pdp-buy-now { grid-column: 1 / -1; }
  .tile { grid-column: 2; min-height: 0; padding: 22px; }
  .tile strong { font-size: clamp(26px, 2.4vw, 36px); }
  .tile span { font-size: 13.5px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 18px; }
  .grid-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 18px; overflow: visible; margin: 0; padding: 0; }
  .arch-scroll { justify-content: safe center; gap: 18px; }
  .arch { flex-basis: clamp(100px, 10.5vw, 160px); }
  .arch-name { font-size: 14px; }
  .list-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 36px; }
  .filters { display: block; }
  .filter-cats { display: block; }
  .filters .drawer-scrim { display: none; }
  .filters-panel { position: sticky; top: calc(var(--header-h) + 64px); }
  .filter-group { padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
  .pdp { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; }
  .pdp-info { top: calc(var(--header-h) + 64px); }
  .gallery-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; overflow: visible; aspect-ratio: auto; background: none; }
  .gallery-main img { border-radius: var(--r-l); aspect-ratio: 1; height: auto; background: var(--sand); }
  .gallery-main img:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
  .gallery-thumbs, .gallery-count { display: none; }
  .tag-lg { top: 16px; left: 16px; }
  .cart-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; }
  .checkout-layout { grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; }
  .summary { top: calc(var(--header-h) + 64px); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
  .footer-grid > div:last-child { grid-column: auto; }
}
@media (min-width: 1440px) {
  .grid-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  @view-transition { navigation: none; }
  .marquee-track { flex-wrap: wrap; width: auto; }
}
@media print {
  .site-header, .site-footer, .bottom-nav, .wa-float, .announce { display: none !important; }
}

/* Virtual try-on labels */
.tag-tryon { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(23, 19, 15, .82); color: #fff; font-size: 11px; font-weight: 600; pointer-events: none; }
.tryon-cta { display: flex; align-items: center; gap: 12px; margin: 14px 0; padding: 12px 14px; border-radius: var(--r-m); background: var(--ink); color: #fff; text-decoration: none; }
.tryon-cta:hover { color: #fff; opacity: .94; }
.tryon-cta strong { display: block; font-weight: 600; }
.tryon-cta small { display: block; color: rgba(255, 255, 255, .78); font-size: 12.5px; }
.tryon-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 22px; border-radius: var(--r-l); background: var(--ink); color: #fff; }
.tryon-band h2 { margin: 0 0 4px; color: #fff; }
.tryon-band p { margin: 0; color: rgba(255, 255, 255, .8); }

/* Formal typography: classic serif headings with lining figures, and steady, measured buttons. */
h1, h2, h3, .price, .pay-amount { font-variant-numeric: lining-nums; }
.btn { letter-spacing: .03em; }
.site-footer h2, .filter-group h2, .combo-box h2 { letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
/* The spaced capital logo is kept within the header on narrow phones and small laptops. */
@media (max-width: 319px) {
  .logo { font-size: 15px; letter-spacing: .06em; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .logo { font-size: 21px; letter-spacing: .1em; }
}

/* 3D model viewer on the product page */
.model-box { margin: 16px 0; border-radius: var(--r-m); background: var(--sand); overflow: hidden; }
.model-box model-viewer { display: block; width: 100%; aspect-ratio: 1; --poster-color: transparent; }
.model-ar { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; }
.model-hint { margin: 0; padding: 0 14px 12px; color: var(--ink-2); font-size: 13px; text-align: center; }

/* Standard product list: pictures supplied with the store are labelled as samples until replaced. */
.tag-sample { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--ink-2); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.tag-sample.is-raised { bottom: 34px; }
.tag-sample-lg { left: 12px; top: 12px; bottom: auto; font-size: 11px; padding: 4px 11px; z-index: 2; }
.tag-sample-lg.is-below { top: 46px; }
