/* Disnavia storefront — plain CSS, no build step needed */

:root {
  --yellow: #E2B44A;   /* disnavia gold */
  --yellow-deep: #C99A32;
  --ink: #0E3A2D;      /* disnavia deep green */
  --paper: #FFFFFF;
  --mist: #F2F5F2;
  --line: #DFE6E1;
  --muted: #56635C;
  --green: #1E7A3E;
  --red: #C62828;
  --wa: #1FA855;
  --logo-bg: var(--yellow); /* gold highlight (checkout area choice, qty buttons) */

  --font: "Anek Bangla", "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
  --wrap: 1240px;
  --r-card: 14px;
  --r-btn: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variation-settings: "wdth" 100;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 24px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--yellow); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 18px;
  border: 2px solid var(--ink); border-radius: var(--r-btn);
  font-weight: 600; text-decoration: none; cursor: pointer;
  background: var(--paper); color: var(--ink);
  transition: background-color .15s, color .15s;
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-order, .btn-dark { background: var(--ink); color: var(--paper); }
.btn-order:not(:disabled):hover, .btn-dark:hover { background: var(--yellow); color: var(--ink); }
.btn-outline:hover { background: var(--mist); }
.btn-whatsapp { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: #178a45; }
.btn-big { width: 100%; min-height: 52px; font-size: 1.125rem; }
.btn-small { min-height: 40px; padding: 6px 14px; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--muted); text-decoration: underline; cursor: pointer; }

/* ---------- Header ---------- */
.announce { background: var(--ink); color: var(--yellow); font-size: .9375rem; overflow: hidden; white-space: nowrap; }
.announce strong { color: #fff; font-style: italic; }
/* scrolling text like <marquee>: enters from the right edge, leaves fully on the left, then starts again */
.marquee { display: inline-block; padding-left: 100%; padding-block: 7px; animation: marquee 40s linear infinite; }
.announce:hover .marquee { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .announce { white-space: normal; text-align: center; }
  .marquee { animation: none; display: block; padding-inline: 16px; }
}

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.header-row { display: flex; align-items: center; gap: 12px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: block; line-height: 0; }
.brand-full { width: 156px; height: auto; }
.brand-icon { display: none; width: 40px; height: 40px; }
@media (max-width: 359px) { .brand-full { display: none; } .brand-icon { display: block; } }
@media (min-width: 720px) { .brand-full { width: 210px; } }

.search { display: none; order: 3; flex-basis: 100%; position: relative; }
.search.is-open { display: block; }
.search input {
  width: 100%; height: 46px; padding: 0 48px 0 16px;
  border: 2px solid var(--ink); border-radius: var(--r-btn); background: var(--paper);
}
.search button {
  position: absolute; right: 4px; top: 4px; width: 38px; height: 38px;
  display: grid; place-items: center; border: 0; border-radius: 8px; background: var(--yellow); cursor: pointer;
}
@media (min-width: 900px) {
  .search { display: block; order: 0; flex: 1; flex-basis: auto; max-width: 520px; margin-inline: auto; }
}


.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; border-radius: var(--r-btn); cursor: pointer; }
.icon-btn:hover { background: var(--mist); }
@media (min-width: 900px) { .header-actions .search-toggle { display: none; } }

.cart-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 12px;
  background: var(--yellow); border-radius: 999px; text-decoration: none; font-weight: 700;
}
.cart-pill:hover { background: var(--yellow-deep); }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--ink); color: var(--yellow); font-size: .8125rem; display: grid; place-items: center;
}
.cart-total { font-variant-numeric: tabular-nums; }

.cat-nav { border-top: 1px solid var(--line); }
.cat-nav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 8px; scrollbar-width: none; }
.cat-nav .wrap::-webkit-scrollbar { display: none; }
.cat-nav a { flex: none; padding: 6px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--muted); }
.cat-nav a:hover { color: var(--ink); background: var(--mist); }
.cat-nav a.is-current { background: var(--ink); color: var(--yellow); }

.flash { background: #E8F4EC; color: var(--green); font-weight: 600; }
.flash--error { background: #FBEAEA; color: var(--red); }
.flash .wrap { padding-block: 10px; }

/* ---------- Banner ---------- */
.banner-area { padding-top: 16px; }
.slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-card); }
.slider-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; }
.slide img { width: 100%; height: auto; }

.promo {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 20px; border-radius: var(--r-card);
  background: var(--yellow);
}
.promo-icon { flex: none; width: 56px; height: 56px; }
.promo-title { font-size: clamp(1.375rem, 4.5vw, 2.25rem); font-weight: 800; line-height: 1.15; font-variation-settings: "wdth" 80; }
.promo-sub { margin-top: 4px; max-width: 52ch; }
@media (min-width: 720px) { .promo { padding: 32px 36px; gap: 28px; } .promo-icon { width: 80px; height: 80px; } }

/* ---------- Top categories carousel ---------- */
.cats { margin-top: 24px; padding-block: 20px 24px; background: var(--mist); }
.section-title { font-size: 1.375rem; font-weight: 600; margin-bottom: 14px; }
.cat-carousel { position: relative; }
.cat-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 12px) / 2.4);
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 2px;
}
.cat-track::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .cat-track { grid-auto-columns: calc((100% - 3 * 12px) / 4); } }
@media (min-width: 900px) { .cat-track { grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; } }
@media (min-width: 1140px) { .cat-track { grid-auto-columns: calc((100% - 5 * 16px) / 6); } }
.cat-card {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px;
  padding: 8px 8px 14px; background: var(--paper); border-radius: 8px;
  text-decoration: none; text-align: center; transition: box-shadow .15s;
}
.cat-card:hover { box-shadow: 0 0 0 2px var(--ink); }
.cat-card-img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--mist); }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card-img .bag-art { width: 64%; height: auto; }
.cat-card-name { font-size: .9375rem; line-height: 1.45; padding-inline: 4px; }
.carousel-btn {
  position: absolute; top: 38%; z-index: 2; width: 40px; height: 40px; display: none; place-items: center;
  border: 0; border-radius: 50%; background: var(--ink); color: var(--yellow); cursor: pointer;
  box-shadow: 0 2px 8px rgba(14,58,45,.25);
}
.carousel-btn:hover { background: var(--yellow); color: var(--ink); }
.carousel-btn--prev { left: -12px; }
.carousel-btn--next { right: -12px; }
@media (min-width: 900px) { .carousel-btn { display: grid; } }

