/* Prestige Rentals NYC — Public Website
   Design system tokens + components + page layouts
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Fira+Sans+Extra+Condensed:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap");

/* === TOKENS === */
:root {
  /* Gold */
  --gold-900: #6f5528; --gold-700: #876739; --gold: #a47f47;
  --gold-400: #c19c63; --gold-200: #f6db89; --gold-050: #f7efdd;
  /* Slate blue */
  --blue-900: #33505f; --blue-700: #40606f; --blue: #4c6f83;
  --blue-400: #5d8592; --blue-200: #7ba0b2; --blue-050: #eef3f5;
  /* Neutrals */
  --white: #ffffff; --paper: #fafaf9; --mist: #f3f4f6;
  --cloud: #e5e7eb; --silver: #d3d3d3; --ash: #6b7280;
  /* Ink */
  --ink-900: #333333; --ink-700: #444444; --ink-500: #666666;
  /* Semantic */
  --success: #3cb371; --danger: #dc143c; --invalid: #cd5c5c; --danger-strong: #b00d2a;
  /* Semantic aliases */
  --color-primary: var(--gold); --color-primary-strong: var(--gold-700);
  --color-secondary: var(--blue); --color-secondary-strong: var(--blue-900);
  --surface-page: var(--white); --surface-paper: var(--paper);
  --surface-card: var(--white); --surface-sunken: var(--mist);
  --surface-gold-wash: var(--gold-050); --surface-blue-wash: var(--blue-050);
  --text-heading: var(--ink-900); --text-body: var(--ink-700);
  --text-muted: var(--ink-500); --text-faint: var(--ash);
  --text-link: var(--blue); --border-hair: var(--cloud); --border-brand: var(--gold);
  --color-success: var(--success); --color-danger: var(--danger); --color-invalid: var(--invalid);
  /* Gradients */
  --grad-blue-btn: linear-gradient(270deg, var(--blue), var(--blue-400));
  --grad-gold-rule: linear-gradient(to right, var(--gold), transparent);
  --grad-gold-rule-center: linear-gradient(to right, transparent, var(--gold), transparent);
  /* Typography */
  --font: "Fira Sans Extra Condensed", "Oswald", "Arial Narrow", system-ui, sans-serif;
  --w-regular: 400; --w-medium: 500; --w-semibold: 600; --w-bold: 700; --w-black: 800;
  --text-2xs: 0.75rem; --text-xs: 0.875rem; --text-sm: 1rem; --text-base: 1.125rem;
  --text-lg: 1.25rem; --text-xl: 1.5rem; --text-2xl: 1.875rem; --text-3xl: 2.25rem;
  --text-4xl: 3rem; --text-5xl: 3.75rem; --text-6xl: 5rem;
  --leading-tight: 1.05; --leading-snug: 1.25; --leading-normal: 1.5; --leading-relaxed: 1.7;
  --tracking-wide: 0.05em; --tracking-wider: 0.1em; --tracking-widest: 0.2em;
  /* Spacing */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.25rem;
  --s6: 1.5rem; --s8: 2rem; --s10: 2.5rem; --s12: 3rem; --s16: 4rem; --s20: 5rem;
  --page-pad: 4%; --content-max: 1280px;
  --ctrl-sm: 34px; --ctrl: 44px; --ctrl-lg: 52px;
  --r-xs: 2px; --r-sm: 4px; --r-md: 8px; --r-lg: 12px;
  --r-xl: 16px; --r-2xl: 19px; --r-pill: 999px; --r-full: 50%;
  /* Shadows */
  --sh-xs: 0 1px 2px rgba(0,0,0,.06); --sh-sm: 0 2px 4px rgba(0,0,0,.08);
  --sh-md: 0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -2px rgba(0,0,0,.10);
  --sh-lg: 0 10px 15px -3px rgba(0,0,0,.12), 0 4px 6px -4px rgba(0,0,0,.12);
  --sh-xl: 0 25px 50px -12px rgba(0,0,0,.25);
  --sh-brand: 0 10px 24px -10px rgba(76,111,131,.55);
  --sh-gold: 0 10px 24px -10px rgba(164,127,71,.5);
  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in-out: cubic-bezier(0.4,0,.2,1);
  --dur: 0.2s; --dur-fast: 0.1s; --dur-slow: 0.3s; --dur-img: 0.6s;
  /* Icon filters */
  --f-grey:  invert() brightness(38%);
  --f-gold:  invert() brightness(42%) sepia() hue-rotate(-3.5deg) saturate(205%);
  --f-blue:  invert() brightness(34%) sepia() hue-rotate(156deg) saturate(150%);
  --f-green: invert() brightness(49%) sepia() hue-rotate(95deg) saturate(250%);
  --f-red:   invert() brightness(22%) sepia(98%) hue-rotate(-62deg) saturate(900%);
}

/* === BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); font-size: var(--text-base); line-height: var(--leading-normal); color: var(--text-body); background: var(--surface-page); -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font); color: var(--text-heading); line-height: var(--leading-tight); font-weight: var(--w-medium); }
a { color: var(--text-link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; -webkit-user-drag: none; user-drag: none; pointer-events: none; }
::selection { background: var(--gold-200); color: var(--ink-900); }

/* === UTILITY === */
.wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--page-pad); }
.eyebrow { font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: var(--tracking-wider); color: var(--gold-700); font-weight: var(--w-semibold); display: block; }
.divider { height: 1.05px; border: none; background: var(--grad-gold-rule); }
.divider--center { background: var(--grad-gold-rule-center); }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-family: var(--font); font-weight: var(--w-semibold); letter-spacing: var(--tracking-wide);
  text-transform: uppercase; white-space: nowrap; color: #fff; border: none;
  border-radius: var(--r-pill); cursor: pointer; text-decoration: none;
  transition: transform var(--dur-fast) ease, box-shadow var(--dur) ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: scale(1.03); text-decoration: none; }
