/* =========================================================
   FREEDOM STAR E-COMMERCE
   Fully responsive: desktop / tablet / mobile
   ========================================================= */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding:0;
 
  font-family: "Inter", Arial, sans-serif;
  color: #112b4d;
  /*background: #fff;*/
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

:root {
  --blue: #0757a8;
  --blue-2: #0b68c7;
  --blue-dark: #07396e;
  --navy: #112b4d;
  --yellow: #ffc51b;
  --yellow-2: #ffd64a;
  --border: #e2eaf4;
  --muted: #718096;
  --light: #f4f8fd;
  --container: 1440px;
  --fs-blue:#0757a8; --fs-navy:#062c57; --fs-orange:#ff8b1b; --fs-gold:#ffbf18;
  --fs-ink:#10294a; --fs-muted:#586f8f; --fs-line:#e3ebf5; --fs-bg:#f5f8fc;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- TOP BAR ---------- */
.topbar {
  height: 20px;
  background: linear-gradient(90deg, #ff8b1b, #064887);
  color: #fff;
  font-size: 12px;
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar p { margin: 0; white-space: nowrap; }

.topbar-links {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.topbar-links i {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,.3);
}

.topbar-links a:hover { color: var(--yellow); }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 16px rgba(8,43,82,.09);
}

.header-row {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  flex: 0 0 235px;
  width: 235px;
}

.logo img {
  width: 220px;
  height: 72px;
  object-fit: contain;
}

.search-box {
  height: 45px;
  flex: 1 1 620px;
  max-width: 680px;
  min-width: 180px;
  display: flex;
  overflow: hidden;
  border: 1px solid #d4deeb;
  border-radius: 13px;
  background: #fff;
}

.search-box:focus-within {
  border-color: #8db5df;
  box-shadow: 0 0 0 3px rgba(7,87,168,.08);
}

.search-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  padding: 0 17px;
  color: var(--navy);
  font-size: 13px;
}

.search-box button {
  width: 62px;
  flex: 0 0 62px;
  border: 0;
  background: var(--yellow);
  color: #102a4c;
  display: grid;
  place-items: center;
}

.search-box svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 25px;
}

.header-action {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--navy);
}

.line-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.action-copy b {
  display: block;
  font-size: 13px;
  white-space: nowrap;
}

.action-copy small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
  white-space: nowrap;
}

.counter {
  position: absolute;
  top: -8px;
  left: 17px;
  min-width: 17px;
  height: 17px;
  padding-inline: 4px;
  border-radius: 50px;
  background: var(--yellow);
  display: grid;
  place-items: center;
  color: #102a4c;
  font-size: 9px;
  font-weight: 800;
  z-index: 2;
}

.mobile-menu-btn {
  display: none;
}

/* ---------- DESKTOP NAV ---------- */
.desktop-nav {
  height: 46px;
  background: var(--blue);
  color: #fff;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.category-button {
  flex: 0 0 255px;
  border: 0;
  border-radius: 10px 10px 0 0;
 background: linear-gradient(90deg, #ff9733, #ff9733);
  color: #112b4d;
  font-size: 14px;
  font-weight: 800;
}

.hamburger-symbol {
  margin-right: 10px;
  font-size: 17px;
}

.nav-links {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: end;
  gap: clamp(16px, 2.6vw, 40px);
}

.nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active { color: var(--yellow); }

.nav-links a.active::after {
  content: "";
  position: absolute;
  height: 3px;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--yellow);
}

.mobile-nav { display: none; }

/* ---------- CATEGORY PANEL ---------- */
.category-panel {
  display: none;
  background: #fff;
  box-shadow: 0 12px 30px rgba(8,42,79,.14);
  position: relative;
  z-index: 90;
}

.category-panel.show { display: block; }

.category-grid {
  padding: 18px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.category-grid a {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}

.category-grid a:hover {
  border-color: #a9c8e8;
  background: #f5f9ff;
  color: var(--blue);
}

/* =====================================================================
   FREEDOM STAR – HOME PAGE CSS (sirf home ke liye)
   Header / footer / account / cart ki koi CSS isme nahi hai.
   ===================================================================== */

/* ---------- Basic: width, section, heading, button ---------- */
.fs-wrap{width:min(var(--container),calc(100% - 48px));margin-inline:auto;padding:0!important}
.fs-section{padding-top:44px !important}
.fs-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:22px}
.fs-head h2{margin:0;font-size:28px;color:var(--fs-ink)}
.fs-head a{color:var(--fs-blue);font-weight:700}
.fs-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 24px;border-radius:12px;font-weight:700;font-size:15px;border:0;cursor:pointer;white-space:nowrap;transition:transform .2s,box-shadow .2s}
.fs-btn:hover{transform:translateY(-2px)}

