/* ============================================================
   ROYAL ICE LAND — KFC-Inspired Light Design System
   Clean, Bold, Premium Food Ordering Experience
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
  /* Brand - Elegant muted pink */
  --pink:       #d84978;
  --pink-dark:  #b5365e;
  --pink-light: #f7dbe3;
  --pink-bg:    #fcf5f7;

  /* Backgrounds (Premium boutique palette) */
  --bg-body:    #FFFFFF;
  --bg-white:   #FFFFFF;
  --bg-dark:    #2C2A29; 
  --bg-darker:  #1F1E1D;
  --bg-section: #FAF8F5; /* warm cream */
  --bg-blush:   #FCF7F7; /* very soft blush */
  --bg-beige:   #F5F3ED; /* light beige */

  /* Text - Warm grays */
  --text-1: #2C2A29;
  --text-2: #5B5957;
  --text-3: #8C8A88;
  --text-inv:#FFFFFF;

  /* Borders - Softer */
  --border:   #EBE8E3;
  --border-h: rgba(216, 73, 120, 0.15);

  /* Semantic */
  --green:   #25D366;
  --gold:    #D4AF37;
  --success: #22C55E;

  /* Layout */
  --nav-h:  72px;
  --max-w:  1280px;

  /* Radius */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-full: 9999px;

  /* Shadows - Diffused, soft */
  --shadow-sm:   0 4px 12px rgba(44, 42, 41, 0.02);
  --shadow-md:   0 8px 24px rgba(44, 42, 41, 0.04);
  --shadow-lg:   0 16px 40px rgba(44, 42, 41, 0.06);
  --shadow-pink: none;

  /* Transitions - Smoother */
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
  --dur:  0.4s;
  --trans: var(--dur) var(--ease);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-body);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img   { max-width:100%; display:block; object-fit:cover; }
a     { text-decoration:none; color:inherit; }
button{ cursor:pointer; border:none; outline:none; font-family:inherit; background:none; }
input,textarea { font-family:inherit; outline:none; border:none; background:none; }
ul,ol { list-style:none; }

/* ============================================================
   3. CUSTOM SCROLLBAR
   ============================================================ */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--pink) var(--pink-bg);
}

@media (pointer: fine) {
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  ::-webkit-scrollbar-track {
    background: var(--bg-body);
    border-radius: var(--r-full);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--pink);
    border-radius: var(--r-full);
    border: 2px solid var(--bg-body);
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--pink-dark);
  }
  ::-webkit-scrollbar-thumb:active {
    background: #A0124A;
  }
}

/* ============================================================
   4. LOADING SCREEN
   ============================================================ */
#loading-screen {
  position: fixed; inset:0;
  background: #FFFDFE;
  z-index: 9999;
  display: flex; flex-direction:column;
  align-items:center; justify-content:center; gap:24px;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
#loading-screen.hidden { opacity:0; visibility:hidden; pointer-events:none; }

.loading-logo-wrap {
  width: 100px; height: 100px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  animation: loadingPulse 1.4s cubic-bezier(0.33, 1, 0.68, 1) infinite;
  border: 1px solid var(--border);
}
.loading-logo-wrap img { width:100%; height:100%; }
.loading-text { font-size:.8rem; font-weight:600; color:var(--pink); letter-spacing:4px; text-transform:uppercase; }
.loading-bar { width:160px; height:4px; background:rgba(233,30,140,0.1); border-radius:var(--r-full); overflow:hidden; }
.loading-bar-fill {
  height:100%;
  background: var(--pink);
  border-radius:var(--r-full);
  animation: loadingBarAnim 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes loadingPulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.05);} }
@keyframes loadingBarAnim { 0%{width:0;margin-left:0} 50%{width:80%;margin-left:0} 100%{width:0;margin-left:100%} }

/* ============================================================
   4. NAVBAR — Clean White KFC-style
   ============================================================ */
#navbar {
  position: fixed; top:0; left:0; right:0;
  height: var(--nav-h);
  z-index: 1000;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--trans);
}
#navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: var(--max-w);
  margin:0 auto; padding:0 20px;
  height:100%;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}

/* Hamburger */
#hamburger {
  display:none; flex-direction:column; gap:5px;
  width:38px; height:38px;
  align-items:center; justify-content:center;
  border-radius: var(--r-sm);
  transition: background var(--trans);
}
#hamburger:hover { background: var(--bg-section); }
.h-line {
  width:20px; height:2px;
  background: var(--text-1);
  border-radius:2px;
  transition: all var(--trans); display:block;
}
#hamburger.open .h-line:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
#hamburger.open .h-line:nth-child(2) { opacity:0; }
#hamburger.open .h-line:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }

/* Logo */
.nav-logo {
  display:flex; align-items:center; gap:10px; flex-shrink:0;
}
.brand-logo {
  height:44px; width:auto;
  max-width: 140px;
  object-fit: contain;
  border-radius: var(--r-sm);
}
.nav-logo-name {
  font-size:1.2rem; font-weight:700;
  color: var(--text-1);
  letter-spacing:-0.5px; line-height:1;
}
.nav-logo-sub {
  font-size:.6rem; font-weight:600;
  color: var(--pink);
  letter-spacing:2px; text-transform:uppercase;
}

/* Nav links */
.nav-links {
  display:flex; align-items:center; gap:4px; flex:1; justify-content:center;
}
.nav-links a {
  padding:7px 16px;
  border-radius:var(--r-full);
  font-size:.875rem; font-weight:600;
  color: var(--text-2);
  border: 1px solid transparent;
  transition: all var(--trans);
}
.nav-links a:hover {
  color: var(--pink);
  border-color: var(--pink);
  background: var(--pink-bg);
}

