/* ============================================
   KANNAUJ ROYAL PERFUMER - Premium White Luxury
   ============================================ */

:root {
  --emerald: #0A3D2E;
  --emerald-dark: #06281E;
  --emerald-light: #0F5C45;
  --black: #111111;
  --black-soft: #1a1a1a;
  --gold: #B8860B;
  --gold-bright: #D4AF37;
  --gold-light: #F0D78C;
  --gold-dark: #8B6914;
  --champagne: #F5E6C8;
  --ivory: #FFFFFF;
  --cream: #FAFAF8;
  --white: #FFFFFF;
  --gray-100: #F7F7F5;
  --gray-200: #EBEBE8;
  --gray-400: #9A958C;
  --gray-600: #5C574F;
  --text: #1A1A1A;
  --text-muted: #6B6560;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  --bottom-nav-height: 64px;
  --header-height: 60px;
}

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

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

html, body {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
body {
  font-family: var(--font-body);
  background: #FFFFFF;
  color: var(--text);
  line-height: 1.6;
  padding-bottom: calc(var(--bottom-nav-height) + 16px);
  touch-action: pan-y;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul, ol {
  list-style: none;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-name, .logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 40%, #F0D78C 50%, #B8860B 60%, #8B6914 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #B8860B;
}
.logo-text {
  font-size: 0.72rem;
  line-height: 1.25;
  display: flex;
  flex-direction: column;
}
.logo-text span {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  font-weight: 700;
}

/* ========== UTILITIES ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 40px 0;
}

.section-title {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 8px;
  color: var(--black);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: var(--transition);
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
}

.btn-primary:hover, .btn-primary:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 162, 39, 0.45);
}

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

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

.btn-dark {
  background: var(--black);
  color: var(--champagne);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  background: var(--gold);
  color: var(--black);
}

.badge-sale {
  background: #C0392B;
  color: white;
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,134,11,0.18);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
}

.logo-text {
  font-family: 'Cinzel', var(--font-display), serif;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #D4AF37, #B8860B, #F0D78C, #B8860B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #B8860B;
}

.logo-text span {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-top: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-icon {
  color: #1a1a1a;
  font-size: 1.25rem;
  position: relative;
  transition: var(--transition);
}

.header-icon:hover {
  color: var(--gold-bright);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== CATEGORY SELECTOR ========== */
.category-selector {
  background: #FAFAF8;
  padding: 16px 0 20px;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.category-selector::-webkit-scrollbar {
  display: none;
}

.cat-list {
  display: flex;
  gap: 20px;
  padding: 0 16px;
  min-width: max-content;
}

.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  min-width: 72px;
}

.cat-item.active .cat-circle {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.3);
}

.cat-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(201, 162, 39, 0.4);
  overflow: hidden;
  background: var(--emerald-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cat-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-circle .cat-icon {
  font-size: 1.5rem;
  color: var(--gold);
}

.cat-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #5C574F;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}

.cat-item:active .cat-circle {
  transform: scale(0.95);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 420px;
  background: linear-gradient(165deg, #0c0c0c 0%, #1a1508 35%, #0d1f18 70%, #0a0a0a 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(212,175,55,0.25);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.hero-tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  font-family: 'Cinzel', var(--font-display), serif;
  font-size: 2.35rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #F0D78C 0%, #D4AF37 45%, #B8860B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #D4AF37;
  line-height: 1.2;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(245, 230, 200, 0.85);
  margin-bottom: 8px;
  font-family: var(--font-accent);
  font-style: italic;
  opacity: 0;
  animation: fadeUp 0.8s 0.55s forwards;
}

.hero-desc {
  font-size: 0.9rem;
  color: rgba(245, 230, 200, 0.65);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero .btn {
  opacity: 0;
  animation: fadeUp 0.8s 0.85s forwards;
}

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

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.4;
  animation: float 8s infinite ease-in-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-30px) scale(1.2); opacity: 0.6; }
}

/* ========== PROMO BANNER ========== */
.promo-banner {
  margin: 24px 16px;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.25);
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201,162,39,0.15) 0%, transparent 70%);
}

