/* =====================================================
   PANWAALA.IN — PREMIUM GREEN & GOLD THEME
===================================================== */
:root{
  --primary:#1a4d2e;
  --primary-light:#2d6a3f;
  --primary-dark:#0d2b1a;
  --gold:#c9a84c;
  --gold-light:#e8d5a3;
  --gold-gradient:linear-gradient(135deg,#c9a84c,#f0d080);
  --cream:#fdf8f0;
  --dark:#0f0f1a;
  --shadow:0 20px 60px rgba(0,0,0,.12);
  --shadow-hover:0 30px 80px rgba(0,0,0,.18);
  --radius:20px;
  --transition:all .4s cubic-bezier(.23,1,.32,1);
}
*{box-sizing:border-box;}
body{ font-family:'Inter',Arial,sans-serif; background:var(--cream); color:var(--dark); overflow-x:hidden; }
h1,h2,h3,.brand-font{ font-family:'Playfair Display', serif; }
::-webkit-scrollbar{ width:8px; }
::-webkit-scrollbar-thumb{ background:var(--primary); border-radius:10px; }
::-webkit-scrollbar-thumb:hover{ background:var(--gold); }

/* ---------- TOP BAR ---------- */
.top-bar{ background:var(--primary-dark); color:rgba(255,255,255,.85); font-size:.82rem; }
.top-bar a{ color:rgba(255,255,255,.75); text-decoration:none; transition:var(--transition); }
.top-bar a:hover{ color:var(--gold); }

/* ---------- NAVBAR ---------- */
.navbar{ background:rgba(255,255,255,.97) !important; backdrop-filter:blur(16px); box-shadow:0 4px 30px rgba(0,0,0,.06); transition:var(--transition); }
.navbar-brand{ font-family:'Playfair Display',serif; font-weight:900; font-size:1.7rem; color:var(--primary) !important; }
.navbar-brand .gold-text{ color:var(--gold); }
.nav-link{ font-weight:500; color:var(--dark) !important; border-radius:50px; transition:var(--transition); }
.nav-link:hover{ color:var(--primary) !important; background:rgba(26,77,46,.06); }
.badge-count{ background:var(--gold); color:var(--primary-dark); border-radius:50%; font-size:.65rem; padding:2px 6px; font-weight:700; }

/* ---------- HERO SLIDER ---------- */
.hero-slider .carousel-item{ height:70vh; min-height:420px; max-height:560px; background-size:cover; background-position:center center; background-repeat:no-repeat; position:relative; }
/* NOTE: no dark overlay on the hero image (::after) - original banner image shows unobstructed. Caption text relies on text-shadow for readability instead. */

/* ---------- BRAND LOGO ---------- */
.brand-logo-img{ height:48px; width:auto; max-width:220px; object-fit:contain; }

/* ---------- HERO SEARCH BAR ---------- */
.hero-search{ max-width:520px; margin:0 auto 28px; animation:fadeInUp .8s ease .25s both; }
.hero-search .input-group{ box-shadow:0 10px 30px rgba(0,0,0,.25); border-radius:50px; overflow:hidden; }
.hero-search input{ border:none; padding:14px 22px; font-size:.95rem; }
.hero-search input:focus{ box-shadow:none; }
.hero-search button{ background:var(--gold-gradient); border:none; color:var(--primary-dark); padding:0 26px; font-weight:700; }

/* ---------- DECORATIVE LEAF MOTIFS ---------- */
/* Subtle gold leaf line-art in section corners, echoing the shop's branding */
.leaf-decor{ position:relative; }
.leaf-decor::before, .leaf-decor::after{
  content:'';
  position:absolute;
  width:90px; height:90px;
  background-repeat:no-repeat;
  background-size:contain;
  opacity:.15;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='none' stroke='%23c9a84c' stroke-width='2' d='M50 5C20 25 15 60 40 90C55 70 30 55 50 5Z'/%3E%3Cpath fill='none' stroke='%23c9a84c' stroke-width='1.5' d='M50 15C55 40 55 55 42 80'/%3E%3C/svg%3E");
}
.leaf-decor::before{ top:-10px; left:-10px; transform:rotate(-20deg); }
.leaf-decor::after{ bottom:-10px; right:-10px; transform:rotate(160deg); }
.hero-slide-content{ position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); z-index:2; text-align:center; color:#fff; width:90%; max-width:820px; text-shadow:0 2px 12px rgba(0,0,0,.85), 0 4px 30px rgba(0,0,0,.7); }
.hero-badge{ display:inline-block; background:var(--gold-gradient); color:var(--primary-dark); padding:6px 26px; border-radius:50px; font-weight:700; font-size:.78rem; text-transform:uppercase; letter-spacing:2.5px; margin-bottom:22px; animation:fadeInUp .8s ease; }
.hero-slide-content h1{ font-weight:900; font-size:3.6rem; line-height:1.1; margin-bottom:18px; animation:fadeInUp .8s ease .1s both; }
.hero-slide-content h1 .gold-text{ color:var(--gold); }
.hero-slide-content p{ font-size:1.15rem; opacity:.95; max-width:600px; margin:0 auto 30px; animation:fadeInUp .8s ease .2s both; }
.hero-slide-content .btn{ padding:14px 40px; border-radius:50px; font-weight:700; animation:fadeInUp .8s ease .3s both; }
.btn-gold{ background:var(--gold-gradient); color:var(--primary-dark); border:none; box-shadow:0 10px 30px rgba(201,168,76,.4); }
.btn-gold:hover{ transform:translateY(-3px) scale(1.02); box-shadow:0 15px 45px rgba(201,168,76,.5); color:var(--primary-dark); }
@keyframes fadeInUp{ from{opacity:0; transform:translateY(30px);} to{opacity:1; transform:translateY(0);} }

.hero-slider .carousel-indicators button{ width:12px; height:12px; border-radius:50%; border:2px solid rgba(255,255,255,.8); background:transparent; }
.hero-slider .carousel-indicators button.active{ background:var(--gold); border-color:var(--gold); }
.hero-slider .carousel-control-prev, .hero-slider .carousel-control-next{ width:54px; height:54px; top:50%; transform:translateY(-50%); background:rgba(255,255,255,.15); border-radius:50%; opacity:0; transition:var(--transition); }
.hero-slider:hover .carousel-control-prev, .hero-slider:hover .carousel-control-next{ opacity:1; }

/* ---------- FEATURES STRIP ---------- */
.features-strip{ background:var(--primary-dark); color:#fff; padding:36px 0; }
.features-strip i{ font-size:1.8rem; background:var(--gold-gradient); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.features-strip h6{ font-weight:600; margin:.4rem 0 0; }
.features-strip p{ color:rgba(255,255,255,.6); font-size:.82rem; margin:0; }

/* ---------- SECTION HEADER ---------- */
.section-header{ text-align:center; margin-bottom:44px; }
.section-label{ display:inline-block; background:rgba(26,77,46,.08); color:var(--primary); padding:4px 18px; border-radius:50px; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:2px; margin-bottom:10px; }
.section-header h2{ font-weight:900; font-size:2.5rem; }
.section-header h2 .gold-text{ color:var(--gold); }
.section-header p{ color:#666; max-width:520px; margin:0 auto; }

/* ---------- CATEGORY CARDS ---------- */
.category-card{ background:#fff; border-radius:var(--radius); padding:0 0 18px; text-align:center; box-shadow:var(--shadow); transition:var(--transition); text-decoration:none; color:var(--dark); display:block; height:100%; border:2px solid transparent; overflow:hidden; }
.category-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-hover); border-color:var(--gold); color:var(--dark); }
.category-icon{ width:100%; aspect-ratio:1/1; border-radius:0; background:rgba(26,77,46,.07); display:flex; align-items:center; justify-content:center; margin:0 0 16px; font-size:3rem; color:var(--primary); transition:var(--transition); overflow:hidden; }
.category-icon img{ width:100%; height:100%; object-fit:cover; object-position:center top; transition:var(--transition); }
.category-card:hover .category-icon img{ transform:scale(1.06); }
.category-card h5{ font-weight:700; margin-bottom:2px; padding:0 10px; }
.category-card p{ color:#777; font-size:.8rem; margin:0; padding:0 10px; }

/* ---------- PRODUCT CARDS ---------- */
.product-card{ background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); transition:var(--transition); height:100%; position:relative; border:1px solid rgba(0,0,0,.04); }
.product-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-hover); }
.product-image{ position:relative; overflow:hidden; padding-top:90%; background:#f5f5f0; }
.product-image img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:var(--transition); }
.product-card:hover .product-image img{ transform:scale(1.07); }
.product-badge{ position:absolute; top:12px; left:12px; z-index:2; padding:4px 12px; border-radius:50px; font-size:.66rem; font-weight:700; text-transform:uppercase; background:var(--gold); color:var(--primary-dark); }
.product-actions{ position:absolute; top:12px; right:12px; display:flex; flex-direction:column; gap:8px; z-index:2; opacity:0; transform:translateX(16px); transition:var(--transition); }
.product-card:hover .product-actions{ opacity:1; transform:translateX(0); }
.product-actions button{ width:36px; height:36px; border-radius:50%; border:none; background:#fff; box-shadow:0 4px 16px rgba(0,0,0,.15); transition:var(--transition); }
.product-actions button:hover{ background:var(--gold); color:var(--primary-dark); }
.product-body{ padding:18px; }
.product-name a{ color:var(--dark); font-weight:600; text-decoration:none; }
.product-name a:hover{ color:var(--primary); }
.price-old{ text-decoration:line-through; color:#999; font-size:.85rem; }
.price-new{ color:var(--primary); font-weight:700; font-size:1.15rem; }
.add-cart-btn{ width:100%; padding:9px; border-radius:12px; border:2px solid var(--primary); background:transparent; color:var(--primary); font-weight:600; transition:var(--transition); }
.add-cart-btn:hover{ background:var(--primary); color:#fff; }

/* ---------- CATEGORY TABS (paan menu section) ---------- */
.paan-tabs .nav-link{ border-radius:50px; font-weight:600; color:var(--primary) !important; border:2px solid var(--primary); margin:0 6px 10px; }
.paan-tabs .nav-link.active{ background:var(--primary) !important; color:#fff !important; }

/* ---------- OFFER BANNER ---------- */
.offer-banner{ background:linear-gradient(135deg,var(--primary-dark),var(--primary)); border-radius:var(--radius); padding:50px 40px; color:#fff; position:relative; overflow:hidden; }
.offer-banner h2{ font-weight:900; font-size:2.4rem; }
.offer-banner .gold-text{ color:var(--gold); }

/* ---------- TESTIMONIALS ---------- */
.testimonial-card{ background:#fff; border-radius:var(--radius); padding:26px; box-shadow:var(--shadow); height:100%; transition:var(--transition); }
.testimonial-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-hover); }
.testimonial-card .stars{ color:var(--gold); margin-bottom:12px; }
.testimonial-card p{ font-style:italic; color:#555; }
.avatar-circle{ width:46px; height:46px; border-radius:50%; background:var(--primary); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; }

/* ---------- GALLERY ---------- */
.gallery-item{ border-radius:14px; overflow:hidden; position:relative; box-shadow:var(--shadow); }
.gallery-item img, .gallery-item video{ height:230px; width:100%; object-fit:cover; transition:var(--transition); }
.gallery-item:hover img, .gallery-item:hover video{ transform:scale(1.06); }
.gallery-overlay{ position:absolute; inset:0; background:linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75)); display:flex; align-items:flex-end; padding:14px; color:#fff; opacity:0; transition:var(--transition); }
.gallery-item:hover .gallery-overlay{ opacity:1; }

/* ---------- FOOTER ---------- */
footer.site-footer{ background:var(--primary-dark); color:#fff; padding:60px 0 24px; }
footer.site-footer h6{ font-family:'Playfair Display',serif; font-weight:700; position:relative; padding-bottom:10px; margin-bottom:16px; }
footer.site-footer h6::after{ content:''; position:absolute; bottom:0; left:0; width:36px; height:3px; background:var(--gold); border-radius:2px; }
footer.site-footer a{ color:rgba(255,255,255,.7); text-decoration:none; transition:var(--transition); }
footer.site-footer a:hover{ color:var(--gold); }
.social-circle{ width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); display:inline-flex; align-items:center; justify-content:center; margin-right:8px; transition:var(--transition); }
.social-circle:hover{ background:var(--gold); color:var(--primary-dark) !important; transform:translateY(-3px); }

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float{ position:fixed; bottom:24px; right:24px; background:#25D366; color:#fff; width:58px; height:58px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:28px; box-shadow:0 6px 20px rgba(0,0,0,.3); z-index:999; animation:pulse 2.4s infinite; }
@keyframes pulse{ 0%{box-shadow:0 0 0 0 rgba(37,211,102,.5);} 70%{box-shadow:0 0 0 14px rgba(37,211,102,0);} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0);} }

/* ---------- CHATBOT WIDGET ---------- */
.chatbot-float{ position:fixed; bottom:24px; right:94px; background:var(--primary); color:#fff; width:58px; height:58px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:24px; box-shadow:0 6px 20px rgba(0,0,0,.3); z-index:999; border:none; cursor:pointer; transition:var(--transition); }
.chatbot-float:hover{ background:var(--gold); color:var(--primary-dark); transform:scale(1.05); }
.chatbot-window{ position:fixed; bottom:94px; right:24px; width:340px; max-width:88vw; height:440px; background:#fff; border-radius:18px; box-shadow:0 20px 60px rgba(0,0,0,.25); z-index:1000; display:none; flex-direction:column; overflow:hidden; }
.chatbot-window.open{ display:flex; animation:fadeInUp .3s ease; }
.chatbot-header{ background:var(--primary); color:#fff; padding:14px 16px; display:flex; align-items:center; justify-content:between; }
.chatbot-body{ flex:1; overflow-y:auto; padding:14px; background:#f7f5f0; display:flex; flex-direction:column; gap:10px; }
.chat-bubble{ max-width:80%; padding:10px 14px; border-radius:14px; font-size:.88rem; }
.chat-bubble.bot{ background:#fff; align-self:flex-start; box-shadow:0 2px 8px rgba(0,0,0,.08); }
.chat-bubble.user{ background:var(--primary); color:#fff; align-self:flex-end; }
.chat-quick-replies{ display:flex; flex-wrap:wrap; gap:6px; padding:10px 14px; background:#fff; border-top:1px solid #eee; }
.chat-quick-replies button{ background:rgba(26,77,46,.08); border:1px solid var(--primary); color:var(--primary); border-radius:50px; padding:5px 12px; font-size:.76rem; }
.chat-quick-replies button:hover{ background:var(--primary); color:#fff; }

/* ---------- BACK TO TOP ---------- */
.back-to-top{ position:fixed; bottom:24px; left:24px; width:46px; height:46px; border-radius:50%; background:var(--primary); color:#fff; border:none; opacity:0; visibility:hidden; transition:var(--transition); z-index:999; }
.back-to-top.show{ opacity:1; visibility:visible; }
.back-to-top:hover{ background:var(--gold); color:var(--primary-dark); }

/* ---------- ORDER HOURS BAR ---------- */
.order-hours-bar{ background:var(--gold-gradient); color:var(--primary-dark); font-weight:600; }

/* ---------- HEADER SEARCH ---------- */
.header-search{ width:220px; }
.header-search input{ border-radius:50px 0 0 50px; border-right:none; }
.header-search button{ border-radius:0 50px 50px 0; }
@media (max-width:991px){ .header-search{ width:100%; } }

/* ---------- ORDER STATUS ANIMATION ---------- */
.status-badge{ transition:var(--transition); }
.status-badge.pulse{ animation:statusPulse 1s ease 2; }
@keyframes statusPulse{
  0%{ transform:scale(1); box-shadow:0 0 0 0 rgba(26,77,46,.5); }
  50%{ transform:scale(1.12); box-shadow:0 0 0 8px rgba(26,77,46,0); }
  100%{ transform:scale(1); box-shadow:0 0 0 0 rgba(26,77,46,0); }
}

/* ---------- ORDER TIMELINE ---------- */
.order-timeline{ display:flex; justify-content:space-between; position:relative; margin:30px 0; }
.order-timeline::before{ content:''; position:absolute; top:18px; left:5%; right:5%; height:3px; background:#e0e0e0; z-index:0; }
.order-timeline .timeline-progress{ position:absolute; top:18px; left:5%; height:3px; background:var(--primary); z-index:1; transition:width .6s ease; }
.order-timeline .timeline-step{ position:relative; z-index:2; text-align:center; flex:1; }
.order-timeline .timeline-dot{ width:38px; height:38px; border-radius:50%; background:#e0e0e0; color:#999; display:flex; align-items:center; justify-content:center; margin:0 auto 8px; font-size:1rem; transition:var(--transition); border:3px solid #fff; }
.order-timeline .timeline-step.done .timeline-dot{ background:var(--primary); color:#fff; }
.order-timeline .timeline-step.current .timeline-dot{ background:var(--gold); color:var(--primary-dark); animation:statusPulse 1.4s ease infinite; }
.order-timeline .timeline-label{ font-size:.78rem; font-weight:600; color:#777; }
.order-timeline .timeline-step.done .timeline-label, .order-timeline .timeline-step.current .timeline-label{ color:var(--primary); }
.order-timeline.cancelled .timeline-dot{ background:#dc3545 !important; color:#fff !important; }

/* ---------- ADMIN ---------- */
.admin-sidebar{ min-height:100vh; background:#1b2430; }
.admin-sidebar a{ color:#c9d1d9; padding:10px 16px; display:block; text-decoration:none; border-radius:8px; }
.admin-sidebar a:hover, .admin-sidebar a.active{ background:var(--primary); color:#fff; }
.stat-card{ border-radius:14px; border:none; box-shadow:var(--shadow); }
.qr-box img{ width:180px; height:180px; object-fit:contain; border:1px solid #ddd; border-radius:10px; padding:8px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width:768px){
  .hero-slide-content h1{ font-size:2.2rem; }
  .hero-slider .carousel-item{ height:60vh; min-height:380px; }
  .section-header h2{ font-size:1.9rem; }
  .chatbot-window{ right:12px; width:92vw; }
  .chatbot-float{ right:78px; }
}
