/* === VARIABLES === */
:root {
  --gold: #D4AF37;
  --gold-light: #F0E4B0;
  --gold-dark: #B8960C;
  --brown: #5C4033;
  --brown-light: #7A5A4A;
  --cream: #F9F6F1;
  --cream-dark: #EDE8E0;
  --white: #FFFFFF;
  --dark: #2C1810;
  --gray: #888;
  --gray-light: #E0E0E0;
  --success: #2ECC71;
  --danger: #E74C3C;
  --warning: #F39C12;
  --info: #3498DB;
  --shadow: 0 2px 12px rgba(92,64,51,0.10);
  --shadow-lg: 0 8px 32px rgba(92,64,51,0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --nav-height: 70px;
  --header-height: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: var(--dark);
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

h1, h2 { font-family: 'Great Vibes', cursive; font-weight: 400; color: var(--gold-dark); }
h3, h4 { font-family: 'Playfair Display', serif; }

/* === SPLASH === */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-light) 50%, var(--gold-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
.splash.hide { opacity: 0; visibility: hidden; }
.splash-content { text-align: center; color: var(--white); }
.splash-logo {
  width: 120px; height: 120px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  background: rgba(255,255,255,0.1);
  padding: 10px;
  box-shadow: 0 0 40px rgba(212,175,55,0.4);
  animation: pulse-glow 2s infinite;
}
.splash-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(212,175,55,0.3); }
  50% { box-shadow: 0 0 50px rgba(212,175,55,0.6); }
}
.splash-content h1 { font-family: 'Great Vibes', cursive; font-size: 40px; font-weight: 400; margin-bottom: 8px; letter-spacing: 1px; color: var(--gold-light); }
.splash-content p { font-size: 14px; opacity: 0.8; letter-spacing: 2px; text-transform: uppercase; }
.splash-loader {
  width: 40px; height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  margin: 32px auto 0;
  overflow: hidden;
  position: relative;
}
.splash-loader::after {
  content: ''; position: absolute; left: -50%; top: 0;
  width: 50%; height: 100%;
  background: var(--gold);
  border-radius: 4px;
  animation: loading 1.2s infinite ease-in-out;
}
@keyframes loading {
  0% { left: -50%; }
  100% { left: 100%; }
}

/* === LANDING PAGE === */
.landing-page {
  min-height: 100vh;
  background: var(--cream);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* HERO */
.landing-hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
}
.landing-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.15); }
}
.landing-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(44,24,16,0.75) 0%, rgba(44,24,16,0.55) 40%, rgba(44,24,16,0.85) 100%);
}
.landing-hero-content {
  position: relative; z-index: 1;
  padding: 60px 24px 40px;
}
.landing-logo-img {
  width: 120px; height: 120px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  padding: 10px;
  box-shadow: 0 8px 40px rgba(212,175,55,0.3);
  margin-bottom: 20px;
  animation: pulse-glow 3s infinite;
}
.landing-title {
  font-family: 'Great Vibes', cursive;
  font-size: 46px; font-weight: 400;
  color: var(--gold-light);
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.landing-tagline {
  font-size: 14px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.landing-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  font-style: italic;
}
.landing-date {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.hero-cta-row {
  display: flex; gap: 10px;
  margin-top: 28px;
  justify-content: center;
}
.btn-hero-primary {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white); border: none;
  border-radius: 50px;
  font-family: 'Montserrat'; font-size: 14px; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 20px rgba(212,175,55,0.4);
  transition: transform 0.2s;
}
.btn-hero-primary:active { transform: scale(0.96); }
.btn-hero-secondary {
  padding: 14px 28px;
  background: rgba(255,255,255,0.12);
  color: var(--white); border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-family: 'Montserrat'; font-size: 14px; font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}
.btn-hero-secondary:active { background: rgba(255,255,255,0.2); }
.hero-scroll-hint {
  margin-top: 36px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: bounceDown 2s infinite;
}
@keyframes bounceDown {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* SECTIONS */
.landing-section {
  padding: 48px 20px;
}
.landing-section.section-alt {
  background: var(--white);
}
.landing-section.section-fidelity {
  background: linear-gradient(180deg, #F5F0E6 0%, var(--cream) 100%);
}
.section-header {
  text-align: center;
  margin-bottom: 28px;
}
.section-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--gold-light), rgba(212,175,55,0.2));
  border-radius: 16px;
  font-size: 22px; color: var(--gold-dark);
  margin-bottom: 14px;
}
.section-badge.gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
}
.section-header h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 34px; color: var(--gold-dark);
  margin-bottom: 6px;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(184,150,12,0.15);
}
.section-sub {
  font-size: 13px; color: var(--gray);
}