.promo-title {
  font-size: 1.35rem;
  color: var(--champagne);
  margin-bottom: 6px;
}

.promo-sub {
  font-size: 0.9rem;
  color: rgba(245,230,200,0.75);
  margin-bottom: 18px;
}

/* ========== PRODUCT CARDS ========== */
.products-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 8px 16px 28px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  cursor: grab;
}
.products-scroll::-webkit-scrollbar { display: none; }
.products-scroll .product-card {
  touch-action: pan-x pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.products-scroll .product-card img {
  pointer-events: none; /* let parent handle swipe */
}
.products-scroll .size-btn,
.products-scroll .btn,
.products-scroll .wishlist-btn {
  touch-action: manipulation;
  pointer-events: auto;
}

.products-scroll::-webkit-scrollbar {
  display: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 12px 24px;
  width: 100%;
  overflow: hidden;
}
.product-grid .product-card {
  width: 100%;
  min-width: 0;
  max-width: none;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201, 162, 39, 0.12);
  transition: var(--transition);
  position: relative;
  width: 100%;
}

/* Only horizontal scroll sections get fixed-width snap cards */
.products-scroll .product-card {
  min-width: 270px;
  max-width: 290px;
  width: 75vw;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 162, 39, 0.35);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-100);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: var(--transition);
  font-size: 1.1rem;
}

.wishlist-btn:hover, .wishlist-btn.active {
  color: #C0392B;
  background: white;
}

.product-body {
  padding: 14px;
}

.product-type {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 4px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--black);
}

.product-short {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.stars {
  color: var(--gold);
  letter-spacing: 1px;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
}

.mrp {
  font-size: 0.85rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.discount {
  font-size: 0.75rem;
  color: #27AE60;
  font-weight: 600;
}

.size-selector {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.size-btn {
  padding: 8px 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  min-height: 36px;
}

.size-btn.active {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
  color: var(--black);
  font-weight: 600;
}

.product-actions {
  display: flex;
  gap: 8px;
}

.product-actions .btn {
  flex: 1;
  padding: 10px;
  font-size: 0.75rem;
}

/* ========== SHOP BY CATEGORY ========== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 0 16px;
}

.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1.1;
  background: var(--black);
  border: 1px solid rgba(201, 162, 39, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.cat-card:hover {
  transform: scale(1.02);
  border-color: var(--gold);
}

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

.cat-card:hover img {
  opacity: 0.85;
  transform: scale(1.05);
}

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.cat-card-title {
  color: var(--champagne);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

/* ========== WHY CHOOSE US ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0 16px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid rgba(201, 162, 39, 0.15);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, rgba(201,162,39,0.15), rgba(201,162,39,0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========== ABOUT ========== */
.about-section {
  background: var(--black);
  color: var(--champagne);
  padding: 48px 20px;
  text-align: center;
}

.about-section .section-title {
  color: var(--champagne);
}

.about-text {
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(245,230,200,0.8);
}

/* ========== REVIEWS ========== */
.reviews-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 16px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.reviews-scroll::-webkit-scrollbar { display: none; }

.review-card {
  min-width: 280px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201,162,39,0.12);
}

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

.review-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.review-stars {
  color: var(--gold);
  font-size: 0.85rem;
}

.review-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.demo-tag {
  font-size: 0.65rem;
  color: var(--gray-400);
  margin-top: 8px;
  font-style: italic;
}

/* ========== CONTACT ========== */
.contact-section {
  padding: 40px 16px;
  text-align: center;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  margin: 24px auto 0;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.contact-btn.whatsapp {
  background: #25D366;
  color: white;
}

.contact-btn.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
}

.contact-btn.email {
  background: var(--black);
  color: var(--champagne);
}

.contact-btn.phone {
  background: var(--emerald);
  color: white;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--black);
  color: rgba(245,230,200,0.75);
  padding: 40px 16px 100px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--champagne);
  margin-bottom: 20px;
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-col h4 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(201,162,39,0.15);
  font-size: 0.8rem;
}