body main .hero-slider .hero-slides{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:flex-start;
  width:100%!important;
  overflow:visible!important;
  transition:transform .65s cubic-bezier(.65,0,.35,1);
  will-change:transform;
}
body main .hero-slider .hero-slide,
body main .hero-slider .hero-slide.active{
  display:block!important;
  flex:0 0 100%!important;
  flex-shrink:0!important;
  flex-basis:100%!important;
  width:100%!important;
  min-width:100%!important;
  max-width:none!important;
  position:relative!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}


body main .hero-slider .hero-slide > img{
  width:100%!important;
  height:auto!important;
  display:block!important;
}
 
/* Arrows */
.hero-slider .hero-arrow{
  position:absolute;top:60%;transform:translateY(-50%);z-index:5;
  display:flex;align-items:center;justify-content:center;
  padding:4px 14px;border-radius:50%;font-size:28px;line-height:1;cursor:pointer;
}
.hero-slider .hero-prev{left:16px}
.hero-slider .hero-next{right:16px}
 
/* Dots */
.hero-slider .hero-slider-dots{
  position:absolute;z-index:6;bottom:14px;left:50%;transform:translateX(-50%);
  display:flex;align-items:center;gap:9px;
}
.hero-slider .hero-slider-dots button{
  width:9px;height:9px;padding:0;border:0;border-radius:20px;cursor:pointer;
  transition:width .25s ease,background .25s ease;
}
.hero-slider .hero-slider-dots button.active{width:28px}

/* Layout file ke inline CSS ne non-active slides ko display:none kar rakha
   hai. Sab slides ko ek line mein rakhne ke liye yeh zaroori hai. */
/* Slides ki patti: sab slides ek line mein, left/right khisakti hai */




/* ---------- Categories (square 1:1) ---------- */
.fs-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* Poora card ab ek border box banega */
.fs-cat-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #ff8b1b;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(7, 87, 168, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Hover effect poore card pe ek saath aayega */
.fs-cat-card:hover {
  transform: translateY(-4px);
  border-color: #b7cde6;
  box-shadow: 0 10px 22px rgba(7, 87, 168, 0.14);
}

/* Image container */
.fs-cat-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: #f8fafc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
}