/* Nav actions */
.nav-actions { display:flex; align-items:center; gap:8px; flex-shrink:0; }

#cart-nav-btn {
  display:flex; align-items:center; gap:8px;
  padding:9px 20px;
  background: var(--pink);
  color: white;
  border-radius:var(--r-full);
  font-size:.85rem; font-weight:700;
  transition: all var(--trans);
}
#cart-nav-btn:hover { background:var(--pink-dark); transform:translateY(-1px); }
.cart-text { font-size:.82rem; font-weight:600; }

[data-cart-badge] {
  display:inline-flex; align-items:center; justify-content:center;
  background: white; color: var(--pink);
  width:20px; height:20px; border-radius:50%;
  font-size:.68rem; font-weight:600; line-height:1;
}
[data-cart-badge].hidden { display:none; }

/* ============================================================
   5. MOBILE MENU
   ============================================================ */
#mobile-menu {
  position:fixed; top:var(--nav-h); left:0; right:0;
  background: white;
  border-bottom: 1px solid var(--border);
  padding:12px 20px 20px;
  z-index:999;
  transform: translateY(-110%); opacity:0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  pointer-events:none;
  box-shadow: var(--shadow-lg);
}
#mobile-menu.open { transform:translateY(0); opacity:1; pointer-events:all; }
.mobile-links { display:flex; flex-direction:column; gap:4px; }
.mobile-links a {
  display:block; padding:12px 16px;
  border-radius: var(--r-md);
  font-weight:600; color:var(--text-2);
  font-size:.95rem;
  transition: all var(--trans);
}
.mobile-links a:hover { color:var(--pink); background:var(--pink-bg); }

/* ============================================================
   6. HERO — Premium Layers.pk-style Banner
   ============================================================ */
#hero {
  position: relative;
  max-width: 92%;
  margin: calc(var(--nav-h) + 24px) auto 30px; /* Offset to fix header overlap */
  padding: 0 76px; /* Space for Layers.pk style outside arrows */
  outline: none;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 600;
  border-radius: 20px; /* Rounded corners on all 4 sides */
  overflow: hidden;
  background: var(--bg-section);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: height 0.4s ease-out; /* Smoothly resize height via JS */
}

/* Responsive Layout */
@media (max-width: 1200px) {
  .hero-slider { width: 100%; height: auto; }
}

@media (max-width: 992px) {
  #hero { padding: 0 56px; margin: calc(var(--nav-h) + 20px) auto 30px; }
  .hero-slider { width: 100%; height: auto; }
}

@media (max-width: 768px) {
  #hero { 
    padding: 0 16px; 
    margin: calc(var(--nav-h) + 16px) auto 30px; 
  }
  .hero-slider { 
    width: 100%;
    height: auto;
    border-radius: 20px; 
  }
  
  /* Mobile Arrows: Inside the banner */
  .slider-arrow { 
    width: 36px; height: 36px; 
    background: rgba(220, 214, 200, 0.95); 
  }
  .slider-prev { left: 24px; } 
  .slider-next { right: 24px; }
  
  /* Mobile Dots: Absolutely at bottom of banner */
  .slider-dots-wrap { 
    bottom: 12px; 
  }
  .slider-dots { 
    background: rgba(255,255,255,0.85); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); 
    padding: 6px 14px;
  }
  .slider-dot { background: #ccc; width: 8px; height: 8px; }
  .slider-dot.active { background: var(--text-2); width: 20px; }
}

@media (max-width: 480px) {
  #hero { 
    padding: 0 16px; 
    margin: calc(var(--nav-h) + 12px) auto 24px; 
  }
  .hero-slider { 
    width: 100%;
    height: auto;
    border-radius: 20px; 
  }
  .slider-arrow { width: 32px; height: 32px; }
  .slider-arrow svg { width: 16px; height: 16px; }
  .slider-prev { left: 22px; }
  .slider-next { right: 22px; }
  .slider-dots-wrap { bottom: 8px; }
  .slider-dots { gap: 6px; padding: 4px 10px; }
}

.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}

/* Fade + Slide animations */
.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
  z-index: 2;
}

.hero-slide.slide-out {
  transform: translateX(-20px);
  opacity: 0;
}

.hero-slide.slide-in-reverse {
  transform: translateX(-20px);
}
.hero-slide.slide-out-reverse {
  transform: translateX(20px);
  opacity: 0;
}

.hero-poster {
  width: 100%;
  height: 100%; 
  object-fit: contain; /* Never crop */
  display: block;
}

/* Slider Arrows - Layers.pk Style */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px; border-radius: 50%;
  background: #DCD6C8; /* Premium beige/tan from Layers */
  color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--trans);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.slider-arrow svg {
  width: 22px; height: 22px;
  stroke: #fff;
  stroke-width: 3;
}
.slider-arrow:hover { 
  background: #C4BCA8; /* Darker beige on hover */
  transform: translateY(-50%) scale(1.06); 
}
/* Positioned outside the image container */
.slider-prev { left: 14px; }
.slider-next { right: 14px; }

/* Slider Dots */
.slider-dots-wrap {
  position: absolute; 
  bottom: 20px; 
  left: 50%;
  transform: translateX(-50%); 
  z-index: 10;
}
.slider-dots { 
  display: flex; 
  gap: 8px; 
  align-items: center; 
  background: rgba(255,255,255,0.9);
  padding: 8px 14px;
  border-radius: var(--r-full);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ccc; 
  border: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
  cursor: pointer;
  padding: 0;
}
.slider-dot:hover {
  background: #999;
}
.slider-dot.active { 
  background: var(--text-2); 
  width: 20px; 
  border-radius: 4px; 
}