/* ---------- Product shelves & grid ---------- */
.shelf { padding-top: 28px; }
.shelf-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink);
}
.shelf-head h2 { font-size: 1.25rem; font-weight: 700; }
.shelf-more {
  flex: none; padding: 4px 14px; border-radius: 999px; background: var(--yellow);
  font-weight: 600; font-size: .9375rem; text-decoration: none;
}
.shelf-more:hover { background: var(--yellow-deep); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1140px) { .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); transition: border-color .15s; }
.card:hover { border-color: var(--yellow); }
.card-media { position: relative; display: block; aspect-ratio: 1; background: var(--mist); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .bag-art { width: 62%; height: 100%; margin-inline: auto; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px 10px; flex: 1; }
.card-title { font-size: .9375rem; font-weight: 500; line-height: 1.4; min-height: 2.8em; }
.card-title a { text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a:hover { text-decoration: underline; }
.card form { margin-top: auto; }
.card .btn-order { width: 100%; margin-top: auto; min-height: 40px; padding: 6px 10px; font-size: .9375rem; }

/* luggage-tag discount label */
.tag {
  position: absolute; top: 8px; left: 0;
  padding: 3px 12px 3px 10px; background: var(--ink); color: var(--yellow);
  font-weight: 700; font-size: .9375rem; font-variant-numeric: tabular-nums;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%);
}
.tag--big { top: 16px; font-size: 1.125rem; padding: 5px 18px 5px 14px; }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price-now { font-weight: 800; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.price-was { color: var(--muted); font-size: .9375rem; font-variant-numeric: tabular-nums; }

/* ---------- Listing pages ---------- */
.page { padding-block: 20px 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: .9375rem; margin-bottom: 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--ink); }
.page-title { font-size: clamp(1.75rem, 5vw, 2.5rem); font-weight: 800; font-variation-settings: "wdth" 85; margin-bottom: 16px; }

.list-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.list-count { color: var(--muted); }
.list-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.list-filters input, .list-filters select {
  height: 40px; padding: 0 10px; border: 1px solid #C9CBD1; border-radius: 8px; background: var(--paper);
}
.list-filters input { width: 110px; }

.empty { padding: 40px 20px; text-align: center; background: var(--mist); border-radius: var(--r-card); }
.empty p { max-width: 46ch; margin: 0 auto 16px; }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; }
.pager-btn, .pager-num {
  min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-variant-numeric: tabular-nums;
}
.pager a:hover { border-color: var(--ink); }
.pager .is-current { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.pager .is-disabled { color: #A3A6AD; }

/* ---------- Product page ---------- */
.pdp { display: grid; gap: 24px; margin-top: 8px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; } }

.gallery-main { position: relative; aspect-ratio: 1; background: var(--mist); border-radius: var(--r-card); overflow: hidden; display: grid; place-items: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .bag-art { width: 62%; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery-thumbs button { flex: none; width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--mist); cursor: pointer; }
.gallery-thumbs button.is-current { border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .gallery { position: sticky; top: 150px; } }

.pdp-title { font-size: clamp(1.5rem, 4.5vw, 2.25rem); font-weight: 700; line-height: 1.25; }
.pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-top: 12px; }
.pdp-price .price-now { font-size: 2rem; }
.pdp-price .price-was { font-size: 1.125rem; }
.saving { background: var(--yellow); padding: 2px 10px; border-radius: 6px; font-weight: 700; font-size: .9375rem; }

.stock { margin-top: 10px; font-weight: 600; color: var(--green); }
.stock--low { color: #A35A00; }
.stock--out { color: var(--red); }

.swatches { margin-top: 20px; }
.swatches-label { color: var(--muted); }
.swatches-label strong { color: var(--ink); }
.swatch-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.swatch {
  width: 40px; height: 40px; border-radius: 50%; background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); position: relative;
}
.swatch.is-current { outline: 3px solid var(--ink); outline-offset: 3px; }
.swatch.is-out::after { content: ""; position: absolute; inset: 50% -2px auto; height: 2px; background: var(--red); transform: rotate(-45deg); }

.pdp-short { margin-top: 18px; color: #24342D; max-width: 60ch; }

.buy-form { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 22px; }
.buy-form .btn-outline { grid-column: 1 / -1; }

.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: var(--r-btn); height: 52px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 1.375rem; cursor: pointer; }
.qty button:hover { background: var(--mist); }
.qty input { width: 44px; height: 100%; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; background: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--small { height: 38px; border-width: 1px; }
.qty--small button { width: 34px; font-size: 1.125rem; }
.qty--small input { width: 36px; }

.alt-order { display: grid; gap: 10px; margin-top: 10px; }

.pdp-section { margin-top: 40px; max-width: 820px; }
.pdp-section h2 { font-size: 1.5rem; font-weight: 800; font-variation-settings: "wdth" 85; margin-bottom: 12px; }
.prose { line-height: 1.75; max-width: 68ch; }
.video { aspect-ratio: 16 / 9; margin-bottom: 16px; border-radius: var(--r-card); overflow: hidden; background: var(--ink); }
.video iframe { width: 100%; height: 100%; border: 0; }

.reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.reviews li { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-card); }
.review-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 4px; }
.stars { color: var(--yellow-deep); letter-spacing: 1px; }
.review-photos { display: flex; gap: 8px; margin-top: 10px; }
.review-photos img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }

/* sticky buy bar on phones */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--line);
}
.buybar .btn { flex: none; min-width: 150px; min-height: 48px; }
.buybar .price-now { display: block; line-height: 1.1; }
body.has-buybar { padding-bottom: 72px; }
@media (min-width: 900px) { .buybar { display: none; } body.has-buybar { padding-bottom: 0; } }