.btn:active { transform: scale(0.96); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-sm  { height: var(--ctrl-sm); padding: 0 var(--s4);  font-size: var(--text-2xs); }
.btn-md  { height: var(--ctrl);    padding: 0 var(--s6);  font-size: var(--text-xs); }
.btn-lg  { height: var(--ctrl-lg); padding: 0 var(--s8);  font-size: var(--text-sm); }
.btn-xl  { height: 60px;           padding: 0 var(--s10); font-size: var(--text-base); }
.btn-gold    { background: var(--gold); }
.btn-gold:hover { box-shadow: var(--sh-gold); }
.btn-blue    { background: var(--grad-blue-btn); }
.btn-blue:hover { box-shadow: var(--sh-brand); }
.btn-outline { background: transparent; color: var(--gold-700); box-shadow: inset 0 0 0 1.5px var(--gold); }
.btn-outline:hover { background: var(--surface-gold-wash); }
.btn-ghost   { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--surface-blue-wash); box-shadow: none; }
.btn-danger  { background: var(--danger); }
.btn-block   { display: flex; width: 100%; justify-content: center; }

/* Icon button */
.icon-btn { display: inline-flex; align-items: center; justify-content: center; border: none; cursor: pointer; background: transparent; border-radius: var(--r-full); transition: transform var(--dur-fast) ease, background var(--dur) ease; }
.icon-btn:hover { transform: scale(1.05); }
.icon-btn-blue { background: var(--grad-blue-btn); box-shadow: var(--sh-md); }
.icon-btn-soft { background: var(--surface-sunken); }
.icon-btn-soft:hover { background: var(--cloud); }

/* Icon coloring */
.ico { display: inline-block; }
.ico-grey  { filter: var(--f-grey); }
.ico-gold  { filter: var(--f-gold); }
.ico-blue  { filter: var(--f-blue); }
.ico-green { filter: var(--f-green); }
.ico-white { filter: brightness(0) invert(1); }

/* === CARD === */
.card { background: var(--surface-card); border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden; }
.card-flat { box-shadow: none; border: 1px solid var(--border-hair); }
.card-lift { transition: transform var(--dur) var(--ease-out); }
.card-lift:hover { transform: translateY(-4px); }

/* === BADGE === */
.badge { display: inline-flex; align-items: center; gap: 3px; font-size: var(--text-2xs); font-weight: var(--w-semibold); letter-spacing: var(--tracking-wide); text-transform: uppercase; padding: 0.28em 0.85em; border-radius: var(--r-pill); line-height: 1.4; }
.badge-gold   { background: var(--surface-gold-wash); color: var(--gold-700); }
.badge-blue   { background: var(--surface-blue-wash); color: var(--blue-900); }
.badge-solid-gold { background: var(--gold); color: #fff; }
.badge-solid-blue { background: var(--blue); color: #fff; }
.badge-success { background: #d4f0e2; color: #1f7a4d; }

/* === FORM ELEMENTS === */
.field { display: flex; flex-direction: column; gap: var(--s2); }
.field-label { font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--text-muted); font-weight: var(--w-semibold); }
.input, .textarea, .select {
  font-family: var(--font); font-size: var(--text-base); color: var(--text-body);
  background: var(--surface-sunken); border: 1.5px solid transparent;
  outline: none; width: 100%;
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease, background var(--dur) ease;
}
.input  { height: var(--ctrl); border-radius: var(--r-pill); padding: 0 var(--s5); }
.select { height: var(--ctrl); border-radius: var(--r-pill); padding: 0 var(--s8) 0 var(--s5); appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234c6f83' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--s5) center; }
.textarea { border-radius: var(--r-2xl); padding: var(--s3) var(--s5); min-height: 96px; resize: vertical; line-height: var(--leading-relaxed); }
.input:focus, .textarea:focus, .select:focus { border-color: var(--gold); background: var(--white); box-shadow: var(--sh-sm); }
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }

/* === QTY STEPPER === */
.qty { display: inline-flex; align-items: center; background: var(--surface-sunken); border-radius: var(--r-pill); padding: 3px; gap: 2px; }
.qty-btn { width: 32px; height: 32px; border: none; border-radius: var(--r-full); cursor: pointer; background: var(--white); color: var(--blue); font-size: var(--text-lg); font-weight: var(--w-semibold); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--sh-xs); transition: transform var(--dur-fast) ease, background var(--dur) ease; }
.qty-btn:hover { transform: scale(1.08); background: var(--blue); color: var(--white); }
.qty-input { width: 46px; text-align: center; border: none; background: transparent; outline: none; padding: 4px 0; font-family: var(--font); font-weight: var(--w-semibold); font-size: var(--text-base); color: var(--ink-900); -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* === PRODUCT CARD === */
.product-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--dur) var(--ease-out); }
.product-card:hover { transform: translateY(-4px); }
.product-card__media { position: relative; aspect-ratio: 1/1; background: var(--white); overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 8px; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--dur-img) var(--ease-out); }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s2); flex: 1; }
.product-card__cat { font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--text-faint); }
.product-card__title { font-size: var(--text-xl); color: var(--text-heading); font-weight: var(--w-medium); line-height: var(--leading-snug); }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: var(--s3); gap: 8px; }
.product-card__price { font-size: var(--text-lg); color: var(--gold-700); font-weight: var(--w-semibold); white-space: nowrap; }
.product-card__price small { color: var(--text-faint); font-weight: var(--w-regular); font-size: var(--text-xs); }
.product-card__add { flex-shrink: 0; }