/* WhatsApp hero button */
.btn-whatsapp-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #25D366, #1aad56);
  color: white; border-radius: var(--r-full);
  font-size: .95rem; font-weight: 600;
  transition: all var(--trans); border: none; cursor: pointer;
  text-decoration: none;
}
.btn-whatsapp-hero:hover { transform: translateY(-2px); }

/* ─── Location Share Button ──────────────────────────────── */
.location-share-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--pink-bg), #ffe0f0);
  border: 1px solid rgba(233,30,140,.3);
  border-radius: var(--r-md);
  color: var(--pink);
  font-size: .9rem; font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--trans);
  margin-bottom: 10px;
}
.location-share-btn:hover {
  background: var(--pink); color: white;
  transform: translateY(-1px);
}
.location-share-btn:disabled { opacity: .7; cursor: wait; }
.location-share-btn.loc-success {
  background: linear-gradient(135deg, #dcfce7, #f0fdf4);
  border-color: rgba(34,197,94,.4); color: #16a34a;
}

.location-or {
  text-align: center; position: relative; margin: 10px 0 8px;
  font-size: .72rem; color: var(--text-3);
}
.location-or::before,.location-or::after {
  content:''; position:absolute; top:50%;
  width:38%; height:1px; background:var(--border);
}
.location-or::before { left:0; }
.location-or::after  { right:0; }

/* Contact icon SVG wrap */
.contact-icon-wrap {
  width:44px; height:44px; border-radius:50%;
  background:var(--pink-bg); border:1px solid rgba(233,30,140,.15);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; color:var(--pink);
}
.contact-icon-wrap svg { width:20px; height:20px; }

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  border-radius:var(--r-full);
  font-weight:700; font-size:.92rem;
  padding:12px 24px;
  cursor:pointer; border:none; font-family:inherit;
  transition: all var(--trans);
  white-space:nowrap;
}
.btn-primary {
  background: var(--pink);
  color: white;
}
.btn-primary:hover {
  background: var(--pink-dark);
  transform:translateY(-2px);
}
.btn-outline {
  background:transparent; color:white;
  border:1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color:var(--pink); color:var(--pink);
  background:rgba(233,30,140,.08);
  transform:translateY(-2px);
}
.btn-dark {
  background: var(--bg-dark); color:white;
}
.btn-dark:hover { background:#333; transform:translateY(-1px); }

/* ============================================================
   8. STICKY SEARCH BAR
   ============================================================ */
#search-section {
  position:sticky; top:var(--nav-h); z-index:100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom:1px solid rgba(233,30,140,0.08);
  padding: 14px 20px 10px;
}
.search-wrap {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}
.search-icon-el {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pink);
  pointer-events: none;
  display: flex;
  align-items: center;
}
#search-input {
  width: 100%;
  height: 56px;
  background: #FFFFFF;
  border: 1px solid rgba(233,30,140,0.15);
  border-radius: 50px;
  padding: 0 48px 0 54px;
  color: var(--text-1);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all var(--trans);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
#search-input::placeholder { color: #bbb; font-weight: 400; }
#search-input:focus {
  border-color: var(--pink);
  box-shadow: 0 8px 30px rgba(233,30,140,0.12);
  outline: none;
}
#search-input:focus {
  border-color: var(--pink);
  background: white;
  outline: none;
}
#search-clear {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #ccc;
  display: none;
  padding: 4px;
  border-radius: 50%;
  width: 26px; height: 26px;
  align-items: center; justify-content: center;
  background: rgba(233,30,140,0.07);
  transition: all var(--trans);
}
#search-clear.visible { display: flex; }
#search-clear:hover { color: white; background: var(--pink); }
#search-results-text {
  text-align: center;
  font-size: .72rem;
  color: #bbb;
  margin-top: 6px;
  min-height: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============================================================
   9. SECTION HEADERS — KFC Style
   ============================================================ */
.kfc-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-bottom: 8px;
}
.kfc-section-title::after { display: none; }

/* ============================================================
   10. CATEGORY CIRCLES — KFC Explore Style
   ============================================================ */
#categories-section {
  background: var(--bg-white);
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--border);
}
.categories-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.categories-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.category-strip-container {
  display: flex;
  align-items: center;
  position: relative;
  gap: 10px;
}
.cat-arrow {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%;
  background: white; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); cursor: pointer;
  transition: all var(--trans);
  box-shadow: var(--shadow-sm);
  z-index: 10;
}
.cat-arrow:hover {
  background: var(--pink); border-color: var(--pink); color: white;
}

#category-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-top: 4px; /* Fix active pill getting cut off */
  padding-bottom: 4px; 
  /* Fade edges on overflow */
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 20px, black calc(100% - 20px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 20px, black calc(100% - 20px), transparent 100%);
  padding-left: 4px;
  padding-right: 4px;
  scrollbar-width: none;
}
#category-strip::-webkit-scrollbar { display: none; }

/* Premium text-only category pills */
.category-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: var(--r-full);
  background: var(--bg-section);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: .84rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: all var(--trans);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  text-transform: none;
  min-height: 40px;
}
.category-pill:hover {
  border-color: var(--border-h);
  color: var(--pink);
  background: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.category-pill.active {
  background: var(--pink);
  border-color: var(--pink);
  color: white;
  transform: translateY(-2px);
}
/* Clean text styling inherits directly from category-pill */

/* ============================================================
   11. PRODUCTS SECTION — KFC-style Cards
   ============================================================ */
#menu-section {
  padding:36px 20px 80px;
  max-width:var(--max-w); margin:0 auto;
}
.menu-header {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:24px; flex-wrap:wrap; gap:12px;
}
#menu-count {
  font-size:.78rem; color:var(--text-3);
  background:var(--bg-section);
  border: 1px solid rgba(0,0,0,0.04);
  padding:4px 14px; border-radius:var(--r-full);
}

