/* ==========================================================
   nixbazar — সম্পূর্ণ স্টাইলশিট (কোনো বিল্ড টুল লাগবে না)
   ব্র্যান্ড কালার তিনটি অ্যাডমিন থেকে সেট হয় (--brand, --brand-2, --brand-3)
   ========================================================== */

:root {
  --brand: #e11d63;
  --brand-2: #f97316;
  --brand-3: #6d28d9;
  --brand-fg: #fffdfa;

  --bg: #fffcfa;
  --fg: #241a2e;
  --card: #ffffff;
  --muted: #f6f1f7;
  --muted-fg: #6c6079;
  --accent: #fdf0f5;
  --accent-fg: #63183a;
  --border: #ece5ee;
  --success: #17a35c;
  --warning: #f0a91e;
  --danger: #dc2626;

  --radius: 1rem;
  --gradient-brand: linear-gradient(120deg, var(--brand), var(--brand-2));
  --gradient-deep: linear-gradient(135deg, var(--brand-3), var(--brand));
  --gradient-soft: linear-gradient(180deg, color-mix(in srgb, var(--brand) 10%, transparent), color-mix(in srgb, var(--brand-2) 8%, transparent));
  --shadow-card: 0 4px 18px -6px rgba(70, 20, 90, 0.18);
  --shadow-float: 0 18px 40px -18px color-mix(in srgb, var(--brand) 45%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }
* { border-color: var(--border); }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Hind Siliguri", ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Baloo Da 2", "Hind Siliguri", sans-serif;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  line-height: 1.25;
}
h1 { font-size: 1.9rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 0.8em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main { flex: 1 1 auto; }

/* ---------- লেআউট ---------- */
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap-sm { max-width: 760px; }
.section { padding: 40px 0; }
.section-tight { padding: 24px 0; }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 10px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wrapflex { flex-wrap: wrap; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.stack > * + * { margin-top: 12px; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 6px; }
.mt-2 { margin-top: 12px; }
.mt-3 { margin-top: 20px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 12px; }
.hide-sm { display: none; }
.spacer { flex: 1 1 auto; }

/* ---------- টেক্সট ---------- */
.muted { color: var(--muted-fg); }
.small { font-size: 0.8rem; }
.tiny { font-size: 0.7rem; }
.bold { font-weight: 700; }
.text-gradient {
  background-image: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-title { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.section-title h2 { margin: 0; }
.section-title::before {
  content: "";
  width: 6px; height: 26px; border-radius: 99px;
  background-image: var(--gradient-brand);
}

/* ---------- Section Heading with Badge ---------- */
.section-heading { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.heading-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-family: "Baloo Da 2", sans-serif;
  font-size: 1rem; font-weight: 800;
  background-image: var(--gradient-brand);
  color: var(--brand-fg);
  box-shadow: var(--shadow-float);
}

/* ---------- Why Us Band (gradient bg) ---------- */
.why-us-band {
  background-image: var(--gradient-soft);
  border-radius: 22px;
  padding: 24px 16px;
  margin: 0 -16px;
}
.why-us-band .wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.why-us-band .grid { gap: 16px; }
.why-us-band .card { border-color: rgba(16,18,32,.08); box-shadow: 0 6px 22px rgba(16,18,32,.08); }
.why-us-band .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }

/* ---------- বাটন ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: inherit; font-size: 0.92rem; font-weight: 700;
  background: var(--muted); color: var(--fg);
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s, filter .25s, background .25s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-brand { background-image: var(--gradient-brand); color: var(--brand-fg); box-shadow: var(--shadow-float); }
.btn-brand:hover { filter: brightness(1.06); }
.btn-outline { background: transparent; border: 1.5px solid var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--accent); }
.btn-ghost { background: transparent; color: var(--fg); }
.btn-ghost:hover { background: var(--muted); }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-sm { padding: 7px 13px; font-size: 0.8rem; }
.btn-block { width: 100%; }
.btn-icon { padding: 9px; width: 40px; height: 40px; }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }

/* ---------- কার্ড / ব্যাজ ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.card-pad { padding: 16px; }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 999px;
  font-size: 0.66rem; font-weight: 800; line-height: 1.5;
  background: var(--muted); color: var(--muted-fg);
}
.badge-brand { background-image: var(--gradient-brand); color: var(--brand-fg); }
.badge-success { background: color-mix(in srgb, var(--success) 15%, white); color: var(--success); }
.badge-warning { background: color-mix(in srgb, var(--warning) 18%, white); color: #8a5a00; }
.badge-danger { background: color-mix(in srgb, var(--danger) 12%, white); color: var(--danger); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--border); background: var(--card);
  font-size: .84rem; font-weight: 700; transition: .2s;
}
.chip:hover { border-color: var(--brand); }
.chip.active { border-color: var(--brand); background: var(--accent); color: var(--accent-fg); }

/* ---------- ফর্ম ---------- */
label.field { display: block; margin-bottom: 12px; }
label.field > span { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 5px; }
.input, input[type="text"], input[type="tel"], input[type="email"], input[type="password"],
input[type="number"], input[type="date"], input[type="datetime-local"], input[type="url"], select, textarea {
  width: 100%; padding: 11px 13px; font-family: inherit; font-size: .95rem;
  color: var(--fg); background: var(--card);
  border: 1.5px solid var(--border); border-radius: 12px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, input:focus, select:focus, textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
textarea { min-height: 92px; resize: vertical; }
.input-error { border-color: var(--danger) !important; }
.err { color: var(--danger); font-size: .78rem; font-weight: 700; margin-top: 4px; }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; }
.check input { width: auto; }

/* ---------- অ্যালার্ট ---------- */
.alert { padding: 11px 14px; border-radius: 12px; font-size: .88rem; font-weight: 600; margin-bottom: 14px; }
.alert-ok { background: color-mix(in srgb, var(--success) 12%, white); color: #0d6b3c; }
.alert-err { background: color-mix(in srgb, var(--danger) 10%, white); color: #9b1c1c; }

/* ---------- হেডার ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--card) 95%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.ticker { overflow: hidden; background-image: var(--gradient-brand); background-size: 220% 220%; animation: nx-pan 9s ease-in-out infinite; }
.ticker-track { display: flex; width: max-content; animation: nx-marquee 26s linear infinite; }
.ticker-track span.grp { display: flex; flex-shrink: 0; gap: 32px; white-space: nowrap; padding: 5px 16px; color: var(--brand-fg); font-size: .68rem; font-weight: 700; }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 40px; height: 40px; object-fit: contain; }
.logo-name { display: block; font-family: "Baloo Da 2", sans-serif; font-size: 1.25rem; font-weight: 800; line-height: 1.1; }
.logo-tag { display: block; font-size: .66rem; font-weight: 600; color: var(--muted-fg); }
.nav-desktop { display: none; align-items: center; gap: 2px; }
.nav-desktop a { padding: 8px 14px; border-radius: 999px; font-size: .9rem; font-weight: 700; color: color-mix(in srgb, var(--fg) 82%, transparent); transition: .2s; }
.nav-desktop a:hover, .nav-desktop a.active { background: var(--accent); color: var(--accent-fg); }
.nav-mobile { display: none; border-top: 1px solid var(--border); background: var(--card); padding: 0 16px 14px; }
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); font-family: "Baloo Da 2", sans-serif; font-size: 1.05rem; font-weight: 700; }
.burger { display: inline-flex; }

/* ---------- ফুটার ---------- */
.site-footer { margin-top: 48px; background-image: var(--gradient-deep); color: var(--brand-fg); }
.footer-grid { display: grid; gap: 26px; padding: 40px 0; }
.site-footer h3 { font-size: 1.05rem; }
.site-footer ul { list-style: none; margin: 12px 0 0; padding: 0; }
.site-footer li { margin-bottom: 9px; font-size: .88rem; opacity: .92; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; background: var(--card); border-radius: 14px; padding: 8px 12px; }
.footer-grid .footer-logo img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 1; }
.footer-logo .logo-name { color: transparent; background-image: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; }
/* ---------- Footer Social Icons ---------- */
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.social-ic { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; background: rgba(255,255,255,.1); color: var(--brand-fg); transition: background .2s, transform .2s; }
.social-ic svg { width: 14px; height: 14px; }
.social-ic:hover { background: var(--brand); transform: translateY(-2px); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); padding: 14px 16px; text-align: center; font-size: .74rem; opacity: .85; }

/* ---------- WhatsApp ফ্লোটিং বাটন ---------- */
.wa-fab {
  position: fixed; right: 14px; bottom: 14px; z-index: 60;
  width: 44px; height: 44px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--success); color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
  transition: transform .25s;
}
.wa-fab:hover { transform: scale(1.12); }
.wa-fab::before {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  background: color-mix(in srgb, var(--success) 55%, transparent);
  animation: nx-ping 2.4s cubic-bezier(0,0,.2,1) infinite;
}
.wa-fab svg { position: relative; width: 21px; height: 21px; }
.wa-fab .wa-tip {
  position: absolute; right: 100%; margin-right: 8px; white-space: nowrap;
  background: var(--card); color: var(--fg); border-radius: 999px;
  padding: 5px 11px; font-size: .72rem; font-weight: 800;
  box-shadow: var(--shadow-card); opacity: 0; transition: opacity .3s; pointer-events: none;
}
.wa-fab:hover .wa-tip { opacity: 1; }

/* ---------- অ্যানিমেশন ---------- */
@keyframes nx-pan { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes nx-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes nx-ping { 75%, 100% { transform: scale(1.9); opacity: 0; } }
@keyframes nx-float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-.6deg); } }
@keyframes nx-blob {
  0% { transform: translate(0,0) scale(1); }
  33% { transform: translate(6%,-8%) scale(1.12); }
  66% { transform: translate(-7%,5%) scale(.94); }
  100% { transform: translate(0,0) scale(1); }
}
@keyframes nx-shine { 0% { transform: translateX(-120%) skewX(-18deg); } 100% { transform: translateX(320%) skewX(-18deg); } }
@keyframes nx-spin { to { transform: rotate(360deg); } }

