/* ===========================================================================
   Rakesh Traders — "Luxury Stone & Architecture" design system
   ---------------------------------------------------------------------------
   Hand-written, no Bootstrap. The design is entirely bespoke, so a framework
   would only ship a grid and component library we override anyway — dead weight
   on the 4G handsets that make up most of our traffic.

   Theming: every colour resolves through a semantic token. Dark is the default
   because the black-marble look IS the brand's first impression; light is a
   deliberate opt-in via [data-theme="light"] on <html>.
   =========================================================================== */

/* --- Brand constants (identical in both themes) --------------------------- */

:root {
  --c-ink:         #111111;
  --c-ink-soft:    #1c1c1c;
  --c-gold:        #c8a34d;
  --c-gold-bright: #e0c176;
  --c-gold-dim:    #8f7436;
  --c-gold-deep:   #6f5827;
  --c-marble:      #f8f8f8;
  --c-accent:      #0e7490;
  --c-whatsapp:    #25d366;
  --c-whatsapp-ink:#05300f;

  --c-success: #3fa96a;
  --c-danger:  #d9534f;
  --c-warning: #d8a33c;

  /* Type scale — fluid, clamped at both ends */
  --f-display: clamp(2.25rem, 1.2rem + 4.4vw, 4.5rem);
  --f-h1:      clamp(1.85rem, 1.1rem + 3vw, 3rem);
  --f-h2:      clamp(1.5rem, 1.05rem + 1.9vw, 2.25rem);
  --f-h3:      clamp(1.2rem, 1rem + 0.9vw, 1.5rem);
  --f-body:    1rem;
  --f-sm:      0.875rem;
  --f-xs:      0.75rem;
  --f-2xs:     0.6875rem;

  /* System stack — zero network cost, and Devanagari renders natively for the
     Hindi locale. A webfont would cost ~80KB and block the first paint. */
  --font-sans:    system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif;
  --font-display: "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans Devanagari", sans-serif;

  --s-1: 0.25rem;  --s-2: 0.5rem;  --s-3: 0.75rem;
  --s-4: 1rem;     --s-5: 1.5rem;  --s-6: 2rem;
  --s-7: 3rem;     --s-8: 4rem;    --s-9: 6rem;

  --radius:    14px;
  --radius-sm: 8px;
  --radius-lg: 22px;

  --container:  1440px;   /* full-width commerce stage; text blocks cap themselves via ch */
  --topbar-h:   38px;
  --header-h:   68px;

  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Dark theme (default) ------------------------------------------------- */

:root,
:root[data-theme="dark"] {
  --c-bg:         #111111;
  --c-surface:    #191919;
  --c-surface-2:  #1c1c1c;
  --c-surface-3:  #232323;

  --c-text:       #ece9e4;
  --c-text-dim:   #a9a49b;
  --c-text-mute:  #7d786f;

  --c-border:     rgba(200, 163, 77, 0.22);
  --c-line:       #2e2e2e;

  /* Gold used as TEXT needs a different value per theme — see the light block. */
  --c-gold-text:  #c8a34d;

  --c-header-bg:  rgba(17, 17, 17, 0.86);
  --c-header-bg-solid: rgba(17, 17, 17, 0.97);
  --c-nav-panel:  rgba(17, 17, 17, 0.98);

  --c-glass-from: rgba(255, 255, 255, 0.07);
  --c-glass-to:   rgba(255, 255, 255, 0.02);

  --c-topbar-bg:  #0b0b0b;

  --hero-glow-1:  rgba(200, 163, 77, 0.16);
  --hero-glow-2:  rgba(14, 116, 144, 0.14);
  --hero-vein:    rgba(255, 255, 255, 0.05);
  --hero-vein-2:  rgba(255, 255, 255, 0.035);
  --hero-title-from: #ffffff;
  --hero-title-to:   #b9b2a5;

  --shadow-1:    0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-2:    0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 8px 28px rgba(200, 163, 77, 0.18);

  color-scheme: dark;
}

/* --- Light theme ---------------------------------------------------------- */

:root[data-theme="light"] {
  --c-bg:         #f8f8f8;
  --c-surface:    #ffffff;
  --c-surface-2:  #f1efea;
  --c-surface-3:  #e7e4dd;

  --c-text:       #17171a;
  --c-text-dim:   #55524b;
  --c-text-mute:  #78746b;

  --c-border:     rgba(143, 116, 54, 0.28);
  --c-line:       #e2ded5;

  /* #c8a34d on white is ~2.3:1 — fails WCAG AA for text. The deeper gold clears
     4.5:1 while still reading as the same brand accent. */
  --c-gold-text:  #7d6430;

  --c-header-bg:  rgba(248, 248, 248, 0.86);
  --c-header-bg-solid: rgba(255, 255, 255, 0.98);
  --c-nav-panel:  rgba(255, 255, 255, 0.99);

  --c-glass-from: rgba(255, 255, 255, 0.85);
  --c-glass-to:   rgba(255, 255, 255, 0.55);

  --c-topbar-bg:  #17171a;   /* stays dark: the gold-on-dark strip is brand signature */

  --hero-glow-1:  rgba(200, 163, 77, 0.22);
  --hero-glow-2:  rgba(14, 116, 144, 0.10);
  --hero-vein:    rgba(17, 17, 17, 0.05);
  --hero-vein-2:  rgba(17, 17, 17, 0.035);
  --hero-title-from: #17171a;
  --hero-title-to:   #6a6459;

  --shadow-1:    0 2px 10px rgba(23, 23, 26, 0.08);
  --shadow-2:    0 14px 36px rgba(23, 23, 26, 0.14);
  --shadow-gold: 0 8px 28px rgba(143, 116, 54, 0.20);

  color-scheme: light;
}

/* --- Reset ---------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--s-4));
}

body {
  min-height: 100vh;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: var(--f-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Themed via tokens, so the flip animates rather than snapping. */
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; font-family: var(--font-display); font-weight: 600; }
ul { list-style: none; padding: 0; }

/* The Hindi locale sets a slightly looser line-height: Devanagari has taller
   ascenders/descenders and 1.6 crowds the matras. */
:root[lang^="hi"] body { line-height: 1.75; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Utilities ------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-4);
}

@media (min-width: 768px) { .container { padding-inline: var(--s-5); } }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%; left: var(--s-4);
  z-index: 200;
  padding: var(--s-3) var(--s-4);
  background: var(--c-gold);
  color: var(--c-ink);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus { top: 0; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: currentColor;
  flex-shrink: 0;
}

.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.75em; height: 1.75em; }

.rule-gold {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
  opacity: 0.5;
}

/* ===========================================================================
   Topbar — offer strip + contact + switchers
   =========================================================================== */

.topbar {
  position: relative;
  z-index: 101;
  background: var(--c-topbar-bg);
  color: #d8d3c9;
  font-size: var(--f-2xs);
  border-bottom: 1px solid rgba(200, 163, 77, 0.18);
}

.topbar[hidden] { display: none; }

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: var(--topbar-h);
}

/* --- Rotating offer ------------------------------------------------------- */

.topbar__offer {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  min-width: 0;              /* lets the text truncate instead of pushing siblings out */
  color: var(--c-gold-bright);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.topbar__offer-icon {
  width: 1.1em; height: 1.1em;
  fill: currentColor;
  flex-shrink: 0;
  /* Three pulses to catch the eye on arrival, then it rests. An infinite loop
     repaints forever, which is a measurable battery cost on the low-end Androids
     that make up most of our traffic — and it reads as a marquee, not a showroom. */
  animation: tag-pulse 2.4s var(--ease) 3;
}

@keyframes tag-pulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.14); opacity: 0.82; }
}

.topbar__offer-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar__offer a { text-decoration: underline; text-underline-offset: 2px; }

/* --- Topbar right cluster ------------------------------------------------- */

.topbar__meta {
  display: flex;
  align-items: center;
  gap: var(--s-1);
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-3);
  border-radius: 999px;
  color: #cfcabf;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.topbar__link:hover {
  color: var(--c-gold-bright);
  background: rgba(200, 163, 77, 0.10);
}

.topbar__sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.14);
  margin-inline: var(--s-1);
}

/* --- Switch controls (shared by lang + theme) ----------------------------- */

.switch {
  position: relative;
}

.switch__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 30px;
  padding: var(--s-1) var(--s-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #cfcabf;
  font-size: var(--f-2xs);
  font-weight: 600;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.switch__btn:hover {
  color: var(--c-gold-bright);
  border-color: rgba(200, 163, 77, 0.5);
  background: rgba(200, 163, 77, 0.08);
}

.switch__caret {
  width: 0.7em; height: 0.7em;
  fill: currentColor;
  transition: transform 0.25s var(--ease);
}

.switch__btn[aria-expanded="true"] .switch__caret { transform: rotate(180deg); }

/* --- Language dropdown ---------------------------------------------------- */

.switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  min-width: 148px;
  padding: var(--s-2);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-2);

  /* Animate from a collapsed state rather than display:none, so it eases open. */
  transform-origin: top right;
  transform: translateY(-6px) scale(0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease-out), visibility 0.2s;
}

.switch__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.switch__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  width: 100%;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--radius-sm);
  color: var(--c-text);
  font-size: var(--f-xs);
  text-align: left;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.switch__option:hover { background: var(--c-surface-3); color: var(--c-gold-text); }

.switch__option[aria-current="true"] {
  color: var(--c-gold-text);
  font-weight: 700;
}

.switch__option-native { font-weight: 600; }

.switch__check { width: 0.9em; height: 0.9em; fill: currentColor; opacity: 0; }
.switch__option[aria-current="true"] .switch__check { opacity: 1; }

/* --- Theme toggle --------------------------------------------------------- */

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #cfcabf;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.theme-toggle:hover {
  color: var(--c-gold-bright);
  border-color: rgba(200, 163, 77, 0.5);
  background: rgba(200, 163, 77, 0.08);
}

/* Owner/staff login — same pill as the theme toggle so it reads as part of
   the utility cluster, not a marketing CTA competing for customer attention. */
.topbar__admin { flex-shrink: 0; }

/* Both icons occupy the same cell; the active theme decides which is on stage. */
.theme-toggle__icon {
  grid-area: 1 / 1;
  width: 15px; height: 15px;
  fill: currentColor;
  transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease);
}

.theme-toggle__icon--sun  { transform: rotate(0deg)   scale(1);   opacity: 1; }
.theme-toggle__icon--moon { transform: rotate(-90deg) scale(0.4); opacity: 0; }

:root[data-theme="light"] .theme-toggle__icon--sun  { transform: rotate(90deg) scale(0.4); opacity: 0; }
:root[data-theme="light"] .theme-toggle__icon--moon { transform: rotate(0deg)  scale(1);   opacity: 1; }

