/* ============================================================
   KUKS & CO — MASTER DESIGN SYSTEM
   Luxury Multi-Vendor Fashion Marketplace
   Est. 2025 | Version 1.0
   ============================================================ */

/* ============================================================
   1. GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Jost:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ============================================================
   2. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================ */
:root {
  /* ── Brand Colors ── */
  --navy: #1C3163;
  --navy-dark: #00071B;
  --gold: #D6B585;
  --gold-light: #E8D0A9;
  --gold-dark: #B8945F;
  --ivory: #FEFFFF;
  --ivory-warm: #F7F5F0;
  --ivory-mid: #EDE9E1;

  /* ── Neutral Scale ── */
  --white: #FFFFFF;
  --gray-50: #FAFAF9;
  --gray-100: #F4F3F0;
  --gray-200: #E8E6E1;
  --gray-300: #D1CEC8;
  --gray-400: #A8A49C;
  --gray-500: #7C786E;
  --gray-600: #5C5850;
  --gray-700: #3D3A33;
  --gray-800: #1E1C18;
  --black: #0A0908;

  /* ── Semantic Colors ── */
  --success: #2D6A4F;
  --success-bg: #D8F3DC;
  --error: #9B2335;
  --error-bg: #FDECEA;
  --warning: #A67C00;
  --warning-bg: #FFF8E1;
  --info: #1C3163;
  --info-bg: #E8EDF5;

  /* ── Typography ── */
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Jost', 'Gill Sans', sans-serif;
  --font-ui: 'Jost', system-ui, sans-serif;
  --font-mono: 'Courier New', monospace;

  /* ── Font Sizes ── */
  --text-xs: 0.625rem;
  /* 10px */
  --text-sm: 0.75rem;
  /* 12px */
  --text-base: 0.875rem;
  /* 14px */
  --text-md: 1rem;
  /* 16px */
  --text-lg: 1.125rem;
  /* 18px */
  --text-xl: 1.25rem;
  /* 20px */
  --text-2xl: 1.5rem;
  /* 24px */
  --text-3xl: 2rem;
  /* 32px */
  --text-4xl: 2.75rem;
  /* 44px */
  --text-5xl: 3.5rem;
  /* 56px */
  --text-6xl: 4.5rem;
  /* 72px */
  --text-7xl: 6rem;
  /* 96px */

  /* ── Font Weights ── */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semi: 600;
  --weight-bold: 700;

  /* ── Line Heights ── */
  --leading-none: 1;
  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.6;
  --leading-relaxed: 1.8;
  --leading-loose: 2.2;

  /* ── Letter Spacing ── */
  --tracking-tightest: -0.04em;
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.06em;
  --tracking-wider: 0.12em;
  --tracking-widest: 0.2em;
  --tracking-luxury: 0.35em;

  /* ── Spacing Scale ── */
  --space-1: 0.25rem;
  /* 4px */
  --space-2: 0.5rem;
  /* 8px */
  --space-3: 0.75rem;
  /* 12px */
  --space-4: 1rem;
  /* 16px */
  --space-5: 1.25rem;
  /* 20px */
  --space-6: 1.5rem;
  /* 24px */
  --space-8: 2rem;
  /* 32px */
  --space-10: 2.5rem;
  /* 40px */
  --space-12: 3rem;
  /* 48px */
  --space-16: 4rem;
  /* 64px */
  --space-20: 5rem;
  /* 80px */
  --space-24: 6rem;
  /* 96px */
  --space-32: 8rem;
  /* 128px */
  --space-40: 10rem;
  /* 160px */

  /* ── Border Radius ── */
  --radius-none: 0;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-xs: 0 1px 2px rgba(0, 7, 27, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 7, 27, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 7, 27, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 7, 27, 0.12);
  --shadow-xl: 0 16px 60px rgba(0, 7, 27, 0.16);
  --shadow-gold: 0 4px 24px rgba(214, 181, 133, 0.25);
  --shadow-navy: 0 4px 24px rgba(28, 49, 99, 0.20);
  --shadow-card: 0 2px 12px rgba(0, 7, 27, 0.07), 0 1px 3px rgba(0, 7, 27, 0.04);

  /* ── Transitions ── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --ease-luxury: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 800ms;

  /* ── Z-Index Stack ── */
  --z-below: -1;
  --z-base: 0;
  --z-raised: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;

  /* ── Layout ── */
  --container-max: 1440px;
  --container-wide: 1280px;
  --container-mid: 1080px;
  --container-sm: 768px;
  --header-height: 72px;
  --sidebar-width: 280px;

  /* ── Border ── */
  --border-thin: 1px solid var(--gray-200);
  --border-light: 1px solid var(--gray-100);
  --border-mid: 1px solid var(--gray-300);
  --border-gold: 1px solid var(--gold);
  --border-navy: 1px solid var(--navy);
}

/* ============================================================
   3. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--gray-800);
  background-color: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--navy);
}

button {
  font-family: var(--font-ui);
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

input,
select,
textarea {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  outline: none;
}

ul,
ol {
  list-style: none;
}

/* ============================================================
   4. TYPOGRAPHY SYSTEM
   ============================================================ */

/* Display — Cormorant Garamond — Hero titles */
.display-xl {
  font-family: var(--font-display);
  font-size: var(--text-7xl);
  font-weight: var(--weight-light);
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-tight);
}

.display-lg {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: var(--weight-light);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.display-md {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--weight-regular);
  line-height: var(--leading-tight);
}

.display-sm {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-regular);
  line-height: var(--leading-snug);
}

/* Headings — Playfair Display */
.h1 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
}

.h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
}

.h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-semi);
  line-height: var(--leading-snug);
}

.h4 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  line-height: var(--leading-normal);
}

.h5 {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: var(--weight-semi);
  line-height: var(--leading-normal);
}

.h6 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-wide);
}

/* Body text */
.body-lg {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.body-md {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
}

.body-sm {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
}

.body-xs {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

/* Labels & Eyebrows */
.label-luxury {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-luxury);
  text-transform: uppercase;
  color: var(--gold-dark);
}

.label-section {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--gray-500);
}

.label-nav {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

/* ============================================================
   5. LAYOUT SYSTEM
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-mid {
  max-width: var(--container-mid);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Sections */
.section {
  padding: var(--space-20) 0;
}

.section-sm {
  padding: var(--space-12) 0;
}

.section-lg {
  padding: var(--space-32) 0;
}

/* Grid system */
.grid {
  display: grid;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  flex-direction: column;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

.gap-12 {
  gap: var(--space-12);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.product-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.product-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
}

/* ============================================================
   6. BUTTON SYSTEM
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-none);
  transition: all var(--duration-normal) var(--ease-luxury);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Primary — Navy */
.btn-primary {
  background-color: var(--navy-dark);
  color: var(--ivory);
  border-color: var(--navy-dark);
}

.btn-primary:hover {
  background-color: var(--navy);
  border-color: var(--navy);
  color: var(--ivory);
  transform: translateY(-1px);
  box-shadow: var(--shadow-navy);
}

/* Secondary — Gold */
.btn-gold {
  background-color: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

.btn-gold:hover {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--ivory);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* Outline — Navy */
.btn-outline {
  background-color: transparent;
  color: var(--navy-dark);
  border-color: var(--navy-dark);
}

.btn-outline:hover {
  background-color: var(--navy-dark);
  color: var(--ivory);
}

/* Outline — Gold */
.btn-outline-gold {
  background-color: transparent;
  color: var(--gold-dark);
  border-color: var(--gold);
}

.btn-outline-gold:hover {
  background-color: var(--gold);
  color: var(--navy-dark);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}

.btn-ghost:hover {
  color: var(--navy);
}

/* Sizes */
.btn-sm {
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-5);
}

.btn-lg {
  font-size: var(--text-base);
  padding: var(--space-5) var(--space-10);
}

.btn-xl {
  font-size: var(--text-md);
  padding: var(--space-6) var(--space-12);
}

.btn-full {
  width: 100%;
}

/* Icon Button */
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-none);
  border: var(--border-thin);
  color: var(--gray-700);
  background: transparent;
}

.btn-icon:hover {
  background: var(--navy-dark);
  color: var(--ivory);
  border-color: var(--navy-dark);
}

/* ============================================================
   7. FORM ELEMENTS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.form-label {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--gray-600);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-none);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--gray-800);
  transition: border-color var(--duration-fast) var(--ease-out);
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(28, 49, 99, 0.08);
}

.form-input::placeholder {
  color: var(--gray-400);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  cursor: pointer;
}

/* ============================================================
   8. CARD SYSTEM
   ============================================================ */

