/* =========================================================
   Joom Fruits — ক্রেতার ওয়েবসাইটের স্টাইল
   ========================================================= */
:root {
    --green-950: #17291f;
    --green-900: #1f3a2b;
    --green-800: #274632;
    --green-700: #2f5a3e;
    --green-600: #3d7a50;
    --green-500: #5b9a62;
    --green-100: #e5f0e3;
    --green-50:  #f1f7ef;
    --mango:     #f0b135;
    --mango-600: #d99a1c;
    --mango-100: #fdf0cf;
    --orange:    #e27a30;
    --orange-100:#fde6d4;
    --cream:     #f6efe2;
    --bg:        #fbf8f1;
    --surface:   #ffffff;
    --text:      #1c2a21;
    --muted:     #5f6d63;
    --line:      #e6e1d4;
    --danger:    #c0392b;
    --radius:    14px;
    --radius-sm: 10px;
    --shadow:    0 1px 2px rgba(31,58,43,.06), 0 6px 20px rgba(31,58,43,.07);
    --shadow-lg: 0 10px 40px rgba(31,58,43,.14);
    --font:      'Hind Siliguri', 'Noto Sans Bengali', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65;
    color: var(--text); background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-600); }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; color: var(--green-900); }
h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--mango); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: .02em; }
.text-danger { color: var(--danger); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--mango); color: var(--green-950); padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- বাটন ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    padding: .6rem 1.15rem; border-radius: 999px; border: 1.5px solid transparent;
    background: var(--cream); color: var(--green-900); font-weight: 600; font-size: 1rem;
    text-decoration: none; cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s;
    line-height: 1.3; min-height: 44px;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-800); color: #fff; box-shadow: 0 6px 16px rgba(47,90,62,.3); }