/* --- Topbar responsive ---------------------------------------------------- */

/* On a phone the offer strip is the only part worth the vertical space; the
   contact links duplicate the sticky CTA that is already pinned to the bottom. */
@media (max-width: 767px) {
  .topbar__meta-contact { display: none; }
  .topbar__offer-text   { font-size: var(--f-2xs); }
}

@media (max-width: 420px) {
  .topbar__sep { display: none; }
}

/* ===========================================================================
   Header
   =========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-header-bg);
  border-bottom: 1px solid var(--c-line);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}

@supports (backdrop-filter: blur(10px)) {
  .site-header { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}

.site-header.is-scrolled {
  background: var(--c-header-bg-solid);
  border-bottom-color: var(--c-border);
  box-shadow: var(--shadow-1);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: var(--header-h);
}

.site-header__brand { display: flex; align-items: center; gap: var(--s-3); }

.site-header__brand-mark {
  width: 40px; height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(var(--shadow-gold));
}

.site-header__brand-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-header__brand-text small {
  display: block;
  font-size: var(--f-2xs);
  color: var(--c-gold-text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header__actions { display: flex; align-items: center; gap: var(--s-2); }

.site-header__toggle {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease);
}

.site-header__toggle:hover { border-color: var(--c-border); }

.site-header__burger,
.site-header__burger::before,
.site-header__burger::after {
  display: block;
  width: 18px; height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform 0.28s var(--ease-out), opacity 0.2s var(--ease);
}

.site-header__burger { position: relative; }
.site-header__burger::before, .site-header__burger::after { content: ""; position: absolute; left: 0; }
.site-header__burger::before { top: -6px; }
.site-header__burger::after  { top: 6px; }

[aria-expanded="true"] .site-header__burger { background: transparent; }
[aria-expanded="true"] .site-header__burger::before { transform: translateY(6px) rotate(45deg); }
[aria-expanded="true"] .site-header__burger::after  { transform: translateY(-6px) rotate(-45deg); }

/* --- Search --------------------------------------------------------------- */

.site-header__search { flex: 1; max-width: 340px; }

/* On a phone the search box would crowd the brand and the burger; the results
   page has its own search field, and the nav is one tap away. */
@media (max-width: 767px) { .site-header__search { display: none; } }

.search { position: relative; }

.search__form {
  position: relative;
  display: flex;
  align-items: center;
}

.search__icon {
  position: absolute;
  left: var(--s-3);
  width: 1em; height: 1em;
  fill: var(--c-text-mute);
  pointer-events: none;
}

.search__input {
  width: 100%;
  min-height: 40px;
  padding: var(--s-2) var(--s-8) var(--s-2) var(--s-7);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-surface);
  color: var(--c-text);
  font-size: var(--f-sm);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.search__input::placeholder { color: var(--c-text-mute); }
.search__input:focus { border-color: var(--c-gold); background: var(--c-bg); }

/* Kill the browser's own clear button — we render our own that matches. */
.search__input::-webkit-search-cancel-button { display: none; }

.search__clear {
  position: absolute;
  right: var(--s-2);
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  color: var(--c-text-mute);
}

.search__clear:hover { color: var(--c-text); background: var(--c-surface-3); }

.search__results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  z-index: 120;
  max-height: min(60vh, 420px);
  overflow-y: auto;
  /* Keyboard nav moves focus with .focus(), which scrolls an off-screen
     option into view on its own — this just makes that scroll glide instead
     of jumping. Disabled under reduced-motion below. */
  scroll-behavior: smooth;
  padding: var(--s-2);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

@media (prefers-reduced-motion: reduce) {
  .search__results { scroll-behavior: auto; }
}

.search__results[hidden] { display: none; }

.search__hit {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-2);
  border-radius: var(--radius-sm);
  transition: background-color 0.15s var(--ease);
}

.search__hit:hover, .search__hit:focus-visible { background: var(--c-surface-3); }

.search__hit-img {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--c-surface-3);
  flex-shrink: 0;
}

.search__hit-text { display: grid; gap: 2px; min-width: 0; flex: 1; }

.search__hit-name {
  font-size: var(--f-sm);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search__hit-meta { font-size: var(--f-2xs); color: var(--c-text-mute); }

.search__hit-price {
  font-size: var(--f-xs);
  font-weight: 700;
  color: var(--c-gold-text);
  white-space: nowrap;
}

.search__more {
  display: block;
  margin-top: var(--s-2);
  padding: var(--s-3);
  border-top: 1px solid var(--c-line);
  text-align: center;
  font-size: var(--f-xs);
  font-weight: 600;
  color: var(--c-gold-text);
}

.search__more:hover { background: var(--c-surface-3); }

.search__empty {
  padding: var(--s-4);
  text-align: center;
  font-size: var(--f-sm);
  color: var(--c-text-dim);
}

/* --- Nav ------------------------------------------------------------------ */

.site-nav {
  position: fixed;
  inset: calc(var(--header-h)) 0 auto 0;
  display: grid;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-4) var(--s-6);
  background: var(--c-nav-panel);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-2);
  transform: translateY(-120%);
  visibility: hidden;
  transition: transform 0.32s var(--ease-out), visibility 0.32s;
}

.site-nav.is-open { transform: translateY(0); visibility: visible; }

.site-nav__list { display: grid; gap: var(--s-1); }

.site-nav__list a {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-2);
  border-bottom: 1px solid var(--c-line);
  font-weight: 500;
  transition: color 0.18s var(--ease), padding-left 0.18s var(--ease);
}

.site-nav__list a:hover { color: var(--c-gold-text); padding-left: var(--s-4); }
.site-nav__icon { width: 1.1em; height: 1.1em; fill: currentColor; opacity: 0.65; }

@media (min-width: 1024px) {
  .site-header__toggle { display: none; }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: var(--s-5);
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    transform: none;
    visibility: visible;
  }

  .site-nav__list { display: flex; align-items: center; gap: var(--s-5); }

  .site-nav__icon { display: none; }

  .site-nav__list a {
    position: relative;
    padding: var(--s-2) 0;
    border: 0;
    font-size: var(--f-sm);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .site-nav__list a:hover { padding-left: 0; }

  /* Gold underline drawing in from the left. */
  .site-nav__list a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 1px;
    background: var(--c-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
  }

  .site-nav__list a:hover::after,
  .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }

  .site-nav__cta { display: none; }
}

/* ===========================================================================
   Buttons
   =========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  /* 48px min target: phone-first, and these buttons ARE the product. */
  min-height: 48px;
  padding: var(--s-3) var(--s-5);
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--f-sm);
  letter-spacing: 0.02em;
  text-align: center;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--sm { min-height: 40px; padding: var(--s-2) var(--s-4); font-size: var(--f-xs); }

.btn--gold {
  background: linear-gradient(135deg, var(--c-gold-bright), var(--c-gold));
  color: var(--c-ink);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover { box-shadow: 0 12px 34px rgba(200, 163, 77, 0.3); }

.btn--ghost { background: transparent; border-color: var(--c-border); color: var(--c-text); }
.btn--ghost:hover { border-color: var(--c-gold); background: rgba(200, 163, 77, 0.08); }

.btn--whatsapp { background: var(--c-whatsapp); color: var(--c-whatsapp-ink); }
.btn--whatsapp:hover { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.28); }

.btn--block { width: 100%; }

/* --- Glass card ----------------------------------------------------------- */

.glass {
  background: linear-gradient(160deg, var(--c-glass-from), var(--c-glass-to));
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

/* backdrop-filter is a real GPU cost on low-end Androids; the gradient alone
   still reads as glass, so only the desktop breakpoint pays for it. */
@media (min-width: 1024px) {
  .glass { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}

/* ===========================================================================
   Hero — headline beside a wall of real tile
   =========================================================================== */

.hero {
  position: relative;
  display: grid;
  align-items: center;
  padding-block: var(--s-7) var(--s-8);
  overflow: hidden;
  background:
    radial-gradient(70% 55% at 78% 12%, var(--hero-glow-1), transparent 62%),
    radial-gradient(55% 45% at 5% 92%, var(--hero-glow-2), transparent 62%),
    var(--c-bg);
}

/* Marble veining drawn in CSS. A hero JPEG would cost 200KB+ before the headline
   paints; this costs nothing and never blocks LCP. */
.hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(115deg, transparent 42%, var(--hero-vein) 45%, transparent 48%),
    linear-gradient(155deg, transparent 62%, var(--hero-vein-2) 65%, transparent 69%),
    linear-gradient(75deg,  transparent 22%, rgba(200, 163, 77, 0.05) 25%, transparent 29%);
}

.hero__grid {
  position: relative;
  display: grid;
  gap: var(--s-7);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero { min-height: min(90vh, 780px); }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: var(--s-8); }
}

.hero__content { max-width: 60ch; }

/* --- Live open/closed badge (shared: hero, contact, footer) --------------- */

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: var(--c-surface);
  font-size: var(--f-2xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

.hero__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
}

.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  padding: var(--s-2) var(--s-4);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: var(--c-surface);
  font-size: var(--f-2xs);
  color: var(--c-text-dim);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.reviews-badge:hover { border-color: var(--c-gold); color: var(--c-text); }
.reviews-badge strong { color: var(--c-text); font-size: var(--f-xs); }
.reviews-badge__star { color: var(--c-gold); width: 0.9em; height: 0.9em; }

.reviews-strip {
  display: flex;
  justify-content: center;
  padding-top: var(--s-6);
}

.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot--open {
  background: var(--c-success);
  box-shadow: 0 0 0 0 rgba(63, 169, 106, 0.6);
  animation: pulse-dot 2.6s ease-out infinite;
}

.status-dot--shut { background: var(--c-text-mute); }

@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(63, 169, 106, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(63, 169, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 169, 106, 0); }
}

/* The one infinite animation on the page. It is 7px, GPU-cheap, and it is the
   signal that the shop is open right now — the whole point of the badge. */
@media (prefers-reduced-motion: reduce) {
  .status-dot--open { animation: none; }
}

/* --- Headline ------------------------------------------------------------- */