/* Product Card */
.product-card {
  position: relative;
  background: var(--white);
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-luxury),
    box-shadow var(--duration-normal) var(--ease-luxury);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card:hover .card-actions {
  opacity: 1;
  transform: translateY(0);
}

.product-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--gray-100);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-luxury);
}

.product-card:hover .product-card__image img {
  transform: scale(1.04);
}

.product-card__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  z-index: var(--z-raised);
}

.badge-new {
  background: var(--navy-dark);
  color: var(--ivory);
}

.badge-sale {
  background: var(--error);
  color: var(--white);
}

.badge-trending {
  background: var(--gold);
  color: var(--navy-dark);
}

.badge-exclusive {
  background: var(--navy);
  color: var(--ivory);
}

.card-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4);
  display: flex;
  gap: var(--space-2);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--duration-normal) var(--ease-luxury);
  z-index: var(--z-raised);
}

.product-card__body {
  padding: var(--space-4) var(--space-2) var(--space-2);
}

.product-card__seller {
  font-size: var(--text-xs);
  color: var(--gray-400);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.product-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-regular);
  color: var(--gray-800);
  margin-bottom: var(--space-2);
  line-height: var(--leading-snug);
}

.product-card__price {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.price-current {
  font-family: var(--font-ui);
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  color: var(--navy-dark);
}

.price-original {
  font-size: var(--text-sm);
  color: var(--gray-400);
  text-decoration: line-through;
}

.price-discount {
  font-size: var(--text-xs);
  color: var(--success);
  font-weight: var(--weight-medium);
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-2);
}

.stars {
  color: var(--gold);
  font-size: var(--text-sm);
}

.rating-count {
  font-size: var(--text-xs);
  color: var(--gray-400);
}

/* Wishlist btn on card */
.btn-wishlist {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 36px;
  height: 36px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  z-index: var(--z-raised);
  transition: all var(--duration-fast) var(--ease-out);
  color: var(--gray-400);
}

.btn-wishlist:hover,
.btn-wishlist.active {
  color: var(--error);
  transform: scale(1.1);
}

/* General card */
.card {
  background: var(--white);
  border: var(--border-thin);
  padding: var(--space-6);
  transition: box-shadow var(--duration-normal) var(--ease-luxury);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-shadow {
  box-shadow: var(--shadow-card);
  border: none;
}

/* ============================================================
   9. BADGE & TAG SYSTEM
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: var(--radius-none);
}

.tag-navy {
  background: var(--navy);
  color: var(--ivory);
}

.tag-gold {
  background: var(--gold-light);
  color: var(--gold-dark);
  border: 1px solid var(--gold);
}

.tag-gray {
  background: var(--gray-100);
  color: var(--gray-600);
}

.tag-success {
  background: var(--success-bg);
  color: var(--success);
}

.tag-error {
  background: var(--error-bg);
  color: var(--error);
}

/* ============================================================
   10. HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--ivory);
  border-bottom: var(--border-thin);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

/* Top Bar */
.top-bar {
  background: var(--navy-dark);
  color: var(--ivory);
  padding: var(--space-2) 0;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-align: center;
}

/* Header main row */
.header-main {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-8);
  gap: var(--space-8);
}

/* Logo */
.site-logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-light);
  letter-spacing: var(--tracking-widest);
  color: var(--navy-dark);
  text-transform: uppercase;
  white-space: nowrap;
}

.site-logo span {
  color: var(--gold-dark);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav-links>li>a {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--gray-700);
  padding: var(--space-2) 0;
  position: relative;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-links>li>a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-dark);
  transition: width var(--duration-normal) var(--ease-luxury);
}

.nav-links>li>a:hover,
.nav-links>li>a.active {
  color: var(--navy-dark);
}

.nav-links>li>a:hover::after,
.nav-links>li>a.active::after {
  width: 100%;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.header-search {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border: 1px solid transparent;
  padding: var(--space-2) var(--space-4);
  gap: var(--space-2);
  transition: all var(--duration-fast) var(--ease-out);
  min-width: 220px;
}

.header-search:focus-within {
  border-color: var(--navy);
  background: var(--white);
}

.header-search input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: var(--text-sm);
  color: var(--gray-800);
}

.header-search input::placeholder {
  color: var(--gray-400);
}

/* Cart badge */
.cart-badge {
  position: relative;
}

.cart-badge .count {
  position: absolute;
  top: -4px;
  right: -6px;
  width: 18px;
  height: 18px;
  background: var(--navy-dark);
  color: var(--ivory);
  font-size: 10px;
  font-weight: var(--weight-semi);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   11. MEGA MENU
   ============================================================ */
.mega-menu-wrapper {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 800px;
  background: var(--white);
  border-top: 2px solid var(--navy-dark);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-luxury);
  z-index: var(--z-dropdown);
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 0;
}

.mega-menu-wrapper:hover .mega-menu,
.mega-menu-wrapper:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.mega-col {
  padding: var(--space-8);
  border-right: var(--border-thin);
}

.mega-col:last-child {
  border-right: none;
}

.mega-col-title {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-luxury);
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-5);
}

.mega-col ul li {
  margin-bottom: var(--space-3);
}

.mega-col ul li a {
  font-size: var(--text-base);
  color: var(--gray-600);
  transition: color var(--duration-fast);
}

.mega-col ul li a:hover {
  color: var(--navy-dark);
}

.mega-featured-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* ============================================================
   12. MOBILE MENU
   ============================================================ */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  background: none;
  border: none;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--gray-800);
  transition: all var(--duration-normal) var(--ease-luxury);
  display: block;
}

.mobile-menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--ivory);
  z-index: var(--z-modal);
  transform: translateX(-100%);
  transition: transform var(--duration-slow) var(--ease-luxury);
  overflow-y: auto;
  padding: var(--space-8) var(--space-6);
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: all;
  z-index: 99999;
}

.mobile-nav-close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  font-size: var(--text-2xl);
  color: var(--gray-700);
  cursor: pointer;
  background: none;
  border: none;
}

.mobile-nav-logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  letter-spacing: var(--tracking-widest);
  color: var(--navy-dark);
  text-transform: uppercase;
  margin-bottom: var(--space-10);
}

.mobile-nav-links {
  list-style: none;
}

.mobile-nav-links li {
  border-bottom: var(--border-light);
}

.mobile-nav-links>li>a {
  display: block;
  padding: var(--space-5) 0;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-light);
  color: var(--gray-800);
  letter-spacing: var(--tracking-tight);
}

.mobile-nav-links>li>a:hover {
  color: var(--navy-dark);
}

/* Mobile accordion */
.mobile-accordion-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-light);
  color: var(--gray-800);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  letter-spacing: var(--tracking-tight);
}

.mobile-accordion-toggle .icon {
  font-size: var(--text-lg);
  transition: transform var(--duration-normal);
  color: var(--gold-dark);
}

.mobile-accordion-toggle.open .icon {
  transform: rotate(45deg);
}

.mobile-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-luxury);
}

.mobile-accordion-content.open {
  max-height: 500px;
}

.mobile-accordion-content a {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--gray-500);
  border-bottom: var(--border-light);
}

.mobile-accordion-content a:last-child {
  border-bottom: none;
}

/* ============================================================
   13. BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--gray-400);
  padding: var(--space-5) 0;
}

.breadcrumb a {
  color: var(--gray-400);
}

.breadcrumb a:hover {
  color: var(--navy);
}

.breadcrumb .separator {
  color: var(--gray-300);
}

.breadcrumb .current {
  color: var(--gray-700);
}

/* ============================================================
   14. SECTION HEADER
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header.left {
  text-align: left;
}

.section-header .eyebrow {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-luxury);
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-4);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-regular);
  color: var(--navy-dark);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--text-md);
  color: var(--gray-500);
  max-width: 520px;
  margin: 0 auto;
  line-height: var(--leading-relaxed);
}

.section-header.left p {
  margin: 0;
}

.section-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: var(--space-5) auto var(--space-6);
}

.section-divider.left {
  margin-left: 0;
}

/* ============================================================
   15. SIDEBAR FILTERS (Category Page)
   ============================================================ */
.filter-sidebar {
  width: 260px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
  max-height: calc(100vh - var(--header-height) - var(--space-12));
  overflow-y: auto;
}

.filter-sidebar::-webkit-scrollbar {
  width: 3px;
}