/* CAROUSEL */
.carousel-wrapper {
  overflow: hidden;
  margin: 0 -20px;
  padding: 0 0 8px;
}
.carousel {
  display: flex;
  gap: 14px;
  padding: 0 20px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(92,64,51,0.10);
  cursor: pointer;
  transition: transform 0.3s;
}
.section-alt .carousel-card { background: var(--cream); }
.carousel-card:active { transform: scale(0.97); }
.carousel-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}
.carousel-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.carousel-card:hover .carousel-img-wrap img { transform: scale(1.08); }
.carousel-price {
  position: absolute; bottom: 10px; right: 10px;
  background: var(--gold);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.carousel-tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--brown);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.carousel-card-body {
  padding: 14px 16px 18px;
}
.carousel-card-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 15px; color: var(--brown);
  margin-bottom: 4px;
}
.carousel-card-body p {
  font-size: 12px; color: var(--gray);
  line-height: 1.4;
}
.card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px;
  font-size: 12px; font-weight: 600;
  color: var(--gold-dark);
}
.btn-section-link {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 20px auto 0;
  padding: 12px 28px;
  background: none; border: 2px solid var(--gold);
  border-radius: 50px;
  font-family: 'Montserrat'; font-size: 13px; font-weight: 600;
  color: var(--gold-dark); cursor: pointer;
  transition: all 0.3s;
}
.btn-section-link:active { background: var(--gold); color: var(--white); }

/* TRAITEUR */
.traiteur-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.traiteur-video-card {
  text-align: center;
}
.video-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: 10px;
}
.traiteur-img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-play-overlay {
  position: absolute; inset: 0;
  background: rgba(44,24,16,0.35);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}
.video-play-overlay:active { background: rgba(44,24,16,0.55); }
.video-play-overlay i {
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.traiteur-video-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 13px; color: var(--brown);
  margin-bottom: 2px;
}
.traiteur-video-card p { font-size: 11px; color: var(--gray); }
.traiteur-banner {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
  color: var(--white);
  padding: 18px 20px;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.3s;
}
.traiteur-banner:active { transform: scale(0.98); }
.traiteur-banner-content {
  display: flex; align-items: center; gap: 14px;
}
.traiteur-banner-content i {
  font-size: 24px; color: var(--gold);
}
.traiteur-banner-content strong { font-size: 14px; }
.traiteur-banner-content p { font-size: 11px; opacity: 0.7; margin-top: 2px; }
.traiteur-banner > i { color: var(--gold); font-size: 18px; }

/* FIDELITY MOCKUP */
.fidelity-mockup {
  display: flex; flex-direction: column; align-items: center;
}
.fidelity-card-mockup {
  width: 100%; max-width: 360px;
  background: linear-gradient(145deg, #4A3228, var(--brown));
  border-radius: 22px;
  padding: 24px;
  color: var(--white);
  box-shadow: 0 12px 40px rgba(44,24,16,0.25), 0 0 0 2px rgba(212,175,55,0.3);
  position: relative;
  overflow: hidden;
}
.fidelity-card-mockup::before {
  content: '';
  position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(212,175,55,0.15), transparent);
  border-radius: 50%;
}
.mockup-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
  position: relative;
}
.mockup-logo {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255,255,255,0.1);
  padding: 4px;
}
.mockup-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin-bottom: 2px;
}
.mockup-header span {
  font-size: 11px;
  color: var(--gold-light);
  letter-spacing: 1px;
}
.mockup-stamps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.mockup-stamp {
  aspect-ratio: 1;
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,0.2);
  transition: all 0.3s;
}
.mockup-stamp.filled {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-style: solid;
  border-color: var(--gold);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(212,175,55,0.35);
}
.mockup-stamp.gift {
  border-color: var(--gold);
  border-style: dashed;
  color: var(--gold);
  animation: pulse-glow 2s infinite;
}
.mockup-footer {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.mockup-reward {
  color: var(--gold-light);
  font-weight: 600;
}
.fidelity-perks {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
  width: 100%; max-width: 360px;
}
.perk {
  display: flex; align-items: center; gap: 8px;
  background: var(--white);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 12px; font-weight: 500;
  color: var(--brown);
  box-shadow: 0 2px 8px rgba(92,64,51,0.06);
}
.perk i { color: var(--gold-dark); font-size: 15px; }

/* STORES CARDS */
.stores-cards {
  display: flex; flex-direction: column;
  gap: 16px;
}
.store-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 24px;
  border: 2px solid var(--cream-dark);
  transition: transform 0.3s;
}
.store-card:active { transform: scale(0.98); }
.store-card-halavi { border-color: var(--gold-light); }
.store-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.store-card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold-light), rgba(212,175,55,0.2));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--gold-dark);
}
.store-card-icon.halavi-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
}
.store-card-badge {
  padding: 5px 14px;
  background: var(--cream-dark);
  border-radius: 20px;
  font-size: 11px; font-weight: 700;
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.store-card-badge.halavi-badge {
  background: var(--gold-light);
  color: var(--gold-dark);
}
.store-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px; color: var(--brown);
  margin-bottom: 10px;
}
.store-card-info {
  margin-bottom: 14px;
}
.store-card-info p {
  font-size: 13px; color: var(--gray);
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.store-card-info p i { color: var(--gold-dark); font-size: 14px; min-width: 16px; }
.store-card-info a {
  font-size: 14px; color: var(--gold-dark);
  text-decoration: none; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.store-card-info a i { font-size: 14px; }
.store-card-map {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--brown);
  color: var(--white);
  border-radius: 50px;
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}
.store-card-map:active { background: var(--gold-dark); }

/* FOOTER */
.landing-footer {
  background: linear-gradient(135deg, var(--brown), #3E2A1E);
  padding: 48px 20px 40px;
  text-align: center;
}
.landing-footer-content { max-width: 400px; margin: 0 auto; }
.footer-logo-img {
  width: 80px; height: 80px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  padding: 8px;
  margin-bottom: 16px;
}
.landing-footer h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 34px; color: var(--gold-light);
  margin-bottom: 8px;
}
.landing-footer > .landing-footer-content > p:first-of-type {
  font-size: 13px; color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}
.landing-footer .btn-landing-primary {
  margin-bottom: 10px;
}
.landing-footer .btn-landing-secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
  margin-bottom: 24px;
}
.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 20px;
}

