@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Manrope:wght@400;500;600;700;800&display=swap');

/* --- Modern Design System Variables --- */
:root {
  --navy: #112836;
  --navy-light: #1b3a4d;
  --ink: #17242c;
  --gold: #b89c69;
  --gold-dark: #987d4d;
  --gold-light: #f4eee2;
  --cream: #f7f6f1;
  --surface: #ffffff;
  --muted: #66737c;
  --line: #e3e1da;
  --line-light: #edece6;
  --error: #b9382b;
  --success: #208653;
  --shadow-sm: 0 2px 8px rgba(17, 40, 54, 0.05);
  --shadow-md: 0 8px 24px rgba(17, 40, 54, 0.08);
  --shadow-lg: 0 18px 45px rgba(17, 40, 54, 0.12);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-height: 96px;
  /* Curvy & Soft Modern Design System */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  font-size: 15px;
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  color: var(--ink);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand, .hero-title {
  font-family: 'Manrope', -apple-system, sans-serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(32px, 4.2vw, 56px); }
h2 { font-size: clamp(26px, 3.2vw, 42px); }
h3 { font-size: clamp(18px, 2.2vw, 24px); }

p {
  margin: 0 0 16px;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s var(--ease-out);
}

button {
  cursor: pointer;
  font: inherit;
  border: none;
  background: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

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

/* Accessibility Skip Link */
.skip {
  position: absolute;
  top: -120px;
  left: 20px;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 4px;
  z-index: 999;
  font-weight: 600;
  transition: top 0.2s;
}
.skip:focus {
  top: 15px;
}

/* --- Top Information Bar --- */
.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-inner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 8px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar i {
  display: inline-block;
  height: 8px;
  border-left: 1px solid #ffffff50;
  margin: 0 12px;
}
.topbar-links {
  display: flex;
  gap: 20px;
}
.topbar-links a {
  color: #e5ebef;
  font-size: 11px;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.topbar-links a:hover {
  color: var(--gold);
}

/* --- Main Header (Permanently Fixed across all devices, previews, and scroll states) --- */
.store-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 999995 !important;
  background: #ffffff !important;
  border-bottom: 1px solid rgba(17, 40, 54, 0.08);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.25s var(--ease-out), background-color 0.25s;
}
.store-header.has-scrolled {
  background: #ffffff !important;
  box-shadow: 0 4px 20px rgba(17, 40, 54, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
}

body.store {
  padding-top: 66px !important;
}

@media (max-width: 768px) {
  body.store {
    padding-top: 64px !important;
  }
}

.header-main.single-line-header {
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 4%;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* 1. Left: Brand Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  user-select: none;
  flex-shrink: 0;
}
.monogram {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #112836 0%, #1c3c4f 100%);
  color: #e5cf9f;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(184, 156, 105, 0.4);
  box-shadow: 0 2px 8px rgba(17, 40, 54, 0.12);
  transition: transform 0.2s var(--ease-spring), border-color 0.2s;
  flex-shrink: 0;
}
.brand:hover .monogram {
  transform: translateY(-1px) scale(1.04);
  border-color: var(--gold);
}
.brand-text {
  display: flex;
  flex-direction: column;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--navy);
  line-height: 1.1;
}
.brand-text small {
  display: block;
  font-size: 7.5px;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-top: 2px;
  font-family: 'DM Sans', sans-serif;
}
.brand-logo-img {
  max-height: 38px;
  max-width: 120px;
  object-fit: contain;
}

/* 2. Middle: Navigation Links on Same Single Row */
.store-nav {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  margin: 0;
}
.nav-item {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.2px;
  white-space: nowrap;
  transition: all 0.2s var(--ease-out);
  display: inline-flex;
  align-items: center;
}
.nav-item::after {
  display: none !important;
}
.nav-item:hover {
  background: #f1f5f9;
  color: var(--navy);
}
.nav-item.is-current {
  background: var(--navy);
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(17, 40, 54, 0.15);
}

/* Category Dropdown Pill */
.category-menu {
  position: relative;
}
.category-menu summary {
  list-style: none;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #475569;
  white-space: nowrap;
  transition: all 0.2s;
}
.category-menu summary:hover,
.category-menu[open] summary {
  background: #f1f5f9;
  color: var(--navy);
}
.category-menu summary::-webkit-details-marker {
  display: none;
}
.category-menu summary::after {
  content: '▾';
  font-size: 10px;
  color: var(--gold-dark);
  transition: transform 0.2s;
  margin-left: 2px;
}
.category-menu[open] summary::after {
  transform: rotate(180deg);
}
.category-menu .dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 230px;
  background: #ffffff;
  border: 1px solid rgba(17, 40, 54, 0.08);
  box-shadow: 0 16px 36px rgba(17, 40, 54, 0.14), 0 2px 6px rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-md, 18px);
  padding: 8px;
  z-index: 60;
  animation: dropdownFade 0.2s var(--ease-out);
}
@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.dropdown-panel a {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 8px;
  transition: all 0.15s;
}
.dropdown-panel a:hover {
  background: #f8fafc;
  color: var(--gold-dark);
  transform: translateX(4px);
}
.mobile-drawer-actions {
  display: none;
}

/* 3. Right: Compact Search & Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Compact Search Trigger Tool */
.search-trigger-btn {
  cursor: pointer;
}
.search-trigger-btn:hover {
  background: #f1f5f9;
  color: var(--navy);
  border-color: #cbd5e1;
}
.search-trigger-btn.is-active {
  background: var(--navy);
  color: #ffffff !important;
  border-color: var(--navy);
}
.search-tool-icon {
  flex-shrink: 0;
}

/* Header Search Overlay Bar */
.header-search-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: #ffffff;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4%;
  box-shadow: 0 8px 30px rgba(17, 40, 54, 0.12);
  animation: searchBarSlide 0.22s var(--ease-out);
}
.header-search-overlay[hidden] {
  display: none !important;
}
@keyframes searchBarSlide {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: translateY(0); }
}
.search-overlay-inner {
  width: 100%;
  max-width: 860px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.header-search-form {
  flex: 1;
  position: relative;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-pill);
  padding: 6px 8px 6px 14px;
  transition: all 0.2s var(--ease-out);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}
.search-input-wrap:focus-within {
  background: #ffffff;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(17, 40, 54, 0.08);
}
.search-icon {
  color: var(--navy);
  margin-right: 8px;
  flex-shrink: 0;
}
#global-query {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--navy);
  min-width: 0;
}
#global-query::placeholder {
  color: #94a3b8;
  font-size: 13px;
}
.search-clear-btn {
  border: none;
  background: #e2e8f0;
  color: #475569;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  cursor: pointer;
  margin-right: 8px;
  transition: all 0.15s;
}
.search-clear-btn:hover {
  background: #cbd5e1;
  color: var(--navy);
}
.search-clear-btn[hidden] {
  display: none !important;
}
.search-submit {
  background: var(--navy);
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.search-submit:hover {
  background: var(--gold-dark);
}
.search-arrow {
  font-size: 11px;
}
.search-close-btn {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #475569;
  transition: all 0.15s;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
}
.search-close-btn:hover {
  background: #e2e8f0;
  color: var(--navy);
  transform: rotate(90deg);
}

/* Live Autocomplete Suggestions Panel */
.search-suggestions-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(17, 40, 54, 0.1);
  border-radius: var(--radius-md, 18px);
  box-shadow: 0 18px 40px rgba(17, 40, 54, 0.16), 0 3px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  z-index: 100;
  animation: dropdownFade 0.2s var(--ease-out);
  max-height: 420px;
  display: flex;
  flex-direction: column;
}
.search-suggestions-panel[hidden] {
  display: none !important;
}
.suggestions-header {
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #64748b;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.suggestions-list {
  overflow-y: auto;
  max-height: 360px;
  padding: 6px 0;
  margin: 0;
  list-style: none;
}
.suggestion-item {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid #f8fafc;
}
.suggestion-item:last-child {
  border-bottom: none;
}
.suggestion-item:hover,
.suggestion-item.is-selected {
  background: #f1f5f9;
}
.suggestion-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.suggestion-thumb {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f5f9;
  flex-shrink: 0;
}
.suggestion-icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f1f5f9;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}
.suggestion-content {
  min-width: 0;
  flex: 1;
}
.suggestion-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.suggestion-title mark {
  background: #fef08a;
  color: #854d0e;
  font-weight: 800;
  border-radius: 2px;
  padding: 0 2px;
}
.suggestion-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 1px;
}
.suggestion-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: #f1f5f9;
  color: #475569;
  flex-shrink: 0;
}
.suggestion-tag.product {
  background: #e0f2fe;
  color: #0369a1;
}
.suggestion-tag.category {
  background: #fef3c7;
  color: #b45309;
}
.suggestions-empty {
  padding: 24px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

/* Header Tools (Saved & Cart) */
.header-tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #334155;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
}
.header-tool:hover {
  color: var(--navy);
  background: #f8fafc;
  border-color: #cbd5e1;
}
.header-tool svg {
  flex-shrink: 0;
  color: #475569;
}
.tool-label {
  font-size: 11.5px;
  font-weight: 600;
}
.header-tool b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--navy);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-pill);
}

/* Enquiry Cart Accent */
.header-tool.cart-tool {
  background: #fdfbf7;
  border-color: rgba(184, 156, 105, 0.35);
  color: var(--navy);
}
.header-tool.cart-tool:hover {
  background: #fbf6ec;
  border-color: var(--gold);
}
.header-tool.cart-tool b {
  background: var(--gold-dark) !important;
}