.fs-cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Category name text styling */
.fs-cat-card b {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--fs-ink, #1f2937);
  background: var(--fs-orange);
  border-top: 1px solid #edf2f7;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Home page: 5 columns (existing default) */

/* Only Category List Page: 4 columns */
.category-list-page .fs-cat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Tablet */
@media (max-width: 768px) {
    .category-list-page .fs-cat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 480px) {
    .category-list-page .fs-cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Ads ---------- */
.fs-ad{position:relative;display:flex;border-radius:20px}
.fs-ad-tag{position:absolute;top:12px;right:16px;font-size:11px;font-weight:800;background:rgba(255,255,255,.7);color:var(--fs-ink);padding:2px 8px;border-radius:6px}
.fs-ad-strip{align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;background:linear-gradient(100deg,var(--fs-orange),var(--fs-gold));padding:26px 36px;color:var(--fs-ink)}
.fs-ad-strip small{display:block;font-size:13px;font-weight:800;letter-spacing:1.5px}
.fs-ad-strip strong{display:block;font-size:30px;margin-top:6px;line-height:1.2}
.fs-ad-strip .fs-btn{background:var(--fs-ink);color:#fff}
.fs-ad-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.fs-ad-tile{min-height:200px;padding:30px;flex-direction:column;justify-content:center;gap:10px}
.fs-ad-tile b{font-size:26px;line-height:1.25}
.fs-ad-blue{background:var(--fs-blue);color:#fff}
.fs-ad-blue .fs-ad-tag{background:rgba(255,255,255,.2);color:#fff}
.fs-ad-blue span:last-child{color:var(--fs-gold);font-weight:700}
.fs-ad-gold{background:#ffe9a8;color:var(--fs-ink)}
.fs-ad-gold span:last-child{color:var(--fs-blue);font-weight:700}

/* ---------- Promo cards ---------- */
.fs-promo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.fs-promo{border-radius:20px;padding:30px;min-height:170px;display:flex;flex-direction:column;justify-content:space-between}
.fs-promo h3{margin:0;font-size:24px;line-height:1.2}
.fs-promo .fs-btn{align-self:flex-start;min-height:42px}
.fs-promo-blue{background:var(--fs-blue);color:#fff}.fs-promo-blue .fs-btn{background:var(--fs-gold);color:var(--fs-ink)}
.fs-promo-gold{background:#ffe9a8;color:var(--fs-ink)}.fs-promo-gold .fs-btn{background:var(--fs-blue);color:#fff}
.fs-promo-light{background:#dcebfb;color:var(--fs-ink)}.fs-promo-light .fs-btn{background:var(--fs-orange);color:var(--fs-ink)}

/* ---------- Product cards ---------- */
.fs-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.fs-card{position:relative;background:#fff;border:1px solid var(--fs-line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .25s,transform .25s}
.fs-card:hover{box-shadow:0 14px 30px rgba(7,87,168,.14);transform:translateY(-3px)}
.fs-card-img{display:block;aspect-ratio:1/1;background:#eaf1fa;overflow:hidden;position:relative}
.fs-card-img img{width:100%;height:100%;object-fit:contain;padding:10px;transition:transform .35s}
.fs-card:hover .fs-card-img img{transform:scale(1.05)}
.fs-card-img em{display:flex;height:100%;align-items:center;justify-content:center;color:var(--fs-muted);font-style:normal;font-size:13px}
.fs-badge{position:absolute;top:12px;left:12px;z-index:2;background:var(--fs-orange);color:var(--fs-ink);font-size:12px;font-weight:800;padding:4px 10px;border-radius:20px}
.fs-wish{position:absolute;top:12px;right:12px;z-index:2;width:38px;height:38px;border-radius:50%;background:#fff;border:0;box-shadow:0 2px 8px rgba(0,0,0,.14);color:var(--fs-ink);font-size:18px}
.fs-wish:hover{color:#d92d4b}
.fs-card-body{padding:16px 18px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.fs-card-cat{font-size:12px;font-weight:700;color:var(--fs-muted);letter-spacing:.5px;text-transform:uppercase}
.fs-card-title{margin:0;font-size:16px;line-height:1.35}
.fs-card-title a{color:var(--fs-ink)}
.fs-stars{color:#c98a00;font-size:14px;letter-spacing:2px}
.fs-price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:auto}
.fs-price strong{font-size:20px;font-weight:800;color:var(--fs-blue)}
.fs-price del{font-size:14px;color:var(--fs-muted)}
.fs-price em{font-size:12px;font-style:normal;font-weight:800;color:#0b6b3a}
.fs-card-actions{display:flex;gap:8px;margin-top:6px}
.fs-card-actions .fs-btn:first-child{flex:1;background:var(--fs-blue);color:#fff}
.fs-card-actions .fs-btn:first-child:hover{background:#064681}
.fs-card-actions .fs-plus{flex:0 0 46px;padding:0;background:var(--fs-orange);color:var(--fs-ink);font-size:22px}

/* Purani mobile CSS (.product-card, .wishlist-product, .product-card h3)
   naye card ko chhota na kare, isliye yeh overrides: */
.fs-card.product-card{padding:0!important;border-radius:18px!important}
.fs-card .fs-card-title{font-size:16px!important;margin:0!important}
.fs-card .fs-wish{width:38px!important;height:38px!important;top:12px!important;right:12px!important;font-size:18px!important}

/* ---------- Trust strip ---------- */
.fs-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;background:#fff;border:1px solid var(--fs-line);border-radius:20px;padding:26px 28px}
.fs-trust-item{display:flex;align-items:center;gap:14px}
.fs-trust-item i{width:48px;height:48px;border-radius:14px;background:#e6f0fb;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.fs-trust-item b{display:block;font-size:15px}
.fs-trust-item span{font-size:13px;color:var(--fs-muted)}

footer.fs-footer{background:var(--fs-navy);color:#c9d9ee;margin-top:56px}
.fs-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:36px;padding-top:52px !important;padding-bottom:40px !important}
.fs-footer img{height:56px;width:auto;background:#fff;border-radius:10px;padding:6px;margin-bottom:14px}
.fs-footer p{margin:0 0 10px;font-size:14px;line-height:1.7;color:#c9d9ee}
.fs-footer h4{margin:0 0 16px;font-size:15px;color:#fff}
.fs-footer a{display:block;color:#c9d9ee;font-size:14px;margin-bottom:10px;text-decoration:none}
.fs-footer a:hover{color:var(--fs-gold)}
.fs-copy{border-top:1px solid #1a4272;text-align:center;font-size:13px;padding:18px 24px}

/* =====================================================================
   HOME RESPONSIVE
   ===================================================================== */
@media(max-width:1300px){:root{--container:1180px}}

@media(max-width:1100px){
  .fs-product-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:1000px){
  .fs-cat-grid{grid-template-columns:repeat(5,1fr)}
  .fs-trust{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:900px){
  .fs-promo-grid{grid-template-columns:1fr}
}
@media(max-width:780px){
  .fs-wrap{width:calc(100% - 28px)}
  body main .hero-slider{width:calc(100% - 28px)!important;margin-top:16px!important;border-radius:16px}
  .fs-section{padding-top:30px}
  .fs-head h2{font-size:22px}
  .fs-cat-grid{grid-template-columns:repeat(3,1fr);gap:12px}
  .fs-cat-card{font-size:12px}
  .fs-ad-grid{grid-template-columns:1fr}
  .fs-ad-strip{padding:22px 20px}
  .fs-ad-strip strong{font-size:22px}
  .fs-ad-tile{min-height:160px;padding:24px}
  .fs-ad-tile b{font-size:22px}
  .fs-product-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .fs-card-body{padding:12px 12px 14px}
  .fs-card .fs-card-title{font-size:14px!important}
  .fs-price strong{font-size:17px}
  .fs-card-actions .fs-btn{min-height:40px;font-size:13px;padding:0 10px}
  .fs-card-actions .fs-plus{flex-basis:40px}
  .fs-trust{padding:18px;gap:16px}
}
@media(max-width:520px){
  .fs-wrap{width:calc(100% - 30px)}
  body main .hero-slider{width:calc(100% - 20px)!important}
  .fs-cat-grid{gap:10px}
  .fs-cat-card{font-size:11px}
  .fs-card .fs-card-title{font-size:13px!important}
  .fs-card .fs-wish{width:32px!important;height:32px!important;top:8px!important;right:8px!important;font-size:16px!important}
  .fs-card-actions .fs-btn{font-size:10px;padding:5px 0px;min-height:30px}
  .fs-card-actions .fs-plus{flex-basis:38px}
  .fs-trust-item i{width:40px;height:40px}
  .fs-trust-item b{font-size:13px}
  .fs-trust-item span{font-size:11px}
  
  .hero-slider .hero-prev{left:8px}
.hero-slider .hero-next{right:8px}

.hero-slider .hero-arrow{
    top: 27%;
    padding:2px 8px;
    font-size: 20px;
}
    
}

/* FOOTER RESPONSIVE */
@media (max-width: 768px) {
    .fs-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
        padding-top: 35px !important;
        padding-bottom: 30px !important;
    }

    .fs-footer img {
        height: 48px;
    }

    .fs-footer h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .fs-footer p,
    .fs-footer a {
        font-size: 13px;
        line-height: 1.6;
    }

    .fs-copy {
        font-size: 12px;
        padding: 15px 12px;
        line-height: 1.6;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .fs-footer {
        margin-top: 35px;
    }

    .fs-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 14px;
        padding-top: 28px !important;
        padding-bottom: 25px !important;
    }

    .fs-footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .fs-footer img {
        height: 45px;
        margin-bottom: 10px;
    }

    .fs-footer p,
    .fs-footer a {
        font-size: 12px;
        overflow-wrap: anywhere;
    }

    .fs-footer h4 {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .fs-copy {
        padding: 13px 10px;
        font-size: 11px;
    }
}

/* ---------- CART ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(4,20,40,.55);
  opacity: 0;
  visibility: hidden;
  transition: .25s;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  z-index: 501;
  top: 0;
  right: 0;
  width: min(390px, 100%);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -10px 0 30px rgba(0,0,0,.16);
  transform: translateX(100%);
  transition: transform .28s ease;
}

.cart-drawer.show { transform: translateX(0); }

.cart-head {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--border);
}

.cart-head h2 {
  margin: 0;
  font-size: 19px;
}

.cart-head button {
  border: 0;
  background: transparent;
  color: #718096;
  font-size: 30px;
  line-height: 1;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 18px;
}

.empty-cart {
  padding: 60px 0;
  text-align: center;
  color: #8794a5;
  font-size: 13px;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #edf1f6;
  font-size: 12px;
}

.cart-line small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.cart-line button {
  border: 0;
  background: #f2f6fa;
  border-radius: 5px;
  padding: 4px 7px;
}

.cart-bottom {
  flex: 0 0 auto;
  padding: 15px 18px;
  border-top: 1px solid var(--border);
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 13px;
  font-size: 16px;
}

.checkout-btn {
  width: 100%;
  padding: 13px;
  border: 0;
  border-radius: 8px;
  background: var(--yellow);
  color: #102a4c;
  font-weight: 800;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */

/* Large desktop */
@media (max-width: 1300px) {
  .container { width: min(1180px, calc(100% - 36px)); }

  .header-row { gap: 18px; }
  .logo { flex-basis: 205px; width: 205px; }
  .logo img { width: 195px; }

  .header-actions { gap: 16px; }
  .nav-links { gap: 22px; }

  .hero {
    grid-template-columns: minmax(330px, .92fr) minmax(350px, 1fr) 195px;
  }

  .hero-content { padding-left: 45px; }

  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Tablet landscape */
@media (max-width: 1050px) {
  .topbar { height: 34px; }

  .account-action .action-copy small,
  .account-action .action-copy b { display: none; }

  .header-actions { gap: 14px; }

  .desktop-nav { height: 44px; }

  .category-button { flex-basis: 210px; }

  .nav-links { gap: 17px; }
  .nav-links a { font-size: 11px; }

  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    padding: 35px 15px 28px 40px;
  }

  .benefits {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 15px 22px 20px;
    gap: 10px;
  }

  .promo-grid { grid-template-columns: 1fr 1fr; }
  .promo:last-child { grid-column: 1 / -1; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-child(-n+2) { padding-bottom: 15px; }
}



/* Tablet portrait */
@media (max-width: 780px) {
  .container { width: min(100% - 28px, 680px); }

  .topbar p { font-size: 11px; }
  .topbar-links { display: none; }

  .site-header { position: sticky; }

  .header-row {
    min-height: 72px;
    gap: 0px;
    flex-wrap: wrap;
    padding: 0px 0 0px;
  }

  .mobile-menu-btn {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    background: #edf5fe;
  }

  .mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background: var(--blue);
    border-radius: 3px;
  }

  .logo {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  .logo img {
    width: 155px;
    height: 52px;
  }

  .header-actions {
    margin-left: auto;
    gap: 7px;
  }

  .header-action {
    width: 38px;
    height: 38px;
    justify-content: center;
    border-radius: 8px;
    background: #f4f8fd;
  }

  .action-copy { display: none; }

  .line-icon svg { width: 22px; height: 22px; }

  .counter {
    top: 1px;
    left: 22px;
  }

  .search-box {
    order: 5;
    flex: 1 0 100%;
    max-width: none;
    height: 42px;
  }

  .desktop-nav { display: none; }

  .mobile-nav {
    display: none;
    border-top: 1px solid var(--border);
    background: #fff;
    padding: 8px 14px 15px;
  }

  .mobile-nav.show {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }

  .mobile-nav a {
    padding: 12px 10px;
    border-bottom: 1px solid #eef2f7;
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
  }

  .mobile-nav a:hover { color: var(--blue); }

  .category-panel { display: none !important; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: 28px 22px 18px;
  }

  .hero h1 {
    font-size: clamp(31px, 7vw, 40px);
  }

  .hero-image-wrap {
    height: 250px;
  }

  .hero-image-wrap img {
    object-position: center 32%;
  }

  .hero-circle {
    width: 125px;
    height: 125px;
    top: -65px;
    left: 18%;
  }

  .happy-shopping {
    top: 27px;
    right: 9%;
    font-size: 19px;
  }

  .happy-shopping b { font-size: 23px; }

  .benefits {
    grid-column: auto;
    grid-template-columns: 1fr 1fr;
    padding: 16px 18px 20px;
  }

  .category-scroll { justify-content: flex-start; }

  .promo-grid { grid-template-columns: 1fr; }
  .promo:last-child { grid-column: auto; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .product-picture { height: 155px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .container { width: calc(100% - 50px); }

  .topbar {
    height: 32px;
    display: flex;
    align-items: center;
  }

  .topbar-inner {
    justify-content: center;
  }

  .topbar p {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-row {
    min-height: 68px;
    padding-top: 5px;
  }

  .mobile-menu-btn {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .logo img {
    width: 140px;
    height: 48px;
  }

  .header-actions { gap: 5px; }

  .header-action {
    width: 34px;
    height: 34px;
  }

  .account-action { display: none; }

  .line-icon svg {
    width: 20px;
    height: 20px;
  }

  .counter {
    top: -1px;
    left: 19px;
  }

  .search-box {
    height: 40px;
  }

  .search-box button {
    width: 52px;
    flex-basis: 52px;
  }

  .mobile-nav.show {
    grid-template-columns: 1fr;
  }

  .hero-section { padding-top: 8px; }

  .hero {
    border-radius: 11px;
  }

  .hero-content {
    padding: 25px 17px 14px;
  }

  .eyebrow { font-size: 12px; }

  .hero h1 {
    font-size: 30px;
    letter-spacing: -1px;
  }

  .hero-content p {
    font-size: 12px;
  }

  .desktop-only { display: none; }

  .primary-btn {
    margin-top: 15px;
    padding: 11px 22px;
    font-size: 12px;
  }

  .slider-dots { margin-top: 18px; }

  .hero-image-wrap {
    height: 205px;
  }

  .happy-shopping {
    top: 22px;
    right: 6%;
    font-size: 16px;
  }

  .happy-shopping b { font-size: 20px; }

  .benefits {
    grid-template-columns: 1fr 1fr;
    gap: 12px 8px;
    padding: 15px 12px 17px;
  }

  .benefit-icon {
    width: 35px;
    height: 35px;
    flex-basis: 35px;
    font-size: 16px;
  }

  .benefit b { font-size: 10px; }
  .benefit small { font-size: 9px; }

  .categories-section { padding: 14px 0 18px; }

  .category-item {
    flex-basis: 70px;
    font-size: 9px;
  }

  .category-item span {
    width: 52px;
    height: 52px;
    font-size: 21px;
  }

  .promo {
    min-height: 135px;
    padding: 16px;
    border-radius: 10px;
  }

  .promo h2 { font-size: 17px; }
  .promo p { font-size: 10px; margin-bottom: 10px; }
  .promo a { padding: 8px 12px; font-size: 10px; }

  .promo-visual { font-size: 38px; }
  .fashion-art { font-size: 34px; }
  .home-art { font-size: 60px; }

  .products-section { padding: 21px 0 30px; }

  .section-head h2 { font-size: 19px; }
  .section-head a { font-size: 10px; }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product-card {
    padding: 8px;
    border-radius: 9px;
  }

  .discount {
    top: 8px;
    left: 8px;
    padding: 4px 6px;
    font-size: 8px;
  }

  .wishlist-product {
    top: 7px;
    right: 7px;
    width: 26px;
    height: 26px;
    font-size: 16px;
  }

  .product-picture {
    height: 125px;
    font-size: 62px;
  }

  .watch-picture { font-size: 70px; }

  .rating { font-size: 8px; }
  .product-card h3 { font-size: 10px; margin: 5px 0; }
  .price-row strong { font-size: 13px; }
  .price-row del { font-size: 9px; }

  .add-cart {
    margin-top: 8px;
    padding: 8px 4px;
    font-size: 10px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    padding: 17px 0;
    gap: 14px 6px;
  }

  .trust-grid > div {
    justify-content: flex-start;
    padding-left: 8px;
    border: 0;
  }

  .trust-grid > div > span { font-size: 20px; }
  .trust-grid section b { font-size: 9px; }
  .trust-grid section small { font-size: 8px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    padding: 28px 0;
  }

  .footer-company {
    grid-column: 1 / -1;
  }

  .footer-company img {
    width: 170px;
    height: 54px;
  }

  .footer-grid h4 { font-size: 11px; }
  .footer-grid a,
  .footer-grid p { font-size: 9px; }

  .copyright { font-size: 8px; }

  .cart-drawer { width: 100%; }

  .cart-line {
    grid-template-columns: 1fr auto;
  }

  .cart-line button {
    grid-column: 2;
    grid-row: 1;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .logo img { width: 125px; }

  .header-action {
    width: 31px;
    height: 31px;
  }

  .header-actions { gap: 3px; }

  .hero h1 { font-size: 27px; }

  .benefits { grid-template-columns: 1fr; }

  .product-picture { height: 112px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-company { grid-column: auto; }
}


/* =========================================================
   ACCOUNT / LOGIN / SIGNUP
   ========================================================= */
.mobile-account-action{display:none}

.account-overlay{
  position:fixed;
  inset:0;
  z-index:700;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(3,21,42,.68);
  opacity:0;
  visibility:hidden;
  transition:.22s ease;
  overflow-y:auto;
}
.account-overlay.show{opacity:1;visibility:visible}

.account-modal{
  position:relative;
  width:min(430px,100%);
  max-height:calc(100dvh - 40px);
  overflow-y:auto;
  padding:28px 30px 24px;
  border:1px solid #e3ebf5;
  border-radius:18px;
  background:#fff;
  box-shadow:0 24px 70px rgba(0,0,0,.25);
  transform:translateY(12px) scale(.98);
  transition:.22s ease;
}
.account-overlay.show .account-modal{transform:translateY(0) scale(1)}

.account-close{
  position:absolute;
  top:12px;
  right:13px;
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:#f3f7fc;
  color:#62748a;
  font-size:25px;
  line-height:1;
}
.account-close:hover{background:#e9f1fa;color:#0757a8}

.account-brand{display:flex;justify-content:center;margin-bottom:14px}
.account-brand img{width:180px;height:58px;object-fit:contain}

.account-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4px;
  padding:4px;
  margin-bottom:22px;
  border-radius:10px;
  background:#f2f6fb;
}
.account-tab{
  padding:10px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#66778d;
  font-size:13px;
  font-weight:700;
}
.account-tab.active{
  background:#0757a8;
  color:#fff;
  box-shadow:0 4px 10px rgba(7,87,168,.2);
}

.account-panel h2{margin:0;color:#112b4d;font-size:24px;text-align:center}
.account-subtitle{margin:7px 0 20px;color:#77879b;font-size:11px;line-height:1.5;text-align:center}

.account-form{display:flex;flex-direction:column;gap:8px}
.account-form>label{margin-top:3px;color:#233b5b;font-size:11px;font-weight:700}
.account-form input[type=text],
.account-form input[type=email],
.account-form input[type=tel],
.account-form input[type=password]{
  width:100%;
  height:43px;
  padding:0 13px;
  border:1px solid #d9e3ef;
  border-radius:8px;
  outline:0;
  color:#112b4d;
  background:#fff;
  font-size:12px;
}
.account-form input:focus{
  border-color:#77a9d8;
  box-shadow:0 0 0 3px rgba(7,87,168,.08);
}

.password-field{position:relative}
.password-field input{padding-right:60px!important}
.password-toggle{
  position:absolute;
  top:50%;
  right:7px;
  transform:translateY(-50%);
  border:0;
  background:transparent;
  color:#0757a8;
  font-size:10px;
  font-weight:700;
}

.form-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:6px 0 5px;
}
.remember{
  display:flex!important;
  flex-direction:row!important;
  align-items:center;
  gap:5px;
  margin:0!important;
  color:#718096!important;
  font-size:10px!important;
  font-weight:500!important;
}
.remember input,.terms input{accent-color:#0757a8}
.forgot-link{color:#0757a8;font-size:10px;font-weight:600}

.account-submit{
  width:100%;
  height:44px;
  margin-top:8px;
  border:0;
  border-radius:8px;
  background:linear-gradient(90deg,#0757a8,#0b68c7);
  color:#fff;
  font-size:12px;
  font-weight:800;
  box-shadow:0 8px 18px rgba(7,87,168,.18);
}
.account-submit:hover{background:#073f7c}

.account-switch{
  margin:17px 0 0;
  color:#77879b;
  text-align:center;
  font-size:10px;
}
.account-switch button{
  padding:0;
  border:0;
  background:transparent;
  color:#0757a8;
  font-weight:800;
}

.terms{
  display:flex!important;
  flex-direction:row!important;
  align-items:flex-start;
  gap:6px;
  margin-top:6px!important;
  color:#718096!important;
  font-size:9px!important;
  font-weight:500!important;
  line-height:1.4;
}
.hidden{display:none!important}

@media(max-width:780px){
  .mobile-account-action{display:flex}
  .account-action{display:none}
}

@media(max-width:520px){
  .account-overlay{
    align-items:flex-end;
    padding:0;
  }
  .account-modal{
    width:100%;
    max-height:92dvh;
    padding:22px 18px 20px;
    border-radius:18px 18px 0 0;
    transform:translateY(100%);
  }
  .account-overlay.show .account-modal{transform:translateY(0)}
  .account-brand img{width:160px;height:52px}
  .account-panel h2{font-size:21px}
  .account-form input[type=text],
  .account-form input[type=email],
  .account-form input[type=tel],
  .account-form input[type=password]{height:45px}
}
@media(max-width:360px){
  .mobile-account-action{width:31px;height:31px}
  .mobile-account-action .line-icon svg{width:19px;height:19px}
}
/* =========================================================
   ACCOUNT MENU - PREMIUM
========================================================= */

.account-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}


/* ACCOUNT BUTTON */

.account-wrapper .account-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.account-wrapper .account-action .line-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-wrapper .account-action .line-icon svg {
    width: 24px;
    height: 24px;
}


/* CHEVRON */

.account-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
    transition: transform .2s ease;
}

.account-chevron svg {
    width: 14px;
    height: 14px;
}

.account-wrapper.open .account-chevron {
    transform: rotate(180deg);
}


/* =========================================================
   DROPDOWN
========================================================= */

.account-dropdown {
    position: absolute;

    top: calc(100% + 12px);
    right: 0;

    width: 265px;

    background: #ffffff;

    border: 1px solid #e6ebf2;

    border-radius: 14px;

    box-shadow:
        0 18px 45px rgba(18, 52, 86, .16),
        0 4px 12px rgba(18, 52, 86, .08);

    padding: 8px;

    z-index: 99999;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    transition:
        opacity .18s ease,
        transform .18s ease,
        visibility .18s ease;
}

.account-wrapper.open .account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* =========================================================
   USER HEADER
========================================================= */

.account-dropdown-user {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 10px 9px;
}

.account-user-icon {
    width: 42px;
    height: 42px;

    min-width: 42px;

    border-radius: 50%;

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

    background: linear-gradient(
        135deg,
        #1764a8,
        #0d4d87
    );

    color: #ffffff;

    font-size: 16px;
    font-weight: 800;
}

.account-user-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 2px;
}

.account-user-info strong {
    font-size: 14px;
    color: #152b45;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-user-info small {
    font-size: 11px;
    color: #7b8796;
}


/* DIVIDER */

.account-dropdown-divider {
    height: 1px;
    background: #edf1f5;
    margin: 3px 4px 7px;
}


/* =========================================================
   DROPDOWN ITEMS
========================================================= */

.account-dropdown-item {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 11px 10px;

    border-radius: 10px;

    background: transparent;

    border: 0;

    text-decoration: none;

    cursor: pointer;

    text-align: left;

    transition:
        background .18s ease,
        transform .15s ease;
}

.account-dropdown-item:hover {
    background: #f4f8fc;
}

.account-dropdown-item:active {
    transform: scale(.98);
}


.dropdown-item-icon {
    width: 36px;
    height: 36px;

    min-width: 36px;

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

    border-radius: 9px;

    background: #eef5fb;

    color: #1262a4;
}

.dropdown-item-icon svg {
    width: 19px;
    height: 19px;
}


.account-dropdown-item > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.account-dropdown-item strong {
    font-size: 13px;
    font-weight: 700;
    color: #1c344e;
}

.account-dropdown-item small {
    font-size: 10px;
    color: #8a96a5;
}


/* LOGOUT */

.logout-item .dropdown-item-icon {
    background: #fff1f1;
    color: #d9363e;
}

.logout-item strong {
    color: #d9363e;
}

.logout-item:hover {
    background: #fff6f6;
}

.account-logout-form {
    margin: 0;
    padding: 0;
}


/* =========================================================
   MOBILE
========================================================= */





/* =========================================================
   MOBILE ACCOUNT BUTTON - FIX
========================================================= */

@media (max-width: 780px) {

    /* Mobile account button always visible */
    .header-actions .mobile-account-action {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;

        padding: 0 !important;
        margin: 0 !important;

        border: 1px solid #edf1f5 !important;
        border-radius: 12px !important;

        background: #f7faff !important;

        color: #0b4f8a !important;

        cursor: pointer;

        flex-shrink: 0;

        position: relative;
        z-index: 20;
    }


    /* Account icon wrapper */
    .header-actions .mobile-account-icon,
    .header-actions .line-icon {
        width: 22px !important;
        height: 22px !important;

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

        color: #0b4f8a !important;

        flex-shrink: 0;
    }


    /* SVG */
    .header-actions .mobile-account-action svg {
        display: block !important;

        width: 22px !important;
        height: 22px !important;

        fill: none !important;

        stroke: #0b4f8a !important;

        stroke-width: 1.8 !important;

        stroke-linecap: round !important;
        stroke-linejoin: round !important;

        opacity: 1 !important;

        visibility: visible !important;
    }


    /* Logged-in mobile account */
    .header-actions
    .mobile-account-action.mobile-account-logged {
        display: flex !important;

        text-decoration: none !important;
    }


    /* Logged-in text is hidden on mobile,
       only professional account icon */
    .mobile-account-text {
        display: none !important;
    }


    /* Prevent old mobile CSS from hiding account */
    .header-actions
    .mobile-account-action.mobile-account-logged,
    .header-actions
    .mobile-account-action:not(.account-action) {
        visibility: visible !important;
        opacity: 1 !important;
    }


    /* Hover / tap */
    .header-actions .mobile-account-action:active {
        transform: scale(.96);
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .header-actions .mobile-account-action {
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;

        border-radius: 11px !important;
    }

    .header-actions .mobile-account-action svg {
        width: 21px !important;
        height: 21px !important;
    }

}

/* =====================================================================
   SIDE-SCROLL FIX – style.css ke BILKUL AAKHRI mein paste karein
   ===================================================================== */

/* "overflow-x:hidden" sirf body par mobile browsers mein side-pan nahi rokta.
   "clip" html + body dono par lagane se page kabhi side mein nahi khisakta,
   aur sticky header bhi chalta rehta hai (hidden se sticky toot jata hai). */
html,
body{
  max-width:100%;
  overflow-x:clip;
}
@supports not (overflow-x:clip){
  html,body{overflow-x:hidden}
}

/* Har badi cheez apne container ke andar rahe */
main,
.fs-wrap,
.container,
.site-header,
footer{
  max-width:100%;
}
img,svg,video,iframe{max-width:100%}

/* Header ke hidden dropdowns/drawer chhoti screen par bahar na failein */
.account-dropdown{max-width:calc(100vw - 20px)}
.cart-drawer{max-width:100vw}
