/* ============================================================
   KEANU Platform — Master Design System
   Brand: Navy #263F70 · Gold #C49A55 · Charcoal #0a0a0a
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --navy:        #263F70;
  --navy-dark:   #1a2d54;
  --navy-light:  #3a5a9e;
  --gold:        #C49A55;
  --gold-dark:   #a07a38;
  --gold-light:  #d4b478;
  --gold-pale:   #f5e8d0;
  --white:       #ffffff;
  --off-white:   #F5F5F5;
  --light-gray:  #cfcfcf;
  --mid-gray:    #888888;
  --dark-gray:   #444444;
  --charcoal:    #0a0a0a;
  --success:     #22c55e;
  --warning:     #f59e0b;
  --danger:      #ef4444;
  --info:        #3b82f6;

  --gradient-navy: linear-gradient(135deg, #1a2d54 0%, #263F70 50%, #3a5a9e 100%);
  --gradient-gold: linear-gradient(135deg, #a07a38 0%, #C49A55 50%, #d4b478 100%);
  --gradient-hero: linear-gradient(160deg, #0f1d35 0%, #263F70 45%, #1e4080 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%);

  --shadow-sm:   0 2px 8px rgba(38,63,112,0.12);
  --shadow-md:   0 8px 24px rgba(38,63,112,0.18);
  --shadow-lg:   0 16px 48px rgba(38,63,112,0.22);
  --shadow-xl:   0 24px 64px rgba(38,63,112,0.28);
  --shadow-gold: 0 8px 32px rgba(196,154,85,0.35);

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-pill: 999px;

  --font-display: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  --transition-fast:   0.15s ease;
  --transition-base:   0.3s ease;
  --transition-slow:   0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-h: 80px;
  --sidebar-w: 260px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  /* Prevent iOS Safari text inflation on orientation change */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* Safe area padding for bottom home indicator */
  padding-bottom: env(safe-area-inset-bottom);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.display-xl { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 900; }
.display-lg { font-size: clamp(2.2rem, 5vw, 4rem);  font-weight: 800; }
.display-md { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 700; }
.display-sm { font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 600; }

.text-sm   { font-size: 0.85rem; }
.text-base { font-size: 1rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }

.text-navy    { color: var(--navy); }
.text-gold    { color: var(--gold); }
.text-white   { color: var(--white); }
.text-gray    { color: var(--mid-gray); }
.text-muted   { color: var(--light-gray); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }

.font-light    { font-weight: 300; }
.font-regular  { font-weight: 400; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.font-black    { font-weight: 900; }

/* ── Layout Utilities ───────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.container-sm { max-width: 860px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

.section { padding: clamp(60px, 8vw, 100px) 0; }
.section-sm { padding: clamp(40px, 5vw, 60px) 0; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.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 { display: flex; flex-direction: column; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ── Section Headers ────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-label::before,
.section-label::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.section-title span { color: var(--navy); }

.section-desc {
  font-size: 1.05rem;
  color: var(--mid-gray);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

@media (hover: hover) {
  .btn:hover::after { opacity: 1; }
}
.btn:active { transform: scale(0.96); }

.btn-primary {
  background: var(--gradient-navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

@media (hover: hover) {
  .btn-primary:hover {
    box-shadow: var(--shadow-lg), 0 0 0 3px rgba(38,63,112,0.2);
    transform: translateY(-2px);
  }
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

@media (hover: hover) {
  .btn-gold:hover {
    box-shadow: 0 12px 40px rgba(196,154,85,0.5);
    transform: translateY(-2px);
  }
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

@media (hover: hover) {
  .btn-outline:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
  }
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

@media (hover: hover) {
  .btn-outline-gold:hover {
    background: var(--gold);
    color: var(--white);
  }
}

.btn-ghost {
  background: rgba(38,63,112,0.08);
  color: var(--navy);
}
.btn-ghost:hover { background: rgba(38,63,112,0.15); }

.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--off-white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn-xl { padding: 1.15rem 2.8rem; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn-icon { padding: 0.7rem; border-radius: 50%; aspect-ratio: 1; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(38,63,112,0.07);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  overflow: hidden;
}

@media (hover: hover) {
  .card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
  }
}

.card-body { padding: 1.5rem; }
.card-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(38,63,112,0.08); }
.card-footer { padding: 1.25rem 1.5rem; border-top: 1px solid rgba(38,63,112,0.08); background: var(--off-white); }

/* ── Glassmorphism ───────────────────────────────────────────── */
.glass {
  background: var(--gradient-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
}

.glass-navy {
  background: rgba(38,63,112,0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
}

/* ── Badges ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-navy    { background: rgba(38,63,112,0.1);  color: var(--navy); }
.badge-gold    { background: var(--gold-pale);      color: var(--gold-dark); }
.badge-success { background: rgba(34,197,94,0.12);  color: #16a34a; }
.badge-danger  { background: rgba(239,68,68,0.12);  color: #dc2626; }
.badge-warning { background: rgba(245,158,11,0.12); color: #d97706; }
.badge-info    { background: rgba(59,130,246,0.12); color: #2563eb; }
.badge-new     { background: var(--gradient-gold);  color: var(--white); }
.badge-sale    { background: var(--danger);          color: var(--white); }

/* ── Forms ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(38,63,112,0.15);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(38,63,112,0.1);
  background: var(--white);
}

.form-control.error { border-color: var(--danger); }
.form-control::placeholder { color: var(--light-gray); }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23263F70' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  /* Use logical property so arrow auto-flips in RTL */
  background-position: right 1rem center;
  padding-inline-end: 2.5rem;
}

.form-error { font-size: 0.8rem; color: var(--danger); margin-top: 0.35rem; }
.form-hint  { font-size: 0.8rem; color: var(--mid-gray); margin-top: 0.35rem; }

.input-group {
  display: flex;
  align-items: stretch;
}
.input-group .form-control { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.input-group .btn { border-radius: 0 var(--radius-md) var(--radius-md) 0; }

.input-icon { position: relative; }
.input-icon .form-control { padding-left: 2.8rem; }
.input-icon .icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mid-gray);
  font-size: 0.9rem;
  pointer-events: none;
}

/* ── Alerts ──────────────────────────────────────────────────── */
.alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  border-left: 4px solid currentColor;
  animation: slideDown 0.3s ease;
}