.hero__title {
  font-size: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.hero__title-line { display: block; }

.hero__title-line--accent {
  background: linear-gradient(100deg, var(--c-gold-bright), var(--c-gold) 45%, var(--c-gold-dim));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* The non-accent line needs its own gradient so it reads as stone, not flat ink. */
.hero__title-line:not(.hero__title-line--accent) {
  background: linear-gradient(180deg, var(--hero-title-from) 25%, var(--hero-title-to) 105%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text {
  margin-top: var(--s-5);
  max-width: 52ch;
  color: var(--c-text-dim);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* --- Hero facts ----------------------------------------------------------- */

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-line);
}

.fact-pill { display: grid; gap: 2px; }

.fact-pill dt {
  order: 2;
  font-size: var(--f-2xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-mute);
}

.fact-pill dd {
  order: 1;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-gold-text);
  line-height: 1;
}

.fact-pill + .fact-pill { padding-left: var(--s-3); border-left: 1px solid var(--c-line); }

/* ===========================================================================
   Tile wall — the hero's right side
   ---------------------------------------------------------------------------
   Real stock, stacked like tiles on a showroom wall. The gaps are the grout, and
   the whole thing tilts slightly so it reads as a wall rather than a gallery.
   =========================================================================== */

.tile-wall {
  display: none;   /* desktop-only: on a phone it would push the CTA below the fold */
}

@media (min-width: 1024px) {
  .tile-wall {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 108px);
    gap: 10px;                      /* the grout line */
    transform: perspective(1400px) rotateY(-9deg) rotateX(3deg) rotateZ(-1.5deg);
    transform-style: preserve-3d;
  }
}

@media (min-width: 1280px) {
  .tile-wall { grid-template-rows: repeat(3, 132px); }
}

.tile-wall__cell {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: var(--c-surface-3);
  box-shadow: var(--shadow-1);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease);
}

/* An asymmetric stack — a regular 3x3 would read as a spreadsheet. */
.tile-wall__cell--1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.tile-wall__cell--2 { grid-column: 3;     grid-row: 1; }
.tile-wall__cell--3 { grid-column: 3;     grid-row: 2; }
.tile-wall__cell--4 { grid-column: 1;     grid-row: 3; }
.tile-wall__cell--5 { grid-column: 2 / 4; grid-row: 3; }

.tile-wall__cell::after {
  content: "";
  position: absolute;
  inset: 0;
  /* A gold sheen across the stone, like showroom lighting. */
  background: linear-gradient(120deg, transparent 40%, rgba(200, 163, 77, 0.18) 50%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.tile-wall__cell:hover { transform: translateZ(24px); box-shadow: var(--shadow-2); }
.tile-wall__cell:hover::after { opacity: 1; }

.tile-wall__cell picture,
.tile-wall__cell .tile-wall__img { width: 100%; height: 100%; object-fit: cover; }

/* No photos yet — degrade to a stone-coloured tile rather than a broken frame. */
.tile-wall__cell--empty {
  background:
    linear-gradient(135deg, rgba(200, 163, 77, 0.10), transparent 60%),
    var(--c-surface-3);
  border: 1px solid var(--c-line);
}

/* ===========================================================================
   Brand strip
   =========================================================================== */

.brand-strip {
  border-block: 1px solid var(--c-line);
  background: var(--c-surface-2);
  padding-block: var(--s-4);
  overflow: hidden;
}

.brand-strip__inner { display: flex; align-items: center; gap: var(--s-5); }

.brand-strip__label {
  flex-shrink: 0;
  font-size: var(--f-2xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-mute);
}

@media (max-width: 640px) { .brand-strip__label { display: none; } }

.marquee {
  position: relative;
  flex: 1;
  overflow: hidden;
  /* Fade the ends so names enter and leave rather than being sliced off. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee__track {
  display: flex;
  gap: var(--s-6);
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

/* Stop entirely for reduced motion and let it wrap — a scrolling strip is a
   vestibular trigger, and the brand names still need to be readable. */
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; gap: var(--s-2) var(--s-4); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }   /* the track is duplicated once */
}

.marquee__item {
  display: block;
  padding: var(--s-1) 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-text-mute);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.marquee__item:hover { color: var(--c-gold-text); }

/* ===========================================================================
   Section heads
   =========================================================================== */

.section { padding-block: var(--s-8); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
}

.section-head__eyebrow {
  font-size: var(--f-2xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold-text);
  margin-bottom: var(--s-2);
}

.section-head__title {
  font-size: var(--f-h2);
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--c-border);
  font-size: var(--f-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), gap 0.2s var(--ease);
}

.link-arrow:hover { color: var(--c-gold-text); border-color: var(--c-gold); gap: var(--s-3); }

/* Kept for pages that still use the older heading. */
.section__title { font-size: var(--f-h2); letter-spacing: -0.01em; }

.section__title::after {
  content: "";
  display: block;
  width: 56px; height: 2px;
  margin-top: var(--s-3);
  background: linear-gradient(90deg, var(--c-gold), transparent);
}

.section__lead { max-width: 62ch; margin-top: var(--s-4); color: var(--c-text-dim); }

/* ===========================================================================
   Bento — the categories, laid out as tiles with gold grout
   =========================================================================== */

.bento {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: 1fr;
}

@media (min-width: 640px)  { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
  }

  /* Two hero tiles, then a run of smaller ones — the asymmetry is what makes it
     read as a tiled wall instead of a grid of boxes. */
  .bento__cell--a { grid-column: span 2; grid-row: span 2; }
  .bento__cell--b { grid-column: span 2; }
  .bento__cell--c,
  .bento__cell--d { grid-column: span 1; }
  .bento__cell--e { grid-column: span 2; }
  .bento__cell--f { grid-column: span 2; }
}

.bento__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--s-3);
  min-height: 160px;
  padding: var(--s-5);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, var(--c-glass-from), var(--c-glass-to)),
    var(--c-surface);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease-out);
}

.bento__cell:hover { border-color: var(--c-gold); transform: translateY(-3px); }

/* A gold bloom that follows nothing — it just warms the corner on hover. */
.bento__glow {
  position: absolute;
  top: -40%; right: -20%;
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 163, 77, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.bento__cell:hover .bento__glow { opacity: 1; }

.bento__icon {
  width: 30px; height: 30px;
  fill: var(--c-gold-text);
  margin-bottom: auto;
  transition: transform 0.3s var(--ease-out);
}

.bento__cell:hover .bento__icon { transform: scale(1.12) rotate(-4deg); }

.bento__body { display: grid; gap: 4px; }

.bento__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.bento__cell--a .bento__name { font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); }

.bento__count {
  font-size: var(--f-2xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-mute);
}

.bento__arrow {
  position: absolute;
  top: var(--s-5); right: var(--s-5);
  width: 18px; height: 18px;
  fill: var(--c-text-mute);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.bento__cell:hover .bento__arrow { opacity: 1; transform: none; fill: var(--c-gold-text); }

/* ===========================================================================
   Why us
   =========================================================================== */

.why-bento {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: 1fr;
}

@media (min-width: 640px)  { .why-bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .why-bento { grid-template-columns: repeat(3, 1fr); }
  .why-card--wide { grid-column: span 2; }
}

.why-card {
  display: grid;
  gap: var(--s-3);
  align-content: start;
  padding: var(--s-5);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  transition: border-color 0.3s var(--ease);
}

.why-card:hover { border-color: var(--c-border); }
.why-card__icon { width: 26px; height: 26px; fill: var(--c-gold-text); }
.why-card__title { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.why-card__text { font-size: var(--f-sm); color: var(--c-text-dim); }

/* --- Specialty cards (About page "what we deal in") ----------------------- */

.specialty-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}

@media (min-width: 640px)  { .specialty-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .specialty-grid { grid-template-columns: repeat(3, 1fr); } }

.specialty-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  overflow: hidden;
  /* Matches the .card / .article-card family: same lift, same easing, so the
     three card types read as one system rather than three near-misses. */
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.specialty-card:hover { transform: translateY(-3px); border-color: var(--c-border); box-shadow: var(--shadow-1); }

.specialty-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-surface-2); }
.specialty-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.specialty-card:hover .specialty-card__media img { transform: scale(1.05); }

/* Categories without a real photo (yet) get a large icon on a tinted field
   instead — an honest placeholder, not a stretched or fabricated image. */
.specialty-card__media--icon { display: grid; place-items: center; background: linear-gradient(150deg, rgba(200, 163, 77, 0.14), rgba(200, 163, 77, 0.03)); }
.specialty-card__media--icon .icon { width: 25%; height: 25%; fill: var(--c-gold-text); opacity: 0.85; }

.specialty-card__body { display: grid; gap: var(--s-2); align-content: start; padding: var(--s-5); }
.specialty-card__title { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; transition: color 0.2s var(--ease); }
.specialty-card:hover .specialty-card__title { color: var(--c-gold-text); }
.specialty-card__text { font-size: var(--f-sm); color: var(--c-text-dim); line-height: 1.65; }

.specialty-detail__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
}

/* --- Article cards (Tips & Guides list) — same shape as specialty cards --- */

.article-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}

@media (min-width: 640px)  { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .article-grid { grid-template-columns: repeat(3, 1fr); } }

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.2s var(--ease);
}

.article-card:hover { box-shadow: var(--shadow-1); transform: translateY(-3px); border-color: var(--c-border); }

.article-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-surface-2); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__media--icon { display: grid; place-items: center; background: linear-gradient(150deg, rgba(200, 163, 77, 0.14), rgba(200, 163, 77, 0.03)); }
.article-card__media--icon .icon { width: 25%; height: 25%; fill: var(--c-gold-text); opacity: 0.85; }

.article-card__body { display: grid; gap: var(--s-2); align-content: start; padding: var(--s-5); }
.article-card__date { font-size: var(--f-2xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-text-mute); }
.article-card__title { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; transition: color 0.2s var(--ease); }
.article-card:hover .article-card__title { color: var(--c-gold-text); }
.article-card__excerpt { font-size: var(--f-sm); color: var(--c-text-dim); line-height: 1.65; }

.specialty-detail__img { width: 100%; height: 100%; object-fit: cover; }

/* ===========================================================================
   Closing CTA band
   =========================================================================== */

.cta-band {
  position: relative;
  margin-top: var(--s-8);
  padding-block: var(--s-8);
  overflow: hidden;
  border-block: 1px solid var(--c-border);
  background:
    radial-gradient(60% 120% at 20% 0%, rgba(200, 163, 77, 0.14), transparent 60%),
    var(--c-surface-2);
}

.cta-band__inner {
  display: grid;
  gap: var(--s-5);
  align-items: center;
}

@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: 1.4fr auto; gap: var(--s-7); }
}

.cta-band__title { font-size: var(--f-h2); letter-spacing: -0.02em; }
.cta-band__text { margin-top: var(--s-3); max-width: 58ch; color: var(--c-text-dim); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ===========================================================================
   Sticky mobile CTA
   =========================================================================== */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--c-line);
  border-top: 1px solid var(--c-border);
  padding-bottom: env(safe-area-inset-bottom);
}

.sticky-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 54px;
  font-weight: 700;
  font-size: var(--f-sm);
}

.sticky-cta__btn--call     { background: var(--c-gold); color: var(--c-ink); }
.sticky-cta__btn--whatsapp { background: var(--c-whatsapp); color: var(--c-whatsapp-ink); }