/* Header Bulk Enquiry CTA Pill */
.header-cta-btn {
  background: linear-gradient(135deg, #112836 0%, #1e3f53 100%);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(184, 156, 105, 0.3);
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: all 0.2s var(--ease-out);
  box-shadow: 0 2px 8px rgba(17, 40, 54, 0.15);
}
.header-cta-btn:hover {
  background: linear-gradient(135deg, #1e3f53 0%, var(--gold-dark) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(17, 40, 54, 0.22);
}

/* Hamburger Menu Toggle (Mobile only) */
.icon-btn.menu {
  display: none;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
}
.hamburger-box {
  width: 20px;
  height: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger-inner,
.hamburger-box::before,
.hamburger-box::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-actions {
  display: none;
}
.nav-whatsapp {
  font-size: 11.5px;
  font-weight: 700;
  color: #065f46;
  background: #ecfdf5;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid #a7f3d0;
  transition: all 0.2s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-whatsapp:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}
.nav-enquire {
  background: linear-gradient(135deg, #112836 0%, #1e3f53 100%);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(184, 156, 105, 0.3);
  letter-spacing: 0.3px;
  transition: all 0.2s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-enquire:hover {
  background: linear-gradient(135deg, #1e3f53 0%, var(--gold-dark) 100%);
}

/* Backdrop for Mobile Navigation & Drawers */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 40, 54, 0.6);
  backdrop-filter: blur(4px);
  z-index: 45;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Notice Banner */
.demo-notice {
  background: #fdfaf2;
  border-bottom: 1px solid #eee5cf;
  text-align: center;
  padding: 8px 5%;
  font-size: 11px;
  color: #79663e;
}
.demo-notice strong {
  font-size: 9px;
  letter-spacing: 1px;
  background: #ebdcb9;
  padding: 3px 6px;
  border-radius: 3px;
  margin-right: 8px;
  color: #493b1d;
}

/* --- Hero Section & Carousel --- */
.hero {
  touch-action: pan-y pinch-zoom;
  position: relative;
  height: clamp(500px, 68vh, 660px);
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}
.hero-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transition: transform 0.7s var(--ease-out), opacity 0.4s;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 32, 43, 0.94) 0%, rgba(17, 40, 54, 0.72) 48%, rgba(14, 32, 43, 0.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1680px;
  height: 100%;
  margin: 0 auto;
  padding: 70px 6% 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.eyebrow.light {
  color: #ded1b8;
}
.hero-title {
  color: #fff;
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.hero-description {
  font-size: clamp(14px, 1.4vw, 18px);
  color: #dde4e9;
  max-width: 580px;
  line-height: 1.8;
  margin: 0 0 32px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Button Component */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s, background 0.2s, color 0.2s;
  isolation: isolate;
}
.button.button-sm {
  padding: 8px 18px;
  font-size: 11px;
  border-radius: var(--radius-pill);
}
.button:active {
  transform: scale(0.97);
}
.button.gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 18px rgba(184, 156, 105, 0.35);
}
.button.gold:hover {
  background: #cbb285;
  box-shadow: 0 6px 22px rgba(184, 156, 105, 0.45);
}
.button.navy {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.button.navy:hover {
  background: var(--navy-light);
  box-shadow: var(--shadow-md);
}
.button.outline {
  background: #fff;
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.button.outline:hover {
  background: var(--cream);
  border-color: var(--gold);
}

.text-link {
  color: #fff;
  border-bottom: 1.5px solid #ffffff60;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, color 0.2s;
}
.text-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-foot {
  margin-top: auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #cad3d9;
}
.hero-controls {
  position: absolute;
  bottom: 24px;
  right: 6%;
  z-index: 10;
  display: flex;
  gap: 10px;
}
.hero-controls button {
  width: 28px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  padding: 0;
  transition: width 0.3s var(--ease-out), background 0.3s;
}
.hero-controls button.active {
  width: 44px;
  background: var(--gold);
}

/* Tap ripple effect */
.tap-wave {
  position: absolute;
  pointer-events: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: translate(-50%, -50%);
  animation: tapRipple 0.55s ease-out forwards;
  z-index: -1;
}
@keyframes tapRipple {
  to {
    transform: translate(-50%, -50%) scale(32);
    opacity: 0;
  }
}

/* Benefits Strip */
.benefits {
  max-width: 1680px;
  margin: 0 auto;
  padding: 24px 6%;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #fff;
  gap: 20px;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--ink);
}
.benefit-item b {
  font-size: 12px;
  color: var(--gold-dark);
  font-family: Georgia, serif;
  font-weight: bold;
}

/* Section General */
.section {
  max-width: 1680px;
  margin: 0 auto;
  padding: 80px 6%;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}
.section-head h2 {
  margin: 0;
}
.section-head > p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.under-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.under-link:hover {
  color: var(--gold-dark);
}

/* --- Category Grid --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.category-card {
  text-align: left;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out);
}
@keyframes shimmerSkeleton {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.category-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
  background-size: 200% 100%;
  animation: shimmerSkeleton 1.6s infinite linear;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(17, 40, 54, 0.05);
}
.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.6s var(--ease-out);
}
.category-card:hover {
  transform: translateY(-4px);
}
.category-card:hover img {
  transform: scale(1.06);
}
.category-number {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 9px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.circle-arrow {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-spring), background 0.2s;
}
.category-card:hover .circle-arrow {
  transform: translate(2px, -2px);
  background: var(--gold);
  color: var(--navy);
}
.category-card h3 {
  font-size: 15px;
  margin: 14px 0 4px;
}
.category-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.image-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 24px;
  text-align: center;
}

/* --- Product Cards & Grids --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
}
.product-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(17, 40, 54, 0.05);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(17, 40, 54, 0.12);
  border-color: #d1c6b3;
}
.product-photo {
  position: relative;
  aspect-ratio: 9 / 16;
  background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
  background-size: 200% 100%;
  animation: shimmerSkeleton 1.6s infinite linear;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.product-photo a {
  display: block;
  width: 100%;
  height: 100%;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.3s ease, transform 0.65s var(--ease-out);
}
.product-card:hover .card-img {
  transform: scale(1.04);
}

.demo-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  color: #7d6537;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(184, 156, 105, 0.3);
}

.save-product {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease-spring), color 0.2s, background 0.2s;
}
.save-product:hover {
  transform: scale(1.12);
  color: var(--error);
}
.save-product.selected {
  color: var(--error);
  animation: heartPop 0.4s var(--ease-spring);
}
@keyframes heartPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  75% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-overline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.article-badge {
  background: var(--cream);
  color: var(--navy);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}
.product-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}
.product-name:hover {
  color: var(--gold-dark);
}
.product-fabric {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 10px;
}
.product-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}
.product-sizes span {
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  background: var(--cream);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-xs);
}
.product-colours {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
}
.product-colours > span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--swatch);
  border: 1.5px solid #00000018;
  transition: transform 0.2s;
}
.product-colours > span:hover {
  transform: scale(1.3);
}
.product-colours small {
  font-size: 9px;
  color: var(--muted);
  margin-left: 6px;
}

.product-meta {
  border-top: 1px solid var(--line-light);
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  margin-top: auto;
}
.product-meta strong {
  color: var(--navy);
}
.product-meta span {
  color: var(--muted);
  font-size: 10px;
}

.add-card {
  width: 100%;
  padding: 11px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  margin-top: 6px;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.card-links {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  margin-top: 10px;
  color: var(--muted);
}
.card-links a:hover,
.card-links button:hover {
  color: var(--navy);
}

/* --- Denim Spotlight Story --- */
.denim-story {
  max-width: 1680px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(17, 40, 54, 0.05);
}
.denim-photo {
  position: relative;
  min-height: 480px;
}
.denim-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.denim-photo > span {
  position: absolute;
  bottom: 24px;
  left: 8%;
  color: #fff;
  letter-spacing: 3px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(17, 40, 54, 0.75);
  backdrop-filter: blur(6px);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}
.denim-copy {
  padding: 64px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.denim-copy h2 {
  font-size: clamp(28px, 3.4vw, 46px);
  margin-bottom: 20px;
}
.story-caption {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
  font-weight: 700;
}

/* --- Wholesale Steps --- */
.buyer-types {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 36px;
}
.buyer-types span,
.buyer-types a {
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 12px;
  background: #fff;
  color: var(--ink);
  transition: background 0.2s, border-color 0.2s;
}
.buyer-types a:hover {
  background: var(--cream);
  border-color: var(--gold);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  border-top: 3px solid var(--gold);
  transition: transform 0.25s var(--ease-out);
}
.step-card:hover {
  transform: translateY(-3px);
}
.step-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 1.5px;
}
.step-card h3 {
  font-size: 17px;
  margin: 12px 0 8px;
}
.step-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* --- Catalogue Banner --- */
.catalogue-banner {
  max-width: 1680px;
  margin: 40px auto;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 60px 8%;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  align-items: center;
  gap: 40px;
}
.catalogue-banner h2 {
  color: #fff;
  font-size: clamp(30px, 3.5vw, 48px);
}
.catalogue-banner p {
  color: #cfd9df;
  font-size: 14px;
}
.catalogue-mark {
  border: 1.5px solid rgba(184, 156, 105, 0.5);
  padding: 30px;
  text-align: center;
  font: 90px Georgia, serif;
  color: var(--gold);
  border-radius: 8px;
  width: 220px;
  justify-self: center;
}
.catalogue-mark span {
  display: block;
  font: 9px 'DM Sans', sans-serif;
  letter-spacing: 2px;
  line-height: 1.8;
  color: #dde5ea;
  margin-top: 18px;
}

/* --- About & FAQ Sections --- */
.about {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
  border-bottom: 1px solid var(--line);
}
.large-copy {
  font-size: 18px;
  line-height: 1.75;
  color: var(--navy);
  font-weight: 500;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--navy);
  transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '+';
  font-size: 20px;
  color: var(--gold-dark);
  transition: transform 0.2s;
}
.faq-list details[open] summary::after {
  content: '−';
}
.faq-list details p {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.7;
}

/* --- Visit / Store Location --- */
.visit {
  max-width: 1680px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.location-art {
  min-height: 420px;
  position: relative;
  background: #e6e8e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Fix: prevents diagonal grid lines from bleeding into the visit-copy text */
}
.location-lines {
  position: absolute;
  inset: -50%;
  transform: rotate(25deg);
  background: repeating-linear-gradient(0deg, transparent 0, transparent 60px, #f4f5ee 60px, #f4f5ee 70px),
              repeating-linear-gradient(90deg, transparent 0, transparent 100px, #f4f5ee 100px, #f4f5ee 112px);
  pointer-events: none;
  z-index: 1;
}
.location-pin {
  position: relative;
  z-index: 2;
  background: var(--navy);
  color: var(--gold);
  width: 68px;
  height: 68px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  font: 24px Georgia, serif;
  box-shadow: 0 8px 24px rgba(17, 40, 54, 0.2);
}
.location-art p {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  box-shadow: var(--shadow-sm);
}
.location-art strong {
  font-size: 20px;
}
.location-art small {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  font-size: 8px;
  letter-spacing: 1px;
  color: #7b8077;
}
.visit-copy {
  position: relative;
  z-index: 2;
  padding: 50px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-lines {
  display: grid;
  gap: 8px;
  font-size: 13px;
  margin: 18px 0;
}
.contact-lines a:hover {
  color: var(--gold-dark);
}
.visit-note {
  font-size: 11px !important;
  color: var(--muted);
}

/* --- Final CTA Strip --- */
.final-cta {
  max-width: 1680px;
  margin: 0 auto;
  padding: 60px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  gap: 24px;
}
.final-cta h2 {
  margin: 0;
}

/* --- Global Footer --- */
.store-footer {
  background: var(--navy);
  color: #fff;
  padding: 70px 6% 30px;
}
.footer-grid {
  max-width: 1680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
  gap: 36px;
}
.footer-brand-col p {
  font-size: 12px;
  color: #b5c2c9;
  line-height: 1.8;
  margin: 16px 0;
}
.footer-grid .monogram {
  background: transparent;
  color: var(--gold);
}
.footer-grid .brand {
  color: #fff;
}
.footer-gst {
  font-size: 10px;
  letter-spacing: 0.8px;
  color: var(--gold);
  display: block;
}

/* Footer Direct Social Media Links */
.footer-social-strip {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-social-strip .social-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold);
}
.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-social-links .social-icon-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
  transition: all 0.22s var(--ease-spring) !important;
  text-decoration: none !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  box-sizing: border-box !important;
}
.footer-social-links .social-icon-btn svg {
  display: block !important;
  margin: auto !important;
  width: 19px !important;
  height: 19px !important;
  flex-shrink: 0 !important;
}
.footer-social-links .social-icon-btn:hover {
  transform: translateY(-3px) scale(1.08) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
}
.footer-social-links .social-icon-btn.facebook:hover {
  background: #1877f2 !important;
  border-color: #1877f2 !important;
  color: #ffffff !important;
}
.footer-social-links .social-icon-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}
.footer-social-links .social-icon-btn.whatsapp:hover {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #ffffff !important;
}

.footer-grid h3 {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.6px;
  margin: 0 0 20px;
}
.footer-grid a:not(.brand):not(.social-icon-btn) {
  display: block;
  font-size: 12px;
  color: #d1dade;
  margin-bottom: 12px;
  transition: color 0.2s, transform 0.2s;
}
.footer-grid a:not(.brand):hover {
  color: #fff;
  transform: translateX(3px);
}
.footer-grid p:not(.footer-brand-col p) {
  font-size: 12px;
  color: #b5c2c9;
  line-height: 1.8;
}
.footer-bottom {
  max-width: 1680px;
  margin: 50px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #8c9da6;
}

/* --- Mobile Bottom Navigation Bar --- */
.mobile-bottom {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
  z-index: 40;
  box-shadow: 0 -4px 18px rgba(17, 40, 54, 0.08);
}
.mob-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  min-height: 44px;
}
.mob-icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}
.mob-link.is-current {
  color: var(--navy);
}
.mob-link.is-current .mob-icon {
  stroke: var(--gold-dark);
  stroke-width: 2.2;
}
.mob-link b {
  background: var(--navy);
  color: #fff;
  font-size: 9px;
  padding: 2px 5px;
  border-radius: 8px;
  margin-left: 2px;
}

/* --- Catalogue Page & Filters Drawer --- */
.page-section {
  max-width: 1680px;
  margin: 0 auto;
  padding: 30px 6% 80px;
  min-height: 60vh;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumbs a:hover {
  color: var(--navy);
  text-decoration: underline;
}
.catalogue-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 30px;
}
.catalogue-layout {
  display: block;
  width: 100%;
}
.listing-content {
  width: 100%;
}
.filters {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: #fff;
  align-self: start;
  box-shadow: 0 4px 18px rgba(17, 40, 54, 0.04);
}
.filter-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.filter-heading h3 {
  font-size: 14px;
  margin: 0;
}
.clear-filters-link {
  font-size: 11px;
  color: var(--gold-dark);
  text-decoration: underline;
}
.filters label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}
.filters label span {
  display: block;
  margin-bottom: 6px;
}
.filters input,
.filters select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: 12px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.filters input:focus,
.filters select:focus {
  border-color: var(--gold);
  background: #fff;
}
.filter-apply-btn {
  width: 100%;
  margin-top: 10px;
}
.filter-close-btn {
  display: none;
  width: 100%;
  margin-top: 8px;
}
.filter-help {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.filter-help p {
  color: var(--muted);
  margin: 6px 0 10px;
}
.filter-help button {
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding: 0;
}

.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 18px;
  font-size: 12px;
}
.sort-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
}
.sort-label select {
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
}
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.active-chip {
  font-size: 10px;
  font-weight: 600;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 20px;
}
.mobile-filter-toggle {
  display: none;
}

/* --- Product Detail Page --- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}
.detail-photo {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 85vh;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--cream);
  border-radius: 12px;
  overflow: hidden;
}
.detail-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease-out);
}
.detail-img:hover {
  transform: scale(1.03);
}
.detail-copy {
  display: flex;
  flex-direction: column;
}
.detail-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.stock-pill {
  font-size: 10px;
  font-weight: 700;
  background: rgba(32, 134, 83, 0.1);
  color: var(--success);
  padding: 3px 8px;
  border-radius: 4px;
}
.detail-price {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin: 20px 0;
}
.price-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}
.detail-price small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

/* Variant Selectors (Swatches & Chips) */
.selector-group {
  margin-bottom: 20px;
}
.group-title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--navy);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.swatch-picker {
  display: flex;
  gap: 10px;
}
.swatch-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--swatch);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}
.swatch-btn:hover {
  transform: scale(1.15);
}
.swatch-btn.active {
  box-shadow: 0 0 0 2.5px var(--navy);
  transform: scale(1.15);
}

