*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Poppins',sans-serif;line-height:1.5;color:#333;background:#fff}

/* HERO */
.hero-slider{width:100%;margin:0 auto 1.25rem}
.hero-slider .swiper{width:100%;height:340px}
.slide-link{display:block;width:100%;height:100%}
.slide-link img{width:100%;height:100%;object-fit:cover}
.hero-slide__img--desktop{display:block}
.hero-slide__img--mobile{display:none}
.swiper-pagination-bullet{background:#fff;opacity:.8}
.swiper-pagination-bullet-active{background:#ff7d00}
.swiper-button-next,.swiper-button-prev{color:#fff;width:42px;height:42px;border-radius:50%;background:rgba(0,0,0,.35);backdrop-filter:blur(4px)}
.swiper-button-next:hover,.swiper-button-prev:hover{background:rgba(0,0,0,.55)}

/* ===== USP STRIP (4 points) ===== */
.usp-strip{max-width:1200px;margin:0 auto 2rem;padding:0 1.5rem}
.usp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.usp-item{display:flex;align-items:center;gap:12px;background:#f8fafc;border:1px solid #eef2f7;border-radius:12px;padding:12px 14px}
.usp-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#22c55e;color:#fff}
.usp-title{font-weight:700;font-size:0.98rem;color:#111}
.usp-sub{font-size:.85rem;color:#64748b}

/* CATEGORIES (grid) */
.categories-section{max-width:1200px;margin:0 auto 2.2rem;padding:0 1.5rem}
.categories-section h2{text-align:center;font-size:2rem;font-weight:600;margin-bottom:1.5rem}
.categories-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:2rem;justify-items:center}
.category-card{text-align:center;text-decoration:none;color:inherit;transition:transform .25s ease}
.category-card:hover{transform:translateY(-4px)}
.category-card img{width:130px;height:130px;border-radius:50%;object-fit:cover;border:2px solid #e7e7e7;transition:box-shadow .25s ease}
.category-card:hover img{box-shadow:0 6px 18px rgba(0,0,0,.12)}
.category-card span{display:block;margin-top:.8rem;font-size:1rem;font-weight:500}

/* HOME SECTIONS */
.section{max-width:1200px;margin:0 auto 2rem;padding:0 1.5rem}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}
.section-title{font-size:1.6rem;font-weight:600}
.view-all{color:#0a7cff;text-decoration:none;font-weight:500}
.view-all i{margin-left:6px}

/* Carousel wrapper keeps arrows inside */
.carousel-wrap{position:relative}

/* Compact GREEN arrows */
.nav-compact{
  position:absolute;top:45%;transform:translateY(-50%);z-index:5;
  width:34px;height:34px;border:none;border-radius:10px;cursor:pointer;
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:#fff;display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 16px rgba(22,163,74,.3);opacity:.95
}
.nav-compact i{font-size:14px}
.nav-compact:hover{transform:translateY(-50%) scale(1.06)}
.nav-prev{left:-6px}.nav-next{right:-6px}

/* Brand card */
.brand-card{background:#fff;border:1px solid #eee;border-radius:14px;overflow:hidden}
.brand-card a{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:14px}
.brand-card img{width:100%;height:74px;object-fit:contain}

/* POPUP & CART (unchanged) */
:root{ --ks-green:#1b8f1a; --ks-green-dark:#157213; --ks-border:#ececec; }
.size-overlay{ position:fixed; inset:0; background:rgba(0,0,0,.42); backdrop-filter:saturate(120%) blur(2px); display:none; align-items:center; justify-content:center; padding:16px; z-index:1000; }
.size-overlay.show{ display:flex; }
.size-popup{ position:relative; width:min(700px,94vw); max-height:86vh; background:#fff; border-radius:16px; box-shadow:0 10px 30px rgba(0,0,0,.2); overflow:hidden; display:flex; flex-direction:column; animation:popIn .18s ease-out; }
@keyframes popIn{ from{transform:scale(.96);opacity:0;} to{transform:scale(1);opacity:1;} }
.close-btn{ position:absolute; right:10px; top:10px; width:36px; height:36px; border:1px solid #eee; border-radius:999px; background:#fff; color:#333; cursor:pointer; display:flex; align-items:center; justify-content:center; z-index:5; box-shadow:0 2px 8px rgba(0,0,0,.08); }
.close-btn:hover{ background:#f7f7f7; }
.popup-header{ position:sticky; top:0; z-index:2; display:grid; grid-template-columns:64px 1fr max-content; gap:12px; align-items:center; padding:16px 18px; padding-right:64px; border-bottom:1px solid var(--ks-border); background:#fff; }
.popup-header img#popupImage{ width:64px; height:64px; object-fit:cover; border-radius:10px; border:1px solid var(--ks-border); }
.popup-product-title{ font-weight:600; font-size:1.02rem; line-height:1.3; }
.go-cart-btn-header{ height:36px; padding:0 14px; border:none; border-radius:10px; cursor:pointer; background:var(--ks-green); color:#fff; font-weight:600; white-space:nowrap; }
.go-cart-btn-header:hover{ background:var(--ks-green-dark); }
.size-popup h4{ margin:0; padding:12px 18px; font-size:.95rem; color:#111; border-bottom:1px solid var(--ks-border); }
#variantList{ list-style:none; margin:0; padding:0; overflow:auto; flex:1; background:#fff; }
#variantList li{ display:grid; grid-template-columns:1fr auto; gap:10px; align-items:center; padding:14px 18px; border-bottom:1px solid #f3f4f6; }
.variant-top-line{ display:flex; align-items:center; gap:8px; min-width:0; }
.variant-name{ font-weight:600; color:#111; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.size-price-row{ display:flex; align-items:center; gap:12px; }
.variant-price{ font-weight:700; font-size:1rem; color:#111; }
.variant-price s{ margin-left:6px; color:#9aa3af; font-weight:500; font-size:.95rem; }
.variant-discount{ font-size:.78rem; font-weight:700; padding:4px 8px; border-radius:999px; background:#fff7e6; color:#a35500; border:1px solid #ffe0b2; }
.cart-btn-slot{ display:flex; align-items:center; }
.add-to-cart-btn{ height:36px; padding:0 14px; border:none; border-radius:10px; cursor:pointer; background:var(--ks-green); color:#fff; font-weight:700; box-shadow:0 2px 0 rgba(0,0,0,.06); }
.add-to-cart-btn:hover{ background:var(--ks-green-dark); }
.add-to-cart-btn.sold-out-btn{ background:#e5e7eb; color:#6b7280; cursor:not-allowed; box-shadow:none; }
.qty-container{ display:flex; align-items:center; gap:8px; background:#f6f8fa; border:1px solid #e5e7eb; border-radius:10px; height:36px; padding:0 8px; }
.qty-btn, .trash-btn{ width:28px; height:28px; border:none; border-radius:8px; cursor:pointer; display:flex; align-items:center; justify-content:center; background:#fff; }
.qty-btn:hover, .trash-btn:hover{ background:#f0f0f0; }
.qty-label{ min-width:18px; text-align:center; font-weight:700; }

@media (max-width:992px){
  .hero-slider .swiper{height:280px}
  .swiper-button-next,.swiper-button-prev{width:36px;height:36px}
  .category-card img{width:120px;height:120px}
  .usp-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:768px){
  .hero-slide__img--desktop{display:none}
  .hero-slide__img--mobile{display:block}
  .hero-slider .swiper{height:220px}

  /* NEW: mobile par sirf HERO banner ke arrows hide karna */
  .hero-slider .swiper-button-next,
  .hero-slider .swiper-button-prev{
    display:none;
  }

  .swiper-button-next,.swiper-button-prev{width:28px;height:28px}
  .categories-grid{grid-template-columns:repeat(3,1fr);gap:1.5rem}
  .category-card img{width:110px;height:110px;border-radius:12px}
  .categories-section h2{font-size:1.6rem}
  .nav-compact{display:none}

  /* CHANGE: make 4 USP points horizontally scrollable on mobile */
  .usp-grid{
    display:flex; gap:12px; overflow-x:auto; padding-bottom:6px;
    -webkit-overflow-scrolling:touch; scroll-snap-type:x mandatory;
  }
  .usp-grid::-webkit-scrollbar{display:none}
  .usp-item{ flex:0 0 auto; min-width:260px; scroll-snap-align:start; }
}


@media (max-width:480px){
  .hero-slider .swiper{height:160px}
  .swiper-button-next,.swiper-button-prev{width:28px;height:28px}
  .swiper-button-next:after,.swiper-button-prev:after{font-size:18px}
  .category-card img{width:90px;height:90px;border-radius:10px}
  .category-card span{font-size:.85rem}
  .categories-grid{grid-template-columns:repeat(3,1fr);gap:1.25rem}
  .size-popup{ width:96vw; }
  .popup-header{ grid-template-columns:56px 1fr max-content; gap:10px; padding:12px 14px; padding-right:58px; }
  .go-cart-btn-header{ font-size:.85rem; height:34px; padding:0 12px; }
  #variantList li{ grid-template-columns:1fr; align-items:flex-start; }
  .size-price-row{ justify-content:space-between; width:100%; }
  .close-btn{ right:8px; top:8px; width:34px; height:34px; }
}

/* Remove the round/grey bubble behind arrows and make icons smaller */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next{
  width: 32px; height: 32px;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after{
  font-size: 18px;
  background: none !important;
  border-radius: 0 !important;
  color: #4b5563;
}
@media (max-width: 768px){
  .hero-slider .swiper-button-prev,
  .hero-slider .swiper-button-next{ width: 26px; height: 26px; }
  .hero-slider .swiper-button-prev::after,
  .hero-slider .swiper-button-next::after{ font-size: 14px; }
}

/* -------- Global small utilities (replacing inline styles) -------- */
.ml-8{ margin-left:8px; }
.hidden{ display:none; }

/* -------- Product card inline-style removals -------- */
.product-card{ cursor:pointer; }
.product-title a{ text-decoration:none; color:inherit; }
.discount-row i{ margin-right:4px; }

/* -------- SEO/AEO block (replacing inline styles on section/h2/p/h3) -------- */
#seo-aeo-content{ padding:28px 16px; max-width:1200px; margin:0 auto; }
#seo-aeo-content .seo-title{ font-size:1.4rem; margin-bottom:8px; }
#seo-aeo-content .seo-lead{ color:#334155; line-height:1.7; }
#seo-aeo-content .faq-title{ font-size:1.1rem; margin-top:12px; margin-bottom:6px; }

/* -------- Compact, icon-led FAQ accordion -------- */
#seo-aeo-content .faq{ border:1px solid #e5e7eb; border-radius:10px; margin:8px 0; background:#fff; overflow:hidden; }
#seo-aeo-content .faq summary{ cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 12px; font-weight:600; font-size:.98rem; list-style:none; }
#seo-aeo-content summary::-webkit-details-marker{ display:none; }
#seo-aeo-content .faq[open] summary{ background:#f8fafc; border-bottom:1px solid #eef2f7; }
#seo-aeo-content .q-left{ display:flex; align-items:center; gap:8px; color:#0f172a; }
#seo-aeo-content .q-left i{ opacity:.8; }
#seo-aeo-content .qa-chevron{ transition:transform .2s ease; display:inline-flex; }
#seo-aeo-content .faq[open] .qa-chevron{ transform:rotate(180deg); }
#seo-aeo-content .faq-a{ padding:10px 12px 12px; display:flex; gap:10px; color:#475569; font-size:.95rem; line-height:1.55; }
#seo-aeo-content .faq-a i{ margin-top:3px; opacity:.8; }
#seo-aeo-content .faq-a ul{ margin:.25rem 0 .25rem 1.2rem; }

/* -------- Size popup header button default hidden (replaces inline display:none) -------- */
.go-cart-btn-header{ display:none; }

/* -------- Cart drawer layout: moved from inline to CSS -------- */
#cartItemsContainer{ flex:1; overflow-y:auto; padding:1rem; }
.ci-thumb{ width:60px; height:60px; object-fit:cover; border-radius:6px; }
.cart-item-title{ display:flex; align-items:center; justify-content:space-between; gap:8px; }
.cart-line-total{ font-weight:600; }
.cart-item-variant{ color:#777; font-size:0.9rem; }

/* (Optional) minor polish for empty cart visual if not already in external CSS */
.empty-cart-state{ text-align:center; padding:1rem 0; }

/* ====================== */
/* ADDITIONS FOR UX/STYLING (no deletions above) */
/* ====================== */

/* ✅ Product card visual polish for Desktop/Mobile/Android */
.product-card{position:relative;background:#fff;border:1px solid #eee;border-radius:12px;overflow:hidden;transition:transform .2s ease, box-shadow .2s ease;}
.product-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,0,0,.06);}
.product-card img{width:100%;height:190px;object-fit:cover;background:#f8fafc;}
.product-card-body{padding:10px 12px;}
.discount-badge{position:absolute;top:10px;left:10px;background:#ff8a00;color:#fff;font-weight:700;font-size:.78rem;padding:6px 8px;border-radius:8px;box-shadow:0 4px 10px rgba(239,68,68,.25);}
.price-row{display:flex;align-items:center;gap:8px;margin-top:6px;font-weight:700;color:#111;}
.price-row s{color:#9aa3af;font-weight:500;}
.discount-row{margin-top:4px;color:#a35500;font-weight:600;font-size:.9rem;display:flex;align-items:center;gap:6px;}
.size-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;}
.size-label{font-size:.9rem;color:#475569;}
.size-button{display:inline-flex;align-items:center;gap:6px;border:1px solid #e5e7eb;background:#fff;border-radius:10px;padding:8px 10px;font-weight:600;color:#111;cursor:pointer;touch-action:manipulation;}
.size-button i{color:#64748b}

/* ✅ Cart drawer container + overlay (Android WebView safe-area aware) */
.cart-drawer{position:fixed;top:0;right:-440px;width:min(420px,92vw);height:100vh;background:#fff;border-left:1px solid #e5e7eb;box-shadow:-10px 0 24px rgba(0,0,0,.08);transition:right .22s ease;z-index:1001;display:flex;flex-direction:column;}
.cart-drawer.show{right:0;}
.cart-overlay{position:fixed;inset:0;background:rgba(0,0,0,.4);display:none;z-index:1000;}
.cart-overlay.show{display:block;}
.cart-header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #e5e7eb;background:#fff;position:sticky;top:0;z-index:1;}
.cart-footer{padding:12px 14px;border-top:1px solid #e5e7eb;background:#fff;position:sticky;bottom:0;z-index:1;padding-bottom:calc(12px + env(safe-area-inset-bottom));}
.cart-checkout-btn{width:100%;height:42px;border:none;border-radius:10px;background:var(--ks-green);color:#fff;font-weight:700;cursor:pointer;touch-action:manipulation;}
.cart-checkout-btn:disabled{opacity:.6;cursor:not-allowed;}
.cart-subtotal{font-weight:700;margin-bottom:8px;}
.cart-terms{font-size:.9rem;color:#475569;}
.shipping-note{font-size:.85rem;color:#64748b;margin-top:6px;}
.cart-item{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid #f2f3f5;}
.cart-item-qty button{width:28px;height:28px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;cursor:pointer;touch-action:manipulation;}
.cart-mobile-qty-badge{display:none;} /* becomes visible on very small screens */
@media (max-width:480px){
  .product-card img{height:150px;}
  .cart-mobile-qty-badge{display:inline-flex;position:absolute;left:54px;top:6px;background:#111;color:#fff;border-radius:999px;min-width:18px;height:18px;align-items:center;justify-content:center;font-size:.7rem;padding:0 5px;}
}

/* ✅ Accessibility + Android touch polish */
:focus-visible{outline:2px solid #2563eb;outline-offset:2px;}
button{touch-action:manipulation;-webkit-tap-highlight-color:transparent;}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