@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* Keep the pinned bar from covering the last element on phones. */
@media (max-width: 1023px) {
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom)); }
}

/* ===========================================================================
   Cookie consent banner
   =========================================================================== */

.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 95; /* above .sticky-cta's 90 — never hidden behind the call/WhatsApp bar */
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  box-shadow: var(--shadow-2);
  padding: var(--s-4);
  padding-bottom: calc(var(--s-4) + env(safe-area-inset-bottom));
}

.cookie-banner[hidden] { display: none; }

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.cookie-banner__text {
  flex: 1 1 260px;
  font-size: var(--f-xs);
  color: var(--c-text-dim);
  margin: 0;
}

.cookie-banner__text a { color: var(--c-gold-text); text-decoration: underline; }

.cookie-banner__actions {
  display: flex;
  gap: var(--s-2);
  flex-shrink: 0;
}

/* On phones the call/WhatsApp bar already owns the very bottom edge — stack
   the cookie banner above it, not underneath it. */
@media (max-width: 1023px) {
  .cookie-banner { bottom: calc(54px + env(safe-area-inset-bottom)); }
}

/* ===========================================================================
   Footer
   =========================================================================== */

.site-footer {
  margin-top: var(--s-9);
  background: var(--c-surface-2);
  border-top: 1px solid var(--c-border);
}

/* --- Footer CTA band ------------------------------------------------------ */

.footer-cta {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--c-line);
  background:
    radial-gradient(60% 140% at 85% 0%, rgba(200, 163, 77, 0.12), transparent 60%),
    var(--c-surface);
}

.footer-cta__inner {
  display: grid;
  gap: var(--s-4);
  align-items: center;
  padding-block: var(--s-6);
}

@media (min-width: 820px) {
  .footer-cta__inner { grid-template-columns: 1fr auto; gap: var(--s-6); }
}

.footer-cta__eyebrow {
  font-family: var(--font-display);
  font-size: var(--f-h3);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-text);
}

.footer-cta__line { margin-top: var(--s-2); color: var(--c-text-dim); font-size: var(--f-sm); max-width: 52ch; }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* --- Footer grid ---------------------------------------------------------- */

.site-footer__grid { display: grid; gap: var(--s-6); padding-block: var(--s-7); }

@media (min-width: 768px)  { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

.site-footer__col--brand { max-width: 40ch; }

.site-footer__logo { display: inline-flex; align-items: center; gap: var(--s-3); }

.site-footer__logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-text);
}

.site-footer__logo-text small {
  display: block;
  font-size: var(--f-2xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gold-text);
}

.site-footer__tagline { color: var(--c-text-dim); font-size: var(--f-sm); margin-top: var(--s-3); }

.site-footer__status { margin-top: var(--s-4); }

.site-footer__heading {
  font-size: var(--f-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold-text);
  margin-bottom: var(--s-3);
}

.site-footer__address { font-style: normal; color: var(--c-text-dim); font-size: var(--f-sm); }
.site-footer__col p { font-size: var(--f-sm); color: var(--c-text-dim); }
.site-footer__col a { transition: color 0.18s var(--ease); }
.site-footer__col a:hover { color: var(--c-gold-text); }

.site-footer__contact { display: grid; gap: var(--s-2); margin-top: var(--s-3); }

.site-footer__contact a { display: inline-flex; align-items: center; gap: var(--s-2); }

.site-footer__links { display: grid; gap: var(--s-2); font-size: var(--f-sm); }
.site-footer__links--inline { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); }

.site-footer__social { display: flex; gap: var(--s-2); margin-top: var(--s-4); }

.site-footer__social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  color: var(--c-text-dim);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.site-footer__social a:hover {
  color: var(--c-gold-text);
  border-color: var(--c-gold);
  transform: translateY(-2px);
}

.site-footer__bar { border-top: 1px solid var(--c-line); padding-block: var(--s-4); }

.site-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  font-size: var(--f-xs);
  color: var(--c-text-mute);
}

.site-footer__legal { display: flex; gap: var(--s-4); }

/* --- Developer credit ----------------------------------------------------- */

.site-credit {
  border-top: 1px solid var(--c-line);
  background: var(--c-bg);
  padding-block: var(--s-4);
}

.site-credit__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-2) var(--s-4);
  text-align: center;
  font-size: var(--f-2xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-mute);
}

/* The credit is a small, tasteful business card — a tap-to-call link to the
   developer, not a shouty banner. */
.site-credit__card {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-2) var(--s-4);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-surface);
  text-transform: none;
  letter-spacing: normal;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.site-credit__card:hover { border-color: var(--c-gold); transform: translateY(-2px); }

.site-credit__mark {
  width: 18px; height: 18px;
  fill: var(--c-gold-text);
  flex-shrink: 0;
}

.site-credit__co { display: grid; text-align: left; }
.site-credit__co strong { font-size: var(--f-xs); font-weight: 700; color: var(--c-gold-text); }
.site-credit__co small { font-size: var(--f-2xs); color: var(--c-text-dim); }

/* ===========================================================================
   Home: category tiles + why-choose-us
   =========================================================================== */

.cat-grid {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-6);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
}

.cat-tile {
  position: relative;
  display: grid;
  gap: var(--s-2);
  padding: var(--s-5);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.cat-tile:hover {
  transform: translateY(-4px);
  border-color: var(--c-gold);
  box-shadow: var(--shadow-gold);
}

.cat-tile__icon { width: 32px; height: 32px; fill: var(--c-gold-text); }
.cat-tile__name { font-weight: 700; font-size: 1.05rem; }
.cat-tile__count { font-size: var(--f-2xs); color: var(--c-text-mute); text-transform: uppercase; letter-spacing: 0.08em; }

.cat-tile__arrow {
  position: absolute;
  top: var(--s-5); right: var(--s-5);
  width: 18px; height: 18px;
  fill: var(--c-text-mute);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.cat-tile:hover .cat-tile__arrow { opacity: 1; transform: translateX(0); fill: var(--c-gold-text); }

.why-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.why { display: grid; gap: var(--s-2); }
.why__icon { width: 28px; height: 28px; fill: var(--c-gold-text); }
.why__title { font-size: 1rem; font-weight: 600; }
.why__text { font-size: var(--f-sm); color: var(--c-text-dim); }

/* ===========================================================================
   Hero slider (optional, banner-driven)
   ---------------------------------------------------------------------------
   A contained card at the site's standard --container width, not full-bleed —
   matches every other section on the page instead of breaking out of the grid.
   =========================================================================== */

.slider-section { padding-top: var(--s-5); }

.slider {
  position: relative;
  overflow: hidden;
  background: var(--c-ink);
  border-radius: var(--radius-lg);
}

.slider__track { display: flex; }

/* No-JS fallback: slides stack and the strip scrolls. JS switches to a fade. */
.slide {
  position: relative;
  flex: 0 0 100%;
  min-height: min(52vh, 440px);
  display: grid;
  align-items: end;
}

.js .slider__track { display: block; }
.js .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.7s var(--ease); }
.js .slide.is-active { position: relative; opacity: 1; visibility: visible; }

.slide__img, .slide picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.slide__veil {
  position: absolute; inset: 0;
  /* Vertical, not horizontal: content now sits at the bottom of a contained
     card rather than the left edge of a full-bleed image, so the fade needs
     to darken the bottom third, not one side. */
  background: linear-gradient(0deg, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.55) 40%, rgba(17,17,17,0.05) 75%);
}

.slide__content {
  position: relative;
  max-width: 640px;
  padding: var(--s-5);
}

@media (min-width: 768px) { .slide__content { padding: var(--s-6); } }

.slide__title {
  font-size: clamp(1.6rem, 3.4vw, var(--f-display)); font-weight: 700; letter-spacing: -0.02em; color: #fff;
  background: linear-gradient(180deg, #fff 30%, #cabfa6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.slide__text { margin-top: var(--s-3); max-width: 46ch; color: #e7e2d8; font-size: 1.05rem; }
.slide__content .btn { margin-top: var(--s-4); }

.slider__arrow {
  /* Anchored in the upper third, not dead-centre: content is bottom-aligned
     (.slide align-items: end) and can run to two or three lines, so a
     vertically-centred arrow collides with the title on longer slides. The
     image itself has no text up here, so this is always a clear zone. */
  position: absolute; top: 30%; transform: translateY(-50%);
  z-index: 3; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(17,17,17,0.55); border: 1px solid var(--c-border); color: #fff;
  transition: background-color 0.2s var(--ease);
}
.slider__arrow:hover { background: var(--c-gold); color: var(--c-ink); }
.slider__arrow--prev { left: var(--s-4); }
.slider__arrow--prev .icon { transform: rotate(180deg); }
.slider__arrow--next { right: var(--s-4); }
@media (max-width: 640px) { .slider__arrow { display: none; } }

.slider__dots {
  position: absolute; left: 0; right: 0; bottom: var(--s-5);
  z-index: 3; display: flex; justify-content: center; gap: var(--s-2);
}
.slider__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.4); transition: background-color 0.2s, width 0.2s; }
.slider__dot.is-active { background: var(--c-gold); width: 24px; border-radius: 5px; }

/* ===========================================================================
   Testimonials
   =========================================================================== */