#products-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));
  gap:18px;
}

/* ─── Product Card ───────────────────────────────────────── */
.product-card {
  background: var(--bg-white);
  border-radius:var(--r-lg);
  overflow:hidden;
  display:flex; flex-direction:column;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  animation: cardIn .4s var(--ease) both;
  position:relative;
}
.product-card:hover {
  transform:translateY(-4px);
  box-shadow:var(--shadow-lg);
  border-color:var(--border-h);
}
@keyframes cardIn { from{opacity:0;transform:translateY(16px);} to{opacity:1;transform:translateY(0);} }

/* Removed pink bars */ .card-brand-bars { display: none; }

/* Image area */
.product-img-wrap {
  position:relative; aspect-ratio:16/10; overflow:hidden; flex-shrink:0;
}
.product-img-bg {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  transition:transform .5s var(--ease);
}
.product-card:hover .product-img-bg { transform:scale(1.07); }
.product-img-real {
  width:100%; height:100%; object-fit:cover;
  transition:transform .5s var(--ease);
}
.product-card:hover .product-img-real { transform:scale(1.07); }
.product-img-emoji {
  font-size:4rem; pointer-events:none; user-select:none;
  filter:drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

/* Price ribbon — hidden (price shown in card footer) */
.price-ribbon { display: none; }

/* Badges */
.product-badges {
  position:absolute; top:10px; right:10px;
  display:flex; flex-direction:column; gap:4px; z-index:2;
}
.product-badge {
  display:inline-block; padding:2px 8px;
  border-radius:var(--r-full);
  font-size:.6rem; font-weight:600;
  text-transform:uppercase; letter-spacing:.5px;
  background:rgba(0,0,0,0.7); backdrop-filter:blur(4px);
  border:1px solid rgba(255,215,0,.35); color:var(--gold);
}
.product-badge.seasonal {
  border-color:rgba(34,197,94,.35); color:#4ade80;
}

/* Info */
.product-info {
  padding:14px 16px 16px; flex:1; display:flex; flex-direction:column;
}
.product-category-tag {
  font-size:.62rem; font-weight:700; color:var(--pink);
  text-transform:uppercase; letter-spacing:.8px; margin-bottom:4px;
}
.product-name {
  font-size:.95rem; font-weight:600; color:var(--text-1);
  line-height:1.3; margin-bottom:4px;
}
.product-description {
  font-size:.75rem; color:var(--text-3); line-height:1.55;
  flex:1; margin-bottom:10px;
}

/* Size selector */
.size-selector { display:flex; gap:5px; margin-bottom:10px; flex-wrap:wrap; }
.size-btn {
  padding:3px 11px; border-radius:var(--r-full);
  background:var(--bg-section);
  border:1.5px solid var(--border);
  color:var(--text-2); font-size:.7rem; font-weight:700;
  transition:all var(--trans);
}
.size-btn:hover { border-color:var(--pink); color:var(--pink); }
.size-btn.active { background:var(--pink); border-color:var(--pink); color:white; }

/* Footer */
.product-footer {
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; margin-top:auto;
}
.product-price-wrap {}
.product-price-prefix { font-size:.62rem; color:var(--text-3); display:block; }
.product-price { font-size:1.1rem; font-weight:700; color:var(--pink); line-height:1; }

.add-to-cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: white;
  border-radius: var(--r-full);
  font-size: .84rem;
  font-weight: 700;
  transition: all var(--trans);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.add-to-cart-btn:hover {
  background: linear-gradient(135deg, var(--pink-dark), #a01050);
  transform: translateY(-1px);
}
.add-to-cart-btn:active { transform: translateY(0); }
.add-to-cart-btn.added { background: var(--success); }

/* In-card quantity controls (shows after adding to cart) */
.card-qty-controls {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: var(--r-full);
  border: 1px solid rgba(233,30,140,0.35);
  overflow: hidden;
  flex-shrink: 0;
  background: white;
}
.card-qty-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  color: var(--pink);
  font-size: 1rem; font-weight: 700;
  transition: all var(--trans);
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}
.card-qty-btn:hover { background: var(--pink); color: white; }
.card-qty-display {
  min-width: 28px;
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  color: var(--pink);
  padding: 0 2px;
  border-left: 1px solid rgba(233,30,140,0.15);
  border-right: 1px solid rgba(233,30,140,0.15);
  line-height: 32px;
}

/* No Results */
#no-results { display:none; text-align:center; padding:60px 20px; grid-column:1/-1; }
#no-results.visible { display:block; }
.no-results-emoji { font-size:3.5rem; margin-bottom:12px; }
.no-results-title { font-size:1.1rem; font-weight:600; color:var(--text-2); margin-bottom:6px; }

/* ─── Load More Button ───────────────────────────────────── */
#load-more-wrap {
  text-align:center; margin-top:36px; padding:8px;
}
#load-more-btn {
  display:inline-flex; align-items:center; gap:10px;
  padding:13px 36px;
  background:white;
  border:2px solid var(--pink);
  color:var(--pink);
  border-radius:var(--r-full);
  font-size:.9rem; font-weight:600;
  text-transform:uppercase; letter-spacing:1px;
  transition:all var(--trans);
}
#load-more-btn:hover {
  background:var(--pink); color:white;
  transform:translateY(-2px);
}
#load-more-btn.hidden { display:none; }
.load-more-count { font-size:.7rem; opacity:.7; font-weight:600; }

/* ============================================================
   12. CART DRAWER
   ============================================================ */