/* Shared CTA */
.btn-landing-primary {
  width: 100%; padding: 16px 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white); border: none;
  border-radius: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 6px 24px rgba(212,175,55,0.35);
  transition: transform 0.2s;
}
.btn-landing-primary:active { transform: scale(0.97); }
.btn-landing-secondary {
  width: 100%; padding: 14px 24px;
  background: var(--white);
  color: var(--brown); border: 2px solid var(--gold);
  border-radius: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.3s;
}
.btn-landing-secondary:active { background: var(--gold-light); }

/* Social */
.landing-social {
  display: flex; justify-content: center; gap: 14px;
}
.landing-social a {
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 20px;
  text-decoration: none;
  transition: all 0.3s;
}
.landing-social a:hover,
.landing-social a:active {
  background: var(--gold);
  color: var(--white);
}

/* GIFT CARDS */
.gift-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.gift-card-item { text-align: center; }
.gift-card-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 14px; color: var(--brown);
  margin-top: 12px; margin-bottom: 2px;
}
.gift-card-item p { font-size: 11px; color: var(--gray); }
.gift-card-visual {
  position: relative;
  aspect-ratio: 0.7;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(92,64,51,0.15);
  cursor: pointer;
  transition: transform 0.3s;
}
.gift-card-visual:active { transform: scale(0.96) rotate(-1deg); }
.gc-bg {
  position: absolute; inset: 0;
}
.gc-25 .gc-bg { background: linear-gradient(145deg, #D4AF37, #B8960C); }
.gc-50 .gc-bg { background: linear-gradient(145deg, #5C4033, #7A5A4A); }
.gc-100 .gc-bg { background: linear-gradient(145deg, #2C1810, #5C4033); }
.gc-content {
  position: relative; z-index: 1;
  height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 16px;
  color: var(--white);
}
.gc-logo {
  width: 40px; height: 40px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  padding: 4px;
  margin-bottom: 10px;
}
.gc-amount {
  font-family: 'Playfair Display', serif;
  font-size: 32px; font-weight: 700;
  margin-bottom: 4px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.gc-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
}
.gift-info-box {
  display: flex; align-items: center; gap: 12px;
  background: var(--gold-light);
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 13px; color: var(--brown);
}
.gift-info-box i { font-size: 18px; color: var(--gold-dark); flex-shrink: 0; }
.gift-info-box p { margin: 0; }

/* LANDING BOTTOM NAV */
.landing-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 72px;
  background: var(--white);
  display: flex; align-items: stretch;
  box-shadow: 0 -4px 30px rgba(44,24,16,0.12);
  z-index: 500;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--cream-dark);
}
.landing-nav-item {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
  background: none; border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}
.landing-nav-item i {
  font-size: 20px;
  transition: all 0.3s;
}
.landing-nav-item.active {
  color: var(--gold-dark);
}
.landing-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 0 0 4px 4px;
}
.landing-nav-item.active i {
  transform: scale(1.15);
}
.landing-nav-item:active {
  background: var(--cream);
}

@media (max-width: 380px) {
  .hero-cta-row { flex-direction: column; }
  .traiteur-grid { grid-template-columns: 1fr 1fr; }
  .fidelity-perks { grid-template-columns: 1fr; }
  .gift-cards-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 500px) {
  .carousel-card { flex: 0 0 240px; }
  .stores-cards { display: grid; grid-template-columns: 1fr; }
}

/* === MODAL === */
.modal {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(44,24,16,0.6);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-content {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 440px; width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--cream-dark);
}
.modal-header h3 { font-size: 18px; }

/* === AUTH === */
.auth-modal { padding: 0; overflow: hidden; }
.auth-header {
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
  color: var(--white);
  text-align: center;
  padding: 32px 24px 24px;
}
.auth-header i { font-size: 48px; color: var(--gold); margin-bottom: 12px; }
.auth-header h2 { font-family: 'Great Vibes', cursive; font-size: 30px; margin-bottom: 4px; color: var(--gold-dark); }
.auth-header p { font-size: 13px; opacity: 0.7; }
.auth-date { margin-top: 8px; font-size: 12px; opacity: 0.6; }
.auth-tabs { display: flex; border-bottom: 2px solid var(--cream-dark); }
.auth-tab {
  flex: 1; padding: 14px; text-align: center;
  background: none; border: none;
  font-family: 'Montserrat'; font-size: 14px; font-weight: 600;
  color: var(--gray); cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}
.auth-tab.active { color: var(--gold-dark); border-bottom-color: var(--gold); }
.auth-form { padding: 24px; }
.auth-error { color: var(--danger); text-align: center; padding: 0 24px 16px; font-size: 13px; }

/* === INPUT === */
.input-group {
  display: flex; align-items: center;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  margin-bottom: 14px;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}
.input-group:focus-within { border-color: var(--gold); }
.input-group i { color: var(--gold-dark); font-size: 16px; margin-right: 12px; min-width: 20px; text-align: center; }
.input-group input, .input-group select, .input-group textarea {
  flex: 1; padding: 14px 0;
  border: none; background: none; outline: none;
  font-family: 'Montserrat'; font-size: 14px; color: var(--dark);
}
.input-group select { cursor: pointer; }
.input-group textarea { resize: vertical; }

/* === BUTTONS === */
.btn-primary {
  width: 100%; padding: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white); border: none; border-radius: var(--radius-sm);
  font-family: 'Montserrat'; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}
.btn-primary:active { transform: scale(0.98); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--cream); color: var(--gold-dark);
  border: 2px solid var(--gold); border-radius: var(--radius-sm);
  font-family: 'Montserrat'; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.3s;
}
.btn-secondary:hover { background: var(--gold); color: var(--white); }
.btn-outline {
  width: 100%; padding: 14px;
  background: none; border: 2px solid var(--gold);
  color: var(--gold-dark); border-radius: var(--radius-sm);
  font-family: 'Montserrat'; font-size: 14px; font-weight: 600;
  cursor: pointer; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-danger {
  width: 100%; padding: 14px;
  background: none; border: 2px solid var(--danger);
  color: var(--danger); border-radius: var(--radius-sm);
  font-family: 'Montserrat'; font-size: 14px; font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.icon-btn {
  width: 40px; height: 40px;
  background: none; border: none;
  color: var(--white); font-size: 22px;
  cursor: pointer; position: relative;
}

/* === HEADER === */
.app-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
  color: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; z-index: 100;
  box-shadow: 0 2px 20px rgba(44,24,16,0.2);
}
.header-left { display: flex; align-items: center; gap: 12px; }
.header-logo { font-size: 28px; color: var(--gold); }
.header-left h1 { font-family: 'Great Vibes', cursive; font-size: 22px; line-height: 1.2; color: var(--gold-dark); }
.header-left small { font-size: 11px; opacity: 0.7; }
.header-right { display: flex; gap: 4px; }
.cart-btn { position: relative; }
.cart-badge {
  position: absolute; top: 2px; right: 2px;
  background: var(--danger);
  color: var(--white);
  font-size: 10px; font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* === PAGES === */
main {
  padding-top: var(--header-height);
  padding-bottom: calc(var(--nav-height) + 16px);
  min-height: 100vh;
}
.page { display: none; padding: 16px; animation: fadeIn 0.3s; }
.page.active { display: block; }
.page-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.page-header h2 { font-size: 22px; font-family: 'Playfair Display', serif; font-weight: 700; }
.back-btn {
  width: 36px; height: 36px;
  background: var(--cream-dark); border: none;
  border-radius: 50%; cursor: pointer;
  font-size: 16px; color: var(--brown);
  display: flex; align-items: center; justify-content: center;
}

/* === WELCOME BANNER === */
.welcome-banner {
  background: linear-gradient(135deg, var(--brown), var(--gold-dark));
  color: var(--white);
  padding: 24px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  text-align: center;
}
.welcome-banner h2 { font-family: 'Great Vibes', cursive; font-size: 28px; margin-bottom: 4px; color: var(--gold-dark); }
.tagline { font-size: 13px; opacity: 0.8; font-style: italic; }

/* === LOYALTY CARD === */
.loyalty-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border: 2px solid var(--gold-light);
}
.loyalty-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 16px;
}
.loyalty-header h3 { font-size: 16px; color: var(--gold-dark); }
.loyalty-subtitle { font-size: 12px; color: var(--gray); margin-top: 2px; }
.loyalty-points {
  text-align: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}
.loyalty-points span { font-size: 28px; font-weight: 700; display: block; }
.loyalty-points small { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }

.stamps-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 10px; margin-bottom: 16px;
}
.stamp {
  aspect-ratio: 1; border-radius: 50%;
  border: 2px dashed var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--gold-light);
  transition: all 0.3s;
  background: var(--cream);
}
.stamp.filled {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-style: solid; border-color: var(--gold);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(212,175,55,0.3);
}
.loyalty-progress { margin-top: 4px; }
.progress-bar {
  width: 100%; height: 8px;
  background: var(--cream-dark);
  border-radius: 4px; overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 4px;
  transition: width 0.5s;
}
#progressText { font-size: 12px; color: var(--gray); margin-top: 6px; text-align: center; }

