/* ── SareeKala Complete CSS ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --maroon:#6B1A1A;--gold:#C9A84C;--cream:#FDF8F2;
  --charcoal:#2C2C2C;--text:#3a3a3a;--light:#f9f5f0;
  --border:#e8e0d8;--green:#27ae60;--red:#e74c3c;
}
html{scroll-behavior:smooth}
body{font-family:'Inter',sans-serif;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 ── */
/* Logo section: NOT fixed, scrolls with the page */
.site-header{position:static;left:0;right:0;z-index:1;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}
/* Menu section: sits below the logo in normal flow, sticks to the top on scroll - the ONLY fixed part of the header */
#catNav{position:sticky;top:0;left:0;right:0;z-index:1000;background:#446238;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}
.mobile-toggle{display:none;background:none;border:none;font-size:22px;
  color:var(--charcoal);cursor:pointer;padding:8px}

/* ── Buttons ── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 26px;border-radius:7px;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:#5a1515;transform:translateY(-1px);box-shadow:0 4px 14px rgba(107,26,26,.35)}
.btn-gold{background:var(--gold);color:#fff}
.btn-gold:hover{background:#b8933e;transform:translateY(-1px);box-shadow:0 4px 14px rgba(201,168,76,.4)}
.btn-outline{background:transparent;color:var(--maroon);border:2px solid var(--maroon)}
.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%,#3a0c0c 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 SLIDER ── */
.hero{position:relative;overflow:hidden;background:#1a0808;min-height:520px;display:flex;align-items:center}
.hero-slide{display:none;width:100%;min-height:500px;align-items:center}
.hero-slide.active{display:flex}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;}
/* Dual banner images: desktop image shown by default, mobile image only <=768px (see media query below) */
.hero-bg-mobile{display:none;}
.hero-content{position:relative;z-index:2;padding:90px 0}
.hero-content h1{font-family:'Playfair Display',serif;font-size:clamp(30px,5vw,56px);
  color:#fff;font-weight:700;line-height:1.2;margin-bottom:16px;
  text-shadow:0 2px 20px rgba(0,0,0,.3)}
.hero-content p{font-size:17px;color:rgba(255,255,255,.85);margin-bottom:32px;
  max-width:480px;line-height:1.7}
.hero-no-img{position:absolute;inset:0;
  background:linear-gradient(135deg,#6B1A1A 0%,#2c0808 50%,#1a0404 100%)}
.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,.12);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.2);
  color:#fff;width:48px;height:48px;border-radius:50%;cursor:pointer;font-size:16px;
  display:flex;align-items:center;justify-content:center;transition:all .25s}
.hero-arrow:hover{background:rgba(255,255,255,.25)}
.hero-prev{left:24px}.hero-next{right:24px}

/* ── 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:#446238;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 .3s,transform .3s;position:relative}
.product-card:hover{box-shadow:0 10px 36px rgba(107,26,26,.14);transform:translateY(-4px)}
.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 .45s}
.product-card:hover .product-img img{transform:scale(1.07)}
.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,var(--maroon),#4a1111);padding:60px 0;
  position:relative;overflow:hidden}
.newsletter-section::after{content:'';position:absolute;right:-60px;top:-60px;
  width:280px;height:280px;border-radius:50%;background:rgba(201,168,76,.08)}

/* ── Footer ── */
.site-footer{background:var(--footer-bg,#446238);padding:56px 0 0}
.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:#fff;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) {
  .site-header { 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 is hidden on mobile - .mobile-menu-bar (fixed) takes over, see header.php */
  #catNav { display: none !important; }

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

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

  /* Mobile search bar: flows normally below the (non-fixed) header */
  .mobile-search-bar { display: block !important; }

  /* 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): use aspect-ratio instead of a short fixed height so
     wide desktop banner images aren't zoomed/cropped into an unrecognisable
     sliver. A dedicated mobile image (.hero-bg-mobile) is preferred when the
     admin has uploaded one; otherwise the desktop image is reused but shown
     at a mobile-friendly ratio. */
  .hero { min-height: 0; aspect-ratio: 4 / 3; }
  .hero-slide { min-height: 0; width: 100%; height: 100%; }
  .hero-bg, .hero-no-img { background-position: center; }
  .hero-content { padding: 24px 0 22px; display: flex; flex-direction: column; justify-content: flex-end; height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.18) 55%, transparent 100%); }
  .hero-content h1 { font-size: 20px; line-height: 1.25; margin-bottom: 6px; }
  .hero-content p { font-size: 13px; margin-bottom: 14px; max-width: 100%; }
  .hero-content .btn { padding: 10px 20px; font-size: 13px; }
  .hero-arrow { display: none; }

  /* Desktop banner image hidden on mobile in favour of the mobile-optimised one */
  .hero-bg-desktop { display: none; }
  .hero-bg-mobile { display: block; }
}
@media (max-width: 420px) {
  .hero { aspect-ratio: 3 / 4; }

  /* ── 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;}
