/* ==========================================================================
   প্রিমিয়াম লেয়ার — ফন্ট, অ্যানিমেশন, রিওয়ার্ড বক্স, লোকেশন ফর্ম
   বাংলা ফন্ট বদলাতে শুধু নিচের --bn লাইনটা বদলান।
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Noto+Serif+Bengali:wght@400;500;600&display=swap");

:root {
  --bn: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
  --bn-serif: "Noto Serif Bengali", "Hind Siliguri", serif;
  --font-sans: var(--bn);
  --font-serif: var(--bn-serif);
  --gold: #b8955a;
  --gold-soft: #e8d9b5;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* বাংলা লেখায় letter-spacing/uppercase/italic ভালো দেখায় না */
html body *:not(.brand-logo-main):not(.brand-logo-sub) {
  letter-spacing: normal !important;
  text-transform: none !important;
}
body { font-size: 15.5px; line-height: 1.7; }
h1, h2, h3, .section-title, .hero-title { font-family: var(--bn-serif); font-weight: 600; line-height: 1.3; }
.font-italic, em { font-style: normal; color: var(--gold); }
.hero-title em { color: var(--gold-soft); }
.eyebrow { font-weight: 500; font-size: 13px; color: var(--gold); }
.btn { font-weight: 600; font-size: 14.5px; }

