/* THEME: Sylheti Cha — SylhetiCha প্রজেক্টের sylheticha.css থেকে ডেরাইভ (shop.css এর পরে লোড হয়) */
/* Sylheti Cha — layered on Bootstrap 5.3 */
:root {
  --leaf: #1F3D2B; --leaf-soft: #3E6B4F; --gold: #C9A45C; --cream: #F7F1E6;
  --liquor: #8B3A1E; --ink: #1A1A1A; --white-soft: #FCFAF5;
  --radius: 12px; --shadow: 0 8px 24px rgba(31,61,43,.10);
  --font-head: "Noto Serif Bengali", "Cormorant Garamond", Georgia, serif;
  --font-body: "Hind Siliguri", "Inter", system-ui, sans-serif;
  --bs-body-font-family: var(--font-body); --bs-body-color: var(--ink); --bs-body-bg: var(--cream);
  --bs-body-line-height: 1.7;
}
body.theme-sylheticha { font-family: var(--font-body); padding-bottom: 0; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; color: var(--leaf); line-height: 1.3; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
a { color: var(--leaf-soft); }
.narrow { max-width: 760px; }
.rounded-card { border-radius: var(--radius); }
.shadow-soft { box-shadow: var(--shadow); } 
.text-gold { color: var(--gold); }
.text-cream { color: var(--cream) !important; }
.eyebrow { color: var(--liquor); font-weight: 500; letter-spacing: .04em; margin-bottom: .25rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.skip-link { position: absolute; z-index: 2000; background: var(--leaf); color: #fff; padding: .5rem 1rem; }

/* Sections */
.section { padding: clamp(3rem, 8vw, 6rem) 0; }
.bg-white-soft { background: var(--white-soft); }
.section-contour {
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='200' fill='none' stroke='%231F3D2B' stroke-opacity='.05'%3E%3Cpath d='M-10 150C60 90 120 170 200 110S340 60 410 120'/%3E%3Cpath d='M-10 120C60 60 120 140 200 80S340 30 410 90'/%3E%3Cpath d='M-10 180C60 120 120 200 200 140S340 90 410 150'/%3E%3C/svg%3E");
}
.divider { color: var(--gold); display: flex; align-items: center; gap: 1rem; margin: 1rem 0 1.5rem; }
.divider::after { content: ""; height: 1px; width: 64px; background: var(--gold); }
.text-center .divider { justify-content: center; }
.text-center .divider::before { content: ""; height: 1px; width: 64px; background: var(--gold); }

/* Buttons */
.btn { border-radius: var(--radius); font-weight: 500; }
.btn-leaf { background: var(--leaf); color: #fff; border: 1px solid var(--leaf); }
.btn-leaf:hover, .btn-leaf:focus { background: var(--leaf-soft); border-color: var(--leaf-soft); color: #fff; }
.btn-outline-leaf { color: var(--leaf); border: 1px solid var(--leaf); }
.btn-outline-leaf:hover { background: var(--leaf); color: #fff; }
.btn-gold { background: var(--gold); border: 1px solid var(--gold); color: var(--ink); }
.btn-gold:hover { background: #d8b874; color: var(--ink); }
.btn-outline-cream { color: var(--cream); border: 1px solid var(--cream); }
.btn-outline-cream:hover { background: var(--cream); color: var(--leaf); }
.link-leaf { color: var(--leaf); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold); }

/* Header */
.site-header { background: rgba(247,241,230,.96); backdrop-filter: blur(6px); box-shadow: 0 1px 0 rgba(31,61,43,.08); z-index: 1030; }
.navbar-brand { display: flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 600; color: var(--leaf); }
.brand-mark { color: var(--gold); display: inline-flex; }
.nav-link { color: var(--ink); font-weight: 500; }
.nav-link:hover { color: var(--leaf-soft); }
.lang-toggle a { text-decoration: none; color: var(--ink); padding: 0 .25rem; }
.lang-toggle a.active { color: var(--leaf); font-weight: 500; border-bottom: 2px solid var(--gold); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--leaf); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: var(--liquor); color: #fff; font-size: .7rem; line-height: 18px; text-align: center; }

/* Hero */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; color: var(--cream); overflow: hidden; background: var(--leaf); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,40,28,.85) 0%, rgba(20,40,28,.55) 55%, rgba(20,40,28,.15) 100%); }
.hero-copy { padding: 4rem 0; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5.5vw, 3.6rem); }
.hero .lead { color: var(--cream); margin: 1rem 0 1.75rem; }
.trust-line { font-size: .95rem; }
.trust-line li { margin-right: 1rem; }
.steam { display: flex; gap: 10px; height: 44px; margin-bottom: .5rem; }
.steam span { width: 6px; height: 40px; border-radius: 6px; background: linear-gradient(to top, rgba(255,255,255,.5), transparent); filter: blur(3px); animation: steam 3.5s ease-in-out infinite; opacity: 0; }
.steam span:nth-child(2) { animation-delay: .8s; } .steam span:nth-child(3) { animation-delay: 1.6s; }
@keyframes steam { 0% { transform: translateY(12px) scaleX(1); opacity: 0; } 40% { opacity: .8; } 100% { transform: translateY(-14px) scaleX(2); opacity: 0; } }

/* Trust bar */
.trust-bar { background: var(--white-soft); padding: 2rem 0; border-bottom: 1px solid rgba(201,164,92,.35); }
.trust-icon { color: var(--gold); }
.trust-bar p { font-weight: 500; color: var(--leaf); font-size: .95rem; }

/* Moments */
.moment-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; height: 100%; }
.moment-img { overflow: hidden; aspect-ratio: 4 / 5; background: var(--leaf-soft); }
.moment-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.moment-card:hover .moment-img img { transform: scale(1.06); }
.moment-body { padding: 1rem 1.1rem 1.25rem; }
.moment-body h3 { font-size: 1.15rem; margin: .25rem 0; }
.moment-body p { margin: 0; font-size: .95rem; }

/* Products */
.product-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s; }
.product-card:hover { transform: translateY(-4px); }
.product-card .img-wrap img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--cream); }
.product-body { padding: 1.1rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.15rem; }
.product-body .origin { color: var(--liquor); font-size: .9rem; margin-bottom: .25rem; }
.product-body .note { font-size: .95rem; }
.product-body .price { font-size: 1.15rem; color: var(--leaf); margin-bottom: 1rem; }
.product-body .price small { color: #555; }

/* Timeline: vertical on mobile, horizontal on lg */
.timeline { position: relative; display: grid; gap: 2rem; padding-left: 0; }
.timeline-step { position: relative; padding-left: 4rem; }
.timeline-step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: -2rem; width: 1px; background: var(--gold); }
.timeline-step:last-child::before { display: none; }
.timeline-dot { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); background: var(--cream); color: var(--leaf); display: grid; place-items: center; font-weight: 500; }
.timeline-step h3 { font-size: 1.2rem; margin-bottom: .25rem; }
@media (min-width: 992px) {
  .timeline { grid-template-columns: repeat(4, 1fr); text-align: center; }
  .timeline-step { padding: 4rem 1rem 0; }
  .timeline-dot { left: 50%; transform: translateX(-50%); }
  .timeline-step::before { left: 50%; right: -50%; top: 22px; bottom: auto; width: auto; height: 1px; }
}

