﻿/* ==========================================================================
   Watch Works India - Boutique Styles & Editorial Minimalism Tokens
   Design System: Atelier Chronos
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

:root {
  --color-primary: #0e4471;
  --color-primary-container: #2e5c8a;
  --color-on-primary: #ffffff;
  --color-on-primary-container: #b2d4ff;
  --color-surface: #f9f9f9;
  --color-surface-dim: #dadada;
  --color-surface-bright: #f9f9f9;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low: #f3f3f3;
  --color-surface-container: #eeeeee;
  --color-surface-container-high: #e8e8e8;
  --color-surface-variant: #e2e2e2;
  --color-on-surface: #1a1c1c;
  --color-on-surface-variant: #42474f;
  --color-outline: #727780;
  --color-outline-variant: #c2c7d0;
  --border-brand-primary: rgba(46, 92, 138, 0.2);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

[id] {
  scroll-margin-top: 140px;
}

@media (min-width: 1081px) {
  html {
    scroll-padding-top: 90px;
  }
  [id] {
    scroll-margin-top: 90px;
  }
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-surface);
  color: var(--color-on-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.header-shell {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr) 44px;
  align-items: center;
  width: 100%;
  min-height: 80px;
  gap: 0.75rem;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.5rem, 1vw, 1.4rem);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}

.header-nav .nav-link:last-child {
  margin-right: 0;
}

.brand-mark {
  position: static;
  transform: none;
  display: inline-block;
  text-align: left;
  white-space: nowrap;
  justify-self: start;
}

.header-tools {
  position: static;
  z-index: auto;
  margin-left: 0;
  justify-self: end;
}

/* Serif font classes */
.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

.font-mono-ref {
  font-family: 'JetBrains Mono', monospace;
}

/* Hairline dividers */
.border-brand-primary {
  border-color: var(--border-brand-primary);
}

.thin-divider {
  border-bottom: 1px solid var(--border-brand-primary);
}

.editorial-line {
  height: 1px;
  background-color: var(--border-brand-primary);
}

/* Editorial Minimalist Inputs */
.input-editorial {
  border: none;
  border-bottom: 1px solid var(--border-brand-primary);
  background: transparent;
  border-radius: 0;
  padding: 8px 0;
  transition: border-color 0.3s ease;
}

.input-editorial:focus {
  outline: none;
  box-shadow: none;
  border-bottom-color: var(--color-primary);
}

.input-editorial.is-invalid {
  border-bottom: 2px solid #dc2626 !important;
  background-color: rgba(254, 242, 242, 0.45) !important;
}

.input-ghost {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-outline-variant);
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
  transition: border-color 0.3s ease;
}

.input-ghost:focus {
  outline: none;
  box-shadow: none;
  border-bottom-color: var(--color-primary);
}