/* === QUICK ACTIONS === */
.quick-actions {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 20px;
}
.quick-action {
  background: var(--white);
  border: none; border-radius: var(--radius);
  padding: 16px 8px; text-align: center;
  cursor: pointer; transition: all 0.3s;
  box-shadow: var(--shadow);
}
.quick-action i { font-size: 24px; color: var(--gold-dark); display: block; margin-bottom: 8px; }
.quick-action span { font-size: 11px; font-weight: 600; color: var(--brown); }
.quick-action:active { transform: scale(0.95); }

/* === SECTION CARD === */
.section-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.section-card h3 { font-size: 16px; color: var(--brown); margin-bottom: 16px; }
.section-card h3 i { color: var(--gold-dark); margin-right: 8px; }

/* === STORES === */
.store-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.store-item:last-child { border-bottom: none; }
.store-icon {
  width: 42px; height: 42px;
  background: var(--cream);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark); font-size: 18px;
  flex-shrink: 0;
}
.store-icon.halavi { background: var(--gold-light); }
.store-item strong { font-size: 14px; }
.store-item p { font-size: 12px; color: var(--gray); margin: 2px 0; }
.store-item a { font-size: 12px; color: var(--gold-dark); text-decoration: none; }

/* === SOCIAL === */
.social-bar {
  display: flex; justify-content: center; gap: 16px;
  padding: 20px; margin-bottom: 20px;
}
.social-link {
  width: 48px; height: 48px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brown); font-size: 22px;
  box-shadow: var(--shadow); text-decoration: none;
  transition: all 0.3s;
}
.social-link:hover { background: var(--gold); color: var(--white); }