.filter-sidebar::-webkit-scrollbar-thumb {
  background: var(--gray-200);
}

.filter-group {
  border-bottom: var(--border-thin);
  padding: var(--space-5) 0;
}

.filter-group:first-child {
  padding-top: 0;
}

.filter-group-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--gray-700);
  cursor: pointer;
  padding: var(--space-2) 0;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.filter-group-title .chevron {
  transition: transform var(--duration-normal);
  color: var(--gray-400);
  font-size: var(--text-xs);
}

.filter-group-title.collapsed .chevron {
  transform: rotate(-90deg);
}

.filter-options {
  padding-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.filter-options.collapsed {
  display: none;
}

/* Color swatches */
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-top: var(--space-3);
}

.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--duration-fast);
}

.color-swatch:hover,
.color-swatch.active {
  border-color: var(--navy);
  transform: scale(1.15);
}

/* Size buttons */
.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-top: var(--space-3);
}

.size-btn {
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--gray-200);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition: all var(--duration-fast);
  background: transparent;
  color: var(--gray-600);
}

.size-btn:hover,
.size-btn.active {
  background: var(--navy-dark);
  color: var(--ivory);
  border-color: var(--navy-dark);
}

/* Price range slider */
.price-range {
  padding: var(--space-3) 0;
}

.price-range input[type="range"] {
  width: 100%;
  accent-color: var(--navy);
}

.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--gray-500);
  margin-top: var(--space-2);
}

/* Mobile filter overlay */
.filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 7, 27, 0.5);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal);
}

.filter-overlay.open {
  opacity: 1;
  visibility: visible;
}

.filter-drawer {
  position: fixed;
  left: 0;
  top: 0;
  width: 300px;
  height: 100%;
  background: var(--ivory);
  z-index: var(--z-modal);
  padding: var(--space-8) var(--space-6);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform var(--duration-slow) var(--ease-luxury);
}

.filter-drawer.open {
  transform: translateX(0);
}

/* ============================================================
   16. SORT BAR
   ============================================================ */
.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  border-bottom: var(--border-thin);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.result-count {
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.sort-controls {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.sort-select {
  padding: var(--space-2) var(--space-4);
  border: var(--border-thin);
  background: var(--white);
  font-size: var(--text-sm);
  color: var(--gray-700);
  cursor: pointer;
  appearance: none;
  padding-right: var(--space-8);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
}

/* ============================================================
   17. DASHBOARD LAYOUT
   ============================================================ */
.dashboard-wrapper {
  display: flex;
  min-height: calc(100vh - var(--header-height));
  background: var(--gray-50);
}

.dashboard-sidebar {
  width: var(--sidebar-width);
  background: var(--navy-dark);
  flex-shrink: 0;
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
  transition: width var(--duration-normal) var(--ease-luxury);
}

.dashboard-sidebar::-webkit-scrollbar {
  width: 3px;
}

.sidebar-logo {
  padding: var(--space-8) var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-logo .logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-light);
  letter-spacing: var(--tracking-widest);
  color: var(--ivory);
  text-transform: uppercase;
}

.sidebar-logo .logo-role {
  font-size: var(--text-xs);
  color: var(--gold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-top: var(--space-1);
}

.sidebar-nav {
  padding: var(--space-5) 0;
}

.sidebar-nav-section {
  margin-bottom: var(--space-6);
}

.sidebar-nav-section-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-luxury);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  padding: 0 var(--space-6) var(--space-3);
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-6);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer;
  border-left: 2px solid transparent;
  text-decoration: none;
}

.sidebar-nav-item:hover,
.sidebar-nav-item.active {
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--gold);
}

.sidebar-nav-item.active {
  color: var(--gold-light);
  background: rgba(214, 181, 133, 0.08);
}

.sidebar-nav-item .nav-icon {
  width: 18px;
  font-size: var(--text-base);
  flex-shrink: 0;
}

.sidebar-nav-badge {
  margin-left: auto;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 10px;
  font-weight: var(--weight-semi);
  padding: 1px 7px;
  border-radius: var(--radius-full);
}

.dashboard-content {
  flex: 1;
  padding: var(--space-8);
  overflow-x: hidden;
}

.dashboard-header {
  margin-bottom: var(--space-8);
}

.dashboard-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-regular);
  color: var(--navy-dark);
  margin-bottom: var(--space-2);
}

.dashboard-subtitle {
  font-size: var(--text-base);
  color: var(--gray-500);
}

/* Stat Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.stat-card {
  background: var(--white);
  padding: var(--space-6);
  border: var(--border-thin);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
}

.stat-card .stat-icon {
  font-size: var(--text-3xl);
  color: var(--gold);
  margin-bottom: var(--space-4);
  opacity: 0.8;
}

.stat-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: var(--space-2);
}

.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-medium);
  color: var(--navy-dark);
  line-height: var(--leading-none);
  margin-bottom: var(--space-2);
}

.stat-change {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.stat-change.up {
  color: var(--success);
}

.stat-change.down {
  color: var(--error);
}

/* Data Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: var(--text-sm);
}

.data-table thead tr {
  border-bottom: 2px solid var(--gray-200);
}

.data-table th {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--gray-500);
  white-space: nowrap;
}

.data-table td {
  padding: var(--space-4) var(--space-5);
  border-bottom: var(--border-light);
  color: var(--gray-700);
  vertical-align: middle;
}

.data-table tr:hover td {
  background: var(--gray-50);
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* Tabs */
.tabs {
  display: flex;
  border-bottom: var(--border-thin);
  margin-bottom: var(--space-6);
  overflow-x: auto;
  gap: 0;
}

.tab-btn {
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--gray-500);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  white-space: nowrap;
  transition: all var(--duration-fast);
}

.tab-btn:hover {
  color: var(--navy-dark);
}

.tab-btn.active {
  color: var(--navy-dark);
  border-bottom-color: var(--navy-dark);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ============================================================
   18. PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-10) 0;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--gray-600);
  cursor: pointer;
  background: var(--white);
  transition: all var(--duration-fast);
}

.page-btn:hover,
.page-btn.active {
  background: var(--navy-dark);
  color: var(--ivory);
  border-color: var(--navy-dark);
}

.page-btn.disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

/* ============================================================
   19. HERO BANNER
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  transition: opacity var(--duration-slower);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(0, 7, 27, 0.85) 0%,
      rgba(0, 7, 27, 0.45) 50%,
      rgba(0, 7, 27, 0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: var(--z-raised);
  max-width: 640px;
  padding: var(--space-20) var(--space-8);
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-luxury);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: var(--weight-light);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--ivory);
  margin-bottom: var(--space-6);
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(254, 255, 255, 0.7);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
  font-weight: var(--weight-light);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: rgba(254, 255, 255, 0.5);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  z-index: var(--z-raised);
  animation: bounceDown 2s infinite;
}

@keyframes bounceDown {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ============================================================
   20. CATEGORY CARDS
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

.category-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 2/3;
  background: var(--gray-200);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-luxury);
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 7, 27, 0.75) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-5);
}

.category-card-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-regular);
  color: var(--ivory);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-1);
}

.category-card-count {
  font-size: var(--text-xs);
  color: var(--gold-light);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* ============================================================
   21. FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(254, 255, 255, 0.7);
}

.footer-top {
  padding: var(--space-20) 0 var(--space-16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
}

.footer-brand .logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-light);
  letter-spacing: var(--tracking-widest);
  color: var(--ivory);
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.footer-brand p {
  font-size: var(--text-base);
  color: rgba(254, 255, 255, 0.5);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(254, 255, 255, 0.5);
  font-size: var(--text-sm);
  transition: all var(--duration-fast);
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(214, 181, 133, 0.1);
}

.footer-col-title {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-luxury);
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: var(--space-5);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(254, 255, 255, 0.5);
  transition: color var(--duration-fast);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-newsletter input {
  width: 100%;
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ivory);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.footer-newsletter input::placeholder {
  color: rgba(254, 255, 255, 0.35);
}

.footer-bottom {
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: rgba(254, 255, 255, 0.3);
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(254, 255, 255, 0.4);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

/* ============================================================
   22. TOAST / NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.toast {
  background: var(--navy-dark);
  color: var(--ivory);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  box-shadow: var(--shadow-xl);
  animation: toastIn var(--duration-normal) var(--ease-out);
  min-width: 280px;
  max-width: 380px;
}

.toast.success .toast-icon {
  color: var(--success);
}

.toast.error .toast-icon {
  color: var(--error);
}

.toast.gold .toast-icon {
  color: var(--gold);
}

@keyframes toastIn {
  from {
    transform: translateX(20px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ============================================================
   23. MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 7, 27, 0.65);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.96) translateY(12px);
  transition: transform var(--duration-normal) var(--ease-luxury);
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: var(--space-8) var(--space-8) var(--space-6);
  border-bottom: var(--border-thin);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.modal-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-regular);
  color: var(--navy-dark);
}

.modal-body {
  padding: var(--space-8);
}

.modal-footer {
  padding: var(--space-6) var(--space-8);
  border-top: var(--border-thin);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
}

.modal-close {
  font-size: var(--text-xl);
  color: var(--gray-400);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--duration-fast);
}

.modal-close:hover {
  color: var(--gray-800);
}

/* ============================================================
   24. PRODUCT IMAGE GALLERY
   ============================================================ */
