/* ==========================================================================
   Falak Diaper — Storefront stylesheet
   A "nursery textile" identity: warm ivory canvas, dusty rose + sage accents,
   deep plum type, soft scalloped dividers, gentle parallax — built for a
   baby-care brand, not a marketplace.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  /* Palette */
  --ivory: #FBF6EF;
  --ivory-deep: #F4EAdd;
  --ivory-deep2: #F1E5D6;
  --white: #FFFFFF;
  --rose: #E2949B;
  --rose-dark: #C97680;
  --rose-tint: #FBEAEC;
  --sage: #8FA687;
  --sage-dark: #6F8A67;
  --sage-tint: #EAF1E6;
  --gold: #E8B75E;
  --gold-dark: #CE9A3B;
  --plum: #3A2C35;
  --plum-soft: #6B5763;
  --text-muted: #8D7C86;
  --line: #EBDFD0;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 10px 30px rgba(58,44,53,.08);
  --shadow-lift: 0 20px 45px rgba(58,44,53,.14);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

body{
  background: var(--ivory);
  color: var(--plum);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.logo-img {
  height: 90px; /* Adjust the height as needed */
}


h1, h2, h3, h4, .font-display{ font-family: var(--font-display); letter-spacing: -.01em; }
a{ text-decoration: none; }
::selection{ background: var(--rose); color: #fff; }

/* ---------- Topbar ---------- */
.topbar{
  background: var(--plum);
  color: #E7D9E0;
  border-bottom: 1px solid #4a3a44;
}
.topbar a{ color: #E7D9E0; }
.topbar a:hover{ color: var(--gold); }

/* ---------- Header / navbar (light, boutique-style) ---------- */
.main-header{ background: rgba(251,246,239,.92); backdrop-filter: blur(10px); z-index: 1030; border-bottom: 1px solid var(--line); transition: box-shadow .3s ease; }
.main-header.scrolled{ box-shadow: 0 6px 24px rgba(58,44,53,.08); }
.main-header .navbar{ background: transparent; padding: .85rem 0; }

.logo-badge{
  width: 46px; height: 46px; border-radius: 50% 50% 50% 4px;
  background: linear-gradient(140deg, var(--rose), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(226,148,155,.4);
}
.brand-text strong{ color: var(--plum); font-size: 1.2rem; line-height: 1.1; font-family: var(--font-display); font-weight: 600; }
.brand-text small{ color: var(--text-muted); font-size: .7rem; letter-spacing: .03em; }

.search-form{ max-width: 620px; }
.search-form input{
  border-radius: 30px 0 0 30px; border: 1px solid var(--line); background: var(--white);
  padding: .6rem 1.2rem; font-size: .92rem;
}
.search-form input:focus{ box-shadow: none; border-color: var(--rose); }
.search-form .btn{
  background: var(--rose); color: #fff; border-radius: 0 30px 30px 0; border: none; padding: 0 1.3rem;
}
.search-form .btn:hover{ background: var(--rose-dark); }

.main-header .nav-link{ color: var(--plum-soft); font-weight: 600; font-size: .93rem; }
.main-header .nav-link:hover{ color: var(--rose-dark); }
.main-header .dropdown-menu{ border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-lift); padding: .6rem; }
.main-header .dropdown-item{ border-radius: 8px; padding: .55rem .8rem; font-size: .9rem; }
.main-header .dropdown-item:hover{ background: var(--rose-tint); }
.main-header .btn-outline-light{ border-color: var(--rose); color: var(--rose-dark); }
.main-header .btn-outline-light:hover{ background: var(--rose); color: #fff; }
.main-header .navbar-toggler{ border-color: var(--line); }

.category-strip{ background: var(--ivory-deep); border-top: 1px solid var(--line); }
.cat-strip-link{ color: var(--plum-soft); font-size: .87rem; font-weight: 600; white-space: nowrap; }
.cat-strip-link:hover{ color: var(--rose-dark); }

/* ---------- Scalloped section divider (signature motif) ---------- */
.scallop-divider{
  width: 100%; height: 22px; display: block;
  background-repeat: repeat-x; background-size: 34px 22px; background-position: center;
}
.scallop-divider.to-ivory-deep{ background-image: radial-gradient(circle at 50% 0, var(--ivory-deep) 0 11px, transparent 11.5px); background-color: var(--ivory); }
.scallop-divider.to-ivory{ background-image: radial-gradient(circle at 50% 0, var(--ivory) 0 11px, transparent 11.5px); background-color: var(--ivory-deep); }
.scallop-divider.to-plum{ background-image: radial-gradient(circle at 50% 0, var(--plum) 0 11px, transparent 11.5px); background-color: var(--ivory-deep); }

/* ---------- Hero (parallax) ---------- */
.hero-banner{
  position: relative; overflow: hidden;
  padding: 100px 0 80px;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-deep) 100%);
}
.hero-blob{ position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; will-change: transform; }
.hero-blob-1{ width: 340px; height: 340px; top: -80px; left: -100px; background: radial-gradient(circle at 30% 30%, var(--rose-tint), var(--rose) 120%); opacity: .5; }
.hero-blob-2{ width: 260px; height: 260px; bottom: -60px; right: 4%; background: radial-gradient(circle at 30% 30%, var(--sage-tint), var(--sage) 120%); opacity: .45; }
.hero-blob-3{ width: 140px; height: 140px; top: 30%; right: 20%; background: radial-gradient(circle at 30% 30%, #fff, var(--gold) 120%); opacity: .4; }
.hero-eyebrow{
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--white); border: 1px solid var(--line); color: var(--rose-dark);
  border-radius: 30px; padding: .45rem 1rem; font-size: .8rem; font-weight: 600; box-shadow: var(--shadow-soft);
}
.hero-banner h1{
  font-size: clamp(2.3rem, 4.5vw, 3.6rem); font-weight: 600; color: var(--plum); line-height: 1.12;
}
.hero-banner h1 em{ font-style: italic; color: var(--rose-dark); }
.hero-banner .lead{ color: var(--plum-soft); font-size: 1.12rem; font-family: var(--font-body); max-width: 480px; }

.hero-image-wrap{ position: relative; }
.hero-image-frame{
  position: relative; border-radius: 40% 60% 55% 45% / 55% 45% 55% 45%;
  overflow: hidden; box-shadow: var(--shadow-lift); animation: floaty 6s ease-in-out infinite;
  border: 6px solid var(--white);
}
.hero-image-frame img{ width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes floaty{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-14px); } }

.hero-badge-float{
  position: absolute; background: var(--white); border-radius: 16px; box-shadow: var(--shadow-lift);
  padding: .9rem 1.1rem; display: flex; align-items: center; gap: .7rem; animation: floaty 5s ease-in-out infinite;
}
.hero-badge-float.b1{ top: 8%; left: -8%; animation-delay: .3s; }
.hero-badge-float.b2{ bottom: 6%; right: -6%; animation-delay: 1s; }
.hero-badge-float .icon-circle{ width: 42px; height: 42px; border-radius: 50%; display: flex; align-items:center; justify-content:center; font-size: 1.1rem; color: #fff; flex-shrink:0; }

/* ---------- Section titles ---------- */
.section-eyebrow{
  display: inline-block; color: var(--rose-dark); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; font-size: .78rem; margin-bottom: .5rem;
}
.section-title h2{ font-weight: 600; color: var(--plum); font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-title p{ color: var(--text-muted); font-size: 1rem; }

/* ---------- Icon circle (generic, reused across hero badges / trust strip / category headings) ---------- */
.icon-circle{
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}

/* ---------- Trust strip ---------- */
.trust-strip{ background: var(--ivory-deep); }
.trust-item{ display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.trust-item .icon-circle{ width: 56px; height: 56px; font-size: 1.3rem; }
.trust-item small{ color: var(--plum-soft); font-weight: 600; }

/* ---------- Category cards ---------- */
.category-card{
  background: var(--white); border-radius: var(--radius); padding: 1.8rem 1.2rem;
  text-align: center; box-shadow: var(--shadow-soft);
  border: 1px solid var(--line); height: 100%; transition: all .3s ease; display: block;
}
.category-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: var(--rose); }
.icon-wrap{
  border-radius: 50% 50% 50% 6px; display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.category-card .icon-wrap{
  width: 68px; height: 68px; margin: 0 auto 1rem; font-size: 1.7rem;
}
.category-card h5{ font-weight: 600; margin-bottom: .25rem; color: var(--plum); font-family: var(--font-display); font-size: 1.1rem; }
.category-card small{ color: var(--text-muted); }
@media (min-width: 992px){ .cat-col{ flex: 0 0 20%; max-width: 20%; } }

/* Rotate accent colors across category icon-wraps */
.cat-col:nth-child(5n+1) .icon-wrap{ background: linear-gradient(140deg, var(--rose), var(--rose-dark)); }
.cat-col:nth-child(5n+2) .icon-wrap{ background: linear-gradient(140deg, var(--sage), var(--sage-dark)); }
.cat-col:nth-child(5n+3) .icon-wrap{ background: linear-gradient(140deg, var(--gold), var(--gold-dark)); }
.cat-col:nth-child(5n+4) .icon-wrap{ background: linear-gradient(140deg, #B79FD1, #8C6FB3); }
.cat-col:nth-child(5n+5) .icon-wrap{ background: linear-gradient(140deg, #7FB8C4, #4F97A6); }

/* ---------- Product cards ---------- */
.product-card{
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease; position: relative;
}
.product-card:hover{ box-shadow: var(--shadow-lift); transform: translateY(-6px); }
.product-card .badge-discount{
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--sage-dark); color: #fff; font-size: .7rem; font-weight: 700;
  padding: .32rem .6rem; border-radius: 20px;
}
.product-card .badge-featured{
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: var(--gold); color: var(--plum); font-size: .68rem; font-weight: 700;
  padding: .32rem .6rem; border-radius: 20px;
}
.product-card .img-wrap{ background: var(--ivory); padding: 1.3rem; text-align: center; border-bottom: 1px solid var(--line); }
.product-card .img-wrap img{ 
    /*height: 190px; */
    width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-card .body{ padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex-grow: 1; }
.product-card .cat-tag{ color: var(--sage-dark); font-size: .7rem; text-transform: uppercase; font-weight: 700; letter-spacing: .05em; }
.product-card h3{
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--plum); margin: .35rem 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: .8rem;
  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: .9rem; }
.product-card .price{ font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--plum); }
.product-card .mrp{ font-size: .85rem; color: var(--text-muted); text-decoration: line-through; }
.product-card .discount{ color: var(--sage-dark); font-size: .8rem; font-weight: 700; }
.product-card .btn-order{ background: var(--rose); border: none; color: #fff; font-weight: 700; border-radius: 30px; padding: .58rem 1rem; }
.product-card .btn-order:hover{ background: var(--rose-dark); color: #fff; }
.product-card .btn-view{ border: 1px solid var(--line); color: var(--plum); border-radius: 30px; font-weight: 600; padding: .58rem 1rem; }
.product-card .btn-view:hover{ background: var(--ivory-deep); }

/* ---------- Product detail page ---------- */
.product-gallery-main{ background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; text-align: center; }
.product-gallery-main img{ max-height: 420px; object-fit: contain; }
.breadcrumb-bar{ background: var(--ivory-deep); border-bottom: 1px solid var(--line); }
.breadcrumb-bar .breadcrumb-item a{ color: var(--plum-soft); }
.breadcrumb-bar .breadcrumb-item.active{ color: var(--text-muted); }
.keyword-pill{ display: inline-block; background: var(--sage-tint); color: var(--sage-dark); font-size: .78rem; padding: .35rem .8rem; border-radius: 20px; margin: 0 .35rem .35rem 0; font-weight: 600; }
.spec-table td{ padding: .55rem .75rem; border-bottom: 1px solid var(--line); font-size: .9rem; }
.spec-table td:first-child{ color: var(--text-muted); width: 35%; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--plum); position: relative; }
.footer-links li{ margin-bottom: .55rem; color: #C9B7C1; font-size: .9rem; }
.footer-links a{ color: #C9B7C1; font-size: .9rem; }
.footer-links a:hover{ color: var(--gold); }
.site-footer .logo-badge{ box-shadow: none; }

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

/* ---------- Buttons ---------- */
.btn-brand{ background: var(--rose); border: none; color: #fff; font-weight: 700; border-radius: 30px; }
.btn-brand:hover{ background: var(--rose-dark); color: #fff; }
.btn-outline-brand{ border: 1.5px solid var(--rose); color: var(--rose-dark); font-weight: 600; border-radius: 30px; background: transparent; }
.btn-outline-brand:hover{ background: var(--rose); color: #fff; }
.btn-outline-light{ border-radius: 30px; }

/* PWA install prompt banner */
#pwaInstallBanner{
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1050;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lift);
  padding: 1rem 1.1rem; display: none; align-items: center; gap: .9rem; border: 1px solid var(--line);
}

/* ---------- Contact section ---------- */
#contact{ background: var(--ivory-deep); }
#contact .form-control{ border-radius: var(--radius-sm); border: 1px solid var(--line); padding: .7rem 1rem; }
#contact .form-control:focus{ border-color: var(--rose); box-shadow: none; }
#contact form{ border-radius: var(--radius); }

@media (max-width: 991px){
  .hero-banner{ padding: 50px 0 60px; text-align: center; }
  .hero-banner .lead{ margin-left: auto; margin-right: auto; }
  .hero-badge-float{ display: none; }
}