.size-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.size-btn {
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  transition: all 0.2s;
}
.size-btn:hover {
  border-color: var(--gold);
  background: #fff;
}
.size-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* Stepper Component */
.stepper-wrap {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}
.step-btn {
  width: 44px;
  height: 44px;
  background: var(--cream);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  display: grid;
  place-items: center;
  transition: background 0.15s;
}
.step-btn:hover {
  background: #e9e7df;
}
.stepper-input {
  width: 70px;
  height: 44px;
  border: none;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  outline: none;
}

.quantity-note {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
}
.purchase-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
}
.form-error {
  color: var(--error);
  font-size: 11px;
  margin-top: 10px;
}

.detail-tools {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}
.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}
.tool-btn:hover,
.tool-btn.active {
  color: var(--navy);
}
.trade-note {
  margin-top: 28px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 18px;
  border-radius: 4px;
  font-size: 11px;
}
.trade-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}
.trade-note p {
  margin: 0;
  color: var(--muted);
}

.detail-information {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}
.specs div {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 12px;
}
.specs dt {
  color: var(--muted);
}
.specs dd {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
}

/* Accordion Group */
.accordion-group details {
  border-bottom: 1px solid var(--line-light);
  padding: 12px 0;
}
.accordion-group summary {
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
}
.accordion-group summary::-webkit-details-marker {
  display: none;
}
.accordion-group summary::after {
  content: '⌄';
  color: var(--gold-dark);
}
.accordion-group details p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}

/* --- Enquiry Cart Page --- */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 40px;
}
.cart-lines {
  display: flex;
  flex-direction: column;
}
.cart-line {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.cart-thumb {
  aspect-ratio: 9 / 16;
  border-radius: 6px;
  overflow: hidden;
  background: var(--cream);
}
.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.cart-item-details h3 {
  font-size: 16px;
  margin: 6px 0 8px;
}
.cart-variant-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.variant-pill {
  font-size: 10px;
  background: var(--cream);
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid var(--line-light);
}
.moq-pill {
  font-size: 10px;
  background: rgba(184, 156, 105, 0.15);
  color: var(--gold-dark);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
}
.cart-qty-row {
  display: flex;
  align-items: center;
  gap: 24px;
}
.cart-qty-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
}
.cart-stepper .step-btn {
  width: 36px;
  height: 36px;
  font-size: 16px;
}
.cart-stepper .stepper-input {
  width: 60px;
  height: 36px;
  font-size: 13px;
}
.remove-item {
  color: var(--error);
  font-size: 11px;
  font-weight: 600;
  padding: 6px;
  transition: opacity 0.2s;
}
.remove-item:hover {
  opacity: 0.7;
}
.cart-price-col {
  text-align: right;
}
.cart-price-col strong {
  font-size: 12px;
  color: var(--navy);
  display: block;
}
.cart-price-col small {
  font-size: 10px;
  color: var(--muted);
}
.cart-bottom-actions {
  padding-top: 20px;
}

.cart-summary {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}
.summary-dl div {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 12px;
}
.summary-dl dt {
  color: var(--muted);
}
.summary-dl dd {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
}
.submit-quote-btn {
  width: 100%;
  margin-top: 20px;
}
.download-btn {
  width: 100%;
  margin-top: 10px;
}
.summary-disclaimer {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 16px;
}

/* Empty Page Component - Modern Circular Badge Style */
.empty-page {
  text-align: center;
  padding: 64px 24px;
  background: linear-gradient(180deg, #fafbfc 0%, #f3f5f8 100%);
  border: 1px dashed rgba(12, 30, 41, 0.16);
  border-radius: 16px;
  margin: 28px 0;
  box-shadow: 0 2px 12px rgba(12, 30, 41, 0.03);
}
.empty-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  background: #ffffff;
  border: 1px solid rgba(12, 30, 41, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(12, 30, 41, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.empty-page:hover .empty-icon {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 28px rgba(12, 30, 41, 0.1);
}
.empty-page h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy, #0c1e29);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.empty-page p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto 24px;
}
.empty-page .button {
  box-shadow: 0 4px 14px rgba(12, 30, 41, 0.15);
  border-radius: 8px;
  padding: 11px 24px;
  font-weight: 600;
}

/* --- Comparison Table --- */
.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.comparison-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 650px;
}
.comparison-table th,
.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line-light);
  border-right: 1px solid var(--line-light);
  font-size: 12px;
  text-align: left;
}
.sticky-col {
  position: sticky;
  left: 0;
  background: var(--cream);
  font-weight: 700;
  color: var(--navy);
  z-index: 2;
  width: 160px;
}
.comp-header-cell img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
}
.comp-header-cell a {
  font-weight: 700;
  color: var(--navy);
  display: block;
}
.remove-comp-btn {
  font-size: 10px;
  color: var(--error);
  margin-top: 6px;
}