/* ---------- Cart ---------- */
.cart { display: grid; gap: 24px; }
@media (min-width: 900px) { .cart { grid-template-columns: 1fr 340px; align-items: start; } }
.cart-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-thumb { aspect-ratio: 1; background: var(--mist); border-radius: 10px; overflow: hidden; display: grid; place-items: center; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .bag-art { width: 70%; }
.cart-name { font-weight: 600; text-decoration: none; line-height: 1.4; }
.cart-name:hover { text-decoration: underline; }
.cart-unit { color: var(--muted); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.cart-actions { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.cart-line-total { font-weight: 800; font-variant-numeric: tabular-nums; }
.cart-summary { display: grid; gap: 12px; padding: 20px; background: var(--mist); border-radius: var(--r-card); }
@media (min-width: 900px) { .cart-summary { position: sticky; top: 150px; } }
.summary-row { display: flex; justify-content: space-between; font-size: 1.125rem; }
.summary-note { color: var(--muted); font-size: .9375rem; }

/* ---------- Promise strip & footer ---------- */
.promise { margin-top: 48px; background: var(--mist); }
.promise-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding-block: 28px; }
@media (min-width: 900px) { .promise-grid { grid-template-columns: repeat(4, 1fr); } }
.promise-item { display: flex; gap: 12px; align-items: flex-start; }
.promise-item svg { flex: none; width: 34px; height: 34px; padding: 6px; background: var(--yellow); border-radius: 50%; }
.promise-item strong { display: block; line-height: 1.35; }
.promise-item span { color: var(--muted); font-size: .9375rem; line-height: 1.4; display: block; }

.site-footer { background: var(--ink); color: #D9DADD; }
.site-footer :focus-visible { outline-color: var(--yellow); }
.footer-grid { display: grid; gap: 28px; padding-block: 40px 28px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.3fr .8fr 1.4fr 1fr; gap: 36px; } }
.footer-brand img { width: 200px; height: auto; }
.footer-brand p { margin-top: 14px; max-width: 36ch; }
.site-footer h2 { font-size: 1.125rem; color: #fff; margin-bottom: 18px; padding-bottom: 8px; position: relative; }
.site-footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 2px; background: var(--yellow); }
.footer-phone { display: inline-block; margin-top: 2px; font-size: 1.5rem; font-weight: 800; color: var(--yellow); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.site-footer a.footer-phone:hover { color: #fff; }
.site-footer .footer-info { margin-top: 16px; gap: 12px; }
.footer-info li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.footer-info svg { width: 22px; height: 22px; color: var(--yellow); margin-top: 2px; }
.site-footer .social { display: flex; flex-wrap: wrap; gap: 12px; }
.social a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transition: background-color .15s, transform .15s; }
.site-footer .social a:hover { background: var(--yellow); color: var(--ink); transform: translateY(-2px); }
.social svg { width: 22px; height: 22px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom { display: flex; align-items: center; gap: 10px; border-top: 1px solid #1F5141; padding-block: 16px; font-size: .875rem; color: #9A9CA1; }
.footer-bottom img { width: 22px; height: 22px; }

/* ---------- Floating chat ---------- */
.chat-float { position: fixed; right: 14px; bottom: 16px; z-index: 35; display: grid; gap: 10px; }
.has-buybar .chat-float { bottom: 86px; }
@media (min-width: 900px) { .has-buybar .chat-float { bottom: 16px; } }
.chat-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 4px 14px rgba(14,58,45,.25); }
.chat-btn--whatsapp { background: var(--wa); }
.chat-btn--messenger { background: #0866FF; }

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

/* ---------- Sub-category chips (category page) ---------- */
.subcats { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 16px; padding-bottom: 4px; scrollbar-width: none; }
.subcats::-webkit-scrollbar { display: none; }
.subcats a { flex: none; padding: 8px 16px; border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 600; }
.subcats a:hover { background: var(--mist); }
.subcats a.is-current { background: var(--ink); color: var(--yellow); }

/* ---------- Size picker ---------- */
.sizes { grid-column: 1 / -1; border: 0; margin: 0 0 4px; padding: 0; }
.sizes legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.size-row { display: flex; flex-wrap: wrap; gap: 8px; }
.size-pill input { position: absolute; opacity: 0; pointer-events: none; }
.size-pill span {
  display: grid; place-items: center; min-width: 52px; height: 44px; padding: 0 14px;
  border: 2px solid #C9CBD1; border-radius: var(--r-btn); font-weight: 700; cursor: pointer;
}
.size-pill span:hover { border-color: var(--ink); }
.size-pill input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--yellow); }
.size-pill input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.cart-size { font-size: .9375rem; color: var(--muted); }
.cart-size strong { color: var(--ink); }

/* ---------- Checkout ---------- */
.checkout-lead { color: var(--muted); margin: -6px 0 18px; max-width: 60ch; }
.checkout { display: grid; gap: 16px; }
@media (min-width: 900px) { .checkout { grid-template-columns: 1fr 400px; gap: 24px; align-items: start; } }
.checkout-main { display: grid; gap: 16px; }
.panel { border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; background: var(--paper); }
.panel-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 14px; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field label { font-weight: 600; }
.field label span[aria-hidden] { color: var(--red); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #C9CBD1; border-radius: var(--r-btn);
  background: var(--paper); font-size: 1.0625rem;
}
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid var(--yellow); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--red); background: #FFF7F7; }
.field-error { color: var(--red); font-size: .9375rem; font-weight: 500; }
.field--note { margin-top: 16px; }

.form-alert { margin-bottom: 16px; padding: 14px 16px; border-radius: var(--r-btn); background: #FBEAEA; color: var(--red); }
.form-alert ul { margin: 6px 0 0; padding-left: 20px; }

.choice-list { display: grid; gap: 10px; }
@media (min-width: 640px) { .choice-list { grid-template-columns: repeat(2, 1fr); } }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-box {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 56px; padding: 10px 14px 10px 44px; position: relative;
  border: 2px solid #C9CBD1; border-radius: var(--r-btn); cursor: pointer;
}
.choice-box::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border: 2px solid #9A9DA4; border-radius: 50%; background: var(--paper);
}
.choice-box small { display: block; color: var(--muted); font-size: .875rem; }
.choice input:checked + .choice-box { border-color: var(--ink); background: #FBF3DC; }
.choice input:checked + .choice-box::before { border-color: var(--ink); box-shadow: inset 0 0 0 4px var(--paper); background: var(--ink); }
.choice input:focus-visible + .choice-box { outline: 3px solid var(--ink); outline-offset: 2px; }

@media (min-width: 900px) { .checkout-summary { position: sticky; top: 150px; } }
.summary-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.summary-lines li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; }
.success-detail .summary-lines li { grid-template-columns: 1fr auto; }
.summary-thumb { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--mist); display: grid; place-items: center; }
.summary-thumb img { width: 100%; height: 100%; object-fit: cover; }
.summary-thumb .bag-art { width: 72%; }
.summary-name { font-size: .9375rem; line-height: 1.4; }
.summary-name small { display: block; color: var(--muted); font-size: .8125rem; }
.summary-lines strong { font-variant-numeric: tabular-nums; }
.summary-edit { display: inline-block; margin-top: 10px; font-size: .9375rem; color: var(--muted); }

.totals { margin: 16px 0; padding-top: 12px; border-top: 1px dashed #C9CBD1; display: grid; gap: 6px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.totals-grand { padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 1.1875rem; }
.totals-grand dt { color: var(--ink); font-weight: 700; }
.totals-grand dd { font-weight: 800; }
.checkout-summary .btn-order { min-height: 56px; font-size: 1.1875rem; }
.checkout-summary .summary-note { margin-top: 10px; text-align: center; }


/* ---------- One-page checkout (form left, editable order right) ---------- */
.page--checkout { padding-top: 18px; }
.co { display: grid; gap: 16px; }
.co-summary { scroll-margin-top: 140px; }   /* phone: form first, order list below */
.co-mini { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -4px 0 14px; padding: 10px 12px; border-radius: 10px;
           background: var(--mist); color: inherit; text-decoration: none; font-size: .9375rem; }
.co-mini strong { margin-left: auto; font-variant-numeric: tabular-nums; }
.co-mini-link { color: var(--muted); font-size: .875rem; }
@media (min-width: 900px) {
  .co { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  .co-summary { order: 0; position: sticky; top: 150px; }
  .co-mini { display: none; }
}
@media (min-width: 1100px) { .co { grid-template-columns: minmax(0, 1fr) 560px; } }

.co-lead { text-align: center; font-weight: 600; margin-bottom: 16px; line-height: 1.5; }
.co-lead strong { color: var(--red); }
.co-star { color: var(--red); }
.co-form .field label { font-weight: 700; }
.co-form .field input, .co-form .field textarea { background: var(--mist); border-color: var(--line); }
.co-form .field input:focus, .co-form .field textarea:focus { background: var(--paper); }
.co-legend { font-weight: 700; margin-bottom: 8px; }
fieldset.field { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }

.phone-input { display: flex; align-items: stretch; }
.phone-input .phone-prefix {
  display: grid; place-items: center; padding: 0 14px; font-weight: 600; color: var(--muted);
  background: #E5E6EA; border: 1.5px solid var(--line); border-right: 0; border-radius: var(--r-btn) 0 0 var(--r-btn);
}
.phone-input input { border-radius: 0 var(--r-btn) var(--r-btn) 0 !important; }

.zone-list { display: grid; gap: 8px; }
.zone-opt { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; background: #D9DADF; border-radius: 6px; cursor: pointer; font-weight: 500; }
.zone-opt input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.zone-opt:has(input:checked) { background: var(--logo-bg); font-weight: 700; }
.zone-opt:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }

.co-note { margin-bottom: 14px; }
.co-note summary { cursor: pointer; color: var(--muted); font-weight: 600; padding: 4px 0; }
.co-note textarea { width: 100%; margin-top: 8px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--r-btn); background: var(--mist); }
.co-submit { width: 100%; min-height: 56px; font-size: 1.1875rem; }
.co-after { text-align: center; margin-top: 10px; }

.co-sum-title { font-size: 1.5rem; font-weight: 600; text-align: center; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.co-table { display: grid; }
.co-row {
  display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; grid-template-areas: "del prod sub" "del qty sub";
  gap: 8px 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); transition: opacity .15s;
}
.co-row--head { display: none; }
.co-c-del { grid-area: del; }
.co-c-prod { grid-area: prod; display: flex; gap: 10px; align-items: center; min-width: 0; }
.co-c-qty { grid-area: qty; }
.co-c-sub { grid-area: sub; text-align: right; font-variant-numeric: tabular-nums; }
@media (min-width: 560px) {
  .co-row { grid-template-columns: 42px minmax(0, 1fr) 118px 84px; grid-template-areas: "del prod qty sub"; }
  .co-row--head { display: grid; padding: 10px 0; font-weight: 700; font-size: .9375rem; background: var(--mist); border-radius: 6px 6px 0 0; }
  .co-row--head .co-c-qty, .co-row--head .co-c-sub { text-align: center; }
  .co-row--head .co-c-sub { text-align: right; padding-right: 4px; }
}
.co-del { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 8px; background: #FDECEC; color: var(--red); cursor: pointer; }
.co-del:hover { background: var(--red); color: #fff; }
.co-qty { display: inline-flex; align-items: stretch; height: 38px; }
.co-qty button {
  width: 34px; border: 0; background: var(--ink); color: var(--logo-bg); font-size: 1.25rem; font-weight: 700; cursor: pointer;
}
.co-qty button:first-child { border-radius: 8px 0 0 8px; }
.co-qty button:last-child { border-radius: 0 8px 8px 0; }
.co-qty button:hover { background: var(--yellow-deep); color: var(--ink); }
.co-qty input {
  width: 44px; text-align: center; border: 1.5px solid var(--line); border-inline: 0; font-weight: 700; font-size: 1rem;
  -moz-appearance: textfield; appearance: textfield;
}
.co-qty input::-webkit-outer-spin-button, .co-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.co-summary.is-busy .co-table { opacity: .6; pointer-events: none; }
.co-totals { margin-bottom: 8px; border-top: 0; }
.co-totals div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.co-totals .totals-grand { border-bottom: 0; font-size: 1.25rem; }
.co-totals .totals-grand dd { color: var(--red); }
.co-more { display: inline-block; font-weight: 600; color: var(--muted); }
.co-more:hover { color: var(--ink); }

/* ---------- Order success ---------- */
.success { text-align: center; padding: 24px 0 20px; }
.success-mark { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; color: var(--ink); }
.success h1 { font-size: clamp(1.625rem, 5vw, 2.25rem); font-weight: 800; }
.success p { margin: 10px auto 0; max-width: 52ch; }
.success-number { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--mist); }
.success-detail { max-width: 640px; margin: 8px auto 0; }
.success-address { margin-top: 4px; }
.success-actions { text-align: center; margin-top: 20px; }

/* ---------- Back to top ---------- */
.backtop {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; justify-self: end;
  background: var(--ink); color: var(--yellow); text-decoration: none;
  box-shadow: 0 0 0 6px rgba(226, 180, 74, .35), 0 4px 14px rgba(14,58,45,.25);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .2s, transform .2s, visibility .2s, background-color .15s;
}
.backtop[hidden] { display: grid; }
.backtop.is-visible { opacity: 1; visibility: visible; transform: none; }
.backtop:hover { background: var(--yellow); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .backtop { transition: none; transform: none; } }

/* ---------- Logo colours (inline SVG, see components/logo.blade.php) ----------
   The "D" and the word take `color`; the shackle + keyhole take --logo-accent.
   Light backgrounds -> deep green, dark backgrounds -> white. */
:root { --logo-accent: #F5C13A; }
.brand { color: var(--logo-color, var(--ink)); }
.brand .logo { height: auto; }
.brand-icon.logo { height: 40px; width: auto; }
.footer-brand { color: #fff; }
.footer-brand .footer-logo { display: block; width: 200px; height: auto; }

/* ---------- "অর্ডার করুন" button: jumps + glows every 2 s to catch the eye ---------- */
.btn-jump { position: relative; animation: btn-jump 2s ease-in-out infinite; will-change: transform; }
.btn-jump::after {
  content: ""; position: absolute; inset: -3px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 var(--yellow); animation: btn-glow 2s ease-out infinite;
}
@keyframes btn-jump {
  0%, 55%, 100% { transform: translateY(0) scale(1); }
  62% { transform: translateY(-6px) scale(1.02); }
  70% { transform: translateY(0) scale(1); }
  77% { transform: translateY(-3px) scale(1.01); }
  84% { transform: translateY(0) scale(1); }
}
@keyframes btn-glow {
  0%, 55% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--yellow) 70%, transparent); }
  90%, 100% { box-shadow: 0 0 0 12px transparent; }
}
.btn-jump:hover, .btn-jump:focus-visible, .btn-jump:disabled { animation: none; }
.btn-jump:hover::after, .btn-jump:disabled::after { animation: none; }
@media (prefers-reduced-motion: reduce) { .btn-jump, .btn-jump::after { animation: none; } }

/* =====================================================================
   Corrections 1–19 (Nov 2026)
   ===================================================================== */

/* ---------- English: Latin font first ---------- */
html[lang="en"] { --font: "Inter", "Anek Bangla", "Hind Siliguri", system-ui, sans-serif; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hint { color: var(--muted); margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 1.0625rem; margin-bottom: 18px; }
.page--narrow { max-width: 760px; }
.page--doc { max-width: 1000px; }
.page-title--center { text-align: center; }
.btn-ghost { background: none; border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 8px 0; font: inherit; }
.inline-form { display: inline; }
body.no-scroll { overflow: hidden; }

/* ---------- header: track order, hotline, language ---------- */
.menu-toggle { display: inline-grid; }
@media (min-width: 900px) { .menu-toggle { display: none; } }
.track-btn {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px;
  background: var(--ink); color: var(--paper); border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .9375rem; white-space: nowrap;
}
.track-btn:hover { background: var(--yellow-deep); color: var(--ink); }
.track-btn span { display: none; }
@media (min-width: 1100px) { .track-btn span { display: inline; } }
.track-btn svg circle { stroke: var(--ink); }
.hotline { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; padding: 4px 6px; border-radius: 8px; }
.hotline:hover { background: var(--mist); }
.hotline svg { color: #1565C0; flex: none; }
.hotline-text { display: none; line-height: 1.15; }
.hotline-text small { display: block; font-size: .75rem; color: var(--muted); }
.hotline-text strong { font-size: .9375rem; letter-spacing: .02em; }
@media (min-width: 1100px) { .hotline-text { display: block; } }
.lang-switch {
  display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; text-decoration: none;
  font-size: .8125rem; font-weight: 700; color: var(--muted); flex: none;
}
.lang-switch span { padding: 6px 9px; }
.lang-switch span.is-on { background: var(--ink); color: var(--yellow); }
.lang-switch:hover { border-color: var(--ink); }

/* ---------- category menu with dropdowns ---------- */
.cat-nav-head { display: none; }
.cat-menu { list-style: none; margin: 0; display: flex; flex-wrap: wrap; gap: 2px 4px; padding-block: 6px; }
.cat-menu > li { position: relative; display: flex; align-items: center; }
.cat-menu a { display: inline-flex; align-items: center; gap: 4px; padding: 7px 10px; border-radius: 8px; text-decoration: none; font-weight: 600; color: var(--ink); white-space: nowrap; }
.cat-menu a:hover { background: var(--mist); }
.cat-menu a.is-current { color: #1565C0; }
.cat-menu > li.has-sub > a { padding-right: 2px; }
.sub-toggle { border: 0; background: none; padding: 7px 6px 7px 2px; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.sub-menu {
  list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; z-index: 40; min-width: 210px;
  background: var(--paper); border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.14); display: none;
}
.sub-menu a { display: flex; width: 100%; padding: 9px 18px; border-radius: 0; font-weight: 500; color: #3a3d42; }
.sub-menu a:hover { background: var(--mist); color: var(--ink); }
.cat-menu > li.is-expanded > .sub-menu { display: block; }
@media (hover: hover) and (min-width: 900px) {
  .cat-menu > li.has-sub:hover > .sub-menu, .cat-menu > li.has-sub:focus-within > .sub-menu { display: block; }
}
.menu-badge { font-size: .75rem; line-height: 1; margin-left: 2px; }
.menu-badge--new, .menu-badge--sale { background: var(--red); color: #fff; padding: 3px 6px; border-radius: 999px; font-weight: 700; }
.cat-nav .wrap.cat-menu { overflow: visible; }

@media (max-width: 899px) {
  .cat-nav {
    position: fixed; inset: 0 auto 0 0; z-index: 90; width: min(86vw, 340px); background: var(--paper);
    transform: translateX(-102%); transition: transform .25s ease; overflow-y: auto; border: 0; box-shadow: 8px 0 30px rgba(0,0,0,.18);
    padding-top: env(safe-area-inset-top, 0px);
  }
  .cat-nav.is-open { transform: none; }
  .cat-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 1.125rem; }
  .cat-menu { flex-direction: column; flex-wrap: nowrap; padding: 6px 0; }
  .cat-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--mist); }
  .cat-menu > li > a { flex: 1; padding: 13px 16px; border-radius: 0; }
  .sub-toggle { width: 48px; height: 48px; }
  .sub-toggle svg { transition: transform .2s; }
  li.is-expanded > .sub-toggle svg { transform: rotate(180deg); }
  .sub-menu { position: static; box-shadow: none; flex-basis: 100%; padding: 0 0 8px; background: var(--mist); border-radius: 0; }
  .sub-menu a { padding: 11px 28px; }
  .menu-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.45); }
  @media (prefers-reduced-motion: reduce) { .cat-nav { transition: none; } }
}

/* ---------- product card: two buttons ---------- */
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: auto; }
.card .card-actions .btn { width: 100%; min-height: 40px; padding: 6px 6px; font-size: .875rem; gap: 5px; margin: 0; }
.card .card-actions .btn svg { flex: none; }
.btn-cart { background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); }
.btn-cart:hover { background: var(--mist); }
.btn-cart.is-added { background: var(--green); border-color: var(--green); color: #fff; }
@media (max-width: 380px) { .card .card-actions .btn span { font-size: .8125rem; } .card .card-actions .btn svg { display: none; } }
.cart-pill.is-bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.12); } }
.toast {
  position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); z-index: 120;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 10px; font-weight: 600; max-width: 90vw; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- payment chips ---------- */
