/* ── Kuuraii-style Home Textile Theme CSS ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  /* Deep wine / South-Indian handloom palette */
  --maroon:#5C173A;        /* primary wine — buttons, price, accents */
  --maroon-dark:#43102A;   /* deeper wine — hover states, pillars/footer bg */
  --gold:#C68A3C;          /* warm ochre accent */
  --cream:#FBF3E6;         /* warm cream section bg */
  --light:#F7EEE0;         /* alt light section bg */
  --charcoal:#3B2B22;      /* warm dark-brown text (headings) */
  --text:#5A4A3E;          /* body text, warm brown-grey */
  --border:#EAD9C4;        /* warm border tone */
  --green:#27ae60;--red:#c0432b;
  --font-display:'Playfair Display',serif;
  --font-body:'Inter',sans-serif;
}
html{scroll-behavior:smooth}
body{font-family:var(--font-body);color:var(--text);background:#fff;line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
ul{list-style:none}
input,select,textarea,button{font-family:inherit}

/* ── Layout ── */
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* ── Topbar ── */

/* ── Header ── */
.site-header{position:sticky;top:0;left:0;right:0;z-index:1000;background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.06);transition:box-shadow .3s}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:74px;gap:16px}
/* Category nav bar fixed below header: header(74px) */
#catNav{position:sticky;top:0;left:0;right:0;z-index:999;box-shadow:0 2px 8px rgba(0,0,0,.12);}
.header-spacer{height:150px}
.logo-text{font-family:'Playfair Display',serif;font-size:28px;font-weight:700;
  color:var(--maroon);letter-spacing:1px}
.logo-text span{color:var(--gold)}

/* ── Navigation ── */
.main-nav{display:flex;align-items:center;gap:2px;flex:1;justify-content:center}
.main-nav>a,.nav-dropdown>a{padding:8px 13px;font-size:14px;font-weight:500;
  color:var(--charcoal);border-radius:5px;transition:all .2s;white-space:nowrap}
.main-nav>a:hover,.nav-dropdown>a:hover{color:var(--maroon);background:var(--light)}
.nav-dropdown{position:relative}
.dropdown-menu{position:absolute;top:calc(100% + 10px);left:0;background:#fff;
  border:1px solid var(--border);border-radius:10px;
  box-shadow:0 12px 40px rgba(0,0,0,.12);min-width:210px;display:none;z-index:100;padding:8px 0}
.dropdown-menu a{display:block;padding:10px 20px;font-size:13px;color:var(--text);transition:all .2s}
.dropdown-menu a:hover{background:var(--light);color:var(--maroon);padding-left:24px}
.nav-dropdown:hover .dropdown-menu{display:block}

/* ── Header Actions ── */
.header-actions{display:flex;align-items:center;gap:2px}
.icon-btn{position:relative;display:flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:50%;color:var(--charcoal);font-size:18px;
  transition:all .2s;background:none;border:none;cursor:pointer}
.icon-btn:hover{background:var(--light);color:var(--maroon)}
.badge{position:absolute;top:4px;right:4px;background:var(--maroon);color:#fff;
  font-size:10px;font-weight:700;width:18px;height:18px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;line-height:1}
