/* Rangoli Sarees — Static Site Styles */
:root{
  --maroon:#7B0323;
  --maroon-dark:#5c021a;
  --gold:#C9A227;
  --cream:#FBF6EC;
  --bg:#ffffff;
  --fg:#231a1c;
  --muted:#7a6f72;
  --border:#eae4e6;
  --sale:#c0392b;
  --success:#1e8a4a;
  --radius:6px;
  --font-serif:"Playfair Display","Cormorant Garamond",Georgia,serif;
  --font-sans:"Inter",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:var(--font-sans);color:var(--fg);background:var(--bg);line-height:1.55;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:var(--font-serif);letter-spacing:-.01em;margin:0 0 .5rem}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
input,select,textarea{font:inherit;color:inherit}
.container{max-width:1200px;margin:0 auto;padding:0 1rem}
@media(min-width:640px){.container{padding:0 1.5rem}}
@media(min-width:1024px){.container{padding:0 2.5rem}}

/* Announcement bar */
.announce{background:var(--maroon);color:#fff;font-size:.8rem;overflow:hidden;padding:.55rem 0}
.announce-track{display:flex;white-space:nowrap;animation:marquee 32s linear infinite}
.announce-track span{margin:0 2rem;flex-shrink:0;letter-spacing:.03em}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* Header */
.header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.96);backdrop-filter:blur(6px);border-bottom:1px solid var(--border)}
.header-inner{display:flex;align-items:center;gap:1rem;height:70px}
.logo{font-family:var(--font-serif);font-size:1.7rem;font-weight:600;color:var(--maroon);margin-right:2rem}
.logo span{color:var(--gold)}
.nav{display:none;gap:2rem;font-size:.9rem;font-weight:500}
@media(min-width:1024px){.nav{display:flex}}
.nav a{padding:1.25rem 0;position:relative}
.nav a:hover{color:var(--maroon)}
.header-actions{display:flex;align-items:center;gap:.25rem;margin-left:auto}
.icon-btn{padding:.55rem;position:relative;border-radius:6px}
.icon-btn:hover{color:var(--maroon)}
.icon-btn svg{width:20px;height:20px}
.badge{position:absolute;top:2px;right:2px;background:var(--maroon);color:#fff;font-size:10px;font-weight:700;border-radius:999px;min-width:16px;height:16px;padding:0 4px;display:grid;place-items:center}
.badge.gold{background:var(--gold);color:#231a1c}
.hamburger{display:inline-flex}
@media(min-width:1024px){.hamburger{display:none}}

/* Mobile drawer */
.drawer-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:50;display:none}
.drawer-overlay.open{display:block}
.drawer{position:fixed;left:0;top:0;bottom:0;width:82%;max-width:360px;background:#fff;z-index:51;padding:1.5rem;overflow-y:auto;transform:translateX(-100%);transition:transform .25s}
.drawer.open{transform:translateX(0)}
.drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}
.drawer-nav a{display:block;padding:.75rem 0;border-bottom:1px solid var(--border);font-weight:500}

/* Hero */
.hero{position:relative;height:60vh;min-height:420px;max-height:640px;overflow:hidden;background:var(--cream)}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .8s;background-size:cover;background-position:center}
.hero-slide.active{opacity:1}
.hero-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.45),rgba(0,0,0,.1))}
.hero-content{position:absolute;inset:0;display:flex;align-items:center;z-index:2}
.hero-text{max-width:560px;color:#fff}
.hero-eyebrow{font-size:.75rem;letter-spacing:.25em;color:var(--gold);font-weight:600;text-transform:uppercase;margin-bottom:1rem}
.hero-text h1{font-size:clamp(2rem,5vw,3.75rem);line-height:1.05;color:#fff;margin-bottom:1rem}
.hero-text p{font-size:1.05rem;opacity:.95;margin-bottom:1.75rem}
.hero-dots{position:absolute;bottom:1.25rem;left:0;right:0;display:flex;justify-content:center;gap:.5rem;z-index:3}
.hero-dot{width:32px;height:3px;background:rgba(255,255,255,.4);border-radius:2px;cursor:pointer}
.hero-dot.active{background:var(--gold)}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.85rem 1.75rem;border-radius:var(--radius);font-weight:600;font-size:.9rem;transition:all .2s;border:1px solid transparent}
.btn-primary{background:var(--maroon);color:#fff}
.btn-primary:hover{background:var(--maroon-dark)}
.btn-gold{background:var(--gold);color:#231a1c}
.btn-outline{border-color:#fff;color:#fff}
.btn-outline:hover{background:#fff;color:var(--maroon)}
.btn-dark-outline{border-color:var(--maroon);color:var(--maroon)}
.btn-dark-outline:hover{background:var(--maroon);color:#fff}

/* Section */
section{margin-top:4rem}
@media(min-width:1024px){section{margin-top:6rem}}
.section-head{text-align:center;margin-bottom:2.5rem}
.section-head .eyebrow{font-size:.72rem;letter-spacing:.25em;color:var(--gold);font-weight:700;text-transform:uppercase;margin-bottom:.75rem}
.section-head h2{font-size:clamp(1.6rem,3vw,2.4rem)}
.section-head p{color:var(--muted);max-width:560px;margin:.5rem auto 0}

/* Categories */
.cat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
@media(min-width:640px){.cat-grid{grid-template-columns:repeat(4,1fr)}}
.cat-card{position:relative;aspect-ratio:3/4;border-radius:var(--radius);overflow:hidden;background:var(--cream)}
.cat-card img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.cat-card:hover img{transform:scale(1.06)}
.cat-card::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.65),transparent 55%)}
.cat-card .cat-label{position:absolute;bottom:1rem;left:1rem;right:1rem;color:#fff;z-index:2;font-family:var(--font-serif);font-size:1.25rem}

/* Product row / grid */
.product-row{display:flex;gap:1.25rem;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:.5rem;scrollbar-width:none}
.product-row::-webkit-scrollbar{display:none}
.product-row .product-card{flex:0 0 240px;scroll-snap-align:start}
@media(min-width:640px){.product-row .product-card{flex-basis:260px}}
@media(min-width:1024px){.product-row .product-card{flex-basis:280px}}
.product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem}
@media(min-width:640px){.product-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1024px){.product-grid{grid-template-columns:repeat(4,1fr);gap:1.75rem}}

.product-card{position:relative}
.product-card .img-wrap{position:relative;overflow:hidden;border-radius:var(--radius);background:var(--cream);aspect-ratio:4/5;display:block}
.product-card .img-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.product-card:hover .img-wrap img{transform:scale(1.05)}
.tag-sale{position:absolute;top:.75rem;left:.75rem;background:var(--sale);color:#fff;font-size:.7rem;font-weight:700;padding:.3rem .5rem;border-radius:4px;z-index:2}
.wish-btn{position:absolute;top:.75rem;right:.75rem;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.95);display:grid;place-items:center;box-shadow:0 1px 3px rgba(0,0,0,.15);z-index:2;transition:transform .2s}
.wish-btn:hover{transform:scale(1.1)}
.wish-btn svg{width:16px;height:16px;stroke:#333;fill:none;stroke-width:2}
.wish-btn.active svg{fill:var(--maroon);stroke:var(--maroon)}
.quick-add{position:absolute;left:.75rem;right:.75rem;bottom:.75rem;background:var(--maroon);color:#fff;padding:.65rem;border-radius:4px;font-size:.85rem;font-weight:500;display:flex;align-items:center;justify-content:center;gap:.4rem;opacity:0;transform:translateY(6px);transition:all .25s;z-index:2}
.product-card:hover .quick-add{opacity:1;transform:translateY(0)}
.product-info{margin-top:.75rem}
.product-info .name{font-size:.9rem;font-weight:500;display:block;margin-bottom:.35rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-info .name:hover{color:var(--maroon)}
.rating{display:flex;align-items:center;gap:.3rem;font-size:.75rem;color:var(--muted);margin-bottom:.35rem}
.rating svg{width:14px;height:14px;fill:var(--gold)}
.rating b{color:var(--fg);font-weight:600}
.price{display:flex;align-items:baseline;gap:.5rem}
.price .now{font-size:1rem;font-weight:700;color:var(--maroon)}
.price .was{font-size:.8rem;color:var(--muted);text-decoration:line-through}
.price .off{font-size:.75rem;font-weight:600;color:var(--success)}

/* Trust badges */
.trust{background:var(--cream);padding:2.5rem 0;margin-top:4rem}
.trust-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;text-align:center}
@media(min-width:1024px){.trust-grid{grid-template-columns:repeat(4,1fr)}}
.trust-item svg{width:32px;height:32px;color:var(--maroon);margin:0 auto .5rem;display:block}
.trust-item h4{font-size:.95rem;margin-bottom:.25rem;font-family:var(--font-sans);font-weight:600}
.trust-item p{color:var(--muted);font-size:.8rem;margin:0}

/* Premium banner */
.premium{position:relative;border-radius:var(--radius);overflow:hidden;min-height:340px;display:flex;align-items:center;color:#fff;background-size:cover;background-position:center}
.premium::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.6),rgba(0,0,0,.15))}
.premium .inner{position:relative;padding:3rem 2rem;max-width:520px}
.premium h2{color:#fff;font-size:2rem}

/* Reviews */
.reviews-grid{display:grid;grid-template-columns:1fr;gap:1.25rem}
@media(min-width:768px){.reviews-grid{grid-template-columns:repeat(3,1fr)}}
.review-card{background:var(--cream);border-radius:var(--radius);padding:1.5rem}
.review-card .stars{color:var(--gold);margin-bottom:.5rem}
.review-card p{font-size:.9rem;margin:0 0 1rem}
.review-card .author{font-size:.85rem;font-weight:600}

/* Newsletter */
.newsletter{background:var(--maroon);color:#fff;padding:3rem 0;text-align:center;margin-top:4rem}
.newsletter h2{color:#fff}
.newsletter form{display:flex;gap:.5rem;max-width:440px;margin:1.25rem auto 0;flex-wrap:wrap;justify-content:center}
.newsletter input{flex:1;min-width:220px;padding:.85rem 1rem;border:0;border-radius:var(--radius);background:#fff;color:#231a1c}

/* Footer */
footer{background:#1a1113;color:#c9c0c2;padding:3.5rem 0 1.5rem;margin-top:4rem}
.footer-grid{display:grid;grid-template-columns:1fr;gap:2rem}
@media(min-width:768px){.footer-grid{grid-template-columns:2fr 1fr 1fr 1fr}}
.footer-col h4{color:#fff;font-family:var(--font-sans);font-size:.9rem;text-transform:uppercase;letter-spacing:.1em;margin-bottom:1rem}
.footer-col a{display:block;padding:.3rem 0;font-size:.9rem;color:#c9c0c2}
.footer-col a:hover{color:var(--gold)}
.socials{display:flex;gap:.75rem;margin-top:1rem}
.socials a{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.08);display:grid;place-items:center;padding:0}
.socials svg{width:16px;height:16px}
.copyright{border-top:1px solid rgba(255,255,255,.1);margin-top:2.5rem;padding-top:1.5rem;font-size:.8rem;text-align:center;color:#8b8285}

/* Shop / filters */
.shop-layout{display:grid;grid-template-columns:1fr;gap:2rem;margin-top:2rem}
@media(min-width:1024px){.shop-layout{grid-template-columns:240px 1fr}}
.filter-box h4{font-family:var(--font-sans);font-size:.85rem;text-transform:uppercase;letter-spacing:.1em;margin-bottom:.75rem}
.filter-group{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border)}
.filter-group label{display:flex;align-items:center;gap:.5rem;padding:.3rem 0;font-size:.9rem;cursor:pointer}
.shop-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem;gap:1rem;flex-wrap:wrap}
.shop-head h1{font-size:1.75rem;margin:0}
.sort-select{padding:.55rem .85rem;border:1px solid var(--border);border-radius:var(--radius);background:#fff}

/* Product detail */
.pdp{display:grid;grid-template-columns:1fr;gap:2rem;margin-top:2rem}
@media(min-width:1024px){.pdp{grid-template-columns:1fr 1fr;gap:3rem}}
.pdp-gallery .main{border-radius:var(--radius);overflow:hidden;background:var(--cream);aspect-ratio:4/5}
.pdp-gallery .main img{width:100%;height:100%;object-fit:cover}
.thumbs{display:flex;gap:.5rem;margin-top:.75rem}
.thumbs button{border:2px solid transparent;border-radius:4px;overflow:hidden;padding:0;width:70px;height:88px}
.thumbs button.active{border-color:var(--maroon)}
.thumbs img{width:100%;height:100%;object-fit:cover}
.pdp-info h1{font-size:1.75rem;margin-bottom:.5rem}
.pdp-price{display:flex;align-items:baseline;gap:.75rem;margin:1rem 0}
.pdp-price .now{font-size:1.75rem;font-weight:700;color:var(--maroon)}
.pdp-price .was{color:var(--muted);text-decoration:line-through}
.pdp-price .off{color:var(--success);font-weight:600}
.qty{display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.qty button{padding:.5rem 1rem;font-size:1.1rem}
.qty span{padding:0 1rem;min-width:2rem;text-align:center}
.pdp-actions{display:flex;gap:.75rem;margin-top:1.5rem;flex-wrap:wrap}
.accordion details{border-bottom:1px solid var(--border);padding:1rem 0}
.accordion summary{font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between}
.accordion summary::after{content:"+";font-size:1.2rem}
.accordion details[open] summary::after{content:"−"}

/* Cart */
.cart-layout{display:grid;grid-template-columns:1fr;gap:2rem;margin-top:2rem}
@media(min-width:1024px){.cart-layout{grid-template-columns:2fr 1fr}}
.cart-item{display:grid;grid-template-columns:80px 1fr auto;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--border);align-items:center}
.cart-item img{width:80px;height:100px;object-fit:cover;border-radius:4px}
.cart-summary{background:var(--cream);padding:1.5rem;border-radius:var(--radius);height:fit-content}
.cart-summary .row{display:flex;justify-content:space-between;padding:.5rem 0}
.cart-summary .total{font-weight:700;font-size:1.2rem;border-top:1px solid var(--border);padding-top:.75rem;margin-top:.5rem}

/* WhatsApp float */
.wa-float{position:fixed;bottom:1.25rem;right:1.25rem;width:52px;height:52px;border-radius:50%;background:#25D366;display:grid;place-items:center;box-shadow:0 4px 12px rgba(0,0,0,.2);z-index:30}
.wa-float svg{width:28px;height:28px;fill:#fff}

/* Utility */
.text-center{text-align:center}
.mt-2{margin-top:2rem}
/* Hero — split layout */
.hero-split{
  position:relative;
  background:linear-gradient(120deg,#e9c9a0,#f3dcb8);
  overflow:hidden;
}
.hero-split-slide{
  display:none;
}
.hero-split-slide.active{
  display:block;
}
.hero-split-inner{
  display:flex;
  align-items:center;
  min-height:460px;
  gap:2rem;
}
@media(min-width:1024px){
  .hero-split-inner{ min-height:560px; }
}
.hero-split-text{
  flex:1;
  padding:2rem 1rem;
  max-width:520px;
}
.hero-split-text h1{
  font-size:clamp(1.8rem,4vw,3rem);
  line-height:1.15;
  color:#231a1c;
  margin-bottom:1rem;
}
.hero-split-text p{
  color:#5a4f51;
  margin-bottom:1.5rem;
  font-size:1rem;
}
.hero-split-image{
  flex:1;
  height:460px;
  display:none;
}
@media(min-width:768px){
  .hero-split-image{ display:block; }
}
@media(min-width:1024px){
  .hero-split-image{ height:560px; }
}
.hero-split-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:8px;
}
.hero-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:50%;
  background:rgba(255,255,255,.85);
  display:grid;
  place-items:center;
  font-size:1.4rem;
  z-index:5;
  color:#231a1c;
  box-shadow:0 2px 8px rgba(0,0,0,.15);
}
.hero-arrow:hover{ background:#fff; }
.hero-arrow-left{ left:1rem; }
.hero-arrow-right{ right:1rem; }

/* Hero split — mobile fixes */
@media(max-width:767px){
  .hero-split-inner{
    min-height:auto;
    padding:3rem 0 3.5rem;
  }
  .hero-split-text{
    padding:0 3.2rem;
    max-width:100%;
  }
  .hero-arrow{
    top:2.5rem;
    transform:none;
    width:36px;
    height:36px;
    font-size:1.1rem;
  }
  .hero-arrow-left{ left:.5rem; }
  .hero-arrow-right{ right:.5rem; }
}

/* Auth modal */
.auth-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:60;display:none}
.auth-modal-overlay.open{display:block}
.auth-modal{
  position:fixed;top:50%;left:50%;transform:translate(-50%,-50%) scale(.96);
  width:92%;max-width:420px;max-height:90vh;overflow-y:auto;
  background:#fff;border-radius:var(--radius);z-index:61;padding:2rem;
  opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;
}
.auth-modal.open{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}
.auth-modal-close{
  position:absolute;top:1rem;right:1rem;width:32px;height:32px;border-radius:50%;
  background:var(--cream);display:flex;align-items:center;justify-content:center;
  font-size:.9rem;color:var(--fg);
}
.auth-modal-close:hover{background:var(--border)}
.auth-modal-tabs{display:flex;gap:.5rem;margin-bottom:1.5rem;border-bottom:1px solid var(--border)}
.auth-tab{flex:1;padding:.75rem 0;font-weight:600;font-size:.9rem;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px}
.auth-tab.active{color:var(--maroon);border-bottom-color:var(--maroon)}
.auth-modal-error{background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;border-radius:6px;padding:.75rem 1rem;font-size:.85rem;margin-bottom:1rem}
.auth-modal-error p{margin:.15rem 0}
.auth-form{display:none;flex-direction:column;gap:.9rem}
.auth-form.active{display:flex}
.auth-form h2{font-size:1.4rem;margin-bottom:.25rem}
.auth-modal-sub{color:var(--muted);font-size:.85rem;margin:0 0 .5rem}
.auth-form label{display:flex;flex-direction:column;gap:.35rem;font-size:.85rem;font-weight:600;color:var(--fg)}
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"]{
  padding:.75rem 1rem;border:1px solid var(--border);border-radius:6px;font-weight:400;font-size:.9rem;
}
.auth-remember{flex-direction:row!important;align-items:center;gap:.5rem!important;font-weight:500!important}
.auth-remember input{width:auto}
.auth-modal-switch{text-align:center;font-size:.85rem;color:var(--muted);margin-top:.25rem}
.auth-modal-switch button{color:var(--maroon);font-weight:600;text-decoration:underline}

/* Account dropdown (logged-in state) */
.account-menu{position:relative}
.account-dropdown{
  position:absolute;top:calc(100% + 10px);right:0;background:#fff;border:1px solid var(--border);
  border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.12);min-width:180px;padding:.75rem;
  display:none;z-index:45;
}
.account-dropdown.open{display:block}
.account-dropdown-name{font-weight:600;font-size:.9rem;padding:.4rem .5rem;border-bottom:1px solid var(--border);margin-bottom:.4rem}
.account-dropdown-logout{width:100%;text-align:left;padding:.5rem;font-size:.85rem;border-radius:6px}
.account-dropdown-logout:hover{background:var(--cream)}
/* --- Nav dropdown (category → subcategories) --- */
.nav-dropdown{
  position:relative;
  display:inline-flex;
}
.nav-dropdown-toggle{
  display:inline-flex;
  align-items:center;
  gap:.3rem;
  padding:1.25rem 0;
  cursor:pointer;
}
.nav-dropdown-toggle:hover{ color:var(--maroon); }
.nav-caret{
  width:12px;
  height:12px;
  margin-top:1px;
  transition:transform .2s ease;
}
.nav-dropdown:hover .nav-caret{
  transform:rotate(180deg);
}

.nav-dropdown{ position:relative; }
.nav-dropdown-toggle{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:1.25rem 0;
  cursor:pointer;
}
.nav-dropdown-toggle:hover{ color:var(--maroon); }
.nav-caret{ width:11px; height:11px; margin-top:2px; transition:transform .2s ease; }
.nav-dropdown:hover .nav-caret{ transform:rotate(180deg); }

.nav-dropdown-menu{
  position:absolute;
  top:calc(100% - 4px);
  left:50%;
  transform:translateX(-50%) translateY(6px);
  min-width:210px;
  background:#fff;
  border-radius:12px;
  border-top:3px solid var(--maroon);
  box-shadow:0 20px 45px rgba(35,26,28,.16);
  padding:.6rem;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
  z-index:50;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
.nav-dropdown-menu a{
  display:block;
  border-radius:7px;
  padding:.7rem .9rem;
  font-size:.85rem;
  font-weight:500;
  color:var(--fg);
  transition:background .15s ease, color .15s ease;
}
.nav-dropdown-menu a:hover{
  background:var(--cream);
  color:var(--maroon);
}
.nav-dropdown::after{
  content:"";
  position:absolute;
  top:100%;
  left:0;
  right:0;
  height:10px;
}


/* Mobile drawer — accordion style subcategories */
.drawer-nav-item{ border-bottom:1px solid var(--border); }
.drawer-nav-item > a,
.drawer-nav-toggle{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  padding:.75rem 0;
  font-size:1rem;
  font-weight:500;
  color:var(--fg);
  text-align:left;
}
.drawer-nav-caret{
  width:14px;
  height:14px;
  transition:transform .2s ease;
}
.drawer-nav-item.open .drawer-nav-caret{
  transform:rotate(180deg);
}
.drawer-sub-list{
  display:none;
  padding:0 0 .5rem 1rem;
}
.drawer-nav-item.open .drawer-sub-list{
  display:block;
}
.drawer-sub-list a{
  display:block;
  padding:.55rem 0;
  font-size:.85rem;
  color:var(--muted);
  border-bottom:none;
}
.drawer-sub-list a:hover{
  color:var(--maroon);
}

/* ==============================
   RANGOLI TOAST
================================ */

#toast-container {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 99999;

    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rangoli-toast {
    width: 380px;
    min-height: 70px;

    background: #2b1c1f;
    color: #fff;

    border-radius: 12px;

    display: flex;
    align-items: center;

    padding: 14px 16px;

    position: relative;
    overflow: hidden;

    box-shadow: 0 8px 25px rgba(80, 0, 20, 0.25);

    animation: rangoliToastIn 0.35s ease forwards;
}


/* Icon */

.rangoli-toast-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;

    border-radius: 50%;

    background: rgba(139, 0, 40, 0.25);

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 13px;
}

.rangoli-toast-icon span {
    width: 26px;
    height: 26px;

    border-radius: 50%;

    background: #a80032;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 15px;
    font-weight: bold;
}


/* Content */

.rangoli-toast-content {
    flex: 1;
}

.rangoli-toast-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 3px;
}

.rangoli-toast-message {
    font-size: 13px;
    color: #eadcdf;
}


/* Close */

.rangoli-toast-close {
    border: 0;
    background: transparent;

    color: #d8c9cc;

    font-size: 25px;

    cursor: pointer;

    padding: 0 3px;
}

.rangoli-toast-close:hover {
    color: #fff;
}


/* Progress */

.rangoli-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;

    height: 3px;
    width: 100%;

    background: #a80032;

    animation: rangoliToastProgress 4s linear forwards;
}


/* Animations */

@keyframes rangoliToastIn {

    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@keyframes rangoliToastOut {

    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100%);
    }
}


@keyframes rangoliToastProgress {

    from {
        width: 100%;
    }

    to {
        width: 0;
    }
}


/* Mobile */

@media (max-width: 500px) {

    #toast-container {
        left: 15px;
        right: 15px;
        top: 15px;
    }

    .rangoli-toast {
        width: auto;
    }
}