/* ---------- ঘোষণা বার: চলমান লেখা (ডিসকাউন্ট নয়) ---------- */
.announcement-bar { overflow: hidden; padding: 0; display: flex; align-items: center; background: #0a0a0a; }
.marquee { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { padding: 0 28px; font-size: 13px; white-space: nowrap; position: relative; }
.marquee span::after { content: "✦"; position: absolute; right: -6px; color: var(--gold); font-size: 9px; top: 50%; transform: translateY(-50%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- স্ক্রল প্রগ্রেস ও লোড স্প্ল্যাশ ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--gold); z-index: 9999; }
.splash { position: fixed; inset: 0; background: #000; z-index: 10000; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; transition: opacity .6s var(--ease), visibility .6s; }
.splash.hide { opacity: 0; visibility: hidden; }
.splash b { color: #fff; font: 500 30px/1 "Cormorant Garamond", serif; letter-spacing: .3em !important; animation: splashIn 1s var(--ease) both; }
.splash small { color: var(--gold); font-size: 13px; animation: splashIn 1s .25s var(--ease) both; }
.splash i { display: block; width: 90px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); animation: splashLine 1.1s var(--ease) both; }
@keyframes splashIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes splashLine { from { transform: scaleX(0); } }

/* ---------- হিরো ---------- */
.hero-section { overflow: hidden; }
.hero-bg { animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hero-title { animation: heroUp 1.1s .2s var(--ease) both; }
.hero-subtitle { animation: heroUp 1.1s .45s var(--ease) both; }
.hero-actions { animation: heroUp 1.1s .7s var(--ease) both; }
@keyframes heroUp { from { opacity: 0; transform: translateY(28px); } }

/* ---------- স্ক্রলে ফুটে ওঠা ---------- */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }

/* ---------- বাটন শিমার ---------- */
.btn { position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.btn:active { transform: scale(.97); }
.btn-primary::after, .btn-white::after { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: shimmer 4.5s 1.5s infinite; }
.btn-white::after { background: linear-gradient(100deg, transparent, rgba(0,0,0,.08), transparent); }
@keyframes shimmer { 0% { left: -120%; } 35%, 100% { left: 160%; } }

/* ---------- প্রোডাক্ট কার্ড ---------- */
.product-card { transition: transform .5s var(--ease); }
.product-img-wrap { overflow: hidden; }
.product-img-wrap img { transition: transform 1.1s var(--ease); }
.product-card:hover .product-img-wrap img { transform: scale(1.07); }
.category-card, .collab-card { overflow: hidden; }
.category-card img, .collab-card img { transition: transform 1.2s var(--ease); }
.category-card:hover img, .collab-card:hover img { transform: scale(1.06); }
.color-swatch { transition: transform .25s var(--ease), box-shadow .25s; }
.color-swatch:hover { transform: scale(1.18); }
.badge-sale { background: var(--gold); color: #fff; }

/* ---------- ব্যাগ ব্যাজ পপ, ড্রয়ার ---------- */
.cart-badge { animation: pop .5s var(--ease); background: var(--gold); }
@keyframes pop { from { transform: scale(0); } 60% { transform: scale(1.3); } }
.rw-note { background: #faf5e9; border: 1px solid var(--gold-soft); color: #5b4521; font-size: 13px; padding: 9px 12px; margin-bottom: 12px; text-align: center; }
.off-pill { display: inline-block; font-size: 12px; font-weight: 600; background: #faf5e9; color: #8a6d3b; padding: 2px 8px; border-radius: 20px; vertical-align: middle; }
.shake { animation: shake .45s; }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
.pdp-dots { display: flex; gap: 6px; justify-content: center; padding: 10px 0 0; }
.pdp-dots span { width: 6px; height: 6px; border-radius: 50%; background: #ccc; transition: all .3s; }
.pdp-dots span.active { width: 18px; border-radius: 4px; background: #111; }

/* ---------- লোকেশন ও কুপন ফর্ম ---------- */
.loc-box { background: #fafafa; border: 1px solid #ececec; padding: 16px 14px 6px; margin-bottom: 16px; border-radius: 4px; }
.loc-note { font-size: 12.5px; color: #7a6a47; background: #faf5e9; padding: 8px 10px; margin: -4px 0 10px; line-height: 1.6; }
select.form-control:disabled { background: #f1f1f1; color: #999; }
.coupon-toggle { font-size: 13px; color: #555; text-decoration: underline; margin: 4px 0 10px; }
.coupon-wrap { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), margin .3s; }
.coupon-wrap.open { max-height: 120px; margin-bottom: 12px; }
.rw-card { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; border: 1px dashed var(--gold); background: #faf5e9; padding: 11px 13px; margin-bottom: 12px; font-size: 13.5px; color: #3d2f14; }
.rw-card small { display: block; color: #8a7448; font-size: 12px; }
.rw-card.on { border-style: solid; background: #f1f8f1; border-color: #9cc59c; color: #1b5e20; }
.rw-card.on small { color: #4c8a50; }
.rw-card.play { cursor: pointer; background: #111; color: #fff; border: 0; }
.rw-card.play small { color: var(--gold-soft); }
.rw-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; box-shadow: 0 0 0 0 rgba(184,149,90,.6); animation: ping 2s infinite; }
.rw-card.on .rw-dot { background: #2e7d32; animation: none; }
@keyframes ping { to { box-shadow: 0 0 0 9px rgba(184,149,90,0); } }

/* ---------- রিওয়ার্ড বক্স মডাল ---------- */
.rw-modal { position: fixed; inset: 0; z-index: 9000; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.rw-modal.open { opacity: 1; visibility: visible; }
.rw-box { position: relative; width: 100%; max-width: 400px; background: radial-gradient(120% 80% at 50% 0%, #1f1a10 0%, #0b0b0b 60%); color: #fff; border: 1px solid #2c2618; padding: 30px 22px 22px; text-align: center; transform: translateY(30px) scale(.96); transition: transform .6s var(--ease); overflow: hidden; }
.rw-modal.open .rw-box { transform: none; }
.rw-close { position: absolute; top: 8px; right: 14px; color: #aaa; font-size: 28px; line-height: 1; z-index: 2; }
.rw-eyebrow { color: var(--gold); font-size: 13px; }
.rw-title { font-size: 26px; margin: 6px 0 10px; }
.rw-title em { color: var(--gold-soft); }
.rw-sub { color: #bdb7a6; font-size: 13.5px; line-height: 1.7; margin: 0 auto 14px; max-width: 320px; }
.rw-chips { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.rw-chips span { border: 1px solid #3a3320; color: var(--gold-soft); font-size: 12px; padding: 3px 10px; border-radius: 20px; }
.rw-boxes { display: flex; gap: 14px; justify-content: center; margin-bottom: 14px; }
.rw-gift { position: relative; width: 82px; height: 92px; transition: transform .4s var(--ease), opacity .4s; }
.rw-gift:hover { transform: translateY(-5px); }
.rw-gift .rw-body { position: absolute; bottom: 0; left: 6px; right: 6px; height: 58px; background: linear-gradient(160deg, #3a3321, #17140c); border: 1px solid #5a4d2c; }
.rw-gift .rw-lid { position: absolute; top: 14px; left: 0; right: 0; height: 22px; background: linear-gradient(160deg, #4b412a, #221d11); border: 1px solid #6a5a33; z-index: 2; transform-origin: left bottom; transition: transform .6s var(--ease); }
.rw-gift .rw-ribbon { position: absolute; bottom: 0; left: 50%; width: 12px; height: 80px; margin-left: -6px; background: linear-gradient(var(--gold), #8a6d3b); z-index: 3; opacity: .95; }
.rw-gift .rw-num { position: absolute; bottom: -22px; left: 0; right: 0; font-size: 12px; color: #8d8672; }
.rw-gift.shake { animation: shake .45s .15s 2; }
.rw-gift.open .rw-lid { transform: translateY(-26px) rotate(-24deg); }
.rw-gift.open .rw-body { box-shadow: 0 -10px 30px rgba(212,178,106,.6); }
.rw-gift.dim { opacity: .25; pointer-events: none; }
.rw-skip { color: #8d8672; font-size: 13px; text-decoration: underline; margin-top: 22px; }
.rw-prize { margin: 14px auto 12px; width: 150px; height: 150px; border-radius: 50%; border: 1px solid var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle, #2b2413 0%, #0b0b0b 70%); animation: prizeIn .9s var(--ease) both, glow 2.4s 1s ease-in-out infinite; }
.rw-prize b { font-size: 44px; line-height: 1.1; color: var(--gold-soft); font-family: var(--bn-serif); }
.rw-prize span { font-size: 15px; color: #fff; }
@keyframes prizeIn { from { transform: scale(.3) rotate(-30deg); opacity: 0; } }
@keyframes glow { 50% { box-shadow: 0 0 36px rgba(212,178,106,.35); } }
.rw-go { margin-top: 6px; }
.rw-conf { position: absolute; top: 55%; width: 7px; height: 11px; opacity: 0; animation: conf 1.5s ease-out forwards; }
@keyframes conf { 0% { opacity: 1; transform: translate(0,0) rotate(0); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); } }

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

.hero-subtitle, .collab-title, .promo-banner-overlay p { font-style: normal !important; font-family: var(--bn); }
.toast { font-family: var(--bn); }