.alert-success { background: rgba(34,197,94,0.1);  color: #15803d; }
.alert-danger  { background: rgba(239,68,68,0.1);  color: #dc2626; }
.alert-warning { background: rgba(245,158,11,0.1); color: #d97706; }
.alert-info    { background: rgba(59,130,246,0.1); color: #2563eb; }

/* ── Header / Navbar ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(38,63,112,0.08);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo img {
  height: 48px;
  width: auto;
  transition: transform var(--transition-base);
  mix-blend-mode: multiply; /* Fixes gray/white background on JPG logos */
}

.header-logo:hover img { transform: scale(1.03); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark-gray);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%; right: 50%;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-link:hover { color: var(--navy); }
.nav-link:hover::after { left: 1rem; right: 1rem; }
.nav-link.active { color: var(--navy); font-weight: 600; }
.nav-link.active::after { left: 1rem; right: 1rem; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-icon-btn {
  position: relative;
  /* Minimum 44×44px touch target per Apple HIG */
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1rem;
  background: rgba(38,63,112,0.06);
  transition: all var(--transition-fast);
}

@media (hover: hover) {
  .header-icon-btn:hover {
    background: var(--navy);
    color: var(--white);
    transform: scale(1.05);
  }
}

.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px;
  height: 18px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  /* 44×44px touch target */
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ── Hero Section ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(196,154,85,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(196,154,85,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(196,154,85,0.15);
  animation: floatParticle var(--dur, 8s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  padding: 4rem 0;
}

.hero-content { color: var(--white); }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s 0.2s ease forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s 0.4s ease forwards;
}

.hero-title .accent { color: var(--gold-light); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s 0.6s ease forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s 0.8s ease forwards;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  opacity: 0;
  animation: fadeInUp 0.8s 1s ease forwards;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-light);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.15rem;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeInRight 1s 0.5s ease forwards;
}

.hero-logo-wrap {
  position: relative;
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 3rem 4rem;
  box-shadow: var(--shadow-xl);
}

.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(135deg, rgba(196,154,85,0.4), transparent, rgba(196,154,85,0.2));
  z-index: -1;
}

.hero-logo-wrap img { width: 280px; height: auto; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3)); }

.hero-floating-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.2rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: floatCard 4s ease-in-out infinite;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-floating-card.card-1 { top: 15%; right: -10%; animation-delay: 0s; }
.hero-floating-card.card-2 { bottom: 20%; left: -8%; animation-delay: 1.5s; }

.hero-floating-card .icon-wrap {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-navy);
  color: var(--white);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hero-floating-card .label { font-size: 0.7rem; font-weight: 500; color: var(--mid-gray); }
.hero-floating-card .value { font-size: 0.9rem; font-weight: 700; color: var(--charcoal); }

/* ── Product Cards ────────────────────────────────────────────── */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(38,63,112,0.07);
  transition: all var(--transition-base);
  position: relative;
}

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