/* --- Modals & Dialogs --- */
dialog {
  border: none;
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 640px;
  width: calc(100% - 32px);
  max-height: 90vh;
  box-shadow: 0 20px 50px rgba(17, 40, 54, 0.2);
  color: var(--ink);
  overflow-y: auto;
}
dialog::backdrop {
  background: rgba(17, 40, 54, 0.65);
  backdrop-filter: blur(6px);
  animation: backdropEnter 0.25s var(--ease-out);
}
@keyframes backdropEnter {
  from { opacity: 0; }
  to { opacity: 1; }
}
dialog[open] {
  animation: dialogScale 0.28s var(--ease-spring);
}
@keyframes dialogScale {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  font-size: 22px;
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease-spring), background 0.2s;
}
.close:hover {
  transform: rotate(90deg);
  background: #edeae2;
}

.quick-title {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 16px;
  margin-bottom: 24px;
  align-items: center;
}
.quick-title img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-md);
}
.quick-title h2 {
  font-size: 20px;
  margin: 6px 0 4px;
}
.quick-subtitle {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.quick-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 4px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
}
input, select, textarea {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 13px;
  margin-top: 6px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 156, 105, 0.2);
}
textarea {
  resize: vertical;
}
.form-note {
  font-size: 11px !important;
  background: var(--cream);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  margin: 16px 0;
}
.submit-enquiry-btn {
  width: 100%;
}
#request-items-box {
  margin-top: 14px;
  padding: 12px;
  background: var(--cream);
  border-radius: 6px;
  font-size: 11px;
  color: var(--navy);
}

/* --- Feedback Toast --- */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: opacity 0.25s, transform 0.25s var(--ease-spring);
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.toast a {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 700;
}

/* --- Reading Progress & Back to Top --- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 200;
  pointer-events: none;
}
.back-top {
  position: fixed;
  bottom: 92px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  box-shadow: var(--shadow-md);
  font-size: 20px;
  font-weight: bold;
  z-index: 35;
  display: grid;
  place-items: center;
  transition: transform 0.2s var(--ease-spring), background 0.2s;
  animation: dialogScale 0.25s var(--ease-spring);
}
.back-top:hover {
  transform: translateY(-3px);
  background: var(--gold);
  color: var(--navy);
}

/* Floating WhatsApp Action Button (App Store Authentic Design) */
.floating-whatsapp {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.44), 0 2px 6px rgba(0, 0, 0, 0.12);
  z-index: 150;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
}
.floating-whatsapp:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.58), 0 4px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}
.floating-wa-icon {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 2;
  fill: currentColor;
}
.floating-wa-radar {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.7);
  animation: waRadarPulse 2.2s infinite ease-out;
  pointer-events: none;
  z-index: 1;
}
@keyframes waRadarPulse {
  0% { transform: scale(0.95); opacity: 0.9; }
  60% { transform: scale(1.38); opacity: 0; }
  100% { transform: scale(1.38); opacity: 0; }
}
.floating-wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--navy);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s var(--ease-out);
  box-shadow: 0 4px 14px rgba(17, 40, 54, 0.2);
}
.floating-whatsapp:hover .floating-wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out) var(--reveal-delay, 0ms),
              transform 0.65s var(--ease-out) var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.image-loading {
  opacity: 0 !important;
  transition: opacity 0.3s ease;
}
.card-img.loaded, .category-image img.loaded, .detail-img.loaded {
  opacity: 1 !important;
}

/* ==========================================================
   RESPONSIVE MEDIA QUERIES (Mobile, Tablet, Desktop)
   ========================================================== */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Laptops & Tablets Landscape (max-width: 1100px) */
@media (max-width: 1100px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 18px;
  }
  .catalogue-layout {
    display: block;
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets (iPad, Tablet Portrait/Landscape: max-width: 1024px)
   Solves "tab mai screen hi aadhi mai dikhra" & prevents header overflow */
/* ==========================================================================
   DEDICATED RESPONSIVE HEADER & DRAWER SYSTEM (TABLET & MOBILE)
   ========================================================================== */

/* Universal Tablet & Mobile Navigation Drawer Base */
@media (max-width: 1024px) {
  .drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid var(--line-light) !important;
    background: #fafaf9 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 2 !important;
    width: 100% !important;
  }
  .drawer-brand {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .drawer-brand-name {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: var(--navy) !important;
    letter-spacing: 0.5px !important;
  }
  .drawer-close-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid var(--line) !important;
    color: var(--navy) !important;
    font-size: 16px !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 1px 4px rgba(17, 40, 54, 0.08) !important;
  }

  /* Slide-Out Side Navigation Drawer (Full Height Viewport) */
  .store-nav {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(320px, 86vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    z-index: 999999 !important;
    background: #ffffff !important;
    box-shadow: -8px 0 36px rgba(17, 40, 54, 0.22) !important;
    transform: translateX(110%) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    pointer-events: none !important;
  }
  .store-nav.open {
    transform: translateX(0) !important;
    pointer-events: auto !important;
  }

  /* Drawer Navigation Links */
  .nav-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    padding: 12px 16px !important;
    gap: 4px !important;
    margin: 0 !important;
  }
  .store-nav .nav-item {
    width: 100% !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: #334155 !important;
    background: transparent !important;
    border-bottom: 1px solid var(--line-light) !important;
    box-shadow: none !important;
    white-space: normal !important;
    text-align: left !important;
  }
  .store-nav .nav-item:hover {
    background: #f8fafc !important;
    color: var(--navy) !important;
  }
  .store-nav .nav-item.is-current {
    background: #f1f5f9 !important;
    color: var(--navy) !important;
    font-weight: 700 !important;
    border-left: 4px solid var(--gold) !important;
    box-shadow: none !important;
  }

  /* Drawer Category Menu */
  .category-menu {
    width: 100% !important;
    border-bottom: 1px solid var(--line-light) !important;
  }
  .category-menu summary {
    font-size: 14.5px !important;
    font-weight: 600 !important;
    padding: 12px 14px !important;
    color: #334155 !important;
    cursor: pointer !important;
  }
  .category-menu .dropdown-panel {
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
    padding: 4px 10px 10px 24px !important;
    background: #fbfbfa !important;
    border-radius: 8px !important;
  }
  .category-menu .dropdown-panel a {
    display: block !important;
    padding: 9px 0 !important;
    font-size: 13.5px !important;
    color: var(--navy) !important;
    border-bottom: 1px dashed var(--line-light) !important;
  }

  /* Drawer Bottom Actions (WhatsApp + Bulk Enquiry) */
  .mobile-drawer-actions {
    display: flex !important;
    flex-direction: column !important;
    padding: 16px !important;
    gap: 10px !important;
    margin-top: auto !important;
    background: #fafaf9 !important;
    border-top: 1px solid var(--line-light) !important;
  }
  .mobile-drawer-actions .nav-whatsapp {
    background: #25d366 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 12px !important;
    border-radius: 9999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25) !important;
  }
  .mobile-drawer-actions .nav-enquire {
    background: var(--navy) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 12px !important;
    border-radius: 9999px !important;
    text-align: center !important;
  }

  /* Full Screen Backdrop */
  .menu-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999990 !important;
    background: rgba(17, 40, 54, 0.5) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease !important;
  }
  .menu-backdrop.open {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .icon-btn.menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .tool-label {
    display: none !important;
  }

  /* Prevent Section Cramping on Tablet */
  .page-section { padding: 24px 4% 60px; width: 100%; max-width: 100%; }
  .section { padding: 45px 4%; width: 100%; max-width: 100%; }
  .denim-story { grid-template-columns: 1fr; margin: 30px auto; }
  .denim-photo { min-height: 340px; }
  .denim-copy { padding: 36px 6%; }
  .catalogue-banner { grid-template-columns: 1fr; padding: 36px 6%; gap: 20px; text-align: center; }
  .catalogue-mark { display: none; }
  .about, .faq, .visit { grid-template-columns: 1fr; gap: 32px; }
  .location-art { min-height: 320px; }
  .visit-copy { padding: 36px 6%; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .detail-photo { max-width: 440px; margin: 0 auto; }
  .cart-layout { grid-template-columns: 1fr; gap: 32px; }
  .cart-summary { position: static; }
}

/* TABLET SPECIFIC (769px to 1024px): Spacious & Elegant Header */
@media (min-width: 769px) and (max-width: 1024px) {
  :root {
    --header-height: 66px;
  }

  .topbar {
    height: 34px;
    padding: 0 4%;
  }
  .topbar-inner {
    font-size: 11.5px;
    justify-content: space-between;
  }
  .topbar-links a {
    font-size: 11.5px;
  }

  .store-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(17, 40, 54, 0.08);
  }

  .header-main.single-line-header {
    height: 66px;
    padding: 0 4%;
    gap: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
  }

  .brand {
    gap: 10px;
    flex-shrink: 0;
  }
  .monogram {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .brand-logo-img {
    height: 36px;
    max-height: 36px;
    max-width: 120px;
    object-fit: contain;
  }
  .brand-text {
    font-size: 14.5px;
  }
  .brand-text small {
    font-size: 7px;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  .header-tool {
    width: 38px;
    height: 38px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
  }
  .header-cta-btn {
    display: inline-flex !important;
    padding: 8px 14px !important;
    font-size: 11.5px !important;
  }
  .icon-btn.menu {
    width: 38px;
    height: 38px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 14px;
  }
}

/* PHONE SPECIFIC (<= 768px): Clean, Non-Cramped Header with 3 Essential Tools */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  /* Slim 30px Topbar with Centered Tap-to-Call */
  .topbar {
    height: 30px;
    padding: 0 14px;
  }
  .topbar-inner {
    font-size: 11px;
    justify-content: center;
  }
  .topbar-inner > span {
    display: none; /* Hide long location tag on mobile to prevent overflow */
  }
  .topbar-links {
    margin: 0 auto;
    display: flex;
    align-items: center;
  }
  .topbar-links a {
    font-size: 11.5px;
    font-weight: 600;
  }
  .topbar-links a:last-child {
    display: none;
  }

  /* Phone Header */
  .store-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(17, 40, 54, 0.08);
  }

  .header-main.single-line-header {
    height: 60px;
    padding: 0 14px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }

  .brand {
    gap: 8px;
    max-width: calc(100% - 136px);
    flex-shrink: 1;
    overflow: hidden;
  }
  .monogram {
    width: 34px;
    height: 34px;
    font-size: 14.5px;
    border-radius: 9px;
    flex-shrink: 0;
  }
  .brand-logo-img {
    height: 32px;
    max-height: 32px;
    max-width: 85px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
  }
  .brand-text {
    font-size: 13px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-text small {
    font-size: 6.8px;
    letter-spacing: 0.8px;
    white-space: nowrap;
  }

  /* 3 Clean Touch-Friendly Buttons on Phone: Search, Cart, Menu */
  .header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }
  /* Saved (Heart) is in bottom bar, hide from top header on phones to give space */
  .header-actions .header-tool[href="#/saved"] {
    display: none !important;
  }
  .header-cta-btn {
    display: none !important;
  }
  .header-tool {
    width: 36px;
    height: 36px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
  }
  .search-trigger-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
  }
  .icon-btn.menu {
    width: 36px;
    height: 36px;
    padding: 7px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }

  /* Mobile Bottom Navigation */
  .mobile-bottom {
    display: flex;
  }
  .store-footer {
    padding-bottom: calc(85px + env(safe-area-inset-bottom));
  }
  .floating-whatsapp {
    bottom: calc(76px + env(safe-area-inset-bottom)) !important;
    right: 16px !important;
    width: 48px !important;
    height: 48px !important;
  }
  .back-top {
    bottom: calc(134px + env(safe-area-inset-bottom)) !important;
    right: 18px !important;
  }
}