.nx-float { animation: nx-float 7s ease-in-out infinite; }
.nx-shine { position: relative; overflow: hidden; }
.nx-shine::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: translateX(-120%) skewX(-18deg); pointer-events: none;
}
.nx-shine:hover::after { animation: nx-shine .9s ease-out; }
.nx-tilt { transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s; }
.nx-tilt:hover { transform: perspective(900px) rotateX(4deg) rotateY(-5deg) translateY(-8px) scale(1.015); box-shadow: var(--shadow-float); }

/* aurora ব্যাকড্রপ */
.nx-aurora { position: absolute; inset: -20%; pointer-events: none; overflow: hidden; z-index: 0; }
.nx-aurora i { position: absolute; display: block; border-radius: 999px; filter: blur(60px); opacity: .5; animation: nx-blob 18s ease-in-out infinite; }
.nx-aurora i:nth-child(1) { top: 4%; left: -6%; width: 46%; height: 46%; background: var(--brand); }
.nx-aurora i:nth-child(2) { top: 28%; right: -10%; width: 52%; height: 52%; background: var(--brand-2); animation-duration: 24s; animation-direction: reverse; }
.nx-aurora i:nth-child(3) { bottom: -12%; left: 26%; width: 40%; height: 40%; background: var(--brand-3); opacity: .3; animation-duration: 30s; }