.gallery-main {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--gray-100);
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-luxury);
}

.gallery-main:hover img {
  transform: scale(1.04);
}

.gallery-thumbs {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-3);
  overflow-x: auto;
}

.gallery-thumb {
  width: 80px;
  height: 100px;
  flex-shrink: 0;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--duration-fast);
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--navy-dark);
}

/* ============================================================
   25. UTILITY CLASSES
   ============================================================ */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-navy {
  color: var(--navy-dark);
}

.text-gold {
  color: var(--gold-dark);
}

.text-gray {
  color: var(--gray-500);
}

.text-muted {
  color: var(--gray-400);
}

.text-white {
  color: var(--white);
}

.text-ivory {
  color: var(--ivory);
}

.text-success {
  color: var(--success);
}

.text-error {
  color: var(--error);
}

.bg-navy {
  background: var(--navy-dark);
}

.bg-navy-dark {
  background: var(--navy-dark);
}

.bg-ivory {
  background: var(--ivory);
}

.bg-white {
  background: var(--white);
}

.bg-gray {
  background: var(--gray-50);
}

.bg-gold {
  background: var(--gold);
}

.w-full {
  width: 100%;
}

.relative {
  position: relative;
}

.overflow-hidden {
  overflow: hidden;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

.mt-auto {
  margin-top: auto;
}

.mb-0 {
  margin-bottom: 0;
}

.divider {
  height: 1px;
  background: var(--gray-200);
  width: 100%;
  margin: var(--space-6) 0;
}

.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  width: 100%;
  margin: var(--space-8) 0;
}

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -200% 0;
  }
}

/* ============================================================
   26. RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --header-height: 64px;
    --sidebar-width: 240px;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-8);
  }

  .footer-grid>div:first-child {
    grid-column: 1 / -1;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mega-menu {
    width: 640px;
    grid-template-columns: 1fr 1fr;
  }

  .mega-menu>div:last-child {
    display: none;
  }

  .section {
    padding: var(--space-16) 0;
  }

  .section-lg {
    padding: var(--space-20) 0;
  }

  .display-xl {
    font-size: var(--text-6xl);
  }

  .display-lg {
    font-size: var(--text-5xl);
  }

  .hero {
    min-height: 75vh;
  }
}

/* ============================================================
   27. RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  /* Hide desktop nav */
  .nav-links,
  .header-search {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Header compact */
  .header-main {
    padding: 0 var(--space-4);
    gap: var(--space-3);
  }

  .site-logo {
    font-size: var(--text-xl);
  }

  /* Typography scale down */
  .display-xl {
    font-size: var(--text-5xl);
  }

  .display-lg {
    font-size: var(--text-4xl);
  }

  .display-md {
    font-size: var(--text-3xl);
  }

  .section-header h2 {
    font-size: var(--text-3xl);
  }

  .hero-title {
    font-size: clamp(2.5rem, 9vw, 4rem);
  }

  /* Grids */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .product-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .product-grid-5 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  /* Layout */
  .container {
    padding: 0 var(--space-4);
  }

  .section {
    padding: var(--space-12) 0;
  }

  .section-lg {
    padding: var(--space-16) 0;
  }

  .section-header {
    margin-bottom: var(--space-8);
  }

  /* Hero */
  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding: var(--space-12) var(--space-4);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer-grid>div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Dashboard on mobile */
  .dashboard-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: var(--z-modal);
    transform: translateX(-100%);
    transition: transform var(--duration-slow) var(--ease-luxury);
  }

  .dashboard-sidebar.open {
    transform: translateX(0);
  }

  .dashboard-wrapper {
    display: block;
  }

  .dashboard-content {
    padding: var(--space-5) var(--space-4);
  }

  /* Tables to cards on mobile */
  .data-table-responsive {
    overflow-x: auto;
  }

  .data-table-responsive .data-table {
    min-width: 600px;
  }

  /* Filter sidebar to drawer */
  .filter-sidebar {
    display: none;
  }

  /* Sort bar */
  .sort-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Product page gallery */
  .gallery-thumbs {
    gap: var(--space-2);
  }

  .gallery-thumb {
    width: 64px;
    height: 80px;
  }

  /* Hide some utility */
  .hide-mobile {
    display: none !important;
  }

  /* Pagination compact */
  .pagination .page-btn:not(.active):not(:first-child):not(:last-child):nth-child(n+4):nth-child(-n+7) {
    display: none;
  }
}

/* ============================================================
   28. RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-xl {
    font-size: var(--text-sm);
    padding: var(--space-4) var(--space-8);
  }

  .section-header h2 {
    font-size: var(--text-2xl);
  }

  .dashboard-title {
    font-size: var(--text-2xl);
  }

  .stat-value {
    font-size: var(--text-2xl);
  }
}

/* ============================================================
   29. PRINT STYLES
   ============================================================ */
@media print {

  .site-header,
  .site-footer,
  .btn,
  .mobile-menu-toggle {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }
}

/* ============================================================
   30. SCROLLBAR CUSTOMIZATION
   ============================================================ */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* ============================================================
   31. SELECTION STYLES
   ============================================================ */
::selection {
  background: var(--gold-light);
  color: var(--navy-dark);
}

/* ============================================================
   END OF KUKS & CO DESIGN SYSTEM
   ============================================================ */

/* ============================================================
   KUKS & CO LOGO IMAGE — Global
   ============================================================ */
.logo-wrap {
  display: flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
  max-width: 155px;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s;
}

.logo-img:hover {
  opacity: 0.85;
}

/* Hide fallback text when image is loaded */
.logo-main {
  display: none;
}

.logo-sub {
  display: none;
}

/* Mobile logo sizing */
@media (max-width: 768px) {
  .logo-img {
    height: 36px;
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 30px;
    max-width: 100px;
  }
}

/* ============================================================
   END LOGO STYLES
   ============================================================ */

/* ── Page-specific overrides ── */

/* Announcement bar */
.announcement-bar {
  background: var(--navy-dark);
  color: rgba(254, 255, 255, 0.8);
  text-align: center;
  padding: 10px var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.announcement-bar .marquee-wrap {
  display: flex;
  gap: var(--space-16);
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.announcement-bar span {
  flex-shrink: 0;
}

.announcement-bar .gold {
  color: var(--gold);
  margin: 0 var(--space-3);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── HEADER ── */
.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-8);
  gap: var(--space-6);
}

.header-left {
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
}

.logo-img {
  height: 46px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s;
}

.logo-img:hover {
  opacity: 0.85;
}

.logo-main {
  display: none;
}

.logo-sub {
  display: none;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav>li {
  position: relative;
}

.main-nav>li>a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 var(--space-5);
  height: var(--header-height);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-700);
  transition: color var(--duration-fast);
  position: relative;
}

.main-nav>li>a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--space-5);
  right: var(--space-5);
  height: 2px;
  background: var(--gold-dark);
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-luxury);
}

.main-nav>li:hover>a,
.main-nav>li>a.active {
  color: var(--navy-dark);
}

.main-nav>li:hover>a::after {
  transform: scaleX(1);
}

.main-nav>li>a .chevron {
  font-size: 9px;
  opacity: 0.5;
}

/* Navigation Visibility (Stable Overhaul) */
.desktop-nav-wrap {
  display: block;
}

.mobile-toggle-btn {
  display: none !important;
}

@media (max-width: 1024px) {
  .desktop-nav-wrap {
    display: none !important;
  }

  .mobile-toggle-btn {
    display: flex !important;
  }
}

/* Header icons */
.hdr-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--gray-700);
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  transition: color var(--duration-fast);
}

.hdr-icon:hover {
  color: var(--navy-dark);
}