/* === PRODUCTS === */
.category-tabs {
  display: flex; gap: 8px;
  overflow-x: auto; padding-bottom: 12px;
  margin-bottom: 16px;
  -webkit-overflow-scrolling: touch;
}
.category-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  white-space: nowrap;
  padding: 8px 18px;
  border-radius: 24px;
  border: 2px solid var(--gold-light);
  background: var(--white);
  font-family: 'Montserrat'; font-size: 13px; font-weight: 600;
  color: var(--brown); cursor: pointer;
  transition: all 0.3s;
}
.cat-tab.active { background: var(--gold); color: var(--white); border-color: var(--gold); }

.products-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px; margin-bottom: 16px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.product-card:active { transform: scale(0.97); }
.product-img {
  width: 100%; aspect-ratio: 1;
  object-fit: cover;
  background: var(--cream-dark);
}
.product-info { padding: 12px; }
.product-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; line-height: 1.3; }
.product-price { font-size: 15px; font-weight: 700; color: var(--gold-dark); }
.product-min { font-size: 10px; color: var(--gray); }
.product-status {
  font-size: 10px; padding: 3px 8px;
  border-radius: 12px; display: inline-block; margin-top: 4px;
}
.product-status.available { background: #E8F5E9; color: #2E7D32; }
.product-status.unavailable { background: #FFEBEE; color: #C62828; }
.product-actions { padding: 0 12px 12px; }
.btn-add-cart {
  width: 100%; padding: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white); border: none;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat'; font-size: 12px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-add-cart:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-add-cart.in-cart { background: var(--success); }

.site-link-banner {
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; margin-top: 16px;
  font-size: 14px; font-weight: 500;
  transition: transform 0.3s;
}
.site-link-banner:active { transform: scale(0.98); }
.site-link-banner i { font-size: 20px; color: var(--gold); }

/* === PRESTATIONS PAGE === */
.prestations-content { display: flex; flex-direction: column; gap: 20px; }
.presta-cat-section { margin-bottom: 8px; }
.presta-cat-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-light);
}
.presta-cat-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--brown); flex-shrink: 0;
}
.presta-cat-header h3 { font-size: 17px; color: var(--brown); }
.presta-cat-header p { font-size: 11px; color: var(--gray); margin-top: 2px; }
.presta-subcats { display: flex; flex-direction: column; gap: 10px; }
.presta-subcat-label {
  font-size: 12px; font-weight: 700; color: var(--gold-dark);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin: 4px 0 2px; padding-left: 4px;
}
.presta-formula-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s;
  display: flex; gap: 14px; align-items: center;
  border-left: 4px solid var(--gold);
}
.presta-formula-card:active { transform: scale(0.98); }
.presta-formula-card.is-option {
  border-left-color: var(--gray-light);
  opacity: 0.85; padding: 12px 16px;
}
.presta-formula-img {
  width: 72px; height: 72px; border-radius: 12px;
  object-fit: cover; flex-shrink: 0;
  background: var(--cream-dark);
}
.presta-formula-info { flex: 1; min-width: 0; }
.presta-formula-info h4 {
  font-size: 14px; color: var(--brown);
  margin-bottom: 3px; line-height: 1.3;
}
.presta-formula-info p {
  font-size: 11px; color: var(--gray);
  line-height: 1.4; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.presta-formula-meta {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.presta-formula-meta span {
  font-size: 10px; padding: 3px 8px;
  border-radius: 10px; font-weight: 600;
}
.presta-meta-price {
  background: var(--gold-light); color: var(--gold-dark);
}
.presta-meta-min {
  background: #E3F2FD; color: #1565C0;
}
.presta-meta-duration {
  background: #F3E5F5; color: #7B1FA2;
}

/* === PRESTATION DETAIL MODAL === */
.prestation-detail-modal {
  max-width: 500px; width: 95vw; max-height: 90vh;
  padding: 0; border-radius: var(--radius);
  overflow: hidden; position: relative;
}
.presta-detail-hero {
  position: relative; width: 100%;
  height: 220px; overflow: hidden;
}
.presta-detail-img {
  width: 100%; height: 100%; object-fit: cover;
}
.presta-detail-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,24,16,0.85) 0%, rgba(44,24,16,0.2) 60%, transparent 100%);
}
.presta-detail-hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 24px;
  color: var(--white);
}
.presta-detail-hero-content h2 {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 22px; color: var(--white);
  margin-bottom: 4px; line-height: 1.2;
}
.presta-tagline {
  font-size: 13px; opacity: 0.9;
  font-weight: 400;
}
.presta-certif {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  padding: 3px 10px; border-radius: 12px;
  font-size: 9px; font-weight: 600;
  margin-bottom: 8px; letter-spacing: 0.3px;
}
.presta-detail-body { padding: 20px 24px 24px; }
.presta-meta-row {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.presta-meta {
  display: flex; align-items: center; gap: 6px;
  background: var(--cream); padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700; color: var(--brown);
}
.presta-meta i { color: var(--gold-dark); font-size: 14px; }
.presta-bonus {
  background: linear-gradient(135deg, #FFF8E1, #FFFDE7);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px; font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.presta-included {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 16px;
}
.presta-inc-group {
  background: var(--cream);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.presta-inc-title {
  font-size: 12px; font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase; letter-spacing: 0.5px;
  padding: 10px 14px 6px;
  display: flex; align-items: center; gap: 6px;
}
.presta-inc-items {
  padding: 0 14px 10px;
  display: flex; flex-wrap: wrap; gap: 4px 8px;
}
.presta-inc-item {
  font-size: 12px; color: var(--brown);
  padding: 3px 0; line-height: 1.4;
}
.presta-inc-item::before {
  content: ''; display: inline-block;
  width: 5px; height: 5px;
  background: var(--gold); border-radius: 50%;
  margin-right: 6px; vertical-align: middle;
}
.presta-extras {
  font-size: 12px; color: var(--gray);
  font-style: italic; margin-bottom: 16px;
  padding: 10px 14px;
  background: var(--cream);
  border-radius: var(--radius-sm);
}
.presta-supplements {
  margin-bottom: 16px;
}
.presta-supplements h4 {
  font-size: 13px; color: var(--brown);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.presta-supplements h4 i { color: var(--gold-dark); }
.supplements-list {
  display: flex; flex-direction: column; gap: 4px;
}
.supplement-row {
  display: flex; justify-content: space-between;
  font-size: 12px; padding: 6px 12px;
  background: var(--cream);
  border-radius: 8px;
}
.supplement-row .sup-name { color: var(--brown); }
.supplement-row .sup-price { color: var(--gold-dark); font-weight: 700; }
.presta-cta {
  margin-top: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.presta-cta .btn-primary {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px; font-size: 14px;
}

/* Old prestation styles kept for compatibility */
.prestations-grid { display: flex; flex-direction: column; gap: 16px; }
.prestation-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s;
  border-left: 4px solid var(--gold);
}
.prestation-card:active { transform: scale(0.98); }
.prestation-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--brown);
  margin-bottom: 12px;
}
.prestation-card h3 { font-size: 18px; color: var(--brown); margin-bottom: 8px; }
.prestation-card p { font-size: 13px; color: var(--gray); margin-bottom: 12px; line-height: 1.5; }
.prestation-list { list-style: none; margin-bottom: 16px; }
.prestation-list li {
  font-size: 12px; padding: 6px 0;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--brown);
}
.prestation-list li::before { content: ''; display: inline-block; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; margin-right: 6px; vertical-align: middle; }

/* === REWARDS === */
.rewards-header {
  text-align: center;
  margin-bottom: 24px;
}
.reward-stamps-display {
  display: inline-flex; flex-direction: column;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  padding: 20px 40px;
  border-radius: var(--radius);
}
.reward-stamps-display span { font-size: 48px; font-weight: 700; }
.reward-stamps-display small { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.rewards-list { display: flex; flex-direction: column; gap: 12px; }
.reward-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 16px;
}
.reward-icon {
  width: 50px; height: 50px;
  background: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--gold-dark);
  flex-shrink: 0;
}
.reward-info { flex: 1; }
.reward-info h4 { font-size: 15px; margin-bottom: 2px; }
.reward-info p { font-size: 12px; color: var(--gray); }
.reward-stamps { font-size: 11px; color: var(--gold-dark); font-weight: 600; margin-top: 4px; }
.btn-claim {
  padding: 10px 18px;
  background: var(--gold);
  color: var(--white); border: none;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat'; font-size: 12px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
}
.btn-claim:disabled { opacity: 0.4; cursor: not-allowed; }