#cart-overlay {
  position:fixed; inset:0;
  background:rgba(0,0,0,0.6);
  z-index:2000;
  opacity:0; visibility:hidden;
  transition:opacity var(--trans), visibility var(--trans);
  backdrop-filter:blur(3px);
}
#cart-overlay.open { opacity:1; visibility:visible; }

#cart-drawer {
  position:fixed; top:0; right:0; bottom:0;
  width:min(440px,100vw);
  background:var(--bg-white);
  border-left:1px solid var(--border);
  z-index:2001;
  display:flex; flex-direction:column;
  transform:translateX(100%);
  transition:transform .36s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: -4px 0 32px rgba(0,0,0,0.12);
}
#cart-drawer.open { transform:translateX(0); }

.cart-header {
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 22px;
  border-bottom:1px solid var(--border);
  flex-shrink:0;
}
.cart-header-title { font-size:1.1rem; font-weight:700; color:var(--text-1); }
.cart-header-title span { color:var(--pink); }
#cart-close-btn {
  width:34px; height:34px; border-radius:50%;
  background:var(--bg-section); color:var(--text-2);
  display:flex; align-items:center; justify-content:center; font-size:1rem;
  transition:all var(--trans);
}
#cart-close-btn:hover { background:var(--pink); color:white; }

#cart-items {
  flex:1; overflow-y:auto; padding:14px 22px;
  scrollbar-width:thin; scrollbar-color:var(--border) transparent;
}

/* Empty state */
.cart-empty {
  display:flex; flex-direction:column; align-items:center;
  justify-content:center; height:100%;
  text-align:center; padding:40px 20px;
}
.cart-empty-emoji { font-size:3rem; opacity:.4; margin-bottom:12px; }
.cart-empty-title { font-size:1rem; font-weight:600; color:var(--text-2); margin-bottom:6px; }
.cart-empty-text { font-size:.82rem; color:var(--text-3); margin-bottom:20px; }
.cart-empty-browse {
  padding:10px 22px;
  background:var(--pink-bg); border:1.5px solid var(--pink);
  border-radius:var(--r-full); color:var(--pink);
  font-weight:700; font-size:.88rem;
  transition:all var(--trans);
}
.cart-empty-browse:hover { background:var(--pink); color:white; }

/* Cart Items */
.cart-item {
  display:flex; gap:12px; padding:14px 0;
  border-bottom:1px solid var(--bg-section);
}

.cart-item-img {
  width:54px; height:54px; border-radius:var(--r-sm);
  flex-shrink:0; display:flex; align-items:center;
  justify-content:center; font-size:1.7rem;
  border: 1px solid rgba(0,0,0,0.04);
}
.cart-item-img-real {
  width:54px; height:54px; border-radius:var(--r-sm);
  flex-shrink:0; object-fit:cover;
  border: 1px solid rgba(0,0,0,0.04);
}
.cart-item-details { flex:1; min-width:0; }
.cart-item-name { font-size:.87rem; font-weight:600; color:var(--text-1); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cart-item-size { font-size:.7rem; font-weight:600; color:var(--pink); margin-bottom:7px; }
.cart-item-controls { display:flex; align-items:center; gap:10px; }

.qty-btn {
  width:28px; height:28px; border-radius:50%;
  background:var(--bg-section); border: 1px solid rgba(0,0,0,0.04);
  color:var(--text-1); font-size:1rem;
  display:flex; align-items:center; justify-content:center;
  transition:all var(--trans);
}
.qty-btn:hover { background:var(--pink); border-color:var(--pink); color:white; }
.qty-display { font-weight:600; font-size:.95rem; min-width:18px; text-align:center; }

.cart-item-right {
  display:flex; flex-direction:column;
  align-items:flex-end; justify-content:space-between;
  flex-shrink:0; padding:2px 0;
}
.cart-item-price { font-size:1rem; font-weight:700; color:var(--pink); }
.cart-remove-btn {
  font-size:.7rem; color:var(--text-3); padding:3px 8px;
  border-radius:4px; transition:all var(--trans);
}
.cart-remove-btn:hover { color:#ef4444; background:rgba(239,68,68,.08); }

/* Cart Footer */
#cart-footer {
  padding:16px 22px 20px;
  border-top:1px solid var(--border);
  flex-shrink:0; background:var(--bg-section);
}
#cart-footer.hidden { display:none; }
.cart-total-row {
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom:14px; padding-bottom:14px;
  border-bottom:1px solid var(--border);
}
.cart-total-label { font-size:.95rem; font-weight:700; color:var(--text-2); }
#cart-total-amount { font-size:1.35rem; font-weight:700; color:var(--pink); }

#whatsapp-order-btn {
  width:100%; padding:15px;
  background:linear-gradient(135deg, #25D366, #1aad56);
  color:white; border-radius:var(--r-md);
  font-size:.98rem; font-weight:600;
  display:flex; align-items:center; justify-content:center; gap:10px;
  transition:all var(--trans);
}
#whatsapp-order-btn:hover { transform:translateY(-1px); }

/* ============================================================
   13. ADDRESS / ORDER MODAL
   ============================================================ */
#order-modal {
  position:fixed; inset:0; z-index:3000;
  display:flex; align-items:flex-end; justify-content:center;
  background:rgba(0,0,0,0.6);
  backdrop-filter:blur(4px);
  opacity:0; visibility:hidden;
  transition:opacity .3s var(--ease), visibility .3s var(--ease);
}
#order-modal.open { opacity:1; visibility:visible; }

.modal-box {
  background:white;
  border-radius:var(--r-xl) var(--r-xl) 0 0;
  width:min(750px,100vw);
  max-height:95vh;
  display:flex; flex-direction:column;
  overflow:hidden;
  transform:translateY(40px);
  transition:transform .35s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow:0 -8px 40px rgba(0,0,0,0.15);
}
#order-modal.open .modal-box { transform:translateY(0); }