.quote-grid {
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.quote {
  display: grid; gap: var(--s-3); align-content: start;
  padding: var(--s-5);
  border: 1px solid var(--c-line); border-radius: var(--radius);
  background: var(--c-surface);
}
.quote__stars { display: flex; gap: 2px; }
.quote__star { width: 16px; height: 16px; fill: var(--c-line); }
.quote__star.is-on { fill: var(--c-gold); }
.quote__body { color: var(--c-text-dim); font-size: var(--f-sm); line-height: 1.7; }
.quote__body::before { content: "\201C"; color: var(--c-gold-text); font-size: 1.4em; font-weight: 700; margin-right: 2px; }
.quote__by { display: flex; flex-direction: column; }
.quote__name { font-weight: 700; }
.quote__loc { font-size: var(--f-2xs); color: var(--c-text-mute); }

/* ===========================================================================
   Brands
   =========================================================================== */

.brand-grid {
  display: grid; gap: var(--s-3);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
}
.brand-card {
  display: grid; gap: var(--s-3);
  padding: var(--s-5);
  border: 1px solid var(--c-line); border-radius: var(--radius);
  background: var(--c-surface); text-align: center;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.brand-card:hover { border-color: var(--c-gold); transform: translateY(-3px); }
.brand-card__logo { display: grid; place-items: center; height: 70px; }
.brand-card__logo img { max-height: 60px; width: auto; object-fit: contain; }
.brand-card__mark { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--c-gold-text); }
.brand-card__name { font-weight: 700; }
.brand-card__count { font-size: var(--f-2xs); color: var(--c-text-mute); text-transform: uppercase; letter-spacing: 0.08em; }

.brand-head { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.brand-head__logo { display: grid; place-items: center; padding: var(--s-4); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); }
.brand-head__logo img { max-height: 90px; width: auto; object-fit: contain; }

/* ===========================================================================
   Gallery
   =========================================================================== */

.album-grid {
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.album-card {
  border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
  background: var(--c-surface);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.album-card:hover { transform: translateY(-3px); border-color: var(--c-border); box-shadow: var(--shadow-2); }
.album-card__media { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--c-surface-3); }
.album-card__media img, .album-card__media picture { width: 100%; height: 100%; object-fit: cover; }
.album-card__body { display: grid; gap: 2px; padding: var(--s-4); }
.album-card__title { font-weight: 700; }
.album-card__count { font-size: var(--f-2xs); color: var(--c-text-mute); }

.masonry { columns: 2 200px; column-gap: var(--s-3); }
@media (min-width: 900px) { .masonry { columns: 3 260px; } }
.masonry__cell {
  position: relative; display: block; margin-bottom: var(--s-3);
  break-inside: avoid; border-radius: var(--radius-sm); overflow: hidden; background: var(--c-surface-3);
}
.masonry__cell img, .masonry__cell picture { width: 100%; display: block; }
.masonry__cell--video::after { content: ""; position: absolute; inset: 0; background: rgba(17,17,17,0.35); }
.masonry__play {
  position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: var(--s-2);
  color: #fff; font-weight: 700; font-size: var(--f-sm);
}
.masonry__play .icon { width: 1.4em; height: 1.4em; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-3);
  padding: var(--s-5);
  background: rgba(10,10,10,0.94);
}
.lightbox[hidden] { display: none; }
.lightbox__img { grid-column: 2; max-width: 100%; max-height: 84vh; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox__caption { grid-column: 2; grid-row: 2; text-align: center; color: #cabfa6; font-size: var(--f-sm); margin-top: var(--s-3); }
.lightbox__close { position: absolute; top: var(--s-4); right: var(--s-4); width: 44px; height: 44px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: rgba(255,255,255,0.1); }
.lightbox__nav { width: 46px; height: 46px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: rgba(255,255,255,0.1); }
.lightbox__nav:hover, .lightbox__close:hover { background: var(--c-gold); color: var(--c-ink); }
.lightbox__nav--prev .icon { transform: rotate(180deg); }

/* ===========================================================================
   About
   =========================================================================== */

.about { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .about { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.about__facts { padding: var(--s-5); display: grid; gap: var(--s-4); align-content: start; }
.about__contact { display: grid; gap: var(--s-3); font-size: var(--f-sm); }
.about__contact li { display: flex; align-items: center; gap: var(--s-2); color: var(--c-text-dim); }
.about__contact .icon { color: var(--c-gold-text); flex-shrink: 0; }
.about__contact a:hover { color: var(--c-gold-text); }

/* A "read next / also here" cross-link block inside an aside. Shared by the
   specialty and article detail pages, which had identical inline-styled
   copies of it. */
.side-links {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-line);
}
.side-links__title { margin-bottom: var(--s-3); }
.side-links__list { display: grid; gap: var(--s-2); font-size: var(--f-sm); }

/* ===========================================================================
   Breadcrumb / page head
   =========================================================================== */

.breadcrumb {
  border-bottom: 1px solid var(--c-line);
  padding-block: var(--s-3);
  font-size: var(--f-xs);
  position: relative;
  z-index: 2;   /* stays above the page-head glow that follows it */
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
  color: var(--c-text-mute);
}

.breadcrumb__list li { display: flex; align-items: center; gap: var(--s-2); }
.breadcrumb__list a:hover { color: var(--c-gold-text); }
.breadcrumb__sep { width: 0.85em; height: 0.85em; fill: currentColor; opacity: 0.5; }

/* Every inner page opens with the same stone-and-gold treatment as the hero, so
   the home page is not the only page that looks designed. Pure CSS — no image
   request, nothing blocking the headline paint. */
.page-head {
  position: relative;
  padding-block: var(--s-7) var(--s-5);
  overflow: hidden;
  background:
    radial-gradient(60% 90% at 85% 0%, var(--hero-glow-1), transparent 60%),
    radial-gradient(40% 70% at 0% 100%, var(--hero-glow-2), transparent 65%);
}

.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(115deg, transparent 42%, var(--hero-vein) 45%, transparent 48%),
    linear-gradient(155deg, transparent 67%, var(--hero-vein-2) 70%, transparent 74%);
}

/* A hairline gold base so the head visibly "ends" before the content. */
.page-head::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border) 30%, var(--c-border) 70%, transparent);
}

.page-head > .container { position: relative; }

.page-head__title {
  font-size: var(--f-h1);
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--hero-title-from) 25%, var(--hero-title-to) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Room for descenders — clipped gradient text crops them otherwise. */
  padding-bottom: 2px;
}

.page-head__lead { max-width: 62ch; margin-top: var(--s-3); color: var(--c-text-dim); font-size: var(--f-sm); }

/* Giant watermark icon, echoing the category — decorative, behind the text. */
.page-head__mark {
  position: absolute;
  right: -20px; bottom: -46px;
  width: 210px; height: 210px;
  fill: var(--c-gold);
  opacity: 0.06;
  transform: rotate(-8deg);
  pointer-events: none;
}

:root[data-theme="light"] .page-head__mark { opacity: 0.09; }

@media (max-width: 640px) { .page-head__mark { width: 140px; height: 140px; bottom: -30px; } }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-5);
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: var(--s-2) var(--s-4);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  font-size: var(--f-xs);
  color: var(--c-text-dim);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.chip:hover {
  color: var(--c-gold-text);
  border-color: var(--c-gold);
  background: rgba(200, 163, 77, 0.08);
}

.section--tight { padding-block: var(--s-6); }

/* ===========================================================================
   Catalog: filters + grid
   =========================================================================== */

.catalog { display: grid; gap: var(--s-5); }

@media (min-width: 1024px) {
  .catalog { grid-template-columns: 260px 1fr; align-items: start; }
  .catalog__filters { position: sticky; top: calc(var(--header-h) + var(--s-4)); }

  /* No sidebar rendered (nothing to filter by) — no reason to reserve its
     260px gutter either, or the grid leaves a dead empty column. */
  .catalog.catalog--no-filters { grid-template-columns: 1fr; }
}

.filter-panel {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.filter-panel__summary {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4);
  font-weight: 700;
  font-size: var(--f-sm);
  cursor: pointer;
  list-style: none;
  transition: background-color 0.15s var(--ease);
}

.filter-panel__summary:hover { background: var(--c-surface-2); }

.filter-panel__summary::-webkit-details-marker { display: none; }

.filter-panel__icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(200, 163, 77, 0.14);
  color: var(--c-gold-text);
}

.filter-panel__label { color: var(--c-text); }

.filter-panel__count {
  display: grid;
  place-items: center;
  min-width: 20px; height: 20px;
  padding-inline: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--c-gold-bright), var(--c-gold));
  color: var(--c-ink);
  font-size: var(--f-2xs);
  font-weight: 700;
}

.filter-panel__chevron {
  margin-left: auto;
  color: var(--c-text-mute);
  transition: transform 0.2s var(--ease);
}

.filter-panel[open] .filter-panel__chevron { transform: rotate(180deg); }

.filter-panel__body {
  padding: 0 var(--s-4) var(--s-4);
  border-top: 1px solid var(--c-line);
  padding-top: var(--s-4);
}

.filter-active {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--c-line);
}

.filter-active__chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  padding: var(--s-1) var(--s-2);
  border-radius: 999px;
  background: var(--c-surface-3);
  color: var(--c-text);
  font-size: var(--f-2xs);
  font-weight: 600;
  transition: background-color 0.15s var(--ease);
}

.filter-active__chip:hover { background: var(--c-surface-2); }
.filter-active__chip .icon { width: 0.8em; height: 0.8em; color: var(--c-text-mute); }

.filter-active__clear {
  margin-left: auto;
  font-size: var(--f-xs);
  font-weight: 600;
  color: var(--c-danger);
}

.filter-group + .filter-group {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-line);
}

.filter-group__title {
  font-size: var(--f-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold-text);
  margin-bottom: var(--s-3);
}

.filter-group__list,
.filter-group__list--wrap { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.filter-option {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  min-height: 34px;
  padding: var(--s-1) var(--s-3);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-surface-2);
  font-size: var(--f-xs);
  color: var(--c-text-dim);
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease),
              border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), transform 0.15s var(--ease);
}

.filter-option:hover {
  color: var(--c-text);
  background: var(--c-surface-3);
  border-color: var(--c-gold-dim);
  transform: translateY(-1px);
}

.filter-option.is-active {
  color: var(--c-ink);
  background: linear-gradient(135deg, var(--c-gold-bright), var(--c-gold));
  border-color: var(--c-gold);
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.filter-option__check { width: 0.85em; height: 0.85em; }

.catalog__count { font-size: var(--f-xs); color: var(--c-text-mute); margin-bottom: var(--s-4); }

/* Big-imagery grid: tiles, marble and sanitaryware sell on the photograph, so
   the card stays LARGE — one per row on phones, two on tablets, three on
   desktop. Marketplace density would shrink exactly the thing that sells. */
.grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}

@media (min-width: 640px)  { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }

/* ===========================================================================
   Product card
   =========================================================================== */

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--c-border);
  box-shadow: var(--shadow-2);
}

.card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--c-surface-3);
  overflow: hidden;
}

.card__media picture, .card__media img { width: 100%; height: 100%; object-fit: cover; }

.card__img { transition: transform 0.5s var(--ease); }
.card:hover .card__img { transform: scale(1.06); }

.card__placeholder {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  color: var(--c-text-mute);
  opacity: 0.4;
}

.card__badge {
  position: absolute;
  top: var(--s-3); left: var(--s-3);
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  padding: var(--s-1) var(--s-3);
  border-radius: 999px;
  font-size: var(--f-2xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card__badge--new      { background: var(--c-accent); color: #fff; }
.card__badge--featured { background: var(--c-gold); color: var(--c-ink); padding: var(--s-1); }

.card__body { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4); flex: 1; }

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  font-size: var(--f-2xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card__brand { color: var(--c-gold-text); font-weight: 700; }
.card__category { color: var(--c-text-mute); }

.card__title { font-size: 1rem; font-weight: 600; line-height: 1.35; }
.card__title a:hover { color: var(--c-gold-text); }

.card__sizes {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--f-xs);
  color: var(--c-text-dim);
}

.card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-2);
  margin-top: auto;
  padding-top: var(--s-2);
}

.card__price { font-size: 1.05rem; font-weight: 700; color: var(--c-text); }
.card__price--ask { font-size: var(--f-sm); color: var(--c-gold-text); }