/* === ORDERS === */
.orders-list { display: flex; flex-direction: column; gap: 12px; }
.order-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}
.order-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.order-id { font-weight: 700; font-size: 14px; }
.order-status {
  padding: 4px 12px; border-radius: 12px;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
}
.order-status.pending { background: #FFF3E0; color: #E65100; }
.order-status.confirmed { background: #E8F5E9; color: #2E7D32; }
.order-status.ready { background: #E3F2FD; color: #1565C0; }
.order-status.completed { background: #F3E5F5; color: #7B1FA2; }
.order-status.cancelled { background: #FFEBEE; color: #C62828; }
.order-details { font-size: 12px; color: var(--gray); }
.order-details p { margin: 2px 0; }
.order-items { margin-top: 8px; }
.order-item { font-size: 12px; padding: 2px 0; }
.order-total { font-weight: 700; color: var(--gold-dark); margin-top: 6px; font-size: 15px; }
.empty-state {
  text-align: center; padding: 48px 24px; color: var(--gray);
}
.empty-state i { font-size: 48px; margin-bottom: 16px; color: var(--gold-light); }
.empty-state p { font-size: 14px; }

/* === PROFILE === */
.profile-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  text-align: center;
}
.profile-avatar { font-size: 64px; color: var(--gold); margin-bottom: 16px; }
.profile-form { text-align: left; margin-bottom: 20px; }
.profile-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-top: 20px;
  padding-top: 20px; border-top: 1px solid var(--cream-dark);
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 24px; color: var(--gold-dark); }
.stat span { font-size: 11px; color: var(--gray); text-transform: uppercase; }

/* === CART === */
.cart-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.5);
  display: none;
}
.cart-overlay.active { display: block; }
.cart-sidebar {
  position: fixed; top: 0; right: -100%; bottom: 0;
  width: 340px; max-width: 90vw;
  background: var(--white);
  z-index: 201;
  display: flex; flex-direction: column;
  transition: right 0.3s;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}
.cart-sidebar.active { right: 0; }
.cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px; border-bottom: 1px solid var(--cream-dark);
}
.cart-header h3 { font-size: 18px; }
.close-btn {
  width: 36px; height: 36px;
  background: var(--cream); border: none;
  border-radius: 50%; cursor: pointer;
  font-size: 16px; color: var(--brown);
}
.cart-items { flex: 1; overflow-y: auto; padding: 16px; }
.cart-item {
  display: flex; gap: 12px; padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--cream); margin-bottom: 8px;
}
.cart-item-img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 13px; font-weight: 600; }
.cart-item-price { font-size: 13px; color: var(--gold-dark); font-weight: 700; }
.cart-item-qty {
  display: flex; align-items: center; gap: 8px; margin-top: 6px;
}
.qty-btn {
  width: 26px; height: 26px;
  border-radius: 50%; border: 1px solid var(--gold);
  background: var(--white); color: var(--gold-dark);
  cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.cart-item-qty span { font-size: 14px; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-remove {
  align-self: flex-start;
  background: none; border: none;
  color: var(--danger); cursor: pointer;
  font-size: 14px;
}
.cart-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--cream-dark);
}
.cart-total {
  display: flex; justify-content: space-between;
  margin-bottom: 12px; font-size: 16px;
}
.cart-total strong { color: var(--gold-dark); font-size: 20px; }
.btn-checkout { display: flex; align-items: center; justify-content: center; gap: 8px; }
.cart-empty { text-align: center; padding: 32px; color: var(--gray); }
.cart-empty i { font-size: 40px; color: var(--gold-light); margin-bottom: 12px; display: block; }

