/* ==========================================================================
   DREAMWINZ — Monochrome Flagship Design System
   Pure CSS3 (No Tailwind/Vite/Node runtime required)
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-muted: #f5f5f7;
  --bg-subtle: #fafafa;
  --surface: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #27272a;
  --ink-muted: #52525b;
  --ink-subtle: #71717a;
  --border: #e4e4e7;
  --border-strong: #18181b;
  --accent: #0a0a0a;
  --accent-hover: #27272a;
  --danger: #b91c1c;
  --danger-bg: #fef2f2;
  --success: #15803d;
  --success-bg: #f0fdf4;
  --warning: #a16207;
  --warning-bg: #fefce8;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.05);
  --shadow-md: 0 10px 30px rgba(10, 10, 10, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 10, 10, 0.16);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

.tabular { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); }
.display { font-family: var(--font-display); }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Announcement Strip */
.promo-strip {
  background: var(--ink);
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  text-align: center;
  border-bottom: 1px solid #27272a;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
}
.promo-sep { opacity: 0.55; }

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
  min-width: 0;
}

.brand-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-link img { height: 24px; width: auto; max-width: 288px; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}
.nav-links a {
  color: var(--ink-muted);
  transition: color 0.15s ease;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.header-search {
  position: relative;
  flex: 1 1 160px;
  max-width: 280px;
  min-width: 130px;
}
.header-search input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0 38px 0 16px;
  font-size: 13.5px;
  background: var(--bg-subtle);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.header-search input:focus {
  border-color: var(--ink);
  background: #ffffff;
}
.header-search button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  cursor: pointer;
  color: var(--ink-muted);
  display: grid;
  place-items: center;
  padding: 4px;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 80;
  overflow: hidden;
  display: none;
}
.search-dropdown.open { display: block; }
.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}
.search-item:last-child { border-bottom: none; }
.search-item:hover { background: var(--bg-muted); }
.search-item img { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; background: var(--bg-muted); flex-shrink: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-user-name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  white-space: nowrap;
}
.icon-btn:hover { border-color: var(--ink); background: var(--bg-subtle); }

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  background: var(--ink);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.mobile-menu-btn { display: none; }