.card__stock { font-size: var(--f-2xs); white-space: nowrap; }
.card__stock--in_stock      { color: var(--c-success); }
.card__stock--made_to_order { color: var(--c-warning); }
.card__stock--out_of_stock,
.card__stock--discontinued  { color: var(--c-text-mute); }

.card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); margin-top: var(--s-2); }

/* ===========================================================================
   Empty state + pagination
   =========================================================================== */

.empty {
  display: grid;
  place-items: center;
  gap: var(--s-4);
  padding: var(--s-8) var(--s-4);
  text-align: center;
  color: var(--c-text-dim);
}

.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); }

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-2);
  margin-top: var(--s-7);
}

.pagination__link {
  display: grid;
  place-items: center;
  min-width: 40px; height: 40px;
  padding-inline: var(--s-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  font-size: var(--f-sm);
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.pagination__link:hover { border-color: var(--c-gold); color: var(--c-gold-text); }

.pagination__link.is-current {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-ink);
  font-weight: 700;
}

/* ===========================================================================
   Product detail
   =========================================================================== */

.product { display: grid; gap: var(--s-6); }

@media (min-width: 1024px) {
  .product { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .product__gallery { position: sticky; top: calc(var(--header-h) + var(--s-4)); }
}

.product__stage {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-surface-3);
  /* Reset: this is a <button> (so it is reachable and operable without a
     mouse), not a styled <div>, the same way .product__thumb already is. */
  padding: 0;
  border: 0;
  font: inherit;
}

.product__stage picture, .product__stage img { width: 100%; height: 100%; object-fit: cover; }

.product__stage--zoomable { cursor: zoom-in; }

.product__stage-zoom-hint {
  position: absolute;
  bottom: var(--s-3);
  right: var(--s-3);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.55);
  color: #fff;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease);
}

.product__stage--zoomable:hover .product__stage-zoom-hint,
.product__stage--zoomable:focus-visible .product__stage-zoom-hint {
  opacity: 1;
  transform: scale(1);
}

.product__thumbs {
  display: flex;
  gap: var(--s-2);
  margin-top: var(--s-3);
  overflow-x: auto;
  padding-bottom: var(--s-2);
}

.product__thumb {
  width: 76px; height: 60px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  opacity: 0.6;
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
  flex-shrink: 0;
}

.product__thumb picture, .product__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__thumb:hover { opacity: 1; }
.product__thumb.is-active { opacity: 1; border-color: var(--c-gold); }

.product__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  font-size: var(--f-2xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product__brand { color: var(--c-gold-text); font-weight: 700; }
.product__category { color: var(--c-text-mute); }
.product__category:hover { color: var(--c-gold-text); }

.product__title { font-size: var(--f-h1); margin-top: var(--s-3); }
.product__lead { margin-top: var(--s-3); color: var(--c-text-dim); }

.product__stock {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-4);
  font-size: var(--f-sm);
  font-weight: 600;
}

.product__stock--in_stock      { color: var(--c-success); }
.product__stock--made_to_order { color: var(--c-warning); }
.product__stock--out_of_stock,
.product__stock--discontinued  { color: var(--c-text-mute); }

.product__price-block {
  margin-top: var(--s-5);
  padding: var(--s-4);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(200, 163, 77, 0.10), transparent);
}

.product__price {
  font-family: var(--font-display);
  font-size: var(--f-h2);
  font-weight: 700;
  color: var(--c-text);
}

.product__price--ask { color: var(--c-gold-text); }
.product__price-sub { font-size: var(--f-sm); color: var(--c-text-dim); margin-top: var(--s-1); }

.product__variants { margin-top: var(--s-5); }

.product__variants-title {
  font-size: var(--f-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold-text);
  margin-bottom: var(--s-3);
}

.variant-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.variant {
  display: grid;
  gap: 2px;
  min-height: 52px;
  padding: var(--s-2) var(--s-4);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  text-align: left;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.variant:hover { border-color: var(--c-gold); transform: translateY(-2px); }

.variant.is-active {
  border-color: var(--c-gold);
  background: rgba(200, 163, 77, 0.12);
}

.variant__size { font-weight: 700; font-size: var(--f-sm); }
.variant__finish { font-size: var(--f-2xs); color: var(--c-text-mute); }

.product__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }

.specs { margin-top: var(--s-6); border-top: 1px solid var(--c-line); }

.specs__row {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--c-line);
  font-size: var(--f-sm);
}

.specs__row[hidden] { display: none; }
.specs__row dt { color: var(--c-text-mute); }
.specs__row dd { color: var(--c-text); font-weight: 500; }

.prose { max-width: 70ch; color: var(--c-text-dim); }
/* text-align: justify already leaves a paragraph's last line left-aligned by
   default — no extra rule needed for that; forcing it too would stretch a
   short final line into visibly gappy text. */
.prose p { text-align: justify; text-justify: inter-word; }

.grid--related { grid-template-columns: 1fr; }
@media (min-width: 640px)  { .grid--related { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid--related { grid-template-columns: repeat(3, 1fr); } }

/* ===========================================================================
   Coverage calculator
   =========================================================================== */

.calc { padding: var(--s-5); }

.calc__head { display: flex; gap: var(--s-4); align-items: flex-start; }
.calc__head .icon { color: var(--c-gold-text); }
.calc__title { font-size: var(--f-h3); }
.calc__lead { font-size: var(--f-sm); color: var(--c-text-dim); margin-top: var(--s-1); }

.calc__grid {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-5);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) { .calc__grid { grid-template-columns: repeat(3, 1fr); } }

.field { display: grid; gap: var(--s-2); }

.field__label {
  font-size: var(--f-2xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-mute);
}

.field__input {
  min-height: 48px;
  padding: var(--s-2) var(--s-3);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-bg);
  color: var(--c-text);
  transition: border-color 0.18s var(--ease);
}

.field__input:focus { border-color: var(--c-gold); }

.calc__out {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-5);
  padding: var(--s-4);
  border-radius: var(--radius-sm);
  background: var(--c-bg);
  grid-template-columns: repeat(3, 1fr);
}

.calc__out[hidden] { display: none; }

.calc__stat { display: grid; gap: var(--s-1); text-align: center; }

.calc__stat-label {
  font-size: var(--f-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-mute);
}

.calc__stat-value { font-family: var(--font-display); font-size: var(--f-h3); font-weight: 700; }
.calc__stat-value--gold { color: var(--c-gold-text); }

.calc__note { font-size: var(--f-2xs); color: var(--c-text-mute); margin-top: var(--s-3); }
.calc .btn { margin-top: var(--s-4); }

.is-copied { border-color: var(--c-success) !important; color: var(--c-success) !important; }

/* ===========================================================================
   Location page: facts + FAQ
   =========================================================================== */

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  margin-top: var(--s-5);
}

.fact {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-3);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  font-size: var(--f-xs);
  color: var(--c-text-dim);
}

.fact .icon { color: var(--c-gold-text); }

.faq { display: grid; gap: var(--s-2); max-width: 76ch; }

.faq__item {
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  overflow: hidden;
}

.faq__item[open] { border-color: var(--c-border); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-4);
  font-weight: 600;
  font-size: var(--f-sm);
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__caret {
  width: 1em; height: 1em;
  fill: var(--c-gold-text);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.faq__item[open] .faq__caret { transform: rotate(180deg); }

.faq__a {
  padding: 0 var(--s-4) var(--s-4);
  font-size: var(--f-sm);
  color: var(--c-text-dim);
}

/* ===========================================================================
   Contact — split hero, action cards, map + hours
   =========================================================================== */

.contact-hero { padding-block: var(--s-6) var(--s-5); }

.contact-hero__grid {
  display: grid;
  gap: var(--s-6);
  align-items: center;
}

@media (min-width: 900px) {
  .contact-hero__grid { grid-template-columns: 1.1fr 1fr; gap: var(--s-8); }
}

.contact-hero__status { margin-bottom: var(--s-4); }

.contact-hero__title {
  font-size: var(--f-h1);
  letter-spacing: -0.02em;
}

.contact-hero__lead {
  margin-top: var(--s-4);
  max-width: 48ch;
  color: var(--c-text-dim);
}

.contact-hero__address {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-line);
  font-style: normal;
  font-size: var(--f-sm);
  color: var(--c-text-dim);
}

.contact-hero__address .icon { color: var(--c-gold-text); margin-top: 3px; flex-shrink: 0; }

/* --- Action cards --------------------------------------------------------- */

.contact-actions { display: grid; gap: var(--s-3); }

.contact-action {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.contact-action:hover {
  transform: translateY(-3px);
  border-color: var(--c-border);
  box-shadow: var(--shadow-2);
}

.contact-action__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-action__icon .icon { width: 22px; height: 22px; }

.contact-action--call .contact-action__icon { background: rgba(200, 163, 77, 0.16); color: var(--c-gold-text); }
.contact-action--wa   .contact-action__icon { background: rgba(37, 211, 102, 0.16); color: var(--c-whatsapp); }
.contact-action--mail .contact-action__icon { background: rgba(14, 116, 144, 0.16); color: var(--c-accent); }

.contact-action__body { display: grid; gap: 2px; min-width: 0; flex: 1; }

.contact-action__label {
  font-size: var(--f-2xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-mute);
}

.contact-action__value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-action__go {
  width: 18px; height: 18px;
  fill: var(--c-text-mute);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), fill 0.25s var(--ease);
}

.contact-action:hover .contact-action__go { transform: translateX(4px); fill: var(--c-gold-text); }

/* --- Map + hours ---------------------------------------------------------- */

.contact-visit {
  display: grid;
  gap: var(--s-4);
}

@media (min-width: 900px) {
  .contact-visit { grid-template-columns: 1.6fr 1fr; align-items: stretch; }
}

.contact-map {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-surface-3);
}

.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 360px; }

/* The keyless Google embed is always light; dim it in dark mode so it does not
   glare out of the page. Hover restores it — a distorted map is fine as a
   backdrop but must be truthful the moment someone reads it. */
:root[data-theme="dark"] .contact-map iframe {
  filter: invert(0.92) hue-rotate(180deg) saturate(0.7);
  transition: filter 0.3s var(--ease);
}

:root[data-theme="dark"] .contact-map:hover iframe { filter: none; }

.contact-map__directions {
  position: absolute;
  bottom: var(--s-4);
  left: var(--s-4);
  box-shadow: var(--shadow-2);
}

.contact-hours {
  display: flex;
  flex-direction: column;
  padding: var(--s-5);
}

.contact-hours__title {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--f-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold-text);
  margin-bottom: var(--s-4);
}

.contact-hours__list { display: grid; gap: var(--s-1); }

