/* ==========================================================================
   The Brass Estate — storefront styles
   ========================================================================== */

:root {
  --cream: #f6f1e8;
  --paper: #fbf8f3;
  --white: #ffffff;
  --ink: #1c1814;
  --ink-2: #2a241e;
  --ink-soft: #4a423a;
  --muted: #857a6e;
  --line: #e4dccf;
  --line-strong: #cfc3b1;
  --brass: #b6893f;
  --brass-deep: #8f6a2c;
  --brass-light: #e6cf9c;
  --glow: #ffe6b0;
  --success: #2f6b3a;
  --warning: #9a6a12;
  --error: #a33a2b;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(28, 24, 20, 0.08);
  --transition: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brass-deep); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
table { border-collapse: collapse; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.35rem; }
.h4 { font-size: 1.25rem; margin-top: 2rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.1rem; color: var(--ink-soft); }
.muted { color: var(--muted); }
em { font-style: italic; }
s { color: var(--muted); font-weight: 300; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 0.9rem;
  font-weight: 500;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 980px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
.staff-banner { background: var(--brass-deep); color: #fff; font-size: 0.82rem; text-align: center; padding: 7px 16px; line-height: 1.4; }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--brass { background: var(--brass); color: #fff; }
.btn--brass:hover { background: var(--brass-deep); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--outline-light { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--lg { padding: 15px 32px; font-size: 0.9rem; }
.btn--sm { padding: 8px 14px; font-size: 0.72rem; }
.btn--block { width: 100%; }
.btn + .btn { margin-left: 8px; }

.link-arrow { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-deep); font-weight: 500; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; font-size: 0.9rem; }
.link-btn:hover { color: var(--error); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.topbar { background: var(--ink); color: rgba(255,255,255,0.78); font-size: 0.78rem; letter-spacing: 0.04em; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar__contact { display: flex; gap: 18px; white-space: nowrap; }
.topbar a { color: var(--brass-light); }
@media (max-width: 800px) { .topbar__contact { display: none; } .topbar__inner { justify-content: center; text-align: center; } }

.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 28px; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark { width: 44px; height: 44px; }
.brand__name { font-family: var(--font-body); font-size: 1.02rem; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass-deep); white-space: nowrap; }
.brand:hover { color: inherit; }

.nav { flex: 1; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.nav__list a { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav__list a:hover, .nav__list a[aria-current="page"] { border-bottom-color: var(--brass); color: var(--ink); }

/* Collections dropdown */
.nav__item--menu { position: relative; }
.nav__menu-link { display: inline-flex; align-items: center; gap: 6px; }
.nav__caret { transition: transform var(--transition); }
.nav__item--menu.is-open .nav__caret { transform: rotate(180deg); }
.nav__menu {
  list-style: none; margin: 0; padding: 10px 0;
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 270px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 60;
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* keeps hover alive across the gap */
.nav__item--menu:hover .nav__menu, .nav__item--menu.is-open .nav__menu, .nav__item--menu:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__menu li a { display: block; padding: 9px 22px; border-bottom: 0; text-transform: none; letter-spacing: 0; font-size: 0.95rem; white-space: nowrap; }
.nav__menu li a:hover, .nav__menu li a[aria-current="page"] { background: var(--cream); color: var(--brass-deep); }
.nav__menu-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.nav__menu-all a { color: var(--brass-deep); font-size: 0.85rem !important; }

.header__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.search { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 0 4px 0 14px; background: #fff; }
.search input { border: 0; outline: 0; background: transparent; width: 150px; font-size: 0.85rem; padding: 8px 0; }
.search input:focus { width: 200px; }
.search button { border: 0; background: transparent; padding: 6px 8px; color: var(--ink-soft); display: inline-flex; }
.studio-link { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--brass); color: var(--brass-deep); border-radius: 999px; }
.studio-link:hover { background: var(--brass); color: #fff; }
.cart-link { position: relative; display: inline-flex; padding: 6px; color: var(--ink); }
.cart-link__count { position: absolute; top: -2px; right: -4px; background: var(--brass); color: #fff; font-size: 0.65rem; font-weight: 500; min-width: 18px; height: 18px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }

.nav-toggle { display: none; width: 40px; height: 40px; flex: 0 0 40px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform var(--transition), opacity var(--transition); }

@media (max-width: 1400px) {
  .header__inner { gap: 18px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 0.82rem; letter-spacing: 0.16em; }
  .nav__list { gap: 14px; }
  .nav__list a { font-size: 0.72rem; letter-spacing: 0.08em; }
  /* Collapse the search box to its icon; it expands on focus. */
  .search { padding-left: 4px; }
  .search input { width: 0; padding-left: 0; padding-right: 0; opacity: 0; transition: width var(--transition), opacity var(--transition); }
  .search:focus-within input, .search.is-open input { width: 150px; padding-left: 8px; opacity: 1; }
}
@media (max-width: 900px) {
  .header__inner { gap: 12px; height: 66px; }
  .nav-toggle { display: flex; }
  .nav { position: fixed; top: var(--nav-top, 66px); left: 0; right: 0; bottom: 0; z-index: 60; background: var(--paper); transform: translateX(-100%); transition: transform 220ms ease; overflow-y: auto; padding: 24px; }
  body.nav-open .nav { transform: none; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__list a { display: block; padding: 16px 0; font-size: 1rem; letter-spacing: 0.12em; border-bottom: 0; }
  .nav__menu-link { display: flex; justify-content: space-between; }
  /* Collections expand inline inside the slide-out menu */
  .nav__menu { position: static; transform: none; min-width: 0; border: 0; box-shadow: none; background: transparent; padding: 0 0 8px 16px; opacity: 1; visibility: visible; display: none; }
  .nav__menu::before { display: none; }
  .nav__item--menu.is-open .nav__menu { display: block; }
  .nav__item--menu.is-open .nav__menu, .nav__item--menu:hover .nav__menu, .nav__item--menu:focus-within .nav__menu { transform: none; }
  .nav__menu li a { padding: 11px 0; font-size: 0.98rem; white-space: normal; }
  .nav__menu li a:hover { background: transparent; }
  .search { display: none; }
  .brand { min-width: 0; flex-shrink: 1; }
  .brand__name { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .header__actions { gap: 8px; flex: 0 0 auto; }
  .studio-link { padding: 5px 8px; font-size: 0.62rem; }
}

/* --------------------------------------------------------------------------
   Flash messages
   -------------------------------------------------------------------------- */

.flash-wrap { margin-top: 16px; display: grid; gap: 8px; }
.flash { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: #fff; font-size: 0.92rem; }
.flash--success { border-color: #b8d6bd; background: #f0f8f1; color: var(--success); }
.flash--error { border-color: #e8c1ba; background: #fdf3f1; color: var(--error); }
.flash--warning { border-color: #e9d5a8; background: #fdf8ec; color: var(--warning); }
.flash--info { border-color: var(--line-strong); }
.flash__close { border: 0; background: none; font-size: 1.2rem; line-height: 1; color: inherit; opacity: 0.6; }

/* --------------------------------------------------------------------------
   Sections & hero
   -------------------------------------------------------------------------- */

.section { padding: 72px 0; }
.section--flush { padding-top: 32px; }
.section--tint { background: var(--cream); }
.section--dark { background: var(--ink); color: #fff; }
.section__head { max-width: 640px; margin-bottom: 40px; }
.section__head p { color: var(--muted); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__head--row h2 { margin-bottom: 0.2em; }
.section__head--row p { margin: 0; }

.hero { background: radial-gradient(1200px 600px at 75% 40%, #3a3026 0%, var(--ink) 55%); color: #fff; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px; min-height: 560px; padding-top: 48px; padding-bottom: 48px; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 400; margin-bottom: 0.4em; }
.hero h1 em { color: var(--brass-light); }
.hero .lead { color: rgba(255,255,255,0.75); max-width: 520px; font-size: 1.12rem; }
.hero .eyebrow { color: var(--brass-light); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__cta .btn + .btn { margin-left: 0; }
.hero__art { display: flex; justify-content: center; }
.hero__logo { width: min(100%, 400px); height: auto; border-radius: 50%; box-shadow: 0 0 0 1px rgba(230, 207, 156, 0.15), 0 40px 90px rgba(233, 184, 98, 0.22); }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__art { order: -1; }
  .hero__logo { width: 220px; }
}

.page-head { padding: 56px 0 36px; border-bottom: 1px solid var(--line); background: var(--cream); }
.page-head h1 { margin-bottom: 0.2em; }
.page-head .lead { margin: 0; max-width: 640px; }
.page-head--image { position: relative; color: #fff; border: 0; background: var(--ink); }
.page-head--image::before { content: ""; position: absolute; inset: 0; background: var(--bg) center/cover no-repeat; opacity: 0.45; }
.page-head--image .container { position: relative; }
.page-head--image .lead, .page-head--image .crumbs { color: rgba(255,255,255,0.8); }

.crumbs { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--brass-deep); }

/* --------------------------------------------------------------------------
   Category tiles & product cards
   -------------------------------------------------------------------------- */

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: box-shadow var(--transition), transform var(--transition); }
.cat-tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.cat-tile__media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--ink-2); }
.cat-tile__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transition: transform 600ms ease; }
.cat-tile:hover img { transform: scale(1.04); }
.cat-tile__body { padding: 20px 22px 24px; }
.cat-tile__body h3 { margin-bottom: 4px; }
.cat-tile__body p { color: var(--muted); font-size: 0.92rem; margin-bottom: 12px; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

.grid--products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
@media (max-width: 1000px) { .grid--products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grid--products { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; } }

.card { display: flex; flex-direction: column; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); border: 1px solid var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 600ms ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 14px 2px 0; }
.card__category { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.card__title { font-size: 1.2rem; margin: 4px 0 4px; }
.card__price { display: flex; gap: 10px; align-items: baseline; font-weight: 400; margin: 0; }

.badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; border-radius: 2px; }
.badge--brass { background: var(--brass); color: #fff; }
.badge--muted { background: var(--ink); color: #fff; }
.product__price .badge { position: static; display: inline-block; margin-left: 8px; font-style: normal; }

.ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--brass); background: linear-gradient(160deg, #f3ebdd, #e8dcc6); }
.ph--dark { color: var(--brass-light); background: linear-gradient(160deg, #2a241e, #1c1814); }
.ph--xs { width: 48px; height: 56px; }

/* --------------------------------------------------------------------------
   Listing toolbar, pagination, empty state
   -------------------------------------------------------------------------- */

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.toolbar__count { color: var(--muted); font-size: 0.9rem; }
.toolbar__sort { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; }
.toolbar__sort select { padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 48px; }
.pagination__status { color: var(--muted); font-size: 0.9rem; }

.empty { text-align: center; padding: 48px 0; max-width: 560px; margin: 0 auto; }
.empty p { color: var(--muted); }

/* --------------------------------------------------------------------------
   Values / CTA / footer
   -------------------------------------------------------------------------- */

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.value h3 { font-size: 1.25rem; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 0.93rem; margin: 0; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

.cta { text-align: center; max-width: 640px; }
.cta p { color: rgba(255,255,255,0.7); margin-bottom: 24px; }

.footer { background: var(--ink); color: rgba(255,255,255,0.72); font-size: 0.9rem; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--brass-light); }
.social { list-style: none; margin: 0; padding: 0; display: flex !important; gap: 10px !important; }
.social a { display: inline-flex; align-items: center; gap: 8px; }
.footer .social a { width: 40px; height: 40px; justify-content: center; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; color: var(--brass-light); transition: border-color var(--transition), background var(--transition); }
.footer .social a:hover { border-color: var(--brass-light); background: rgba(255,255,255,0.06); }
.social--labels { flex-direction: column; gap: 8px !important; }
.social--labels a { color: var(--brass-deep); font-weight: 400; }
.social--labels a:hover { text-decoration: underline; }
.footer__logo { display: inline-block; margin-bottom: 16px; }
.footer__logo img { width: 132px; height: 132px; border-radius: 50%; }
.footer__contact a { color: var(--brass-light); }
.footer__small { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 14px; }
.payment-list { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.payment-list li { border: 1px solid rgba(255,255,255,0.2); padding: 4px 10px; border-radius: 2px; font-size: 0.75rem; letter-spacing: 0.06em; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.78rem; color: rgba(255,255,255,0.45); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* --------------------------------------------------------------------------
   Product page
   -------------------------------------------------------------------------- */

.product__layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .product__layout { grid-template-columns: 1fr; gap: 32px; } .product__layout .gallery { position: static; } }

.gallery { position: sticky; top: 90px; }
/* Square, like most product photography, and the photo is always shown whole — a wide
   chandelier must never lose its outer arms to cropping. Other shapes get cream margins. */
.gallery__stage { position: relative; aspect-ratio: 1 / 1; background: var(--cream); border: 1px solid var(--line); overflow: hidden; touch-action: pan-y pinch-zoom; }
.gallery__item { position: absolute; inset: 0; margin: 0; display: none; }
.gallery__item.is-active { display: block; }
.gallery__item img { width: 100%; height: 100%; object-fit: contain; transition: transform 200ms ease; }
/* The new photo slides in from the side it was swiped from (site.js sets --gallery-from). */
.gallery__item.is-active img { animation: gallery-in 240ms ease-out; }
@keyframes gallery-in { from { transform: translateX(var(--gallery-from, 0px)); opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .gallery__item.is-active img { animation: none; } }
.gallery__count { display: none; position: absolute; top: 10px; right: 10px; z-index: 2; padding: 3px 10px; border-radius: 999px; background: rgba(28, 24, 20, 0.55); color: #fff; font-size: 0.75rem; letter-spacing: 0.04em; pointer-events: none; }
@media (hover: none) { .gallery__count { display: block; } }
.gallery__item--video { background: #000; display: none; align-items: center; justify-content: center; }
.gallery__item--video.is-active { display: flex; }
.gallery__item video { width: 100%; height: 100%; object-fit: contain; }
.video-embed { width: 100%; aspect-ratio: 16 / 9; }
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; background: rgba(0,0,0,0.5); color: #fff; font-size: 0.8rem; }
.gallery__caption { left: auto !important; right: 12px !important; bottom: 12px !important; padding: 5px 10px !important; background: rgba(28, 24, 20, 0.72) !important; border-radius: 999px; font-size: 0.72rem !important; letter-spacing: 0.08em; text-transform: uppercase; }
/* Thumbnail label: hidden until hover / keyboard focus (the main image shows it when selected) */
.thumb__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 4px; font-size: 0.58rem; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; background: rgba(28, 24, 20, 0.72); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity var(--transition); pointer-events: none; }
.thumb:hover .thumb__label, .thumb:focus-visible .thumb__label { opacity: 1; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { position: relative; width: 72px; height: 72px; padding: 0; border: 1px solid var(--line); background: var(--cream); overflow: hidden; opacity: 0.7; transition: opacity var(--transition), border-color var(--transition); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active, .thumb:hover { opacity: 1; border-color: var(--brass); }
.thumb--video { background: var(--ink); }
.thumb__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; text-shadow: 0 1px 4px rgba(0,0,0,0.6); }

.product__info h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 0.3em; }
.product__price { font-size: 1.5rem; font-weight: 400; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.product__price s { font-size: 1.1rem; }
.stock { font-size: 0.9rem; font-weight: 400; }
.stock--ok { color: var(--success); }
.stock--out { color: var(--error); }
.stock::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 8px; vertical-align: middle; }
/* Catalogue-only mode (CHECKOUT_OPEN=False): shown where the buy buttons would be. */
.ordering-soon { background: var(--cream); border-left: 3px solid var(--brass); padding: 12px 16px; margin: 0 0 16px; font-size: 0.95rem; line-height: 1.55; color: var(--ink-soft); }
.summary .ordering-soon { margin-top: 18px; }

[hidden] { display: none !important; }

.add-form { margin: 20px 0 24px; }
.add-form__row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }

/* Buyer options (shade colour / finish) */
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 4px; }
@media (max-width: 560px) { .options { grid-template-columns: 1fr; } }
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234a423a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
}
.custom-input { margin-top: 8px; }
.field--error select, .field--error input, .field--error textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: 0.85rem; margin: 6px 0 0; }
.field__hint { color: var(--muted); font-size: 0.8rem; line-height: 1.5; margin: 8px 0 0; }

/* Optional personalisation */
.personalise { margin: 10px 0 18px; }
.personalise__toggle { background: none; border: 0; padding: 6px 0; color: var(--ink); font-weight: 500; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 6px; }
.personalise__toggle:hover { color: var(--brass-deep); }
.personalise__sign { display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 0.9rem; line-height: 1; }
.personalise__optional { color: var(--muted); font-weight: 300; }
.personalise__body { margin: 10px 0 0; }
.qty { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; }
.qty button { width: 44px; border: 0; background: transparent; font-size: 1.2rem; color: var(--ink-soft); }
.qty button:hover { background: var(--cream); }
.qty input { width: 56px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-weight: 400; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm button { width: 34px; font-size: 1rem; }
.qty--sm input { width: 44px; }
.line__qty { display: flex; align-items: center; gap: 8px; }

/* WhatsApp floating button (every page) */
.whatsapp-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  display: flex; align-items: center; gap: 0;
  height: 56px; padding: 0 13px; border-radius: 999px;
  background: #25d366; color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition), box-shadow var(--transition), gap var(--transition), padding var(--transition);
}
.whatsapp-fab:hover, .whatsapp-fab:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5), 0 3px 8px rgba(0, 0, 0, 0.18); }
.whatsapp-fab svg { flex: 0 0 auto; }
.whatsapp-fab__label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em;
  transition: max-width 240ms ease, margin var(--transition);
}
.whatsapp-fab:hover .whatsapp-fab__label, .whatsapp-fab:focus-visible .whatsapp-fab__label { max-width: 120px; margin-left: 10px; margin-right: 6px; }
/* Sit above the sticky buy bar on product pages */
body.has-sticky-buy .whatsapp-fab { bottom: 96px; }
@media (max-width: 640px) { .whatsapp-fab { right: 14px; bottom: 14px; height: 52px; padding: 0 11px; } body.has-sticky-buy .whatsapp-fab { bottom: 84px; } }

/* Sticky buy bar (product page) */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: rgba(251, 248, 243, 0.97); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(28, 24, 20, 0.08);
  transform: translateY(100%); transition: transform 220ms ease;
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-buy.is-visible { transform: none; }
.sticky-buy__inner { display: flex; align-items: center; justify-content: center; gap: 28px; padding-top: 10px; padding-bottom: 10px; }
.sticky-buy__product { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sticky-buy__product img { width: 44px; height: 52px; object-fit: cover; border: 1px solid var(--line); flex: 0 0 auto; }
.sticky-buy__product div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.sticky-buy__product strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__product span { font-size: 0.9rem; color: var(--ink-soft); }
.sticky-buy__actions { display: flex; gap: 10px; }
.sticky-buy__actions .btn + .btn { margin-left: 0; }
body.has-sticky-buy { padding-bottom: 84px; }
@media (max-width: 640px) {
  .sticky-buy__product { display: none; }
  .sticky-buy__actions { width: 100%; }
  .sticky-buy__actions .btn { flex: 1; padding-left: 12px; padding-right: 12px; }
}

.trust { list-style: none; padding: 16px 0; margin: 0 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 6px; font-size: 0.9rem; color: var(--ink-soft); }
.trust li::before { content: "—"; color: var(--brass); margin-right: 10px; }

.specs { width: 100%; font-size: 0.93rem; }
.specs th, .specs td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 400; color: var(--muted); width: 38%; }

.prose { color: var(--ink-soft); }
.prose p { margin-bottom: 1em; }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; color: var(--ink); }
.prose h3 { font-size: 1.2rem; margin-top: 1.4rem; color: var(--ink); }
.prose ul { padding-left: 20px; }
.prose a { color: var(--brass-deep); text-decoration: underline; }
.prose--lg { font-size: 1.08rem; }
.prose .callout { background: var(--cream); border-left: 3px solid var(--brass); padding: 10px 14px; font-size: 0.9rem; }

/* Language switcher */
.lang select { border: 0; background: transparent; color: var(--brass-light); font: inherit; font-size: 0.78rem; letter-spacing: 0.04em; cursor: pointer; padding: 0; }
.lang select option { color: var(--ink); }
.lang--menu { display: flex; align-items: center; gap: 10px; padding: 16px 0; }
.lang--menu label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.lang--menu select { color: var(--ink); border: 1px solid var(--line-strong); border-radius: 4px; padding: 8px 10px; font-size: 0.95rem; }
.nav__item--lang { display: none; }
@media (max-width: 900px) { .nav__item--lang { display: block; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --------------------------------------------------------------------------
   Cart, checkout, orders
   -------------------------------------------------------------------------- */

.cart__layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .cart__layout { grid-template-columns: 1fr; } }

.line { display: grid; grid-template-columns: 100px 1fr auto; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line--compact { grid-template-columns: 64px 1fr auto; padding: 14px 0; }
.line--warn { background: #fdf6f4; }
.line__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); border: 1px solid var(--line); }
.line__media img { width: 100%; height: 100%; object-fit: cover; }
.line__body h3 { font-size: 1.15rem; margin: 2px 0 2px; }
.line__unit { color: var(--muted); font-size: 0.9rem; margin: 0 0 10px; }
.line__options { list-style: none; margin: 0 0 6px; padding: 0; font-size: 0.88rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.line__options span, .line__personal span { color: var(--muted); }
.line__personal { font-size: 0.88rem; color: var(--ink-soft); margin: 0 0 6px; font-style: italic; }
.mini-lines__opts { display: block; color: var(--muted); font-size: 0.78rem; }
.line__warning { color: var(--error); font-size: 0.85rem; margin: 0 0 10px; }
.line__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.line__total { font-weight: 400; font-size: 1.05rem; white-space: nowrap; }
@media (max-width: 560px) { .line { grid-template-columns: 72px 1fr; } .line__total { grid-column: 2; } }

.summary { background: #fff; border: 1px solid var(--line); padding: 24px; }
.summary--sticky { position: sticky; top: 90px; }
.summary .h4 { margin-top: 0; }
.summary__continue { display: inline-block; margin-top: 16px; }
.summary__note { font-size: 0.8rem; color: var(--muted); margin: 16px 0 0; }

.totals { margin: 0 0 18px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.totals dt { color: var(--ink-soft); }
.totals dt small { color: var(--muted); font-size: 0.8rem; }
.totals dd { margin: 0; font-weight: 400; }
.totals__grand { font-size: 1.1rem !important; font-weight: 500; border-bottom: 0 !important; padding-top: 12px !important; }

.mini-lines { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.mini-lines li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; font-size: 0.92rem; }
.mini-lines img { width: 48px; height: 56px; object-fit: cover; border: 1px solid var(--line); }
.mini-lines small { color: var(--muted); }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.checkout > * { min-width: 0; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .summary--sticky { position: static; } }

fieldset { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
legend { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 14px; padding: 0; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; transition: border-color var(--transition); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(182, 137, 63, 0.15); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.field--check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brass); }
.field--check label { text-transform: none; letter-spacing: 0; font-size: 0.95rem; color: var(--ink-soft); }
.field--check label a { text-decoration: underline; }
.field--check .errorlist { grid-column: 2; }
.errorlist { list-style: none; margin: 6px 0 0; padding: 0; color: var(--error); font-size: 0.85rem; }
.form-error { color: var(--error); background: #fdf3f1; border: 1px solid #e8c1ba; padding: 10px 14px; border-radius: var(--radius); margin-bottom: 16px; font-size: 0.92rem; }
.form-error ul { margin: 0; padding-left: 18px; }

.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.pay-methods span { border: 1px solid var(--line-strong); padding: 5px 12px; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 2px; background: #fff; }
.test-mode { background: #fff8e1; border: 1px dashed var(--warning); color: var(--warning); padding: 10px 14px; font-size: 0.85rem; border-radius: var(--radius); }

.status-head { text-align: center; padding: 20px 0 36px; }
.status-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; font-size: 1.8rem; margin-bottom: 18px; font-family: var(--font-display); }
.status-head--ok .status-icon { background: #e8f3ea; color: var(--success); }
.status-head--pending .status-icon { background: #fdf8ec; color: var(--warning); }
.status-head--bad .status-icon { background: #fdf3f1; color: var(--error); }
.status-head .lead { max-width: 620px; margin-left: auto; margin-right: auto; }

.order-detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; border-top: 1px solid var(--line); padding-top: 24px; }
@media (max-width: 800px) { .order-detail { grid-template-columns: 1fr; } }
address { font-style: normal; color: var(--ink-soft); line-height: 1.7; margin-bottom: 8px; }

.mock-pay { max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--line); padding: 32px; }
.mock-pay h1 { font-size: 2.2rem; margin-top: 16px; margin-bottom: 4px; }
.mock-pay__card { margin: 20px 0; padding: 18px; background: var(--cream); border-radius: var(--radius); }
.mock-pay__actions { display: grid; gap: 10px; }
.mock-pay__actions .btn + .btn { margin-left: 0; }
.pay-window { max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--line); padding: 32px; text-align: center; }
.pay-window h1 { font-size: 2.4rem; margin: 8px 0 4px; }
.pay-window__status { margin: 18px 0; color: var(--ink-soft); min-height: 1.5em; }
.pay-window__actions { display: grid; gap: 10px; }
.pay-window__actions .btn + .btn { margin-left: 0; }
.pay-window__methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 20px 0 8px; }
.pay-window__methods span { border: 1px solid var(--line); padding: 3px 9px; border-radius: 2px; font-size: 0.75rem; letter-spacing: 0.04em; color: var(--ink-soft); }
@media (max-width: 560px) { .pay-window { padding: 22px 16px; } }

/* --------------------------------------------------------------------------
   Reviews carousel
   -------------------------------------------------------------------------- */

.reviews { background: var(--paper); }
.carousel { position: relative; }
.carousel__track {
  position: relative;
  display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  outline: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { box-shadow: 0 0 0 3px rgba(182, 137, 63, 0.35); }
@media (prefers-reduced-motion: reduce) { .carousel__track { scroll-behavior: auto; } }

/* One continuous panel: the words and the photos share the same tinted card, and the
   card runs the full width so the arrows sit on it rather than floating beside it. */
.review {
  flex: 0 0 100%; scroll-snap-align: start;
  display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 30px;
  min-height: 400px; padding: 30px 74px; background: var(--cream);
}
.review__card { display: flex; flex-direction: column; min-width: 0; }
/* A review with no photo keeps the same panel, but the words take the whole width
   instead of leaving a blank column beside them. */
.review__card:only-child { grid-column: 1 / -1; max-width: 760px; margin: 0 auto; }
.review__quote { font-family: var(--font-display); font-size: 5.5rem; line-height: 0.6; color: var(--brass); height: 44px; display: block; }
.stars { display: flex; gap: 3px; margin: 6px 0 14px; }
.star { fill: var(--line-strong); }
.star--on { fill: var(--brass-deep); }
.review__title { font-size: 1.35rem; margin-bottom: 6px; }
.review__body {
  font-size: 1.05rem; line-height: 1.6; color: var(--ink-soft); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.review__body.is-open { display: block; -webkit-line-clamp: unset; overflow: visible; }
.review__more { align-self: flex-start; background: none; border: 0; padding: 4px 0; color: var(--brass-deep); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.review__meta { margin: auto 0 0; padding-top: 18px; display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-size: 0.92rem; font-weight: 500; }
.review__check { color: var(--success); }
.review__loc { color: var(--muted); font-weight: 300; }
.review__product { align-self: flex-end; margin-top: 6px; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brass-deep); }

/* Customer photos are shown whole — never cropped or zoomed. Each keeps its own
   aspect ratio at a shared height, and the strip scrolls if they don't all fit. */
.review__photos { display: flex; gap: 22px; align-items: center; justify-content: center; height: 100%; padding: 28px 4px 4px; }

/* Each photo is clipped to the card like a print: white border, soft shadow, a steel
   paperclip over the top edge, and a slight tilt so it reads as physically attached. */
.review__photo {
  position: relative; margin: 0; flex: 0 1 auto; min-width: 0;
  background: #fff; padding: 9px 9px 12px;
  box-shadow: 0 8px 20px rgba(28, 24, 20, 0.16);
  transform: rotate(-1.4deg); transform-origin: top center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.review__photo:nth-child(even) { transform: rotate(1.6deg); }
.review__photo:nth-child(3n) { transform: rotate(-0.6deg); }
.review__photo:hover { transform: rotate(0deg) translateY(-2px); box-shadow: 0 12px 26px rgba(28, 24, 20, 0.22); }
/* The paperclip, drawn as it looks when it is actually holding a sheet: a narrow bend
   above the print whose right leg vanishes behind it at the top edge, and a wider U lying
   on the print whose right leg ends in the free tip. One continuous wire, built up in
   layers along its own path — dark rim, steel
   body, soft sheen, a thin specular line nudged up-left — so it reads as a round tube
   through the bends too, lit from above. */
.review__photo::after {
  content: ""; position: absolute; top: -24px; left: 50%; margin-left: -13px;
  width: 26px; height: 69px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 116' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cdefs%3E%3Cpath id='w' d='M30 38.5V20a11 11 0 0 0-22 0v76a15 15 0 0 0 30 0V58'/%3E%3C/defs%3E%3Cuse href='%23w' stroke='%2350555c' stroke-width='3.7' transform='translate(.25 .3)'/%3E%3Cuse href='%23w' stroke='%239ea3a9' stroke-width='2.7'/%3E%3Cuse href='%23w' stroke='%23d6dade' stroke-width='1.5' transform='translate(-.4 -.4)'/%3E%3Cuse href='%23w' stroke='%23fff' stroke-width='.6' transform='translate(-.65 -.65)'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0.6px 1.4px 0.9px rgba(28, 24, 20, 0.45));
}
/* Each photo keeps its own shape: sized from its natural ratio, shrunk to fit the row
   if several were uploaded. `contain` guarantees nothing is ever cropped or zoomed. */
.review__photo img { display: block; width: auto; height: auto; max-height: 270px; max-width: 100%; object-fit: contain; }

.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  transition: background var(--transition), color var(--transition);
}
.carousel__arrow:hover { background: var(--ink); color: #fff; }
/* Sit the arrows on the card itself, not in the empty space beside it. */
.carousel__arrow--prev { left: 14px; }
.carousel__arrow--next { right: 14px; }

.carousel__dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.carousel__dot { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: var(--line-strong); transition: width var(--transition), background var(--transition); }
.carousel__dot.is-active { width: 26px; background: var(--ink); }

@media (max-width: 900px) {
  .review { grid-template-columns: 1fr; min-height: 0; padding: 24px 20px 30px; gap: 20px; }
  .review__card { overflow: visible; }
  /* On a phone the row is narrow, so keep the photos a usable size and let the strip
     be swiped sideways instead of shrinking three of them into stamps. */
  .review__photos { height: auto; justify-content: flex-start; gap: 18px; padding: 26px 2px 4px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .review__photo { flex: 0 0 auto; scroll-snap-align: center; }
  .review__photo::after { top: -22px; margin-left: -12px; width: 24px; height: 64px; }
  .review__photo img { max-height: 230px; max-width: 74vw; }
  .carousel__arrow { width: 38px; height: 38px; top: auto; bottom: -8px; transform: none; }
  .carousel__arrow--prev { left: 0; }
  .carousel__arrow--next { right: 0; }
  .carousel__dots { margin-top: 18px; padding: 0 48px; }
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; line-height: 1.3;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--brass-deep); }
.faq__chevron { flex: 0 0 auto; color: var(--brass-deep); transition: transform var(--transition); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__a { padding: 0 4px 22px; max-width: 720px; }
.faq__a p { margin: 0; font-size: 1.02rem; }
.faq__cta { margin-top: 48px; padding: 32px; background: var(--cream); text-align: center; }
.faq__cta h2 { font-size: 1.6rem; margin-bottom: 0.4em; }
.faq__cta p { margin: 0; color: var(--ink-soft); }
.faq__cta a { color: var(--brass-deep); text-decoration: underline; }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.contact__info .h4:first-child { margin-top: 0; }
.contact__info p { color: var(--ink-soft); }
.contact__info .contact__legal { font-size: 0.85rem; color: var(--muted); }
.contact__form { background: #fff; border: 1px solid var(--line); padding: 32px; }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; gap: 32px; } .contact__form { padding: 20px; } }


/* --------------------------------------------------------------------------
   Accounts, wishlist, promo codes
   -------------------------------------------------------------------------- */

.account-link { position: relative; display: inline-flex; padding: 6px; color: var(--ink); }
.account-link:hover { color: var(--brass-deep); }
.account-link.has-badge::after { content: ""; position: absolute; top: 6px; right: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }

.auth { max-width: 520px; margin: 0 auto; }
.auth h1 { margin-bottom: 0.3em; }
.auth__alt { margin-top: 18px; font-size: 0.95rem; color: var(--ink-soft); }
.auth__alt a { color: var(--brass-deep); text-decoration: underline; }
.consent { margin: 22px 0 8px; padding: 16px 18px; background: var(--cream); border: 1px solid var(--line); display: grid; gap: 12px; }
.small { font-size: 0.85rem; }
.form--narrow { max-width: 560px; }
.form--narrow .btn + .btn { margin-left: 8px; }

.account { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.account__nav { position: sticky; top: 90px; border: 1px solid var(--line); background: #fff; padding: 20px; }
.account__who { margin: 0 0 14px; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; }
.account__who small { font-family: var(--font-body); font-size: 0.8rem; color: var(--muted); word-break: break-all; }
.account__nav nav { display: grid; }
.account__nav nav a { padding: 9px 0; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-soft); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.account__nav nav a:hover, .account__nav nav a.is-active { color: var(--brass-deep); }
.account__logout { margin-top: 14px; }
.account__main, .account__nav { min-width: 0; }
.account__main input[type=file] { max-width: 100%; }
.account__main h1 { margin-bottom: 0.4em; }
.account__main .h4 { margin-top: 32px; }
.account__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 8px; }
.tile { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.tile strong { font-family: var(--font-display); font-size: 1.8rem; color: var(--ink); letter-spacing: 0; text-transform: none; }
.tile:hover { border-color: var(--brass); }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--cream); color: var(--ink-soft); }
.pill--brass { background: var(--brass); color: #fff; }
.tag { display: inline-block; padding: 2px 8px; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; background: var(--cream); color: var(--ink-soft); border-radius: 2px; vertical-align: middle; }
.tag--brass { background: var(--brass); color: #fff; }
.tag--muted { background: var(--line); }

.panel { border: 1px solid var(--line); background: #fff; padding: 20px 22px; margin: 18px 0; }
.panel .h4 { margin-top: 0; }
.panel--soft { background: var(--cream); }
.panel--offer { border-color: var(--brass); }
.panel--warn { background: #fdf8ec; border-color: #e8d5a8; }
.panel p:last-child { margin-bottom: 0; }
.codes { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 6px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.95em; background: var(--cream); padding: 2px 8px; border: 1px dashed var(--brass); letter-spacing: 0.1em; }
.referral { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; word-break: break-all; }

.order-rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.order-row__main { display: grid; grid-template-columns: 150px 110px minmax(0, 1fr) 110px auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.order-row__main:hover .order-row__number { color: var(--brass-deep); }
.order-row__number { font-weight: 500; letter-spacing: 0.04em; }
.order-row__date { color: var(--muted); }
.order-row__items { color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-row__total { text-align: right; }
.status { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; background: var(--cream); color: var(--ink-soft); }
.status--lg { font-size: 0.8rem; padding: 6px 14px; }
.status--paid, .status--delivered { background: #e8f3ea; color: var(--success); }
.status--shipped { background: #e9eef8; color: #2c4a8a; }
.status--pending, .status--quote { background: #fdf8ec; color: var(--warning); }
.status--failed, .status--cancelled, .status--refunded { background: #fdf3f1; color: var(--error); }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.order-head h1 { margin-bottom: 0.1em; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); margin: 20px 0; counter-reset: step; }
.timeline__step { position: relative; text-align: center; padding-top: 22px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.timeline__step::before { content: ""; position: absolute; top: 6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong); z-index: 1; }
.timeline__step::after { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.timeline__step:first-child::after { display: none; }
.timeline__step.is-done { color: var(--ink); }
.timeline__step.is-done::before { background: var(--brass); border-color: var(--brass); }
.timeline__step.is-done::after { background: var(--brass); }

.thread { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.msg { max-width: 640px; padding: 14px 18px; margin: 12px 0; border: 1px solid var(--line); background: #fff; }
.msg--me { margin-left: auto; background: var(--cream); }
.msg__meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 6px; }
.msg__body { white-space: pre-wrap; }
.msg__attachment img { display: block; max-width: 240px; margin-top: 10px; border: 1px solid var(--line); }
.thread__form { margin-top: 18px; max-width: 640px; }
.review-block { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.review-form { border: 1px solid var(--line); background: #fff; margin: 12px 0; }
.review-form summary { cursor: pointer; padding: 14px 18px; font-family: var(--font-display); font-size: 1.1rem; }
.review-form form { padding: 0 18px 18px; max-width: 640px; }
.stars-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.stars-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.stars-input label { font-size: 1.8rem; color: var(--line-strong); cursor: pointer; line-height: 1; padding: 0 2px; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: var(--brass); }
.stars-input input:focus-visible + label { outline: 2px solid var(--brass); outline-offset: 2px; }

.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.address-card { border: 1px solid var(--line); background: #fff; padding: 18px; display: grid; gap: 8px; align-content: start; }
.address-card.is-default { border-color: var(--brass); }
.address-card address { font-style: normal; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; }
.address-card__actions { display: flex; gap: 14px; align-items: center; font-size: 0.9rem; }
.address-card__actions a { text-decoration: underline; color: var(--ink-soft); }
.link-btn--danger { color: var(--error); }
.btn--danger { background: var(--error); border-color: var(--error); color: #fff; }
.btn--danger:hover { background: #7f2d21; color: #fff; }
.account__main .page-head { padding: 0 0 16px; background: none; border: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.account__main .page-head h1 { margin: 0; }

.address-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 10px; margin-bottom: 8px; }
.address-pick { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line-strong); background: #fff; font-size: 0.88rem; color: var(--ink-soft); }
.address-pick strong { color: var(--ink); }
.address-pick.is-selected { border-color: var(--brass); box-shadow: inset 0 0 0 1px var(--brass); }
.field--inline-label { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.field--inline-label label { margin: 0; }
.fieldset--trade { border-color: var(--brass); }
.checkout__signin { margin: -8px 0 20px; }
.checkout__signin a { color: var(--brass-deep); text-decoration: underline; }
.claim { margin: 0 0 18px; }
.totals__discount dd { color: var(--success); white-space: nowrap; }

.promo { margin: 0 0 16px; }
.promo__label { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.promo__row { display: flex; gap: 8px; }
.promo__row input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); text-transform: uppercase; letter-spacing: 0.08em; }
.promo__applied { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: 0.92rem; color: var(--success); }

.card { position: relative; }
.wish { position: absolute; top: 10px; right: 10px; z-index: 2; }
.wish__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,0.92); color: var(--ink-soft); cursor: pointer; transition: color var(--transition), border-color var(--transition), transform var(--transition); }
.wish__btn:hover { color: var(--brass-deep); border-color: var(--brass); transform: scale(1.06); }
.wish__btn.is-saved { color: var(--brass-deep); border-color: var(--brass); }
.wish--lg { position: static; }
.wish--lg .wish__btn { width: auto; height: auto; border-radius: 999px; padding: 9px 16px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; background: #fff; }
.product__wish { margin: 14px 0 0; }
.badge--trade { background: var(--ink); color: var(--brass-light, #e6cf9c); top: auto; bottom: 12px; }

@media (max-width: 900px) {
  .account { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .account__nav { position: static; padding: 14px 16px; }
  .account__nav nav { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .account__tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tile { padding: 12px; font-size: 0.72rem; }
  .tile strong { font-size: 1.4rem; }
  .order-row__main { grid-template-columns: 1fr auto; grid-template-rows: auto auto; }
  .order-row__items { grid-column: 1 / -1; white-space: normal; }
  .order-row__date { grid-column: 2; grid-row: 1; text-align: right; }
  .order-row__total { grid-column: 1; text-align: left; }
  .status { grid-column: 2; justify-self: end; }
  .timeline__step { font-size: 0.68rem; }
}

/* Product tags / materials chips and tag filter */
.chips { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--ink-soft); transition: border-color var(--transition), color var(--transition); }
.chip:hover { border-color: var(--brass); color: var(--brass-deep); }
.chip--active { border-color: var(--brass); color: var(--brass-deep); background: var(--cream); }
.toolbar__filter { font-size: 0.85rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
/* "Message the studio" button + panel on the product page */
.product__wish { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0 0; }
.btn--pill { border: 1px solid var(--line-strong); background: #fff; color: var(--ink-soft); border-radius: 999px; padding: 9px 16px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.btn--pill:hover { border-color: var(--brass); color: var(--brass-deep); }
.btn--pill[aria-expanded="true"] { border-color: var(--brass); color: var(--brass-deep); background: var(--cream); }
.enquiry { margin-top: 20px; padding: 22px; border: 1px solid var(--line); background: #fff; }
.enquiry .h4 { margin-top: 0; }
.enquiry .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enquiry p.muted { font-size: 0.92rem; }
@media (max-width: 560px) { .enquiry { padding: 16px; } .enquiry .field-row { grid-template-columns: 1fr; } }
/* Terms acceptance notice next to the payment button (sign-in wrap) */
.terms-notice { margin: 12px 0 0; font-size: 0.82rem; line-height: 1.55; color: var(--muted); text-align: center; }
.terms-notice a { color: var(--brass-deep); text-decoration: underline; }
.terms-notice__custom { display: block; margin-top: 6px; color: var(--ink-soft); }
/* Tracking: the number is text you can copy, the link is a separate button */
.tracking { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.tracking--centred { justify-content: center; text-align: center; margin: 14px auto 0; padding: 16px 20px; border: 1px solid var(--line); background: #fff; max-width: 560px; }
.tracking--centred .tracking__details { align-items: center; }
.tracking__details { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tracking__label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tracking__number { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.05rem; letter-spacing: 0.08em; color: var(--ink); word-break: break-all; user-select: all; }
.tracking .muted { font-size: 0.82rem; }
@media (max-width: 560px) { .tracking { justify-content: flex-start; } .tracking .btn { width: 100%; } }
/* Customer's own review: photos and the edit/delete panel */
.review-photos { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 10px 0 0; }
.review-photos img { width: auto; max-width: 110px; height: 72px; object-fit: contain; border: 1px solid var(--line); background: var(--cream); }
.review-photos--edit { gap: 14px; }
.review-photos--edit li { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.review-photos--edit .field--check { display: flex; gap: 6px; align-items: center; font-size: 0.78rem; }
.review-photos--edit .field--check input { width: 15px; height: 15px; margin: 0; }
.review-form--edit { margin-top: 14px; background: #fff; }
.review-form--edit > summary { font-size: 0.95rem; font-family: var(--font-body); letter-spacing: 0.04em; color: var(--ink-soft); }
.review-form__delete { padding: 0 18px 18px; margin-top: -6px; }