@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Nunito:wght@300;400;500;600;700&family=Kalam:wght@400;700&display=swap');

:root {
  --saffron: #E8863A;
  --saffron-light: #F5A45D;
  --saffron-pale: #FDF0E3;
  --cardamom: #4A6741;
  --cardamom-light: #6B8F62;
  --cardamom-pale: #EFF5EE;
  --rose: #C9606A;
  --rose-light: #E0909A;
  --rose-pale: #FDEEF0;
  --cream: #FAF5EC;
  --warm-white: #FFFCF5;
  --parchment: #F2E8D0;
  --dark-brown: #2D1B0E;
  --medium-brown: #5C3D1E;
  --light-brown: #9C6B3C;
  --text-dark: #1E0E00;
  --text-medium: #5C3D1E;
  --text-light: #9C7B5A;
  --shadow-warm: rgba(45, 27, 14, 0.12);
  --shadow-warm-deep: rgba(45, 27, 14, 0.22);
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
}

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

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--warm-white);
  color: var(--text-dark);
  overflow-x: hidden;
  background-image: radial-gradient(circle at 1px 1px, rgba(232,134,58,0.07) 1px, transparent 0);
  background-size: 28px 28px;
}

/* Pattern helpers */
.pattern-cream {
  background-color: var(--cream);
  background-image: radial-gradient(circle at 1px 1px, rgba(232,134,58,0.09) 1px, transparent 0);
  background-size: 28px 28px;
}
.pattern-diagonal {
  background-color: var(--saffron-pale);
  background-image: repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(232,134,58,0.06) 18px, rgba(232,134,58,0.06) 19px);
}
.pattern-leaf {
  background-color: var(--cream);
  background-image: radial-gradient(ellipse 3px 6px at 50% 50%, rgba(74,103,65,0.07) 100%, transparent 100%);
  background-size: 22px 22px;
}
.pattern-rangoli { position: relative; overflow: hidden; }
.pattern-rangoli::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(232,134,58,0.10) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(201,96,106,0.07) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(74,103,65,0.06) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(232,134,58,0.06) 0%, transparent 40%);
  z-index: 0;
}
.pattern-rangoli > * { position: relative; z-index: 1; }

/* Utilities */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.btn-primary {
  display: inline-block; background: var(--saffron); color: #fff;
  padding: 13px 32px; border-radius: 50px;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer; letter-spacing: 0.4px;
  transition: all 0.3s ease; text-decoration: none;
  box-shadow: 0 4px 16px rgba(232, 134, 58, 0.35);
}
.btn-primary:hover { background: #d9722a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232, 134, 58, 0.45); }

.btn-outline {
  display: inline-block; background: transparent; color: var(--saffron);
  padding: 12px 30px; border-radius: 50px;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 15px;
  border: 2px solid var(--saffron); cursor: pointer; letter-spacing: 0.4px;
  transition: all 0.3s ease; text-decoration: none;
}
.btn-outline:hover { background: var(--saffron); color: #fff; transform: translateY(-2px); }

.section-title { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 42px); color: var(--dark-brown); line-height: 1.2; }
.section-subtitle { font-size: 15px; color: var(--text-light); font-weight: 400; line-height: 1.7; max-width: 540px; }
.tag-label { display: inline-block; font-family: 'Kalam', cursive; font-size: 13px; color: var(--saffron); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }

/* ════ NAVBAR ════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250, 245, 236, 0.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 134, 58, 0.15);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px var(--shadow-warm); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; position: relative;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0; z-index: 1001;
}
.nav-logo .logo-mark {
  width: 40px; height: 40px; background: var(--saffron); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; flex-shrink: 0;
}
.nav-logo .logo-text { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--dark-brown); line-height: 1; }
.nav-logo .logo-tagline { font-family: 'Kalam', cursive; font-size: 10px; color: var(--saffron); display: block; letter-spacing: 0.8px; }

.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; font-size: 14px; font-weight: 600; color: var(--medium-brown);
  letter-spacing: 0.3px; transition: color 0.2s; position: relative; white-space: nowrap;
}
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px; background: var(--saffron); border-radius: 2px; transition: width 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--saffron); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 10px; z-index: 1001; }
.nav-icon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: var(--parchment); cursor: pointer; display: flex; align-items: center;
  justify-content: center; font-size: 17px; position: relative;
  transition: background 0.2s; text-decoration: none; color: var(--medium-brown); flex-shrink: 0;
}
.nav-icon-btn:hover { background: var(--saffron-pale); }
.nav-icon-btn .badge {
  position: absolute; top: -4px; right: -4px; width: 17px; height: 17px;
  background: var(--rose); border-radius: 50%; font-size: 9px; font-weight: 700;
  color: white; display: flex; align-items: center; justify-content: center;
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 6px; z-index: 1001;
  border-radius: 8px; transition: background 0.2s;
}
.hamburger:hover { background: var(--parchment); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--medium-brown); border-radius: 2px; transition: all 0.35s cubic-bezier(0.4,0,0.2,1); transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.nav-drawer {
  position: fixed; top: 68px; left: 0; right: 0;
  background: rgba(250,245,236,0.98);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(232,134,58,0.18);
  padding: 0 24px 24px; box-shadow: 0 12px 40px var(--shadow-warm-deep);
  z-index: 999; pointer-events: none; opacity: 0;
  transform: translateY(-12px);
  transition: transform 0.32s ease, opacity 0.32s ease;
  /* Pattern inside drawer */
  background-image: radial-gradient(circle at 1px 1px, rgba(232,134,58,0.05) 1px, transparent 0);
  background-size: 22px 22px;
}
.nav-drawer.open { pointer-events: all; opacity: 1; transform: translateY(0); }