/* Mobile & Tablet Navigation Drawer */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding: 14px 16px 18px;
  background: #ffffff;
  max-height: calc(100vh - 76px);
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav-search {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.mobile-nav-account {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}
.mobile-nav-grid a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--ink);
}
.mobile-nav-grid a.active,
.mobile-nav-grid a:hover {
  border-color: var(--ink);
  background: var(--bg-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-sm { height: 36px; padding: 0 15px; font-size: 13px; }
.btn-lg { height: 50px; padding: 0 28px; font-size: 15px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-outline {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-outline:hover { background: var(--ink); color: #ffffff; }

.btn-ghost {
  background: var(--bg-muted);
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-danger {
  background: var(--danger);
  color: #ffffff;
}
.btn:disabled, .btn.disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--ink);
  max-width: 100%;
}
.badge-dark { background: var(--ink); color: #ffffff; border-color: var(--ink); }
.badge-success { background: var(--success-bg); color: var(--success); border-color: #bbf7d0; }
.badge-warning { background: var(--warning-bg); color: var(--warning); border-color: #fde68a; }
.badge-danger { background: var(--danger-bg); color: var(--danger); border-color: #fecaca; }

/* Sections */
.section { padding: 64px 0; }
.section-sm { padding: 36px 0; }
.section-dark,
.card.section-dark { background: var(--ink); color: #ffffff; border-color: #27272a; }
.section-muted { background: var(--bg-muted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-subtle);
  margin-bottom: 6px;
}
.section-dark .section-eyebrow { color: #a1a1aa; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}

/* Hero */
.hero {
  background: #0a0a0a;
  color: #ffffff;
  padding: 64px 0 72px;
  border-bottom: 1px solid #27272a;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 14px 0 18px;
}
.hero-sub {
  font-size: 17px;
  color: #d4d4d8;
  max-width: 560px;
  margin: 0 0 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #27272a;
}
.hero-metric strong { display: block; font-size: 24px; font-family: var(--font-display); }
.hero-metric span { font-size: 12.5px; color: #a1a1aa; display: block; }

.hero-showcase {
  background: #141417;
  border: 1px solid #27272a;
  border-radius: 24px;
  padding: 28px;
  min-width: 0;
}
.hero-showcase-img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: 16px;
  background: #f6f6f6;
}
.hero-showcase-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  gap: 12px;
  flex-wrap: wrap;
}

/* Grids & Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  min-width: 0;
}
.card-lg { padding: 32px; }

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}
.product-media {
  position: relative;
  background: var(--bg-muted);
  padding: 20px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}
.product-media img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.product-media-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.product-brand {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-subtle);
}
.product-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin: 4px 0 8px;
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.product-price-row {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.price-main { font-family: var(--font-display); font-size: 20px; font-weight: 700; }

/* Catalog Layout */
.catalog-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.catalog-layout > *,
.pdp-grid > *,
.cart-layout > *,
.checkout-layout > * {
  min-width: 0;
}
.filter-toggle-btn { display: none; }
.filter-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  position: sticky;
  top: 90px;
}
.filter-groups-grid {
  display: block;
}
.filter-group { padding: 14px 0; border-bottom: 1px solid var(--border); }
.filter-group:first-child { padding-top: 0; }
.filter-group:last-child { border-bottom: none; padding-bottom: 0; }
.filter-group h4 {
  margin: 0 0 10px;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

/* Forms */
.form-group { margin-bottom: 16px; min-width: 0; }
.form-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.input, .select, .textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 14px;
  background: #ffffff;
  outline: none;
  transition: border-color 0.15s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); }
.textarea { min-height: 96px; resize: vertical; }

/* Cart, Checkout, Track Order Layouts */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: start;
}
.cart-item-row {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  flex-wrap: wrap;
}
.cart-item-info { flex: 1 1 200px; min-width: 0; }
.cart-item-price-col { text-align: right; flex-shrink: 0; }

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: start;
}

.track-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}

/* Product Detail */
.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 40px;
  align-items: start;
}
.pdp-gallery {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky;
  top: 90px;
}
.pdp-gallery img.main-img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  margin: 0 auto;
}
.pdp-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.unit-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.15s ease;
  background: #ffffff;
  margin-bottom: 10px;
}
.unit-card:hover { border-color: var(--ink-muted); }
.unit-card.selected {
  border-color: var(--ink);
  background: var(--bg-subtle);
  box-shadow: 0 0 0 1px var(--ink);
}

/* Tables */
.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
}
table.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}
table.table th {
  background: var(--bg-muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
table.table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
table.table tr:last-child td { border-bottom: none; }
table.table tbody tr:hover { background: var(--bg-subtle); }

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}
.timeline-step {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-subtle);
  background: var(--bg-subtle);
}
.timeline-step.done {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
  font-weight: 600;
}