/* === OPTION PICKER === */
.opt-picker { position: relative; margin-top: 20px; }
.opt-picker-label { font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--text-muted); font-weight: var(--w-semibold); display: block; margin-bottom: 8px; }
.opt-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--surface-sunken); border: 1.5px solid transparent; border-radius: var(--r-pill);
  padding: 0 18px; height: var(--ctrl); cursor: pointer; font-family: var(--font);
  font-size: var(--text-base); transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}
.opt-trigger:focus { outline: none; }
.opt-trigger.open { border-color: var(--gold); box-shadow: var(--sh-sm); }
.opt-trigger-text { color: var(--text-faint); }
.opt-trigger-text.selected { color: var(--ink-900); }
.opt-trigger-chevron { color: var(--blue); font-size: 11px; transition: transform var(--dur) ease; flex-shrink: 0; }
.opt-trigger.open .opt-trigger-chevron { transform: rotate(180deg); }
.opt-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40;
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  border: 1px solid var(--border-hair); overflow: hidden; max-height: 320px; overflow-y: auto;
}
.opt-dropdown.open { display: block; }
.opt-option {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer;
  border: none; border-top: 1px solid var(--mist); background: var(--white);
  padding: 13px 16px; font-family: var(--font); transition: background var(--dur) ease;
}
.opt-option:first-child { border-top: none; }
.opt-option:hover { background: var(--surface-sunken); }
.opt-option.chosen { background: var(--surface-gold-wash); }
.opt-check {
  width: 20px; height: 20px; border-radius: 5px; flex-shrink: 0;
  border: 1.5px solid var(--silver); background: transparent;
  display: flex; align-items: center; justify-content: center; transition: all var(--dur) ease;
}
.opt-option.chosen .opt-check { border-color: var(--gold); background: var(--gold); }
.opt-check-mark { color: #fff; font-size: 12px; line-height: 1; display: none; }
.opt-option.chosen .opt-check-mark { display: block; }
.opt-name  { flex: 1; font-size: var(--text-base); color: var(--ink-900); }
.opt-price { font-size: var(--text-sm); font-weight: 600; color: var(--gold-700); white-space: nowrap; }

/* === NOTIFICATION BAR === */
.notice-bar { background: var(--blue); color: var(--white); overflow: hidden; }
.notice-inner { display: flex; align-items: center; justify-content: center; height: 38px; font-size: var(--text-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; font-weight: var(--w-medium); }
.notice-track { white-space: nowrap; animation: marquee 26s linear infinite; }
@media (prefers-reduced-motion: reduce) { .notice-track { animation: none; } }

/* === KEYFRAMES === */
@keyframes marquee { 0% { transform: translateX(70%); } 100% { transform: translateX(-100%); } }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ================================================================
   SITE HEADER
   ================================================================ */
.site-header { position: sticky; top: 0; z-index: 100; }
.header-bar  { background: var(--white); border-bottom: 1px solid var(--border-hair); }
.header-inner {
  max-width: var(--content-max); margin: 0 auto;
  height: 80px; display: flex; align-items: center; gap: 22px; padding: 0 var(--page-pad);
}
.header-logo  { height: 44px; width: auto; flex-shrink: 0; }
.header-nav   { display: flex; gap: 18px; margin-left: 8px; }
.header-nav a {
  font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .06em; font-weight: 600;
  color: var(--text-body); text-decoration: none; padding-bottom: 3px;
  border-bottom: 2px solid transparent; transition: color var(--dur) ease, border-color var(--dur) ease;
}
.header-nav a:hover, .header-nav a.active { color: var(--gold-700); border-bottom-color: var(--gold); text-decoration: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-phone { display: flex; align-items: center; gap: 7px; color: var(--blue); font-weight: 600; font-size: var(--text-sm); text-decoration: none; }
.header-phone:hover { color: var(--blue-900); text-decoration: none; }
.header-phone img { width: 18px; height: 18px; filter: var(--f-blue); }
.cart-wrap  { position: relative; }
.cart-badge { position: absolute; top: -4px; right: -4px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 4px; pointer-events: none; }

/* Mobile hamburger */
.ham-btn { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; padding: 8px; border-radius: var(--r-md); }
.ham-btn span { display: block; height: 2px; background: var(--ink-700); border-radius: 2px; transition: transform var(--dur) ease, opacity var(--dur) ease; }
.mobile-nav { display: none; background: var(--white); border-top: 1px solid var(--border-hair); padding: var(--s4) var(--page-pad); flex-direction: column; gap: 4px; }
.mobile-nav a { display: block; padding: 10px 14px; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; color: var(--text-body); border-radius: var(--r-md); }
.mobile-nav a:hover { background: var(--surface-sunken); text-decoration: none; color: var(--gold-700); }
.mobile-nav.open { display: flex; }

/* ================================================================
   CONTACT MODAL
   ================================================================ */
/* Scrim + backdrop blur are toggled with display (single composite) and are
   deliberately NOT opacity-animated: fading a backdrop-filter layer forces the
   blur to recompute every frame and causes jank. The modal itself animates. */
.contact-overlay { position: fixed; inset: 0; z-index: 1100; background: rgba(30,40,50,.5); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px; }
.contact-modal { background: #fff; border-radius: 16px; width: 100%; max-width: 520px; box-shadow: 0 24px 60px rgba(0,0,0,.2); overflow: hidden; opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .2s var(--ease-out), transform .2s var(--ease-out); will-change: opacity, transform; }
.contact-overlay.open .contact-modal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .contact-modal { transition: none; transform: none; } }
.contact-modal__head { display: flex; align-items: flex-start; justify-content: space-between; padding: 28px 28px 0; }
.contact-modal__title { font-size: var(--text-3xl); font-weight: var(--w-bold); color: var(--ink-900); margin: 0; line-height: 1.15; }
.contact-modal__close { background: var(--surface-paper); border: none; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--text-muted); flex-shrink: 0; margin-top: 4px; }
.contact-modal__close:hover { background: var(--border-hair); }
.contact-modal__body { padding: 20px 28px 0; }
.contact-modal__sub { font-size: var(--text-sm); color: var(--text-body); margin: 0 0 20px; line-height: 1.6; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-field-full { grid-column: 1 / -1; }
.contact-textarea { resize: vertical; min-height: 120px; }
.contact-modal__foot { display: flex; align-items: center; justify-content: space-between; padding: 20px 28px 28px; gap: 12px; }
.contact-cancel-btn { background: none; border: none; cursor: pointer; font-size: var(--text-xs); font-weight: var(--w-semibold); letter-spacing: .08em; color: var(--text-muted); padding: 8px 4px; }
.contact-cancel-btn:hover { color: var(--ink-900); }
.contact-submit-btn { letter-spacing: .06em; font-size: var(--text-xs); }
.contact-error { color: var(--danger); font-size: var(--text-sm); padding: 0 28px 8px; }
.contact-link { color: var(--gold-700); font-weight: var(--w-semibold); text-decoration: none; }
.contact-link:hover { text-decoration: underline; }
.contact-success { text-align: center; padding: 12px 0 8px; }
.contact-success-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.contact-success p { font-size: var(--text-sm); color: var(--text-muted); margin: 0 0 8px; }

/* ================================================================
   SEARCH OVERLAY
   ================================================================ */
.search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(30,44,54,.88); backdrop-filter: blur(6px);
  display: flex; flex-direction: column; align-items: center; padding-top: 120px;
  opacity: 0; pointer-events: none;
  /* No opacity transition on this blurred layer (avoids per-frame blur
     recompute / jank). The .search-box below animates instead. */
}
.search-overlay.open { opacity: 1; pointer-events: all; }
.search-overlay-close {
  position: absolute; top: 22px; right: 22px;
  width: 44px; height: 44px; border-radius: var(--r-full);
  background: rgba(255,255,255,.12); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur) ease;
}
.search-overlay-close:hover { background: rgba(255,255,255,.22); }
.search-overlay-close img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.search-box {
  width: min(640px, 92vw);
  transform: translateY(-12px);
  transition: transform var(--dur-slow) var(--ease-out);
}
.search-overlay.open .search-box { transform: none; }
.search-input-wrap {
  display: flex; align-items: center; background: var(--white); border-radius: var(--r-pill);
  box-shadow: var(--sh-xl); overflow: hidden;
}
.search-input-wrap img { width: 20px; height: 20px; filter: var(--f-blue); flex-shrink: 0; margin-left: 20px; }
.search-input-wrap input {
  flex: 1; border: none; outline: none; padding: 0 18px;
  height: 58px; font-family: var(--font); font-size: var(--text-xl);
  color: var(--ink-900); background: transparent;
}
.search-input-wrap input::placeholder { color: var(--ash); }
.search-clear {
  width: 40px; height: 40px; margin-right: 8px; flex-shrink: 0;
  background: var(--surface-sunken); border: none; border-radius: var(--r-full);
  cursor: pointer; display: none; align-items: center; justify-content: center;
  transition: background var(--dur) ease;
}
.search-clear.visible { display: flex; }
.search-clear:hover { background: var(--cloud); }
.search-clear img { width: 14px; height: 14px; filter: var(--f-grey); }
.search-hint { color: rgba(255,255,255,.6); font-size: var(--text-xs); text-align: center; margin-top: 12px; letter-spacing: .04em; }
.search-results {
  width: min(640px, 92vw); margin-top: 14px;
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--sh-xl);
  overflow: hidden; max-height: 420px; overflow-y: auto;
  display: none;
}
.search-results.has-results { display: block; }
.search-result-item {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  text-decoration: none; color: var(--text-body);
  border-bottom: 1px solid var(--border-hair); transition: background var(--dur) ease;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--surface-sunken); text-decoration: none; }