/* Sharp Action Buttons */
.btn-solid {
  background-color: var(--color-on-surface);
  color: var(--color-surface-container-lowest);
  border-radius: 0;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 500;
  padding: 14px 28px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-solid:hover {
  background-color: var(--color-primary-container);
  color: var(--color-on-primary);
}

.btn-ghost {
  border: 1px solid var(--color-on-surface);
  background: transparent;
  color: var(--color-on-surface);
  border-radius: 0;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 500;
  padding: 14px 28px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-ghost:hover {
  background-color: var(--color-primary-container);
  color: var(--color-on-primary);
  border-color: var(--color-primary-container);
}

.btn-blue {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
  border-radius: 0;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 500;
  padding: 14px 28px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-blue:hover {
  background-color: var(--color-primary-container);
}

/* Horizontal brand carousel hover */
.editorial-brand-card {
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}

.editorial-brand-card:hover {
  opacity: 0.98;
  filter: grayscale(0%);
  transform: translateY(-4px);
}

.horizontal-scroll-container:hover .editorial-brand-card:not(:hover) {
  opacity: 0.45;
  filter: grayscale(90%);
}

/* Hide scrollbar for clean luxury presentation */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #c2c7d0;
}
::-webkit-scrollbar-thumb:hover {
  background: #2e5c8a;
}

/* Modal and Drawer backdrop blur */
.modal-overlay {
  background-color: rgba(26, 28, 28, 0.7);
  backdrop-filter: blur(4px);
}

/* Floating Expandable Contact Widget */
.contact-expandable-pill {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  overflow: hidden;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  max-width: 56px;
}

.contact-expandable-pill:hover,
.contact-expandable-pill.is-expanded {
  width: auto;
  max-width: 540px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.contact-expandable-pill .contact-details {
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.22s ease 0.08s, transform 0.22s ease 0.08s;
  pointer-events: none;
}

.contact-expandable-pill:hover .contact-details,
.contact-expandable-pill.is-expanded .contact-details {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Material symbols adjustments */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}


/* ==========================================================================
   STOREFRONT THEME — layout & typography modelled on Watchfinder.
   Scoped to body[data-area="store"] so the admin portal is untouched.
   Brand blue (#0e4471) is kept as the accent colour.
   ========================================================================== */
body[data-area="store"] {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 300;
  background: #fff;
  color: #111;
}
body[data-area="store"] .bg-surface { background-color: #fff; }
body[data-area="store"] .bg-surface-container-low { background-color: #f5f5f5; }
body[data-area="store"] .font-serif:not(.wf-logo):not(.wf-footer-logo) {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}
body[data-area="store"] .text-on-surface-variant { color: #444; }
body[data-area="store"] .text-outline { color: #666; }
body[data-area="store"] .border-brand-primary { border-color: #e5e5e5; }

/* ---- Header (Watchfinder Editorial Luxury Architecture) ----------------- */
.wf-header {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
}

/* Base Nav Link Styles */
.wf-nav-link {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1a1c1c;
  text-decoration: none !important;
  border-bottom: 2px solid transparent;
  padding: 4px 0;
  white-space: nowrap;
  transition: color 0.15s ease, border-bottom-color 0.15s ease;
}
.wf-nav-link:hover {
  color: var(--color-primary, #0e4471);
  border-bottom-color: var(--color-primary, #0e4471);
}
.wf-nav button.wf-nav-link {
  font-family: inherit;
  padding: 4px 0;
  text-align: left;
  line-height: inherit;
}

.wf-logo {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}
.wf-logo:hover {
  opacity: 0.85;
}
.wf-logo-main {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(18px, 1.8vw, 20px);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-primary, #0e4471);
  line-height: 1.1;
  white-space: nowrap;
}
.wf-logo-sub {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #666;
  text-transform: uppercase;
  margin-top: 3px;
  white-space: nowrap;
}

.wf-tool-item {
  text-decoration: none !important;
  user-select: none;
}
.wf-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  background: #f9fafb;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.wf-search .material-symbols-outlined { font-size: 16px; color: #0e4471; }
.wf-search:hover {
  background: #ffffff;
  border-color: #0e4471;
  color: #0e4471;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Ensure hidden state is strictly respected across all header and search elements */
.wf-header > #store-nav.hidden,
.wf-header > #admin-nav.hidden,
.wf-header > .hidden,
.wf-search.hidden,
#search-toggle-btn.hidden,
.wf-tools .hidden,
.wf-tools > .hidden,
#admin-header-tools.hidden,
#quick-search-bar.hidden {
  display: none !important;
}

/* =========================================================================
   ADMIN PORTAL HEADER ARCHITECTURE (Zero-Overlap Studio Architecture)
   Switches from symmetrical 3-column grid to an executive studio flex bar:
   [Logo / Studio Brand] ----- [Multi-Tab Navigation] ----- [Admin Tools]
   ========================================================================= */
body[data-area="admin"] .wf-header,
.wf-header:has(#admin-nav:not(.hidden)) {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  min-height: 74px !important;
  padding: 0 clamp(16px, 2.5vw, 36px) !important;
  gap: clamp(12px, 2vw, 24px) !important;
}

body[data-area="admin"] .wf-header > .wf-logo-wrap,
.wf-header:has(#admin-nav:not(.hidden)) > .wf-logo-wrap {
  order: 1 !important;
  flex: 0 0 auto !important;
  text-align: left !important;
  padding: 0 !important;
  margin: 0 !important;
  grid-column: auto !important;
}

body[data-area="admin"] .wf-header > .wf-logo,
.wf-header:has(#admin-nav:not(.hidden)) > .wf-logo {
  align-items: flex-start !important;
}

body[data-area="admin"] .wf-header > #admin-nav:not(.hidden),
.wf-header:has(#admin-nav:not(.hidden)) > #admin-nav:not(.hidden) {
  order: 2 !important;
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: clamp(8px, 1.2vw, 18px) !important;
  margin: 0 0 0 clamp(8px, 1.5vw, 24px) !important;
  white-space: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-top: none !important;
  padding: 0 !important;
  grid-column: auto !important;
}

body[data-area="admin"] .wf-header > #admin-nav::-webkit-scrollbar,
.wf-header:has(#admin-nav:not(.hidden)) > #admin-nav::-webkit-scrollbar {
  display: none !important;
}

body[data-area="admin"] .wf-header > .wf-tools,
.wf-header:has(#admin-nav:not(.hidden)) > .wf-tools {
  order: 3 !important;
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(8px, 1.2vw, 16px) !important;
  margin-left: auto !important;
  grid-column: auto !important;
}

/* Admin Header Tablet & Mobile (< 1080px): Two-Row Clean Stacking */
@media (max-width: 1080px) {
  body[data-area="admin"] .wf-header,
  .wf-header:has(#admin-nav:not(.hidden)) {
    flex-wrap: wrap !important;
    padding: 10px 16px !important;
    min-height: auto !important;
  }
  body[data-area="admin"] .wf-header > .wf-logo-wrap,
  .wf-header:has(#admin-nav:not(.hidden)) > .wf-logo-wrap {
    order: 1 !important;
    flex: 1 1 auto !important;
  }
  body[data-area="admin"] .wf-header > .wf-tools,
  .wf-header:has(#admin-nav:not(.hidden)) > .wf-tools {
    order: 2 !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }
  body[data-area="admin"] .wf-header > #admin-nav:not(.hidden),
  .wf-header:has(#admin-nav:not(.hidden)) > #admin-nav:not(.hidden) {
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    margin: 8px 0 0 0 !important;
    padding: 8px 0 4px 0 !important;
    border-top: 1px solid #e5e5e5 !important;
  }
}

/* Admin Inventory Filter Pills & Search Input */
.admin-filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  background: #f9fafb;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  white-space: nowrap;
}
.admin-filter-pill:hover {
  background: #ffffff;
  border-color: #0e4471;
  color: #0e4471;
}
.admin-filter-pill.active {
  background: #0e4471;
  border-color: #0e4471;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(14, 68, 113, 0.2);
}

/* Desktop Mode (> 1080px): Symmetrical 3-Column Luxury Architecture (Storefront Mode) */
@media (min-width: 1081px) {
  body:not([data-area="admin"]) .wf-header:not(:has(#admin-nav:not(.hidden))) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    min-height: 74px;
    padding: 0 clamp(20px, 3vw, 40px);
    column-gap: clamp(20px, 2.5vw, 36px);
  }
  body:not([data-area="admin"]) .wf-header:not(:has(#admin-nav:not(.hidden))) > #store-nav:not(.hidden) {
    grid-column: 1;
    justify-self: start;
    display: flex;
    gap: clamp(10px, 1.2vw, 16px);
    align-items: center;
    white-space: nowrap;
    border-top: none;
    padding: 0;
    margin: 0;
  }
  body:not([data-area="admin"]) .wf-header:not(:has(#admin-nav:not(.hidden))) > .wf-logo-wrap {
    grid-column: 2;
    justify-self: center;
    text-align: center;
    padding: 0;
  }
  body:not([data-area="admin"]) .wf-header:not(:has(#admin-nav:not(.hidden))) > .wf-logo {
    align-items: center;
  }
  body:not([data-area="admin"]) .wf-header:not(:has(#admin-nav:not(.hidden))) > .wf-tools {
    grid-column: 3;
    justify-self: end;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(12px, 1.4vw, 20px);
  }
}

.wf-mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #1a1c1c;
  padding: 6px;
  margin-right: 8px;
  border-radius: 4px;
  transition: color 0.15s ease;
}
.wf-mobile-menu-btn:hover {
  color: var(--color-primary, #0e4471);
}

#mobile-nav-backdrop.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}
#mobile-nav-drawer.is-open {
  transform: translateX(0) !important;
}

/* Tablet & Mobile Mode (<= 1080px): Symmetrical Single-Row Header + Mobile Drawer */
@media (max-width: 1080px) {
  .wf-mobile-menu-btn {
    display: inline-flex !important;
  }
  .wf-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    min-height: 56px;
  }
  .wf-header > .wf-logo-wrap {
    order: 2;
    flex: 1 1 auto;
    text-align: left;
    padding: 0;
    margin: 0 0 0 6px;
  }
  .wf-header > .wf-logo {
    align-items: flex-start;
  }
  .wf-header > .wf-logo-main {
    font-size: 19px;
  }
  .wf-header > .wf-logo-sub {
    font-size: 7.5px;
  }
  .wf-header > .wf-tools {
    order: 3;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-left: auto;
  }
  /* The desktop nav row is replaced by the slide-out drawer below 1080px */
  .wf-header > #store-nav {
    display: none !important;
  }
  .wf-header > #admin-nav:not(.hidden) {
    order: 4;
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 10px;
    margin-top: 6px;
    border-top: 1px solid #f0f0f0;
  }
  .wf-header > #admin-nav::-webkit-scrollbar {
    display: none;
  }
}

/* Floating WhatsApp Widget Mobile Optimization */
@media (max-width: 640px) {
  #contact-floating-widget {
    bottom: 16px !important;
    right: 16px !important;
  }
  #contact-floating-widget .contact-expandable-pill {
    transform: scale(0.85);
    transform-origin: bottom right;
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  }
}

/* ---- Buttons (sentence case, flat, square) ------------------------------ */
body[data-area="store"] .btn-solid,
body[data-area="store"] .btn-ghost,
body[data-area="store"] .btn-blue {
  text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600;
  border-radius: 2px; padding: 14px 28px; transition: background-color .2s, color .2s;
}
body[data-area="store"] .btn-blue { background: var(--color-primary); color: #fff; border: 1px solid var(--color-primary); }
body[data-area="store"] .btn-blue:hover { background: #0a3356; }
body[data-area="store"] .btn-ghost { background: #fff; color: #111; border: 1px solid #111; }
body[data-area="store"] .btn-ghost:hover { background: #111; color: #fff; border-color: #111; }
body[data-area="store"] .btn-solid { background: #111; color: #fff; border: 1px solid #111; }
body[data-area="store"] .btn-solid:hover { background: #333; color: #fff; }

/* ---- Home --------------------------------------------------------------- */
.wf-hero {
  position: relative;
  min-height: 380px;
  background: #0c1219;
  display: flex;
  align-items: center;
  padding: 44px clamp(20px, 4.5vw, 64px);
  box-sizing: border-box;
  overflow: hidden;
}
.wf-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .75;
  pointer-events: none;
}
.wf-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.2) 100%);
  pointer-events: none;
}
.wf-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 480px;
  color: #fff;
  transform: none !important;
  opacity: 1 !important;
  margin: 0;
}
.wf-hero-copy h1 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 14px; }
.wf-hero-copy p { font-size: 16px; line-height: 1.45; font-weight: 400; margin-bottom: 22px; color: rgba(255,255,255,0.92); }
.wf-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.wf-hero-actions a { min-width: 170px; }
.wf-hero .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.wf-hero .btn-ghost:hover { background: #fff; color: #111; }

.wf-trust { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1600px; margin: 0 auto; padding: 28px 24px; }
.wf-trust > div { text-align: center; padding: 0 24px; border-left: 1px solid #d9d9d9; }
.wf-trust > div:first-child { border-left: 0; }
.wf-trust h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.wf-trust p { font-size: 12px; font-weight: 300; line-height: 1.5; color: #333; }
@media (max-width: 760px) { .wf-trust { grid-template-columns: 1fr; gap: 18px; } .wf-trust > div { border-left: 0; } }

.wf-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1600px; margin: 0 auto; padding: 8px 12px 24px; }
@media (max-width: 1000px) { .wf-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .wf-tiles { grid-template-columns: 1fr; } }
.wf-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #26413a; cursor: pointer; color: #fff; }
.wf-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.wf-tile:hover img { transform: scale(1.04); }
.wf-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 55%); }
.wf-tile-copy { position: absolute; z-index: 2; top: 20px; left: 20px; right: 20px; }
.wf-tile-copy h3 { font-size: 24px; line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 8px; }
.wf-tile-copy span { font-size: 14px; font-weight: 500; }

.wf-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1600px; margin: 0 auto; padding: 16px 12px 40px; }
@media (max-width: 860px) { .wf-split { grid-template-columns: 1fr; } }
.wf-split-copy { background: #f5f5f5; padding: 40px 32px; display: flex; flex-direction: column; justify-content: center; }
.wf-split-copy h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.wf-split-copy p { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.wf-split-copy a { align-self: flex-start; }
.wf-split-img { aspect-ratio: 4 / 3; background: #eee; overflow: hidden; }
.wf-split-img img { width: 100%; height: 100%; object-fit: cover; }

.wf-section-head { max-width: 1600px; margin: 0 auto; padding: 24px 24px 12px; display: flex; justify-content: space-between; align-items: baseline; }
.wf-section-head h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.wf-section-head a { font-size: 14px; font-weight: 700; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; }

/* ---- Brand Manifesto Section -------------------------------------------- */
.wf-manifesto {
  position: relative;
  max-width: 1200px;
  margin: 48px auto;
  padding: 64px 32px;
  background: #fafafa;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  text-align: center;
}
.wf-manifesto-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary, #0e4471);
  margin-bottom: 12px;
}
.wf-manifesto-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111;
  margin-bottom: 8px;
}
.wf-manifesto-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--color-primary, #0e4471);
  margin-bottom: 28px;
}
.wf-manifesto-body {
  max-width: 780px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
  color: #4a4a4a;
}
.wf-manifesto-body p {
  margin-bottom: 16px;
}
.wf-manifesto-highlight {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: #111;
  padding-top: 6px;
}
.wf-manifesto-divider {
  width: 64px;
  height: 2px;
  background: #c5a059;
  margin: 32px auto;
}
.wf-manifesto-creed {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 10px;
}
.wf-manifesto-locations {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #737373;
}

/* ---- Collection listing ------------------------------------------------- */
.wf-page { max-width: 1600px; margin: 0 auto; padding: 0 24px 64px; }
.wf-listing-head { text-align: center; padding: 40px 0 24px; }
.wf-listing-head .wf-eyebrow { font-size: 15px; font-weight: 700; display: block; margin-bottom: 4px; }
.wf-listing-head h1 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
.wf-listing-head p { max-width: 520px; margin: 0 auto; font-size: 14px; line-height: 1.6; }
.wf-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 28px; margin: 22px 0 8px; font-size: 14px; }
.wf-tabs button { padding: 4px 0; font-weight: 400; color: #444; border-bottom: 2px solid transparent; }
.wf-tabs button:hover { color: #111; }
.wf-tabs button.is-active { font-weight: 700; color: #111; border-bottom-color: #111; }
.wf-filterbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 18px 0; margin-top: 16px; }
.wf-filterbar .wf-count { font-size: 15px; font-weight: 400; }
.wf-filterbar .wf-selects { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.wf-filterbar select {
  background-color: transparent; border: 0; border-bottom: 1px solid #ccc; border-radius: 0;
  font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; padding: 4px 28px 4px 0; cursor: pointer;
}
.wf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 24px; }
@media (max-width: 1100px) { .wf-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .wf-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 14px; } }

/* Product card */
.wf-card { position: relative; display: flex; flex-direction: column; cursor: pointer; padding: 8px 8px 0; background: #fff; }
.wf-card-media { position: relative !important; aspect-ratio: 1 / 1.05; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 14px; }
.wf-card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.wf-card:hover .wf-card-media img { transform: scale(1.04); }
.wf-badge { position: absolute !important; top: 8px !important; left: 8px !important; z-index: 2 !important; font-size: 10px !important; font-weight: 600 !important; letter-spacing: 0.05em !important; text-transform: uppercase !important; padding: 3px 8px !important; background: var(--color-primary, #0e4471) !important; color: #fff !important; border-radius: 2px !important; line-height: 1.2 !important; pointer-events: none !important; }
.wf-badge.is-sold { background: #111 !important; }
.wf-card-brand { font-size: 13px; font-weight: 400; }
.wf-card-model { font-size: 14px; font-weight: 700; margin: 1px 0; }
.wf-card-ref { font-size: 14px; font-weight: 300; margin-bottom: 8px; }
.wf-card-meta { font-size: 14px; font-weight: 300; }
.wf-card-meta b { font-weight: 700; }
.wf-card-price { font-size: 15px; font-weight: 700; margin-top: 10px; }
.wf-card-price.is-por { font-size: 14px; }
.wf-card-price.is-sold { text-decoration: line-through; color: #666; }
.wf-card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* ---- Product detail ----------------------------------------------------- */
.wf-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; margin-bottom: 24px; }
.wf-crumbs a { text-decoration: underline; }
.wf-pd-brand { font-size: 18px; font-weight: 400; }
.wf-pd-model { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin: 2px 0 6px; }
.wf-pd-ref { font-size: 18px; font-weight: 300; margin-bottom: 14px; }
.wf-pd-price { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin: 10px 0 6px; }
.wf-spec-grid { border: 1px solid #e5e5e5; padding: 20px; background: #fff; }
.wf-h4 { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
body[data-area="store"] #carousel-frame { background: #fff; border: 0; }
body[data-area="store"] .carousel-thumb { background: #fff; border-radius: 0; box-shadow: none; }

/* ---- Footer ------------------------------------------------------------- */
.wf-footer { background: #363636; color: #fff; margin-top: 40px; }
.wf-footer-top { max-width: 1600px; margin: 0 auto; padding: 40px 32px 28px; border-bottom: 1px solid #4a4a4a; }
.wf-footer-logo { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; letter-spacing: 0.06em; margin-bottom: 10px; }
.wf-footer-brand p { max-width: 520px; font-size: 13px; line-height: 1.6; color: #cfcfcf; }
.wf-footer-cols { max-width: 1600px; margin: 0 auto; padding: 28px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; }
.wf-footer-cols h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 14px; }
.wf-footer-cols a { display: block; font-size: 13px; color: #bdbdbd; margin-bottom: 11px; }
.wf-footer-cols a:hover { color: #fff; }
.wf-footer-bottom {
  max-width: 1600px;
  margin: 0 auto;
  padding: 18px 32px 28px;
  font-size: 11px;
  color: #bdbdbd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: center;
}
@media (min-width: 640px) {
  .wf-footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}
.wf-footer-attribution {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  font-weight: 400;
  user-select: none;
  transition: color 0.2s ease;
}
.wf-footer-attribution:hover {
  color: rgba(255, 255, 255, 0.55);
}

/* Floating contact pill: flatten to match the neutral palette */
body[data-area="store"] #contact-pill-trigger { border-color: #555; }

/* Admin listings table: gridlines between rows and columns */
.admin-table { border-collapse: collapse; }
.admin-table th, .admin-table td { border: 1px solid #d9d9d9; padding: 10px 10px; vertical-align: middle; }
.admin-table td:nth-child(2), .admin-table td:nth-child(6), .admin-table th { white-space: nowrap; }
.admin-table td:nth-child(1) { min-width: 120px; }
.admin-table td:last-child button, .admin-table td:last-child a { display: inline-block; margin-left: 10px; }
.admin-table thead th { background: #f5f5f5; font-weight: 700; color: #333; }
.admin-table tbody tr:nth-child(even) { background: #fafafa; }
.admin-table tbody tr:hover { background: #f0f4f8; }
.admin-table th { letter-spacing: .04em; }
.admin-table th, .admin-table td { padding: 9px 8px; }
.admin-table td:nth-child(2) { font-size: 11px; white-space: normal; word-break: break-all; min-width: 90px; }

/* Responsive optimizations for small mobile viewports (<= 480px) */
@media (max-width: 480px) {
  .wf-page {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 40px;
  }
  .wf-listing-head {
    padding: 24px 0 16px;
  }
  .wf-tabs {
    gap: 4px 16px;
    font-size: 13px;
  }
}

/* ---- Admin Analytics & Demand Intelligence ------------------------------ */
.admin-analytics-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.admin-analytics-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.admin-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  font-family: ui-monospace, monospace;
}
.admin-rank-1 { background: #c5a059; color: #fff; }
.admin-rank-2 { background: #94a3b8; color: #fff; }
.admin-rank-3 { background: #b45309; color: #fff; }
.admin-rank-other { background: #f1f5f9; color: #475569; }
.admin-progress-bar {
  height: 5px;
  background: #f1f5f9;
  border-radius: 9999px;
  overflow: hidden;
}
.admin-progress-fill {
  height: 100%;
  background: var(--color-primary, #0e4471);
  border-radius: 9999px;
  transition: width 0.4s ease;
}