.product-card-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(90deg, #f5f5f5 25%, #e8e8e8 50%, #f5f5f5 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

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

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

.product-card-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.product-card-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  /* Always visible on touch screens */
  opacity: 1;
  transform: translateX(0);
  transition: all var(--transition-base);
}

/* On pointer devices, animate in on hover */
@media (hover: hover) {
  .product-card-actions {
    opacity: 0;
    transform: translateX(10px);
  }
  .product-card:hover .product-card-actions {
    opacity: 1;
    transform: translateX(0);
  }
}

.product-action-btn {
  /* 44×44px minimum touch target */
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

@media (hover: hover) {
  .product-action-btn:hover {
    background: var(--navy);
    color: var(--white);
    transform: scale(1.1);
  }
}

.product-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
}

.product-category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.price-current {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
}

.price-original {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--light-gray);
  text-decoration: line-through;
}

.price-discount {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--danger);
  color: var(--white);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-pill);
}

.product-add-btn {
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.75rem;
  background: var(--gradient-navy);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--transition-base);
  /* Always visible on touch screens */
  opacity: 1;
  transform: translateY(0);
}

/* Animate in only on hover-capable devices */
@media (hover: hover) {
  .product-add-btn {
    opacity: 0;
    transform: translateY(8px);
  }
  .product-card:hover .product-add-btn {
    opacity: 1;
    transform: translateY(0);
  }
  .product-add-btn:hover { box-shadow: var(--shadow-md); }
}

/* ── Service Cards ────────────────────────────────────────────── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  border: 1px solid rgba(38,63,112,0.08);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

@media (hover: hover) {
  .service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: rgba(196,154,85,0.2);
  }
  .service-card:hover::before { transform: scaleX(1); }
}

.service-icon {
  width: 72px; height: 72px;
  background: var(--gradient-navy);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-spring);
}

.service-card:hover .service-icon {
  background: var(--gradient-gold);
  transform: scale(1.08) rotate(-3deg);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

/* ── Review Cards ─────────────────────────────────────────────── */
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(38,63,112,0.07);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-base);
}

@media (hover: hover) {
  .review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(38,63,112,0.06);
  line-height: 1;
}

.review-stars { margin-bottom: 1rem; }
.review-stars .fas { color: var(--gold); font-size: 0.9rem; }

.review-text {
  font-size: 0.95rem;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author { display: flex; align-items: center; gap: 0.75rem; }

.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.review-name { font-weight: 700; font-size: 0.95rem; color: var(--charcoal); }
.review-date { font-size: 0.78rem; color: var(--mid-gray); }

/* ── About Section ────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-wrap img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.about-badge {
  position: absolute;
  bottom: 2rem; right: -1.5rem;
  background: var(--gradient-gold);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-badge-num { font-size: 1.8rem; font-weight: 900; font-family: var(--font-display); }
.about-badge-txt { font-size: 0.78rem; font-weight: 600; opacity: 0.9; margin-top: 0.2rem; }

.trust-items { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.trust-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: rgba(38,63,112,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-size: 1rem;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

@media (hover: hover) {
  .trust-item:hover .trust-icon {
    background: var(--gradient-gold);
    color: var(--white);
    transform: scale(1.05);
  }
}

.trust-label { font-weight: 700; font-size: 0.95rem; color: var(--charcoal); }
.trust-desc  { font-size: 0.85rem; color: var(--mid-gray); margin-top: 0.2rem; }

/* ── Contact Section ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(38,63,112,0.08);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

@media (hover: hover) {
  .contact-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
}

.contact-icon {
  width: 48px; height: 48px;
  background: var(--gradient-navy);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-label { font-size: 0.78rem; font-weight: 600; color: var(--mid-gray); text-transform: uppercase; letter-spacing: 0.1em; }
.contact-value { font-weight: 700; color: var(--charcoal); margin-top: 0.2rem; }

.contact-social { display: flex; gap: 0.75rem; margin-top: 0.5rem; }

.social-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  color: var(--white);
  transition: all var(--transition-spring);
}

.social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.facebook  { background: #1877f2; }
.social-btn.tiktok    { background: #000; }
.social-btn.whatsapp  { background: #25d366; }

@media (hover: hover) {
  .social-btn:hover { transform: scale(1.15) translateY(-3px); box-shadow: var(--shadow-md); }
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(38,63,112,0.1);
}

.map-wrap iframe { width: 100%; height: 300px; border: none; display: block; }

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--gradient-hero);
  color: rgba(255,255,255,0.8);
  padding: clamp(60px, 8vw, 100px) 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

.footer-brand img { height: 52px; width: auto; margin-bottom: 1.25rem; }

.footer-about {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer-social { display: flex; gap: 0.6rem; }

.footer-social-btn {
  /* 44×44px minimum touch target */
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: all var(--transition-base);
}