/* Cart Drawer & Modals */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.5);
  z-index: 90;
  display: none;
  justify-content: flex-end;
}
.drawer-backdrop.open { display: flex; }
.drawer-panel {
  width: 100%;
  max-width: 430px;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.drawer-header, .drawer-footer {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-footer {
  border-top: 1px solid var(--border);
  border-bottom: none;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 20px; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

/* Alerts & Toasts */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 13.5px;
  margin-bottom: 16px;
  word-break: break-word;
}
.alert-error { background: var(--danger-bg); color: var(--danger); border-color: #fecaca; }
.alert-success { background: var(--success-bg); color: var(--success); border-color: #bbf7d0; }
.alert-info { background: var(--bg-muted); color: var(--ink); border-color: var(--border); }

.toast-stack {
  position: fixed;
  bottom: 84px;
  right: 20px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: var(--ink);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  box-shadow: var(--shadow-lg);
  max-width: 340px;
}
.toast.error { background: var(--danger); }

/* WhatsApp Floating Support */
.whatsapp-fab {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 85;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 15px;
  border-radius: var(--radius-full);
  background: var(--ink);
  color: #ffffff;
  border: 1px solid #3f3f46;
  box-shadow: var(--shadow-lg);
  font-size: 12.5px;
  font-weight: 600;
  transition: transform 0.15s;
}
.whatsapp-fab:hover { transform: translateY(-2px); background: #18181b; }

/* Admin Layout */
.admin-header-inner {
  max-width: 100%;
  padding: 0 24px;
}
.admin-header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.admin-shell {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  min-height: calc(100vh - 76px);
}
.admin-sidebar {
  background: #0a0a0a;
  color: #ffffff;
  padding: 20px 14px;
  border-right: 1px solid #27272a;
}
.admin-nav-group-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #71717a;
  padding: 14px 14px 6px;
  text-transform: uppercase;
}
.admin-nav-group-label:first-child { padding-top: 6px; }
.admin-nav-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #a1a1aa;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-nav-btn:hover { background: #18181b; color: #ffffff; }
.admin-nav-btn.active { background: #ffffff; color: #0a0a0a; font-weight: 700; }
.admin-main { padding: 28px; background: var(--bg-subtle); min-width: 0; }
.admin-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.admin-filter-input { flex: 1 1 240px; max-width: 300px; }
.admin-filter-select { flex: 0 1 190px; max-width: 200px; }

.tabs-bar { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 22px; }
.tab-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.tab-btn.active { background: var(--ink); color: #ffffff; border-color: var(--ink); }

/* Footer */
.site-footer {
  background: #0a0a0a;
  color: #d4d4d8;
  padding: 56px 0 32px;
  border-top: 1px solid #27272a;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-col h4 { color: #ffffff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 14px; }
.footer-col a { display: block; padding: 5px 0; font-size: 13.5px; color: #a1a1aa; }
.footer-col a:hover { color: #ffffff; }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  border: 1px solid #27272a;
  background: #141417;
  color: #e4e4e7;
  font-size: 12.5px;
  font-weight: 500;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.footer-social-link:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: #18181b;
}

/* ==========================================================================
   Responsive Breakpoints: Small Desktop / Laptop (<= 1360px)
   ========================================================================== */
@media (max-width: 1360px) {
  .header-inner { gap: 10px; }
  .brand-link img { height: 21px; max-width: 245px; }
  .nav-links { gap: 9px; font-size: 12.5px; }
  .header-search { max-width: 170px; min-width: 100px; }
  .header-search input { height: 36px; padding: 0 32px 0 12px; font-size: 12.5px; }
  .header-actions { gap: 6px; }
  .header-actions .icon-btn,
  .header-actions .btn-sm { height: 36px; padding: 0 10px; font-size: 12.5px; }
}

/* ==========================================================================
   Responsive Breakpoints: Tablet & Compact Laptop (<= 1240px)
   ========================================================================== */
@media (max-width: 1240px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .brand-link img { height: 23px; max-width: 276px; }
  .header-search { max-width: 260px; }
  .catalog-layout .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Responsive Breakpoints: Tablet (<= 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .section { padding: 48px 0; }
  .hero { padding: 48px 0 56px; }
  .hero-grid,
  .pdp-grid,
  .catalog-layout,
  .cart-layout,
  .checkout-layout,
  .admin-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .grid-4,
  .grid-3,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pdp-gallery,
  .filter-sidebar {
    position: static;
  }
  .filter-toggle-btn { display: inline-flex; }
  .filter-sidebar { display: none; }
  .filter-sidebar.open { display: block; }
  .filter-groups-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
  }
  .filter-group {
    padding: 0;
    border-bottom: none;
  }

  /* Admin Tablet Horizontal Nav */
  .admin-shell { gap: 0; min-height: auto; }
  .admin-sidebar {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 16px;
    border-right: none;
    border-bottom: 1px solid #27272a;
    position: sticky;
    top: 76px;
    z-index: 45;
  }
  .admin-nav-group-label { display: none; }
  .admin-nav-btn {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
    margin-bottom: 0;
    padding: 8px 14px;
    font-size: 13px;
    border-radius: var(--radius-full);
    background: #18181b;
  }
  .admin-main { padding: 22px 20px; }
}

/* ==========================================================================
   Responsive Breakpoints: Small Tablet / Large Mobile (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .header-search { display: none; }
  .brand-link img { height: 24px; max-width: 285px; }
  .admin-console-tag,
  .admin-user-label { display: none; }
  .admin-header-inner { padding: 0 16px; }

  .whatsapp-fab {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    bottom: 14px;
    right: 14px;
  }
  .whatsapp-fab span { display: none; }
  .site-footer { padding: 44px 0 84px; }
}

/* ==========================================================================
   Responsive Breakpoints: Mobile (<= 640px)
   ========================================================================== */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .promo-strip {
    font-size: 11px;
    padding: 7px 12px;
    gap: 2px 10px;
  }
  .promo-sep { display: none; }
  .header-inner {
    height: 64px;
    gap: 8px;
  }
  .brand-link img { height: 20px; max-width: 238px; }
  .header-actions { gap: 6px; }
  .header-admin-link,
  .header-user-link { display: none; }
  .icon-btn {
    height: 36px;
    padding: 0 11px;
    font-size: 12.5px;
    gap: 5px;
  }
  .mobile-nav { max-height: calc(100vh - 64px); }
  .admin-sidebar { top: 64px; padding: 10px 12px; }
  .admin-main { padding: 16px 14px; }

  .section { padding: 36px 0; }
  .section-sm { padding: 24px 0; }
  .section-header { margin-bottom: 22px; gap: 12px; }

  .hero { padding: 32px 0 40px; }
  .hero-grid { gap: 24px; }
  .hero-sub { font-size: 15px; margin-bottom: 22px; }
  .hero-actions .btn-lg {
    height: 44px;
    padding: 0 18px;
    font-size: 13.5px;
  }
  .hero-metrics {
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
  }
  .hero-metric strong { font-size: 18px; }
  .hero-metric span { font-size: 11px; line-height: 1.3; }
  .hero-showcase { padding: 18px; border-radius: 16px; }
  .hero-showcase-img { max-height: 220px; }

  .grid-2,
  .grid-3,
  .grid-4,
  .catalog-layout .grid-3,
  .filter-groups-grid,
  .footer-grid,
  .timeline,
  .track-form {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .card { padding: 18px; }
  .card-lg { padding: 20px; }
  .pdp-gallery { padding: 18px; border-radius: 14px; }
  .pdp-gallery img.main-img { max-height: 270px; }

  .cart-item-row { padding: 14px 16px; }
  .cart-item-price-col {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .tabs-bar { gap: 6px; padding-bottom: 10px; margin-bottom: 16px; }
  .tab-btn { padding: 7px 12px; font-size: 12.5px; }

  .drawer-panel { max-width: 100%; }
  .modal-backdrop { padding: 10px; }
  .modal-box { padding: 18px; max-height: 92vh; border-radius: 14px; }

  .toast-stack {
    left: 14px;
    right: 14px;
    bottom: 74px;
  }
  .toast { max-width: 100%; }

  .admin-filter-input,
  .admin-filter-select {
    flex: 1 1 100%;
    max-width: none;
  }
}

/* Small & extra-small phones (<= 480px / <= 420px) */
/* Header Dropdown, Legal Layout, Disclosures, Consent, Lightbox & Master Upgrade Polish */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 210px;
  background: #ffffff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 20px 44px rgba(10, 10, 10, 0.14); padding: 8px;
  display: none; grid-template-columns: 1fr; gap: 2px; z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: grid; }
.nav-dropdown-menu a { padding: 8px 12px; border-radius: 8px; font-size: 13.5px; color: var(--ink); text-decoration: none; }
.nav-dropdown-menu a:hover { background: var(--surface-alt); }

.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.legal-nav-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.legal-nav-list a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: var(--ink-muted); text-decoration: none; }
.legal-nav-list a:hover, .legal-nav-list a.active { background: var(--ink); color: #ffffff; font-weight: 600; }
.prose h2, .prose h3 { margin-top: 22px; margin-bottom: 8px; }
.prose p, .prose li { line-height: 1.7; color: #27272a; }
.disclosure-box { background: #fafafa; border: 1px solid #e4e4e7; border-radius: 12px; padding: 16px; }
.disclosure-grid { display: grid; grid-template-columns: 190px 1fr; gap: 8px 16px; margin: 0; }
.disclosure-grid dt { font-size: 13px; color: var(--ink-muted); font-weight: 600; }
.disclosure-grid dd { margin: 0; font-size: 14px; color: var(--ink); }
.notice-banner { padding: 12px 16px; border-radius: 10px; font-size: 13.5px; margin-bottom: 16px; }
.notice-warn { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; }
.alert-warn { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; padding: 12px 14px; border-radius: 10px; }

.wish-btn { background: #ffffff; border: 1px solid #e4e4e7; color: #52525b; border-radius: 999px; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s; }
.wish-btn:hover, .wish-btn.is-wished { border-color: #0a0a0a; background: #0a0a0a; color: #ffffff; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; background: #f4f4f5; border: 1px solid #e4e4e7; cursor: pointer; }
.badge-deal { background: #0a0a0a; color: #ffffff; }
.badge-new { background: #e4e4e7; color: #18181b; }
.strike-price { text-decoration: line-through; color: #71717a; font-size: 13px; margin-left: 6px; }

.lightbox-backdrop { position: fixed; inset: 0; background: rgba(10,10,10,0.9); z-index: 120; display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox-backdrop.open { display: flex; }
.lightbox-backdrop img { max-width: 92vw; max-height: 86vh; border-radius: 12px; object-fit: contain; background: #fff; }

.consent-banner {
  position: fixed; bottom: 18px; left: 18px; right: 18px; max-width: 720px; margin: 0 auto;
  background: #0a0a0a; color: #ffffff; border: 1px solid #27272a; border-radius: 14px;
  padding: 14px 18px; z-index: 95; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.faq-item { margin-bottom: 10px; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-weight: 700; font-size: 18px; }
.faq-item[open] summary::after { content: '−'; }

@media (max-width: 900px) {
  .legal-layout, .disclosure-grid { grid-template-columns: 1fr; }
  .consent-banner { flex-direction: column; align-items: stretch; bottom: 72px; }
}

@media (max-width: 480px) {
  .header-guest-link { display: none; }
  .brand-link img { height: 18px; max-width: 214px; }
}

@media (max-width: 420px) {
  .brand-link img { height: 17px; max-width: 200px; }
  .mobile-nav-grid { grid-template-columns: 1fr; }
  .pdp-cta-row { grid-template-columns: 1fr; }
  .hero-actions .btn-lg { flex: 1 1 auto; }
}

@media print {
  .site-header, .promo-strip, .site-footer, .whatsapp-fab, .no-print { display: none !important; }
  body { background: #ffffff; color: #000000; }
}

/* Franchise Opportunity Program UI Components */
.nav-franchise-link {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  padding: 4px 11px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--ink) !important;
}
.nav-franchise-link.active,
.nav-franchise-link:hover {
  background: var(--ink);
  color: #ffffff !important;
}

.franchise-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.india-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.franchise-stepper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.stepper-pill {
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--ink-muted);
  border-radius: var(--radius-sm);
  padding: 9px 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}
.stepper-pill.done {
  border-color: var(--ink-2);
  color: var(--ink);
  background: #f4f4f5;
}
.stepper-pill.active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}
.franchise-form-step { display: none; }
.franchise-form-step.active { display: block; }
.step-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.investment-radio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.radio-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.15s, background 0.15s;
}
.radio-card:has(input:checked) {
  border-color: var(--ink);
  background: var(--bg-subtle);
  font-weight: 600;
}

@media (max-width: 900px) {
  .franchise-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .franchise-stepper { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .investment-radio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .franchise-process-grid,
  .india-hub-grid,
  .investment-radio-grid { grid-template-columns: 1fr; }
  .franchise-stepper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