@media (max-width: 480px) {
  .topbar-inner > span {
    display: none;
  }
  .topbar-inner {
    justify-content: center;
    padding: 5px 3%;
  }
  .topbar-links a {
    font-size: 10px;
    font-weight: 700;
  }

  .brand {
    max-width: 62%;
  }
  .monogram {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 8px;
  }
  .brand-text {
    font-size: 12.5px;
    letter-spacing: 0.5px;
  }
  .brand-text small {
    font-size: 6px;
    letter-spacing: 0.8px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }
  .product-info {
    padding: 10px 8px;
  }
  .product-name {
    font-size: 12.5px;
    min-height: 32px;
    line-height: 1.35;
  }
  .product-fabric {
    font-size: 10px;
    margin-bottom: 6px;
  }
  .product-sizes span {
    font-size: 8px;
    padding: 2px 5px;
  }
  .product-colours > span {
    width: 12px;
    height: 12px;
  }
  .product-meta {
    padding: 8px 0;
    font-size: 10px;
  }
  .add-card {
    padding: 8px 12px;
    font-size: 10.5px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Ultra Small Mobile Screens (max-width: 380px) */
@media (max-width: 380px) {
  .brand {
    font-size: 12px;
    max-width: 58%;
  }
  .monogram {
    width: 28px;
    height: 28px;
    font-size: 13px;
    border-radius: 7px;
  }
  .brand-text {
    font-size: 11.5px;
    letter-spacing: 0.3px;
  }
  .brand-text small {
    font-size: 5.5px;
    letter-spacing: 0.5px;
  }
  .product-grid {
    gap: 8px 6px;
  }
  .product-name {
    font-size: 11.5px;
    min-height: 30px;
  }
  .button {
    padding: 10px 14px;
    font-size: 11px;
  }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================
   ADMIN CONTROL PANEL STYLES
   ========================================================== */
.admin-auth-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 65vh;
}
.admin-auth-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  border-radius: 12px;
  padding: 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
}
.admin-auth-header .monogram {
  margin: 0 auto 16px;
}
.admin-auth-header h2 {
  font-size: 24px;
  margin-bottom: 8px;
}
.admin-auth-header p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.admin-auth-btn {
  width: 100%;
  margin-top: 16px;
}
.admin-auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(184, 134, 11, 0.12);
  color: var(--gold-dark);
  border: 1px solid rgba(184, 134, 11, 0.3);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.admin-auth-error {
  background: #fdf2f2;
  border: 1px solid #f8b4b4;
  color: #9b1c1c;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  text-align: left;
  line-height: 1.45;
  margin-top: 14px;
}
.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.password-input-wrap input {
  width: 100%;
  padding-right: 44px !important;
}
.toggle-pass-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  font-size: 16px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}
.toggle-pass-btn:hover {
  color: var(--navy);
}
.security-info-box {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.security-info-box code {
  background: #fff;
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  color: var(--navy);
}
.footer-admin-link {
  font-size: 11px;
  opacity: 0.65;
  transition: opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.footer-admin-link:hover {
  opacity: 1;
}
.admin-hint {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 16px;
  margin-bottom: 0;
  line-height: 1.45;
  text-align: left;
  background: #f9fbfd;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px dashed var(--line);
}
.admin-hint b {
  color: var(--navy);
}

/* Security Shield, Audit Log & Lockout Styles */
.security-alert-box {
  background: #fdf2f2;
  border: 1.5px solid #f98080;
  color: #9b1c1c;
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  text-align: left;
  font-size: 13px;
  line-height: 1.45;
}
.security-success-box {
  background: #f3faf7;
  border: 1.5px solid #84e1bc;
  color: #03543f;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  text-align: left;
  font-size: 13px;
  line-height: 1.45;
}
.emergency-pin-box {
  margin-top: 14px;
  padding: 12px;
  background: #fff;
  border: 1px dashed #f98080;
  border-radius: 6px;
  text-align: left;
}
.audit-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 14px;
  max-height: 380px;
  overflow-y: auto;
}
.audit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
.audit-table th {
  background: #f8fafc;
  padding: 10px 14px;
  border-bottom: 1.5px solid var(--line);
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 2;
}
.audit-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.audit-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.audit-badge.success { background: #def7ec; color: #03543f; }
.audit-badge.danger { background: #fde8e8; color: #9b1c1c; }
.audit-badge.warn { background: #fef08a; color: #713f12; }
.audit-badge.info { background: #e1effe; color: #1e429f; }
.password-meter-wrap {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.password-meter-track {
  flex: 1;
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.password-meter-fill {
  height: 100%;
  width: 0%;
  transition: width 0.3s ease, background-color 0.3s ease;
}
.password-meter-label {
  font-size: 11px;
  font-weight: 700;
  min-width: 50px;
}

.admin-dashboard-section {
  max-width: 1680px;
  margin: 0 auto;
}
.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 20px;
  flex-wrap: wrap;
}
.admin-header-row h1 {
  margin: 4px 0 6px;
}
.admin-header-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.admin-actions-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.logout-btn {
  color: var(--error);
  border-color: rgba(185, 56, 43, 0.4);
}
.logout-btn:hover {
  background: rgba(185, 56, 43, 0.08);
}

.admin-nav-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1.5px solid var(--line);
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.admin-tab-btn {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  white-space: nowrap;
  transition: all 0.2s;
  background: var(--cream);
  border: 1px solid var(--line);
  border-bottom: none;
}
.admin-tab-btn:hover {
  color: var(--navy);
  background: #fff;
}
.admin-tab-btn.active {
  color: var(--navy);
  background: #fff;
  border-color: var(--navy);
  border-bottom: 2px solid #fff;
  margin-bottom: -2px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(17, 40, 54, 0.05);
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  font-family: 'Manrope', sans-serif;
  line-height: 1.1;
}
.stat-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-dark);
  margin: 6px 0 4px;
}
.stat-desc {
  font-size: 11px;
  color: var(--muted);
}

.admin-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 28px;
}
.admin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 4px 18px rgba(17, 40, 54, 0.05);
  margin-bottom: 28px;
}
.admin-card h3 {
  margin: 0 0 16px;
  font-size: 18px;
}
.admin-card h4 {
  font-size: 14px;
  margin: 20px 0 12px;
}
.admin-button-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.admin-button-stack .button {
  width: 100%;
}
.admin-lead-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.admin-lead-mini {
  border-left: 3px solid var(--gold);
  background: var(--cream);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 12px;
}
.admin-lead-mini span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.admin-lead-mini small {
  font-size: 10px;
  color: #8c9da6;
}
.admin-muted {
  font-size: 12px;
  color: var(--muted);
}

/* Admin Table */
.admin-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}
.admin-table-header h3 {
  margin: 0 0 4px;
}
.admin-table-header p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}
.admin-table th,
.admin-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-light);
  font-size: 12px;
}
.admin-table th {
  background: var(--cream);
  font-weight: 700;
  color: var(--navy);
}
.admin-table tr:hover td {
  background: #fafaf7;
}
.admin-table-thumb {
  width: 44px;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--cream);
}
.admin-prod-link {
  font-weight: 700;
  color: var(--navy);
  display: block;
}
.admin-subtext {
  font-size: 10px;
  color: var(--muted);
  display: block;
}
.badge-tag {
  background: var(--cream);
  padding: 3px 6px;
  border-radius: 3px;
  border: 1px solid var(--line-light);
  font-size: 10px;
}
.status-yes {
  color: var(--gold-dark);
  font-weight: 700;
}
.status-no {
  color: var(--muted);
}
.admin-row-btns {
  display: flex;
  gap: 6px;
}
.btn-sm {
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: #fff;
  transition: all 0.15s;
}
.btn-sm.edit:hover {
  background: var(--navy);
  color: #fff;
}
.btn-sm.copy:hover {
  background: var(--gold);
  color: var(--navy);
}
.btn-sm.del {
  color: var(--error);
}
.btn-sm.del:hover {
  background: var(--error);
  color: #fff;
  border-color: var(--error);
}
.button-sm.whatsapp {
  background: rgba(32, 134, 83, 0.1);
  color: var(--success);
  border: 1px solid rgba(32, 134, 83, 0.3);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
  white-space: nowrap;
}
.button-sm.whatsapp:hover {
  background: var(--success);
  color: #fff;
}

/* Customizer Slides Boxes */
.slide-edit-box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 18px;
  position: relative;
}
.slide-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  background: var(--navy);
  color: #fff;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 12px;
}

/* Backup Cards */
.backup-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.backup-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
}
.backup-card h4 {
  margin: 0 0 8px;
}
.backup-card p {
  font-size: 12px;
  color: var(--muted);
  flex: 1;
}
.backup-card .button {
  width: 100%;
}
.danger-btn {
  color: var(--error);
  border-color: var(--error);
}
.danger-btn:hover {
  background: var(--error);
  color: #fff;
}