.search-result-thumb {
  width: 48px; height: 48px; border-radius: var(--r-sm); overflow: hidden;
  background: var(--surface-sunken); flex-shrink: 0;
}
.search-result-thumb img { width: 100%; height: 100%; object-fit: contain; }
.search-result-name { font-weight: 600; font-size: var(--text-sm); color: var(--ink-900); }
.search-result-cat  { font-size: var(--text-xs); color: var(--text-faint); margin-top: 2px; }
.search-result-price { margin-left: auto; font-weight: 600; color: var(--gold-700); font-size: var(--text-sm); white-space: nowrap; }
.search-no-results { padding: 28px 16px; text-align: center; color: var(--text-muted); font-size: var(--text-sm); }
.search-view-all {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 16px; font-weight: 600; font-size: var(--text-sm);
  color: var(--blue); border-top: 1px solid var(--border-hair); text-decoration: none;
  transition: background var(--dur) ease;
}
.search-view-all:hover { background: var(--surface-blue-wash); text-decoration: none; }

/* ================================================================
   SITE FOOTER
   ================================================================ */
.site-footer { background: var(--blue-900); color: #fff; }
.footer-inner { max-width: var(--content-max); margin: 0 auto; padding: 56px var(--page-pad) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-logo { height: 46px; margin-bottom: 16px; }
.footer-desc { color: rgba(255,255,255,.75); font-size: var(--text-sm); line-height: var(--leading-relaxed); max-width: 290px; margin-bottom: 16px; }
.footer-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; text-decoration: none; font-size: var(--text-sm); }
.footer-phone img { width: 16px; height: 16px; filter: brightness(0) invert(1); opacity: .8; }
.footer-phone:hover { color: var(--gold-200); text-decoration: none; }
.footer-col-head { font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: .12em; color: var(--gold-200); font-weight: 700; margin-bottom: 14px; display: block; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: rgba(255,255,255,.78); font-size: var(--text-sm); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 34px; height: 34px; border-radius: var(--r-full); background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 14px; color: rgba(255,255,255,.8); transition: background var(--dur) ease; }
.footer-social a:hover { background: rgba(255,255,255,.2); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: rgba(255,255,255,.5); font-size: var(--text-2xs); letter-spacing: .03em; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }

/* ================================================================
   HOME PAGE
   ================================================================ */
.hero { background: linear-gradient(180deg, var(--surface-blue-wash) 0%, var(--white) 78%); }
.hero__inner { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 64px var(--page-pad) 72px; }
.hero__h1 { font-size: clamp(40px, 5vw, 70px); line-height: 1.0; font-weight: 500; letter-spacing: -0.01em; margin: 16px 0 20px; }
.hero__h1 em { font-style: normal; color: var(--gold); }
.hero__lead { font-size: var(--text-lg); color: var(--text-body); line-height: var(--leading-relaxed); max-width: 480px; margin-bottom: 28px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 28px; margin-top: 34px; }
.hero__stat-num { font-size: var(--text-3xl); font-weight: 600; color: var(--blue); line-height: 1; }
.hero__stat-lbl { font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); margin-top: 3px; }
.hero__visual { position: relative; }
.hero__img { aspect-ratio: 3/4; border-radius: var(--r-lg); overflow: hidden; position: relative; background: linear-gradient(135deg, #cbb488, var(--gold) 55%, var(--blue-700)); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hero__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, var(--surface-blue-wash) 0%, rgba(238,243,245,.55) 30%, transparent 65%); pointer-events: none; }
.hero__float { position: absolute; bottom: -22px; left: -22px; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.hero__float img { width: 26px; height: 26px; filter: var(--f-green); flex-shrink: 0; }
.hero__float-title { font-weight: 600; color: var(--ink-900); font-size: var(--text-sm); }
.hero__float-sub   { font-size: var(--text-xs); color: var(--text-muted); }

/* Section headers */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; gap: 16px; }
.sec-head h2 { font-size: var(--text-4xl); font-weight: 500; margin-top: 8px; }
.sec-center { text-align: center; margin-bottom: 44px; }
.sec-center h2 { font-size: var(--text-4xl); font-weight: 500; margin-top: 8px; }

/* Category grid */
.home-cats { max-width: var(--content-max); margin: 0 auto; padding: 72px var(--page-pad); }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card { position: relative; display: block; text-decoration: none; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--surface-sunken); transition: transform var(--dur) var(--ease-out); }
.cat-card:hover { transform: translateY(-4px); text-decoration: none; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-img) var(--ease-out); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(30,44,54,.84)); }
.cat-card__label { position: absolute; left: 16px; bottom: 14px; color: #fff; }
.cat-card__name  { font-size: var(--text-xl); font-weight: 500; line-height: 1.1; }
.cat-card__count { font-size: var(--text-xs); opacity: .82; margin-top: 2px; }

/* Featured scroll row */
.featured-sec { background: var(--surface-paper); padding: 68px 0; }
.featured-inner { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--page-pad); }
.scroll-track { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 8px; }
.scroll-track::-webkit-scrollbar { display: none; }
.scroll-track .product-card { min-width: 260px; max-width: 260px; flex: 0 0 260px; }