.modal-header {
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 22px;
  border-bottom:1px solid var(--border);
  position:sticky; top:0; background:white; z-index:1;
}
.modal-title { font-size:1.05rem; font-weight:700; color:var(--text-1); }
.modal-title span { color:var(--pink); }
#modal-close-btn {
  width:34px; height:34px; border-radius:50%;
  background:var(--bg-section); color:var(--text-2);
  display:flex; align-items:center; justify-content:center;
  transition:all var(--trans);
}
#modal-close-btn:hover { background:var(--pink); color:white; }

.modal-body { padding:16px 22px; overflow-y:auto; flex:1; }

.modal-grid { display:grid; gap:16px; }
@media (min-width: 768px) {
  .modal-grid { grid-template-columns:1fr 1fr; gap:24px; }
}

.modal-body p {
  font-size:.82rem; color:var(--text-3); margin-bottom:20px; line-height:1.6;
}

.form-group { margin-bottom:12px; }
.form-label {
  display:block; font-size:.78rem; font-weight:700;
  color:var(--text-2); margin-bottom:5px;
  text-transform:uppercase; letter-spacing:.5px;
}
.form-input,
.form-textarea {
  width:100%;
  background:var(--bg-section);
  border:1.5px solid var(--border);
  border-radius:var(--r-md);
  padding:9px 12px;
  color:var(--text-1); font-size:.9rem;
  font-family:inherit;
  transition:all var(--trans);
  display:block;
}
.form-input::placeholder, .form-textarea::placeholder { color:#bbb; }
.form-input:focus, .form-textarea:focus {
  border-color:var(--pink);
  background:white;
  box-shadow:0 0 0 3px rgba(233,30,140,0.1);
  outline:none;
}
.form-textarea { resize:vertical; min-height:50px; }

.modal-footer {
  padding:12px 22px 16px;
  border-top:1px solid var(--border);
  background:white;
  display:flex; gap:10px; flex-wrap:wrap;
}
.modal-footer .btn { flex:1; justify-content:center; min-width:120px; }
#skip-order-btn {
  background:var(--bg-section); color:var(--text-2);
  border:1.5px solid var(--border);
  border-radius:var(--r-full);
  padding:12px 20px;
  font-size:.88rem; font-weight:700;
  transition:all var(--trans);
  flex:0 1 auto;
}
#skip-order-btn:hover { border-color:var(--pink); color:var(--pink); }
#confirm-order-btn {
  flex:1; padding:14px;
  background:linear-gradient(135deg, #25D366, #1aad56);
  color:white; border-radius:var(--r-full);
  font-size:.92rem; font-weight:600;
  display:flex; align-items:center; justify-content:center; gap:8px;
  transition:all var(--trans);
}
#confirm-order-btn:hover { transform:translateY(-1px); }

/* Order Type Tabs (Premium) */
.order-type-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.order-type-tabs input[type="radio"] { display: none; }
.order-tab {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  background: #FFFDFE;
  border: 2px solid rgba(233,30,140,0.1);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-2);
}
.order-tab .tab-icon { display: flex; align-items: center; justify-content: center; }
.order-tab .tab-icon svg { width: 18px; height: 18px; }
.order-tab .tab-text { font-size: .85rem; font-weight: 700; white-space: nowrap; }
.order-tab:hover {
  border-color: rgba(233,30,140,0.3);
  transform: translateY(-2px);
}
.order-type-tabs input[type="radio"]:checked + .order-tab {
  background: rgba(233,30,140,0.04);
  border-color: var(--pink);
  color: var(--pink);
}

/* Store Pickup Card */
.store-pickup-card {
  background:var(--bg-section);
  border:1.5px solid var(--border);
  border-radius:var(--r-md);
  overflow:hidden;
  margin-bottom:12px;
}
.spc-header {
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  background:rgba(233,30,140,0.04);
  border-bottom:1px solid var(--border);
}
.spc-icon { font-size:1.2rem; }
.spc-title { font-weight:600; color:var(--text-1); font-size:.95rem; }
.spc-body { padding:10px; }
.spc-name { font-weight:700; color:var(--text-1); font-size:1.05rem; margin-bottom:4px; }
.spc-address { font-size:.85rem; color:var(--text-3); margin-bottom:12px; line-height:1.4; }
.spc-map-btn {
  display:block;
  width:100%;
  text-align:center;
  padding:10px;
  background:var(--bg-white);
  border:1.5px solid var(--pink);
  color:var(--pink);
  font-weight:700;
  font-size:.85rem;
  border-radius:var(--r-md);
  text-decoration:none;
  margin-bottom:12px;
  transition:all var(--trans);
}
.spc-map-btn:hover {
  background:var(--pink);
  color:white;
}
.spc-map-embed {
  width:100%;
  height:100px;
  border-radius:var(--r-sm);
  overflow:hidden;
  border: 1px solid rgba(0,0,0,0.04);
}
.spc-map-embed iframe {
  width:100%;
  height:100%;
  border:0;
}

/* Slide Fade Transition */
.dynamic-order-fields {
  position:relative;
  /* This prevents layout jumps if they overlap during transition */
}
.slide-fade {
  transition:opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
  opacity:1;
  transform:translateY(0);
  max-height:500px;
  overflow:hidden;
}
.slide-fade.hidden {
  opacity:0;
  transform:translateY(-10px);
  max-height:0;
  pointer-events:none;
  margin:0;
  padding:0;
  border:0;
}

/* ============================================================
   14. WHY CHOOSE US (Premium Redesign)
   ============================================================ */
