/* =====================================================================
   Rolikart — brand stylesheet
   রং লোগো থেকে: Ink #1D1F07 · Sunflower #F9CD17 · Cart blue #0A76E0
   Font: Poppins (লোগোর font), নিজের সার্ভার থেকে লোড হয়।
   ===================================================================== */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-700.woff2") format("woff2"); }

:root {
  --ink: #1D1F07;
  --ink-2: #3A3C26;
  --muted: #6B6D5E;
  --line: #E3E4DC;
  --mist: #F4F5F0;
  --paper: #FFFFFF;
  --sun: #F9CD17;
  --sun-deep: #E8B800;
  --sun-soft: #FFF6CC;
  --blue: #0A76E0;
  --blue-soft: #E8F2FD;
  --sale: #D92D20;
  --ok: #067647;
  --ok-soft: #ECFDF3;
  --warn-soft: #FFF6CC;
  --r-img: 14px;
  --r-panel: 20px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-weight: 700; }
h2 { font-weight: 600; }
h3 { font-weight: 600; letter-spacing: -0.01em; }
button, input, select, textarea { font: inherit; color: inherit; }
select { max-width: 100%; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--ink); }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 60; }
.skip-link:focus { left: 8px; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease; }
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: var(--line); border-color: var(--line); color: var(--muted); cursor: not-allowed; transform: none; }
.btn-sun { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--sun-deep); border-color: var(--sun-deep); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-small { min-height: 38px; padding: 0 16px; font-size: .9rem; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border: 2.5px solid var(--ink); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: .85rem; }
.link-btn:hover { color: var(--sale); }