.hdr-icon .badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 17px;
  height: 17px;
  background: var(--navy-dark);
  color: var(--ivory);
  font-size: 9px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hdr-search-bar {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  padding: 0 var(--space-4);
  height: 38px;
  gap: var(--space-2);
  transition: all var(--duration-fast);
  min-width: 200px;
}

.hdr-search-bar:focus-within {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(28, 49, 99, 0.07);
}

.hdr-search-bar input {
  flex: 1;
  background: none;
  border: none;
  font-size: 0.8rem;
  color: var(--gray-800);
  letter-spacing: 0.03em;
}

.hdr-search-bar input::placeholder {
  color: var(--gray-400);
}

.hdr-search-bar i {
  color: var(--gray-400);
  font-size: 0.8rem;
}

.seller-cta {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border: 1px solid var(--gold);
  padding: 7px 16px;
  transition: all var(--duration-fast);
  white-space: nowrap;
}

.seller-cta:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

/* ── MEGA MENU ── */
.mega-dropdown {
  position: absolute;
  top: var(--header-height);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 720px;
  background: var(--white);
  border-top: 2px solid var(--navy-dark);
  box-shadow: 0 20px 60px rgba(0, 7, 27, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.28s var(--ease-luxury);
  z-index: var(--z-dropdown);
  display: grid;
  grid-template-columns: 180px 1fr 1fr 160px;
}

.main-nav>li:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.mega-section {
  padding: var(--space-8) var(--space-6);
  border-right: 1px solid var(--gray-100);
}

.mega-section:last-child {
  border-right: none;
  padding: 0;
}

.mega-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-4);
  display: block;
}

.mega-links {
  list-style: none;
}

.mega-links li {
  margin-bottom: 10px;
}

.mega-links a {
  font-size: 0.82rem;
  color: var(--gray-600);
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.mega-links a:hover {
  color: var(--navy-dark);
  padding-left: 4px;
}

.mega-links a::before {
  content: '—';
  font-size: 0.6rem;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.15s;
  flex-shrink: 0;
}

.mega-links a:hover::before {
  opacity: 1;
}

.mega-visual {
  position: relative;
  overflow: hidden;
}

.mega-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-luxury);
}

.main-nav>li:hover .mega-visual img {
  transform: scale(1.04);
}

.mega-visual-caption {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
}

.mega-visual-caption span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.mega-visual-caption strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ivory);
  font-weight: 400;
}

/* ── HERO SECTION ── */
.hero-section {
  position: relative;
  height: 94vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-luxury);
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.04);
  transition: transform 8s linear;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
      rgba(0, 7, 27, 0.88) 0%,
      rgba(0, 7, 27, 0.55) 45%,
      rgba(0, 7, 27, 0.1) 100%);
}

.hero-content-wrap {
  position: relative;
  z-index: 10;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 5rem);
  width: 100%;
  box-sizing: border-box;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.hero-eyebrow .line {
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.hero-eyebrow span {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin-bottom: var(--space-6);
}

.hero-headline em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(254, 255, 255, 0.65);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: var(--space-10);
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-slides-nav {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-3);
  z-index: 10;
}

.slide-dot {
  width: 28px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.slide-dot.active {
  background: var(--gold);
  width: 48px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--ivory);
  background: rgba(0, 7, 27, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all var(--duration-fast);
  backdrop-filter: blur(4px);
}

.hero-arrow:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.hero-arrow.prev {
  left: var(--space-8);
}

.hero-arrow.next {
  right: var(--space-8);
}

.hero-stats {
  position: absolute;
  bottom: var(--space-10);
  right: var(--space-12);
  display: flex;
  gap: var(--space-8);
  z-index: 10;
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--ivory);
  display: block;
}

.hero-stat-label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--white);
  border-top: var(--border-thin);
  border-bottom: var(--border-thin);
  padding: var(--space-5) 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0 var(--space-10);
  border-right: 1px solid var(--gray-200);
}

.trust-item:last-child {
  border-right: none;
}

.trust-item i {
  font-size: 1.2rem;
  color: var(--gold-dark);
}

.trust-item-text strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-dark);
}

.trust-item-text span {
  font-size: 0.72rem;
  color: var(--gray-400);
}

/* ── CATEGORY SECTION ── */
.categories-section {
  padding: var(--space-20) 0;
  background: var(--ivory);
}

.cat-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 420px;
  gap: var(--space-3);
}

.cat-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-100);
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-luxury);
}

.cat-card:hover img {
  transform: scale(1.06);
}

.cat-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
  background: linear-gradient(to top, rgba(0, 7, 27, 0.8) 0%, transparent 100%);
}

.cat-card-info .eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.cat-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.cat-card.featured .cat-card-info h3 {
  font-size: 2.4rem;
}

.cat-card-info .count {
  font-size: 0.7rem;
  color: rgba(254, 255, 255, 0.55);
  letter-spacing: 0.1em;
}

.cat-card .hover-cta {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s var(--ease-luxury);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

.cat-card:hover .hover-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ── TRENDING PRODUCTS ── */
.trending-section {
  padding: var(--space-20) 0;
  background: var(--white);
}

.product-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 0;
}

.ptab {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  transition: all 0.2s;
}

.ptab:hover {
  color: var(--navy-dark);
}

.ptab.active {
  color: var(--navy-dark);
  border-bottom-color: var(--navy-dark);
}

.products-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* Product card extended */
.pcard {
  position: relative;
  cursor: pointer;
}

.pcard-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: var(--space-4);
}

.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-luxury);
}

.pcard:hover .pcard-img img {
  transform: scale(1.05);
}

.pcard-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: 3px 10px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 5;
}

.pcard-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: var(--space-2);
  padding: var(--space-3);
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s var(--ease-luxury);
  z-index: 5;
}

.pcard:hover .pcard-actions {
  opacity: 1;
  transform: translateY(0);
}

.pcard-quick-add {
  flex: 1;
  background: var(--navy-dark);
  color: var(--ivory);
  border: none;
  padding: 12px 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

.pcard-quick-add:hover {
  background: #000;
}

.pcard-wishlist {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 34px;
  height: 34px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  cursor: pointer;
  font-size: 0.8rem;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.pcard-wishlist:hover {
  color: #C0392B;
  transform: scale(1.1);
}

.pcard-seller {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.pcard-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--gray-800);
  line-height: 1.3;
  margin-bottom: var(--space-2);
}

.pcard-price {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.pcard-price .current {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy-dark);
}

.pcard-price .original {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.pcard-price .off {
  font-size: 0.7rem;
  color: #2D6A4F;
  font-weight: 500;
}

.pcard-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
}

.pcard-rating .stars {
  font-size: 0.65rem;
  color: var(--gold-dark);
}

.pcard-rating span {
  font-size: 0.65rem;
  color: var(--gray-400);
}

/* ── NEW COLLECTION ── */
.collection-section {
  padding: 0;
  background: var(--navy-dark);
}

.collection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.collection-media {
  position: relative;
  overflow: hidden;
}

.collection-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-luxury);
}

.collection-media:hover img {
  transform: scale(1.04);
}

.collection-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-20) var(--space-16);
}

.collection-number {
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.05);
  font-weight: 300;
  line-height: 1;
  margin-bottom: -var(--space-4);
}

.collection-info .eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.collection-info .eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.collection-title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.collection-title em {
  font-style: italic;
  color: var(--gold-light);
}

.collection-desc {
  font-size: 0.9rem;
  color: rgba(254, 255, 255, 0.55);
  line-height: 1.8;
  margin-bottom: var(--space-10);
  max-width: 380px;
}

.collection-tags {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.col-tag {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(214, 181, 133, 0.35);
  color: var(--gold-light);
  padding: 4px 12px;
}

/* ── SELLERS SECTION ── */
.sellers-section {
  padding: var(--space-20) 0;
  background: var(--ivory-warm);
}

.seller-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.seller-card {
  background: var(--white);
  padding: var(--space-6);
  text-align: center;
  border: var(--border-thin);
  transition: all var(--duration-normal) var(--ease-luxury);
  cursor: pointer;
}

.seller-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.seller-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-4);
  border: 2px solid var(--gold-light);
}

.seller-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--navy-dark);
  margin-bottom: 3px;
}

.seller-category {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-4);
}

.seller-meta {
  display: flex;
  justify-content: center;
  gap: var(--space-5);
  margin-bottom: var(--space-4);
  padding-top: var(--space-4);
  border-top: var(--border-thin);
}