.contact-hours__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-3);
  border-radius: var(--radius-sm);
  font-size: var(--f-sm);
  color: var(--c-text-dim);
}

.contact-hours__row.is-today {
  background: rgba(200, 163, 77, 0.10);
  color: var(--c-text);
}

.contact-hours__days { display: flex; align-items: center; gap: var(--s-2); }

.contact-hours__badge {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--c-gold);
  color: var(--c-ink);
  font-size: var(--f-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-hours__time { font-weight: 600; color: var(--c-text); white-space: nowrap; }

.contact-hours__note {
  margin-top: auto;
  padding-top: var(--s-4);
  font-size: var(--f-2xs);
  color: var(--c-text-mute);
  line-height: 1.6;
}

/* ===========================================================================
   Enquiry form
   =========================================================================== */

.container--narrow { max-width: 720px; }

.enquiry { display: grid; gap: var(--s-4); padding: var(--s-5); }

.enquiry__head { display: flex; gap: var(--s-4); align-items: flex-start; }
.enquiry__head .icon { color: var(--c-gold-text); }
.enquiry__title { font-size: var(--f-h3); }
.enquiry__lead { font-size: var(--f-sm); color: var(--c-text-dim); margin-top: var(--s-1); }

.enquiry__grid {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) { .enquiry__grid { grid-template-columns: 1fr 1fr; } }

.enquiry__alt { font-size: var(--f-sm); color: var(--c-text-dim); text-align: center; }
.enquiry__alt a { color: var(--c-gold-text); font-weight: 700; }

/* The honeypot must be invisible to humans but present and fillable for bots.
   display:none and visibility:hidden are both skipped by most bots, which is the
   opposite of what we want — so it is moved off-canvas instead. */
.honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field__input--area { min-height: 92px; resize: vertical; padding-top: var(--s-3); }
.field__input.is-invalid { border-color: var(--c-danger); }
.field__error { font-size: var(--f-2xs); color: var(--c-danger); }

.alert {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-sm);
  font-size: var(--f-sm);
  border: 1px solid transparent;
}

.alert--success {
  background: rgba(63, 169, 106, 0.12);
  border-color: rgba(63, 169, 106, 0.4);
  color: var(--c-success);
}

.alert--error {
  background: rgba(217, 83, 79, 0.12);
  border-color: rgba(217, 83, 79, 0.4);
  color: var(--c-danger);
}

.btn.is-busy { opacity: 0.7; pointer-events: none; }

/* ===========================================================================
   Legal prose
   =========================================================================== */

.prose--legal { max-width: 72ch; }
.prose--legal h2 { font-size: var(--f-h3); margin-top: var(--s-6); color: var(--c-text); }
.prose--legal p { margin-top: var(--s-3); }
.prose--legal ul { margin-top: var(--s-3); display: grid; gap: var(--s-2); }
.prose--legal ul li { padding-left: var(--s-4); position: relative; }

.prose--legal ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-gold);
}

.prose--legal a { color: var(--c-gold-text); text-decoration: underline; text-underline-offset: 2px; }
.prose--legal strong { color: var(--c-text); }

/* ===========================================================================
   Error page
   =========================================================================== */

.error-page {
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding-block: var(--s-8);
  text-align: center;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: var(--f-display);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--c-gold-bright), var(--c-gold-dim));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page__title { font-size: var(--f-h2); margin-top: var(--s-3); }
.error-page__text  { max-width: 46ch; margin: var(--s-4) auto 0; color: var(--c-text-dim); }

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

.error-page__suggestions {
  /* .error-page centers its content on both axes (place-items: center), which
     sizes a grid item to its content by default — without this, a row of
     product cards would center-shrink instead of spanning the page. */
  width: 100%;
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--c-line);
}

.error-page__suggestions-title {
  font-size: var(--f-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text-mute);
  margin-bottom: var(--s-4);
}

/* ===========================================================================
   Scroll reveal
   =========================================================================== */

/* Gated on .js, which an inline <head> script sets before the body paints. Two
   things fall out of that ordering, and both matter:
     1. No flash — the element is never painted visible and then faded out, which
        is what happens if the hidden state lands after first paint.
     2. No-JS safety — without .js nothing is hidden, so a visitor whose JS fails
        still sees every word. On a lead-gen site, invisible content is not a
        degraded experience, it is a lost customer. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js [data-reveal]:nth-child(2).is-revealed { transition-delay: 0.08s; }
.js [data-reveal]:nth-child(3).is-revealed { transition-delay: 0.16s; }
.js [data-reveal]:nth-child(4).is-revealed { transition-delay: 0.24s; }

/* Dead-man's switch: if site.js never runs, the inline script trips this and
   everything becomes visible regardless. */
.reveal-fallback [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ===========================================================================
   Page transition
   ---------------------------------------------------------------------------
   This is a server-rendered MVC site, not an SPA — a "screen switch" is a
   real navigation, a fresh document. So the entrance plays on load, once,
   rather than being driven by a router. Targets the bare <main> element on
   purpose, not a class: every layout (public site, admin, superadmin) wraps
   its content in exactly one <main>, so this one rule covers all three
   without repeating it per layout.
   =========================================================================== */

@keyframes rt-page-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

main {
  animation: rt-page-in 200ms var(--ease-out) both;
}

@media (prefers-reduced-motion: reduce) {
  main { animation: none; }
}

/* ===========================================================================
   Polish layer — sheen, counters, dividers, corners, back-to-top
   ---------------------------------------------------------------------------
   Appended as one block: pure decoration, no layout changes, and every effect
   here degrades to nothing under prefers-reduced-motion.
   =========================================================================== */

/* --- Gold sheen sweep on primary buttons ---------------------------------- */

.btn--gold {
  position: relative;
  overflow: hidden;
}

.btn--gold::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -80%;
  width: 50%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s var(--ease);
  pointer-events: none;
}

.btn--gold:hover::after { left: 130%; }

/* --- Product card: light sweep + gold glow -------------------------------- */

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(200, 163, 77, 0.22) 50%, transparent 60%);
  transform: translateX(-110%);
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}

.card:hover .card__media::after { transform: translateX(110%); }

.card:hover {
  box-shadow: var(--shadow-2), 0 0 0 1px var(--c-gold), 0 10px 34px rgba(200, 163, 77, 0.14);
}

/* --- Product stage: gold corner brackets ----------------------------------- */

.product__stage { position: relative; }

.product__stage::before,
.product__stage::after {
  content: "";
  position: absolute;
  width: 34px; height: 34px;
  border: 2px solid var(--c-gold);
  opacity: 0.75;
  pointer-events: none;
  z-index: 1;
}

.product__stage::before {
  top: 10px; left: 10px;
  border-right: 0; border-bottom: 0;
  border-top-left-radius: 8px;
}

.product__stage::after {
  bottom: 10px; right: 10px;
  border-left: 0; border-top: 0;
  border-bottom-right-radius: 8px;
}

/* --- Grout divider: a row of tiny tiles ------------------------------------ */

.rule-tiles {
  display: flex;
  justify-content: center;
  gap: 6px;
  border: 0;
  margin-block: 0;
  padding-block: var(--s-2);
}

.rule-tiles::before,
.rule-tiles::after { content: none; }

.rule-tiles span {
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--c-gold);
  opacity: 0.35;
  transform: rotate(45deg);
}

.rule-tiles span:nth-child(2) { opacity: 0.6; }
.rule-tiles span:nth-child(3) { opacity: 0.9; }
.rule-tiles span:nth-child(4) { opacity: 0.6; }

/* --- Count-up stats --------------------------------------------------------- */

/* Numbers get a tabular feel while animating so the layout doesn't jitter. */
[data-countup] { font-variant-numeric: tabular-nums; }

/* --- Back to top ------------------------------------------------------------ */

.to-top {
  position: fixed;
  right: var(--s-4);
  bottom: var(--s-4);
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-gold-text);
  box-shadow: var(--shadow-1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--c-gold); color: var(--c-gold-bright); }
.to-top .icon { transform: rotate(-90deg); }

/* Sit above the sticky call bar on phones. */
@media (max-width: 1023px) {
  .to-top { bottom: calc(54px + env(safe-area-inset-bottom) + var(--s-3)); }
}

@media (prefers-reduced-motion: reduce) {
  .btn--gold::after,
  .card__media::after { display: none; }
}

/* ===========================================================================
   Footer polish — the page closes on a tiled wall
   ---------------------------------------------------------------------------
   The concept that opens the site (a wall of tiles) also ends it: a faint
   grout-line grid over the footer surface, a ghost monogram, and gold
   micro-interactions on the links. Pure CSS, ~1KB.
   =========================================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
  /* Grout grid: two crossed hairline repeats forming ~76px "tiles". Kept faint
     enough that every contrast pairing on top is unaffected. */
  background-image:
    repeating-linear-gradient(0deg,  transparent, transparent 75px, var(--c-line) 75px, var(--c-line) 76px),
    repeating-linear-gradient(90deg, transparent, transparent 75px, var(--c-line) 75px, var(--c-line) 76px);
  background-color: var(--c-surface-2);
}

/* The grid should whisper, not pattern-clash with content. */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-surface-2);
  opacity: 0.55;
  pointer-events: none;
}

/* Everything in the footer sits above the veil. */
.site-footer > * { position: relative; }

/* Ghost monogram, echoing the page-head watermarks. */
.site-footer__mark {
  position: absolute;
  right: -40px; bottom: 40px;
  width: 300px; height: 300px;
  fill: var(--c-gold);
  opacity: 0.045;
  transform: rotate(-6deg);
  pointer-events: none;
}

:root[data-theme="light"] .site-footer__mark { opacity: 0.07; }

@media (max-width: 640px) { .site-footer__mark { width: 190px; height: 190px; } }

/* --- Link micro-interaction: a gold dash slides in ------------------------- */

.site-footer__links:not(.site-footer__links--inline) a {
  position: relative;
  display: inline-block;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.site-footer__links:not(.site-footer__links--inline) a::before {
  content: "";
  position: absolute;
  left: -2px; top: 50%;
  width: 0; height: 1px;
  background: var(--c-gold);
  transition: width 0.2s var(--ease);
}

.site-footer__links:not(.site-footer__links--inline) a:hover {
  transform: translateX(14px);
  color: var(--c-gold-text);
}

.site-footer__links:not(.site-footer__links--inline) a:hover::before {
  width: 10px;
  left: -14px;
}

/* Delivery-area chips get a quieter treatment: gold ring on hover. */
.site-footer__links--inline a {
  padding: 2px 10px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.site-footer__links--inline a:hover {
  border-color: var(--c-gold);
  color: var(--c-gold-text);
}

/* --- Payment / delivery trust strip ---------------------------------------- */

.site-footer__pay {
  border-top: 1px solid var(--c-line);
}

.site-footer__pay-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-2) var(--s-3);
  padding-block: var(--s-3);
  font-size: var(--f-2xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-mute);
}

