/* =====================================================================
   ANIKA FASHION — SHARED STYLESHEET
   সব পেজ (index, products, product, thank-you) এই একটা ফাইল ব্যবহার করে।
===================================================================== */

:root {
  --bg: #FFFFFF;
  --bg-soft: #FAF7F3;
  --surface: #F4EFE8;
  --border: #E7DFD3;
  --ink: #221B16;
  --muted: #6E6259;
  --maroon: #7E2338;
  --maroon-deep: #5C1727;
  --gold: #AD8A4E;
  --gold-soft: #D9C49B;
  --success: #1F7A4D;
  --radius: 4px;
  --font-display: "Tiro Bangla", serif;
  --font-body: "Hind Siliguri", sans-serif;
  --shadow-sm: 0 2px 10px rgba(34, 27, 22, 0.06);
  --shadow-md: 0 12px 32px rgba(34, 27, 22, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--maroon); outline-offset: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Delivery announcement bar ---------- */
.announce-bar {
  background: var(--maroon);
  color: #fff;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 16px;
  letter-spacing: 0.3px;
}
.announce-bar strong { color: var(--gold-soft); }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 16px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .name { font-family: var(--font-display); font-size: 1.5rem; color: var(--maroon); }
.brand-text .tag { font-size: 0.68rem; color: var(--gold); letter-spacing: 1px; }
nav ul { display: flex; gap: 28px; list-style: none; }
nav a { font-size: 0.96rem; font-weight: 500; position: relative; padding-bottom: 4px; }
nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--maroon); transition: width .2s; }
nav a:hover::after, nav a:focus-visible::after { width: 100%; }
.nav-cta { background: var(--maroon); color: #fff; padding: 10px 20px; border-radius: var(--radius); font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.nav-cta:hover { background: var(--maroon-deep); }
.menu-toggle { display: none; font-size: 1.6rem; color: var(--maroon); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 56px; background: linear-gradient(180deg, var(--bg-soft), #fff); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8rem; letter-spacing: 2px; color: var(--maroon); font-weight: 600; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
h1 { font-family: var(--font-display); font-size: 2.8rem; line-height: 1.28; margin-bottom: 20px; }
h1 em { font-style: italic; color: var(--maroon); }
.hero p.lead { font-size: 1.08rem; color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: var(--radius); font-weight: 600; font-size: 0.98rem; transition: transform .2s, background .2s, box-shadow .2s; }
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--maroon); border: 1.5px solid var(--maroon); }
.btn-ghost:hover { background: var(--maroon); color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1FB855; transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }
.hero-visual { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/5; background: var(--surface); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* trust badges */
.trust-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--muted); font-weight: 500; }
.trust-item .ic { color: var(--success); font-size: 1.1rem; }

