/* ==========================================================================
   Falak Diaper — E-commerce stylesheet
   Palette: Marketplace navy (#131921 / #232f3e) + action orange (#ff6a00)
            + trust blue (#1a73e8) + soft neutral background (#f5f6f8)
   ========================================================================== */

:root{
  --navy-dark: #131921;
  --navy: #1c2530;
  --navy-light: #232f3e;
  --orange: #ff6a00;
  --orange-dark: #e65c00;
  --blue: #1a73e8;
  --bg-soft: #f5f6f8;
  --text-muted: #6b7280;
  --success: #17a34a;
  --radius: 10px;
  font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
}

body{
  background: var(--bg-soft);
  color: #222;
  font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
}

a{ text-decoration: none; }

/* ---------- Topbar ---------- */
.topbar{
  background: var(--navy-dark);
  color: #cfd6dd;
  border-bottom: 1px solid #2a3543;
}
.topbar a{ color: #cfd6dd; }
.topbar a:hover{ color: var(--orange); }

/* ---------- Header / navbar ---------- */
.main-header{ background: var(--navy); z-index: 1030; }
.main-header .navbar{ background: var(--navy); padding: .65rem 0; }

.logo-badge{
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ffb703);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; flex-shrink: 0;
}
.brand-text strong{ color: #fff; font-size: 1.15rem; line-height: 1.1; }
.brand-text small{ color: #b7c0cc; font-size: .7rem; }

.search-form{ max-width: 640px; }
.search-form input{
  border-radius: 6px 0 0 6px; border: none; padding: .6rem 1rem;
}
.search-form .btn{
  background: var(--orange); color: #fff; border-radius: 0 6px 6px 0; border: none; padding: 0 1.1rem;
}
.search-form .btn:hover{ background: var(--orange-dark); }

.main-header .nav-link{ color: #e7ebef; font-weight: 500; }
.main-header .nav-link:hover{ color: var(--orange); }
.main-header .dropdown-menu{ border-radius: 10px; border: none; box-shadow: 0 10px 30px rgba(0,0,0,.15); }

.category-strip{ background: var(--navy-light); border-top: 1px solid #33404f; }
.cat-strip-link{ color: #dfe4ea; font-size: .9rem; font-weight: 500; white-space: nowrap; }
.cat-strip-link:hover{ color: var(--orange); }

/* ---------- Hero ---------- */
.hero-banner{
  background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy-light) 60%, #2b3b52 100%);
  color: #fff;
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-banner::after{
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,106,0,.18), transparent 45%);
}
.hero-banner .badge-trust{
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 30px; padding: .35rem .9rem; font-size: .8rem;
}
.gradient-text{
  background: linear-gradient(135deg, var(--orange), #ffd580);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-banner img{ border-radius: 16px; }

/* ---------- Section titles ---------- */
.section-title h2{ font-weight: 800; letter-spacing: -.5px; }
.section-title p{ color: var(--text-muted); }

/* ---------- Category cards (homepage) ---------- */
.category-card{
  background: #fff; border-radius: var(--radius); padding: 1.6rem 1.2rem;
  text-align: center; box-shadow: 0 2px 10px rgba(20,20,43,.06);
  border: 1px solid #eef0f3; height: 100%; transition: all .25s ease;
  display: block;
}
.category-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(20,20,43,.12);
  border-color: rgba(255,106,0,.3);
}
.category-card .icon-wrap{
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1rem;
  background: linear-gradient(135deg, rgba(255,106,0,.12), rgba(26,115,232,.1));
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--orange);
}
.category-card h5{ font-weight: 700; margin-bottom: .25rem; color: #1c2530; }
.category-card small{ color: var(--text-muted); }

@media (min-width: 992px){
  .cat-col{ flex: 0 0 20%; max-width: 20%; }
}

/* ---------- Product cards (Amazon/Flipkart grid style) ---------- */
.product-card{
  background: #fff; border-radius: var(--radius); border: 1px solid #eef0f3;
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease; position: relative;
}
.product-card:hover{ box-shadow: 0 14px 28px rgba(20,20,43,.12); transform: translateY(-4px); }

.product-card .badge-discount{
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--success); color: #fff; font-size: .72rem; font-weight: 700;
  padding: .3rem .55rem; border-radius: 6px;
}
.product-card .badge-featured{
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: var(--orange); color: #fff; font-size: .68rem; font-weight: 700;
  padding: .3rem .55rem; border-radius: 6px;
}
.product-card .img-wrap{
  background: #fafbfc; padding: 1.2rem; text-align: center; border-bottom: 1px solid #f1f2f4;
}
.product-card .img-wrap img{
  height: 190px; width: 100%; object-fit: contain; mix-blend-mode: multiply;
}
.product-card .body{ padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex-grow: 1; }
.product-card .cat-tag{ color: var(--blue); font-size: .72rem; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; }
.product-card h3{
  font-size: 1rem; font-weight: 700; color: #1c2530; margin: .3rem 0 .4rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.product-card .desc{ color: var(--text-muted); font-size: .84rem; margin-bottom: .7rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .price-row{ margin-top: auto; display: flex; align-items: baseline; gap: .5rem; margin-bottom: .8rem; }
.product-card .price{ font-size: 1.25rem; font-weight: 800; color: #1c2530; }
.product-card .mrp{ font-size: .85rem; color: var(--text-muted); text-decoration: line-through; }
.product-card .discount{ color: var(--success); font-size: .8rem; font-weight: 700; }
.product-card .stock-badge{ font-size: .74rem; font-weight: 600; }
.product-card .btn-order{
  background: var(--orange); border: none; color: #fff; font-weight: 700; border-radius: 8px;
  padding: .55rem 1rem;
}
.product-card .btn-order:hover{ background: var(--orange-dark); color: #fff; }
.product-card .btn-view{
  border: 1px solid #d7dbe0; color: #1c2530; border-radius: 8px; font-weight: 600; padding: .55rem 1rem;
}
.product-card .btn-view:hover{ background: #f2f3f5; }

/* ---------- Product detail page ---------- */
.product-gallery-main{
  background: #fff; border: 1px solid #eef0f3; border-radius: var(--radius);
  padding: 2rem; text-align: center;
}
.product-gallery-main img{ max-height: 420px; object-fit: contain; }
.breadcrumb-bar{ background: #fff; border-bottom: 1px solid #eef0f3; }
.keyword-pill{
  display: inline-block; background: #eef2ff; color: var(--blue); font-size: .78rem;
  padding: .3rem .7rem; border-radius: 20px; margin: 0 .35rem .35rem 0;
}
.spec-table td{ padding: .5rem .75rem; border-bottom: 1px solid #f1f2f4; font-size: .9rem; }
.spec-table td:first-child{ color: var(--text-muted); width: 35%; }

/* ---------- Testimonials / Trust strip ---------- */
.trust-strip{ background: #fff; border-top: 1px solid #eef0f3; border-bottom: 1px solid #eef0f3; }
.trust-item i{ font-size: 1.6rem; color: var(--orange); }

/* ---------- Footer ---------- */
.site-footer{ background: var(--navy-dark); }
.footer-links li{ margin-bottom: .55rem; }
.footer-links a{ color: #b7c0cc; font-size: .9rem; }
.footer-links a:hover{ color: var(--orange); }

/* ---------- Floating buttons ---------- */
.floating-buttons{
  position: fixed; bottom: 24px; right: 20px; z-index: 1040;
  display: flex; flex-direction: column; gap: 12px;
}
.fab-btn{
  width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem; box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: transform .2s ease;
}
.fab-btn:hover{ transform: scale(1.08); color: #fff; }
.fab-whatsapp{ background: #25D366; }
.fab-call{ background: var(--blue); }
.fab-top{ background: var(--navy-light); display: none; }

/* ---------- Buttons / misc ---------- */
.btn-brand{ background: var(--orange); border: none; color: #fff; font-weight: 700; }
.btn-brand:hover{ background: var(--orange-dark); color: #fff; }
.btn-outline-brand{ border: 1px solid var(--orange); color: var(--orange); font-weight: 600; }
.btn-outline-brand:hover{ background: var(--orange); color: #fff; }

.filter-chip{
  border: 1px solid #d7dbe0; border-radius: 20px; padding: .4rem .95rem; font-size: .85rem;
  color: #1c2530; background: #fff; margin: 0 .4rem .5rem 0; display: inline-block;
}
.filter-chip.active, .filter-chip:hover{ background: var(--navy-dark); color: #fff; border-color: var(--navy-dark); }

/* PWA install prompt banner */
#pwaInstallBanner{
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1050;
  background: #fff; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.2);
  padding: .9rem 1rem; display: none; align-items: center; gap: .8rem;
}

@media (max-width: 991px){
  .hero-banner{ padding: 40px 0 60px; text-align: center; }
}