/* Admin Product Modal */
.admin-dialog {
  max-width: 780px;
  width: calc(100% - 32px);
}
.admin-subhead {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}
.product-image-picker-group {
  margin: 16px 0;
  padding: 16px;
  background: var(--cream);
  border-radius: 8px;
  border: 1px solid var(--line);
}
.image-preview-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 10px;
}
.admin-edit-preview-img {
  width: 120px;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
}
.image-options-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn-file-label {
  display: inline-block;
  padding: 8px 14px;
  background: #fff;
  border: 1.5px solid var(--navy);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  width: fit-content;
  color: var(--navy);
  transition: background 0.2s;
}
.btn-file-label:hover {
  background: var(--cream);
}
.or-separator {
  font-size: 11px;
  color: var(--muted);
}
.checkbox-row {
  display: flex;
  gap: 24px;
  margin: 16px 0;
}
.inline-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.inline-checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
}
.dialog-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.admin-quick-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--navy);
  transition: all 0.2s;
}
.admin-quick-pill:hover {
  background: var(--navy);
  color: #fff;
}
.catalogue-actions-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 900px) {
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-quick-grid {
    grid-template-columns: 1fr;
  }
  .backup-actions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  .admin-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-actions-bar {
    width: 100%;
  }
  .admin-actions-bar .button {
    flex: 1;
    text-align: center;
  }
  .image-preview-row {
    grid-template-columns: 1fr;
  }
  .admin-edit-preview-img {
    margin: 0 auto;
  }
}

/* Brand Logo Styling */
.brand-logo-img {
  max-height: 38px;
  max-width: 130px;
  object-fit: contain;
  display: block;
}
.footer-brand-col .brand-logo-img {
  max-height: 48px;
  max-width: 160px;
  margin-bottom: 8px;
}

/* Media & Visual Asset Manager Styles */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
  margin-top: 16px;
}
.media-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(17, 40, 54, 0.05);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(17, 40, 54, 0.1);
}
.media-thumb-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  background: var(--cream);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.media-card:hover .media-thumb-img {
  transform: scale(1.03);
}
.media-badge-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(17, 40, 54, 0.85);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}
.media-badge-tag.is-custom {
  background: rgba(184, 134, 11, 0.95);
  color: #fff;
}
.media-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.media-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.media-card-desc {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 14px;
  flex: 1;
}
.media-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.media-card-actions .button, .media-card-actions .btn-file-label {
  flex: 1;
  text-align: center;
  font-size: 11.5px;
  padding: 7px 10px;
  margin: 0;
}

/* Category Admin Grid */
.category-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 16px;
}
.category-admin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 16px rgba(17, 40, 54, 0.05);
}
.cat-preview-row {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cat-preview-thumb {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--cream);
  flex-shrink: 0;
}
.slide-admin-preview-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 10px 0;
}
.slide-admin-thumb {
  width: 140px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--cream);
  flex-shrink: 0;
}

/* Desktop default: drawer-header hidden */
.drawer-header { display: none; }


/* Mobile Bottom Sheet Animation & Filter Drawer */
.filters.filters-open {
  display: block !important;
}
@keyframes bottomSheetIn {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.filter-close-btn {
  display: block;
}


/* --- Wholesale Colour Display Styles --- */
.product-colours-info {
  margin: 6px 0 8px;
  font-size: 11px;
  line-height: 1.35;
}
.colours-pill-tag {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  color: var(--navy);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  font-weight: 700;
  margin-bottom: 3px;
}
.colours-names-text {
  color: #475569;
  font-size: 11px;
  font-weight: 500;
  white-space: normal;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wholesale-colour-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.colour-chip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 5px 11px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}
.colour-chip-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
  flex-shrink: 0;
}


/* WhatsApp Send Cart Enquiry CTA */
.button.whatsapp-send-cart-btn {
  background: #25D366 !important;
  color: #ffffff !important;
  border: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  padding: 14px 20px !important;
  border-radius: var(--radius-pill) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
  width: 100% !important;
  cursor: pointer !important;
  text-transform: none !important;
}
.button.whatsapp-send-cart-btn:hover {
  background: #20bd5a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45) !important;
}
.button.whatsapp-send-cart-btn svg {
  flex-shrink: 0;
}


/* ==========================================================================
   USER REQUESTED ENHANCEMENTS: TOPBAR, LOGO, BOTTOM BAR & BLUR FIX
   ========================================================================== */

/* 1. High-Contrast Premium Topbar */
.topbar {
  background: #0c1e29 !important;
  border-bottom: 1px solid rgba(184, 156, 105, 0.25) !important;
  color: #ffffff !important;
}
.topbar-inner {
  color: #ffffff !important;
}
.topbar-inner > span {
  color: #e2e8f0 !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
}
.topbar-links a {
  color: #fce7b0 !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}
.topbar-links a:hover {
  color: #ffffff !important;
}

/* 2. Brand Logo Size & Adjustment (Prominent Display) */
.brand-logo-img {
  height: 48px;
  max-height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}

/* 3. Multi-Select Category Chips in Bulk Enquiry */
.cat-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.cat-chip-item {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin: 0 !important;
}
.cat-chip-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.cat-chip-item span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  user-select: none;
}
.cat-chip-item:hover span {
  border-color: var(--navy);
  background: #f1f5f9;
}
.cat-chip-item input[type="checkbox"]:checked + span {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(17, 40, 54, 0.2) !important;
}

/* 4. Tablet & Phone Universal Bottom Bar & Floating WhatsApp Removal */
@media (max-width: 1024px) {
  /* Show Mobile Bottom Navigation on both Phone and Tablet */
  .mobile-bottom {
    display: flex !important;
  }
  
  /* Remove floating WhatsApp on Phone and Tablet (Bottom Bar has WhatsApp already!) */
  .floating-whatsapp {
    display: none !important;
  }

  /* Padding for footer to clear fixed bottom bar */
  .store-footer {
    padding-bottom: calc(85px + env(safe-area-inset-bottom)) !important;
  }
  .back-top {
    bottom: calc(85px + env(safe-area-inset-bottom)) !important;
    right: 18px !important;
  }

  /* Fix 3-lines menu drawer blur: Drawer sits in FRONT of backdrop with solid white background */
  .store-header {
    z-index: 999995 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #ffffff !important;
  }
  .menu-backdrop {
    z-index: 999990 !important;
    background: rgba(17, 40, 54, 0.45) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
  }
  .store-nav {
    z-index: 999999 !important;
    background: #ffffff !important;
    opacity: 1 !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: -10px 0 35px rgba(17, 40, 54, 0.25) !important;
  }
  .drawer-header {
    background: #fafaf9 !important;
    opacity: 1 !important;
  }
  .nav-links .nav-item {
    color: #17242c !important;
    opacity: 1 !important;
  }
  .nav-links .nav-item.is-current {
    background: #f1f5f9 !important;
    color: var(--navy) !important;
  }

  /* Topbar on Tablet */
  .topbar {
    height: 36px !important;
    padding: 0 4% !important;
  }
  .topbar-links a {
    font-size: 12px !important;
  }

  /* Logo size on Tablet */
  .brand-logo-img {
    height: 44px !important;
    max-height: 46px !important;
    max-width: 180px !important;
  }
}

/* 5. Phone Specific Refinements */
@media (max-width: 768px) {
  /* Slim & High-Contrast 34px Topbar */
  .topbar {
    height: 34px !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .topbar-inner {
    justify-content: center !important;
    padding: 0 !important;
    width: 100% !important;
  }
  .topbar-inner > span {
    display: none !important;
  }
  .topbar-links {
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
  }
  .topbar-links a {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #fce7b0 !important;
  }

  /* Logo size on Phone */
  .brand-logo-img {
    height: 40px !important;
    max-height: 44px !important;
    max-width: 160px !important;
  }
}


/* ============================================================
   LANGUAGE SWITCHER & ALL-SCREEN COMFORT ENHANCEMENTS
   ============================================================ */

/* Top Language Switcher Pill (Desktop, Tablet, Phone) */
.lang-toggle-btn {
  height: 34px !important;
  width: auto !important;
  min-width: 64px;
  padding: 0 10px !important;
  background: #f1f5f9 !important;
  border: 1px solid rgba(12, 30, 41, 0.14) !important;
  border-radius: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #0c1e29 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
  user-select: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}
.lang-toggle-btn:hover {
  background: #e2e8f0 !important;
  border-color: rgba(12, 30, 41, 0.3) !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08) !important;
}
.lang-toggle-btn:active {
  transform: scale(0.96) !important;
}
.lang-toggle-btn .lang-icon {
  font-size: 13px !important;
  line-height: 1 !important;
}
.lang-toggle-btn .lang-code {
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
}