/* How it works */
.how-sec { max-width: var(--content-max); margin: 0 auto; padding: 72px var(--page-pad); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.how-num { width: 38px; height: 38px; border-radius: 999px; background: var(--surface-gold-wash); color: var(--gold-700); font-weight: 700; font-size: var(--text-lg); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.how-grid h3 { font-size: var(--text-2xl); font-weight: 500; margin-bottom: 10px; }
.how-grid p  { color: var(--text-muted); line-height: var(--leading-relaxed); }

/* CTA / testimonial */
.cta-sec { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--page-pad) 80px; }
.cta-card { background: var(--blue); border-radius: var(--r-xl); color: #fff; padding: 52px 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; box-shadow: var(--sh-brand); }
.cta-quote { font-size: var(--text-3xl); line-height: 1.35; font-weight: 400; }
.cta-quote em { font-style: normal; color: var(--gold-200); }
.cta-author { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.cta-avatar { width: 44px; height: 44px; border-radius: 999px; background: linear-gradient(135deg,#c9b487,var(--gold)); flex-shrink: 0; }
.cta-name { font-weight: 600; font-size: var(--text-sm); }
.cta-name-sub { font-size: var(--text-xs); color: rgba(255,255,255,.7); }
.cta-right { text-align: center; }
.cta-right h3 { font-size: var(--text-3xl); font-weight: 500; margin-bottom: 16px; }
.cta-sub { margin-top: 12px; font-size: var(--text-xs); color: rgba(255,255,255,.7); }
img.cta-avatar { object-fit: cover; }
.cta-rating { display: flex; align-items: center; gap: 16px; }
.cta-rating-num { font-size: var(--text-3xl); font-weight: 600; line-height: 1; color: var(--gold-200); }
.cta-quote--sm { font-size: var(--text-xl); margin-top: 18px; }
.stars { color: #f4b400; letter-spacing: 2px; white-space: nowrap; }
.stars--gold { color: var(--gold-200); }

/* Google reviews (side-scrolling) */
.reviews-sec { max-width: var(--content-max); margin: 0 auto; padding: 8px var(--page-pad) 64px; }
.reviews-head { text-align: center; margin-bottom: 26px; }
.reviews-head h2 { margin: 6px 0 0; }
.reviews-rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-size: var(--text-sm); color: var(--text-muted); }
.reviews-rating b { color: var(--text-heading); }
.reviews-rating__link { color: var(--text-muted); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .15s; }
.reviews-rating__link:hover { border-bottom-color: var(--gold); }
.reviews-rating__link b { color: var(--text-heading); }
.reviews-more { text-align: center; margin-top: 6px; }
.reviews-more__link { color: var(--text-link); font-weight: var(--w-semibold); font-size: var(--text-sm); text-decoration: none; }
.reviews-more__link:hover { color: var(--gold-700); }
.cta-rating__link { color: var(--gold-200); text-decoration: underline; text-underline-offset: 2px; }
.reviews-scroll {
  display: flex; gap: 20px; overflow-x: auto; padding: 6px 4px 20px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.reviews-scroll::-webkit-scrollbar { height: 8px; }
.reviews-scroll::-webkit-scrollbar-thumb { background: var(--border-hair); border-radius: 999px; }
.review-card {
  scroll-snap-align: start; flex: 0 0 340px; max-width: 340px;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface-card); border: 1px solid var(--border-hair);
  border-radius: var(--r-xl); padding: 24px 24px 22px; box-shadow: 0 6px 22px rgba(31,41,51,.06);
}
.review-text { font-size: var(--text-base); line-height: 1.55; color: var(--text-body); flex: 1; margin: 0; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; flex: none; }
.review-avatar--blank { background: linear-gradient(135deg, #c9b487, var(--gold)); }
.review-name { font-weight: var(--w-semibold); font-size: var(--text-sm); color: var(--text-heading); }
.review-sub { font-size: var(--text-xs); color: var(--text-faint); }
@media (max-width: 640px) {
  .review-card { flex-basis: 82%; max-width: 82%; }
}

/* Service areas */
.areas-sec { background: var(--surface-paper); padding: 56px 0; }
.areas-inner { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--page-pad); }
.areas-inner h2 { font-size: var(--text-3xl); font-weight: 500; margin-top: 8px; margin-bottom: 24px; }
.areas-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chip { display: inline-block; padding: 8px 20px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--border-hair); font-size: var(--text-sm); font-weight: 500; color: var(--text-body); box-shadow: var(--sh-xs); }

/* ================================================================
   CATALOG LIST PAGE
   ================================================================ */
.page-hero { background: var(--surface-blue-wash); }
.page-hero__inner { max-width: var(--content-max); margin: 0 auto; padding: 48px var(--page-pad) 40px; }
.page-hero h1 { font-size: var(--text-5xl); font-weight: 500; margin: 8px 0 10px; }
.page-hero p  { color: var(--text-muted); font-size: var(--text-lg); max-width: 560px; }
.catalog-body { max-width: var(--content-max); margin: 0 auto; padding: 48px var(--page-pad) 80px; }

/* ================================================================
   CATEGORY PAGE
   ================================================================ */
.cat-banner { position: relative; height: 260px; overflow: hidden; background: linear-gradient(135deg, var(--blue-700), var(--ink-900)); }
.cat-banner img { width: 100%; height: 100%; object-fit: cover; }
.cat-banner__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,44,54,.25), rgba(30,44,54,.72)); }
.cat-banner__text { position: absolute; bottom: 28px; left: 0; right: 0; max-width: var(--content-max); margin: 0 auto; padding: 0 var(--page-pad); color: #fff; }
.cat-banner__text h1 { font-size: var(--text-4xl); font-weight: 500; color: #fff; margin-bottom: 6px; }
.cat-banner__text p  { color: rgba(255,255,255,.85); margin: 0; }

.cat-body { max-width: var(--content-max); margin: 0 auto; padding: 40px var(--page-pad) 80px; display: grid; grid-template-columns: 210px 1fr; gap: 40px; align-items: start; }

/* Sidebar filter */
.filter-side h4 { font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: .1em; color: var(--text-faint); font-weight: 700; margin-bottom: 12px; }
.filter-links { display: flex; flex-direction: column; gap: 2px; }
.filter-links a { display: block; padding: 9px 14px; border-radius: var(--r-pill); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .04em; font-weight: 500; color: var(--text-body); text-decoration: none; transition: background var(--dur) ease, color var(--dur) ease; }
.filter-links a:hover { background: var(--surface-sunken); text-decoration: none; }
.filter-links a.active { background: var(--gold); color: #fff; font-weight: 600; }

/* Product area */
.prod-area-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.prod-area-head span { color: var(--text-muted); font-size: var(--text-sm); }
.prod-area-head b { color: var(--ink-900); }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }

/* ================================================================
   ITEM DETAIL PAGE
   ================================================================ */
.breadcrumb { max-width: var(--content-max); margin: 0 auto; padding: 20px var(--page-pad) 0; font-size: var(--text-xs); color: var(--text-muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text-body); }
.breadcrumb-sep { color: var(--silver); }

.item-body { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 28px var(--page-pad) 64px; align-items: start; }
.item-gallery__main { aspect-ratio: 1/1; border-radius: var(--r-lg); overflow: hidden; background: var(--white); display: flex; align-items: center; justify-content: center; padding: 16px; }
.item-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.item-info { position: sticky; top: 96px; }
.item-info .eyebrow { margin-bottom: 8px; }
.item-info h1 { font-size: var(--text-4xl); font-weight: 500; line-height: 1.05; margin-bottom: 12px; }
.item-price { font-size: var(--text-3xl); color: var(--gold-700); font-weight: 600; margin-bottom: 18px; }
.item-price small { font-size: var(--text-sm); color: var(--text-faint); font-weight: 400; }
.item-desc { color: var(--text-body); font-size: var(--text-xs); line-height: 1.55; margin-bottom: 14px; max-width: 440px; }
.item-desc p { margin-bottom: 6px; }
.item-desc p:last-child { margin-bottom: 0; }
.item-desc .desc-label { font-size: 10px; text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--gold-700); font-weight: var(--w-semibold); margin-bottom: 3px; margin-top: 8px; }
.item-desc .desc-list { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-direction: column; gap: 2px; }
.item-desc .desc-list li { padding-left: 12px; position: relative; font-size: var(--text-xs); color: var(--text-body); line-height: 1.45; }
.item-desc .desc-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.item-divider { height: 1.05px; border: none; background: var(--border-hair); margin: 14px 0; }
.qty-row { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.qty-col label { font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--text-muted); font-weight: var(--w-semibold); display: block; margin-bottom: 8px; }
.item-assurances { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.item-assurance { display: flex; align-items: center; gap: 6px; font-size: var(--text-xs); color: var(--text-muted); }
.item-assurance img { width: 15px; height: 15px; filter: var(--f-green); flex-shrink: 0; }

.related-sec { background: var(--surface-paper); padding: 56px 0; }
.related-inner { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--page-pad); }
.related-inner h2 { font-size: var(--text-3xl); font-weight: 500; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ================================================================
   CART + QUOTE PAGE
   ================================================================ */
.cart-top { max-width: var(--content-max); margin: 0 auto; padding: 36px var(--page-pad) 0; }
.cart-top .eyebrow { margin-bottom: 6px; }
.cart-top h1 { font-size: var(--text-4xl); font-weight: 500; margin-bottom: 28px; }
.cart-body { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--page-pad) 80px; display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.cart-col { display: flex; flex-direction: column; gap: 22px; }
.cart-section { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 24px; }
.cart-section h2 { font-size: var(--text-2xl); font-weight: 500; margin-bottom: 18px; }
.cart-section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.cart-section-head h2 { margin: 0; }
.cart-items { display: flex; flex-direction: column; gap: 20px; }
.cart-item { display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: start; }
.cart-item + .cart-item { padding-top: 20px; border-top: 1px solid var(--border-hair); }
.cart-thumb { width: 80px; height: 66px; border-radius: var(--r-sm); overflow: hidden; background: var(--white); flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 4px; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-name { font-weight: 600; color: var(--ink-900); font-size: var(--text-lg); line-height: 1.2; }
.cart-item-meta { font-size: var(--text-xs); color: var(--text-muted); margin: 4px 0 10px; }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; }
.cart-item-price { font-weight: 600; color: var(--gold-700); }
.remove-btn { background: transparent; border: none; cursor: pointer; color: var(--danger); font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-family: var(--font); padding: 0; }
.remove-btn:hover { color: var(--danger-strong); }

/* Form grids */
.fg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg-full { grid-column: 1 / -1; }

/* Summary sticky rail */
.cart-summary { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 24px; position: sticky; top: 96px; }
.cart-summary h3 { font-size: var(--text-xl); font-weight: 500; margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; font-size: var(--text-sm); color: var(--text-muted); margin-bottom: 10px; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.sum-total span:first-child { font-weight: 600; color: var(--ink-900); font-size: var(--text-base); }
.sum-total-num { font-size: var(--text-2xl); font-weight: 600; color: var(--gold-700); }
.sum-note { font-size: var(--text-2xs); color: var(--text-faint); margin: 8px 0 20px; line-height: 1.6; }
.submit-sub { margin-top: 12px; text-align: center; font-size: var(--text-2xs); color: var(--text-faint); }

/* Empty + success states */
.state-center { text-align: center; padding: 80px var(--page-pad) 120px; max-width: var(--content-max); margin: 0 auto; }
.state-icon { width: 72px; height: 72px; border-radius: 999px; background: var(--surface-gold-wash); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.state-icon img { width: 38px; height: 38px; filter: var(--f-green); }
.state-icon--grey img { filter: var(--f-grey); }
.state-center h1 { font-size: var(--text-4xl); font-weight: 500; margin-bottom: 12px; }
.state-center .lead { color: var(--text-muted); font-size: var(--text-lg); max-width: 520px; margin: 0 auto 10px; }
.state-center .sub  { color: var(--text-faint); font-size: var(--text-sm); margin-bottom: 32px; }
.state-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Messages (Django) */
.messages { list-style: none; max-width: var(--content-max); margin: 0 auto; padding: 12px var(--page-pad) 0; }
.messages li { padding: 12px 18px; border-radius: var(--r-md); margin-bottom: 8px; font-size: var(--text-sm); font-weight: 500; }
.messages .error   { background: #fdf0f0; color: var(--danger); border: 1px solid #f5c0c0; }
.messages .success { background: #edfaf3; color: #1a5c37; border: 1px solid #a0d9be; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-card { padding: 40px; }
}

@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; padding: 48px var(--page-pad) 56px; }
  .hero__visual { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .how-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-card { grid-template-columns: 1fr; padding: 32px 24px; }
  .cat-body { grid-template-columns: 1fr; }
  .filter-side { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
  .filter-side h4 { width: 100%; margin-bottom: 0; }
  .filter-links { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .filter-links a { padding: 7px 14px; }
  .item-body { grid-template-columns: 1fr; gap: 32px; }
  .item-info { position: static; }
  .cart-body { grid-template-columns: 1fr; }
  .cart-summary { position: static; order: -1; }
  .fg2 { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .header-nav { display: none; }
  .ham-btn { display: flex; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .state-btns { flex-direction: column; align-items: center; }
  .hero__stats { gap: 20px; }
  .cta-right h3 { font-size: var(--text-2xl); }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prod-area-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .header-phone .phone-text { display: none; }
}

/* ================================================================
   BLOG
   ================================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--white); border: 1px solid var(--border-hair); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow var(--dur) ease, transform var(--dur) ease; display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--sh-lg); transform: translateY(-2px); }
.blog-card__img { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--blue-700), var(--ink-900)); overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card__img--placeholder { background: linear-gradient(135deg, var(--surface-blue-wash), var(--gold-050)); }
.blog-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card__date { font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: .08em; color: var(--gold-700); font-weight: var(--w-semibold); margin-bottom: 8px; }
.blog-card__title { font-size: var(--text-base); font-weight: var(--w-semibold); color: var(--ink-900); line-height: 1.35; margin: 0 0 10px; }
.blog-card__excerpt { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.6; margin: 0 0 16px; flex: 1; }
.blog-card__read { font-size: var(--text-xs); font-weight: var(--w-semibold); color: var(--gold-700); letter-spacing: .04em; margin-top: auto; }
.blog-card:hover .blog-card__read { text-decoration: underline; }

.blog-layout { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; }
.blog-article__meta { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--gold-700); font-weight: var(--w-semibold); margin-bottom: 10px; }
.blog-article__title { font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); font-weight: var(--w-black); color: var(--ink-900); line-height: 1.1; margin: 0 0 28px; letter-spacing: -0.01em; }
.blog-article__hero { width: 100%; border-radius: var(--r-lg); margin-bottom: 32px; display: block; max-height: 460px; object-fit: cover; }
.blog-article__body { font-size: var(--text-base); color: var(--text-body); line-height: 1.8; }
.blog-article__body p { margin: 0 0 1.25em; }
.blog-article__body p:last-child { margin-bottom: 0; }
.blog-article__body strong, .blog-article__body b { color: var(--ink-900); font-weight: var(--w-semibold); }
.blog-section-head { font-size: var(--text-xl); font-weight: var(--w-bold); color: var(--ink-900); margin: 2em 0 0.5em; line-height: 1.2; }
.blog-section-head:first-child { margin-top: 0; }
.blog-list { margin: 0 0 1.25em 1.25em; padding: 0; list-style: disc; }
.blog-list li { margin-bottom: 0.4em; line-height: 1.65; }
.blog-spec-list { margin: 0 0 1.25em 0; padding: 0; list-style: none; border-left: 3px solid var(--gold-200); padding-left: 14px; }
.blog-spec-list li { padding: 3px 0; font-size: var(--text-sm); color: var(--text-muted); line-height: 1.5; }
.blog-spec-list li strong { color: var(--ink-900); }
.blog-article__cta { margin-top: 40px; padding: 28px; background: var(--surface-paper); border-radius: var(--r-lg); border-left: 4px solid var(--gold); }
.blog-article__cta p { font-size: var(--text-base); font-weight: var(--w-semibold); color: var(--ink-900); margin: 0 0 16px; }

.blog-sidebar { position: sticky; top: 90px; }
.blog-sidebar__section { background: var(--white); border: 1px solid var(--border-hair); border-radius: var(--r-lg); padding: 20px; }
.blog-sidebar__head { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--text-faint); font-weight: var(--w-semibold); margin: 0 0 14px; }
.blog-sidebar__item { display: block; padding: 10px 0; border-bottom: 1px solid var(--border-hair); text-decoration: none; }
.blog-sidebar__item:last-child { border-bottom: none; padding-bottom: 0; }
.blog-sidebar__item-date { font-size: var(--text-2xs); color: var(--text-faint); margin-bottom: 3px; }
.blog-sidebar__item-title { font-size: var(--text-sm); color: var(--ink-900); line-height: 1.4; font-weight: var(--w-medium); }
.blog-sidebar__item:hover .blog-sidebar__item-title { color: var(--gold-700); }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* About popup body — paragraphs rendered from website.AboutPage.body */
.about-modal-body p { margin: 0 0 9px; }
.about-modal-body p:first-child { color: var(--ink-900); font-weight: var(--w-semibold); }