.seller-stat strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-dark);
}

.seller-stat span {
  font-size: 0.62rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.seller-rating {
  font-size: 0.72rem;
  color: var(--gold-dark);
  margin-bottom: var(--space-4);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2D6A4F;
  background: #D8F3DC;
  padding: 3px 10px;
}

/* ── ETHNIC SPECIAL BANNER ── */
.ethnic-section {
  padding: var(--space-20) 0;
  background: var(--white);
}

.ethnic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-4);
}

.ethnic-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.ethnic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-luxury);
}

.ethnic-card:hover img {
  transform: scale(1.05);
}

.ethnic-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 7, 27, 0.75) 0%, transparent 55%);
}

.ethnic-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
}

.ethnic-card-body .tag {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
  display: block;
}

.ethnic-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 4px;
}

.ethnic-card-body p {
  font-size: 0.75rem;
  color: rgba(254, 255, 255, 0.6);
  margin-bottom: var(--space-4);
}

.ethnic-card-body .shop-link {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  display: inline-block;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s;
}

.ethnic-card:hover .shop-link {
  opacity: 1;
  transform: translateY(0);
}

/* ── PROMO BANNER ── */
.promo-section {
  background: var(--navy);
  padding: var(--space-16) 0;
}

.promo-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-12);
}

.promo-left p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-3);
}

.promo-left h2 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.1;
}

.promo-left h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.promo-divider {
  width: 1px;
  height: 120px;
  background: rgba(255, 255, 255, 0.12);
}

.promo-right {
  text-align: right;
}

.promo-right .countdown {
  display: flex;
  gap: var(--space-5);
  justify-content: flex-end;
  margin-bottom: var(--space-6);
}

.count-unit {
  text-align: center;
}

.count-unit strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.count-unit span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* ── FORMAL SPECIALS ── */
.formals-section {
  padding: var(--space-20) 0;
  background: var(--ivory-warm);
}

.formals-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-12);
  align-items: center;
}

.formals-intro .eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-5);
  display: block;
}

.formals-intro h2 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--navy-dark);
  line-height: 1.1;
  margin-bottom: var(--space-5);
}

.formals-intro p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: var(--space-8);
}

.formals-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

/* ── WHY SHOP ── */
.why-section {
  padding: var(--space-20) 0;
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.why-card {
  text-align: center;
  padding: var(--space-8);
  border: var(--border-thin);
  transition: all var(--duration-normal) var(--ease-luxury);
}

.why-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(214, 181, 133, 0.15);
}

.why-icon {
  width: 60px;
  height: 60px;
  border: 1px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  font-size: 1.4rem;
  color: var(--gold-dark);
  transition: all var(--duration-normal);
}

.why-card:hover .why-icon {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--gold-light);
}

.why-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: var(--space-3);
}

.why-card p {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  padding: var(--space-20) 0;
  background: var(--navy-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: var(--space-8);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: var(--space-6);
  right: var(--space-8);
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.75rem;
  margin-bottom: var(--space-4);
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: rgba(254, 255, 255, 0.7);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(214, 181, 133, 0.3);
}

.testimonial-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ivory);
  display: block;
}

.testimonial-location {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── NEWSLETTER ── */
.newsletter-section {
  padding: var(--space-20) 0;
  background: var(--ivory-mid);
}

.newsletter-inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-inner .eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-5);
  display: block;
}

.newsletter-inner h2 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--navy-dark);
  margin-bottom: var(--space-4);
}

.newsletter-inner p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.newsletter-form {
  display: flex;
  gap: 0;
  border: 1px solid var(--gray-300);
  background: var(--white);
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  border: none;
  background: transparent;
  font-size: 0.85rem;
  color: var(--gray-800);
}

.newsletter-form button {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--navy-dark);
  color: var(--ivory);
  padding: 0 var(--space-8);
  border: none;
  cursor: pointer;
  transition: background var(--duration-fast);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--navy);
}

.newsletter-disclaimer {
  font-size: 0.68rem;
  color: var(--gray-400);
  margin-top: var(--space-4);
}

