 /* <style> */
        /* --- CSS Reset & Variables --- */
        :root {
            --sage: #7c9a7e;
            --sage-light: #a8c5a0;
            --primary-dark: #2c4c3b; /* Deep Ayurvedic Green */
            --primary-light: #e8efe9;
            --accent-gold: #c5a059;
            --sage-pale: #e8f0e6;
            --beige: #f5f0e8;
            --beige-dark: #e8dcc8;
            --terracotta: #c8714a;
            --terracotta-light: #d98b68;
            --warm-brown: #6b4c3b;
            --warm-brown-light: #8b6555;
            --cream: #faf7f2;
            --dark: #2a2118;
            --text: #3d3028;
            --text-light: #7a6a5e;
            --font-head: 'Playfair Display', Georgia, serif;
            --font-body: 'Poppins', sans-serif;
            --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            --nav-height: 80px;
        }

        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: var(--nav-height); }
        body { font-family: var(--font-body); color: var(--text); background: var(--cream); overflow-x: hidden; line-height: 1.7; }

        section[id] { scroll-margin-top: var(--nav-height); }

        /* ── UTILITY Proper alignment of the page ── */
        .container { 
            max-width: 1440px; /* Centers and limits width on large screens */
            margin: 0 auto; 
            padding: 0 6%; /* Increased from 2rem to 6% for a more spacious feel */
        }
        .section { padding: 100px 0; }
        .tag { display: inline-block; font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); margin-bottom: 1rem; }
        .tag::before, .tag::after { content: '—'; margin: 0 0.5em; opacity: 0.5; }
        h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }

        .btn { display: inline-block; padding: 14px 36px; border-radius: 50px; font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: var(--transition); text-decoration: none; border: 2px solid transparent; text-align: center; }
        .btn-primary { background: var(--terracotta); color: white; border-color: var(--terracotta); }
        .btn-primary:hover { background: var(--warm-brown); border-color: var(--warm-brown); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(200,113,74,0.3); }
        .btn-outline { background: transparent; color: var(--dark); border-color: var(--warm-brown); }
        .btn-outline:hover { background: var(--warm-brown); color: white; transform: translateY(-2px); }

        /* ── FADE ANIMATIONS ── */
        .fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
        .fade-in.visible { opacity: 1; transform: translateY(0); }
        .fade-delay-1 { transition-delay: 0.15s; }
        .fade-delay-2 { transition-delay: 0.3s; }

        /* ── NAV ── */
        nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.2rem 0; transition: var(--transition); }
        nav.scrolled { background: rgba(250,247,242,0.96); backdrop-filter: blur(12px); box-shadow: 0 2px 30px rgba(42,33,24,0.08); padding: 0.8rem 0; }
        .nav-inner { display: flex; align-items: center; justify-content: space-between; }
        .logo { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--dark); text-decoration: none; letter-spacing: 0.02em; }
        .logo small { display: block; font-family: var(--font-body); font-size: 0.55rem; font-weight: 400; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-light); margin-top: -4px; }
        
        .nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
        .nav-links a { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); text-decoration: none; transition: color 0.3s; }
        .nav-links a:hover, .nav-links a.active { color: var(--terracotta); }
        .nav-cta { margin-left: 1rem; }

        .nav-controls { display: flex; align-items: center; gap: 1.5rem; }
        .cart-trigger { background: none; border: none; cursor: pointer; position: relative; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; display: flex; flex-direction: column; align-items: center; color: var(--dark); gap: 4px; }
        .cart-icon-nav { font-size: 1.1rem; line-height: 1; }
        .cart-badge { position: absolute; top: -4px; right: -12px; background: var(--terracotta); color: white; font-size: 0.65rem; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; opacity: 0; transform: scale(0.5); transition: 0.3s; }
        .cart-badge.active { opacity: 1; transform: scale(1); }

        .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
        .hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); transition: var(--transition); border-radius: 2px; }

        /* ── HERO ── */
        #hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; background: linear-gradient(150deg, #f0ebe0 0%, #e8dcc8 40%, #d8c8b0 100%); }
        .hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 80% 30%, rgba(124,154,126,0.18) 0%, transparent 60%), radial-gradient(ellipse 40% 50% at 20% 80%, rgba(200,113,74,0.1) 0%, transparent 50%); }
        .hero-botanical { position: absolute; pointer-events: none; }
        .hero-botanical.top-right { top: -50px; right: -60px; width: 420px; opacity: 0.12; animation: float 8s ease-in-out infinite; }
        .hero-botanical.bottom-left { bottom: -80px; left: -40px; width: 350px; opacity: 0.1; animation: float 10s ease-in-out infinite reverse; }
        @keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(3deg); } }
        .hero-content { position: relative; text-align: center; max-width: 820px; margin: 0 auto; padding: 140px 2rem 100px; }
        .hero-eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--sage); margin-bottom: 1.5rem; opacity: 0; animation: heroFade 1s ease 0.3s forwards; }
        .hero-eyebrow::before, .hero-eyebrow::after { content: ''; display: block; width: 30px; height: 1px; background: var(--sage); }
        .hero-title { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 500; color: var(--dark); line-height: 1.15; margin-bottom: 1.5rem; opacity: 0; animation: heroFade 1s ease 0.5s forwards; }
        .hero-title em { font-style: italic; color: var(--terracotta); }
        .hero-subtitle { font-size: 1.05rem; font-weight: 300; color: var(--text-light); line-height: 1.8; max-width: 600px; margin: 0 auto 2.5rem; }
        .hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
        .hero-scroll { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light); opacity: 0; animation: heroFade 1s ease 1.2s forwards; }
        .scroll-line { width: 1px; height: 50px; background: linear-gradient(to bottom, var(--sage), transparent); animation: scrollPulse 2s ease-in-out infinite; }
        @keyframes scrollPulse { 0%, 100% { opacity: 0.4; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(1.2); } }
        @keyframes heroFade { to { opacity: 1; transform: translateY(0); } from { opacity: 0; transform: translateY(20px); } }

        /* ── MEANING SECTION ── */
        #meaning { background: var(--beige); position: relative; overflow: hidden; }
        #meaning::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--sage-light), var(--terracotta-light), var(--sage-light), transparent); }
        .meaning-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
        .meaning-text h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--dark); margin-bottom: 1.5rem; }
        .meaning-text p { color: var(--text-light); margin-bottom: 1.2rem; font-size: 0.95rem; }
        .meaning-words { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
        .meaning-word { background: white; border-radius: 16px; padding: 1.5rem; border-left: 3px solid var(--terracotta); box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
        .meaning-word h4 { font-family: var(--font-head); font-size: 1.4rem; color: var(--terracotta); margin-bottom: 0.4rem; }
        .meaning-word p { font-size: 0.85rem; color: var(--text-light); margin: 0; }
        .meaning-visual { position: relative; display: flex; align-items: center; justify-content: center; }
        .meaning-circle { width: 380px; height: 380px; border-radius: 50%; background: linear-gradient(135deg, var(--sage-pale) 0%, var(--beige-dark) 100%); display: flex; align-items: center; justify-content: center; position: relative; box-shadow: 0 20px 60px rgba(124,154,126,0.2); }
        .meaning-center-text { text-align: center; padding: 2rem; }
        .meaning-center-text .big-word { font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: var(--dark); display: block; line-height: 1; }
        .meaning-center-text .big-word span { color: var(--sage); }
        .meaning-center-text p { font-size: 0.8rem; color: var(--text-light); letter-spacing: 0.15em; text-transform: uppercase; margin: 0.5rem 0 0; }
        .orbit-item { position: absolute; width: 70px; height: 70px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
        .orbit-item:nth-child(2) { top: 20px; right: 30px; }
        .orbit-item:nth-child(3) { bottom: 20px; right: 20px; }
        .orbit-item:nth-child(4) { bottom: 30px; left: 20px; }
        .orbit-item:nth-child(5) { top: 30px; left: 30px; }

        /* ── PHILOSOPHY ── */
        .philosophy-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: center; }
        .logo-frame { background: linear-gradient(135deg, var(--sage-pale), var(--beige)); border-radius: 24px; padding: 3rem; display: flex; align-items: center; justify-content: center; min-height: 340px; position: relative; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
        .logo-sun { width: 180px; height: 180px; border-radius: 50%; border: 3px solid var(--sage-light); display: flex; align-items: center; justify-content: center; position: relative; margin: 0 auto; }
        .logo-sun::before { content: ''; position: absolute; inset: -12px; border-radius: 50%; border: 1px dashed var(--sage-light); opacity: 0.5; }
        .philosophy-points { list-style: none; }
        .philosophy-points li { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.2rem 0; border-bottom: 1px solid var(--beige-dark); }
        .ph-icon { width: 46px; height: 46px; min-width: 46px; border-radius: 50%; background: var(--sage-pale); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 600; color: var(--sage); }
        .ph-text h4 { font-family: var(--font-head); font-size: 1rem; color: var(--dark); margin-bottom: 0.3rem; }
        .ph-text p { font-size: 0.85rem; color: var(--text-light); margin: 0; }
        .logo-leaf { font-size: 4rem; display: block; }
        .logo-name-display { margin-top: 1.2rem; font-family: var(--font-head); font-size: 1.8rem; color: var(--dark); letter-spacing: 0.05em; }

        /* ── PRODUCTS (Store Layout) ── */
        #products { background: var(--beige); padding-top: 100px; }
        .section-header { text-align: center; margin-bottom: 4rem; }
        .section-header h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--dark); margin-bottom: 1rem; }
        .section-header p { color: var(--text-light); max-width: 560px; margin: 0 auto; font-size: 0.95rem; }
        
        /* .store-container { max-width: 100%; margin: 0 auto; padding: 0 2rem 4rem; display: flex; align-items: flex-start; gap: 2rem; } */
              .store-container { display: flex; gap: 4rem; padding: 60px 0; }

        .category-sidebar { width: 90px; position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1.5rem; border-right: 1px solid #eee; padding-right: 10px; height: calc(100vh - 110px); overflow-y: auto; flex-shrink: 0; }
        .category-sidebar::-webkit-scrollbar { width: 4px; }
        .category-sidebar::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }
        .sidebar-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; color: #666; cursor: pointer; position: relative; }
        .sidebar-item .sidebar-icon { width: 65px; height: 65px; border-radius: 50%; object-fit: cover; border: 2px solid transparent; padding: 3px; transition: var(--transition); background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
        .sidebar-item span { font-size: 0.7rem; font-weight: 600; line-height: 1.2; }
        .sidebar-item.active { color: #0c831f; }
        .sidebar-item.active .sidebar-icon { border-color: #0c831f; }
        .sidebar-item.active::after { content: ''; position: absolute; right: -10px; top: 32px; transform: translateY(-50%); width: 4px; height: 40px; background: #0c831f; border-radius: 4px 0 0 4px; }

        .products-main { flex-grow: 1; width: calc(100% - 110px); }
        .page-title { font-size: 1.6rem; color: #1a1a1a; margin-bottom: 2rem; font-weight: 700; padding-bottom: 10px; border-bottom: 1px solid #eee; }
       
       
       #products { background: var(--beige); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--dark); margin-bottom: 1rem; }
.section-header p { color: var(--text-light); max-width: 560px; margin: 0 auto; font-size: 0.95rem; }
.products-grid {
   display: grid;
  /* grid-template-columns: repeat(3, 1fr);  */
  gap: -20rem;
}
.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: var(--transition);
  position: relative;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.product-img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.06));
}
.product-body { padding: 1.5rem; }
.product-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  background: var(--sage);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}
.product-body h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 0.3rem;
}
.product-tagline {
  font-size: 0.8rem;
  color: var(--terracotta);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.product-desc { font-size: 0.85rem; color: var(--text-light); margin-bottom: 1rem; line-height: 1.6; }
.product-ingredients {
  font-size: 0.75rem;
  color: var(--text-light);
  background: var(--sage-pale);
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}
.product-ingredients strong { color: var(--sage); display: block; margin-bottom: 0.2rem; }
.product-actions { display: flex; gap: 0.75rem; }
.product-actions .btn { flex: 1; text-align: center; padding: 10px 16px; font-size: 0.75rem; }

       
        /* INCREASED MIN-WIDTH FOR LARGER PRODUCT CARDS */
        .unified-mode { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; align-items: stretch; }
        .unified-mode .scroll-section, .unified-mode .product-grid { display: contents; }
        .unified-mode .section-title { display: none !important; }
        .single-mode { display: block;}
        .single-mode .section-title { display: none !important; }
        .products { margin: 0; padding: 0; }
        .section-title { text-align: left; font-size: 1.3rem; color: #1a1a1a; margin-bottom: 1rem; font-weight: 700; }
        /* INCREASED MIN-WIDTH FOR LARGER PRODUCT CARDS */
        .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
        
        .product-card { background: var(--white); border-radius: 8px; border: 1px solid #f0f0f0; overflow: hidden; display: flex; flex-direction: column; padding: 12px; position: relative; }
        
        /* Updated Image Container for fit and alignment */
        .image-container { width: 100%; aspect-ratio: 1/1; border-radius: 8px; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; background: #f9f9f9; }
        .image-container img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: transform 0.3s ease; }
        .image-container img:hover { transform: scale(1.05); }
        
        .badge-off { position: absolute; top: 0; left: 0; background: #0052cc; color: white; font-size: 0.6rem; font-weight: 800; padding: 4px 6px; border-bottom-right-radius: 8px; z-index: 2; line-height: 1.2; text-align: center; }
        .badge-ad { position: absolute; top: 6px; right: 8px; font-size: 0.6rem; color: #999; z-index: 2; font-weight: 600;}

        .product-info { padding: 0; flex-grow: 1; display: flex; flex-direction: column; }
        .product-info h3 { font-size: 0.85rem; margin: 0 0 4px 0; color: #1a1a1a; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; cursor: pointer; }
        
        .variant-select-wrapper { margin-bottom: 12px; display: inline-block; flex-grow: 1; }
        .variant-select { appearance: none; -webkit-appearance: none; background-color: #fff; border: 1px solid #e0e0e0; border-radius: 6px; padding: 4px 24px 4px 8px; font-size: 0.75rem; color: #333; font-weight: 600; font-family: 'Poppins', sans-serif; cursor: pointer; outline: none; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>'); background-repeat: no-repeat; background-position: right 6px center; background-size: 10px; transition: var(--transition); }
        .variant-select:hover, .variant-select:focus { border-color: #0c831f; background-color: #f4fdf8; color: #0c831f; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%230c831f" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>'); }
        
        .card-footer { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto;}
        .price-container { display: flex; flex-direction: column; gap: 1px; }
        .price { font-weight: 700; font-size: 0.95rem; color: #1a1a1a; line-height: 1;}
        .mrp { font-size: 0.7rem; color: #888; text-decoration: line-through; line-height: 1;}
        
        .add-btn-container { width: 75px; height: 32px; position: relative; }
        .btn-add { width: 100%; height: 100%; background: #f4fdf8; border: 1px solid #318616; color: #318616; border-radius: 6px; font-weight: 700; font-size: 0.85rem; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
        .btn-add .options-text { font-size: 0.5rem; font-weight: 600; text-transform: lowercase; margin-top: 2px;}
        .qty-active { width: 100%; height: 100%; background: #318616; color: white; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 0.9rem; overflow: hidden; }
        .qty-active button { background: none; border: none; color: white; width: 26px; height: 100%; cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; }

        /* ── ABOUT JAAVAR ── */
        #about { background: var(--dark); position: relative; overflow: hidden; }
        #about::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 10% 50%, rgba(124,154,126,0.15) 0%, transparent 60%), radial-gradient(ellipse 40% 50% at 90% 50%, rgba(200,113,74,0.1) 0%, transparent 50%); }
        .about-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
        .about-label { font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--sage-light); margin-bottom: 1rem; display: flex; align-items: center; gap: 1rem; }
        .about-label::after { content: ''; flex: 1; height: 1px; background: rgba(124,154,126,0.3); }
        .about-inner h2 { font-size: clamp(2rem, 4vw, 3rem); color: white; margin-bottom: 1.5rem; }
        .about-inner h2 em { font-style: italic; color: var(--sage-light); }
        .about-inner p { color: rgba(255,255,255,0.7); margin-bottom: 1.2rem; font-size: 0.95rem; line-height: 1.8; }
        .about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
        .stat-item { text-align: center; }
        .stat-num { font-family: var(--font-head); font-size: 2.2rem; color: var(--terracotta-light); display: block; line-height: 1; }
        .stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.3rem; }
        .about-visual { display: flex; flex-direction: column; gap: 1.5rem; }
        .about-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; transition: var(--transition); }
        .about-card:hover { background: rgba(255,255,255,0.08); transform: translateX(8px); }
        .about-card-icon { font-size: 2rem; min-width: 50px; }
        .about-card h4 { color: white; margin-bottom: 0.3rem; font-size: 0.95rem; }
        .about-card p { color: rgba(255,255,255,0.6); font-size: 0.82rem; margin: 0; }

        /* ── BLOG ── */
        #blog { background: var(--cream); }
        .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
        .blog-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.05); transition: var(--transition); }
        .blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
        .blog-img { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; position: relative; }
        .blog-cat { position: absolute; top: 1rem; left: 1rem; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; background: white; color: var(--sage); padding: 4px 12px; border-radius: 20px; }
        .blog-body { padding: 1.5rem; }
        .blog-date { font-size: 0.75rem; color: var(--text-light); margin-bottom: 0.6rem; }
        .blog-body h3 { font-size: 1.1rem; color: var(--dark); margin-bottom: 0.8rem; line-height: 1.4; }
        .blog-body p { font-size: 0.83rem; color: var(--text-light); margin-bottom: 1.2rem; line-height: 1.6; }
        .blog-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--beige-dark); }
        .blog-read { font-size: 0.8rem; font-weight: 600; color: var(--terracotta); text-decoration: none; display: flex; align-items: center; gap: 0.4rem; transition: gap 0.3s; cursor: pointer; }
        .blog-read:hover { gap: 0.8rem; }

        /* ── CART DRAWER ── */
        #cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 1500; display: none; opacity: 0; transition: opacity 0.3s ease; }
        #cart-overlay.open { display: block; opacity: 1; visibility: visible; }
        #cart-drawer { position: fixed; top: 0; right: -450px; width: 400px; max-width: 100vw; height: 100vh; background: var(--white); z-index: 2000; background: rgba(236, 241, 243, 0.5); display: flex; flex-direction: column; transition: right 0.3s ease; }
        #cart-drawer.open { right: 0; }
        .cart-header { padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; }
        .cart-header h3 { color: var(--primary-dark); font-size: 1.5rem; margin: 0; font-family: var(--font-head); }
        .cart-items { flex-grow: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.2rem; }
        .cart-item { display: flex; gap: 1rem; align-items: center; border-bottom: 1px solid #eee; padding-bottom: 1rem; }
        .cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid #eee; }
        .cart-item-details { flex-grow: 1; }
        .remove-btn { border: none; background: none; color: var(--terracotta); font-size: 0.8rem; font-weight: 600; cursor: pointer; text-transform: uppercase; margin-left: auto; }
        .remove-btn:hover { text-decoration: underline; }
        .cart-footer { padding: 1.5rem; border-top: 1px solid #eee; background: var(--bg-main); }
        .checkout-btn { background: var(--primary-dark); color: white; border: none; width: 100%; padding: 1rem; border-radius: 30px; font-size: 1rem; cursor: pointer; font-weight: 600; transition: var(--transition); }
        .checkout-btn:hover { background: var(--accent-gold); }

        /* ── MODALS (Product E-Commerce Gallery & General) ── */
        #product-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 2500; display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
        #product-modal-overlay.show { display: flex; opacity: 1; }
        #product-modal { background: var(--white); width: 100%; max-width: 1000px; max-height: 90vh; border-radius: 12px; overflow-y: auto; position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.2); transform: translateY(20px); transition: transform 0.3s ease; }
        #product-modal-overlay.show #product-modal { transform: translateY(0); }
        
        .modal-content-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; background: #fff; padding: 2rem; border-radius: 12px; }
        
        /* New Gallery Styles */
        .modal-image-col { display: flex; flex-direction: column; gap: 1rem; }
        /* .modal-main-media { width: 100%; aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; background: #f9f9f9; border: 1px solid #eee; position: relative; display: flex; align-items: center; justify-content: center; } */
        .modal-main-media img, .modal-main-media video { width: 100%; height: 100%; object-fit: cover; }
        
        /* SLIDER BUTTONS */
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.9); border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: var(--transition); color: var(--primary-dark); }
.slider-btn:hover { background: white; box-shadow: 0 4px 12px rgba(0,0,0,0.25); color: var(--terracotta); scale: 1.05; }
.prev-btn { left: 10px; }
.next-btn { right: 10px; }

        .modal-thumbnails { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 5px; scrollbar-width: none; /* Firefox */ }
        .modal-thumbnails::-webkit-scrollbar { display: none; /* Safari and Chrome */ }
        
        .thumbnail-box { width: 70px; height: 70px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; flex-shrink: 0; opacity: 0.6; transition: var(--transition); background: #f9f9f9; position: relative; }
        .thumbnail-box.active { border-color: var(--primary-dark); opacity: 1; }
        .thumbnail-box:hover { opacity: 1; }
        .thumbnail-box img { width: 100%; height: 100%; object-fit: cover; }
        .video-thumbnail::after { content: '▶'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; background: rgba(0,0,0,0.5); width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
        
        .modal-info-col { padding: 0; display: flex; flex-direction: column; }
        .modal-info-col h2 { color: var(--primary-dark); font-size: 2rem; margin-bottom: 0.5rem; font-family: 'Playfair Display', serif;}
        .modal-desc { font-size: 1rem; color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.6; }
        .modal-section { margin-bottom: 1.5rem; }
        .modal-section h4 { color: var(--primary-dark); margin-bottom: 0.5rem; font-size: 1.1rem; border-bottom: 1px solid #eee; padding-bottom: 0.3rem;}
        .modal-section ul { padding-left: 1.5rem; color: var(--text-light); list-style-type: disc; }
        .modal-section ul li { margin-bottom: 0.3rem; }
        .modal-section p { color: var(--text-light); font-size: 0.95rem; line-height: 1.6;}
        
        #modal-variant-select { font-size: 0.95rem; padding: 8px 30px 8px 12px; width: auto; min-width: 150px; }
        #modal-add-btn-container { width: 140px !important; height: 45px !important; margin-top: 15px; }
        #modal-add-btn-container .btn-add { font-size: 1.1rem; }
        #modal-add-btn-container .qty-active { font-size: 1.1rem; }
        #modal-add-btn-container .qty-active button { width: 40px; font-size: 1.3rem; }

        /* Blog Modal */
        .modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; opacity: 0; visibility: hidden; transition: 0.3s; }
        .modal-overlay.open { opacity: 1; visibility: visible; }
        .modal-content { background: white; border-radius: 24px; width: 100%; max-width: 800px; max-height: 90vh; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
        .modal-close { position: absolute; top: 1rem; right: 1rem; border: none; background: white; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; z-index: 5; font-size: 1.1rem; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
        .modal-img-side { background: var(--beige-dark); display: flex; align-items: center; justify-content: center; font-size: 8rem; min-height: 300px; }
        .modal-body-side { padding: 2.5rem; display: flex; flex-direction: column; }
        .modal-ingredients { font-size: 0.85rem; color: var(--text-light); background: var(--sage-pale); padding: 1rem; border-radius: 12px; margin: 1.5rem 0; }

        /* ── TOAST ── */
        #toast-container { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 3000; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
        .toast { background: var(--beige); color: var(--primary-dark); padding: 12px 24px; border-radius: 30px; font-weight: 600; box-shadow: 0 4px 15px rgba(0,0,0,0.2); font-size: 0.95rem; opacity: 0; transform: translateY(20px); transition: opacity 0.3s, transform 0.3s; }
        .toast.show { opacity: 1; transform: translateY(0); }

        /* ── NEWSLETTER ── */
        #newsletter { background: linear-gradient(135deg, var(--sage) 0%, var(--warm-brown) 100%); position: relative; overflow: hidden; padding: 80px 0; }
        #newsletter::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
        .newsletter-inner { position: relative; text-align: center; max-width: 600px; margin: 0 auto; }
        .newsletter-inner h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: white; margin-bottom: 1rem; }
        .newsletter-inner p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 0.95rem; }
        .newsletter-form { display: flex; gap: 0; max-width: 500px; margin: 0 auto 1.5rem; border-radius: 50px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
        .newsletter-form input { flex: 1; padding: 16px 24px; border: none; outline: none; font-family: var(--font-body); font-size: 0.9rem; background: white; color: var(--text); }
        .newsletter-form button { padding: 16px 28px; background: var(--terracotta); color: white; border: none; font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: var(--transition); white-space: nowrap; }
        .newsletter-form button:hover { background: var(--warm-brown); }
        .gdpr-note { font-size: 0.73rem; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 0.5rem; justify-content: center; }

        /* ── FOOTER ── */
        footer { background: var(--dark); padding: 70px 0 0; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
        .footer-brand .logo { color: white; display: inline-block; margin-bottom: 1rem; }
        .footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.7; margin-bottom: 1.5rem; }
        .social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
        .social-link { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 0.85rem; text-decoration: none; transition: var(--transition); border: 1px solid rgba(255,255,255,0.1); }
        .social-link:hover { background: var(--terracotta); color: white; border-color: var(--terracotta); }
        .footer-col h4 { font-family: var(--font-head); color: white; font-size: 1.1rem; margin-bottom: 1.2rem; }
        .footer-links { list-style: none; }
        .footer-links li { margin-bottom: 0.6rem; }
        .footer-links a { color: rgba(255,255,255,0.5); font-size: 0.85rem; text-decoration: none; transition: color 0.3s; display: flex; align-items: center; gap: 0.4rem; }
        .footer-links a:hover { color: var(--sage-light); }
        .footer-contact { color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.8; }
        .footer-contact a { color: var(--sage-light); text-decoration: none; }
        .footer-bottom { padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
        .footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.78rem; }

        /* ── RESPONSIVE ── */
        @media (max-width: 768px) {
            .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 2rem; gap: 1.5rem; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
            .nav-links.open { display: flex; }
            .hamburger { display: flex; }
            .nav-cta { display: none; }
            .products-grid, .philosophy-inner, .meaning-grid, .blog-grid, .about-inner { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            
            .store-container { flex-direction: column; padding: 0 1rem 2rem; gap: 1rem;}
            .category-sidebar { width: 100%; height: auto; flex-direction: row; border-right: none; border-bottom: 1px solid #eee; padding-bottom: 10px; z-index: 999; background: var(--cream); position: relative; top: 0; overflow-x: auto; padding-right: 0; }
            .sidebar-item { flex: 0 0 auto; min-width: 80px; }
            .sidebar-item.active::after { bottom: -10px; top: auto; right: 50%; transform: translateX(50%); width: 40px; height: 4px; border-radius: 4px 4px 0 0; }
            .products-main { width: 100%; }
            .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
            
            /* Responsive Modal */
            .modal-content-grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem; }
            .modal-main-media { min-height: 300px; max-height: 400px; }
            .modal-info-col { padding: 0; }
        }
    /* </style> */

    
/* FORM */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--beige-dark);
}

/* PAYMENT BOX */
.payment-box {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
    border: 2px solid var(--beige-dark);
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.payment-box.selected {
    border-color: var(--terracotta);
    background: #fffaf8;

}

.payment-box input {
    accent-color: var(--terracotta);
}

/* SUMMARY */
.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.summary-total {
    border-top: 1px solid var(--beige-dark);
    padding-top: 10px;
    font-weight: bold;
    font-size: 1.2rem;
}

/* SUCCESS */
#success-view {
    display: none;
    text-align: center;
    padding: 60px;
}
/* Checkout Header */
.checkout-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

/* Back Button */
.back-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: white;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.back-btn:hover {
    background: var(--terracotta);
    color: white;
    transform: translateX(-3px);
}

/* --- Login Modal --- */
#login-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
    z-index: 3000; display: none; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
}
#login-modal-overlay.show { display: flex; opacity: 1; }

.login-box {
    background: var(--white); width: 90%; max-width: 400px;
    padding: 2.5rem 2rem; border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    text-align: center; position: relative;
    transform: translateY(20px); transition: transform 0.3s ease;
}
#login-modal-overlay.show .login-box { transform: translateY(0); }

.login-box h3 { color: var(--primary-dark); font-size: 1.5rem; margin-bottom: 0.5rem; font-family: 'Playfair Display', serif;}
.login-box p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1.5rem; }

.login-input {
    width: 100%; padding: 12px; border: 1px solid #ddd;
    border-radius: 8px; font-size: 1rem; margin-bottom: 1rem;
    text-align: center; letter-spacing: 2px;
    outline: none; transition: border-color 0.3s;
}
.login-input:focus { border-color: var(--primary-dark); }

.btn-primary-full {
    background: var(--primary-dark); color: white; border: none;
    width: 100%; padding: 12px; border-radius: 30px;
    font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s;
}
.btn-primary-full:hover { background: var(--accent-gold); }

/* Hide the OTP section initially */
#otp-section { display: none; }


/* --- Header & Navigation --- */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo img { height: 40px; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary-dark); }

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-menu a:hover { color: var(--accent-gold); }

/* --- Search Bar --- */
.search-container {
    display: flex;
    align-items: center;
    background: var(--bg-main);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid #e0e0e0;
    width: 600px; 
    max-width: 100%;
    transition: var(--transition);
}

.search-container:focus-within { 
    border-color: var(--primary-dark); 
    box-shadow: 0 0 5px rgba(44,76,59,0.2); 
}

.search-container input {
    border: none;
    background: transparent;
    outline: none;
    padding-left: 0.5rem;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

/* --- User Actions & Cart Icon --- */
.user-actions { display: flex; gap: 1.5rem; align-items: center; }

.action-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    font-size: 0.8rem; 
    cursor: pointer;
    position: relative;
}

#cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background: var(--accent-gold);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
    font-weight: bold;
    transition: transform 0.2s ease;
}

/* --- Profile Dropdown Menu --- */
.profile-container { position: relative; }
.profile-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: -50px; /* Aligns it nicely under the icon */
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    width: 250px;
    padding: 1.5rem;
    z-index: 100;
    text-align: left;
}

/* This makes the menu appear when hovering over the profile icon */
.profile-container:hover .profile-dropdown { display: block; }

.login-btn {
    background: var(--primary-dark);
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 4px;
    margin: 10px 0;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.login-btn:hover { background: var(--accent-gold); }

.dropdown-links { list-style: none; padding: 0; margin: 0; }
.dropdown-links li { padding: 8px 0; border-bottom: 1px solid #eee; cursor: pointer; }
.dropdown-links li:last-child { border-bottom: none; }
.dropdown-links li:hover { color: var(--accent-gold); }
.new-tag { color: var(--accent-gold); font-weight: 600; }

/* --- Mobile Responsiveness for Header --- */
@media (max-width: 768px) {
    .header-container { flex-direction: column; }
    .nav-menu { display: none; } 
    .search-container { width: 100%; }
}

/* --- Profile Dropdown in Navbar --- */
.nav-controls {
    display: flex;
    align-items: center;
}

.profile-container { 
    position: relative; 
}

.profile-dropdown {
    display: none;
    position: absolute;
    top: 150%; /* Pushes it down below the nav bar */
    right: -20px; 
    background: var(--white, #ffffff);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    width: 250px;
    padding: 1.5rem;
    z-index: 1000;
    text-align: left;
    border: 1px solid #eee;
}

/* Show the dropdown when hovering over the profile icon area */
.profile-container:hover .profile-dropdown { 
    display: block; 
}

.login-btn {
    background: var(--primary, #2c4c3b); /* Update to match your primary color variable */
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 4px;
    margin: 10px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.login-btn:hover { 
    background: var(--terracotta, #c8714a); /* Update to match your accent color */
}

.dropdown-links { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.dropdown-links li { 
    padding: 8px 0; 
    border-bottom: 1px solid #eee; 
    cursor: pointer; 
    font-size: 0.9rem;
}

.dropdown-links li:last-child { 
    border-bottom: none; 
}

.dropdown-links li:hover { 
    color: var(--primary, #2c4c3b); 
    font-weight: 600;
}

.new-tag { 
    color: var(--terracotta, #c8714a); 
    font-weight: 600; 
}

/* Hide the text "Profile" on very small screens to save space */
@media (max-width: 768px) {
    .profile-text { display: none; }
}

/* --- Login & OTP Modal Styles --- */
/* --- Login & OTP Modal Styles (BULLETPROOF) --- */
#login-modal-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
    z-index: 3000; 
    
    /* Always keep it flex, but perfectly hidden and unclickable */
    display: flex; 
    align-items: center; 
    justify-content: center;
    visibility: hidden; 
    opacity: 0; 
    pointer-events: none; 
    
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* When the .show class is added, it becomes visible and clickable */
#login-modal-overlay.show { 
    visibility: visible;
    opacity: 1; 
    pointer-events: auto;
}

.login-box {
    background: var(--white, #ffffff); 
    width: 90%; 
    max-width: 400px;
    padding: 2.5rem 2rem; 
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    text-align: center; 
    position: relative;
    
    /* Start it lower down */
    transform: translateY(30px); 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Adds a slight, smooth bounce */
}

/* Slide it up perfectly into place */
#login-modal-overlay.show .login-box { 
    transform: translateY(0); 
}

.login-box h3 { 
    color: var(--primary-dark, #2c4c3b); 
    font-size: 1.5rem; 
    margin-bottom: 0.5rem; 
    font-family: 'Playfair Display', serif;
}

.login-box p { 
    color: var(--text-light, #666); 
    font-size: 0.9rem; 
    margin-bottom: 1.5rem; 
}

.login-input {
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ddd;
    border-radius: 8px; 
    font-size: 1rem; 
    margin-bottom: 1rem;
    text-align: center; 
    letter-spacing: 2px;
    outline: none; 
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.login-input:focus { 
    border-color: var(--primary-dark, #2c4c3b); 
}

.btn-primary-full {
    background: var(--primary-dark, #2c4c3b); 
    color: white; 
    border: none;
    width: 100%; 
    padding: 12px; 
    border-radius: 30px;
    font-size: 1rem; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.3s;
}

.btn-primary-full:hover { 
    background: var(--accent-gold, #c5a059); 
}

/* Hide Step 2 initially */
#otp-section { 
    display: none; 
}

/* --- Click-Based Profile Dropdown --- */
.profile-dropdown-menu {
    position: absolute;
    top: 150%; 
    right: -20px; 
    background: var(--white, #ffffff);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    width: 250px;
    padding: 1.5rem;
    z-index: 1000;
    text-align: left;
    border: 1px solid #eee;
    
    /* Hidden by default with smooth transitions */
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

/* The active state triggered by JavaScript */
.profile-dropdown-menu.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Flip the arrow when the menu is open */
.profile-trigger.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Clean up link styles inside the dropdown */
.dropdown-links { list-style: none; padding: 0; margin: 0; }
.dropdown-links li { padding: 8px 0; border-bottom: 1px solid #eee; }
.dropdown-links li:last-child { border-bottom: none; }
.dropdown-links li a { color: inherit; text-decoration: none; display: block; font-size: 0.9rem;}
.dropdown-links li a:hover { color: var(--primary-dark, #2c4c3b); font-weight: 600; }