#why-us {
  padding: 120px 20px 60px;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
}

/* Trust Banner */
.trust-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto 60px;
  padding: 16px 32px;
  background: #FFFDFE;
  border: 1px solid rgba(233,30,140,0.08);
  border-radius: var(--r-full);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.trust-stars, .trust-stat {
  color: var(--pink);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
}
.trust-stat { letter-spacing: 0; font-size: 1.05rem; }
.trust-text {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.trust-divider {
  width: 1px;
  height: 24px;
  background: rgba(233,30,140,0.15);
}
@media (max-width: 768px) {
  .hidden-mobile { display: none; }
  .trust-banner { gap: 16px; padding: 14px 20px; margin-bottom: 40px; }
  .trust-stars, .trust-stat { font-size: 1rem; }
  .trust-text { font-size: .65rem; }
}

.premium-label {
  font-size: .65rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.premium-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text-1);
  line-height: 1.2;
  max-width: 700px;
  margin: 0 auto;
}
.premium-heading span {
  color: var(--pink);
  background: none;
  -webkit-text-fill-color: var(--pink);
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 80px;
}
.premium-grid .feature-card {
  background: transparent;
  border: none;
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  border-left: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  transition: all var(--trans);
}
.premium-grid .feature-card::before { display: none; }
.premium-grid .feature-card:hover {
  transform: translateX(4px);
  border-color: var(--pink);
  box-shadow: none;
}
.premium-grid .feature-icon-svg { display: none; }
.premium-grid .feature-icon-svg svg {
  width: 32px;
  height: 32px;
}
.premium-grid .feature-card:hover .feature-icon-svg {
  background: var(--pink);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(233,30,140,0.25);
}
.premium-grid .feature-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.premium-grid .feature-desc {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 100%;
  margin: 0;
}

/* ============================================================
   15. CONTACT (Premium Redesign)
   ============================================================ */
#contact-section {
  padding: 120px 20px;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
}
.contact-inner { max-width: var(--max-w); margin: 0 auto; }

/* Contact Header */
.contact-header-wrap {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.premium-desc {
  margin-top: 16px;
  max-width: 600px;
  color: var(--text-3);
  font-size: .95rem;
  line-height: 1.6;
}

/* Contact Trust Badges */
.contact-trust-badges {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}
.ct-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFDFE;
  border: 1px solid rgba(233,30,140,0.1);
  padding: 8px 16px;
  border-radius: var(--r-full);
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.ct-badge span { color: var(--pink); font-size: 1rem; }

/* Contact Grid */
.premium-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Contact Cards */
.premium-cc {
  background: #FFFDFE;
  border: 1px solid rgba(233,30,140,0.08);
  border-radius: 24px;
  padding: 28px 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.premium-cc:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(233,30,140,0.08);
  border-color: rgba(233,30,140,0.4);
}
.contact-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(233,30,140,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.premium-cc:hover .contact-icon-wrap {
  background: rgba(233,30,140,0.12);
  transform: scale(1.05);
}
.contact-icon-wrap svg { width: 28px; height: 28px; }
.cc-content { display: flex; flex-direction: column; gap: 6px; }
.contact-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.3;
}
.contact-sub {
  font-size: .85rem;
  color: var(--text-3);
  line-height: 1.5;
}

/* Map Upgrade */
.premium-map {
  background: #FFFDFE;
  border: 4px solid white;
  border-radius: 24px;
  height: 100%;
  min-height: 400px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}
.premium-map iframe { width: 100%; height: 100%; border: none; }
.map-floating-actions {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}
.map-btn {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 24px;
  border-radius: var(--r-full);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: all var(--trans);
  border: 1px solid rgba(255,255,255,0.8);
  white-space: nowrap;
}
.map-btn svg { color: var(--pink); }
.map-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(233,30,140,0.15);
  color: var(--pink);
}

/* Contact CTA Block */
.contact-cta-block {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.cta-btn {
  padding: 16px 36px;
  border-radius: var(--r-full);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cta-primary {
  background: var(--pink);
  color: white;
  box-shadow: 0 8px 24px rgba(233,30,140,0.3);
}
.cta-primary:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(233,30,140,0.4);
}
.cta-secondary {
  background: white;
  color: var(--text-1);
  border: 1px solid rgba(233,30,140,0.15);
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.cta-secondary:hover {
  border-color: var(--pink);
  color: var(--pink);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233,30,140,0.1);
}

/* ============================================================
   16. FOOTER
   ============================================================ */
/* ============================================================
   16. FOOTER (Premium Redesign)
   ============================================================ */
.premium-footer {
  background: var(--bg-section);
  color: var(--text-1);
  padding: 80px 20px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid-4 {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-col { display: flex; flex-direction: column; gap: 20px; }

/* Brand Column */
.footer-brand-col .footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.footer-brand-col img {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
}
.footer-brand-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: -0.02em;
}
.footer-brand-story {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 320px;
}

/* Modern Social Icons */
.footer-social-modern {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.social-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all var(--trans);
}
.social-circle:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: white;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 24px rgba(233,30,140,0.3);
}

/* Nav Columns */
.footer-heading {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-1);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  font-size: .9rem;
  color: var(--text-2);
  transition: all var(--trans);
  display: inline-block;
  width: fit-content;
}
.footer-nav a:hover {
  color: var(--pink-light);
  transform: translateX(4px);
}

/* Newsletter & Contact */
.footer-subtext {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.6;
}
.newsletter-form {
  position: relative;
  display: flex;
  margin-bottom: 20px;
}
.nl-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-full);
  padding: 14px 48px 14px 20px;
  color: white;
  font-size: .9rem;
  transition: all var(--trans);
}
.nl-input::placeholder { color: #666; }
.nl-input:focus {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}
.nl-btn {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  width: 36px;
  background: var(--pink);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans);
}
.nl-btn:hover { background: var(--pink-light); transform: scale(1.05); }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-list a, .footer-contact-list span {
  font-size: .9rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color var(--trans);
}
.footer-contact-list a:hover { color: white; }