/* Mobile Drawer Language Selector */
.drawer-lang-selector {
  margin-top: 14px;
  padding: 12px 0 4px;
  border-top: 1px solid rgba(12, 30, 41, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.drawer-lang-label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}
.drawer-lang-btns {
  display: flex;
  gap: 6px;
}
.drawer-lang-btn {
  padding: 6px 14px;
  border-radius: 16px;
  border: 1px solid #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}
.drawer-lang-btn:active {
  transform: scale(0.96);
}

/* Responsive Comfort: Phones <= 768px */
@media (max-width: 768px) {
  .lang-toggle-btn {
    height: 32px !important;
    min-width: 58px !important;
    padding: 0 8px !important;
    font-size: 11px !important;
    gap: 3px !important;
  }
  .lang-toggle-btn .lang-icon {
    font-size: 12px !important;
  }
}

/* Responsive Comfort: Smallest Screens <= 380px */
@media (max-width: 380px) {
  .lang-toggle-btn {
    height: 30px !important;
    min-width: 52px !important;
    padding: 0 6px !important;
    font-size: 10.5px !important;
  }
  .lang-toggle-btn .lang-icon {
    font-size: 11px !important;
  }
  .header-actions {
    gap: 4px !important;
  }
  .brand {
    max-width: calc(100% - 150px) !important;
  }
}

/* Global Anti-Overflow & Smooth Touch */
html, body {
  max-width: 100vw;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
button, a, input, select {
  touch-action: manipulation;
}


/* --- Global Persistent Sticky Header across all screens --- */
.store-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 999995 !important;
  background: #ffffff !important;
  border-bottom: 1px solid rgba(17, 40, 54, 0.08) !important;
  box-shadow: 0 1px 4px rgba(17, 40, 54, 0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.store-header.has-scrolled {
  box-shadow: 0 4px 20px rgba(17, 40, 54, 0.12), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  border-bottom-color: rgba(17, 40, 54, 0.12) !important;
}


/* --- Official Brand Logo Styling --- */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 8px;
}
.brand-logo-img {
  height: 54px;
  max-height: 54px;
  max-width: 250px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}
.brand:hover .brand-logo-img {
  transform: scale(1.02);
}

.footer-brand-col .brand {
  width: 280px;
  max-width: 100%;
  padding: 12px 14px;
  background: #fff;
  border-radius: 8px;
}

.footer-brand-col .brand-logo-img {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  max-width: 100% !important;
  min-width: 0;
  margin-bottom: 0;
  filter: none;
  opacity: 1;
}

/* Mobile Drawer Brand Logo */
.drawer-brand .brand-logo-img {
  height: auto !important;
  max-height: 48px !important;
  max-width: min(210px, 100%) !important;
  object-fit: contain;
  display: block;
}

.header-main.single-line-header {
  height: 96px;
}

.header-main > .brand {
  flex: 0 1 300px;
  min-width: 0;
  max-width: 300px;
  height: calc(100% - 12px);
  margin: 0;
  overflow: hidden;
}

.header-main > .brand .brand-logo-img {
  width: 100%;
  height: 100% !important;
  max-height: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  flex-shrink: 1;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
}

.header-main > .brand:hover .brand-logo-img {
  transform: none;
}

@media (min-width: 1025px) and (max-width: 1500px) {
  .header-main.single-line-header {
    padding-inline: 2%;
    gap: 12px;
  }

  .header-main > .brand {
    min-width: 220px;
  }

  .header-main > .store-nav {
    min-width: 0;
  }

  .header-main .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-main .nav-item,
  .header-main .category-menu summary {
    padding-inline: 5px;
    font-size: 11px;
    white-space: nowrap;
  }

  .header-main .tool-label {
    display: none;
  }

  .header-main .header-tool:not(.lang-toggle-btn) {
    position: relative;
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
  }

  .header-main .header-tool b {
    position: absolute;
    top: -5px;
    right: -5px;
  }

  .header-main .header-cta-btn {
    padding-inline: 10px;
  }
}

@media (max-width: 1024px) {
  .header-main.single-line-header {
    height: 84px;
  }

  .header-main > .brand {
    flex-basis: 280px;
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .header-main.single-line-header {
    height: 72px;
    padding-inline: 10px;
    gap: 8px;
  }

  .header-main > .brand {
    flex: 0 1 240px;
    max-width: min(240px, 100%) !important;
  }

  .header-main > .header-actions {
    gap: 4px;
  }

  .header-main .lang-toggle-btn {
    min-width: 44px !important;
    padding-inline: 6px !important;
  }

  .header-main .lang-toggle-btn .lang-icon {
    display: none;
  }
}

@media (max-width: 380px) {
  .header-main.single-line-header {
    gap: 6px;
  }
}


/* Topbar completely removed on all screen sizes per user request */
.topbar {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}


/* ========================================================
   GOOGLE MAP EMBED (Responsive & Curvy)
   ======================================================== */
.location-map-wrap {
  width: 100%;
  min-height: 340px;
  height: 380px;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.06));
  border: 1px solid var(--line, #e2e8f0);
  background: var(--cream, #fdfbf7);
  position: relative;
}

.location-map-frame {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

/* ========================================================
   MOBILE CATEGORY BOTTOM SHEET
   ======================================================== */
#category-sheet {
  border: none;
  border-radius: 24px 24px 0 0;
  padding: 0;
  width: 100%;
  max-width: 580px;
  margin: auto auto 0 auto;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
  background: var(--surface, #ffffff);
  color: var(--ink, #1e293b);
  overflow: hidden;
  animation: bottomSheetIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#category-sheet::backdrop {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cat-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--line, #e2e8f0);
}

.cat-sheet-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy, #0f2744);
  margin: 0;
}

.cat-sheet-subtitle {
  font-size: 12px;
  color: var(--muted, #64748b);
  margin: 2px 0 0;
}

.cat-sheet-close {
  background: var(--cream, #f8fafc);
  border: 1px solid var(--line, #e2e8f0);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink, #1e293b);
}

.cat-sheet-body {
  padding: 16px 20px 28px;
  max-height: 70vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cat-sheet-all-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  background: var(--navy, #0f2744);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md, 12px);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 14px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.cat-sheet-all-btn:hover, .cat-sheet-all-btn:active {
  background: #1a365d;
  transform: translateY(-1px);
}

.cat-sheet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.cat-sheet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--cream, #fdfbf7);
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  text-decoration: none;
  color: var(--navy, #0f2744);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  text-align: left;
}

.cat-sheet-item:hover, .cat-sheet-item:active {
  background: #ffffff;
  border-color: var(--gold, #d97706);
  transform: translateY(-1px);
}

.cat-sheet-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e2e8f0;
}

.tag-new-arrival {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
}


/* ========================================================
   MAGIC FILL & BULK LISTING STYLING
   ======================================================== */
.magic-fill-box {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%);
  border: 1.5px solid #f59e0b;
  border-radius: var(--radius-lg, 16px);
  padding: 14px 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15);
  position: relative;
}

.magic-fill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 12px;
}

.magic-fill-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.magic-sparkle {
  font-size: 22px;
  animation: magicPulse 2s infinite ease-in-out;
  display: inline-block;
}

@keyframes magicPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(15deg); }
}

.magic-fill-title strong {
  font-size: 14px;
  color: #92400e;
  display: block;
}

.magic-fill-title small {
  font-size: 11.5px;
  color: #b45309;
  display: block;
}

#magic-fill-input {
  width: 100%;
  border-radius: var(--radius-md, 10px);
  border: 1px solid #fcd34d;
  background: #ffffff;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #1e293b;
  resize: vertical;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
}

#magic-fill-input:focus {
  outline: none;
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

.magic-highlight {
  animation: magicGlow 1.2s ease-out;
}

@keyframes magicGlow {
  0% {
    background-color: #fef08a;
    border-color: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
  }
  100% {
    background-color: transparent;
  }
}


/* === RESPONSIVE AUDIT & FIXES: HEADER, DIALOGS, CART, AND MOBILE ACCESSIBILITY === */
/* Global horizontal overflow prevention */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  box-sizing: border-box;
}

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

/* 1. Header Cleanup for Phone and Tablet (<= 1024px) */
/* Removes Wishlist (Saved), Cart, Language switcher, and CTA button from header */
/* Desktop (> 1024px) controls remain 100% untouched */
@media (max-width: 1024px) {
  .header-actions a[href="#/saved"],
  .header-actions a[href="#/cart"],
  .header-actions .lang-toggle-btn,
  .header-actions #lang-toggle-btn,
  .header-actions .header-cta-btn,
  .header-actions [data-lang-toggle] {
    display: none !important;
  }

  /* Clear fixed bottom navigation so page contents and buttons are never covered */
  main#main,
  main,
  .page-section {
    padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* 2. Dialog and Modal Responsive Overhaul (<= 768px and down to 320px) */
@media (max-width: 768px) {
  dialog,
  .admin-dialog,
  #request-dialog,
  #quick-dialog {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    max-height: calc(100dvh - 28px) !important;
    max-height: calc(100vh - 28px);
    padding: 24px 16px 20px !important;
    margin: auto !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px !important;
  }

  /* Dialog close button guaranteed accessible */
  dialog .close,
  .admin-dialog .close,
  #request-dialog .close,
  #quick-dialog .close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 38px !important;
    height: 38px !important;
    z-index: 20 !important;
    display: grid !important;
    place-items: center !important;
  }

  /* Form Grids in modals (e.g. Add Product, Request Quotation) stack to single column */
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .form-grid label {
    width: 100% !important;
  }

  .form-grid input,
  .form-grid select,
  .form-grid textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Purchase actions inside Quick Dialog and Product detail stack nicely */
  .purchase-actions {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .purchase-actions .button {
    width: 100% !important;
    min-height: 46px !important;
    justify-content: center !important;
  }

  /* Dialog footer buttons */
  .dialog-actions {
    flex-direction: column-reverse !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 20px !important;
  }

  .dialog-actions .button {
    width: 100% !important;
    min-height: 44px !important;
    justify-content: center !important;
  }

  /* Quick Dialog Header */
  .quick-title {
    grid-template-columns: 70px 1fr !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    padding-right: 32px !important;
  }

  .quick-title h2 {
    font-size: 16px !important;
    line-height: 1.3 !important;
    margin: 4px 0 !important;
  }

  .quick-subtitle {
    font-size: 12px !important;
  }

  /* 3. Cart Section Header: Stack heading and "Continue browsing" so it never squeezes */
  .section-head {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 24px !important;
  }

  .section-head > div {
    width: 100% !important;
  }

  .section-head .under-link {
    align-self: flex-start !important;
    padding: 6px 0 !important;
    font-size: 13px !important;
  }

  /* 4. Cart Layout and Summary on Mobile */
  .cart-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .cart-summary {
    padding: 20px 16px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    border-radius: 8px !important;
  }

  .button.whatsapp-send-cart-btn {
    width: 100% !important;
    justify-content: center !important;
    font-size: 13.5px !important;
    padding: 14px 12px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
    min-height: 48px !important;
  }

  .button.whatsapp-send-cart-btn span {
    white-space: normal !important;
  }

  .cart-line {
    grid-template-columns: 72px 1fr !important;
    gap: 12px !important;
    padding: 16px 0 !important;
  }

  .cart-price-col {
    grid-column: 1 / -1 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-top: 1px dashed var(--line, #e2e8f0) !important;
    padding-top: 10px !important;
    margin-top: 6px !important;
  }

  .cart-qty-row {
    flex-wrap: wrap !important;
    gap: 10px 16px !important;
  }

  .remove-item {
    padding: 6px 8px !important;
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
  }
}

/* Extra small devices (<= 360px): ensure zero horizontal scroll or clipped elements */
@media (max-width: 360px) {
  dialog,
  .admin-dialog,
  #request-dialog,
  #quick-dialog {
    width: calc(100% - 16px) !important;
    max-width: calc(100% - 16px) !important;
    padding: 20px 12px 16px !important;
  }

  .cart-summary {
    padding: 16px 12px !important;
  }

  .summary-dl div {
    font-size: 11.5px !important;
    padding: 10px 0 !important;
  }

  .button.whatsapp-send-cart-btn {
    font-size: 12.5px !important;
    padding: 12px 8px !important;
  }
}

/* ========================================================
   ✨ PERMANENT FIXED HEADER ACROSS ALL DEVICES & PREVIEWS
   ======================================================== */
.store-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 999995 !important;
  background: #ffffff !important;
  border-bottom: 1px solid rgba(17, 40, 54, 0.08) !important;
  box-shadow: 0 2px 14px rgba(17, 40, 54, 0.08) !important;
}

body.store {
  padding-top: 84px !important;
}

@media (max-width: 768px) {
  body.store {
    padding-top: 68px !important;
  }
}

/* Hero Picture Responsive Wrapper */
.hero-picture,
.hero-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================================
   ✨ MODERN FLOATING PILL TOAST & BADGE ANIMATION
   ======================================================== */
.toast {
  position: fixed !important;
  bottom: 24px !important;
  left: 50% !important;
  transform: translate(-50%, 20px) scale(0.92) !important;
  z-index: 999999 !important;
  background: rgba(17, 40, 54, 0.96) !important;
  color: #ffffff !important;
  padding: 10px 20px !important;
  border-radius: 9999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  box-shadow: 0 10px 30px rgba(17, 40, 54, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.22s var(--ease-out), transform 0.25s var(--ease-spring) !important;
  max-width: 90vw !important;
  white-space: nowrap !important;
}
.toast.show {
  opacity: 1 !important;
  transform: translate(-50%, 0) scale(1) !important;
  pointer-events: auto !important;
}
.toast-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  background: var(--gold);
  color: #ffffff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
@keyframes badgePop {
  0% { transform: scale(1); }
  45% { transform: scale(1.45); }
  100% { transform: scale(1); }
}
.badge-bounce {
  animation: badgePop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* ========================================================
   ✨ ATTRACTIVE CATEGORY BOTTOM SHEET
   ======================================================== */
#category-sheet {
  border-radius: 28px 28px 0 0 !important;
  box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.3) !important;
}
.cat-sheet-pill-bar {
  display: flex;
  justify-content: center;
  padding: 12px 0 4px;
}
.cat-sheet-handle {
  width: 44px;
  height: 5px;
  background: rgba(17, 40, 54, 0.2);
  border-radius: 999px;
  display: block;
}
.cat-sheet-all-btn {
  background: linear-gradient(135deg, #112836 0%, #1c3c4f 100%) !important;
  border-radius: 14px !important;
  padding: 14px 20px !important;
  box-shadow: 0 4px 14px rgba(17, 40, 54, 0.15) !important;
  margin-bottom: 16px !important;
}
.cat-sheet-item {
  background: #ffffff !important;
  border: 1px solid rgba(17, 40, 54, 0.08) !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  box-shadow: 0 2px 8px rgba(17, 40, 54, 0.04) !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.cat-sheet-item:hover,
.cat-sheet-item:active {
  transform: translateY(-2px) !important;
  border-color: var(--gold) !important;
  box-shadow: 0 6px 16px rgba(17, 40, 54, 0.08) !important;
}
.cat-sheet-thumb {
  width: 48px !important;
  height: 48px !important;
  border-radius: 10px !important;
}

/* ========================================================
   ✨ ADMIN PRODUCT MANAGEMENT SUBTABS & FILTER BAR
   ======================================================== */
.admin-subtabs-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.admin-subtab-pill {
  padding: 7px 16px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.admin-subtab-pill:hover {
  background: #e2e8f0;
}
.admin-subtab-pill.active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  box-shadow: 0 2px 6px rgba(17, 40, 54, 0.15);
}
.admin-filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: center;
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.admin-filter-input {
  flex: 1;
  min-width: 220px;
  padding: 9px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  background: #ffffff;
  outline: none;
}
.admin-filter-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(17, 40, 54, 0.1);
}
.admin-filter-select {
  padding: 9px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 600;
  outline: none;
  cursor: pointer;
}
.badge-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #64748b;
  cursor: pointer;
  transition: all 0.18s ease;
}
.badge-toggle-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.badge-toggle-btn.featured-active {
  background: #fef3c7;
  color: #b45309;
  border-color: #f59e0b;
}
.badge-toggle-btn.arrival-active {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #ef4444;
}

/* ===================================================================
   MOBILE & TABLET BACK BUTTON & PREVIEW NAVIGATION
   =================================================================== */
.mobile-back-bar {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  position: sticky;
  top: 72px;
  z-index: 99;
}
.back-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #ffffff;
  color: var(--navy);
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  transform: translateZ(0);
}
.back-pill-btn:hover, .back-pill-btn:active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  transform: scale(0.98);
}