@media (hover: hover) {
  .footer-social-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
  }
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }

.footer-link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

@media (hover: hover) {
  .footer-link:hover { color: var(--gold-light); padding-inline-start: 6px; }
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

.footer-contact-item i { color: var(--gold); margin-top: 0.15rem; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── WhatsApp Float ───────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  /* Respect iOS home indicator at bottom */
  bottom: calc(2rem + env(safe-area-inset-bottom));
  right: calc(2rem + env(safe-area-inset-right));
  z-index: 999;
  width: 58px; height: 58px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
  transition: all var(--transition-spring);
  animation: pulse 2.5s ease-in-out infinite;
}

@media (hover: hover) {
  .whatsapp-float:hover {
    transform: scale(1.12) translateY(-4px);
    box-shadow: 0 14px 40px rgba(37,211,102,0.6);
  }
}

/* ── Scroll to top ────────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  /* Stacked above WhatsApp button, also respects safe area */
  bottom: calc(5.5rem + env(safe-area-inset-bottom));
  right: calc(2rem + env(safe-area-inset-right));
  z-index: 998;
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-base);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (hover: hover) {
  .scroll-top:hover { background: var(--gold); transform: translateY(-3px); }
}

/* ── Loading Spinner ──────────────────────────────────────────── */
.spinner {
  width: 24px; height: 24px;
  border: 3px solid rgba(38,63,112,0.15);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

/* ── Breadcrumb ───────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--mid-gray);
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--navy); font-weight: 500; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--light-gray); }
.breadcrumb .current { color: var(--charcoal); font-weight: 600; }

/* ── Page Hero ────────────────────────────────────────────────── */
.page-hero {
  background: var(--gradient-navy);
  padding: calc(var(--header-h) + 3rem) 0 3.5rem;
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; margin-bottom: 0.75rem; }
.page-hero p  { color: rgba(255,255,255,0.7); font-size: 1rem; }

/* ── Animations ───────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50%       { transform: translateY(-30px) scale(1.1); opacity: 0.8; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 8px 28px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.15); }
}

@keyframes spin { to { transform: rotate(360deg); } }

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

/* ── Scroll-triggered reveal ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left  { opacity: 0; transform: translateX(-32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right { opacity: 0; transform: translateX(32px);  transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

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

/* ── Divider ──────────────────────────────────────────────────── */
.divider { height: 1px; background: rgba(38,63,112,0.08); margin: 2rem 0; }
.divider-gold { background: var(--gradient-gold); height: 2px; }

/* ── Toast Notifications ──────────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  pointer-events: none;
  width: max-content;
  max-width: 90vw;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  animation: slideDown 0.3s ease;
  pointer-events: all;
  max-width: 90vw;
}

.toast.success { background: #15803d; }
.toast.error   { background: #dc2626; }
.toast.info    { background: var(--navy); }

/* ── Mobile Nav ───────────────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(10,10,10,0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.mobile-nav-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(340px, 90vw);
  /* Use dynamic viewport height to avoid iOS chrome overlap */
  height: 100dvh;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  /* Safe area padding for notch and home bar */
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav.open { display: block; }
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(38,63,112,0.08);
  background: var(--gradient-navy);
}