/* ---------- Announcement + header ---------- */
.announce { background: var(--ink); color: #fff; font-size: .82rem; }
.announce .container { display: flex; justify-content: center; gap: 28px; padding-top: 8px; padding-bottom: 8px; }
.announce strong { color: var(--sun); font-weight: 600; }
@media (max-width: 640px) { .announce .hide-sm { display: none; } }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; height: 76px; }
.logo { display: block; flex: 0 0 auto; }
.logo img { height: 46px; width: auto; }
.search { flex: 1; min-width: 0; display: flex; max-width: 560px; margin: 0 auto; height: 48px; background: var(--mist); border: 1.5px solid transparent; border-radius: 999px; transition: border-color .15s, background .15s; }
.search:focus-within { background: #fff; border-color: var(--ink); }
.search input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 20px; outline: none; }
.search input::placeholder { color: #8B8D7E; }
.search button { border: 0; background: var(--sun); width: 40px; height: 40px; margin: 2px 3px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.header-tools { display: flex; align-items: center; gap: 6px; }
.currency-form select { appearance: none; border: 1.5px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231D1F07' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center;
  border-radius: 999px; height: 42px; padding: 0 30px 0 14px; font-size: .88rem; font-weight: 500; cursor: pointer; }
.currency-form select:hover { border-color: var(--ink); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: none; border: 0; color: var(--ink); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--mist); color: var(--ink); }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--sun); color: var(--ink);
  font-size: .72rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.nav-toggle { display: none; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.main-nav ul::-webkit-scrollbar { display: none; }
.main-nav a { display: block; padding: 10px 14px 12px; white-space: nowrap; color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 500; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--sun); transform: scaleX(0); transition: transform .2s ease; }
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.checkout-header .header-row { height: 72px; justify-content: space-between; }
.secure-badge { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 500; color: var(--ok); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; }
  .header-row { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 12px; gap: 8px; }
  .logo { margin-right: auto; }
  .logo img { height: 38px; }
  .search { order: 5; flex-basis: 100%; max-width: none; height: 46px; }
  .main-nav { display: none; border-top: 1px solid var(--line); }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; padding: 6px 0 14px; }
  .main-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .currency-form select { height: 38px; padding-left: 10px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #D9DACF; margin-top: 96px; font-size: .92rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 64px 20px 40px; }
.site-footer img { height: 44px; width: auto; margin-bottom: 18px; }
.site-footer h2 { font-size: .95rem; color: #fff; margin: 0 0 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #D9DACF; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.site-footer p { margin: 0 0 10px; max-width: 320px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px; border-top: 1px solid #383A22; color: #A6A898; font-size: .82rem; }
.pay-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-icons span { border: 1px solid #4A4C34; border-radius: 6px; padding: 2px 8px; font-weight: 500; color: #D9DACF; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ---------- Home: hero ---------- */
.hero { background: var(--mist); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); line-height: 1.04; letter-spacing: -0.035em; }
.name-tag { display: inline-flex; align-items: center; position: relative; background: var(--sun); color: var(--ink); padding: 0 .38em 0 .62em;
  border-radius: .22em .5em .5em .22em; margin: 0 .05em; min-width: 2.2em; white-space: nowrap; }
.name-tag::before { content: ""; position: absolute; left: .2em; top: 50%; width: .16em; height: .16em; margin-top: -.08em; border-radius: 50%; background: var(--mist); }
.name-tag .caret { display: inline-block; width: .06em; height: .8em; margin-left: .04em; background: var(--ink); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero-sub { font-size: 1.12rem; color: var(--ink-2); max-width: 520px; margin: 22px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 32px; font-size: .88rem; color: var(--ink-2); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { color: var(--blue); flex: 0 0 auto; }
.hero-art { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-art a { display: block; background: #fff; border-radius: var(--r-img); overflow: hidden; aspect-ratio: 1; }
.hero-art a:nth-child(2) { transform: translateY(28px); }
.hero-art a:nth-child(3) { transform: translateY(-14px); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 48px; }
  .hero-art { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .hero-art a:nth-child(n) { transform: none; }
}

/* ---------- Sections ---------- */
.section { margin-top: 72px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.link-more { font-weight: 600; color: var(--ink); white-space: nowrap; }
.link-more:hover { color: var(--blue); }

.cat-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.cat-item { text-decoration: none; color: var(--ink); text-align: center; }
.cat-item .cat-img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--mist); border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); transition: box-shadow .2s ease; }
.cat-item img { width: 100%; height: 100%; object-fit: cover; }
.cat-item:hover .cat-img { box-shadow: 0 0 0 3px var(--sun); }
.cat-item strong { display: block; margin-top: 12px; font-weight: 600; font-size: .95rem; }
.cat-item span { font-size: .82rem; color: var(--muted); }

.promise { background: var(--ink); color: #fff; border-radius: var(--r-panel); padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.promise h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.promise p { color: #CFD0C4; margin: 14px 0 26px; max-width: 460px; }
.promise ol { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 16px; }
.promise li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.promise li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--sun); color: var(--ink); font-weight: 700; display: grid; place-items: center; }
.promise li strong { display: block; color: #fff; }
.promise li span { color: #CFD0C4; font-size: .9rem; }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } }
.card { display: block; color: var(--ink); text-decoration: none; }
.card-media { position: relative; aspect-ratio: 1; border-radius: var(--r-img); background: var(--mist); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .45s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-title { font-size: .93rem; font-weight: 500; line-height: 1.4; margin: 12px 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover .card-title { text-decoration: underline; text-underline-offset: 3px; }
.badge { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: #fff; color: var(--ink); }
.badge-sale { background: var(--sale); color: #fff; }
.badge-sun { background: var(--sun); color: var(--ink); }
.badge-muted { background: var(--ink); color: #fff; }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price .now { font-weight: 600; }
.price .was { color: var(--muted); font-size: .88em; }
.price .from { color: var(--muted); font-size: .85em; }
.price .off { color: var(--sale); font-size: .82em; font-weight: 600; }
.price-lg { font-size: 1.65rem; margin: 10px 0 16px; }
.price-lg .now { font-weight: 700; }

/* ---------- Listing ---------- */
.breadcrumbs { margin: 22px 0 10px; font-size: .84rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #B9BBAD; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.listing-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.listing-head h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
.listing-head p { margin: 0; color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--mist); color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 500; }
.chips a:hover { background: var(--sun); }
.chips span { color: var(--muted); font-weight: 400; }
.toolbar { display: flex; justify-content: flex-end; margin: 22px 0 18px; }
.sort-form { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.sort-form select, .field select { appearance: none; border: 1.5px solid var(--line); border-radius: 10px; height: 42px; padding: 0 36px 0 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231D1F07' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--ink); }
.search-page { margin: 18px 0; max-width: 640px; height: 54px; }
.search-page .btn { width: auto; height: auto; min-height: 46px; margin: 2px; padding: 0 22px; border-radius: 999px; }
.empty { text-align: center; padding: 64px 16px; color: var(--muted); }
.empty .btn { margin-top: 16px; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 48px 0 0; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .gap { border: 0; }
.pagination a:hover { border-color: var(--ink); }
.category-intro { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); color: var(--ink-2); max-width: 760px; }

/* ---------- Product page ---------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 8px; }
@media (max-width: 960px) { .product-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.gallery { position: sticky; top: 140px; display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
.gallery-main { grid-column: 2; grid-row: 1; aspect-ratio: 1; border-radius: var(--r-panel); background: var(--mist); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; max-height: 620px; overflow-y: auto; scrollbar-width: thin; }
.thumb { flex: 0 0 76px; width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 12px; background: var(--mist); overflow: hidden; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.thumb.is-active { border-color: var(--ink); }
.thumb:hover { border-color: var(--sun-deep); }
.gallery.single { grid-template-columns: 1fr; }
.gallery.single .gallery-main { grid-column: 1; }
@media (max-width: 960px) {
  .gallery { position: static; grid-template-columns: 1fr; }
  .gallery-main { grid-column: 1; }
  .thumbs { grid-row: 2; flex-direction: row; overflow-x: auto; max-height: none; }
  .thumb { flex-basis: 64px; width: 64px; height: 64px; }
}

.buy-box h1 { font-size: clamp(1.55rem, 3vw, 2.15rem); letter-spacing: -0.025em; }
.short-desc { color: var(--ink-2); }
.short-desc p { margin: 0 0 8px; }
.short-desc p:last-child { color: var(--muted); font-size: .88rem; }
.buy-form { margin-top: 22px; display: grid; gap: 22px; }
.option-group, .personalize { border: 0; margin: 0; padding: 0; min-width: 0; }
.option-group legend { font-weight: 600; margin-bottom: 10px; padding: 0; font-size: .95rem; }
.chosen { font-weight: 400; color: var(--muted); text-transform: capitalize; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { min-height: 42px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-size: .9rem; font-weight: 500; text-transform: capitalize; transition: border-color .12s; }
.opt:hover { border-color: var(--ink); }
.opt[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.opt.is-unavailable { color: #A9AB9C; background: repeating-linear-gradient(135deg, #fff 0 6px, var(--mist) 6px 7px); }
.opt[aria-pressed="true"].is-unavailable { color: #fff; background: var(--ink-2); }

.personalize { background: var(--sun-soft); border-radius: var(--r-panel); padding: 20px; border: 1.5px dashed var(--sun-deep); }
.personalize legend { float: left; width: 100%; margin: 0 0 4px; font-weight: 700; font-size: 1.05rem; padding: 0; }
.personalize > p.hint:first-of-type { margin-bottom: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; clear: both; }
.field:last-child { margin-bottom: 0; }
.field label { font-size: .88rem; font-weight: 600; }
.field abbr { color: var(--sale); text-decoration: none; }
.field input:not([type="file"]):not([type="checkbox"]):not([type="radio"]), .field textarea, .field select {
  width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid #D5D7CB; border-radius: 12px; background: #fff; transition: border-color .12s, box-shadow .12s; }
.field textarea { height: auto; padding: 12px 14px; }
.field select { height: 50px; }
.field input[type="file"] { width: 100%; padding: 12px; border: 1.5px dashed #C9CBBE; border-radius: 12px; background: #fff; cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(249, 205, 23, .45); }
.field input:user-invalid { border-color: var(--sale); }
.counter { justify-self: end; font-size: .76rem; color: var(--muted); margin-top: -2px; }
.hint { margin: 0; font-size: .82rem; color: var(--muted); }

.stock { font-size: .9rem; font-weight: 600; }
.stock .in { color: var(--ok); }
.stock .out { color: var(--sale); }
.stock:empty { display: none; }
.buy-row { display: flex; gap: 12px; }
.qty-input { width: 92px; flex: 0 0 92px; min-height: 56px; text-align: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; }
.btn-buy { flex: 1; }
.form-note { margin: 0; padding: 12px 14px; border-radius: 12px; background: #FEF3F2; color: var(--sale); font-size: .9rem; font-weight: 500; }
.assurance { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; }
.assurance li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: #fff; font-size: .88rem; color: var(--ink-2); }
.assurance svg { flex: 0 0 auto; color: var(--blue); }
.meta { font-size: .84rem; margin-top: 18px; color: var(--muted); }

.product-section { margin-top: 72px; }
.product-section > h2 { font-size: 1.55rem; margin-bottom: 18px; }
.prose { max-width: 760px; color: var(--ink-2); }
.prose h2 { font-size: 1.3rem; margin: 1.6em 0 .5em; color: var(--ink); }
.prose h3 { font-size: 1.05rem; margin: 1.4em 0 .4em; color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 4px; }
.prose img { border-radius: var(--r-img); margin: 14px 0; }
.info-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-cols div { background: var(--mist); border-radius: var(--r-panel); padding: 22px; }
.info-cols h3 { font-size: 1rem; margin-bottom: 6px; }
.info-cols p { margin: 0; color: var(--ink-2); font-size: .9rem; }
@media (max-width: 860px) { .info-cols { grid-template-columns: 1fr; } }

/* ---------- Mobile sticky buy bar ---------- */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; }
.sticky-buy .price { flex: 1; font-size: 1.1rem; }
@media (max-width: 960px) { .sticky-buy.is-visible { display: flex; } }

/* ---------- Cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(29, 31, 7, .45); animation: fade .2s ease; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column; animation: slide .25s ease; box-shadow: -20px 0 60px rgba(29,31,7,.18); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.15rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 4px 20px; }
.drawer-foot { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-added { display: flex; gap: 8px; align-items: center; margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-weight: 600; font-size: .9rem; }
.drawer-total { display: flex; justify-content: space-between; font-weight: 600; font-size: 1.05rem; }
.body-locked { overflow: hidden; }

/* ---------- Cart lines (drawer, cart page, checkout) ---------- */
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line:last-child { border-bottom: 0; }
.line-img { width: 76px; height: 76px; border-radius: 12px; background: var(--mist); overflow: hidden; position: relative; }
.line-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.line-qty-badge { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ink); color: #fff; font-size: .74rem; font-weight: 700; display: grid; place-items: center; }
.line-name { font-weight: 600; font-size: .92rem; line-height: 1.35; color: var(--ink); text-decoration: none; }
.line-name:hover { text-decoration: underline; }
.line-meta { font-size: .8rem; color: var(--muted); margin-top: 3px; }
.line-pers { margin-top: 6px; font-size: .8rem; background: var(--sun-soft); border-radius: 8px; padding: 5px 9px; display: inline-block; color: var(--ink-2); }
.line-pers b { font-weight: 600; }
.line-price { font-weight: 600; text-align: right; white-space: nowrap; }
.line-actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.line.is-unavailable { opacity: .55; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 38px; }
.stepper button { width: 36px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 1.1rem; color: var(--ink); border-radius: 999px; }
.stepper button:hover { background: var(--mist); }
.stepper input { width: 34px; border: 0; text-align: center; font-weight: 600; background: none; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.free-ship { background: var(--mist); border-radius: 14px; padding: 12px 14px; font-size: .86rem; margin: 14px 0 6px; }
.free-ship strong { font-weight: 600; }
.free-ship .bar { height: 6px; background: #fff; border-radius: 6px; margin-top: 8px; overflow: hidden; }
.free-ship .bar span { display: block; height: 100%; background: var(--sun-deep); border-radius: 6px; transition: width .3s ease; }
.free-ship.done { background: var(--ok-soft); color: var(--ok); font-weight: 600; }

/* ---------- Cart page ---------- */
.page-title { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 28px 0 24px; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.summary { background: var(--mist); border-radius: var(--r-panel); padding: 26px; position: sticky; top: 110px; }
.summary h2 { font-size: 1.15rem; margin-bottom: 14px; }
.totals { margin: 0; display: grid; gap: 10px; font-size: .93rem; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt { color: var(--ink-2); }
.totals dd { margin: 0; font-weight: 500; text-align: right; }
.totals .discount dd { color: var(--ok); }
.totals .grand { border-top: 1.5px solid var(--line); padding-top: 14px; margin-top: 4px; font-size: 1.15rem; }
.totals .grand dt { color: var(--ink); font-weight: 600; }
.totals .grand dd { font-weight: 700; }
.totals .grand small { display: block; font-size: .72rem; color: var(--muted); font-weight: 400; }
.coupon-form { display: flex; gap: 8px; margin: 18px 0 4px; }
.coupon-form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1.5px solid #D5D7CB; border-radius: 12px; background: #fff; text-transform: uppercase; }
.coupon-form input:focus { outline: none; border-color: var(--ink); }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 0; padding: 9px 12px; border-radius: 10px; background: #fff; font-size: .86rem; }
.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 500; font-size: .92rem; }
.flash.ok { background: var(--ok-soft); color: var(--ok); }
.flash.err { background: #FEF3F2; color: var(--sale); }
.cart-empty { text-align: center; padding: 72px 20px; background: var(--mist); border-radius: var(--r-panel); }
.cart-empty h2 { font-size: 1.5rem; margin-bottom: 8px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: .8rem; color: var(--muted); }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row svg { color: var(--ok); }

/* ---------- Checkout ---------- */
.checkout-main section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.checkout-main section:first-child { padding-top: 4px; }
.checkout-main h2 { font-size: 1.15rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .82rem; display: grid; place-items: center; flex: 0 0 auto; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields .full { grid-column: 1 / -1; }
.fields .field { margin: 0; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.pay-method { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 2px solid var(--ink); border-radius: 16px; background: #fff; }
.pay-method .pm-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--sun); display: grid; place-items: center; flex: 0 0 auto; }
.pay-method strong { display: block; }
.pay-method span { font-size: .84rem; color: var(--muted); }
.pay-switch { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
.place-wrap { padding-top: 24px; }
.place-wrap .hint { margin-top: 12px; text-align: center; }
.summary .lines { max-height: 360px; overflow-y: auto; margin-bottom: 8px; }
.summary .line { grid-template-columns: 64px 1fr auto; border-bottom-color: #E3E4DC; }
.summary .line-img { width: 64px; height: 64px; background: #fff; overflow: visible; }
.summary .line-img img { border-radius: 12px; }

/* ---------- Order complete ---------- */
.done-hero { text-align: center; padding: 48px 20px 28px; }
.done-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; margin: 0 auto 20px; }
.done-hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.done-hero p { color: var(--ink-2); max-width: 520px; margin: 12px auto 0; }
.order-card { max-width: 760px; margin: 24px auto 0; background: var(--mist); border-radius: var(--r-panel); padding: 28px; }
.order-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; font-size: .88rem; }
.order-meta b { display: block; font-size: .95rem; }
.order-meta span { color: var(--muted); }
@media (max-width: 600px) { .order-meta { grid-template-columns: 1fr 1fr; } }
.status-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.status-paid { background: var(--ok-soft); color: var(--ok); }
.status-pending { background: var(--sun-soft); color: #8A6A00; }
.status-failed { background: #FEF3F2; color: var(--sale); }

/* ---------- Errors / admin ---------- */
.error-page { text-align: center; padding: 80px 20px; }
.error-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 10px; }
.debug { text-align: left; background: #FEF3F2; color: var(--sale); padding: 14px; border-radius: 12px; overflow: auto; max-width: 960px; margin: 24px auto 0; font-size: .85rem; }
.setup { padding-bottom: 24px; }
.setup h1 { margin: 28px 0 16px; }
.setup h2 { margin-top: 32px; font-size: 1.1rem; }
.banner { padding: 12px 16px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; }
.banner.ok { background: var(--ok-soft); color: var(--ok); }
.banner.warn { background: var(--warn-soft); color: #8A6A00; }
.banner ul { margin: 8px 0 0; font-weight: 400; }
.checks { width: 100%; border-collapse: collapse; font-size: .92rem; }
.checks th, .checks td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.checks th { color: var(--muted); font-weight: 600; font-size: .84rem; }
.checks .icon { width: 28px; }
.checks .is-bad td { color: var(--sale); }
.checks .fix { color: #8A6A00; }
.manual li { margin-bottom: 8px; }
.progress { height: 10px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 20px 0 8px; }
.progress-bar { height: 100%; background: var(--sun-deep); transition: width .3s ease; }
.status { font-weight: 600; }
.status.error { color: var(--sale); }
.status.done { color: var(--ok); }
.log { background: var(--mist); border-radius: 12px; padding: 12px; max-height: 420px; overflow: auto; font-size: .82rem; white-space: pre-wrap; }
@media (max-width: 640px) {
  .checks thead { display: none; }
  .checks tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .checks td { display: block; border: 0; padding: 2px 0; }
}

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

/* =====================================================================
   v4 — account, premium footer, mobile bottom bar, product details
   ===================================================================== */
.account-link .avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }

/* trust strip + footer */
.trust-strip { background: var(--mist); margin-top: 96px; }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.trust-strip div { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: start; }
.trust-strip svg { grid-row: span 2; color: var(--ink); background: var(--sun); border-radius: 50%; padding: 6px; width: 34px; height: 34px; }
.trust-strip b { font-size: .95rem; }
.trust-strip span { font-size: .84rem; color: var(--muted); }
@media (max-width: 860px) { .trust-strip .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-strip .container { grid-template-columns: 1fr; gap: 16px; } }
.site-footer { margin-top: 0; }
.newsletter { margin-top: 22px; max-width: 380px; }
.newsletter label { display: block; color: #fff; font-weight: 500; margin-bottom: 10px; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; height: 46px; border-radius: 999px; border: 1.5px solid #4A4C34; background: #2A2C14; color: #fff; padding: 0 16px; }
.newsletter input:focus { outline: none; border-color: var(--sun); }
.newsletter .btn { min-height: 46px; }
.newsletter-msg { min-height: 1.2em; font-size: .85rem; color: var(--sun); margin: 8px 0 0; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #4A4C34; display: grid; place-items: center; }
.social a:hover { border-color: var(--sun); color: var(--sun); }

/* mobile bottom bar */
.bottom-bar { display: none; }
@media (max-width: 760px) {
  .bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 28; display: grid; grid-template-columns: repeat(5, 1fr);
    background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bottom-bar a { position: relative; display: grid; justify-items: center; gap: 2px; font-size: .7rem; font-weight: 500; color: var(--muted); text-decoration: none; padding: 4px 0; }
  .bottom-bar a[aria-current="page"] { color: var(--ink); }
  .bottom-bar a[aria-current="page"] svg { background: var(--sun); border-radius: 12px; }
  .bottom-bar svg { width: 40px; height: 28px; padding: 3px 9px; }
  .bottom-bar .cart-count { top: 0; right: calc(50% - 22px); }
  body:not(.admin) { padding-bottom: 72px; }
  .sticky-buy { bottom: calc(62px + env(safe-area-inset-bottom)); }
  .header-tools .account-link { display: none; }
}

/* product page extras */
.kicker { display: inline-flex; align-items: center; gap: 6px; background: var(--sun-soft); color: var(--ink-2); font-size: .8rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; margin: 0 0 10px; }
.tax-note { font-size: .8rem; color: var(--muted); margin: -10px 0 14px; }
.gallery-main { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; }
.gallery-main .badge { top: 16px; left: 16px; font-size: .85rem; }
.delivery { display: flex; gap: 10px; align-items: center; margin: 18px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--blue-soft); font-size: .9rem; color: var(--ink-2); }
.delivery svg { color: var(--blue); flex: 0 0 auto; }
.assurance li svg { color: var(--ink); }
.details { margin-top: 64px; max-width: 900px; }
.acc { border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary h2 { font-size: 1.2rem; }
.acc summary::after { content: ""; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; margin-right: 6px; }
.acc[open] summary::after { transform: rotate(-135deg); }
.acc > div { padding-bottom: 24px; }
.upload { display: block; cursor: pointer; }
.upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload-box { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1.5px dashed #C9CBBE; border-radius: 14px; background: #fff; font-size: .9rem; }
.upload:hover .upload-box, .upload input:focus-visible + .upload-box { border-color: var(--ink); }
.upload-preview { width: 56px; height: 56px; border-radius: 10px; background: var(--mist) center / cover no-repeat; flex: 0 0 auto; display: grid; place-items: center; }
.upload:not(.has-file) .upload-preview::after { content: "+"; font-size: 1.6rem; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(29, 31, 7, .92); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-width: min(1200px, 100%); max-height: 100%; border-radius: 12px; background: #fff; }
.lightbox-close { position: absolute; top: 16px; right: 16px; background: #fff; }

/* auth */
.auth-wrap { display: grid; place-items: center; padding: 48px 20px 24px; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px 30px; box-shadow: 0 30px 60px -40px rgba(29,31,7,.35); }
.auth-card h1 { font-size: 1.7rem; margin-bottom: 6px; }
.auth-card > .muted { margin: 0 0 22px; }
.auth-form { display: grid; gap: 14px; }
.auth-form .field { margin: 0; }
.auth-alt { text-align: center; font-size: .88rem; margin: 16px 0 0; color: var(--muted); }
.auth-alt .link-btn { color: var(--blue); font-size: .88rem; }
.auth-foot { text-align: center; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; }
.label-link { float: right; font-weight: 400; font-size: .82rem; }
.check { display: flex; align-items: center; gap: 8px; font-size: .9rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.btn-google { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-google:hover { background: var(--mist); color: var(--ink); border-color: var(--ink); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.otp-input { font-size: 1.8rem !important; letter-spacing: .4em; text-align: center; font-weight: 600; height: 64px !important; }
.signed-in { margin: -6px 0 14px; font-size: .9rem; color: var(--ink-2); }

/* account */
.account-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .account-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.account-nav { display: grid; gap: 4px; position: sticky; top: 110px; }
.account-nav a, .account-nav button { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 12px; color: var(--ink-2); text-decoration: none; font-weight: 500; background: none; border: 0; cursor: pointer; width: 100%; text-align: left; font-size: .95rem; }
.account-nav a:hover, .account-nav button:hover { background: var(--mist); color: var(--ink); }
.account-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
@media (max-width: 860px) { .account-nav { position: static; display: flex; overflow-x: auto; } .account-nav a, .account-nav button { white-space: nowrap; width: auto; } .account-nav form { flex: 0 0 auto; } }
.section-title { font-size: 1.2rem; margin-bottom: 14px; }
.order-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.order-row { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 16px; align-items: center; padding: 12px 16px 12px 12px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; }
.order-row:hover { border-color: var(--ink); }
.order-row .line-img { width: 64px; height: 64px; }
.order-row-main { display: grid; }
.order-row-total { font-weight: 600; }
@media (max-width: 600px) { .order-row { grid-template-columns: 56px 1fr auto; } .order-row .status-pill { grid-column: 2; justify-self: start; } .order-row-total { grid-row: 1; grid-column: 3; } .order-row .line-img { width: 56px; height: 56px; } }
.address-card { background: var(--mist); border-radius: 16px; padding: 18px 20px; font-size: .92rem; line-height: 1.7; }
.panel-form { max-width: 640px; }
.progress-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 22px; padding: 0; counter-reset: s; }
.progress-steps li { position: relative; text-align: center; font-size: .82rem; color: var(--muted); padding-top: 34px; }
.progress-steps li span { position: absolute; top: 0; left: 50%; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: #fff; border: 2px solid var(--line); z-index: 1; }
.progress-steps li::before { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.progress-steps li:first-child::before { display: none; }
.progress-steps li.done span, .progress-steps li.current span { background: var(--sun); border-color: var(--sun-deep); }
.progress-steps li.done::before, .progress-steps li.current::before { background: var(--sun-deep); }
.progress-steps li.current { color: var(--ink); font-weight: 600; }
.track-box { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; background: #fff; border-radius: 14px; padding: 14px 16px; font-size: .9rem; margin-bottom: 8px; }
.two-addr { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.two-addr h2 { font-size: 1rem; margin-bottom: 6px; }
@media (max-width: 600px) { .two-addr { grid-template-columns: 1fr; } }

/* policy pages */
.page-article { max-width: 760px; margin: 8px 0 0; }
.page-article h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.page-article .prose { margin-top: 24px; }
.prose table { border-collapse: collapse; width: 100%; margin: 16px 0; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }

/* v4 fixes: mobile header in one row, qty badge not clipped */
.line-img { overflow: visible; }
.line-img img { border-radius: 12px; }
@media (max-width: 760px) {
  .header-tools [data-cart-open] { display: none; }
  .logo img { height: 34px; }
  .header-row { flex-wrap: wrap; }
  .header-tools { margin-left: auto; }
  .currency-form select { height: 36px; padding: 0 26px 0 10px; font-size: .82rem; background-position: right 9px center; }
}

/* ---------- Multivendor (Step 5) ---------- */
.sold-by { margin: -4px 0 12px; color: var(--muted); font-size: .88rem; }
.sold-by a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sell-hero .hero-grid { align-items: start; }
.sell-card { max-width: 460px; width: 100%; margin: 0; justify-self: end; }
.sell-card h2 { margin: 0 0 6px; }
@media (max-width: 860px) { .sell-card { justify-self: stretch; max-width: none; } }

/* ---------- Reviews (Step 7) ---------- */
.stars { position: relative; display: inline-block; line-height: 0; vertical-align: -2px; }
.stars svg { fill: currentColor; margin-right: 1px; }
.stars-bg { color: #E4E3D6; white-space: nowrap; }
.stars-fg { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: #F2A900; }
.rating-link { display: inline-flex; align-items: center; gap: 6px; margin: -2px 0 12px; color: var(--ink); text-decoration: none; font-size: .92rem; }
.rating-link > span:last-child { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.card-rating { display: flex; align-items: center; gap: 4px; margin: 2px 0 4px; font-size: .78rem; }
.card-rating > span:last-child { color: var(--muted); }
.reviews-section { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.reviews-section > h2 { margin: 0 0 20px; }
.reviews-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; align-items: start; }
.reviews-summary { position: sticky; top: 100px; background: var(--mist); border-radius: 20px; padding: 24px; }
.reviews-score { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.reviews-score b { font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; }
.reviews-score span { color: var(--muted); }
.reviews-dist { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: .82rem; }
.reviews-dist li { display: grid; grid-template-columns: 34px 1fr 28px; gap: 8px; align-items: center; }
.reviews-dist .bar { height: 8px; background: #fff; border-radius: 99px; overflow: hidden; }
.reviews-dist .bar span { display: block; height: 100%; background: #F2A900; border-radius: 99px; }
.reviews-dist .n { text-align: right; color: var(--muted); }
.reviews-sort { display: flex; justify-content: flex-end; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.reviews-sort select { height: 36px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 10px; background: #fff; }
.review { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.review-title { font-size: .98rem; }
.review-meta { margin: 6px 0 8px; font-size: .82rem; color: var(--muted); }
.review-meta b { color: var(--ink); }
.verified { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; color: var(--ok); font-weight: 600; }
.review-body { margin: 0; line-height: 1.65; overflow-wrap: anywhere; }
.review-photo img { margin-top: 10px; width: 96px; height: 96px; object-fit: cover; border-radius: 12px; }
.review-reply { margin-top: 12px; padding: 12px 14px; background: var(--mist); border-radius: 12px; font-size: .9rem; }
.review-reply p { margin: 4px 0 0; }
[data-review-more] { margin-top: 18px; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; gap: 20px; } .reviews-summary { position: static; } }

.review-page { max-width: 760px; padding-top: 32px; padding-bottom: 48px; }
.review-item { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; margin-top: 18px; scroll-margin-top: 90px; }
.review-item-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.review-item-head img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--mist); }
.review-done { margin: 6px 0 0; display: flex; align-items: center; gap: 8px; color: var(--ok); font-size: .9rem; }
.review-form { display: grid; gap: 4px; }
.star-input { border: 0; padding: 0; margin: 0 0 10px; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-label { margin: 4px 0 2px; font-weight: 600; font-size: .9rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { cursor: pointer; color: #E4E3D6; line-height: 0; padding: 2px; border-radius: 8px; }
.star-input label svg { fill: currentColor; transition: transform .1s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #F2A900; }
.star-input input:focus-visible + label { outline: 2px solid var(--blue); }
.star-input label:active svg { transform: scale(.9); }

/* ---------- Blog (Step 8) ---------- */
.blog-wrap, .post-wrap { padding-bottom: 56px; }
.blog-head { margin: 8px 0 28px; max-width: 680px; }
.blog-head h1 { margin: 0 0 8px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -28px rgba(29,31,7,.45); }
.post-card-media { aspect-ratio: 3 / 2; background: var(--mist); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-body { padding: 16px 18px 20px; display: grid; gap: 6px; }
.post-card-body time { font-size: .78rem; color: var(--muted); }
.post-card-body h2, .post-card-body h3 { font-size: 1.05rem; line-height: 1.35; margin: 0; }
.post-card-body p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.post-article { max-width: 760px; margin: 8px auto 0; }
.post-article header h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; margin: 0 0 10px; }
.post-cover { width: 100%; height: auto; border-radius: 20px; margin: 18px 0 8px; display: block; background: var(--mist); }
.post-article .prose img { max-width: 100%; height: auto; border-radius: 14px; }
.post-article .prose h2 { scroll-margin-top: 90px; }
.post-article .prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.post-article .prose td, .post-article .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.post-cta { max-width: 760px; margin: 40px auto 0; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; background: var(--sun-soft); border-radius: 20px; padding: 24px; }
.post-cta h2 { margin: 0 0 4px; font-size: 1.2rem; }
.post-cta p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Step 9: product page, cart controls, checkout ---------- */
/* রঙের swatch */
.is-swatches .options { gap: 10px; }
.opt.swatch { min-height: 0; padding: 4px; border-radius: 14px; display: grid; justify-items: center; gap: 4px; width: 74px; text-transform: none; background: #fff; }
.opt.swatch[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 2px var(--sun); }
.swatch-face { width: 62px; height: 62px; border-radius: 10px; background: var(--mist) center / cover no-repeat; border: 1px solid rgba(29,31,7,.12); display: grid; place-items: center; font-size: .75rem; font-weight: 700; color: var(--muted); }
.swatch-name { font-size: .72rem; line-height: 1.2; max-width: 66px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.opt.swatch.is-unavailable { background: #fff; opacity: .45; }
.opt.swatch.is-unavailable .swatch-face { filter: grayscale(.7); }

/* দাম, প্রমাণ, রিভিউ */
.save-note { display: inline-block; margin: 6px 0 0; padding: 4px 10px; border-radius: 999px; background: #FDECEA; color: var(--sale); font-size: .82rem; font-weight: 700; }
.proof-note { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: .86rem; font-weight: 600; color: var(--ok); }
.top-review { margin: 16px 0 4px; padding: 14px 16px; border-left: 3px solid var(--sun); background: #FFFCEB; border-radius: 0 14px 14px 0; }
.top-review blockquote { margin: 6px 0; font-size: .92rem; line-height: 1.55; color: var(--ink); }
.top-review figcaption { font-size: .78rem; color: var(--muted); }
.top-review figcaption a { color: var(--ink); }

/* কেনার বোতাম */
.btn-buy.btn-ghost { background: #fff; }
.btn-buynow { margin-top: 10px; gap: 8px; }
.pay-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 12px 0 0; }
.pay-row span { font-size: .68rem; font-weight: 700; letter-spacing: .02em; color: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; padding: 3px 7px; background: #fff; }

/* ডেলিভারির বাক্স */
.delivery-box { display: flex; gap: 12px; margin: 18px 0 0; padding: 14px 16px; border-radius: 16px; background: var(--blue-soft); }
.delivery-icon { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; background: #fff; color: var(--blue); display: grid; place-items: center; }
.delivery-main { margin: 0; font-size: .95rem; color: var(--ink); }
.delivery-sub { margin: 3px 0 0; font-size: .8rem; color: var(--ink-2); }
.delivery-sub.muted { color: var(--muted); }

/* cart লাইনের নিয়ন্ত্রণ (মোবাইলে বড় করে চাপার জায়গা) */
.line-actions { flex-wrap: wrap; }
.remove-btn { display: inline-flex; align-items: center; gap: 5px; min-height: 38px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: .82rem; font-weight: 600; cursor: pointer; }
.remove-btn:hover, .remove-btn:focus-visible { border-color: var(--sale); color: var(--sale); }
.lines-compact .line-actions { margin-top: 8px; gap: 8px; }
.lines-compact .stepper { height: 34px; }
.lines-compact .stepper button { width: 32px; }
.lines-compact .remove-btn { min-height: 34px; padding: 0 10px; }
.summary .lines { max-height: none; }
.summary-delivery { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #fff; font-size: .84rem; color: var(--ink-2); }
.summary-delivery svg { color: var(--blue); flex: 0 0 auto; }
.drawer-body .line-actions { margin-top: 8px; gap: 8px; }

/* checkout */
.pay-currency { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 12px 0 0; }
.pay-currency label { font-weight: 600; font-size: .9rem; }
.pay-currency select { height: 40px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 10px; background: #fff; font-weight: 600; }
.pay-currency .hint { margin: 0; flex: 1 1 200px; }
.checkout-google { width: 100%; margin: 4px 0 10px; gap: 10px; }
.eta-note { display: inline-flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--blue-soft); }

@media (max-width: 760px) {
  .opt.swatch { width: 66px; }
  .swatch-face { width: 54px; height: 54px; }
  .line { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; }
  .line-img { width: 64px; height: 64px; }
  .line-price { font-size: .9rem; }
}
.mobile-summary-link { display: none; }
@media (max-width: 960px) {
  .mobile-summary-link { display: flex; align-items: center; gap: 8px; margin: -6px 0 18px; padding: 12px 14px; border-radius: 14px; background: var(--mist); color: var(--ink); text-decoration: none; font-size: .9rem; }
  .mobile-summary-link .msl-edit { margin-left: auto; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
  #order-summary { scroll-margin-top: 16px; }
}
.save-note { margin: 10px 0 2px; }
.save-note + .tax-note { margin-top: 8px; }
.swatch-name { text-transform: capitalize; }

/* =====================================================================
   Product page v2 — Step 11
   ===================================================================== */
.kickers { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.kickers:empty { display: none; }
.kicker-market { background: #FFF1E6; color: #93370D; }
.buy-box h1 { margin-bottom: 8px; line-height: 1.18; }
.price-block { margin: 16px 0 0; padding: 16px 18px; border-radius: 18px; background: linear-gradient(135deg, #FFFCEB 0%, #F4F5F0 100%); }
.price-block .price-lg { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.price-block .price-lg .now { font-size: clamp(1.7rem, 3.4vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; }
.price-block .save-note { margin: 8px 0 0; }
.price-block .tax-note { margin: 6px 0 0; }
.market-alert { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: #FFF1E6; color: #7A2E0B; font-size: .88rem; }
.market-alert svg { flex: 0 0 auto; margin-top: 2px; }
.market-alert p { margin: 0; }
.market-alert a { color: inherit; font-weight: 600; }
.opt-count { margin-left: 6px; font-size: .75rem; font-weight: 600; color: var(--muted); background: var(--mist); padding: 2px 8px; border-radius: 999px; }
.option-group.is-swatches .options { gap: 10px; }
.opt { min-height: 46px; }
.opt.swatch { padding: 5px; border-radius: 16px; }
.opt.swatch[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 3px var(--sun); }
.personalize legend { display: flex; align-items: center; gap: 8px; }

/* সুবিধা */
.perks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.perk-icon { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; background: var(--sun-soft); color: var(--ink); }
.perks b { display: block; font-size: .86rem; line-height: 1.3; }
.perks small { display: block; font-size: .75rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.buy-box .top-review { margin-top: 18px; }
.buy-box .short-desc { margin-top: 16px; font-size: .92rem; }

/* বিবরণ + product details কার্ড */
.details-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; margin-top: 64px; }
.details-wrap .details { margin-top: 0; max-width: none; }
.spec-card { position: sticky; top: 140px; padding: 22px; border-radius: var(--r-panel); background: var(--mist); }
.spec-card h2 { font-size: 1.1rem; margin-bottom: 12px; }
.spec-card dl { margin: 0; display: grid; gap: 0; }
.spec-card dl div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .86rem; }
.spec-card dl div:first-child { border-top: 0; }
.spec-card dt { color: var(--muted); }
.spec-card dd { margin: 0; color: var(--ink); font-weight: 500; text-transform: none; overflow-wrap: anywhere; }
.spec-card .meta { margin-top: 14px; }
.spec-help { margin: 8px 0 0; font-size: .8rem; color: var(--muted); }
@media (max-width: 960px) {
  .details-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 44px; }
  .spec-card { position: static; }
}

/* ছবি: জুম লেখা, মোবাইলে সরানো যায় এমন সারি */
.zoom-hint { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.88); font-size: .74rem; font-weight: 600; color: var(--ink-2); opacity: 0; transition: opacity .15s; }
.gallery-main:hover .zoom-hint, .gallery-main:focus-visible .zoom-hint { opacity: 1; }
.gallery-swipe { display: none; }
@media (max-width: 960px) {
  .product-page .breadcrumbs li:last-child { display: none; }
  .product-page .breadcrumbs { margin: 14px 0 10px; }
  .gallery .gallery-main, .gallery .thumbs { display: none; }
  .gallery-swipe { display: block; position: relative; margin: 0 -20px; }
  .swipe-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .swipe-track::-webkit-scrollbar { display: none; }
  .swipe-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; padding: 0; border: 0; background: var(--mist); cursor: zoom-in; }
  .swipe-slide img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
  .gallery-swipe .badge { top: 14px; left: 16px; }
  .swipe-count { position: absolute; top: 14px; right: 16px; padding: 3px 10px; border-radius: 999px; background: rgba(29,31,7,.72); color: #fff; font-size: .74rem; font-weight: 600; }
  .swipe-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
  .swipe-dots span { width: 7px; height: 7px; border-radius: 999px; background: rgba(29,31,7,.25); transition: width .2s, background .2s; }
  .swipe-dots span.is-active { width: 20px; background: var(--ink); }
  .product-layout { gap: 20px; }
}

/* lightbox আগে-পরে */
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; z-index: 2; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* নিচের কেনার বার */
.sticky-thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--mist); flex: 0 0 auto; }
.sticky-info { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.sticky-name { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-info .price { font-size: 1.05rem; font-weight: 700; }
.sticky-buy .btn { flex: 0 0 auto; }

/* সম্প্রতি দেখা */
.recent-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 180px); gap: 14px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.recent-card { display: grid; gap: 8px; text-decoration: none; color: var(--ink); font-size: .85rem; line-height: 1.35; }
.recent-img { aspect-ratio: 1; border-radius: var(--r-img); background: var(--mist); overflow: hidden; }
.recent-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .25s; }
.recent-card:hover .recent-img img { transform: scale(1.04); }
.recent-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* cart-এর লাইনে দেশের নোট */
.line-market { color: #93370D; }
@media (prefers-reduced-motion: reduce) { .swipe-dots span, .recent-img img { transition: none; } }

/* =====================================================================
   Chat সহকারী
   ===================================================================== */
.rk-chat { position: fixed; right: 20px; bottom: 20px; z-index: 45; font-size: .9rem; }
.chat-launcher { display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--ink); color: var(--sun); box-shadow: 0 10px 30px rgba(29,31,7,.28); cursor: pointer; font: inherit; font-weight: 600; transition: transform .15s; }
.chat-launcher:hover { transform: translateY(-2px); }
.chat-launcher-label { color: #fff; }
.rk-chat.is-open .chat-launcher { display: none; }
.chat-teaser { position: absolute; right: 0; bottom: 68px; width: 230px; padding: 12px 30px 12px 14px; border-radius: 16px 16px 4px 16px; background: #fff; box-shadow: 0 12px 34px rgba(29,31,7,.18); animation: chatPop .25s ease; }
.chat-teaser-text { border: 0; background: none; padding: 0; text-align: left; font: inherit; font-weight: 500; color: var(--ink); cursor: pointer; line-height: 1.4; }
.chat-teaser-x { position: absolute; top: 4px; right: 6px; width: 24px; height: 24px; border: 0; background: none; color: var(--muted); font-size: 1.1rem; cursor: pointer; }
@keyframes chatPop { from { opacity: 0; transform: translateY(8px); } }

.chat-panel { position: absolute; right: 0; bottom: 0; width: 380px; height: min(600px, calc(100vh - 40px)); display: flex; flex-direction: column; border-radius: 22px; background: #fff; box-shadow: 0 24px 70px rgba(29,31,7,.28); overflow: hidden; animation: chatPop .2s ease; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; background: var(--ink); color: #fff; }
.chat-avatar { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 1.05rem; }
.chat-title { flex: 1; display: grid; line-height: 1.3; min-width: 0; }
.chat-title span { font-size: .76rem; color: #C9CBBE; display: flex; align-items: center; gap: 6px; }
.chat-dot { width: 7px; height: 7px; border-radius: 99px; background: #3DDC84; display: inline-block; }
.chat-close { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--mist); overscroll-behavior: contain; }
.chat-msg { max-width: 88%; }
.chat-msg p { margin: 0; padding: 10px 13px; border-radius: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.chat-msg.is-bot p { background: #fff; border-bottom-left-radius: 5px; color: var(--ink); }
.chat-msg.is-user { align-self: flex-end; }
.chat-msg.is-user p { background: var(--sun); border-bottom-right-radius: 5px; color: var(--ink); }
.chat-msg a { color: var(--blue); }
.chat-msg.is-note { align-self: center; }
.chat-msg.is-note p { background: none; padding: 0; font-size: .74rem; color: var(--muted); }
.chat-msg.is-chips, .chat-msg.is-form { max-width: 100%; width: 100%; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-quick button { min-height: 34px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: .8rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.chat-quick button:hover { border-color: var(--ink); }
.chat-products { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 8px; overflow-x: auto; margin-top: 8px; padding-bottom: 4px; scrollbar-width: thin; }
.chat-msg .chat-product { position: relative; display: grid; gap: 4px; padding: 6px; border-radius: 14px; background: #fff; text-decoration: none; color: var(--ink); font-size: .76rem; line-height: 1.3; border: 1px solid var(--line); }
.chat-product:hover { border-color: var(--ink); }
.chat-product-img { aspect-ratio: 1; border-radius: 10px; background: var(--mist); overflow: hidden; }
.chat-product-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.chat-product-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chat-product-price s { color: var(--muted); }
.chat-product-tag { position: absolute; top: 10px; left: 10px; padding: 1px 7px; border-radius: 999px; background: var(--sun); font-size: .64rem; font-weight: 700; }
.chat-typing { display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 16px; background: #fff; }
.chat-typing i { width: 6px; height: 6px; border-radius: 99px; background: #A9AB9C; animation: chatDot 1s infinite ease-in-out; }
.chat-typing i:nth-child(2) { animation-delay: .15s; }
.chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.chat-lead { display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: #fff; border: 1.5px solid var(--sun); }
.chat-lead p { padding: 0; background: none; }
.chat-lead .chat-lead-title { font-weight: 700; font-size: .95rem; }
.chat-lead .chat-lead-sub { font-size: .8rem; color: var(--muted); margin-top: -4px; }
.chat-lead input:not([type="checkbox"]) { width: 100%; height: 42px; padding: 0 12px; border: 1.5px solid #D5D7CB; border-radius: 10px; font: inherit; font-size: .88rem; background: #fff; }
.chat-lead input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(249,205,23,.45); }
.chat-lead-ok { display: flex; gap: 8px; align-items: flex-start; font-size: .76rem; color: var(--ink-2); line-height: 1.4; }
.chat-lead-ok input { margin-top: 2px; width: 16px; height: 16px; flex: 0 0 auto; }
.chat-lead .chat-lead-err { color: var(--sale); font-size: .8rem; }
.chat-lead-actions { display: flex; gap: 8px; }
.chat-lead-send { flex: 1; height: 42px; border: 0; border-radius: 999px; background: var(--sun); font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
.chat-lead-send:disabled { opacity: .6; }
.chat-lead-skip { height: 42px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: .82rem; color: var(--ink-2); cursor: pointer; }
.chat-wa { font-size: .8rem; font-weight: 600; color: #128C4A; text-align: center; }

.chat-input { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-input textarea { flex: 1; min-height: 44px; max-height: 110px; padding: 11px 14px; border: 1.5px solid #D5D7CB; border-radius: 22px; resize: none; font: inherit; font-size: .9rem; line-height: 1.4; }
.chat-input textarea:focus { outline: none; border-color: var(--ink); }
.chat-send { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border: 0; border-radius: 999px; background: var(--ink); color: var(--sun); cursor: pointer; }
.chat-foot { margin: 0; padding: 0 12px 10px; background: #fff; font-size: .68rem; color: var(--muted); text-align: center; }
.chat-foot a { color: var(--muted); }

@media (max-width: 760px) {
  .rk-chat { right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  body:has(.sticky-buy.is-visible) .rk-chat:not(.is-open) { bottom: calc(146px + env(safe-area-inset-bottom)); }
  .chat-launcher { width: 54px; height: 54px; padding: 0; justify-content: center; }
  .chat-launcher-label { display: none; }
  .chat-teaser { bottom: 64px; }
  .rk-chat.is-open { inset: 0; right: 0; bottom: 0; z-index: 80; }
  .chat-panel { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; }
  .chat-head { padding-top: calc(12px + env(safe-area-inset-top)); }
  .chat-input { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .chat-input textarea { font-size: 16px; } /* iPhone-এ zoom হয় না */
  body.chat-locked { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .chat-panel, .chat-teaser, .chat-typing i { animation: none; } .chat-launcher { transition: none; } }
@media print { .rk-chat { display: none; } }

/* =====================================================================
   Checkout v2 — সহজ, মোবাইলে মসৃণ
   ===================================================================== */
.checkout-main, .summary { min-width: 0; }
.signed-in, .signed-card, .summary, .checkout-main { overflow-wrap: anywhere; } /* লম্বা gmail ঠিকানায় মোবাইল পেজ চওড়া হয় না */
.signed-card { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--mist); }
.signed-card > div { display: grid; min-width: 0; line-height: 1.35; }
.signed-email { font-weight: 600; overflow-wrap: anywhere; }
.signed-avatar { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--sun); font-weight: 700; }
.or-line { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; color: var(--muted); font-size: .82rem; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.phone-wrap { display: flex; align-items: stretch; border: 1.5px solid #D5D7CB; border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .12s, box-shadow .12s; }
.phone-wrap:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(249, 205, 23, .45); }
.phone-code { display: grid; place-items: center; padding: 0 12px; background: var(--mist); color: var(--ink-2); font-weight: 600; font-size: .92rem; border-right: 1.5px solid #E3E4DC; }
.phone-code:empty { display: none; }
.field .phone-wrap input { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; flex: 1; min-width: 0; }
.addr-block { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; grid-column: 1 / -1; }
.addr-block[hidden] { display: none; }
.addr-block .field:first-child { grid-column: 1 / -1; }
.postal-status { min-height: 1.1em; color: var(--ok); font-weight: 500; }
.add-field { grid-column: 1 / -1; justify-self: start; margin: -6px 0 0; padding: 4px 0; border: 0; background: none; color: var(--blue); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.add-field:hover { text-decoration: underline; }
.country-hint { color: var(--ok); }
.ship-note { display: flex; gap: 6px; align-items: center; margin: -4px 0 14px; padding: 10px 12px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); }
.inr-suggest { flex-basis: 100%; justify-self: start; text-align: left; padding: 8px 12px; border: 1.5px dashed var(--sun-deep); border-radius: 10px; background: var(--sun-soft); font: inherit; font-size: .85rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.inr-suggest[hidden] { display: none; }
.pay-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(29,31,7,.08); }
.pay-bar > div { display: grid; line-height: 1.2; }
.pay-bar b { font-size: 1.15rem; }
@media (max-width: 960px) {
  .pay-bar:not([hidden]) { display: flex; }
  .checkout-layout { padding-bottom: 72px; }
}
@media (max-width: 600px) {
  .addr-block { grid-template-columns: minmax(0, 1fr); }
  .checkout-main .field input, .checkout-main .field select { font-size: 16px; } /* iPhone-এ zoom হয় না */
}

/* ডিজিটাল product */
.kicker-digital { background: #F1E9FF; color: #5B2DA8; }
.download-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.download-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.download-list .dl-name { flex: 1 1 180px; min-width: 0; overflow-wrap: anywhere; }
.download-list .dl-meta { display: block; font-size: .78rem; color: var(--muted); }
.download-box { margin: 24px 0; padding: 18px; border-radius: var(--r-panel); background: #F7F2FF; }
.download-box h2 { font-size: 1.15rem; margin: 0 0 4px; }

/* =====================================================================
   Listing: ছোট লাইন, ফিল্টার, FAQ
   ===================================================================== */
.listing-sub { margin: 6px 0 4px; font-size: 1.02rem; color: var(--ink-2); max-width: 720px; }
.filters { display: flex; gap: 8px; margin: 18px 0 0; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: .85rem; font-weight: 500; white-space: nowrap; }
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-clear { flex: 0 0 auto; align-self: center; padding: 0 6px; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.category-faq { margin-top: 40px; max-width: 760px; }
.category-faq > h2 { font-size: 1.35rem; margin-bottom: 6px; }
.category-faq .acc summary h3 { font-size: 1rem; margin: 0; }
.category-faq .acc summary { padding: 16px 0; }

/* উপহারের গাইড */
.deadline { display: flex; gap: 12px; align-items: center; margin: 16px 0 0; padding: 14px 16px; border-radius: 16px; background: var(--ok-soft); color: #054F31; }
.deadline > div { display: grid; line-height: 1.4; }
.deadline span:not(.deadline-icon) { font-size: .86rem; }
.deadline-icon { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--ok); }
.deadline.is-late { background: #FFF1E6; color: #7A2E0B; }
.deadline.is-late .deadline-icon { color: #B54708; }
.gift-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; margin-top: 24px; }
@media (max-width: 1024px) { .gift-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } }
.gift-card { display: grid; gap: 6px; text-decoration: none; color: var(--ink); }
.gift-cover { position: relative; aspect-ratio: 1; border-radius: var(--r-panel); background: var(--sun-soft); overflow: hidden; }
.gift-cover img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .3s; }
.gift-card:hover .gift-cover img { transform: scale(1.04); }
.gift-badge { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--sun); font-size: .75rem; font-weight: 700; }
.gift-title { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.gift-meta { font-size: .82rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .gift-cover img { transition: none; } }
.main-nav a.nav-gifts { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; }

/* পেমেন্টের বিকল্প আর উপহার */
.pay-options { display: grid; gap: 10px; }
.pay-option { cursor: pointer; position: relative; }
.pay-option input[type="radio"] { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--ink); margin: 2px 0 0; }
.pay-option:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pay-option.is-disabled { opacity: .6; cursor: not-allowed; }
.gift-options { display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px; background: #FFFCEB; border: 1px dashed var(--sun-deep); }
.gift-options .check { margin: 0; font-size: .9rem; }
.gift-options-title { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; font-weight: 600; }
.pay-options .pay-option { border-color: var(--line); }
.pay-options .pay-option:has(input:checked) { border-color: var(--ink); }
.pay-options .pay-option .pm-icon { background: var(--mist); }
.pay-options .pay-option:has(input:checked) .pm-icon { background: var(--sun); }
.footer-contact { margin-top: 16px; font-style: normal; font-size: .86rem; line-height: 1.6; color: #C9CBBE; }
.footer-contact a { color: #fff; }

/* Product ভিডিও */
.thumb-video { position: relative; }
.thumb-video img { object-fit: cover; mix-blend-mode: normal; }
.play-badge { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(29,31,7,.35); }
.play-badge svg { filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.swipe-slide.is-video { position: relative; }
.swipe-slide.is-video img { object-fit: cover; mix-blend-mode: normal; }
.play-big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: rgba(29,31,7,.75); color: #fff; }
.play-big svg { margin-left: 4px; }
.title-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.watch-video { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: #FDECEA; color: #B42318; font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; }
.watch-video:hover { background: #FAD7D3; }
.video-modal { position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: 56px 16px 16px; background: rgba(29, 31, 7, .92); }
.video-modal[hidden] { display: none; }
.video-close { position: absolute; top: 12px; right: 12px; background: #fff; }
.video-frame { width: min(960px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; }
.video-frame.is-vertical { width: min(420px, 100%); aspect-ratio: 9 / 16; max-height: calc(100vh - 90px); }
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; display: block; }

/* শেয়ার */
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .8rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.share-btn:hover { border-color: var(--ink); color: var(--ink); }
.share-pin { background: #E60023; border-color: #E60023; color: #fff; }
.share-pin:hover { background: #C8001E; border-color: #C8001E; color: #fff; }

/* Size guide */
.size-guide-link { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink, #1d1f07); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.size-guide-row { margin: 4px 0 14px; }
.size-guide-row .size-guide-link { margin-left: 0; }
.size-guide-modal { background: rgba(29, 31, 7, .6); }
.size-guide-box { position: relative; width: min(640px, 100%); max-height: calc(100vh - 80px); overflow: auto; background: #fff; border-radius: 18px; padding: 24px 20px 20px; }
.size-guide-box h2 { margin: 0 40px 12px 0; font-size: 20px; }
.size-guide-close { position: absolute; top: 10px; right: 10px; }
.size-guide-body table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
.size-guide-body th, .size-guide-body td { border-bottom: 1px solid #ece9df; padding: 8px 6px; text-align: left; }
.size-guide-body th { background: #faf8f1; font-weight: 600; }