/* === CHECKOUT === */
.checkout-modal { max-width: 500px; padding: 0; }
.checkout-modal form { padding: 24px; }
.checkout-summary {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 16px 0;
}
.checkout-item { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; }
.checkout-total {
  display: flex; justify-content: space-between;
  font-size: 16px; font-weight: 700;
  padding-top: 12px; margin-top: 8px;
  border-top: 2px solid var(--gold-light);
}
.checkout-total strong { color: var(--gold-dark); }

/* === SITE MODAL === */
.site-modal {
  max-width: 900px; width: 95vw; height: 85vh;
  display: flex; flex-direction: column;
  padding: 0;
}
.site-modal iframe { flex: 1; width: 100%; border: none; }

/* === BOTTOM NAV === */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--white);
  display: flex; align-items: center;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.08);
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
}
.nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  background: none; border: none;
  font-family: 'Montserrat'; font-size: 10px; font-weight: 500;
  color: var(--gray); cursor: pointer;
  padding: 8px 0; transition: all 0.3s;
}
.nav-item i { font-size: 20px; transition: all 0.3s; }
.nav-item.active { color: var(--gold-dark); }
.nav-item.active i { transform: scale(1.1); color: var(--gold-dark); }

/* === TOAST === */
.toast {
  position: fixed; bottom: calc(var(--nav-height) + 16px);
  left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--brown);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 9000;
  opacity: 0;
  transition: all 0.3s;
  max-width: 90vw;
  text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* === CC INFO === */
.cc-info {
  display: flex; gap: 8px; margin-bottom: 20px;
}
.cc-step {
  flex: 1; text-align: center;
  background: var(--white);
  padding: 14px 8px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: var(--gold);
  color: var(--white); font-weight: 700; font-size: 14px;
  border-radius: 50%; margin-bottom: 6px;
}
.cc-step p { font-size: 11px; color: var(--brown); font-weight: 500; }

/* === PUSH NOTIFICATION POPUP === */
.push-popup {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.55);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 20px;
  animation: pushFadeIn 0.3s ease;
}
@keyframes pushFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.push-popup-card {
  background: var(--white);
  border-radius: 24px 24px 20px 20px;
  padding: 32px 24px 24px;
  max-width: 400px; width: 100%;
  text-align: center;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.2);
  animation: pushSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes pushSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes pushSlideDown {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(100%); opacity: 0; }
}
.push-popup-icon { margin-bottom: 16px; }
.push-bell-circle {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--brown);
  box-shadow: 0 4px 20px rgba(212,175,55,0.35);
  animation: bellRing 2s ease-in-out infinite;
}
@keyframes bellRing {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-14deg); }
  30% { transform: rotate(10deg); }
  40% { transform: rotate(-6deg); }
  50% { transform: rotate(0deg); }
}
.push-popup-card h3 {
  font-size: 20px; color: var(--brown);
  margin-bottom: 8px;
}
.push-popup-card > p {
  font-size: 13px; color: var(--gray);
  line-height: 1.6; margin-bottom: 16px;
}
.push-popup-perks {
  display: flex; justify-content: center;
  gap: 8px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.push-popup-perks span {
  background: var(--cream); color: var(--brown);
  padding: 6px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 600;
  display: flex; align-items: center; gap: 5px;
}
.push-popup-perks span i {
  color: var(--gold-dark); font-size: 12px;
}
.push-popup-buttons {
  display: flex; flex-direction: column; gap: 10px;
}
.push-btn-accept {
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white); border: none;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat'; font-size: 15px; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(212,175,55,0.3);
  transition: transform 0.2s;
}
.push-btn-accept:active { transform: scale(0.97); }
.push-btn-later {
  width: 100%; padding: 12px;
  background: none; border: none;
  color: var(--gray); font-family: 'Montserrat';
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}
.push-btn-later:hover { color: var(--brown); }