/* ---------- Section shared ---------- */
section { padding: 76px 0; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::before { display: none; }
h2 { font-family: var(--font-display); font-size: 2.1rem; margin-bottom: 12px; }
.section-head p { color: var(--muted); }

/* ---------- Product grid & cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-thumb { aspect-ratio: 1/1; position: relative; background: var(--surface); overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.product-thumb .badge {
  position: absolute; top: 12px; left: 12px; background: var(--maroon); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px; padding: 4px 10px; border-radius: 20px;
}
.product-info { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.product-info h3 { font-family: var(--font-display); font-size: 1.12rem; margin-bottom: 6px; }
.product-info .cat { font-size: 0.78rem; color: var(--gold); font-weight: 600; letter-spacing: 0.5px; margin-bottom: 6px; }
.product-info .desc { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; flex: 1; }
.price-block { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.price-offer { font-weight: 700; color: var(--maroon); font-size: 1.2rem; }
.price-regular { text-decoration: line-through; color: #a89e93; font-size: 0.92rem; }
.price-save { font-size: 0.72rem; color: var(--success); font-weight: 700; }
.card-actions { display: flex; gap: 8px; }
.card-actions .btn { flex: 1; padding: 10px 14px; font-size: 0.88rem; }

/* filter chips (products.html) */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-chip {
  padding: 9px 20px; border-radius: 30px; border: 1.5px solid var(--border); font-size: 0.88rem; font-weight: 600;
  color: var(--ink); background: #fff; transition: all .2s;
}
.filter-chip.active, .filter-chip:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { text-align: center; padding: 30px 20px; }
.why-card .ic { font-size: 2rem; margin-bottom: 14px; }
.why-card h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { font-size: 0.86rem; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews { background: var(--bg-soft); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.stars { color: var(--gold); font-size: 0.95rem; margin-bottom: 12px; }
.review-card p { font-size: 0.92rem; color: var(--ink); margin-bottom: 14px; }
.reviewer { font-size: 0.85rem; font-weight: 600; color: var(--muted); }

/* ---------- Delivery / return info strip ---------- */
.info-strip { background: var(--surface); }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.info-card h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--maroon); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.info-card ul { list-style: none; font-size: 0.92rem; color: var(--muted); }
.info-card li { padding: 6px 0; display: flex; gap: 8px; }
.info-card li::before { content: "✓"; color: var(--success); font-weight: 700; }

/* ---------- FAQ accordion ---------- */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: #fff; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--maroon); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; font-size: 0.92rem; color: var(--muted); }

/* ---------- Product detail page ---------- */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.pd-gallery-main { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-bottom: 12px; background: var(--surface); }
.pd-gallery-main img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pd-thumb { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; cursor: pointer; }
.pd-thumb.active { border-color: var(--maroon); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pd-cat { color: var(--gold); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.5px; margin-bottom: 8px; }
.pd-title { font-family: var(--font-display); font-size: 2rem; margin-bottom: 14px; }
.pd-price-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.pd-price-offer { font-size: 1.9rem; font-weight: 700; color: var(--maroon); }
.pd-price-regular { font-size: 1.15rem; text-decoration: line-through; color: #a89e93; }
.pd-save-badge { background: var(--success); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.pd-desc { color: var(--muted); margin-bottom: 22px; }
.pd-meta { font-size: 0.9rem; color: var(--muted); margin-bottom: 22px; }
.pd-meta strong { color: var(--ink); }
.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.qty-control { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-control button { width: 40px; height: 40px; font-size: 1.2rem; color: var(--maroon); }
.qty-control button:hover { background: var(--surface); }
.qty-control input { width: 48px; text-align: center; border: none; font-size: 1rem; font-family: inherit; }
.pd-actions { display: flex; gap: 12px; margin-bottom: 28px; }
.pd-actions .btn { flex: 1; padding: 15px; }
.pd-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pd-trust .trust-item { background: var(--surface); padding: 12px 14px; border-radius: var(--radius); }

/* ---------- Order form ---------- */
.order-section { background: var(--bg-soft); scroll-margin-top: 90px; }
.order-box { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.order-box h2 { text-align: center; }
.order-summary { display: flex; gap: 14px; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 14px; margin-bottom: 24px; }
.order-summary img { width: 60px; height: 60px; border-radius: var(--radius); object-fit: cover; object-position: top center; }
.order-summary .osn { font-weight: 600; font-size: 0.95rem; }
.order-summary .osp { color: var(--maroon); font-weight: 700; }
form.order-form { display: flex; flex-direction: column; gap: 16px; }
.order-form label { font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; display: block; color: var(--ink); }
.order-form input, .order-form select, .order-form textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius); border: 1.5px solid var(--border);
  font-family: inherit; font-size: 0.95rem; background: #fff;
}
.order-form textarea { min-height: 90px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.8rem; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
footer { background: #1D1815; color: rgba(255,255,255,0.78); padding: 52px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 34px; }
.footer-col h4 { font-family: var(--font-display); color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.footer-col p, .footer-col a { font-size: 0.88rem; display: block; margin-bottom: 8px; color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--gold-soft); }
.footer-brand .name { font-family: var(--font-display); font-size: 1.4rem; color: #fff; margin-bottom: 10px; display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  box-shadow: 0 10px 24px rgba(37,211,102,0.4); transition: transform .2s;
}
.float-wa:hover { transform: scale(1.08); }

/* ---------- Thank you page ---------- */
.ty-box { max-width: 560px; margin: 60px auto; text-align: center; padding: 0 24px; }
.ty-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--success); color: #fff; font-size: 2.2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.ty-box h1 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 14px; }
.ty-box p { color: var(--muted); margin-bottom: 10px; }
.ty-order-id { background: var(--surface); border-radius: var(--radius); padding: 14px; font-weight: 700; color: var(--maroon); margin: 20px 0; }
.ty-actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  nav ul { display: none; }
  nav ul.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 14px; box-shadow: var(--shadow-sm);
  }
  .menu-toggle { display: block; }
  .hero-grid, .info-grid, .pd-grid, .footer-grid { grid-template-columns: 1fr; }
  .product-grid, .why-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 2.2rem; }
}
@media (max-width: 560px) {
  .product-grid, .why-grid, .review-grid { grid-template-columns: 1fr; }
  .form-row, .pd-trust { grid-template-columns: 1fr; }
  .pd-thumbs { grid-template-columns: repeat(4, 1fr); }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.6rem; }
  .order-box { padding: 24px 18px; }
}
