/* ═══════════════════════════════════════════
   BakerBliss – Premium CSS Design System
   Inspired by Bakingo.com
═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --pink: #E8185A;
  --pink-dark: #c4134a;
  --pink-light: #fce4ec;
  --pink-glow: rgba(232, 24, 90, 0.2);
  --gold: #d4af37;
  --gold-light: #f5e6a3;
  --cream: #fff9f0;
  --white: #ffffff;
  --grey-50: #fafafa;
  --grey-100: #f5f5f5;
  --grey-200: #eeeeee;
  --grey-300: #e0e0e0;
  --grey-600: #757575;
  --grey-800: #424242;
  --dark: #1a1a2e;
  --dark-2: #16213e;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-pink: 0 8px 30px rgba(232, 24, 90, 0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--grey-50);
  color: var(--grey-800);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Toast ── */
.toast {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 9999;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 240px;
  max-width: 360px;
  box-shadow: var(--shadow-md);
  transform: translateX(400px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show { transform: translateX(0); }
.toast.success { background: #e8f5e9; color: #2e7d32; border-left: 4px solid #4caf50; }
.toast.error { background: #fce4ec; color: #b71c1c; border-left: 4px solid #e8185a; }
.toast.info { background: #e3f2fd; color: #1565c0; border-left: 4px solid #2196f3; }

/* ── Announcement Bar ── */
.announcement-bar {
  background: linear-gradient(90deg, var(--pink) 0%, #ff6b6b 50%, var(--pink) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  color: white;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px;
  letter-spacing: 0.3px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Header / Navbar ── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow-md); }

.navbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon { font-size: 1.8rem; }
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.logo-accent { color: var(--pink); }

.search-bar {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--grey-100);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid transparent;
  transition: var(--transition);
  max-width: 560px;
}
.search-bar:focus-within {
  border-color: var(--pink-light);
  background: white;
  box-shadow: 0 0 0 4px var(--pink-glow);
}
.search-bar input {
  flex: 1;
  border: none;
  background: none;
  padding: 12px 16px;
  font-size: 0.9rem;
  outline: none;
  color: var(--grey-800);
}
.search-bar input::placeholder { color: var(--grey-600); }
.search-btn {
  padding: 10px 18px;
  font-size: 1rem;
  background: var(--pink);
  color: white;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  transition: var(--transition);
}
.search-btn:hover { background: var(--pink-dark); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.location-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--pink-light);
  color: var(--pink);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
}
.nav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--grey-100);
  color: var(--grey-800);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-btn:hover { background: var(--pink-light); color: var(--pink); }
.wishlist-btn { padding: 8px 12px; font-size: 1.1rem; }
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--pink);
  color: white;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: var(--shadow-pink);
}
.cart-btn:hover { background: var(--pink-dark); transform: translateY(-2px); }
.cart-count {
  background: white;
  color: var(--pink);
  font-size: 0.75rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Category Nav ── */
.cat-nav {
  display: flex;
  gap: 8px;
  padding: 10px 32px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--white);
  border-top: 1px solid var(--grey-200);
  max-width: 100%;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-pill {
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  background: var(--grey-100);
  color: var(--grey-800);
  border: 2px solid transparent;
  transition: var(--transition);
}
.cat-pill:hover { background: var(--pink-light); color: var(--pink); border-color: var(--pink); }
.cat-pill.active { background: var(--pink); color: white; border-color: var(--pink); box-shadow: var(--shadow-pink); }
.eggless-pill { background: #e8f5e9; color: #2e7d32; border-color: #a5d6a7; }
.eggless-pill.active { background: #2e7d32; color: white; border-color: #2e7d32; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroScale 8s ease-in-out infinite alternate;
}
@keyframes heroScale {
  0% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(232,24,90,0.4) 50%, rgba(26,26,46,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 60px 80px;
  animation: slideUp 0.8s ease-out;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.hero-accent { color: #ff6b9d; }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  align-items: center;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  color: white;
}
.hero-stat strong { font-size: 1.4rem; font-weight: 800; }
.hero-stat span { font-size: 0.75rem; opacity: 0.8; }
.hero-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.3); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero {
  padding: 14px 32px;
  background: var(--pink);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-pink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero:hover { background: var(--pink-dark); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(232,24,90,0.5); }
.btn-hero-outline {
  padding: 14px 32px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.5);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }

.delivery-badge {
  position: absolute;
  bottom: 40px;
  right: 60px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 1s ease-out 0.5s both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.db-icon { font-size: 2rem; }
.delivery-badge strong { display: block; font-weight: 700; color: var(--pink); }
.delivery-badge span { font-size: 0.78rem; color: var(--grey-600); }

/* ── Features Strip ── */
.features-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--dark);
  padding: 0 32px;
}
.feature-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}
.feature-card:last-child { border-right: none; }
.feature-card:hover { background: rgba(232,24,90,0.15); }
.feat-icon { font-size: 2rem; flex-shrink: 0; }
.feature-card h4 { color: white; font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.feature-card p { color: rgba(255,255,255,0.6); font-size: 0.78rem; }

/* ── Products Section ── */
.products-section {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 32px;
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 10px;
}
.accent { color: var(--pink); }
.section-sub { color: var(--grey-600); font-size: 1rem; }

.sort-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 14px 20px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.sort-label { font-size: 0.88rem; font-weight: 600; color: var(--grey-600); }
.sort-select {
  padding: 8px 14px;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  background: white;
  color: var(--grey-800);
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}
.sort-select:focus { border-color: var(--pink); }
.result-count { margin-left: auto; font-size: 0.82rem; color: var(--grey-600); }

/* ── Product Grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ── Product Card ── */
.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  animation: cardIn 0.5s ease-out both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--grey-100);
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .card-img-wrap img { transform: scale(1.08); }

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 1;
}
.tag-bestseller { background: var(--pink); color: white; }
.tag-new { background: #4caf50; color: white; }
.tag-trending { background: #ff6b35; color: white; }
.tag-premium { background: var(--gold); color: white; }

.card-eggless {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 1;
}

.card-wishlist {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 1;
  opacity: 0;
}
.product-card:hover .card-wishlist { opacity: 1; }
.card-wishlist:hover { background: var(--pink-light); transform: scale(1.1); }

.card-body { padding: 16px; }
.card-category { font-size: 0.72rem; font-weight: 700; color: var(--pink); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.card-name { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.3; }
.card-desc { font-size: 0.78rem; color: var(--grey-600); margin-bottom: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #f57c00;
}
.card-reviews { font-size: 0.75rem; color: var(--grey-600); }
.card-delivery {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  color: #2e7d32;
  background: #e8f5e9;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
}
.card-price span { font-size: 0.82rem; color: var(--grey-600); font-weight: 400; }

.weight-select {
  padding: 5px 8px;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  background: white;
  color: var(--grey-800);
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}
.weight-select:focus { border-color: var(--pink); }

.btn-add {
  padding: 10px 18px;
  background: var(--pink);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-add:hover { background: var(--pink-dark); transform: scale(1.05); }
.btn-add:active { transform: scale(0.98); }

/* ── Loading ── */
.loading-spinner {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 60px;
  color: var(--grey-600);
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--pink-light);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px;
  color: var(--grey-600);
}
.no-results h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 10px; }

/* ── Occasions Section ── */
.occasions-section {
  background: var(--cream);
  padding: 60px 32px;
}
.occasions-section .section-header { margin-bottom: 36px; }
.occasion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.occasion-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
}
.occasion-card:hover {
  border-color: var(--pink);
  transform: translateY(-6px);
  box-shadow: var(--shadow-pink);
}
.occ-icon { font-size: 2.5rem; margin-bottom: 12px; }
.occasion-card h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.occasion-card p { font-size: 0.75rem; color: var(--grey-600); }

/* ── Testimonials ── */
.testimonials-section {
  padding: 60px 32px;
  max-width: 1400px;
  margin: 0 auto;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--pink);
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.test-stars { font-size: 1rem; margin-bottom: 12px; }
.testimonial-card p { font-size: 0.9rem; color: var(--grey-600); line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--pink), #ff6b9d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.test-author strong { display: block; font-weight: 700; font-size: 0.9rem; color: var(--dark); }
.test-author span { font-size: 0.75rem; color: var(--grey-600); }

/* ── Cart Drawer ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  backdrop-filter: blur(4px);
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 420px;
  max-width: 100vw;
  background: white;
  z-index: 2001;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.2);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  padding: 20px 24px;
  border-bottom: 2px solid var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--pink);
  color: white;
}
.cart-header h3 { font-family: var(--font-heading); font-size: 1.3rem; }
.cart-close {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: white;
  transition: var(--transition);
}
.cart-close:hover { background: rgba(255,255,255,0.4); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  scrollbar-width: thin;
}
.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--grey-200);
  animation: cardIn 0.3s ease-out;
}
.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 0.9rem; color: var(--dark); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-weight { font-size: 0.75rem; color: var(--grey-600); margin-bottom: 8px; }
.cart-item-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 28px; height: 28px;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--grey-800);
  transition: var(--transition);
}
.qty-btn:hover { border-color: var(--pink); color: var(--pink); }
.qty-val { font-weight: 700; font-size: 0.9rem; min-width: 20px; text-align: center; }
.cart-item-price {
  font-weight: 800;
  font-size: 1rem;
  color: var(--pink);
  flex-shrink: 0;
  align-self: center;
}
.cart-remove {
  font-size: 0.75rem;
  color: var(--grey-600);
  text-decoration: underline;
  transition: var(--transition);
}
.cart-remove:hover { color: var(--pink); }

.cart-footer {
  padding: 20px 24px;
  border-top: 2px solid var(--grey-200);
  background: var(--grey-50);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--grey-800);
}
.cart-total-row.total {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  padding-top: 10px;
  border-top: 1px solid var(--grey-300);
  margin-top: 4px;
  margin-bottom: 16px;
}
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 12px;
  color: var(--grey-600);
  padding: 40px;
  font-size: 0.9rem;
}
.cart-empty > div { font-size: 3rem; }
.cart-empty p { font-family: var(--font-heading); font-size: 1.1rem; color: var(--grey-800); }

/* ── Buttons ── */
.btn-primary {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--pink), #ff6b9d);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  border: none;
  box-shadow: var(--shadow-pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(232,24,90,0.4); filter: brightness(1.05); }
.btn-primary:active { transform: translateY(0); }
.btn-primary.full { width: 100%; }
.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.btn-outline {
  padding: 12px 24px;
  background: transparent;
  border: 2px solid var(--pink);
  color: var(--pink);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}
.btn-outline:hover { background: var(--pink-light); }

/* ── Auth Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  padding: 20px;
}
.modal-overlay.hidden { display: none; }
.modal-box {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px; height: 36px;
  background: var(--grey-100);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--grey-600);
  transition: var(--transition);
}
.modal-close:hover { background: var(--pink-light); color: var(--pink); }

.auth-tabs {
  display: flex;
  background: var(--grey-100);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 28px;
}
.auth-tab {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--grey-600);
  transition: var(--transition);
}
.auth-tab.active {
  background: var(--pink);
  color: white;
  box-shadow: var(--shadow-pink);
}

.auth-header { text-align: center; margin-bottom: 24px; }
.auth-icon { font-size: 2.5rem; margin-bottom: 8px; }
.auth-header h2 { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.auth-header p { font-size: 0.88rem; color: var(--grey-600); }

.demo-creds {
  background: var(--pink-light);
  border: 1px solid var(--pink);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--pink-dark);
  margin-bottom: 20px;
}

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--grey-800);
  margin-bottom: 6px;
}
.form-group .hint { font-weight: 400; color: var(--grey-600); font-size: 0.78rem; }
.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  color: var(--grey-800);
  background: white;
}
.form-group input:focus { border-color: var(--pink); box-shadow: 0 0 0 4px var(--pink-glow); }
.form-group input::placeholder { color: var(--grey-600); }
.input-wrap { position: relative; }
.input-wrap input { padding-right: 48px; }
.toggle-pw {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--grey-600);
  transition: var(--transition);
}
.toggle-pw:hover { color: var(--pink); }

.auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--grey-600);
}
.auth-switch a { color: var(--pink); font-weight: 700; }
.auth-switch a:hover { text-decoration: underline; }

/* ── Footer ── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 32px 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto 40px;
}
.footer-logo { font-family: var(--font-heading); font-size: 1.6rem; color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
  padding: 8px 14px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  transition: var(--transition);
}
.social-btn:hover { background: var(--pink); color: white; }
.footer-col h4 { color: white; font-weight: 700; font-size: 0.95rem; margin-bottom: 14px; }
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
  opacity: 0.75;
  transition: var(--transition);
  line-height: 1.6;
}
.footer-col a:hover { opacity: 1; color: var(--pink); padding-left: 4px; }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 0.8rem; opacity: 0.6; }
.payment-icons { font-size: 0.8rem; opacity: 0.7; }

/* ── Hidden / Utility ── */
.hidden { display: none !important; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { padding: 40px 48px; }
}
@media (max-width: 768px) {
  .navbar { padding: 12px 16px; gap: 10px; }
  .search-bar { display: none; }
  .location-pill { display: none; }
  .hero-content { padding: 30px 24px; }
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 12px; }
  .delivery-badge { display: none; }
  .features-strip { grid-template-columns: 1fr 1fr; }
  .products-section { padding: 0 16px; margin: 40px auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer { padding: 40px 16px 20px; }
  .occasions-section { padding: 40px 16px; }
  .testimonials-section { padding: 40px 16px; }
  .cart-drawer { width: 100vw; }
}
@media (max-width: 480px) {
  .features-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-hero, .btn-hero-outline { width: 100%; justify-content: center; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