.btn-mango { background: var(--mango); color: var(--green-950); }
.btn-mango:hover { background: var(--mango-600); color: var(--green-950); }
.btn-outline { background: transparent; border-color: var(--green-700); color: var(--green-700); }
.btn-outline:hover { background: var(--green-50); }
.btn-outline-light { background: transparent; border-color: rgba(246,239,226,.6); color: var(--cream); }
.btn-outline-light:hover { background: rgba(246,239,226,.1); color: #fff; }
.btn-ghost { background: transparent; color: var(--green-700); }
.btn-ghost:hover { background: var(--green-50); }
.btn-wa { background: #25d366; color: #073b1c; }
.btn-wa:hover { background: #1fbd5a; color: #062e16; }
.btn-lg { padding: .8rem 1.5rem; font-size: 1.05rem; min-height: 50px; }
.btn-block { width: 100%; }
.icon-btn { background: none; border: 0; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); font-size: 1rem; }
.icon-btn:hover { background: #fbe9e7; color: var(--danger); }

/* ---------- ঘোষণা ও হেডার ---------- */
.announce { background: var(--mango); color: var(--green-950); text-align: center; font-size: .92rem; font-weight: 600; padding: .4rem 1rem; }
.site-header {
    position: sticky; top: 0; z-index: 40; background: rgba(251,248,241,.92);
    backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 70px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--green-900); margin-right: auto; }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.25rem; letter-spacing: .01em; }
.brand-text small { font-size: .8rem; color: var(--green-600); }
.main-nav { display: flex; gap: .25rem; }
.main-nav a { padding: .5rem .8rem; border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 500; }
.main-nav a:hover { background: var(--green-50); color: var(--green-800); }
.main-nav a.active { background: var(--green-100); color: var(--green-900); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.cart-btn {
    position: relative; display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem;
    border-radius: 999px; background: var(--green-900); color: var(--cream); text-decoration: none; font-weight: 600; min-height: 44px;
}
.cart-btn:hover, .cart-btn.active { background: var(--green-700); color: #fff; }
.cart-count {
    min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--mango); color: var(--green-950);
    font-size: .8rem; display: inline-flex; align-items: center; justify-content: center;
}
.nav-toggle { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-btn span { width: 20px; height: 2px; background: var(--green-900); border-radius: 2px; transition: .2s; }
.menu-btn:hover { background: var(--green-50); }

@media (max-width: 860px) {
    .menu-btn { display: inline-flex; }
    .cart-btn span:not(.cart-count) { display: none; }
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
        background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 16px 1rem;
        display: none; box-shadow: var(--shadow);
    }
    .main-nav a { padding: .75rem 1rem; border-radius: var(--radius-sm); }
    .nav-toggle:checked ~ .main-nav { display: flex; }
    .nav-toggle:checked ~ .header-actions .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle:checked ~ .header-actions .menu-btn span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked ~ .header-actions .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .brand-text small { display: none; }
}

/* ---------- ফ্ল্যাশ বার্তা ---------- */
.flash-wrap { padding-top: 1rem; }
.alert { padding: .8rem 1rem; border-radius: var(--radius-sm); margin: 0 0 1rem; border: 1px solid; font-weight: 500; }
.alert-success { background: #e8f5e9; border-color: #b9dfbd; color: #1e5b2a; }
.alert-error   { background: #fdecea; border-color: #f5c2bd; color: #8e2a1f; }
.alert-info    { background: #fff7e0; border-color: #f5dd9c; color: #6b4d05; }

/* ---------- হিরো ---------- */
.hero {
    position: relative; overflow: hidden; color: var(--cream);
    background: radial-gradient(ellipse at 50% 40%, #2c4d39 0%, var(--green-900) 55%, var(--green-950) 100%);
    padding: clamp(3rem, 8vw, 6rem) 0;
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 780px; }
.hero h1 { color: #fff8ea; font-size: clamp(1.9rem, 5.2vw, 3.2rem); margin-bottom: .35em; }
.hero-kicker {
    display: inline-flex; align-items: center; gap: .8rem; color: var(--mango); font-weight: 600;
    letter-spacing: .12em; font-size: .92rem; margin-bottom: 1rem;
}
.hero-kicker span { width: 36px; height: 2px; background: var(--mango); }
.hero-tagline { font-size: clamp(1.2rem, 3vw, 1.6rem); color: var(--mango); font-weight: 600; margin-bottom: .6rem; }
.hero-sub { color: #d9e3d6; font-size: 1.05rem; max-width: 620px; margin: 0 auto 1.75rem; }
.hero-cta { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.hero-deco { position: absolute; top: 0; bottom: 0; width: 26%; z-index: 1; pointer-events: none; }
.hero-deco img { position: absolute; filter: drop-shadow(0 12px 18px rgba(0,0,0,.25)); }
.hero-deco-left { left: 0; }
.hero-deco-right { right: 0; }
.deco-1 { width: 170px; left: -20px; top: 12%; transform: rotate(-14deg); }
.deco-2 { width: 120px; left: 60px; bottom: 6%; transform: rotate(8deg); }
.deco-3 { width: 160px; right: -10px; top: 8%; transform: rotate(18deg); }
.deco-4 { width: 130px; right: 70px; bottom: 5%; transform: rotate(-10deg); }
@media (max-width: 900px) {
    .hero-deco { opacity: .28; }
    .deco-1 { width: 120px; } .deco-2 { width: 90px; left: 10px; } .deco-3 { width: 110px; } .deco-4 { width: 90px; right: 10px; }
}

/* ---------- ট্রাস্ট স্ট্রিপ ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.trust-item { display: flex; align-items: center; gap: .7rem; }
.trust-item > span { font-size: 1.6rem; width: 48px; height: 48px; border-radius: 50%; background: var(--green-50); display: grid; place-items: center; flex: none; }
.trust-item b { display: block; color: var(--green-900); }
.trust-item small { color: var(--muted); font-size: .85rem; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .trust-item > span { width: 40px; height: 40px; font-size: 1.3rem; } .trust-item small { display: none; } }

/* ---------- সেকশন ---------- */
.section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section-tight { padding: 1.75rem 0 3rem; }
.section-alt { background: var(--green-50); }
.section-offers { background: linear-gradient(180deg, var(--mango-100), var(--bg)); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.eyebrow { color: var(--orange); font-weight: 600; font-size: .9rem; letter-spacing: .06em; margin: 0 0 .2rem; }
.link-more { font-weight: 600; text-decoration: none; }
.page-head { background: var(--green-900); color: var(--cream); padding: 2.25rem 0; }
.page-head h1 { color: #fff8ea; margin-bottom: .25rem; }
.page-head p { margin: 0; color: #cfdccb; }
.page-head-sm { padding: 1.5rem 0; }

/* ---------- চিপ / ফিল্টার ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.chip {
    padding: .4rem 1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
    text-decoration: none; color: var(--text); font-weight: 500; font-size: .95rem;
}
.chip:hover { border-color: var(--green-500); color: var(--green-800); }
.chip.active { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.chip-offer.active { background: var(--orange); border-color: var(--orange); }
.filter-bar { display: flex; gap: .5rem; margin-bottom: 1rem; }
.filter-bar input { flex: 1; }

/* ---------- পণ্য গ্রিড ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.1rem; }
@media (max-width: 540px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; } }
.product-card {
    background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; border: 1px solid #efeadf;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pc-media { position: relative; display: block; aspect-ratio: 1; background: radial-gradient(circle at 50% 45%, #fff 0%, var(--cream) 70%); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; }
.pc-badge {
    position: absolute; top: 10px; left: 10px; background: var(--orange); color: #fff; font-weight: 700;
    font-size: .8rem; padding: .2rem .6rem; border-radius: 999px;
}
.pc-badge-out { left: auto; right: 10px; background: #6b6b6b; }
.pc-badge-lg { font-size: 1rem; padding: .35rem .9rem; top: 16px; left: 16px; }
.pc-body { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.pc-origin { font-size: .82rem; color: var(--muted); margin: 0 0 .15rem; }
.pc-title { font-size: 1.08rem; margin: 0 0 .35rem; }
.pc-title a { text-decoration: none; color: var(--green-900); }
.pc-title a:hover { color: var(--green-600); }
.pc-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem; margin-bottom: .8rem; margin-top: auto; }
.pc-price strong { font-size: 1.25rem; color: var(--green-800); }
.pc-price del { color: var(--muted); font-size: .92rem; }
.pc-unit { color: var(--muted); font-size: .88rem; }
.pc-form { margin: 0; }
@media (max-width: 540px) {
    .pc-body { padding: .65rem .7rem .75rem; }
    .pc-title { font-size: .98rem; }
    .pc-price strong { font-size: 1.1rem; }
    .product-card .btn { font-size: .9rem; padding: .5rem .6rem; }
}

/* ---------- পণ্যের পেজ ---------- */
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 4vw, 3rem); align-items: start; }
@media (max-width: 800px) { .product-detail { grid-template-columns: 1fr; } }
.pd-media { position: relative; border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 50% 45%, #fff 0%, var(--cream) 70%); box-shadow: var(--shadow); aspect-ratio: 1; }
.pd-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 801px) { .pd-media { position: sticky; top: 90px; } }
.pd-price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pd-price strong { font-size: 2rem; color: var(--green-800); }
.pd-price del { color: var(--muted); font-size: 1.15rem; }
.pd-price span { color: var(--muted); }
.pd-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0 0 1.25rem; }
.pd-facts div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .6rem .75rem; }
.pd-facts dt { font-size: .8rem; color: var(--muted); }
.pd-facts dd { margin: 0; font-weight: 600; }
@media (max-width: 480px) { .pd-facts { grid-template-columns: 1fr 1fr; } }
.stock { font-weight: 600; }
.stock-ok { color: var(--green-600); }
.stock-low { color: var(--orange); }
.stock-out { color: var(--danger); }
.pd-form { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-bottom: .75rem; }
.pd-desc, .pd-delivery { margin-top: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.pd-desc h2, .pd-delivery h2 { font-size: 1.1rem; }
.pd-delivery ul { list-style: none; padding: 0; margin: 0 0 .5rem; }
.pd-delivery li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); }

/* ---------- পরিমাণ ইনপুট ---------- */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); overflow: hidden; }
.qty button { width: 44px; height: 46px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--green-800); }
.qty button:hover { background: var(--green-50); }
.qty input { width: 48px !important; min-height: 0 !important; text-align: center; border: 0 !important; box-shadow: none !important; background: none; font-weight: 600; -moz-appearance: textfield; appearance: textfield; padding: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm button { width: 34px; height: 36px; font-size: 1.1rem; }
.qty-sm input { width: 36px !important; }

/* ---------- ফর্ম ---------- */
input[type=text], input[type=search], input[type=tel], input[type=email], input[type=number], input[type=password], input:not([type]), select, textarea {
    width: 100%; padding: .65rem .85rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: var(--surface); min-height: 46px; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(91,154,98,.2); }
label { display: block; font-weight: 600; margin-bottom: .9rem; color: var(--green-900); }
label > input, label > textarea, label > select { margin-top: .3rem; font-weight: 400; color: var(--text); }
.label { font-weight: 600; margin-bottom: .4rem; color: var(--green-900); }
.field-error { display: block; color: var(--danger); font-weight: 500; margin-top: .25rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { float: left; width: 100%; font-weight: 700; font-size: 1.15rem; color: var(--green-900); padding: 0; margin-bottom: .9rem; }
legend + * { clear: both; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); margin-bottom: 1.1rem; }
.card h2, .card h3 { margin-top: 0; }

.radio-cards { display: grid; gap: .55rem; margin-bottom: .9rem; }
.radio-card {
    display: flex; gap: .75rem; align-items: flex-start; padding: .8rem 1rem; border: 1.5px solid var(--line);
    border-radius: var(--radius-sm); cursor: pointer; margin: 0; font-weight: 400; background: var(--surface); transition: border-color .15s, background .15s;
}
.radio-card:hover { border-color: var(--green-500); }
.radio-card input { margin-top: .35rem; accent-color: var(--green-700); width: 18px; height: 18px; flex: none; }
.radio-card b { display: block; color: var(--green-900); }
.radio-card small { color: var(--muted); }
.radio-card:has(input:checked) { border-color: var(--green-700); background: var(--green-50); }
.pay-box { background: var(--mango-100); border: 1px solid #f3dc9c; border-radius: var(--radius-sm); padding: .8rem 1rem; margin-bottom: .9rem; }
.pay-box p { margin: 0; }

/* ---------- কার্ট / চেকআউট ---------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .cart-layout, .checkout-layout { grid-template-columns: 1fr; } }
.cart-items { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem 1rem; box-shadow: var(--shadow); }
.cart-row { display: grid; grid-template-columns: 72px 1fr auto auto 36px; gap: .9rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 72px; height: 72px; border-radius: var(--radius-sm); background: var(--cream); object-fit: cover; }
.cart-info { display: flex; flex-direction: column; min-width: 0; }
.cart-name { font-weight: 600; text-decoration: none; color: var(--green-900); }
.cart-info small { color: var(--muted); }
.cart-line { min-width: 80px; text-align: right; color: var(--green-800); }
.cart-actions { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; padding: 1rem 0 .5rem; }
@media (max-width: 560px) {
    .cart-row { grid-template-columns: 60px 1fr auto; grid-template-areas: "img info rm" "img qty line"; row-gap: .5rem; }
    .cart-row img { grid-area: img; width: 60px; height: 60px; }
    .cart-info { grid-area: info; }
    .cart-row .qty { grid-area: qty; justify-self: start; }
    .cart-line { grid-area: line; }
    .cart-row .icon-btn { grid-area: rm; justify-self: end; }
    .cart-line { min-width: 0; }
}
.summary-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); position: sticky; top: 90px; }
.summary-card h2 { font-size: 1.2rem; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; }
.sum-total { border-top: 2px solid var(--green-900); margin-top: .4rem; padding-top: .7rem; font-size: 1.2rem; }
.sum-total b { color: var(--green-800); }
.sum-items { list-style: none; padding: 0; margin: 0 0 .5rem; border-bottom: 1px solid var(--line); }
.sum-items li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; }
.sum-items small { color: var(--muted); }
.note-good, .note-info, .note-warn { border-radius: var(--radius-sm); padding: .6rem .85rem; font-weight: 500; margin: .75rem 0; }
.note-good { background: #e8f5e9; color: #1e5b2a; }
.note-info { background: var(--mango-100); color: #6b4d05; }
.note-warn { background: #fdecea; color: #8e2a1f; }
.empty { text-align: center; padding: 3rem 1rem; background: var(--surface); border-radius: var(--radius); border: 1px dashed var(--line); }
.empty p { font-size: 1.15rem; }

/* ---------- ডেলিভারি জোন / ধাপ ---------- */
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.zone-list { display: grid; gap: .6rem; margin: 1rem 0; }
.zone { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--green-600); border-radius: var(--radius-sm); padding: .8rem 1rem; }
.zone b { display: block; color: var(--green-900); }
.zone small { color: var(--muted); }
.zone strong { font-size: 1.2rem; color: var(--orange); white-space: nowrap; }
.steps-card { background: var(--green-900); color: var(--cream); border-radius: var(--radius); padding: 1.5rem; }
.steps-card h3 { color: #fff8ea; font-size: 1.3rem; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1.25rem; }
.steps li { counter-increment: s; position: relative; padding: 0 0 1rem 3rem; }
.steps li::before {
    content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
    background: var(--mango); color: var(--green-950); font-weight: 700; display: grid; place-items: center;
}
.steps b { display: block; color: #fff8ea; }
.steps span { color: #c9d6c5; font-size: .95rem; }

/* ---------- অর্ডার সফল / ট্র্যাকিং ---------- */
.success-hero { text-align: center; margin-bottom: 1.5rem; }
.success-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--green-600); color: #fff; font-size: 2.4rem; display: grid; place-items: center; margin: 0 auto 1rem; box-shadow: 0 0 0 10px var(--green-100); }
.order-no-big { font-size: 1.25rem; background: var(--mango-100); display: inline-block; padding: .5rem 1.25rem; border-radius: 999px; margin-bottom: .4rem; }
.order-view { margin-top: 1rem; }
.order-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-bottom: 1.25rem; }
.order-meta > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .85rem; }
.order-meta small { display: block; color: var(--muted); font-size: .82rem; }
@media (max-width: 700px) { .order-meta { grid-template-columns: 1fr 1fr; } }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 700px) { .order-grid { grid-template-columns: 1fr; } }
.timeline { list-style: none; display: flex; padding: 0; margin: 0 0 1.25rem; }
.timeline li { flex: 1; text-align: center; position: relative; font-size: .9rem; color: var(--muted); }
.timeline li::before { content: ''; position: absolute; top: 18px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.timeline li:first-child::before { display: none; }
.timeline li.done::before, .timeline li.current::before { background: var(--green-600); }
.timeline .dot { position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line); display: grid; place-items: center; margin: 0 auto .35rem; font-weight: 700; }
.timeline li.done .dot { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.timeline li.current .dot { background: var(--mango); border-color: var(--mango); color: var(--green-950); box-shadow: 0 0 0 6px var(--mango-100); }
.timeline li.done, .timeline li.current { color: var(--green-900); font-weight: 600; }
@media (max-width: 520px) { .tl-label { font-size: .75rem; display: block; line-height: 1.25; } .timeline .dot { width: 32px; height: 32px; } .timeline li::before { top: 15px; } }
.history-list { list-style: none; padding: 0; margin: 0; }
.history-list li { padding: .5rem 0; border-bottom: 1px dashed var(--line); }
.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: .75rem; align-items: end; }
.track-form label { margin: 0; }
@media (max-width: 640px) { .track-form { grid-template-columns: 1fr; } }

/* ---------- ব্যাজ ---------- */
.badge { display: inline-block; padding: .15rem .65rem; border-radius: 999px; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.badge-new        { background: #e3f2fd; color: #0d47a1; }
.badge-confirmed  { background: #ede7f6; color: #4527a0; }
.badge-processing { background: var(--mango-100); color: #7a5300; }
.badge-shipping   { background: var(--orange-100); color: #9a4412; }
.badge-delivered  { background: #e8f5e9; color: #1b5e20; }
.badge-cancelled  { background: #fdecea; color: #8e2a1f; }

/* ---------- তথ্য পেজ ---------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.75rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .45rem; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 1rem; }
.table th, .table td { padding: .65rem .85rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--green-50); color: var(--green-900); }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .6rem; padding: 0 1.1rem; }
.faq summary { cursor: pointer; font-weight: 600; padding: .9rem 0; color: var(--green-900); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; color: var(--green-600); line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.contact-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .25rem; padding: 1.5rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .15s; }
.contact-card:hover { transform: translateY(-3px); color: var(--text); }
.contact-card b { color: var(--green-900); font-size: 1.1rem; }
.contact-card span:last-child { color: var(--muted); word-break: break-word; }
.cc-icon { font-size: 2rem; }
.cc-wa { background: #e9fbef; border-color: #b8ecc9; }

/* ---------- ফুটার ---------- */
.site-footer { background: var(--green-950); color: #c9d6c5; padding-top: 3rem; margin-top: 0; }
.site-footer a { color: #e9efe6; text-decoration: none; }
.site-footer a:hover { color: var(--mango); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; padding-bottom: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; margin-bottom: .75rem; }
.footer-tag { color: var(--mango); font-weight: 600; font-size: 1.15rem; }
.site-footer h3 { color: #fff8ea; font-size: 1.05rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1rem; padding-bottom: 5.5rem; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---------- ভাসমান যোগাযোগ বাটন ---------- */
.float-contact { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: .6rem; z-index: 50; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.22); transition: transform .15s; }
.fab:hover { transform: scale(1.07); }
.fab-wa { background: #25d366; color: #fff; }
.fab-wa:hover { color: #fff; }
.fab-call { background: var(--mango); color: var(--green-950); }
.fab-call:hover { color: var(--green-950); }

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

[hidden] { display: none !important; }