.mobile-nav-header img { height: 44px; }
.mobile-nav-close {
  /* 44×44px touch target */
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

@media (hover: hover) {
  .mobile-nav-close:hover { background: rgba(255,255,255,0.25); transform: rotate(90deg); }
}

.mobile-nav-links {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  /* Minimum 44px height for touch */
  min-height: 44px;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  color: var(--dark-gray);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.mobile-nav-link i { width: 20px; text-align: center; color: var(--navy); }
@media (hover: hover) {
  .mobile-nav-link:hover { background: rgba(38,63,112,0.06); color: var(--navy); }
}
.mobile-nav-link.active { background: rgba(38,63,112,0.1); color: var(--navy); font-weight: 700; }

.mobile-nav-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(38,63,112,0.08);
  display: flex;
  gap: 0.5rem;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .hero-desc { font-size: 1rem; }
  .section { padding: 40px 0; }
  .section-title { font-size: 1.8rem; }
  
  /* Improve card sizes on mobile */
  .product-card-img { aspect-ratio: 4/5; }
  .product-card-body { padding: 1rem; }
  .product-name { font-size: 1rem; }
  .product-price { font-size: 0.95rem; }
  
  /* Marquee sizing on mobile */
  .marquee-section { padding: 1rem 0; }
  .marquee-content { gap: 2rem; }
  .marquee-content div { font-size: 0.9rem; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer-logo { margin: 0 auto; justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
  .about-badge { position: static; margin-top: 1rem; display: inline-block; }
  
  /* WhatsApp & Scroll To Top — with safe area */
  .whatsapp-float {
    bottom: calc(1rem + env(safe-area-inset-bottom));
    right: calc(1rem + env(safe-area-inset-right));
    width: 54px; height: 54px; font-size: 1.3rem;
  }
  .scroll-top {
    bottom: calc(4.5rem + env(safe-area-inset-bottom));
    right: calc(1rem + env(safe-area-inset-right));
    width: 44px; height: 44px; font-size: 1rem;
  }

  /* Fix sticky headers on mobile */
  .site-header {
    padding: 0;
    /* Push header down past notch */
    padding-top: env(safe-area-inset-top);
    height: calc(var(--header-h) + env(safe-area-inset-top));
  }
  .header-logo img { height: 38px; }

  /* Utility classes */
  .d-none-mobile { display: none !important; }
  .d-show-mobile { display: flex !important; }
}

@media (max-width: 400px) {
  /* Extra small screens (iPhone SE — 320px) */
  .hero-title { font-size: 1.6rem; }
  .hero-stats { flex-direction: column; gap: 1rem; align-items: center; }
  .hero-kicker { font-size: 0.7rem; letter-spacing: 0.15em; }
  .header-actions { gap: 0.25rem; }
  .hero-logo-wrap { padding: 2rem 2.5rem; }
  .hero-logo-wrap img { width: 200px; }
}

@media (max-width: 900px) {
  .hero-visual { display: flex !important; margin-top: 2rem; width: 100%; justify-content: center; }
}

/* ── Hero Slideshow ─────────────────────────────────────────── */
.hero-slideshow-container {
  position: relative;
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  width: 420px;
  height: 480px;
  max-width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-slideshow-container::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(135deg, rgba(196,154,85,0.4), transparent, rgba(196,154,85,0.2));
  z-index: 10;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
  display: flex;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 6s ease;
}

.hero-slide.active img {
  transform: scale(1.08);
}

.slide-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 5;
  background: rgba(26, 41, 66, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
}

.slide-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.slideshow-dots {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 15;
  display: flex;
  gap: 0.5rem;
}

.slideshow-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slideshow-dots .dot.active {
  background: var(--gold-light);
  transform: scale(1.25);
}

@media (max-width: 576px) {
  .hero-slideshow-container {
    width: 100%;
    height: 340px;
  }
  /* Bring floating cards inside viewport on small screens */
  .hero-floating-card.card-1 { right: 2% !important; top: 5% !important; }
  .hero-floating-card.card-2 { left: 2% !important; bottom: 10% !important; }
  /* Shrink floating card padding on small screens */
  .hero-floating-card { padding: 0.65rem 0.9rem; gap: 0.5rem; }
  .hero-floating-card .icon-wrap { width: 30px; height: 30px; font-size: 0.75rem; }
  .hero-floating-card .value { font-size: 0.78rem; }
  .hero-floating-card .label { font-size: 0.6rem; }
}

/* ── Cart Drawer (Side Cart) ──────────────────────────────────── */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 100%;
  max-width: 400px;
  /* Use dynamic viewport height — fixes iOS Safari chrome overlap */
  height: 100dvh;
  background: #fff;
  z-index: 10001;
  box-shadow: -5px 0 30px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  /* Safe area padding for notch and home indicator */
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}
.cart-drawer.active {
  right: 0;
}

.cart-drawer-header {
  padding: 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
}

.cart-drawer-footer {
  padding: 1.25rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  background: var(--off-white);
}

.cart-drawer-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.cart-drawer-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.cart-drawer-img {
  width: 70px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--off-white);
}
.cart-drawer-info {
  flex: 1;
  min-width: 0;
}
.cart-drawer-title {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.25rem;
}
.cart-drawer-variant {
  font-size: 0.75rem;
  color: var(--mid-gray);
  margin-bottom: 0.5rem;
}
.cart-drawer-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}
.cart-drawer-remove {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
}