@keyframes badgePop{0%{transform:scale(1)}35%{transform:scale(1.55)}60%{transform:scale(.9)}100%{transform:scale(1)}}
.badge-pop{animation:badgePop .5s cubic-bezier(.34,1.56,.64,1)}
.mobile-toggle{display:none;background:none;border:none;font-size:22px;
  color:#fff;cursor:pointer;padding:8px}

/* ── Buttons ── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 26px;border-radius:30px;font-size:14px;font-weight:600;
  cursor:pointer;border:none;transition:all .25s;text-decoration:none;white-space:nowrap}
.btn-primary{background:var(--maroon);color:#fff}
.btn-primary:hover{background:var(--maroon-dark);transform:translateY(-1px);box-shadow:0 4px 14px rgba(124,51,31,.35)}
.btn-gold{background:var(--maroon);color:#fff}
.btn-gold:hover{background:var(--maroon-dark);transform:translateY(-1px);box-shadow:0 4px 14px rgba(124,51,31,.4)}
.btn-outline{background:transparent;color:var(--maroon);border:2px solid var(--maroon);border-radius:30px}
.btn-outline:hover{background:var(--maroon);color:#fff}
.btn-secondary{background:#f0f0f0;color:var(--charcoal)}
.btn-secondary:hover{background:#e0e0e0}
.btn-sm{padding:7px 16px;font-size:13px}
.btn-block{width:100%;justify-content:center}
.btn:disabled{opacity:.6;cursor:not-allowed}

/* ── Forms ── */
.form-group{margin-bottom:18px}
.form-group label{display:block;font-size:13px;font-weight:600;color:var(--charcoal);margin-bottom:6px}
.form-control{width:100%;padding:11px 15px;border:1.5px solid var(--border);
  border-radius:7px;font-size:14px;color:var(--text);background:#fff;
  transition:border-color .2s,box-shadow .2s;outline:none}
.form-control:focus{border-color:var(--maroon);box-shadow:0 0 0 3px rgba(107,26,26,.08)}
textarea.form-control{resize:vertical;min-height:90px}
.form-control[readonly]{background:#f9f9f9;color:#888}

/* ── Alerts ── */
.alert{padding:14px 18px;border-radius:8px;font-size:14px;margin-bottom:16px}
.alert-success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}
.alert-error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}
.alert-info{background:#d1ecf1;color:#0c5460;border:1px solid #bee5eb}

/* ── Page Banner ── */
.page-banner{background:linear-gradient(135deg,var(--maroon) 0%,var(--maroon-dark) 100%);
  padding:44px 0;color:#fff;position:relative;overflow:hidden}
.page-banner::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.03'%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")}
.page-banner h1{font-family:'Playfair Display',serif;font-size:34px;font-weight:700;
  margin-bottom:10px;position:relative}
.breadcrumb{display:flex;align-items:center;gap:8px;font-size:13px;
  color:rgba(255,255,255,.7);position:relative}
.breadcrumb a{color:rgba(255,255,255,.7)}.breadcrumb a:hover{color:#fff}
.breadcrumb .sep{color:rgba(255,255,255,.3)}

/* ── HERO — full-page image slider ── */
.hero{position:relative;overflow:hidden;background:var(--charcoal);
  min-height:calc(100vh - 166px);}
.hero-slide{
  position:absolute;inset:0;width:100%;height:100%;
  opacity:0;z-index:0;
  transition:opacity .9s ease, transform .9s ease;
  transform:scale(1.02);}
.hero-slide:not(.active):not(.leaving){
  display:none;}
.hero-slide.active{
  opacity:1;z-index:1;
  transform:scale(1);
  display:block;}
.hero-slide.leaving{
  opacity:0;z-index:1;
  transform:scale(0.985);
  transition:opacity .9s ease, transform .9s ease;}
.hero-slide::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(30,20,14,.05) 0%,rgba(30,20,14,.12) 38%,rgba(30,20,14,.66) 100%);}
.hero-bg{
  position:absolute;inset:0;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat;}
.hero-no-img{position:absolute;inset:0;
  background:linear-gradient(135deg,#C68A3C 0%,var(--maroon) 55%,var(--maroon-dark) 100%)}
.hero-content{position:relative;z-index:2;height:100%;min-height:calc(100vh - 166px);
  display:flex;align-items:center;padding:100px 0;}
.hero-content .container{max-width:none;margin:0;padding:0 clamp(24px,6vw,90px);}
.hero-eyebrow{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:3px;
  color:var(--gold);margin-bottom:14px;}
.hero-copy{position:relative;z-index:2;max-width:520px;}
.hero-copy h1{font-family:var(--font-display);font-size:clamp(24px,3vw,40px);
  color:#fff;font-weight:700;line-height:1.28;margin-bottom:16px;
  text-shadow:0 2px 18px rgba(0,0,0,.25);}
.hero-copy h1 em{color:var(--gold);font-style:italic;font-weight:700;}
.hero-copy p{font-size:15.5px;color:rgba(255,255,255,.88);margin-bottom:26px;
  max-width:440px;line-height:1.7;}
.hero-brandmark{display:flex;align-items:center;gap:8px;margin-top:26px;
  font-family:var(--font-display);font-size:13px;letter-spacing:1.5px;
  color:#fff;font-weight:700;text-transform:lowercase;}
.hero-brandmark::before{content:'';display:inline-block;width:22px;height:2px;background:var(--gold);}
.hero-dots{position:absolute;bottom:28px;left:50%;transform:translateX(-50%);
  display:flex;gap:10px;z-index:3}
.hero-dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.4);
  border:none;cursor:pointer;transition:all .35s}
.hero-dot.active{width:28px;border-radius:4px;background:var(--gold)}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;
  background:rgba(255,255,255,.9);box-shadow:0 4px 16px rgba(0,0,0,.18);border:1px solid rgba(255,255,255,.5);
  color:var(--maroon);width:44px;height:44px;border-radius:50%;cursor:pointer;font-size:15px;
  display:flex;align-items:center;justify-content:center;transition:all .25s}
.hero-arrow:hover{background:var(--maroon);color:#fff;}
.hero-prev{left:20px}.hero-next{right:20px}
@media(max-width:960px){
  .hero{min-height:calc(100vh - 60px);}
  .hero-content{min-height:calc(100vh - 60px);padding:64px 0;}
  .hero-copy{max-width:100%;}
  .hero-copy h1{font-size:clamp(24px,7vw,34px);}
  .hero-arrow{left:12px}.hero-prev{left:12px}.hero-next{right:12px}
}

/* ── Sections ── */
.section{padding:64px 0}
.section-header{text-align:center;margin-bottom:48px}
.section-header h2{font-family:'Playfair Display',serif;font-size:clamp(26px,4vw,38px);
  color:var(--maroon);font-weight:700;margin-bottom:12px}
.section-header p{color:#777;font-size:15px;max-width:520px;margin:0 auto;line-height:1.8}
.divider{width:64px;height:3px;background:linear-gradient(90deg,var(--gold),#e8c870);
  margin:16px auto 0;border-radius:2px}

/* ── Features Strip ── */
.features-strip{background:linear-gradient(135deg,var(--maroon),var(--maroon-dark));padding:32px 0}
.features-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.feature-item{display:flex;align-items:center;gap:16px;color:#fff}
.feature-icon{width:52px;height:52px;border-radius:12px;background:rgba(255,255,255,.12);
  display:flex;align-items:center;justify-content:center;flex-shrink:0}
.feature-icon i{font-size:22px;color:var(--gold)}
.feature-item h4{font-size:14px;font-weight:700;margin-bottom:3px}
.feature-item p{font-size:12px;color:rgba(255,255,255,.7);margin:0}

/* ── Category Grid ── */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:18px}
.cat-card{border-radius:12px;overflow:hidden;position:relative;cursor:pointer;
  transition:transform .3s,box-shadow .3s;aspect-ratio:1}
.cat-card:hover{transform:translateY(-5px);box-shadow:0 12px 32px rgba(107,26,26,.2)}
.cat-card-bg{width:100%;height:100%;
  background:linear-gradient(135deg,var(--maroon),#a03030);
  display:flex;align-items:center;justify-content:center}
.cat-card-bg i{font-size:48px;color:rgba(255,255,255,.2)}
.cat-overlay{position:absolute;inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.75) 0%,rgba(0,0,0,.1) 60%,transparent 100%);
  display:flex;align-items:flex-end;padding:14px}
.cat-name{color:#fff;font-size:13px;font-weight:700;letter-spacing:.3px;
  text-shadow:0 1px 4px rgba(0,0,0,.5)}

/* ── Product Grid ── */
.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:24px}
.product-card{background:#fff;border-radius:12px;overflow:hidden;
  border:1px solid var(--border);
  transition:box-shadow .35s cubic-bezier(.25,.46,.45,.94),
             transform  .35s cubic-bezier(.25,.46,.45,.94);
  position:relative;
  will-change:transform;}
.product-card:hover{
  box-shadow:0 16px 48px rgba(107,26,26,.18);
  transform:translateY(-6px) scale(1.01);}
.product-img{position:relative;padding-top:118%;overflow:hidden;background:var(--light)}
.product-img img{position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;
  transition:transform .55s cubic-bezier(.25,.46,.45,.94),
             filter    .55s ease;}
.product-card:hover .product-img img{
  transform:scale(1.09);
  filter:brightness(1.04);}
/* Shine sweep on hover */
.product-img::after{
  content:'';
  position:absolute;inset:0;
  background:linear-gradient(105deg,transparent 40%,rgba(255,255,255,.18) 50%,transparent 60%);
  transform:translateX(-100%);
  transition:transform .55s ease;
  pointer-events:none;z-index:1;}
.product-card:hover .product-img::after{transform:translateX(100%);}
.product-img-placeholder{position:absolute;inset:0;display:flex;align-items:center;
  justify-content:center;background:linear-gradient(135deg,#f9f0f0,#f0e8e8)}
.product-img-placeholder i{font-size:52px;color:#d4b5b5}
.product-badges{position:absolute;top:12px;left:12px;display:flex;flex-direction:column;gap:5px;z-index:1}
.badge-new{background:var(--gold);color:#fff;font-size:10px;font-weight:800;
  padding:3px 10px;border-radius:4px;letter-spacing:.5px}
.badge-sale{background:var(--red);color:#fff;font-size:10px;font-weight:800;
  padding:3px 10px;border-radius:4px;letter-spacing:.3px}
.product-actions{position:absolute;bottom:12px;right:12px;display:flex;
  flex-direction:column;gap:7px;opacity:0;transition:opacity .3s,transform .3s;
  transform:translateX(10px)}
.product-card:hover .product-actions{opacity:1;transform:translateX(0)}
.action-btn{width:38px;height:38px;border-radius:50%;background:#fff;border:none;
  cursor:pointer;font-size:14px;color:var(--charcoal);
  box-shadow:0 2px 10px rgba(0,0,0,.14);transition:all .2s;
  display:flex;align-items:center;justify-content:center}
.action-btn:hover{background:var(--maroon);color:#fff;transform:scale(1.1)}
.product-info{padding:16px}
.product-cat{font-size:11px;color:#a0847a;text-transform:uppercase;
  letter-spacing:.8px;margin-bottom:5px;font-weight:600}
.product-name{font-size:14px;font-weight:600;color:var(--charcoal);
  margin-bottom:10px;line-height:1.4}
.product-name a:hover{color:var(--maroon)}
.product-price{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.price-current{font-size:16px;font-weight:800;color:var(--maroon)}
.price-old{font-size:13px;color:#aaa;text-decoration:line-through}
.price-disc{font-size:11px;background:#fff0f0;color:var(--red);
  padding:2px 7px;border-radius:4px;font-weight:700}

/* ── Product Detail ── */
.product-gallery{display:grid;grid-template-columns:90px 1fr;gap:14px}
.thumb-list{display:flex;flex-direction:column;gap:10px;max-height:500px;overflow-y:auto}
.thumb{width:90px;height:100px;border-radius:8px;overflow:hidden;cursor:pointer;
  border:2px solid transparent;transition:border-color .2s}
.thumb.active,.thumb:hover{border-color:var(--maroon)}
.thumb img{width:100%;height:100%;object-fit:cover}
.main-img{border-radius:12px;overflow:hidden;border:1px solid var(--border);
  aspect-ratio:3/4;background:var(--light)}
.main-img img{width:100%;height:100%;object-fit:cover}
.color-swatches{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.swatch{width:34px;height:34px;border-radius:50%;border:3px solid transparent;
  cursor:pointer;transition:all .2s;position:relative}
.swatch.active{outline:2px solid var(--maroon);outline-offset:3px}
.tab-nav{display:flex;border-bottom:2px solid var(--border);gap:0;margin-top:44px}
.tab-btn{padding:13px 26px;font-size:14px;font-weight:600;color:#999;background:none;
  border:none;border-bottom:3px solid transparent;margin-bottom:-2px;cursor:pointer;transition:all .2s}
.tab-btn.active{color:var(--maroon);border-bottom-color:var(--maroon)}
.tab-pane{display:none;padding:26px 0}
.tab-pane.active{display:block}
.qty-control{display:flex;align-items:center;border:1.5px solid var(--border);
  border-radius:8px;overflow:hidden;width:fit-content}
.qty-btn{width:38px;height:38px;background:#f9f9f9;border:none;cursor:pointer;
  font-size:18px;display:flex;align-items:center;justify-content:center;transition:background .2s}
.qty-btn:hover{background:var(--light);color:var(--maroon)}
.qty-num{width:46px;text-align:center;font-size:15px;font-weight:700;
  border:none;border-left:1.5px solid var(--border);border-right:1.5px solid var(--border);
  height:38px;outline:none}

/* ── Cart ── */
.cart-table{width:100%;border-collapse:collapse}
.cart-table th{padding:13px 16px;text-align:left;font-size:12px;font-weight:700;
  color:#888;border-bottom:2px solid var(--border);text-transform:uppercase;letter-spacing:.6px}
.cart-table td{padding:16px;border-bottom:1px solid var(--border);vertical-align:middle}

/* ── Order Summary ── */
.order-summary-box{background:var(--light);border-radius:12px;padding:26px;
  border:1px solid var(--border)}
.sum-row{display:flex;justify-content:space-between;align-items:center;
  padding:10px 0;border-bottom:1px solid var(--border);font-size:14px}
.sum-row:last-child{border:none;font-size:18px;font-weight:800;
  color:var(--maroon);padding-top:16px}
.sum-row.disc{color:var(--green)}

/* ── Payment Options ── */
.pay-option{display:flex;align-items:center;gap:16px;padding:16px 20px;
  border:2px solid var(--border);border-radius:10px;cursor:pointer;
  transition:all .2s;margin-bottom:12px}
.pay-option.selected{border-color:var(--maroon);background:var(--light)}
.pay-option input[type=radio]{accent-color:var(--maroon);width:17px;height:17px;flex-shrink:0}
.pay-option strong{display:block;font-size:14px;color:var(--charcoal)}
.pay-option small{font-size:12px;color:#888}

/* ── Auth ── */
.auth-wrap{min-height:80vh;display:flex;align-items:center;justify-content:center;
  padding:40px 20px;background:var(--light)}
.auth-card{background:#fff;border-radius:14px;padding:44px;width:100%;max-width:480px;
  box-shadow:0 8px 40px rgba(0,0,0,.1)}
.auth-tabs{display:flex;border-bottom:2px solid var(--border);margin-bottom:30px}
.auth-tab{flex:1;text-align:center;padding:13px;font-size:15px;font-weight:600;
  color:#999;cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-2px;transition:all .2s}
.auth-tab.active{color:var(--maroon);border-bottom-color:var(--maroon)}

/* ── Account ── */
.account-layout{display:grid;grid-template-columns:240px 1fr;gap:28px;align-items:start}
.account-sidebar{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden}
.account-sidebar a{display:flex;align-items:center;gap:12px;padding:15px 20px;
  font-size:14px;color:var(--text);border-bottom:1px solid var(--border);transition:all .2s}
.account-sidebar a:last-child{border-bottom:none}
.account-sidebar a:hover,.account-sidebar a.active{background:var(--light);color:var(--maroon)}
.account-sidebar a i{width:18px;color:#bbb;font-size:15px}
.account-sidebar a.active i{color:var(--maroon)}

/* ── Status Badges ── */
.status{display:inline-block;padding:4px 12px;border-radius:12px;
  font-size:11px;font-weight:700;text-transform:capitalize;letter-spacing:.3px}
.s-pending{background:#fff3cd;color:#856404}
.s-processing{background:#cce5ff;color:#004085}
.s-shipped{background:#e2d9f3;color:#533f82}
.s-delivered{background:#d4edda;color:#155724}
.s-cancelled{background:#f8d7da;color:#721c24}

/* ── Newsletter ── */
.newsletter-section{background: linear-gradient(135deg, #af4f7b, #af4f7b);padding:56px 0;
  position:relative;overflow:hidden}
.newsletter-section::after{content:'';position:absolute;right:-60px;top:-60px;
  width:280px;height:280px;border-radius:50%;background:rgba(198,138,60,.10)}

/* ── Footer ── */
.site-footer{background:var(--maroon-dark);padding:56px 0 0}

/* ── Footer 4-col + accordion ── */
.footer-4col { display:grid; grid-template-columns:repeat(4,1fr); gap:36px; text-align:left; }
.f-col {}
.f-head { font-size:12px; font-weight:800; color:var(--gold); text-transform:uppercase;
  letter-spacing:1.5px; margin-bottom:18px; display:flex; justify-content:space-between; align-items:center; }
.f-plus { display:none; font-size:18px; font-weight:300; color:var(--gold); line-height:1; }
.f-body {}
.footer-links { list-style:none; padding:0; margin:0; }
.footer-links li { margin-bottom:10px; }
.footer-links a { font-size:13px; color:rgba(255,255,255,.7); transition:color .2s; display:block; }
.footer-links a:hover { color:var(--gold); }

.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px}
.footer-heading{font-size:12px;font-weight:800;color:var(--gold);
  text-transform:uppercase;letter-spacing:1.5px;margin-bottom:18px}
.footer-links li{margin-bottom:10px}
.footer-links a{font-size:13px;color:#f5e7cb;transition:color .2s}
.footer-links li:not(a){font-size:13px;color:#666}
.footer-links a:hover{color:var(--gold)}
.social-icon{display:inline-flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.07);
  color:#777;font-size:14px;transition:all .2s}
.social-icon:hover{background:var(--gold);color:#fff}
.whatsapp-float{position:fixed;bottom:16px;right:16px;background:#25D366;color:#fff;
  width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-size:28px;z-index:989;box-shadow:0 4px 16px rgba(37,211,102,.4);transition:transform .2s}
.whatsapp-float:hover{transform:scale(1.1)}

/* ── Shop page sidebar ── */
.sidebar-filter{background:#fff;border:1px solid var(--border);border-radius:12px;padding:22px;margin-bottom:20px}
.sidebar-filter h4{font-size:14px;font-weight:700;color:var(--charcoal);
  margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid var(--border)}
.filter-check{display:flex;align-items:center;gap:9px;margin-bottom:9px;
  cursor:pointer;font-size:13px;color:#555}
.filter-check input{accent-color:var(--maroon)}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE & MOBILE APP STYLES
   Stack (desktop): header(74px) + catNav(42px) = 116px
   Stack (≤768px):  header(58px) + catNav(42px) = 100px
   Stack (≤600px):  header(54px) + catNav(40px) + search(50px) = 144px
   ════════════════════════════════════════════════════════════ */

/* ── 960px: Tablet ── */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .products-grid { grid-template-columns: repeat(auto-fill,minmax(165px,1fr)); gap: 16px; }
  .account-layout { grid-template-columns: 1fr; }
}

/* ── 768px: Large Mobile / Tablet ── */
@media (max-width: 768px) {
  /* Topbar: hidden */
  .site-header { top: 0 !important; box-shadow: 0 1px 8px rgba(0,0,0,.10); }
  .site-header .header-inner { height: 58px; padding: 0 14px; gap: 8px; }
  .site-header form { display: none !important; } /* hide desktop search */

  /* catNav: directly below 58px header */
  #catNav { position: sticky !important; top: 0 !important; }

  /* Desktop-only nav hidden */
  .main-nav { display: none !important; }
  .mobile-toggle { display: flex; }

  /* Spacer handled by JS but set a safe default */
  #headerSpacer { min-height: 100px; }
}

/* ── 600px: Phone ── */
@media (max-width: 600px) {
  /* Header: 54px */
  .site-header .header-inner { height: 54px; padding: 0 12px; gap: 6px; }
  .logo-text { font-size: 20px; }

  /* catNav: below 54px header */
  #catNav { position: sticky !important; top: 0 !important; }

  /* Mobile search bar: below catNav (54 + ~40 = 94px) */
  .mobile-search-bar { display: none !important; }

  /* Spacer: 54 + 40 + 50 = 144px safe default */
  #headerSpacer { min-height: 144px; }

  /* Bottom nav: show */
  .mobile-bottom-nav { display: flex !important; }
  body { padding-bottom: 64px; }

  /* catNav items smaller */
  .cat-nav .container { padding: 0 6px; }
  .cat-nav-item > a { padding: 9px 8px; font-size: 11px; font-weight: 600; }

  /* ── Hero (mobile: stacked via .hero-grid media rule; just tighten spacing) ── */
  .hero-media { min-height: 220px; border-radius: 16px; }
  .hero-copy h1 { line-height: 1.25; margin-bottom: 12px; }
  .hero-copy p { font-size: 14px; margin-bottom: 20px; }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 10px; }

  /* ── Sections ── */
  .section { padding: 28px 0; }
  .section-header { margin-bottom: 20px; }
  .section-header h2 { font-size: 20px; }
  .section-header p { font-size: 13px; }

  /* ── Features strip: 2x2 ── */
  .features-strip { padding: 16px 0; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature-item { gap: 8px; }
  .feature-icon { width: 36px; height: 36px; flex-shrink: 0; }
  .feature-icon i { font-size: 15px; }
  .feature-item h4 { font-size: 11px; margin: 0; }
  .feature-item p { display: none; }

  /* ── Category grid: 2 cols ── */
  .cat-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .cat-name { font-size: 12px; }

  /* ── Product grid: 2 cols, app-like ── */
  .products-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .product-card { border-radius: 10px; }
  .product-img { padding-top: 130%; }
  .product-info { padding: 10px; }
  .product-name { font-size: 12px; margin-bottom: 6px; line-height: 1.3; }
  .price-current { font-size: 14px; }
  .price-old { font-size: 11px; }
  .price-disc { font-size: 10px; padding: 1px 5px; }
  /* always show product actions on touch */
  .product-actions { opacity: 1 !important; transform: translateX(0) !important; }
  .action-btn { width: 30px; height: 30px; font-size: 12px; }
  /* disable hover lift on touch */
  .product-card:hover { transform: none; box-shadow: 0 2px 8px rgba(0,0,0,.08); }

  /* ── Product detail page ── */
  .product-gallery { grid-template-columns: 56px 1fr; gap: 8px; }
  .thumb { width: 56px; height: 64px; }
  .tab-btn { padding: 10px 12px; font-size: 13px; }
  .tab-pane { padding: 16px 0; }

  /* ── Cart: stack rows ── */
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .cart-table td { padding: 4px 0; border: none; }

  /* ── Checkout: single column ── */
  div[style*="grid-template-columns:1fr 340px"],
  .checkout-grid { grid-template-columns: 1fr !important; }

  /* ── Account sidebar: icon grid ── */
  .account-layout { grid-template-columns: 1fr; gap: 14px; }
  .account-sidebar { display: flex; flex-wrap: wrap; }
  .account-sidebar a {
    flex: 1 1 33%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 6px;
    font-size: 11px;
    border-right: 1px solid var(--border);
    text-align: center;
  }
  .account-sidebar a i { width: auto; font-size: 18px; margin: 0; }

  /* ── Auth card ── */
  .auth-card { padding: 24px 16px; border-radius: 10px; }
  .auth-wrap { padding: 20px 16px; }

  /* ── Page banner ── */
  .page-banner { padding: 24px 0; }
  .page-banner h1 { font-size: 22px; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .site-footer { padding: 28px 0 0; }

  /* ── WhatsApp: above bottom nav ── */
  .whatsapp-float { bottom: 70px !important; right: 12px; width: 44px; height: 44px; font-size: 22px; z-index: 991 !important; }

  /* ── Form: prevent iOS zoom ── */
  .form-control { font-size: 16px !important; }
  select.form-control { font-size: 16px !important; }

  /* ── Buttons: bigger tap target ── */
  .btn { min-height: 44px; }
  .btn-sm { min-height: 34px; }
}

/* ── 390px: Small phone ── */
@media (max-width: 390px) {
  .container { padding: 0 10px; }
  .products-grid { gap: 8px; }
  .cat-grid { gap: 8px; }
  .product-info { padding: 8px; }
  .product-name { font-size: 11px; }
}

/* ── Touch: remove hover effects ── */
@media (hover: none) {
  .product-card:hover { transform: none !important; box-shadow: none !important; }
  .cat-card:hover { transform: none !important; box-shadow: none !important; }
  .product-card:hover .product-img img { transform: none !important; }
  .btn:hover { transform: none !important; }
}

/* ────────────────────────────────────────
   MOBILE SEARCH BAR
   ──────────────────────────────────────── */
.mobile-search-bar {
  display: none;
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  /* no position:fixed — flows naturally in page */
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}
.mobile-search-bar form {
  display: flex;
  align-items: center;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 0 12px;
  gap: 8px;
}
.mobile-search-bar input {
  flex: 1; border: none; background: transparent;
  padding: 9px 0; font-size: 14px; outline: none; color: var(--text);
}
.mobile-search-bar button {
  background: none; border: none; color: var(--maroon);
  cursor: pointer; font-size: 15px; padding: 8px 0; flex-shrink: 0;
}
.mobile-search-bar i.fa-search { color: #bbb; font-size: 13px; flex-shrink: 0; }

/* ────────────────────────────────────────
   MOBILE BOTTOM NAVIGATION BAR
   ──────────────────────────────────────── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  z-index: 990;
  height: 60px;
  box-shadow: 0 -2px 14px rgba(0,0,0,.09);
}
.mobile-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #999;
  font-size: 10px;
  font-weight: 600;
  padding: 6px 4px;
  position: relative;
  transition: color .2s;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  min-width: 0;
  letter-spacing: 0;
}
.mobile-bottom-nav a i { font-size: 19px; line-height: 1; }
.mobile-bottom-nav a.active,
.mobile-bottom-nav a:active { color: var(--maroon); }
.mobile-bottom-nav .nav-badge {
  position: absolute;
  top: 4px; right: calc(50% - 16px);
  background: var(--maroon); color: #fff;
  font-size: 9px; font-weight: 800;
  min-width: 15px; height: 15px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}

/* ── Touch ripple ── */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.15); opacity: 0;
  transition: opacity .12s; border-radius: inherit;
}
.btn:active::after { opacity: 1; }

/* ── Product Description HTML Content ── */
.product-desc-content h2{font-family:'Playfair Display',serif;font-size:20px;color:var(--maroon);margin:18px 0 10px;}
.product-desc-content h3{font-size:16px;color:var(--charcoal);margin:14px 0 8px;font-weight:700;}
.product-desc-content h4{font-size:14px;color:var(--charcoal);margin:12px 0 6px;font-weight:700;}
.product-desc-content p{margin-bottom:12px;color:#555;line-height:1.9;}
.product-desc-content ul,.product-desc-content ol{padding-left:20px;margin-bottom:12px;line-height:2;}
.product-desc-content li{margin-bottom:4px;color:#555;}
.product-desc-content strong,.product-desc-content b{color:var(--charcoal);font-weight:700;}
.product-desc-content em,.product-desc-content i{font-style:italic;}
.product-desc-content a{color:var(--maroon);text-decoration:underline;}
.product-desc-content table{width:100%;border-collapse:collapse;margin-bottom:14px;font-size:13px;}
.product-desc-content td,.product-desc-content th{border:1px solid var(--border);padding:8px 12px;}
.product-desc-content th{background:var(--light);font-weight:700;}

/* ── Cart fly dot is injected by JS ── */
/* Cart badge bounce handled inline by JS */



@media(max-width:768px){
  /* Footer accordion */
  .footer-4col { grid-template-columns:1fr !important; gap:0 !important; }
  .f-col { border-bottom:1px solid rgba(255,255,255,.1); }
  .f-head { padding:14px 0; margin-bottom:0; cursor:pointer; }
  .f-plus { display:inline !important; }
  .f-body { display:none; padding-bottom:12px; }
}