/* Trust Elements Row */
.footer-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.footer-trust-row span {
  font-size: .85rem;
  font-weight: 700;
  color: #A0A0A0;
}
.footer-trust-row .dot { color: rgba(255,255,255,0.15); }

/* Bottom Bar */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  gap: 16px;
}
.copyright { font-size: .85rem; color: var(--text-3); }
.legal-links { display: flex; gap: 24px; }
.legal-links a { font-size: .85rem; color: #777; transition: color var(--trans); }
.legal-links a:hover { color: white; }

/* ============================================================
   17. TOAST
   ============================================================ */
#toast-container {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: none;
  width: 90%;
  max-width: 380px;
}
.toast {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-1);
  border-radius: var(--r-full);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(233, 30, 140, 0.15);
  animation: toastIn .4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.4;
  border: 1px solid rgba(233, 30, 140, 0.2);
}
.toast span:last-child {
  flex: 1;
  word-break: break-word;
}
.toast.success { border-color:rgba(34, 197, 94, 0.3); }
@keyframes toastIn  { from{opacity:0;transform:translateY(-28px) scale(0.9);} to{opacity:1;transform:translateY(0) scale(1);} }
@keyframes toastOut { to  {opacity:0;transform:translateY(-28px) scale(0.9);} }
.toast.removing { animation:toastOut .3s var(--ease) forwards; }


/* ============================================================
   19. UTILITIES & RESPONSIVE
   ============================================================ */
.hidden   { display:none !important; }
.reveal   { opacity:0; transform:translateY(24px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity:1; transform:translateY(0); }

@media (max-width:1024px) {
  .hero-cards { display:none; }
  .hero-inner { grid-template-columns:1fr; }
  .premium-contact-grid { grid-template-columns: 1fr; }
  .footer-grid-4 { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width:768px) {
  :root { --nav-h:58px; }
  .nav-links { display:none; }
  #hamburger { display:flex; }
  .nav-logo-sub { display:none; }
  /* Cart text remains visible on mobile */
  #cart-nav-btn { padding:8px 12px; gap:6px; }

  /* Hero: taller on mobile to show banner content */
  .hero-slider { aspect-ratio: 16 / 9; }

  #products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-img-emoji { font-size:2.8rem; }
  .product-description { display:none; }

  /* Category pills — compact but clear on mobile */
  .category-pill { padding: 10px 18px; font-size: .8rem; min-height: 38px; }

  .features-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid-4 { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom-bar { flex-direction: column; text-align: center; gap: 12px; }
  .legal-links { justify-content: center; }
  .footer-trust-row { padding: 24px 0; gap: 10px; }
  .footer-trust-row .dot { display: none; }

  #toast-container { left:16px; right:16px; bottom:16px; }
  .toast { min-width:unset; width:100%; max-width:100%; }

  /* Remove bottom gap below hero */
  #hero { margin-bottom: 0; }
  #search-section { padding: 10px 16px 8px; }
}

@media (max-width:480px) {
  /* Very tall-ish on small phones */
  .hero-slider { aspect-ratio: 4 / 3; }

  #products-grid { grid-template-columns:repeat(2,1fr); gap:10px; }
  .product-info { padding:10px 12px 12px; }
  .hero-cta { flex-direction:column; align-items:flex-start; }
  .features-grid { grid-template-columns:1fr; }
  .modal-footer { flex-direction:column; }
  #skip-order-btn,#confirm-order-btn { width:100%; justify-content:center; }
}

/* Remove any inherited bottom padding/margin from hero area */
#hero + #search-section { margin-top: 0; }

/* Body bottom padding so floating cart bar doesn't cover content */
body.has-cart-bar { padding-bottom: 76px; }

/* ============================================================
   FLOATING CART BAR — Pink brand theme
   ============================================================ */
#floating-cart-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: linear-gradient(135deg, #1a0a11 0%, #2a0e1c 100%);
  border-top: 1px solid rgba(233,30,140,0.25);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.25);
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
  opacity: 0;
}
#floating-cart-bar.visible {
  transform: translateY(0);
  pointer-events: all;
  opacity: 1;
}
.fcb-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.fcb-bag-wrap {
  position: relative;
  color: var(--pink);
  display: flex;
  align-items: center;
}
.fcb-count { display: none; }
.fcb-total {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.3px;
}
#fcb-view-cart {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: var(--pink);
  color: white;
  border-radius: var(--r-full);
  font-size: .9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--trans);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
#fcb-view-cart:hover {
  background: var(--pink-dark);
  transform: translateY(-1px);
}

@media (max-width: 400px) {
  #floating-cart-bar { padding: 12px 14px; }
  .fcb-total { font-size: .98rem; }
  #fcb-view-cart { padding: 10px 18px; font-size: .84rem; }
}


/* SEO Hidden H1 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* Background Helpers */
.bg-white { background: var(--bg-white); }
.bg-cream { background: var(--bg-section); }
.bg-blush { background: var(--bg-blush); }
.bg-beige { background: var(--bg-beige); }

.pt-120 { padding-top: 120px; }
.pb-120 { padding-bottom: 120px; }
.pt-80 { padding-top: 80px; }
.pb-80 { padding-bottom: 80px; }

/* Hide arrows on mobile since users can swipe */
@media (max-width: 768px) {
  .slider-arrow, .cat-arrow {
    display: none !important;
  }
}