/* === PAGINATION === */
.pagination {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  padding: 16px 0 8px;
}
.pag-info {
  font-size: 11px; color: var(--gray);
  font-weight: 500;
}
.pag-buttons {
  display: flex; gap: 6px; align-items: center;
}
.pag-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gold-light);
  background: var(--white);
  color: var(--brown);
  font-family: 'Montserrat'; font-size: 13px; font-weight: 600;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: all 0.2s;
}
.pag-btn:active { transform: scale(0.92); }
.pag-btn.active {
  background: var(--gold); color: var(--white);
  border-color: var(--gold);
}
.pag-btn i { font-size: 12px; }

/* === PRODUCT DETAIL MODAL === */
.product-detail-modal {
  max-width: 500px; width: 95vw; max-height: 90vh;
  padding: 0; border-radius: var(--radius);
  overflow: hidden; position: relative;
}
.product-detail-close {
  position: absolute; top: 12px; right: 12px; z-index: 10;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.92); border: none;
  border-radius: 50%; cursor: pointer;
  font-size: 18px; color: var(--brown);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
  transition: transform 0.2s;
}
.product-detail-close:active { transform: scale(0.9); }
.product-detail-scroll {
  max-height: 90vh; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.product-detail-img-wrap {
  position: relative; width: 100%;
  aspect-ratio: 1; overflow: hidden;
  background: var(--cream-dark);
}
.product-detail-img {
  width: 100%; height: 100%; object-fit: cover;
}
.product-detail-badges {
  position: absolute; bottom: 12px; left: 12px;
  display: flex; gap: 8px;
}
.pd-badge-cat {
  background: var(--gold); color: var(--white);
  padding: 5px 14px; border-radius: 20px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.pd-badge-delay {
  background: rgba(255,255,255,0.92); color: var(--brown);
  padding: 5px 14px; border-radius: 20px;
  font-size: 11px; font-weight: 600;
  backdrop-filter: blur(4px);
}
.product-detail-body { padding: 24px; }
.product-detail-body h2 {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 24px; color: var(--brown);
  margin-bottom: 4px; line-height: 1.2;
}
.pd-subtitle {
  font-size: 13px; color: var(--gray);
  margin-bottom: 16px; font-weight: 500;
}
.pd-price-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.pd-price {
  font-size: 22px; font-weight: 800;
  color: var(--gold-dark);
  font-family: 'Montserrat';
}
.pd-status {
  padding: 4px 12px; border-radius: 16px;
  font-size: 11px; font-weight: 700;
}
.pd-status.available { background: #E8F5E9; color: #2E7D32; }
.pd-status.unavailable { background: #FFEBEE; color: #C62828; }
.pd-description {
  font-size: 14px; line-height: 1.7;
  color: #555; margin-bottom: 20px;
}
.pd-sizes, .pd-min {
  background: var(--cream); padding: 14px 16px;
  border-radius: var(--radius-sm); margin-bottom: 12px;
  font-size: 13px; color: var(--brown);
}
.pd-sizes strong, .pd-min strong {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 4px; font-size: 12px;
  color: var(--gold-dark);
}
.pd-sizes p, .pd-min span { font-weight: 500; }
.pd-actions {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 20px;
}
.pd-add-cart {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px;
  font-size: 15px; font-weight: 700;
}
.pd-add-cart:disabled { opacity: 0.5; cursor: not-allowed; }
.pd-browse {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px;
  font-size: 13px;
}

/* === CATALOGUE MODAL === */
.catalogue-modal {
  max-width: 600px; width: 95vw; max-height: 90vh;
  padding: 0; display: flex; flex-direction: column;
}
.catalogue-modal .modal-header {
  flex-shrink: 0;
}
.catalogue-tabs {
  display: flex; gap: 6px; padding: 12px 20px;
  overflow-x: auto; flex-shrink: 0;
  -webkit-overflow-scrolling: touch;
}
.catalogue-tabs::-webkit-scrollbar { display: none; }
.catalogue-scroll-area {
  flex: 1; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 20px 20px;
}
.catalogue-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.catalogue-grid .product-card { cursor: pointer; }
.catalogue-grid .product-card:active { transform: scale(0.97); }
.catalogue-scroll-area .pagination { padding: 12px 0 4px; }

/* === RESPONSIVE === */
@media (max-width: 380px) {
  .quick-actions { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .stamps-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .catalogue-grid { grid-template-columns: 1fr; }
}
@media (min-width: 768px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  main { max-width: 600px; margin: 0 auto; }
  .catalogue-grid { grid-template-columns: repeat(3, 1fr); }
}