.site-footer__pay-inner .icon { color: var(--c-gold-text); }

.site-footer__pay-sep {
  width: 4px; height: 4px;
  border-radius: 1px;
  background: var(--c-gold);
  opacity: 0.5;
  transform: rotate(45deg);
}

@media (max-width: 480px) { .site-footer__pay-sep { display: none; } }

/* --- Credit card polish ------------------------------------------------------ */

.site-credit__by {
  font-size: var(--f-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-mute);
}

.site-credit__card {
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-credit__card:hover {
  border-color: var(--c-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* --- Feature list + lite YouTube embed ------------------------------------- */

.feature-list {
  display: grid;
  gap: var(--s-3);
  max-width: 62ch;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  font-size: var(--f-sm);
  color: var(--c-text-dim);
}

.feature-list .icon { color: var(--c-success); flex-shrink: 0; margin-top: 3px; }

.video-lite {
  position: relative;
  display: block;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-surface-3);
  border: 1px solid var(--c-line);
}

.video-lite img { width: 100%; height: 100%; object-fit: cover; }

.video-lite__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(17, 17, 17, 0.3);
  transition: background-color 0.2s var(--ease);
}

.video-lite__play .icon {
  width: 64px; height: 64px;
  padding: 18px;
  border-radius: 50%;
  background: var(--c-gold);
  fill: var(--c-ink);
  box-shadow: var(--shadow-gold);
  transition: transform 0.2s var(--ease-out);
}

.video-lite:hover .video-lite__play { background: rgba(17, 17, 17, 0.15); }
.video-lite:hover .video-lite__play .icon { transform: scale(1.08); }

.video-lite iframe { width: 100%; height: 100%; border: 0; }

/* ===========================================================================
   Category banner + catalogue (screen and print)
   =========================================================================== */

.page-head__banner {
  margin-top: var(--s-5);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  max-height: 260px;
}

.page-head__banner img, .page-head__banner picture { width: 100%; height: 100%; object-fit: cover; }

.catalogue { padding-block: var(--s-6); }

.catalogue__section { margin-bottom: var(--s-7); break-inside: avoid-page; }

.catalogue__cat {
  font-size: var(--f-h3);
  padding-bottom: var(--s-2);
  margin-bottom: var(--s-3);
  border-bottom: 2px solid var(--c-gold);
}

.catalogue__table { width: 100%; border-collapse: collapse; font-size: var(--f-sm); }

.catalogue__table th {
  text-align: left;
  font-size: var(--f-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  padding: var(--s-2);
  border-bottom: 1px solid var(--c-line);
}

.catalogue__table td { padding: var(--s-2); border-bottom: 1px solid var(--c-line); vertical-align: middle; }

.catalogue__img img { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; }
.catalogue__name { font-weight: 600; }
.catalogue__name:hover { color: var(--c-gold-text); }
.catalogue__colour { display: block; font-size: var(--f-2xs); color: var(--c-text-mute); }
.catalogue__brandcell { color: var(--c-text-dim); white-space: nowrap; }
.catalogue__sizes { font-size: var(--f-xs); }
.catalogue__rate { text-align: right; font-weight: 700; white-space: nowrap; }
.catalogue__ask { font-weight: 600; color: var(--c-gold-text); font-size: var(--f-xs); }

.catalogue__note {
  margin-top: var(--s-5);
  font-size: var(--f-xs);
  color: var(--c-text-mute);
}

.catalogue__head {
  display: flex;
  justify-content: space-between;
  gap: var(--s-5);
  padding-bottom: var(--s-4);
  margin-bottom: var(--s-5);
  border-bottom: 2px solid var(--c-gold);
}

.catalogue__brand { font-size: 1.4rem; font-weight: 800; }
.catalogue__sub { font-size: var(--f-2xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-gold-text); }
.catalogue__nap { font-size: var(--f-xs); text-align: right; color: var(--c-text-dim); }

.catalog-print-only { display: none; }

/* --- Quotation (admin/enquiry-quote.php) ------------------------------------ */

.quote-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-5);
  margin-top: var(--s-5);
}

.quote-meta__title { font-size: var(--f-h3); margin-bottom: var(--s-1); }
.quote-meta__ref { font-size: var(--f-xs); color: var(--c-text-mute); }
.quote-meta__to { text-align: right; font-size: var(--f-sm); }
.quote-meta__label {
  font-size: var(--f-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  margin-bottom: var(--s-1);
}

/* --- Print: the page becomes the PDF ---------------------------------------- */

@media print {
  /* Force the light palette regardless of the visitor's theme — nobody wants a
     black A4 page, and toner is real money. */
  :root, :root[data-theme="dark"] {
    --c-bg: #ffffff; --c-surface: #ffffff; --c-surface-2: #ffffff;
    --c-text: #111111; --c-text-dim: #333333; --c-text-mute: #666666;
    --c-line: #dddddd; --c-border: #c8a34d; --c-gold-text: #8a6d2f;
  }

  body { background: #fff !important; color: #111 !important; padding-bottom: 0 !important; }

  /* Strip the site chrome: the PDF is the catalogue, not the website. */
  .topbar, .site-header, .site-footer, .sticky-cta, .to-top,
  .catalog-screen-only, .breadcrumb { display: none !important; }

  .catalog-print-only { display: flex !important; }

  .catalogue { padding: 0; }
  .catalogue__table td, .catalogue__table th { padding: 4px 6px; }
  .catalogue__img img { width: 40px; height: 40px; }
  .catalogue__name { color: #111 !important; text-decoration: none; }

  a[href]::after { content: none !important; }
}

/* ===========================================================================
   Commerce layout layer — category strip, product rails, full-bleed bands
   ---------------------------------------------------------------------------
   The structural ideas of the big marketplaces (quick category access under the
   header, horizontally scrolling product rails, edge-to-edge section bands) in
   this site's own stone-and-gold language. Structure borrowed, look not.
   =========================================================================== */

/* --- Category quick-strip (site-wide, under the header) -------------------- */

.cat-strip {
  border-bottom: 1px solid var(--c-line);
  background: var(--c-surface);
}

.cat-strip__inner {
  display: flex;
  gap: var(--s-2);
  overflow-x: auto;
  scrollbar-width: none;          /* the strip IS the affordance; no bar needed */
  -webkit-overflow-scrolling: touch;
  padding-block: var(--s-2);
}

.cat-strip__inner::-webkit-scrollbar { display: none; }

.cat-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 86px;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: background-color 0.18s var(--ease);
}

.cat-strip__item:hover { background: var(--c-surface-3); }

.cat-strip__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--c-glass-from), var(--c-glass-to));
  border: 1px solid var(--c-border);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease-out);
}

.cat-strip__icon .icon { width: 20px; height: 20px; fill: var(--c-gold-text); }

.cat-strip__item:hover .cat-strip__icon {
  border-color: var(--c-gold);
  transform: translateY(-2px) scale(1.05);
}

.cat-strip__label {
  font-size: var(--f-2xs);
  font-weight: 600;
  color: var(--c-text-dim);
  white-space: nowrap;
}

.cat-strip__item:hover .cat-strip__label { color: var(--c-gold-text); }

.cat-strip__item.is-active .cat-strip__icon { border-color: var(--c-gold); background: rgba(200, 163, 77, 0.14); }
.cat-strip__item.is-active .cat-strip__label { color: var(--c-gold-text); }

/* --- Product rails: horizontal scroll with snap + arrows -------------------- */

.rail { position: relative; }

.rail__track {
  display: grid;
  grid-auto-flow: column;
  /* Card width tuned so a sliver of the next card always peeks — the peek is
     what tells a phone user there is more to swipe. */
  grid-auto-columns: min(86vw, 430px);   /* big imagery; a sliver of the next card still peeks */
  gap: var(--s-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--s-1);
  padding-bottom: var(--s-3);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }

.rail__nav {
  position: absolute;
  top: 38%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-gold-text);
  box-shadow: var(--shadow-2);
  transition: opacity 0.2s var(--ease), background-color 0.2s var(--ease);
}

.rail__nav:hover { background: var(--c-gold); color: var(--c-ink); }
.rail__nav[disabled] { opacity: 0; pointer-events: none; }
.rail__nav--prev { left: -12px; }
.rail__nav--prev .icon { transform: rotate(180deg); }
.rail__nav--next { right: -12px; }

/* Touch devices scroll by thumb; the arrows are a mouse affordance. */
@media (hover: none) { .rail__nav { display: none; } }

/* --- Full-bleed band: a section whose surface runs edge to edge ------------- */

.band {
  background: var(--c-surface-2);
  border-block: 1px solid var(--c-line);
}

/* ===========================================================================
   FAQ page
   =========================================================================== */

.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: var(--s-3);
}

.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  overflow: hidden;
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-4);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { background: var(--c-surface-2); }

.faq-item__chevron {
  flex-shrink: 0;
  color: var(--c-text-mute);
  transition: transform 0.2s var(--ease);
}

.faq-item[open] .faq-item__chevron { transform: rotate(180deg); }

.faq-item__a {
  padding: 0 var(--s-4) var(--s-4);
  color: var(--c-text-dim);
  border-top: 1px solid var(--c-line);
  padding-top: var(--s-3);
  margin-top: -1px;
}

.faq-cta {
  max-width: 760px;
  margin: var(--s-8) auto 0;
  padding: var(--s-5);
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}

.faq-cta__text { font-weight: 600; }

.faq-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

/* ===========================================================================
   Trade / bulk orders page
   =========================================================================== */

.trade-points {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .trade-points { grid-template-columns: repeat(3, 1fr); }
}

.trade-point { padding: var(--s-5); text-align: center; }

.trade-point__icon {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: var(--s-3);
  border-radius: 999px;
  background: rgba(200, 163, 77, 0.14);
  color: var(--c-gold-text);
}

.trade-point__title { font-size: var(--f-h3); margin-bottom: var(--s-2); }
.trade-point__text { color: var(--c-text-dim); font-size: var(--f-sm); }

/* ===========================================================================
   Page progress bar — a standard top-of-page loader shown while the next page
   is being fetched (link clicks and form submits). Lives in site.css because
   every layout — public, admin and superadmin — loads this file, so the bar is
   available everywhere from one definition. The accent follows --c-gold, so it
   is gold on the site/admin and crimson inside the superadmin console with no
   extra rule.
   =========================================================================== */
.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 4000;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-bright));
  box-shadow: 0 0 10px rgba(200, 163, 77, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: width 0.2s ease, opacity 0.35s ease;
}
.page-progress.is-active { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .page-progress { transition: opacity 0.1s linear; }
}