/* স্ক্রল রিভিল */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1); will-change: opacity, transform; }
.reveal.shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- রেসপন্সিভ ---------- */
@media (min-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.75rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hide-sm { display: block; }
}
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .burger { display: none; }
  .nav-mobile { display: none !important; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .section { padding: 56px 0; }
}

/* ============================================================
   হোম পেজ / প্রোডাক্ট কার্ড / রিভিউ  (ফেজ ৩)
   ============================================================ */

/* ---------- হিরো ---------- */
.hero { position: relative; overflow: hidden; padding: 26px 0 34px; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 22px; align-items: center; }
.hero-copy h1 { margin: 10px 0 8px; line-height: 1.22; letter-spacing: -.4px; }
.hero-sub { color: var(--muted-fg, #55596b); max-width: 46ch; }
.hero-cta { margin-top: 16px; flex-wrap: wrap; }
.hero-art img { width: 100%; height: auto; border-radius: 26px; box-shadow: var(--shadow-float); }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.trust {
  font-size: .78rem; font-weight: 600; padding: 6px 11px; border-radius: 999px;
  background: color-mix(in oklab, var(--brand) 8%, #fff); border: 1px solid color-mix(in oklab, var(--brand) 18%, #fff);
}

/* ---------- ক্যাটাগরি স্ট্রিপ ---------- */
.cat-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip .chip { flex: 0 0 auto; }

/* ---------- প্রোডাক্ট গ্রিড ও কার্ড ---------- */
.pgrid { gap: 12px; }
.pcard {
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(16,18,32,.08);
  border-radius:18px;
  box-shadow:0 4px 16px rgba(16,18,32,.06);
  transition:.3s;
}

/* ---------- Section Heading Styles ---------- */
.section-heading { margin: 0; }
.heading-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  background-image: var(--gradient-brand);
  color: var(--brand-fg);
  box-shadow: var(--shadow-float);
}

/* ---------- Why Us Band ---------- */
.why-us-band {
  position: relative;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 5%, transparent), color-mix(in srgb, var(--brand-2) 4%, transparent));
  border-radius: 24px;
  padding: 16px 16px 8px;
  margin: 0 -16px;
  box-shadow: var(--shadow-card);
}
.why-us-band .card { background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border: 1px solid var(--border); }
.why-us-band .why-ic { font-size: 2rem; filter: drop-shadow(0 4px 8px rgba(0,0,0,.08)); }
.why-us-band .why h3 { color: var(--fg); }
@media (min-width: 640px) {
  .why-us-band { padding: 24px 28px 12px; margin: 0 -24px; }
}
@media (min-width: 900px) {
  .why-us-band { padding: 32px 40px 16px; margin: 0 -40px; border-radius: 32px; }
}
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid rgba(16,18,32,.08);
  border-radius: 18px; box-shadow:  4px 16px rgba(16,18,32,.06);
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s cubic-bezier(.16,1,.3,1);
}
.pcard:hover { transform: translateY(-5px); box-shadow:  18px 40px -12px rgba(16,18,32,.18); border-color: rgba(16,18,32,.14); }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 5; background: #f4f5f8; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-noimg { position: absolute; inset: 0; display: grid; place-items: center; font-size: .8rem; color: #9aa0b4; }
.pcard-tags { position: absolute; top: 7px; left: 7px; display: flex; flex-direction: column; gap: 4px; }
.ptag {
  font-size: .62rem; font-weight: 700; line-height: 1; padding: 4px 7px;
  border-radius: 999px; color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.16);
}
.ptag-new { background: var(--brand-3); }
.ptag-off { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.pcard-out { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(12,14,24,.55); }
.pcard-out span { background: #fff; color: #c81e3c; font-weight: 700; font-size: .8rem; padding: 6px 12px; border-radius: 999px; }
.pcard-body { display: flex; flex-direction: column; gap: 7px; padding: 11px 11px 12px; }
.pcard-title { font-size: .95rem; line-height: 1.35; margin: 0; }
.pcard-title a { color: inherit; }
.pcard-desc {
  margin: 0; font-size: .78rem; color: #6b7080;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.ssize { font-size: .65rem; font-weight: 600; padding: 3px 7px; border-radius: 6px; background: #f1f2f6; color: #4a4f60; }

/* ---------- প্রাইস ট্যাগ ---------- */
.ptag-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.ptag-price .pnow { font-weight: 800; font-size: 1.05rem; color: var(--brand); }
.ptag-price .pold { text-decoration: line-through; color: #9aa0b4; font-size: .82rem; font-weight: 600; }
.ptag-price .psave {
  font-size: .62rem; font-weight: 700; padding: 3px 7px; border-radius: 999px;
  background: color-mix(in oklab, #16a34a 12%, #fff); color: #15803d;
}
.ptag-price.is-big .pnow { font-size: 1.7rem; }
.ptag-price.is-big .pold { font-size: 1rem; }

/* ---------- অফার ব্যানার ---------- */
.offer-banner {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  padding: 18px; border-radius: 22px; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow-float);
}
.offer-title { margin: 8px 0 4px; font-size: 1.3rem; color: #fff; }
.offer-text { margin: 0; opacity: .95; font-size: .87rem; }
.cd { display: flex; gap: 7px; }
.cd-box {
  display: grid; place-items: center; min-width: 54px; padding: 7px 6px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); border-radius: 12px;
}
.cd-box b { font-size: 1.15rem; font-weight: 800; line-height: 1; }
.cd-box i { font-style: normal; font-size: .6rem; opacity: .9; margin-top: 3px; }

/* ---------- ভিডিও ---------- */
.video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #0d0f18; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- রিভিউ ---------- */
.rcard { display: flex; flex-direction: column; gap: 9px; }
.stars { letter-spacing: 2px; color: #d6d8e0; font-size: 1rem; }
.stars .on { color: #f59e0b; }
.rtext { margin: 0; font-size: .88rem; line-height: 1.65; }
.rimg { width: 100%; border-radius: 12px; object-fit: cover; max-height: 190px; }
.rwho { display: flex; align-items: center; gap: 9px; margin-top: auto; }
.rwho b { display: block; font-size: .85rem; }
.rwho i { display: block; }
.ravatar {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px;
  color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

/* ---------- কেন আমরা / CTA ---------- */
.why { text-align: center; }
.why-ic { font-size: 1.7rem; }
.why h3 { margin: 8px 0 4px; font-size: 1rem; }
.cta-band {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  padding: 22px; border-radius: 22px; color: #fff;
  background: linear-gradient(135deg, var(--brand-3), var(--brand));
}
.cta-band h2 { color: #fff; margin: 0 0 4px; font-size: 1.25rem; }
.cta-band p { margin: 0; opacity: .92; font-size: .88rem; }
.cta-band .btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }

@media (min-width: 640px) {
  .pgrid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
  .pcard-title { font-size: 1rem; }
}
@media (min-width: 900px) {
  .hero { padding: 46px 0 56px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 34px; }
  .pgrid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .offer-banner, .cta-band { padding: 26px 30px; }
}

/* ============================================================
   প্রোডাক্ট লিস্ট / ডিটেইল / অর্ডার ফর্ম  (ফেজ ৪-৫)
   ============================================================ */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .78rem; color: #6b7080; margin-bottom: 12px; }
.crumbs a { color: var(--brand); }
.crumbs b { color: #2a2d3a; font-weight: 600; }

.search-bar { display: flex; gap: 8px; margin-top: 6px; }
.search-bar .input { flex: 1; }

/* ---------- গ্যালারি ---------- */
.gallery { display: grid; gap: 9px; }
.gal-main { position: relative; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; background: #f4f5f8; box-shadow: 0 6px 22px rgba(16,18,32,.08); }
.gal-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; display: block; }
.gal-zoom {
  position: absolute; right: 10px; bottom: 10px; border: 0; cursor: pointer;
  width: 36px; height: 36px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: .95rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.16);
}
.gal-thumbs { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
.gal-thumbs::-webkit-scrollbar { display: none; }
.gal-thumb {
  flex: 0 0 62px; width: 62px; height: 62px; padding: 0; cursor: pointer; overflow: hidden;
  border-radius: 12px; border: 2px solid rgba(16,18,32,.1); background: #f4f5f8;
}
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal-thumb.active { border-color: var(--brand); }

.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 18px; background: rgba(8,9,16,.88); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 14px; }
.lb-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 999px; background: #fff; font-size: 1rem; cursor: pointer; }

/* ---------- ডিটেইল ---------- */
.pd-grid { display: grid; gap: 20px; }
.pd-info h1 { margin: 8px 0 6px; font-size: 1.45rem; line-height: 1.3; }

/* ---------- ট্যাব ---------- */
.tabs { overflow: hidden; }
.tab-head { display: flex; gap: 2px; overflow-x: auto; border-bottom: 1px solid rgba(16,18,32,.08); background: #fafafc; }
.tab-btn {
  flex: 0 0 auto; border: 0; background: transparent; cursor: pointer; padding: 13px 16px;
  font: inherit; font-weight: 600; font-size: .87rem; color: #6b7080; border-bottom: 3px solid transparent;
}
.tab-btn.active { color: var(--brand); border-bottom-color: var(--brand); background: #fff; }
.tab-pane { display: none; padding: 16px; }
.tab-pane.active { display: block; }
.prose { font-size: .92rem; line-height: 1.8; }
.faq { border-bottom: 1px solid rgba(16,18,32,.08); padding: 11px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: .9rem; }
.faq p { margin: 8px 0 0; font-size: .87rem; color: #5b6070; line-height: 1.7; }
.tick { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 9px; }
.tick li { position: relative; padding-left: 25px; font-size: .88rem; line-height: 1.65; }
.tick li::before { content: "✔"; position: absolute; left: 0; top: 0; color: #16a34a; font-weight: 700; }

/* ---------- অর্ডার ফর্ম ---------- */
.order-card { overflow: hidden; }
.order-head { padding: 16px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.order-head h2 { margin: 0; color: #fff; font-size: 1.15rem; }
.order-head p { margin: 5px 0 0; opacity: .95; }
.order-body { padding: 16px; display: grid; gap: 14px; }
.order-sum-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.lbl { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; }
.req { color: #dc2626; }
.mt-1 { margin-top: 6px; }

.size-row, .pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.size-opt input, .pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.size-opt span {
  display: inline-block; padding: 9px 14px; border-radius: 11px; cursor: pointer;
  border: 2px solid rgba(16,18,32,.12); font-size: .84rem; font-weight: 600; background: #fff;
}
.size-opt input:checked + span { border-color: var(--brand); background: color-mix(in oklab, var(--brand) 8%, #fff); color: var(--brand); }
.pay-opt { flex: 1 1 160px; }
.pay-opt span {
  display: block; padding: 11px 13px; border-radius: 13px; cursor: pointer;
  border: 2px solid rgba(16,18,32,.12); background: #fff;
}
.pay-opt b { display: block; font-size: .87rem; }
.pay-opt i { display: block; font-style: normal; font-size: .72rem; color: #6b7080; margin-top: 2px; }
.pay-opt input:checked + span { border-color: var(--brand); background: color-mix(in oklab, var(--brand) 7%, #fff); }

.qty { display: flex; align-items: center; gap: 8px; }
.qty button {
  width: 38px; height: 38px; border-radius: 11px; cursor: pointer; font-size: 1.15rem; font-weight: 700;
  border: 1px solid rgba(16,18,32,.14); background: #fff;
}
.qty input { width: 68px; text-align: center; }

.sum-box { border: 1px dashed rgba(16,18,32,.18); border-radius: 14px; padding: 13px; display: grid; gap: 8px; font-size: .88rem; background: #fafafc; }
.sum-total { padding-top: 8px; border-top: 1px solid rgba(16,18,32,.12); font-size: 1rem; }
.sum-total b { color: var(--brand); font-size: 1.15rem; }
.center-trust { justify-content: center; }

/* ---------- অর্ডার কনফার্মড ---------- */
.oc-hero { border-top: 4px solid #16a34a; }
.oc-tick {
  display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 10px;
  border-radius: 999px; color: #fff; font-size: 1.9rem; background: linear-gradient(135deg, #16a34a, #4ade80);
  box-shadow: 0 8px 22px rgba(22,163,74,.32);
}
.oc-no { font-size: 1.9rem; font-weight: 800; color: var(--brand); letter-spacing: .5px; }
.oc-h2 { font-size: 1.05rem; margin: 0 0 12px; }
.oc-rows { display: grid; gap: 9px; font-size: .88rem; }
.oc-addr { max-width: 62%; text-align: right; font-weight: 600; }

.tracker { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tracker li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; font-size: .88rem; }
.tracker li span {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px;
  background: #eef0f5; color: #7a8095; font-weight: 700;
}
.tracker li.done span { background: #16a34a; color: #fff; }
.tracker li.active span { background: var(--brand); color: #fff; box-shadow: 0 0 0 5px color-mix(in oklab, var(--brand) 18%, #fff); }
.tracker li i { font-style: normal; font-size: .74rem; color: #7a8095; }

@media (min-width: 900px) {
  .pd-grid { grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
  .pd-info h1 { font-size: 1.9rem; }
  .order-body { padding: 22px; }
}


/* ===== NIXBAZAR RESPONSIVE FIX ===== */

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

.hero-art{
 max-width:100%;
 overflow:hidden;
}

.hero-art img{
 width:100%;
 height:auto;
 object-fit:cover;
}

@media(max-width:639px){

.hero-copy h1{
 font-size:1.8rem;
 line-height:1.25;
}

.hero-cta .btn{
 width:100%;
}

.trust-row{
 display:grid;
 grid-template-columns:1fr;
}

.grid-2,
.pgrid{
 grid-template-columns:1fr !important;
}

.pcard{
 width:100%;
}

}

@media(min-width:640px){

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

}


/* ===== FINAL HOMEPAGE LAYOUT FIX ===== */

.products-section,
.product-section,
.pgrid-wrap,
.pgrid,
.grid-2 {
    height:auto !important;
    min-height:0 !important;
}

.pgrid,
.grid-2 {
    display:grid !important;
    gap:20px !important;
    align-items:start !important;
}

.pgrid {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
}

.pcard {
    position:relative !important;
    height:auto !important;
    margin:0 !important;
}

.section-heading {
    margin-bottom:25px !important;
}

.product-section {
    padding-top:40px !important;
    padding-bottom:40px !important;
}

@media(max-width:1024px){
 .pgrid {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
 }
}

@media(max-width:768px){
 .pgrid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
 }
}

@media(max-width:480px){
 .pgrid {
    grid-template-columns:1fr !important;
 }
}


/* ===== NIXBAZAR HOMEPAGE FINAL FIX ===== */

.products-section,
.product-section,
.pgrid-wrap,
.pgrid,
.grid-2 {
    height:auto !important;
    min-height:0 !important;
}

.pgrid,
.grid-2 {
    display:grid !important;
    gap:20px !important;
    align-items:start !important;
}

.pgrid {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
}

.pcard {
    position:relative !important;
    height:auto !important;
    margin:0 !important;
}

.section-heading {
    margin-bottom:25px !important;
}

.product-section {
    padding-top:40px !important;
    padding-bottom:40px !important;
}

.hero-grid {
    height:auto !important;
    min-height:0 !important;
}

@media(max-width:1024px){
.pgrid {
grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}
}

@media(max-width:768px){
.pgrid {
grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
}

@media(max-width:480px){
.pgrid {
grid-template-columns:1fr !important;
}
}


/* ===== EMERGENCY HOMEPAGE VISIBILITY FIX ===== */

main,
section,
.container,
.hero,
.hero-grid,
.products-section,
.product-section,
.pgrid-wrap {
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    height:auto !important;
    min-height:0 !important;
    overflow:visible !important;
}

.pgrid,
.grid-2 {
    display:grid !important;
}

footer {
    position:relative !important;
    margin-top:40px !important;
}

body {
    overflow-x:hidden !important;
}