/* Gift */
.gift-section { background: var(--leaf); color: var(--cream); }
.gift-section h2 { color: var(--cream); }

/* Reviews (scroll-snap on mobile) */
.review-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.review-card { flex: 0 0 85%; scroll-snap-align: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; margin: 0; }
@media (min-width: 768px) { .review-card { flex: 1 0 0; } }

/* Blog */
.blog-card { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.blog-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.blog-card h3 { font-size: 1.15rem; }
.blog-card h3 a { color: var(--leaf); text-decoration: none; }

/* FAQ */
.faq .accordion-item { border: 0; border-bottom: 1px solid rgba(201,164,92,.5); background: transparent; }
.faq .accordion-button { background: transparent; color: var(--leaf); font-weight: 500; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { background: rgba(201,164,92,.12); color: var(--leaf); }

/* Newsletter */
.newsletter { background: var(--leaf-soft); color: var(--cream); }
.newsletter h2 { color: #fff; }

/* Footer */
.site-footer { background: #142A1E; color: #E6DFD0; padding: 4rem 0 6rem; }
.site-footer h3 { color: var(--gold); font-size: 1.05rem; }
.site-footer a { color: #E6DFD0; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer hr { border-color: rgba(255,255,255,.15); }
.payments li { border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: .15rem .6rem; font-size: .85rem; }

/* Floating */
.wa-float { position: fixed; right: 16px; bottom: 84px; z-index: 1040; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
@media (min-width: 992px) { .wa-float { bottom: 24px; } }
.order-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; padding: .6rem 16px; background: rgba(247,241,230,.97); box-shadow: 0 -4px 16px rgba(0,0,0,.1); transform: translateY(100%); transition: transform .3s; }
.order-bar.show { transform: none; }


/* ── BIZ storefront glue ─────────────────────────────────── */
body.theme-sylheticha { background: var(--cream); color: var(--ink); }
.sc-announce { background: var(--leaf); color: var(--cream); text-align: center; font-size: .85rem; padding: .4rem 1rem; position: relative; }
.sc-announce-admin { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--gold); text-decoration: none; font-size: .78rem; }
.sc-search { position: relative; display: flex; }
.sc-search input { border: 1px solid rgba(31,61,43,.25); border-radius: 20px; padding: .3rem 2.2rem .3rem .9rem; background: #fff; font-size: .9rem; outline: none; }
.sc-search button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--leaf); }
.product-card .img-wrap { position: relative; aspect-ratio: 1; background: var(--cream); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-card .card-body { border: 0; }
.sc-tag { position: absolute; top: 10px; left: 10px; background: var(--liquor); color: #fff; font-size: .72rem; padding: .15rem .6rem; border-radius: 20px; }
.product-body h3 { color: var(--leaf); }
.product-body a { text-decoration: none; }
.product-body .card-btn-group { display: grid; gap: .5rem; }
.product-body .btn-add-cart, .product-body .btn-buy-now-card { width: 100%; }
.section .moment-card .moment-img { min-height: 120px; }
.text-cream { color: var(--cream) !important; }
.site-footer { padding-bottom: 3rem; }
.site-footer .social a { font-size: 1.1rem; }
.site-footer address { font-style: normal; line-height: 1.9; }
.toast-wrap { z-index: 2000; }