/* ── MOBILE OVERRIDES ── */
@media (max-width: 1024px) {
  .cat-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .cat-card.featured {
    grid-column: 1 / -1;
    height: 320px;
  }

  .cat-card.featured .cat-card-info h3 {
    font-size: 2rem;
  }

  .products-carousel {
    grid-template-columns: repeat(3, 1fr);
  }

  .seller-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .formals-layout {
    grid-template-columns: 1fr;
  }

  .promo-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .promo-divider {
    display: none;
  }

  .promo-right {
    text-align: center;
  }

  .promo-right .countdown {
    justify-content: center;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mega-dropdown {
    min-width: 520px;
    grid-template-columns: 160px 1fr 1fr;
  }

  .mega-dropdown>div:last-child {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════
       PREMIUM ANIMATIONS — Luxury Brand Feel
       ═══════════════════════════════════════════════════ */

/* 1. Page load fade-in */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmerGold {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes lineGrow {
  from {
    width: 0;
  }

  to {
    width: 40px;
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero content — staggered entrance */
.hero-eyebrow {
  animation: slideInLeft 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-headline {
  animation: fadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.hero-sub {
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.hero-btns {
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.0s both;
}

.hero-slides-nav {
  animation: fadeIn 1s ease 1.4s both;
}

/* Gold shimmer on section eyebrow labels */
.eyebrow {
  background: linear-gradient(90deg, var(--gold-dark) 0%, #f0c97a 40%, var(--gold-dark) 60%, var(--gold-dark) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerGold 4s linear infinite;
}

/* Section header underline grows in */
.section-divider {
  animation: lineGrow 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-play-state: paused;
}

.section-divider.anim-triggered {
  animation-play-state: running;
}

/* Scroll-reveal base — applied by JS */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for grids */
.stagger-1 {
  transition-delay: 0.05s !important;
}

.stagger-2 {
  transition-delay: 0.12s !important;
}

.stagger-3 {
  transition-delay: 0.19s !important;
}

.stagger-4 {
  transition-delay: 0.26s !important;
}

.stagger-5 {
  transition-delay: 0.33s !important;
}

/* Hero stat counter */
.hero-stat-num {
  animation: countUp 0.8s ease 1.5s both;
}

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  pointer-events: none;
}

.kuks-toast {
  background: #FFFFFF;
  border: 1px solid rgba(214, 181, 133, 0.2);
  min-width: 320px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateX(120%);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  pointer-events: auto;
}

.kuks-toast.visible {
  transform: translateX(0);
  opacity: 1;
}

.kuks-toast-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: #FAF8F5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D6B585;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.kuks-toast.error .kuks-toast-icon {
  background: #FEF2F2;
  color: #DC2626;
}

.kuks-toast-content {
  flex-grow: 1;
}

.kuks-toast-title {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  color: #0A1128;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.kuks-toast-msg {
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  color: #6B7280;
  font-weight: 400;
  text-transform: uppercase;
  tracking-widest: 0.1em;
}

/* Category card image scale on hover — smooth luxury */
.cat-card {
  will-change: transform;
}

.cat-card img {
  will-change: transform;
}

/* Product card lift — premium feel */
.pcard {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.pcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 7, 27, 0.13);
}

/* Trust bar items — fade in sequence */
.trust-item {
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.trust-item:nth-child(1) {
  animation-delay: 0.1s;
}

.trust-item:nth-child(2) {
  animation-delay: 0.2s;
}

.trust-item:nth-child(3) {
  animation-delay: 0.3s;
}

.trust-item:nth-child(4) {
  animation-delay: 0.4s;
}

.trust-item:nth-child(5) {
  animation-delay: 0.5s;
}

/* Why cards icon pulse on hover */
.why-card:hover .why-icon {
  animation: scaleIn 0.3s ease;
}

/* Seller card border glow on hover */
.seller-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease;
}

/* Gold underline on nav links — smooth */
.main-nav>li>a::after {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left center;
  transform: scaleX(0);
}

.main-nav>li>a:hover::after {
  transform: scaleX(1);
}

/* Newsletter form button — micro-interaction */
.newsletter-form button {
  transition: background 0.2s ease, letter-spacing 0.3s ease;
}

.newsletter-form button:hover {
  letter-spacing: 0.25em;
}

/* Announcement bar text glow */
.announcement-bar .gold {
  text-shadow: 0 0 8px rgba(214, 181, 133, 0.6);
}

/* ═══════════════════════════════════════════════════
       TABLET — max 1024px
       ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cat-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .cat-card.featured {
    grid-column: 1 / -1;
    height: 320px;
  }

  .cat-card.featured .cat-card-info h3 {
    font-size: 2rem;
  }

  .products-carousel {
    grid-template-columns: repeat(3, 1fr);
  }

  .seller-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .formals-layout {
    grid-template-columns: 1fr;
  }

  .promo-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .promo-divider {
    display: none;
  }

  .promo-right {
    text-align: center;
  }

  .promo-right .countdown {
    justify-content: center;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mega-dropdown {
    min-width: 520px;
    grid-template-columns: 160px 1fr 1fr;
  }

  .mega-dropdown>div:last-child {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════
       MOBILE — max 768px  (Full Comprehensive Fix)
       ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Global */
  body,
  html {
    overflow-x: hidden;
  }

  /* Header */
  .announcement-bar .marquee-wrap {
    animation-duration: 18s;
  }

  .header-inner {
    padding: 0 16px;
    gap: 8px;
  }

  .header-left {
    gap: 0;
  }

  .header-left .main-nav {
    display: none;
  }

  .logo-img {
    height: 36px;
    max-width: 120px;
  }

  .hdr-search-bar {
    display: none;
  }

  /* Hero */
  .hero-section {
    min-height: 85vh;
  }

  .hero-content-wrap {
    padding: 0 20px !important;
  }

  .hero-headline {
    font-size: clamp(1.9rem, 7.5vw, 3rem);
    line-height: 1.1;
    margin-bottom: 16px;
  }

  .hero-sub {
    font-size: 0.88rem;
    max-width: 100%;
    margin-bottom: 24px;
    line-height: 1.65;
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 14px 20px;
    font-size: 0.72rem;
  }

  .hero-eyebrow {
    margin-bottom: 16px;
  }

  .hero-stats {
    display: none;
  }

  .hero-arrow {
    display: none;
  }

  .hero-slides-nav {
    bottom: 20px;
  }

  /* Trust bar — 2-column grid on mobile */
  .trust-bar {
    padding: 0;
  }

  .trust-items {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
  }

  .trust-item {
    border-right: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 14px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .trust-item:nth-child(2),
  .trust-item:nth-child(4) {
    border-right: none;
  }

  .trust-item:nth-child(5) {
    grid-column: 1 / -1;
    border-bottom: none;
    border-right: none;
    justify-content: center;
  }

  .trust-item i {
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .trust-item-text strong {
    font-size: 0.68rem;
  }

  .trust-item-text span {
    font-size: 0.65rem;
  }

  /* Categories */
  .categories-section {
    padding: 48px 0;
  }

  .cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .cat-card.featured {
    grid-column: 1 / -1;
    height: 220px;
  }

  .cat-card.featured .cat-card-info h3 {
    font-size: 1.6rem;
  }

  .cat-card-info h3 {
    font-size: 1rem;
  }

  .cat-card-info .count {
    font-size: 0.6rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-header p {
    font-size: 0.8rem;
  }

  .section-header {
    margin-bottom: 32px;
  }

  /* Products */
  .trending-section {
    padding: 48px 0;
  }

  .products-carousel {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-tabs {
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 0;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .product-tabs::-webkit-scrollbar {
    display: none;
  }

  .ptab {
    font-size: 0.62rem;
    padding: 12px 16px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .pcard-name {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .pcard-seller {
    font-size: 0.58rem;
  }

  .pcard-price .current {
    font-size: 0.85rem;
  }

  .pcard-price .original {
    font-size: 0.72rem;
  }

  .pcard-price .off {
    font-size: 0.62rem;
  }

  .pcard-actions {
    padding: 8px;
    gap: 6px;
  }

  .pcard-actions .btn-sm {
    font-size: 0.55rem;
    padding: 6px 8px;
  }

  /* Collection split */
  .collection-grid {
    grid-template-columns: 1fr;
  }

  .collection-media {
    height: 300px;
  }

  .collection-media img {
    height: 300px;
    width: 100%;
    object-fit: cover;
  }

  .collection-info {
    padding: 40px 20px;
  }

  .collection-title {
    font-size: 1.8rem;
    line-height: 1.15;
  }

  .collection-desc {
    font-size: 0.82rem;
    margin-bottom: 24px;
  }

  .collection-info .eyebrow {
    margin-bottom: 16px;
  }

  .collection-number {
    display: none;
  }

  .col-tag {
    font-size: 0.58rem;
    padding: 3px 10px;
  }

  /* Sellers */
  .sellers-section {
    padding: 48px 0;
  }

  .seller-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .seller-card {
    padding: 16px 12px;
  }

  .seller-avatar {
    width: 56px;
    height: 56px;
  }

  .seller-name {
    font-size: 0.95rem;
  }

  .seller-category {
    font-size: 0.58rem;
  }

  .seller-rating {
    font-size: 0.68rem;
  }

  .seller-stat strong {
    font-size: 0.82rem;
  }

  .seller-stat span {
    font-size: 0.58rem;
  }

  /* Ethnic specials */
  .ethnic-section {
    padding: 48px 0;
  }

  .ethnic-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ethnic-card {
    aspect-ratio: 4/3;
  }

  /* Promo banner */
  .promo-section {
    padding: 40px 0;
  }

  .promo-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
    padding: 0 16px;
  }

  .promo-divider {
    display: none;
  }

  .promo-right {
    text-align: center;
  }

  .promo-right .countdown {
    justify-content: center;
    gap: 24px;
  }

  .promo-left h2 {
    font-size: 1.8rem;
  }

  .count-unit strong {
    font-size: 2rem;
  }

  .count-unit span {
    font-size: 0.58rem;
  }

  /* Formals */
  .formals-section {
    padding: 48px 0;
  }

  .formals-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .formals-intro h2 {
    font-size: 1.8rem;
  }

  .formals-intro p {
    font-size: 0.82rem;
  }

  .formals-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .formals-products .pcard:last-child {
    display: none;
  }

  /* Why section */
  .why-section {
    padding: 48px 0;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .why-card {
    padding: 20px 16px;
  }

  .why-icon {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .why-card h4 {
    font-size: 0.82rem;
    margin-bottom: 8px;
  }

  .why-card p {
    font-size: 0.72rem;
    line-height: 1.6;
  }

  /* Testimonials */
  .testimonials-section {
    padding: 48px 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonials-section .section-header h2 {
    color: var(--ivory);
    font-size: 1.75rem;
  }

  .testimonial-text {
    font-size: 0.92rem;
  }

  /* Newsletter */
  .newsletter-section {
    padding: 48px 0;
  }

  .newsletter-inner h2 {
    font-size: 1.75rem;
  }

  .newsletter-inner p {
    font-size: 0.82rem;
  }

  .newsletter-form {
    flex-direction: column;
    border: none;
    background: transparent;
    gap: 8px;
  }

  .newsletter-form input {
    border: 1px solid var(--gray-300);
    padding: 14px 16px;
    width: 100%;
  }

  .newsletter-form button {
    padding: 14px;
    width: 100%;
  }

  /* Footer */
  .footer-top {
    padding: 48px 0 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-grid>div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom>div {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .footer-col-title {
    font-size: 0.62rem;
  }

  .footer-links a {
    font-size: 0.75rem;
  }

  /* Containers */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .container-wide {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ═══════════════════════════════════════════════════
       SMALL MOBILE — max 480px
       ═══════════════════════════════════════════════════ */
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .logo-img {
    height: 32px;
    max-width: 110px;
  }

  .header-inner {
    padding: 0 12px;
  }

  .header-right {
    gap: 6px;
  }

  .hdr-icon {
    width: 32px;
    height: 32px;
    font-size: 0.88rem;
  }

  .hero-section {
    min-height: 88vh;
  }

  .hero-headline {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .hero-content-wrap {
    padding: 0 16px !important;
  }

  .hero-btns .btn {
    font-size: 0.68rem;
    padding: 12px 16px;
  }

  /* Trust — keep 2 cols but smaller */
  .trust-item {
    padding: 12px 10px;
    gap: 8px;
  }

  .trust-item i {
    font-size: 0.95rem;
  }

  .trust-item-text strong {
    font-size: 0.62rem;
  }

  .trust-item-text span {
    font-size: 0.6rem;
  }

  /* Categories — 2 cols always */
  .cat-grid {
    gap: 6px;
  }

  .cat-card.featured {
    height: 190px;
  }

  .cat-card-info {
    padding: 12px;
  }

  .cat-card-info h3 {
    font-size: 0.9rem;
  }

  .cat-card-info .count {
    display: none;
  }

  /* Products */
  .products-carousel {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .pcard-body {
    padding: 10px 8px 8px;
  }

  .pcard-name {
    font-size: 0.82rem;
  }

  /* Sellers */
  .seller-cards {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .seller-card {
    padding: 12px 10px;
  }

  .seller-avatar {
    width: 48px;
    height: 48px;
  }

  .seller-name {
    font-size: 0.85rem;
  }

  .verified-badge {
    font-size: 0.55rem;
    padding: 2px 6px;
  }

  /* Why */
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .why-card {
    padding: 16px 12px;
  }

  /* Section headers */
  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header {
    margin-bottom: 24px;
  }

  /* Formals */
  .formals-products {
    grid-template-columns: 1fr;
  }

  .formals-products .pcard:last-child {
    display: block;
  }

  /* Collection */
  .collection-title {
    font-size: 1.6rem;
  }

  .collection-info {
    padding: 32px 16px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-col-title {
    margin-bottom: 12px;
  }
}

/* ============================================================
   PROTOTYPE ALIGNMENT OVERRIDES (PIXEL-PERFECT)
   ============================================================ */

/* ── Filter Sidebar (Prototype Style) ── */
.fgroup {
  margin-bottom: var(--space-8);
  border-bottom: 1px solid var(--gray-100);
}

.fgroup-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--navy-dark);
  cursor: pointer;
  background: none;
}

.fg-icon {
  font-size: 0.65rem;
  transition: transform 0.3s;
}

.fgroup-header.collapsed .fg-icon {
  transform: rotate(-90deg);
}

.fgroup-body {
  padding: 0 0 var(--space-6);
  display: block;
}

.fgroup-body.collapsed {
  display: none;
}

/* Filter: Checklists */
.filter-check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: 2px;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
}

.filter-check input {
  width: 15px;
  height: 15px;
  accent-color: var(--navy-dark);
}

.filter-check-label {
  font-size: 0.78rem;
  color: var(--gray-600);
  transition: color 0.2s;
}

.filter-check:hover .filter-check-label {
  color: var(--navy-dark);
}

.filter-check-label .count {
  font-size: 0.7rem;
  color: var(--gray-400);
  margin-left: 4px;
}

/* Filter: Swatches */
.color-swatch-label {
  cursor: pointer;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
  padding-top: 2px;
}

.cswatch {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cswatch:hover {
  transform: scale(1.15);
}

.cswatch.active {
  transform: scale(1.1);
}

.cswatch.active::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 1.5px solid var(--navy-dark);
  border-radius: 50%;
}

/* Filter: Sizes */
.size-pill-label {
  cursor: pointer;
}

.size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-top: 2px;
}

.pill-ui {
  min-width: 38px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--gray-200);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray-600);
  background: transparent;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pill-ui:hover,
.pill-ui.active {
  background: var(--navy-dark);
  color: var(--ivory);
  border-color: var(--navy-dark);
}

.pill-ui.active {
  font-weight: 700;
}

/* Filter: Price Range */
.price-range-wrap {
  padding-top: 2px;
}

.price-track {
  position: relative;
  height: 4px;
  background: var(--gray-200);
  margin: var(--space-5) 0;
}

.price-fill {
  position: absolute;
  height: 100%;
  background: var(--navy-dark);
}

.price-range-wrap input[type="range"] {
  position: absolute;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  top: -6px;
  left: 0;
  pointer-events: none;
}

.price-range-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy-dark);
  border: 2px solid var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  pointer-events: all;
}

.price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* ── Header Optimization: Centered Search ── */
.header-inner {
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  align-items: center;
}

.header-center {
  display: flex;
  justify-content: center;
}

.header-right {
  justify-content: flex-end;
}

.hdr-search-pill {
  width: 100%;
  max-width: 480px;
  height: 44px;
  background: var(--ivory-warm);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  padding: 0 var(--space-5);
  gap: var(--space-3);
  transition: all 0.3s var(--ease-luxury);
}

.hdr-search-pill:focus-within {
  background: var(--white);
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-sm);
}

.hdr-search-pill input {
  flex: 1;
  background: none;
  border: none;
  font-size: 0.82rem;
  color: var(--navy-dark);
}

.hdr-search-pill i {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ── Product Card: Prototype Specific ── */
.pcard-img {
  aspect-ratio: 3/4;
}

.pcard-badge {
  top: var(--space-4);
  left: var(--space-4);
  background: var(--navy-dark);
  color: var(--ivory);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  padding: 4px 10px;
}

.badge-exclusive {
  background: var(--navy);
}

.pcard-wish {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 10;
}

.pcard-seller {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  margin-bottom: 2px;
}

.pcard-name {
  font-size: 1.05rem;
  margin-bottom: var(--space-2);
}

.pcard-price .cur {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
}

.pcard-price .orig {
  font-size: 0.8rem;
  color: var(--gray-300);
  margin-left: var(--space-2);
  text-decoration: line-through;
}

.pcard-price .off {
  font-size: 0.7rem;
  color: var(--success);
  margin-left: var(--space-2);
}

/* ============================================================
   PRODUCT LISTING PAGE — LAYOUT SYSTEM
   (pgrid, sort-strip, sidebar-col, products-col)
   ============================================================ */

/* ── Listing Page: Two-Column Layout ── */
.plisting-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px 80px;
  align-items: start;
}

/* ── Sidebar Column ── */
.sidebar-col {
  position: sticky;
  top: 8rem;
  align-self: start;
  min-width: 0;
}


/* ── Products Column ── */
.products-col {
  min-width: 0;
}

/* ── Sort Strip ── */
.sort-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: var(--space-8);
  gap: var(--space-4);
}

.result-info {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.result-info strong {
  color: var(--navy-dark);
  font-weight: 700;
}

/* View Toggle */
.view-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
}

.view-btn {
  width: 34px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--gray-400);
  transition: all 0.2s;
}

.view-btn:hover,
.view-btn.active {
  background: var(--navy-dark);
  color: var(--ivory);
}

/* Sort Group */
.sort-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.sort-select {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy-dark);
  letter-spacing: 0.08em;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px 2px;
  text-transform: uppercase;
  appearance: none;
  -webkit-appearance: none;
}

.sort-select:focus {
  outline: none;
}

/* ── Product Grid ── */
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 20px;
}

/* ── Pagination ── */
.pagination-wrap {
  padding-top: var(--space-8);
  margin-top: var(--space-12);
}

.pagination-links nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pagination-links a,
.pagination-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  text-decoration: none;
  transition: all 0.2s;
}

.pagination-links a:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--ivory);
}

.pagination-links span[aria-current="page"] {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--ivory);
}

/* ── Responsive: Product Listing ── */
@media (max-width: 1200px) {
  .pgrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .plisting-layout {
    gap: 32px 48px;
  }
}

@media (max-width: 1024px) {

  /* Sidebar stacks above products on tablet */
  .plisting-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sidebar-col {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
}

@media (max-width: 768px) {
  .sort-strip {
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
  }

  .pgrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }

  .sidebar-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .pgrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 8px;
  }

  .sort-strip {
    justify-content: flex-end;
  }

  .sort-left {
    display: none !important;
  }
}



/* ============================================================
   GLOBAL RESPONSIVENESS OVERRIDES (KUKS & CO)
   ============================================================ */

/* ── Home Page: Categories ── */
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .section {
    padding: var(--space-12) 0;
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Hero Section Scale ── */
@media (max-width: 640px) {
  .hero-headline {
    font-size: 2.5rem !important;
    line-height: 1.1 !important;
  }

  .hero-sub {
    font-size: 0.8rem !important;
    padding: 0 10px;
  }
}

/* ── Product Grids ── */
@media (max-width: 768px) {

  .product-grid,
  .product-grid-4,
  .pgrid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
}

@media (max-width: 480px) {

  .product-grid,
  .product-grid-4,
  .pgrid {
    grid-template-columns: 1fr !important;
  }
}

/* ── Layout Fixes ── */
img {
  max-width: 100%;
  height: auto;
}

.container {
  padding-left: 20px;
  padding-right: 20px;
}

/* ── Header Mobile Fix ── */
@media (max-width: 1024px) {
  .header-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    grid-template-columns: none !important;
  }
}

/* ── Global Table Mobile Fix ── */
@media (max-width: 768px) {
  .overflow-x-auto {
    -webkit-overflow-scrolling: touch;
  }

  table.table-luxury {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }
}