/* Modal mobile back header */
.modal-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
}
.modal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

/* Hardware-acceleration & Performance Lag Fixes */
.product-grid, .store-header, .mobile-bottom, dialog, .admin-modal-card {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* CSV & Bulk Toolbar Styles */
.csv-toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.18s ease;
}
.csv-toolbar-btn:hover {
  background: #f1f5f9;
  border-color: var(--navy);
}
.csv-toolbar-btn.gold {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #b45309;
}
.csv-toolbar-btn.gold:hover {
  background: #fef3c7;
}
.csv-toolbar-btn.primary {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}
.csv-toolbar-btn.primary:hover {
  background: #1b3d52;
}

/* ===================================================================
   ON-PAGE SEO, GOOGLE SERP PREVIEW & KEYWORD DENSITY ANALYZER
   =================================================================== */
.serp-preview-wrapper {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0 24px;
}
.serp-card {
  background: #ffffff;
  border: 1px solid #dfe1e5;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.08);
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  max-width: 650px;
}
.serp-site-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 13px;
  color: #202124;
}
.serp-favicon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #112836;
  color: #c9a86a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}
.serp-url-text {
  font-size: 12px;
  color: #4d5156;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.serp-title-link {
  font-size: 19px;
  font-weight: 400;
  color: #1a0dab;
  line-height: 1.35;
  margin: 0 0 6px;
  display: block;
  text-decoration: none;
  cursor: pointer;
  word-break: break-word;
}
.serp-title-link:hover {
  text-decoration: underline;
}
.serp-snippet-text {
  font-size: 13.5px;
  line-height: 1.58;
  color: #4d5156;
  margin: 0;
  word-break: break-word;
}
.char-meter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--muted);
}
.char-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
}
.char-badge.green {
  background: #dcfce7;
  color: #15803d;
}
.char-badge.yellow {
  background: #fef3c7;
  color: #b45309;
}
.char-badge.red {
  background: #fee2e2;
  color: #b91c1c;
}

/* Keyword Density Analyzer */
.seo-analyzer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.analyzer-metric-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.analyzer-metric-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.analyzer-metric-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}
.analyzer-metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  width: fit-content;
}

/* SEO Page Selector Pill Tabs */
.seo-page-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 20px;
  border-bottom: 1.5px solid #e2e8f0;
  padding-bottom: 12px;
}
.seo-page-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.15s ease;
}
.seo-page-btn:hover {
  background: #f8fafc;
  border-color: var(--navy);
}
.seo-page-btn.active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  box-shadow: 0 2px 6px rgba(17, 40, 54, 0.2);
}




.store-loading{min-height:55vh;display:grid;align-content:center;justify-items:center;text-align:center;padding:40px 20px;gap:16px}.store-loading h1{font-size:clamp(24px,4vw,38px)}.store-spinner{width:32px;height:32px;border:3px solid #e2e8f0;border-top-color:#12243a;border-radius:50%;animation:store-spin .8s linear infinite}@keyframes store-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.store-spinner{animation:none}}

/* Consistent page rhythm: the fixed nav is cleared once, by the footer. */
main#main { padding-bottom: 0 !important; }
.page-section { min-height: 0; padding-bottom: 40px !important; }
.detail-information { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.detail-information > *, .product-detail > * { min-width: 0; }
#hero-slider { height:auto; aspect-ratio:12/5; min-height:420px; }
#hero-slider .hero-bg-img { object-position:center; }
#admin-save-status { position:fixed; left:50%; bottom:100px; transform:translateX(-50%); z-index:1000000; width:max-content; max-width:90vw; padding:14px 18px; background:#fff5d6; color:#332800; border:1px solid #d6b654; border-radius:12px; box-shadow:0 6px 24px #0002; font-size:14px; }
#admin-save-status[hidden] { display:none; }
#admin-save-status button { font:inherit; font-weight:700; text-decoration:underline; margin-left:8px; }
.banner-size-guide { color:var(--muted); line-height:1.6; }
@media (min-width:641px) and (max-width:1024px) {
  #hero-slider { aspect-ratio:4/3; min-height:0; }
}
@media (max-width:1024px) {
  main#main, main { padding-bottom:0 !important; }
  .page-section { padding-bottom:28px !important; }
}
@media (max-width:768px) {
  .detail-information { grid-template-columns:minmax(0,1fr); gap:16px; margin:24px 0; padding:24px 0; }
  .detail-information .info-card { padding:20px; width:100%; min-width:0; }
  .detail-information h2 { font-size:clamp(22px,6vw,28px); line-height:1.2; margin-bottom:18px; overflow-wrap:anywhere; }
  .specs div { grid-template-columns:minmax(0,0.85fr) minmax(0,1.15fr); gap:14px; padding:12px 0; font-size:14px; line-height:1.5; }
  .specs dt,.specs dd { min-width:0; overflow-wrap:anywhere; }
  .detail-information .accordion-group summary { font-size:15px; line-height:1.5; }
  .detail-information .accordion-group p { font-size:14px; line-height:1.65; }
  .product-detail { grid-template-columns:minmax(0,1fr); gap:24px; margin-bottom:24px; }
  .detail-copy h1 { font-size:28px; overflow-wrap:anywhere; }
}
@media (max-width:640px) {
  #hero-slider { aspect-ratio:3/4; min-height:0; }
  #hero-slider .hero-content { padding:28px 5% 54px; }
  #hero-slider .hero-title { font-size:clamp(26px,7vw,40px); }
  #hero-slider .hero-description { font-size:14px; line-height:1.5; }
  #hero-slider .hero-foot { display:none; }
}