.powered-by {
  margin-top: 8px;
  color: var(--gold);
  font-weight: 500;
}

/* ========== BOTTOM NAV ========== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(184,134,11,0.2);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #8a857c;
  font-size: 0.65rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 6px 12px;
}

.nav-item.active {
  color: #B8860B;
}

.nav-item i {
  font-size: 1.25rem;
}

.nav-cart-count {
  position: absolute;
  top: 0;
  right: 4px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== PRODUCT DETAIL MODAL ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 2500;
  display: none;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--ivory);
  width: 100%;
  max-width: 500px;
  max-height: 94vh;
  height: auto;
  border-radius: 20px 20px 0 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding-bottom: 30px;
}

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

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-size: 1.2rem;
}

.modal-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  max-height: 42vh;
  background: #0a0a0a;
}
body.modal-open .bottom-nav,
body.cart-open .bottom-nav,
body.checkout-open .bottom-nav {
  display: none !important;
}
.modal-img {
  max-height: 45vh;
  object-fit: contain;
  background: #111;
}


.modal-body {
  padding: 20px;
}

.modal-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.modal-type {
  font-size: 0.75rem;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.modal-price {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 12px 0;
}

.notes-grid {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.note-item {
  background: var(--white);
  padding: 12px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}

.note-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  font-weight: 600;
}

.note-value {
  font-size: 0.9rem;
  margin-top: 2px;
}

.qty-selector {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 600;
}

.qty-value {
  font-size: 1.2rem;
  font-weight: 600;
  min-width: 30px;
  text-align: center;
}

/* ========== CART DRAWER ========== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--ivory);
  z-index: 2100;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,0.2);
}

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

.cart-header {
  padding: 16px 20px;
  background: var(--black);
  color: var(--champagne);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
}

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.cart-item-size {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-item-price {
  font-weight: 700;
  margin-top: 4px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.cart-item-qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 1rem;
}

.remove-item {
  color: #C0392B;
  font-size: 0.8rem;
  margin-top: 4px;
}

.cart-footer {
  padding: 16px 20px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.cart-total {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--gray-200);
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

/* ========== CHECKOUT ========== */
.checkout-page {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 2200;
  overflow-y: auto;
  padding-bottom: 40px;
}

.checkout-page.open {
  display: block;
}

.checkout-header {
  background: var(--black);
  color: var(--champagne);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.checkout-form {
  padding: 20px 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
}

.payment-option.selected {
  border-color: var(--gold);
  background: rgba(201,162,39,0.08);
}

.payment-option input {
  accent-color: var(--gold);
}

.order-summary-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  margin: 20px 0;
  border: 1px solid rgba(201,162,39,0.15);
}

/* ========== ORDER CONFIRMATION ========== */
.confirmation-page {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 2300;
  overflow-y: auto;
  text-align: center;
  padding: 40px 20px;
}

.confirmation-page.open {
  display: block;
}

.confirm-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.5rem;
  color: var(--black);
}

.confirm-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.confirm-details {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  margin: 24px auto;
  max-width: 400px;
  text-align: left;
  border: 1px solid rgba(201,162,39,0.15);
}

/* ========== PAGE SECTIONS VISIBILITY ========== */
.page-section {
  display: none;
}

.page-section.active {
  display: block;
}

#home-page.active {
  display: block;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .bottom-nav {
    display: none;
  }

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

  .logo-text {
    font-size: 1.25rem;
  }

  .hero {
    min-height: 520px;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0 32px;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 32px;
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
    padding: 0 32px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .modal {
    border-radius: 20px;
    max-height: 90vh;
    margin: auto;
  }

  .modal-overlay {
    align-items: center;
  }

  .footer {
    padding-bottom: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .container {
    padding: 0 32px;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Loading spinner */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(201,162,39,0.3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Toast */
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--black);
  color: var(--champagne);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  z-index: 3000;
  opacity: 0;
  transition: all 0.35s;
  border: 1px solid rgba(201,162,39,0.3);
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 768px) {
  .toast {
    bottom: 40px;
  }
}