.nav-drawer ul { list-style: none; }
.nav-drawer ul li { border-bottom: 1px solid rgba(232,134,58,0.12); }
.nav-drawer ul li:last-child { border-bottom: none; }
.nav-drawer ul li a {
  display: flex; align-items: center; gap: 12px; padding: 15px 4px;
  text-decoration: none; font-size: 15px; font-weight: 700; color: var(--medium-brown); transition: color 0.2s;
}
.nav-drawer ul li a:hover, .nav-drawer ul li a.active { color: var(--saffron); }
.nav-drawer ul li a .link-icon { font-size: 20px; width: 28px; text-align: center; }
.nav-drawer-actions { display: flex; gap: 12px; padding-top: 20px; }
.nav-drawer-actions a {
  flex: 1; text-align: center; padding: 13px; border-radius: 12px;
  font-size: 14px; font-weight: 700; text-decoration: none; transition: all 0.2s;
}
.drawer-cart-btn { background: var(--parchment); color: var(--medium-brown); }
.drawer-cart-btn:hover { background: var(--saffron-pale); }
.drawer-order-btn { background: var(--saffron); color: white; box-shadow: 0 4px 14px rgba(232,134,58,0.35); }
.drawer-order-btn:hover { background: #d9722a; }

/* ════ WHATSAPP FLOAT ════ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 9000;
}
.wa-bubble {
  display: flex; align-items: center; gap: 10px;
  background: var(--whatsapp); color: white;
  border-radius: 50px; padding: 12px 20px 12px 12px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.42);
  text-decoration: none; cursor: pointer; position: relative;
  transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275);
  white-space: nowrap;
  animation: waPop 0.55s 1.2s cubic-bezier(0.175,0.885,0.32,1.275) both;
}
.wa-bubble:hover { background: var(--whatsapp-dark); transform: scale(1.05) translateY(-3px); box-shadow: 0 10px 32px rgba(37,211,102,0.52); }
.wa-bubble::after {
  content: ''; position: absolute; inset: 0; border-radius: 50px;
  border: 2.5px solid var(--whatsapp); pointer-events: none;
  animation: waPulse 2.8s ease-out infinite;
}
.wa-icon {
  width: 36px; height: 36px; background: rgba(255,255,255,0.20); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.wa-text { font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 800; line-height: 1.2; }
.wa-sub  { font-size: 10px; opacity: 0.82; font-weight: 400; }

@keyframes waPulse {
  0%  { transform: scale(1);    opacity: 0.7; }
  70% { transform: scale(1.20); opacity: 0; }
  100%{ transform: scale(1.20); opacity: 0; }
}
@keyframes waPop {
  from { transform: scale(0.4) translateY(20px); opacity: 0; }
  to   { transform: scale(1)   translateY(0);    opacity: 1; }
}

/* Toast sits above WA button */
.toast {
  position: fixed; bottom: 110px; right: 28px;
  background: var(--dark-brown); color: var(--parchment);
  padding: 13px 20px; border-radius: 12px;
  font-size: 14px; font-weight: 600; z-index: 9999;
  transform: translateY(16px); opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none; max-width: 280px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ════ FOOTER ════ */
footer {
  background: var(--dark-brown); color: rgba(255,255,255,0.75);
  padding: 64px 0 0; position: relative; overflow: hidden;
}
footer::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 24px 24px; pointer-events: none;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1); position: relative;
}
.footer-brand .logo-text { color: var(--parchment); }
.footer-brand .logo-tagline { color: var(--saffron-light); }
.footer-brand p { font-size: 13px; line-height: 1.8; margin-top: 16px; }
.footer-col h4 { font-family: 'Playfair Display', serif; font-size: 16px; color: var(--parchment); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { text-decoration: none; color: rgba(255,255,255,0.65); font-size: 13px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--saffron-light); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; font-size: 12px; color: rgba(255,255,255,0.4); position: relative; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 34px; height: 34px; background: rgba(255,255,255,0.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: background 0.2s;
}
.social-links a:hover { background: var(--saffron); color: white; }

/* ════ PRODUCT CARD ════ */
.product-card {
  background: var(--warm-white); border-radius: 20px; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s; box-shadow: 0 2px 12px var(--shadow-warm); position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px var(--shadow-warm-deep); }
.product-card .badge-tag {
  position: absolute; top: 14px; left: 14px; background: var(--rose); color: white;
  font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px; z-index: 2;
}
.product-card .badge-tag.new { background: var(--cardamom); }
.product-card .badge-tag.bestseller { background: var(--saffron); }
.card-img { width: 100%; height: 200px; object-fit: cover; background: var(--parchment); display: flex; align-items: center; justify-content: center; font-size: 72px; }
.card-body { padding: 18px 20px 22px; }
.card-category { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--saffron); margin-bottom: 6px; }
.card-title { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--dark-brown); margin-bottom: 6px; }
.card-desc { font-size: 13px; color: var(--text-light); line-height: 1.6; margin-bottom: 14px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; }
.price { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--dark-brown); }
.price .unit { font-size: 12px; font-family: 'Nunito', sans-serif; color: var(--text-light); font-weight: 400; }
.price .original { font-size: 14px; color: var(--text-light); text-decoration: line-through; font-family: 'Nunito', sans-serif; font-weight: 400; }
.add-to-cart-btn {
  width: 38px; height: 38px; border-radius: 50%; background: var(--saffron); border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 18px; transition: all 0.2s; box-shadow: 0 4px 12px rgba(232,134,58,0.4);
}
.add-to-cart-btn:hover { background: #d9722a; transform: scale(1.1); }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-light); margin-bottom: 32px; }
.breadcrumb a { color: var(--saffron); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-light); }

/* Stars */
.stars { color: var(--saffron); font-size: 14px; letter-spacing: 1px; }
.rating-count { font-size: 12px; color: var(--text-light); margin-left: 6px; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--medium-brown); margin-bottom: 8px; letter-spacing: 0.3px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--parchment); border-radius: 12px;
  font-family: 'Nunito', sans-serif; font-size: 14px; color: var(--text-dark);
  background: var(--warm-white); transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(232, 134, 58, 0.12); }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.animate-in { animation: fadeInUp 0.7s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.1s; } .delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; } .delay-4 { animation-delay: 0.4s; }

/* ════ RESPONSIVE ════ */
@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .nav-actions .btn-primary { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .wa-text, .wa-sub { display: none; }
  .wa-bubble { padding: 14px; border-radius: 50%; }
  .wa-icon { background: transparent; width: 28px; height: 28px; }
  .whatsapp-float { bottom: 20px; right: 16px; }
  .toast { right: 16px; bottom: 92px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .nav-logo .logo-text { font-size: 17px; }
}