.pay-logos { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pay-chip { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: .875rem; color: var(--ink); }
.pay-chip img { height: 18px; width: auto; display: block; }
.promise-item--pay { flex-direction: column; align-items: flex-start; gap: 6px; }
.co-trust { display: flex; justify-content: center; margin-top: 12px; }

/* ---------- checkout: promo, free delivery, notes ---------- */
.co-pay { display: flex; align-items: center; gap: 10px; font-weight: 700; margin: 4px 0 10px; }
.co-pay-dot { width: 18px; height: 18px; border-radius: 50%; border: 5px solid #1565C0; flex: none; }
.co-delivery-note { margin: 0 0 12px; color: var(--ink); }
.zone-free { display: block; font-size: .8125rem; font-weight: 600; color: var(--green); }
.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; min-width: 0; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-btn); background: var(--paper); font: inherit; text-transform: uppercase; }
.promo-row .btn { min-height: 50px; padding: 0 22px; font-size: 1.0625rem; }
.promo-applied { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-radius: var(--r-btn); background: #E8F4EC; color: var(--green); font-weight: 600; margin: 0; }
.promo-remove { border: 0; background: none; color: var(--muted); font-size: 1.125rem; cursor: pointer; padding: 0 4px; }

.free-bar { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #FFF8E1; }
.free-bar p { margin: 0 0 6px; font-weight: 700; }
.free-track { display: block; height: 8px; background: rgba(0,0,0,.08); border-radius: 999px; overflow: hidden; }
.free-fill { display: block; height: 100%; width: 0; background: var(--yellow-deep); transition: width .3s; }
.free-bar.is-done { background: #E8F4EC; color: var(--green); }
.free-bar.is-done .free-fill { background: var(--green); }
.co-totals del { color: var(--muted); font-weight: 400; margin-right: 4px; }
.summary-name del { color: var(--muted); }
.mini-faq { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.mini-faq h3, .mini-faq h2 { font-size: 1.0625rem; margin-bottom: 6px; }
.mini-faq details, .faq-list details { border-bottom: 1px solid var(--line); }
.mini-faq summary, .faq-list summary { cursor: pointer; padding: 10px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.mini-faq summary::after, .faq-list summary::after { content: "+"; font-size: 1.25rem; line-height: 1; color: var(--muted); }
.mini-faq details[open] summary::after, .faq-list details[open] summary::after { content: "−"; }
.mini-faq summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.mini-faq .prose, .faq-list .prose { padding: 0 0 12px; color: #33363b; }

/* ---------- product & category ---------- */
.pdp-free { margin: 6px 0 0; font-weight: 600; color: var(--green); }
.pdp-offer-ends { margin: 4px 0 0; color: var(--red); font-weight: 600; font-size: .9375rem; }
.buy-form .btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.cat-offer { margin: -4px 0 16px; padding: 10px 14px; border-radius: 10px; background: #FFF3E0; color: #8A4B00; font-weight: 700; }

/* ---------- track order ---------- */
.track-form .btn { width: 100%; }
.track-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 16px; }
.track-no { font-size: 1.5rem; font-weight: 800; letter-spacing: .02em; margin: 0; }
.track-head p { margin: 0; }
.track-status { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #E3F2FD; color: #0D47A1; font-weight: 700; white-space: nowrap; }
.track-status.is-done { background: #E8F4EC; color: var(--green); }
.track-status.is-bad { background: #FDECEC; color: var(--red); }
.track-alert { padding: 12px 14px; border-radius: 10px; background: #FDECEC; color: #8E1C1C; }
.timeline-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 0; }
.timeline-steps li { position: relative; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; color: var(--muted); }
.timeline-steps li::before { content: ""; position: absolute; left: 16px; top: -50%; height: 100%; width: 2px; background: var(--line); z-index: 0; }
.timeline-steps li:first-child::before { display: none; }
.timeline-steps li.is-done::before { background: var(--green); }
.timeline-steps .dot { position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); display: grid; place-items: center; font-weight: 800; }
.timeline-steps li.is-done { color: var(--ink); }
.timeline-steps li.is-done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.timeline-steps li.is-current .step-label { font-weight: 800; }
.step-date { font-size: .875rem; color: var(--muted); }
.track-courier { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 10px; background: #FFF8E1; margin-bottom: 16px; }
.track-courier p { margin: 0; }
.track-sub { font-size: 1.125rem; margin: 10px 0 8px; }
.track-items { list-style: none; margin: 0 0 8px; padding: 0; }
.track-items li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.track-links { margin-top: 14px; color: var(--muted); }

/* ---------- info pages ---------- */
.doc { font-size: 1.0625rem; line-height: 1.75; }
.doc h3 { font-size: 1.1875rem; margin: 18px 0 6px; }
.doc ol, .doc ul { padding-left: 1.4em; margin: 0 0 12px; }
.doc li { margin-bottom: 6px; }
.stat-cards { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 760px) { .stat-cards { grid-template-columns: repeat(4, 1fr); } }
.stat-cards li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
.stat-icon { grid-row: span 2; font-size: 1.75rem; }
.stat-cards strong { font-size: 1.75rem; line-height: 1.1; }
.stat-cards span:last-child { color: var(--muted); }
.faq-list { margin-top: 8px; }
.faq-more { margin-top: 20px; text-align: center; color: var(--muted); }

/* ---------- complaint box (Google Form look) ---------- */
.gform { display: grid; gap: 12px; }
.gform-note { margin: 0; color: var(--red); }
.req { color: var(--red); }
.gq { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.gq label { display: block; font-size: 1.0625rem; margin-bottom: 12px; }
.gq input[type="text"], .gq input[type="tel"], .gq textarea {
  width: 100%; border: 0; border-bottom: 1.5px solid var(--line); border-radius: 0; padding: 8px 0; background: none; font: inherit;
}
.gq input:focus, .gq textarea:focus { outline: none; border-bottom-color: var(--ink); }
.gq input[type="file"] { font: inherit; }
.gform-actions { display: flex; justify-content: space-between; gap: 10px; }
.done-box { text-align: center; }
.done-icon { width: 56px; height: 56px; margin: 0 auto 8px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 1.75rem; font-weight: 800; }

/* ---------- my account ---------- */
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.account-head p { margin: 2px 0 0; }
.account-orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.account-orders li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.account-orders p { margin: 4px 0 0; }
.account-order-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }

/* ---------- footer columns ---------- */
.footer-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand .social { margin-top: 14px; }
.footer-ask { display: block; font-size: .875rem; opacity: .8; }

.cat-nav .cat-menu a.is-current { background: none; color: #1565C0; }
.promise-item--pay .pay-logos { display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px; }
.promise-item--pay .pay-chip { display: inline-flex; }
.promise-item .pay-chip svg { width: 18px; height: 18px; padding: 0; margin: 0; background: none; border-radius: 0; color: var(--ink); flex: none; }
.promise-item .pay-chip { color: var(--ink); font-size: .875rem; }

/* ---- fix: category menu lines up with the page content ---- */
@media (min-width: 900px) {
  .cat-nav .wrap.cat-menu { margin-inline: auto; padding-inline: 24px; overflow: visible; }
  .cat-menu > li:first-child > a { padding-left: 0; }
}

/* ---- fix: card buttons — stacked on narrow cards, side by side when there is room ---- */
.card-body { container-type: inline-size; }
.card-actions { grid-template-columns: 1fr; gap: 6px; }
.card .card-actions .btn { min-height: 38px; padding: 6px 10px; font-size: .9375rem; white-space: nowrap; border-radius: 8px; }
.card .card-actions .btn span { overflow: hidden; text-overflow: ellipsis; }
.card .card-actions .btn-order { order: -1; }           /* "অর্ডার করুন" first when stacked */
.card .card-actions .btn-cart { border-width: 1.5px; }
@container (min-width: 250px) {
  .card-actions { grid-template-columns: 1fr 1fr; }
  .card .card-actions .btn-order { order: 0; }
}

/* real payment logos */
.pay-chip.has-logo { padding: 0 8px; background: #fff; }
.pay-chip.has-logo img { height: 22px; width: auto; }
/* payment logos: compact so all fit on one line */
.pay-logos { gap: 4px; }
.pay-chip.has-logo { height: 28px; padding: 0 6px; border-radius: 5px; }
.pay-chip.has-logo img { height: 18px; }
.pay-chip--mastercard.has-logo img, .pay-chip--rocket.has-logo img { height: 22px; }
.pay-chip.has-logo { height: 26px; padding: 0 4px; }
.pay-chip.has-logo img { height: 16px; }
.pay-chip--mastercard.has-logo img, .pay-chip--rocket.has-logo img { height: 20px; }

/* checkout promo code — collapsible (its own class, so the home-page yellow .promo banner style can't leak in) */
.promo-code { margin: 4px 0 14px; border: 1.5px dashed var(--line); border-radius: var(--r-btn); background: var(--paper); }
.promo-code > summary { cursor: pointer; list-style: none; padding: 12px 14px; font-weight: 600; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.promo-code > summary::-webkit-details-marker { display: none; }
.promo-code > summary::before { content: "🏷️"; }
.promo-code > summary span { flex: 1; }
.promo-code > summary::after { content: "⌄"; font-size: 1.25rem; line-height: 1; color: var(--muted); transition: transform .2s; }
.promo-code[open] > summary::after { transform: rotate(180deg); }
.promo-code[open] { border-style: solid; }
.promo-body { padding: 0 14px 14px; }
.promo-code .field-error { margin: 8px 0 0; }
.promo-code [hidden] { display: none !important; }
.promo-applied .link-btn { padding: 0; color: var(--red); font-weight: 600; text-decoration: none; }

/* ---------- offer countdown ---------- */
.countdown { display: inline-flex; align-items: flex-start; gap: 4px; font-variant-numeric: tabular-nums; }
.cd-unit { display: grid; justify-items: center; gap: 3px; }
.cd-digits { display: inline-flex; gap: 3px; }
.cd-digits b { display: grid; place-items: center; border-radius: 6px; background: var(--ink); color: var(--paper); font-weight: 800; line-height: 1; }
.cd-unit small { font-size: .6875rem; color: var(--muted); line-height: 1; }
.cd-sep { font-weight: 800; color: var(--muted); }
.countdown--sm .cd-digits b { width: 22px; height: 28px; font-size: 1rem; background: var(--green); }
.countdown--sm .cd-sep { line-height: 28px; }
.countdown--lg .cd-digits b { width: 34px; height: 42px; font-size: 1.375rem; }
.countdown--lg .cd-sep { line-height: 42px; font-size: 1.25rem; }
@media (max-width: 420px) { .countdown--lg .cd-digits b { width: 28px; height: 36px; font-size: 1.125rem; } .countdown--lg .cd-sep { line-height: 36px; } }

.offer-bar { background: #E3F4E6; border-bottom: 1px solid #C8E8CF; }
.offer-bar[hidden] { display: none; }
.offer-bar-inner { display: flex; align-items: center; justify-content: center; gap: 14px 18px; flex-wrap: wrap; padding-block: 8px; position: relative; padding-right: 40px; }
.offer-bar-text { margin: 0; font-weight: 600; }
.offer-bar-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 20px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.offer-bar-btn:hover { filter: brightness(1.08); }
.offer-bar-close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; font-size: 1.125rem; color: var(--muted); cursor: pointer; padding: 6px; }
@media (max-width: 600px) { .offer-bar-inner { gap: 8px 12px; } .offer-bar-text { width: 100%; text-align: center; font-size: .9375rem; } }

.pdp-timer { margin: 14px 0 6px; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 12px; display: grid; gap: 10px; }
.pdp-timer[hidden] { display: none; }
.pdp-timer-title { margin: 0; font-weight: 800; color: var(--green); font-size: 1.125rem; }
.pdp-sold { display: grid; gap: 4px; }
.pdp-sold-track { display: block; height: 10px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.pdp-sold-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--yellow-deep), var(--red)); border-radius: 999px; }
.pdp-sold-text { font-size: .875rem; font-weight: 700; color: var(--red); text-align: right; }

/* ---------- size chart (above the description) ---------- */
.size-chart-link { display: block; max-width: 760px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.size-chart-link img { display: block; width: 100%; height: auto; }
.size-chart p { margin-top: 6px; }

/* footer bottom: small inline logo — white D, gold lock (no image file to go stale) */
.footer-bottom .footer-mini-logo { width: 22px; height: 26px; flex: none; color: #FFFFFF; --logo-accent: #E2B44A; display: block; }

/* form-level error box (affiliate / complaint) */
.alert--error { background: #FBEAEA; color: var(--red); border-radius: 10px; padding: 10px 14px; font-weight: 600; margin: 0 0 14px; }

/* ---------- reviews: average, reply, form ---------- */
.review-avg { display: flex; align-items: center; gap: 8px; margin: -4px 0 12px; }
.review-avg .stars, .reviews .stars { color: #F59E0B; letter-spacing: 1px; }
.review-verified { font-size: .8125rem; font-weight: 600; color: var(--green); }
.review-reply { margin: 8px 0 0; padding: 8px 10px; background: var(--mist); border-left: 3px solid var(--yellow); border-radius: 4px; font-size: .9375rem; }
.review-thanks { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #E8F4EC; color: var(--green); font-weight: 600; }
.review-form-box { margin-top: 16px; }
.review-form-box > summary { list-style: none; display: inline-flex; cursor: pointer; }
.review-form-box > summary::-webkit-details-marker { display: none; }
.review-form { display: grid; gap: 12px; margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-card); max-width: 640px; }
.review-row { display: grid; gap: 12px; }
@media (min-width: 600px) { .review-row { grid-template-columns: 1fr 1fr; } }
.rate-pick { border: 0; padding: 0; margin: 0; }
.rate-pick legend { font-weight: 700; margin-bottom: 4px; padding: 0; }
.rate-stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rate-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-pick label { font-size: 32px; line-height: 1; color: #D1D5DB; cursor: pointer; padding: 0 2px; }
.rate-stars input:checked ~ label, .rate-stars label:hover, .rate-stars label:hover ~ label { color: #F59E0B; }
.rate-pick input:focus-visible + label { outline: 3px solid #F59E0B; outline-offset: 2px; border-radius: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
/* size with no stock: crossed out, can't be picked */
.size-pill--out span { opacity: .5; text-decoration: line-through; cursor: not-allowed; background: #F3F4F6; }
.size-pill--out span small, .size-pill span small { text-decoration: none; display: inline-block; font-size: .7rem; font-weight: 600; margin-left: 2px; }

/* ---------- product page: rating summary ---------- */
/* small Daraz-style line under the title: ★★★★☆ Ratings 7 | রিভিউ লিখুন */
.pdp-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 6px 0 12px; font-size: .875rem; line-height: 1.4; }
.pdp-rating a { color: #1A73C9; text-decoration: none; }
.pdp-rating a:hover { text-decoration: underline; }
.pdp-rating-sep { color: #C9CBD1; }
/* stars filled to an exact %: grey row underneath, gold row clipped on top */
.star-rate { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 1px; color: #D1D5DB; white-space: nowrap; }
.star-rate::before { content: "★★★★★"; }
.star-rate::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--rate, 0%); overflow: hidden; color: #F59E0B; }
.pdp-reviews h2 .muted { font-weight: 600; font-size: 1.125rem; }
.review-summary { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; margin-bottom: 8px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-card); }
.review-score { display: grid; justify-items: center; gap: 2px; min-width: 110px; }
.review-score strong { font-size: 2.5rem; line-height: 1; font-weight: 800; }
.review-score .stars { color: #F59E0B; font-size: 1.125rem; letter-spacing: 1px; }
.review-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; flex: 1 1 220px; max-width: 380px; font-size: .875rem; }
.review-bars li { display: grid; grid-template-columns: 30px 1fr 28px; gap: 8px; align-items: center; }
.review-bar { height: 8px; background: var(--mist, #F1F2F4); border-radius: 999px; overflow: hidden; }
.review-bar span { display: block; height: 100%; background: #F59E0B; border-radius: 999px; }
.pdp-reviews .reviews { margin-top: 16px; }
.reviews li time { margin-left: auto; }
.review-more { margin-top: 12px; }
.review-more > summary { list-style: none; display: inline-flex; cursor: pointer; }
.review-more > summary::-webkit-details-marker { display: none; }
.review-more[open] > summary { display: none; }
.review-more .reviews { margin-top: 0; }
.review-photos a { display: block; }
.rate-pick .req { color: var(--red); }

/* ---------- star rating on product cards (components/card-rating) ---------- */
.card-rating { display: inline-flex; align-items: center; gap: 4px; font-size: .8125rem; line-height: 1; text-decoration: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-rating .star-rate { font-size: 13px; letter-spacing: 0; }
.card-rating-num { font-weight: 700; color: var(--ink); }
.card-rating:hover .card-rating-count { text-decoration: underline; }
