/* ==========================================================================
   বঙ্গ ঘর · Bongo Ghor — Main Stylesheet
   Design system per spec: green #1e73be, yellow #F5B700, footer #1e73be
   Font: Hind Siliguri. Mobile-first.
   ========================================================================== */

:root {
  --bg-green: #1e73be;
  --accent-yellow: #F5B700;
  --hero-yellow: #FFF7D6;
  --trust-green: #e7eef5;
  --footer-green: #1e73be;
  --wa-green: #128C4A;
  --msgr-blue: #1D4ED8;
  --img-bg: #f3f6f9;
  --ink: #1a1a1a;
  --ink-soft: #4a5568;
  --line: #e5e7eb;
  --white: #ffffff;
  --radius-card: 10px;
  --radius-field: 9px;
  --radius-btn: 9px;
  --radius-chip: 8px;
  --radius-pill: 8px;
  --shadow-card: 0 1px 2px rgba(13,40,63,.05);
  --shadow-hover: 0 3px 10px rgba(30,115,190,.10);
  --maxw: 1240px;
  --btn-h: 46px;
  --btn-h-primary: 54px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Announcement bar ---------- */
.topbar {
  background: var(--bg-green);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.topbar .dot { opacity: .6; margin: 0 6px; }
@media (max-width: 640px) {
  .topbar { font-size: 12px; padding: 7px 12px; line-height: 1.4; }
}

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }

.header-main {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 58px; width: auto; }
.brand-logo { height: 52px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text .bn { font-weight: 700; font-size: 22px; color: var(--bg-green); }
.brand-text .en { font-size: 10px; letter-spacing: 2.5px; color: var(--accent-yellow); font-weight: 700; text-transform: uppercase; }

/* search */
.header-search { flex: 1; min-width: 0; }
.search-form {
  display: flex; align-items: center;
  background: #f2f5f7; border: 1px solid #dee5eb;
  border-radius: var(--radius-pill);
  padding: 0 6px 0 16px; height: 48px;
}
.search-form:focus-within { border-color: var(--bg-green); background: #fff; }
.search-form input[type=search] {
  flex: 1; border: 0; background: transparent; outline: none;
  font: inherit; font-size: 15px; color: var(--ink); min-width: 0;
}
.search-form input::placeholder { color: #929ca4; }
.search-form button {
  border: 0; background: transparent; cursor: pointer; padding: 8px;
  display: flex; align-items: center; color: #59636c;
}
.search-form .search-submit { color: var(--bg-green); }

/* ---------- Live search dropdown ---------- */
.bg-live-search { position: relative; }
.bg-ls-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: #fff; border: 1px solid #dee5eb; border-radius: var(--radius-card);
  box-shadow: 0 18px 44px rgba(13,40,63,.16);
  z-index: 60; overflow: hidden; max-height: 74vh; overflow-y: auto;
}
.bg-ls-results[hidden] { display: none; }
.bg-ls-inner { padding: 8px; }
.bg-ls-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: var(--radius-chip); text-decoration: none; color: var(--ink);
}
.bg-ls-item:hover, .bg-ls-item.is-active { background: var(--trust-green); }
.bg-ls-thumb {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: var(--radius-btn);
  background: var(--img-bg); overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.bg-ls-thumb img { width: 100%; height: 100%; object-fit: contain; }
.bg-ls-meta { min-width: 0; }
.bg-ls-title { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bg-ls-price { font-size: 14px; font-weight: 700; color: var(--bg-green); margin-top: 3px; }
.bg-ls-price del { color: #99a2a9; font-weight: 500; font-size: 12.5px; margin-left: 5px; }
.bg-ls-price ins { text-decoration: none; }
.bg-ls-state { padding: 16px; text-align: center; color: var(--ink-soft); font-size: 14px; }
.bg-ls-more {
  display: block; text-align: center; padding: 12px; font-weight: 700; font-size: 14px;
  color: var(--bg-green); border-top: 1px solid #ecf0f4; text-decoration: none;
}
.bg-ls-more:hover { background: var(--trust-green); }
.bg-ls-spinner {
  width: 16px; height: 16px; border: 2px solid #ced8e1; border-top-color: var(--bg-green);
  border-radius: 50%; display: inline-block; vertical-align: -3px; margin-right: 8px;
  animation: bg-spin .7s linear infinite;
}
@keyframes bg-spin { to { transform: rotate(360deg); } }
/* On a filled (brand-green) button the spinner inverts to white. */
.btn .bg-ls-spinner { border-color: rgba(255,255,255,.45); border-top-color: #fff; }
.btn-outline .bg-ls-spinner { border-color: rgba(30,115,190,.35); border-top-color: var(--bg-green); }
mark.bg-hl { background: #fff3c4; color: inherit; padding: 0 1px; border-radius: 3px; }

/* header actions */
.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-actions a { color: var(--ink); font-size: 14px; font-weight: 600; }
.header-actions a:hover { color: var(--bg-green); }
.header-cart {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-green); color: #fff !important;
  padding: 0 20px; height: 46px; border-radius: var(--radius-pill);
  font-weight: 700; white-space: nowrap; flex-shrink: 0;
}
.header-cart:hover { background: #185f9e; color: #fff !important; }
.header-cart .count { font-weight: 700; }
.header-track { display: inline-flex; align-items: center; }

.menu-toggle {
  display: none; border: 1px solid var(--line); background: #fff;
  border-radius: var(--radius-btn); width: 44px; height: 44px; cursor: pointer;
  align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--bg-green); padding: 0;
  transition: background .15s, border-color .15s;
}
.menu-toggle:hover { background: var(--trust-green); border-color: #ced8e1; }

/* ---------- Main nav ---------- */
.main-nav { border-top: 1px solid var(--line); background: #fff; }
.main-nav ul {
  display: flex; align-items: center; gap: 6px; list-style: none;
  margin: 0; padding: 0; flex-wrap: wrap;
}
.main-nav a {
  display: inline-block; padding: 14px 16px; font-size: 15px; font-weight: 600;
  color: var(--ink); border-bottom: 3px solid transparent;
}
.main-nav a:hover { color: var(--bg-green); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: var(--bg-green); border-bottom-color: var(--accent-yellow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--btn-h); padding: 0 20px; border-radius: var(--radius-pill);
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  border: 1.5px solid transparent; text-align: center; line-height: 1;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn-primary { background: var(--bg-green); color: #fff; border-color: var(--bg-green); }
.btn svg { flex: 0 0 auto; width: 16px; height: 16px; }
.btn-primary:hover { background: #185f9e; border-color: #185f9e; }
.btn-lg { height: var(--btn-h-primary); font-size: 17px; padding: 0 28px; }
.btn-outline { background: #fff; color: var(--bg-green); border-color: var(--bg-green); }
.btn-outline:hover { background: var(--trust-green); }
.btn-wa { background: #fff; color: var(--bg-green); border-color: var(--bg-green); }
.btn-wa:hover { background: var(--trust-green); }
.btn-wa .wa-ico { width: 18px; height: 18px; }
.btn-wa-solid { background: var(--wa-green); color: #fff; border-color: var(--wa-green); }
.btn-msgr { background: #fff; color: var(--msgr-blue); border-color: var(--msgr-blue); }
.btn-msgr:hover { background: #eff4ff; }
.btn-block { width: 100%; }
.btn-sm { height: 40px; font-size: 14px; padding: 0 16px; }

/* ---------- Section headers ---------- */
.section { padding: 28px 0 8px; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 6px;
}
.section-head h2 { font-size: 22px; font-weight: 700; margin: 0; color: var(--ink); }
.section-head .all-link { color: var(--bg-green); font-weight: 600; font-size: 14px; white-space: nowrap; }
.section-sub { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 18px; }
.section-meta { font-size: 13px; color: var(--ink-soft); margin: 0 0 16px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--trust-green);
  border-radius: var(--radius-card);
  margin: 20px auto 8px;
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr .9fr;
  align-items: center; gap: 24px;
  padding: 34px 40px;
}
.hero-badge {
  display: inline-block; background: var(--bg-green); color: #fff;
  font-size: 13px; font-weight: 700; padding: 7px 16px; border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 40px; line-height: 1.2; font-weight: 700; color: #134b7d;
  margin: 0 0 16px;
}
.hero p { font-size: 16px; color: #3c444b; margin: 0 0 24px; max-width: 460px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; border-radius: var(--radius-card); background: #fff;
  aspect-ratio: 1/1; object-fit: contain;
}

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 8px;
}
.cat-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 14px; box-shadow: var(--shadow-card); min-width: 0;
  transition: box-shadow .15s, transform .15s, border-color .15s;
}
.cat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: #d4dde4; }
.cat-card .thumb {
  width: 64px; height: 64px; border-radius: var(--radius-btn); overflow: hidden;
  background: var(--img-bg); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.cat-card .thumb img { width: 100%; height: 100%; object-fit: contain; }
.cat-card .thumb .cat-ico { color: var(--bg-green); opacity: .85; }
.cat-card:hover .thumb .cat-ico { opacity: 1; }
.cat-card .meta { min-width: 0; flex: 1; }
.cat-card .name { font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.cat-card .count { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

/* ---------- Product grid & cards ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 18px;
}
.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: box-shadow .15s, transform .15s;
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.pc-media {
  position: relative; background: var(--img-bg); aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.pc-media img { width: 100%; height: 100%; object-fit: contain; }
.pc-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--accent-yellow); color: #3d2c00;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill);
}
.pc-badge.navy { background: #C98A00; color: #fff; }
.pc-body { padding: 11px 13px 12px; display: flex; flex-direction: column; flex: 1; }
.pc-title {
  font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--ink);
  margin: 0 0 6px; min-height: 2.8em;
}
.pc-code { font-size: 12px; color: #899198; margin: 0 0 8px; }
.pc-types {
  font-size: 12px; color: var(--ink-soft); margin: 0 0 8px;
}
.pc-price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; }
.pc-price .now { font-size: 18px; font-weight: 700; color: var(--bg-green); }
.pc-price .was { font-size: 14px; color: #88a1b7; text-decoration: line-through; }
.pc-actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }

/* delivery note under price */
.pc-delivery { font-size: 12.5px; color: var(--ink-soft); margin: 0 0 10px; }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  background: var(--trust-green); border-radius: var(--radius-card);
  padding: 22px 26px; margin: 26px 0 8px;
}
.trust-item .t { font-weight: 700; font-size: 15px; color: #134b7d; margin-bottom: 4px; }
.trust-item .d { font-size: 13px; color: #394753; line-height: 1.45; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 18px; box-shadow: var(--shadow-card);
}
.review-card .body { font-size: 14px; color: #4a5568; margin-bottom: 12px; line-height: 1.65; }
.review-card .who { font-weight: 700; font-size: 14px; color: var(--ink); }
.review-card .who .on-prod { font-weight: 500; color: var(--ink-soft); }
.review-card .stars { color: #E0E0E0; font-size: 15px; letter-spacing: 2px; margin-bottom: 8px; }
.review-card .stars .star.on { color: var(--accent-yellow); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 13px; color: var(--ink-soft); padding: 16px 0 4px; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--bg-green); }
.breadcrumbs .sep { margin: 0 7px; opacity: .5; }

/* ---------- Archive / category ---------- */
.archive-head { padding: 6px 0 2px; }
.archive-head h1 { font-size: 32px; font-weight: 700; color: var(--bg-green); margin: 0 0 10px; }
.archive-desc { font-size: 15px; color: var(--ink-soft); max-width: 900px; margin: 0 0 18px; }

.filter-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 8px;
}
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-tab {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 8px 16px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600;
  cursor: pointer; height: 40px;
}
.filter-tab .n { color: var(--ink-soft); font-weight: 500; }
.filter-tab.active, .filter-tab:hover { background: var(--bg-green); color: #fff; border-color: var(--bg-green); }
.filter-tab.active .n, .filter-tab:hover .n { color: rgba(255,255,255,.85); }

.sort-select {
  /* Visuals come from the shared shadcn select block at the end of this file. */
  font: inherit; font-size: 14px; color: var(--ink); cursor: pointer;
}

/* ---------- Product single ---------- */
.single-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: start; padding: 20px 0 30px;
}
.single-gallery .main-img {
  border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--img-bg);
  aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.single-gallery .main-img img { width: 100%; height: 100%; object-fit: contain; }
.single-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.single-thumbs .th {
  width: 84px; height: 84px; border: 1.5px solid var(--line); border-radius: var(--radius-card);
  background: var(--img-bg); overflow: hidden; cursor: pointer; padding: 4px;
}
.single-thumbs .th.active { border-color: var(--bg-green); }
.single-thumbs .th img { width: 100%; height: 100%; object-fit: contain; }

/* Gallery polish — app-like crossfade + focus ring */
.single-gallery .main-img img { transition: opacity .18s ease; }
.single-gallery .main-img img.is-swapping { opacity: .35; }
.single-thumbs .th:hover { border-color: #b8c3cc; }
.single-thumbs .th:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(30,115,190,.28); border-color: var(--bg-green); }
.single-thumbs .th.active { box-shadow: 0 0 0 1px var(--bg-green); }

/* Related products on the product page */
.related-products { padding: 40px 0 10px; }
.related-products .section-head { margin-bottom: 4px; }
.single-info .cat-chip {
  display: inline-block; background: var(--trust-green); color: #1e73be;
  font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.single-info h1 { font-size: 30px; font-weight: 700; margin: 0 0 6px; line-height: 1.25; }
.single-info .code { font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; }
.single-info .price { font-size: 34px; font-weight: 700; color: var(--bg-green); margin: 0 0 18px; }
.single-info .price .was { font-size: 20px; color: #88a1b7; text-decoration: line-through; margin-left: 10px; font-weight: 500; }
/* WooCommerce wraps the current price in <ins>, which browsers underline by
   default. The sale price must read as plain text; only <del> keeps its strike. */
.single-info .price ins,
.single-info .price ins span,
.single-info .price ins .woocommerce-Price-amount,
.woocommerce .single-info .price ins {
  text-decoration: none; border: 0;
}
.single-info .price del,
.single-info .price del span {
  text-decoration: line-through; color: #88a1b7; font-weight: 500; opacity: 1;
}
.single-info .price ins { color: var(--bg-green); }

.variation-label { font-size: 15px; font-weight: 600; margin: 0 0 10px; }
.swatches { display: flex; gap: 12px; margin-bottom: 22px; }
.swatch {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid #d0dae3;
  cursor: pointer; padding: 0; position: relative; background-clip: padding-box;
}
.swatch.active { border-color: var(--bg-green); box-shadow: 0 0 0 2px #fff inset, 0 0 0 3px var(--bg-green); }
.swatch.active::after {
  content: ""; position: absolute; inset: -6px; border: 2px solid var(--bg-green); border-radius: 50%;
}

.delivery-box {
  background: var(--img-bg); border: 1px solid #e1e7ed; border-radius: var(--radius-card);
  padding: 18px 20px; margin: 18px 0 22px;
}
.delivery-box .row { display: flex; justify-content: space-between; font-size: 15px; padding: 3px 0; }
.delivery-box .row .k { color: var(--ink-soft); }
.delivery-box .row .v { font-weight: 700; color: var(--ink); }
.delivery-box .note { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }

.buy-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.buy-actions .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.single-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 20px 0 40px; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 18px 20px;
}
.info-card h3 { font-size: 20px; color: var(--bg-green); margin: 0 0 16px; font-weight: 700; }
.info-card p { font-size: 14.5px; color: #3c444b; margin: 0 0 12px; line-height: 1.7; }
.info-card ul { margin: 8px 0; padding: 0; list-style: none; }
.info-card ul li { position: relative; padding-left: 26px; font-size: 14.5px; color: #3c444b; margin: 8px 0; }
.info-card ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--bg-green); font-weight: 700;
}
.info-card .lead { font-weight: 700; color: var(--ink); }
.info-card .hl { color: var(--bg-green); font-weight: 700; }
.info-card h4 { font-size: 16px; margin: 22px 0 8px; color: var(--ink); }

/* ---------- Checkout ---------- */
.checkout-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px; padding: 18px 0;
}
.checkout-top .help { text-align: right; font-size: 13.5px; color: var(--ink-soft); }
.checkout-top .help .phone { font-size: 18px; font-weight: 700; color: var(--ink); display: block; }
.checkout-title { font-size: 32px; font-weight: 700; color: var(--bg-green); margin: 0 0 6px; }
.checkout-sub { font-size: 15px; color: var(--ink-soft); margin: 0 0 24px; }

.checkout-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: start; }
.co-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px 22px; }
.co-card h3 { font-size: 20px; margin: 0 0 18px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 7px; }
.field .req { color: #d33; }
.field input[type=text], .field input[type=tel], .field input[type=email],
.field select, .field textarea {
  width: 100%; height: 48px; border: 1px solid #d2dce4; border-radius: var(--radius-field);
  padding: 0 14px; font: inherit; font-size: 15px; color: var(--ink); background: #fff;
}
.field textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--bg-green); box-shadow: 0 0 0 3px rgba(30,115,190,.1);
}
.field .hint { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* order summary */
.order-summary .line { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #ecf0f3; }
.order-summary .line .th {
  width: 56px; height: 56px; border-radius: 10px; background: var(--img-bg);
  overflow: hidden; flex-shrink: 0;
}
.order-summary .line .th img { width: 100%; height: 100%; object-fit: contain; }
.order-summary .line .d { flex: 1; min-width: 0; }
.order-summary .line .nm { font-size: 14px; font-weight: 700; line-height: 1.35; }
.order-summary .line .opts { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
.order-summary .line .pr { font-weight: 700; font-size: 15px; white-space: nowrap; }

.totals { padding-top: 12px; }
.totals .row { display: flex; justify-content: space-between; font-size: 15px; padding: 6px 0; }
.totals .row .k { color: var(--ink-soft); }
.totals .row.grand { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 19px; font-weight: 700; }
.totals .row.grand .v { color: var(--bg-green); }

.cod-box {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--trust-green); border-radius: var(--radius-card); padding: 16px 18px; margin: 18px 0;
}
.cod-box .ic { color: var(--bg-green); flex-shrink: 0; margin-top: 2px; }
.cod-box .t { font-weight: 700; font-size: 15px; }
.cod-box .d { font-size: 13px; color: var(--ink-soft); }

.checkout-note { font-size: 13px; color: var(--ink-soft); text-align: center; margin-top: 12px; }
.checkout-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }

/* ---------- Thank you ---------- */
.thankyou {
  max-width: 720px; margin: 40px auto; text-align: center;
}
.thankyou .check {
  width: 84px; height: 84px; border-radius: 50%; background: var(--trust-green);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
  color: var(--bg-green);
}
.thankyou h1 { font-size: 32px; color: var(--bg-green); margin: 0 0 12px; }
.thankyou .sub { font-size: 16px; color: var(--ink-soft); margin: 0 0 24px; }
.thankyou .order-no {
  background: var(--hero-yellow); border-radius: var(--radius-chip); padding: 14px 20px;
  font-size: 17px; font-weight: 700; display: inline-block; margin-bottom: 28px;
}
.thankyou .details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 26px 28px; text-align: left;
}
.thankyou .details .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eef2f5; font-size: 15px; }
.thankyou .details .row:last-child { border-bottom: 0; }
.thankyou .details .row .k { color: var(--ink-soft); }
.thankyou .details .row .v { font-weight: 700; text-align: right; }
.thankyou .details .row.grand .v { color: var(--bg-green); font-size: 18px; }
.thankyou .ty-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; justify-content: center; }
.thankyou .pixel-note { font-size: 12px; color: #a6b9ca; margin-top: 26px; }

/* ---------- Cart page ---------- */
.bg-cart-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px; margin: 4px 0 22px; flex-wrap: wrap;
}
.bg-cart-head .help { text-align: right; font-size: 13.5px; color: var(--ink-soft); }
.bg-cart-head .help .phone { font-size: 18px; font-weight: 700; color: var(--ink); display: block; }

.woocommerce-cart-form { margin: 0; }

.bg-cart-table-wrap {
  border: 1px solid var(--line); border-radius: var(--radius-card);
  overflow: hidden; background: #fff;
}

table.shop_table.woocommerce-cart-form__contents {
  width: 100%; border: 0; border-collapse: collapse; border-radius: 0;
}
table.shop_table.woocommerce-cart-form__contents thead th {
  background: var(--trust-green); color: var(--bg-green);
  font-size: 13.5px; font-weight: 700; text-align: left;
  padding: 14px 16px; border: 0; white-space: nowrap;
}
table.shop_table.woocommerce-cart-form__contents tbody td {
  padding: 16px; border-top: 1px solid var(--line); vertical-align: middle; font-size: 15px;
}
table.shop_table.woocommerce-cart-form__contents .product-name a {
  font-weight: 700; color: var(--ink); line-height: 1.35;
}
table.shop_table.woocommerce-cart-form__contents .product-name a:hover { color: var(--bg-green); }
table.shop_table.woocommerce-cart-form__contents .product-name dl.variation,
table.shop_table.woocommerce-cart-form__contents .product-name .wc-item-meta {
  display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 6px 0 0; padding: 0; list-style: none;
}
table.shop_table.woocommerce-cart-form__contents .product-name dl.variation dt,
table.shop_table.woocommerce-cart-form__contents .product-name dl.variation dd {
  font-size: 12.5px; color: var(--ink-soft); margin: 0;
}

/* Variation chips (colour shown as a dot, label + value). */
.var-chips {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin-top: 7px; min-width: 0;
}
.var-chip {
  display: inline-flex; align-items: center; gap: 6px;
  max-width: 100%; min-width: 0;
  padding: 3px 10px 3px 8px; border-radius: var(--radius-chip);
  background: var(--trust-green); border: 1px solid #d4dfe8;
  font-size: 12.5px; line-height: 1.35; color: var(--ink);
}
.var-chip .var-dot {
  width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
}
.var-chip .var-chip-label { color: var(--ink-soft); font-weight: 600; }
.var-chip .var-chip-value { font-weight: 700; color: var(--ink); white-space: nowrap; }
table.shop_table.woocommerce-cart-form__contents .product-thumbnail img {
  width: 74px; height: 74px; object-fit: contain; background: var(--img-bg);
  border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 5px;
}
table.shop_table.woocommerce-cart-form__contents .product-price,
table.shop_table.woocommerce-cart-form__contents .product-subtotal {
  font-weight: 700; color: var(--ink); white-space: nowrap;
}
table.shop_table.woocommerce-cart-form__contents .product-subtotal { color: var(--bg-green); }
table.shop_table.woocommerce-cart-form__contents .product-remove { width: 44px; text-align: center; }
table.shop_table.woocommerce-cart-form__contents a.remove {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; color: #b91c1c !important;
  font-size: 20px; line-height: 1; text-decoration: none; border: 1px solid transparent;
}
table.shop_table.woocommerce-cart-form__contents a.remove:hover {
  background: #fdeaea; border-color: #f3c4c4;
}
table.shop_table.woocommerce-cart-form__contents .quantity .qty {
  width: 64px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius-field);
  text-align: center; font-family: inherit; font-size: 15px; font-weight: 600; padding: 0 6px;
  color: var(--ink); background: #fff;
}
/* Cart quantity cell: compact stepper that does not stretch the column.
   WC wraps the input in `.quantity`; our buttons live inside it, so make
   `.quantity` the flex row (the outer `.qty` collapses to a plain wrapper). */
table.shop_table.woocommerce-cart-form__contents td.product-quantity { white-space: nowrap; }
table.shop_table.woocommerce-cart-form__contents td.product-quantity .qty {
  display: inline-block; width: auto; border: 0; border-radius: 0; overflow: visible;
  background: transparent; vertical-align: middle;
}
table.shop_table.woocommerce-cart-form__contents td.product-quantity .quantity {
  display: inline-flex; align-items: stretch; border: 1px solid var(--line);
  border-radius: var(--radius-field); overflow: hidden; background: #fff;
}
table.shop_table.woocommerce-cart-form__contents td.product-quantity .qty button {
  width: 40px; height: 44px; min-width: 40px; font-size: 20px;
  border: 0; border-radius: 0; background: var(--img-bg); color: var(--bg-green);
  cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; flex-shrink: 0;
}
table.shop_table.woocommerce-cart-form__contents td.product-quantity .qty button:hover { background: var(--trust-green); }
table.shop_table.woocommerce-cart-form__contents td.product-quantity .qty .qty-input {
  width: 52px; height: 44px; font-size: 16px; border: 0; border-radius: 0;
  text-align: center; font-weight: 700; font-family: inherit; color: var(--ink);
  background: #fff; padding: 0; -moz-appearance: textfield; appearance: textfield;
}
table.shop_table.woocommerce-cart-form__contents td.product-quantity .screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
/* Actions row: keep the colspan cell as a real table cell (so it spans the
   full table), and lay the controls out inside an inner flex wrapper. */
.bg-cart-actions-row > td.actions { padding: 0 !important; border-top: 1px solid var(--line); }
.bg-cart-actions-inner {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 16px; background: var(--img-bg); box-sizing: border-box;
}
.bg-cart-actions-inner .coupon { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 320px; }
.bg-cart-actions-row .coupon input[type=text] {
  flex: 1 1 160px; min-width: 0; height: 46px; border: 1px solid var(--line);
  border-radius: var(--radius-field); padding: 0 14px; font-family: inherit; font-size: 15px;
  background: #fff; color: var(--ink);
}
.bg-cart-actions-row .button {
  height: 46px; padding: 0 22px; border-radius: var(--radius-btn);
  border: 1px solid var(--bg-green); background: #fff; color: var(--bg-green);
  font-weight: 700; font-size: 15px; cursor: pointer; font-family: inherit;
}
.bg-cart-actions-row .button:hover { background: var(--trust-green); }
.bg-cart-actions-row .button[name=update_cart] {
  background: var(--bg-green); color: #fff; margin-left: auto;
}
.bg-cart-actions-row .button[name=update_cart]:hover { background: #185f9e; }
.bg-cart-actions-row .button[name=update_cart]:disabled { opacity: .5; cursor: not-allowed; }

/* Cart totals / branded summary */
.cart-collaterals { max-width: 460px; margin: 22px 0 0 auto; }
.bg-cart-summary {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 22px 24px;
}
.bg-cart-summary h2 {
  font-size: 20px; font-weight: 700; color: var(--ink); margin: 0 0 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.bg-cart-summary .totals .row {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  padding: 9px 0; font-size: 15px;
}
.bg-cart-summary .totals .row .k { color: var(--ink-soft); }
.bg-cart-summary .totals .row .v { font-weight: 700; color: var(--ink); text-align: right; }
.bg-cart-summary .totals .row.shipping .v { font-weight: 600; font-size: 14px; }
.bg-cart-summary .totals .row.shipping .v ul,
.bg-cart-summary .totals .row.shipping .v .woocommerce-shipping-methods {
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px;
}
.bg-cart-summary .totals .row.shipping .v li { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
/* Mobile stacked cart cards */
@media (max-width: 640px) {
  table.shop_table.woocommerce-cart-form__contents thead { display: none; }
  table.shop_table.woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item {
    display: block; position: relative; padding: 14px 14px 6px; border-top: 1px solid var(--line);
  }
  table.shop_table.woocommerce-cart-form__contents tbody tr.woocommerce-cart-form__cart-item:first-child { border-top: 0; }
  table.shop_table.woocommerce-cart-form__contents tbody td {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 7px 0 !important; border: 0; text-align: right;
  }
  table.shop_table.woocommerce-cart-form__contents tbody td::before {
    content: attr(data-title); flex: 0 0 auto; text-align: left;
    font-size: 13px; font-weight: 600; color: var(--ink-soft);
  }
  table.shop_table.woocommerce-cart-form__contents tbody td.product-remove {
    position: absolute; top: 10px; right: 10px; width: auto; padding: 0 !important; z-index: 2;
  }
  table.shop_table.woocommerce-cart-form__contents tbody td.product-remove::before { content: none; }
  table.shop_table.woocommerce-cart-form__contents tbody td.product-thumbnail { display: none; }
  table.shop_table.woocommerce-cart-form__contents tbody td.product-name {
    display: block; text-align: left; padding-right: 34px !important;
    font-size: 15.5px; font-weight: 700; line-height: 1.4; margin-bottom: 2px;
  }
  table.shop_table.woocommerce-cart-form__contents tbody td.product-name::before { content: none; }
  table.shop_table.woocommerce-cart-form__contents tbody td.product-quantity .screen-reader-text { display: none; }
  table.shop_table.woocommerce-cart-form__contents tbody td.product-quantity .qty { display: inline-block; }
  table.shop_table.woocommerce-cart-form__contents tbody td.product-quantity .quantity { display: inline-flex; }
  table.shop_table.woocommerce-cart-form__contents tbody td.product-quantity { justify-content: space-between; }
  table.shop_table.woocommerce-cart-form__contents tbody td.product-subtotal { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px !important; }
  table.shop_table.woocommerce-cart-form__contents tbody td.product-subtotal .amount { font-size: 17px; }
  .bg-cart-actions-inner { flex-direction: column; align-items: stretch; }
  .bg-cart-actions-inner .coupon { flex: 1 1 auto; }
  .bg-cart-actions-row .button[name=update_cart] { margin-left: 0; width: 100%; }
  .cart-collaterals { max-width: none; }
}
.bg-cart-summary .totals .row.shipping-note { padding: 2px 0 4px; font-size: 12px; }
.bg-cart-summary .totals .row.shipping-note .v { font-weight: 500; color: var(--ink-soft); }
.bg-cart-summary .totals .row.grand {
  border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px;
  font-size: 19px; font-weight: 700;
}
.bg-cart-summary .totals .row.grand .v { color: var(--bg-green); }
.bg-cart-summary .cod-box { margin: 18px 0 16px; }
.bg-cart-summary .wc-proceed-to-checkout { margin: 0; }
.bg-cart-summary .checkout-button,
.bg-cart-summary .wc-proceed-to-checkout a.checkout-button {
  display: flex !important; align-items: center; justify-content: center; width: 100% !important;
  max-width: 100%; box-sizing: border-box;
  height: var(--btn-h-primary); border-radius: var(--radius-btn);
  background: var(--bg-green) !important; color: #fff !important;
  font-size: 17px; font-weight: 700; border: 0; margin: 0;
}
.bg-cart-summary .checkout-button:hover { background: #185f9e !important; }
.bg-cart-summary .shipping-calculator-button { font-size: 13.5px; color: var(--bg-green); font-weight: 600; }
.bg-cart-summary .woocommerce-shipping-destination { font-size: 13px; color: var(--ink-soft); }
.cart-empty.woocommerce-info { margin: 0 0 16px; }
.bg-cart-total-old { display: none; }
.cart-totals { max-width: 400px; margin-left: auto; margin-top: 22px; }

/* ---------- Order tracking ---------- */
.bg-track { max-width: 620px; margin: 0 auto; }
.bg-track-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 22px 24px; display: flex; flex-direction: column; gap: 16px;
}
.btf-field { display: flex; flex-direction: column; gap: 7px; }
.btf-field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.btf-input { position: relative; display: flex; align-items: center; }
.btf-input svg { position: absolute; left: 14px; color: #899198; pointer-events: none; }
.btf-input input {
  width: 100%; height: 50px; border: 1px solid var(--line); border-radius: var(--radius-field);
  padding: 0 14px 0 42px; font: inherit; font-size: 15.5px; color: var(--ink); background: #fff;
}
.btf-input input:focus { outline: none; border-color: var(--bg-green); box-shadow: 0 0 0 3px rgba(30,115,190,.1); }
.bg-track-form .btn-block { height: var(--btn-h-primary); }
.btf-hint { font-size: 13px; color: var(--ink-soft); text-align: center; margin: 14px 0 0; line-height: 1.6; }

.bg-track-error {
  display: flex; align-items: center; gap: 10px; margin-top: 16px;
  background: #FEF2F2; border: 1px solid #FCA5A5; color: #B91C1C;
  border-radius: var(--radius-card); padding: 14px 16px; font-size: 14.5px; font-weight: 600;
}
.bg-track-error svg { flex: 0 0 auto; }

.bg-track-result {
  margin-top: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 22px 24px;
}
.tr-head {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: var(--radius-card); margin-bottom: 20px;
}
.tr-head.is-live { background: var(--trust-green); }
.tr-head.is-dead { background: #FEF2F2; }
.tr-head .tr-icon {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-green); color: #fff;
}
.tr-head.is-dead .tr-icon { background: #B91C1C; }
.tr-status { font-size: 19px; font-weight: 700; color: var(--bg-green); line-height: 1.3; }
.tr-head.is-dead .tr-status { color: #B91C1C; }
.tr-meta { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

.tr-timeline { list-style: none; margin: 0 0 20px; padding: 0; }
.tr-step { position: relative; display: flex; gap: 14px; padding: 0 0 20px 0; }
.tr-step:last-child { padding-bottom: 0; }
.tr-step::before {
  content: ""; position: absolute; left: 13px; top: 26px; bottom: 0;
  width: 2px; background: var(--line);
}
.tr-step:last-child::before { display: none; }
.tr-step.is-done::before { background: var(--bg-green); }
.tr-dot {
  width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 2px solid var(--line); color: #fff; z-index: 1;
}
.tr-step.is-done .tr-dot { background: var(--bg-green); border-color: var(--bg-green); }
.tr-step.is-current .tr-dot { background: #fff; border-color: var(--bg-green); box-shadow: 0 0 0 4px var(--trust-green); }
.tr-step.is-current .tr-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--bg-green); }
.tr-step-txt { display: flex; flex-direction: column; gap: 2px; padding-top: 2px; }
.tr-step-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.tr-step.is-todo .tr-step-name { color: #99a2a9; font-weight: 600; }
.tr-step-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

.tr-summary { border-top: 1px solid var(--line); padding-top: 14px; }
.tr-summary .row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 14.5px; }
.tr-summary .row .k { color: var(--ink-soft); flex: 0 0 auto; }
.tr-summary .row .v { font-weight: 600; color: var(--ink); text-align: right; }
.tr-summary .row.grand { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 16px; font-weight: 700; }
.tr-summary .row.grand .v { color: var(--bg-green); }
.tr-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tr-actions .btn { flex: 1 1 auto; }
.tr-reset { flex: 1 1 100% !important; }

@media (max-width: 640px) {
  .bg-track-form, .bg-track-result { padding: 18px 16px; }
  .tr-head { padding: 14px; }
  .tr-actions .btn { flex: 1 1 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-green); color: #ced8e1; margin-top: 50px; }
.footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
  padding: 46px 0 34px;
}
.footer-brand .name { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-brand .tagline { font-size: 14px; color: #a8b7c4; margin-bottom: 18px; line-height: 1.5; }
.footer-brand .contact { font-size: 14px; color: #ced8e1; line-height: 1.9; }
.footer-col h4 { font-size: 15px; color: #fff; margin: 0 0 16px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 14px; color: #b5c2ce; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; text-align: center;
  font-size: 13.5px; color: #9eacb9;
}

/* ---------- Floating buttons (collapsible contact FAB) ---------- */
.float-btns {
  position: fixed; right: 20px; bottom: 24px; z-index: 60;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.float-btns .fb-list {
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(8px) scale(.96); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.float-btns.is-open .fb-list { opacity: 1; transform: none; pointer-events: auto; }
.float-btns a,
.float-btns .fb-toggle {
  width: 50px; height: 50px; border-radius: 50%; color: #fff; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
}
.float-btns .fb-toggle {
  background: var(--bg-green); position: relative;
}
.float-btns .fb-ico-close { display: none; }
.float-btns.is-open .fb-ico-open { display: none; }
.float-btns.is-open .fb-ico-close { display: block; }
.float-btns .fb-call { background: var(--bg-green); }
.float-btns .fb-msgr { background: var(--msgr-blue); }
.float-btns .fb-wa { background: var(--wa-green); }
.float-btns a:hover { filter: brightness(1.06); }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: #fff; border-top: 1px solid var(--line);
  padding: 8px 12px; gap: 10px; align-items: center;
  box-shadow: 0 -2px 12px rgba(0,0,0,.06);
}
.mobile-bar a { color: var(--bg-green); display: flex; align-items: center; justify-content: center; }
.mobile-bar .icon-btn {
  width: 46px; height: 46px; border-radius: var(--radius-btn); border: 1px solid var(--line);
  background: #fff; flex-shrink: 0;
}
.mobile-bar .icon-btn svg { display: block; }
.mobile-bar .ico-call { color: var(--bg-green); }
.mobile-bar .ico-msgr { color: var(--msgr-blue); }
.mobile-bar .ico-wa { color: var(--wa-green); }
.mobile-bar .btn { flex: 1; }
/* The order shortcut is a primary button — keep its label white. The generic
   `.mobile-bar a` rule above is more specific than `.btn-primary`, so restore
   the colour here (and on hover/active). */
.mobile-bar a.mobile-bar-order,
.mobile-bar a.mobile-bar-order:hover,
.mobile-bar a.mobile-bar-order:active {
  color: #fff;
  position: relative; overflow: hidden;
  animation: bg-order-pulse 2.4s ease-in-out infinite;
}
/* Soft breathing glow + a slow sheen sweep across the button. */
@keyframes bg-order-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(24,95,158,.45); transform: translateY(0); }
  50%      { box-shadow: 0 0 0 8px rgba(24,95,158,0); transform: translateY(-1px); }
}
.mobile-bar a.mobile-bar-order::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.32) 50%, transparent 100%);
  transform: skewX(-18deg);
  animation: bg-order-sheen 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes bg-order-sheen {
  0%   { left: -60%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-bar a.mobile-bar-order { animation: none; }
  .mobile-bar a.mobile-bar-order::after { animation: none; display: none; }
}

/* ---------- Mobile drawer ---------- */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: 84%; max-width: 340px;
  background: #fff; z-index: 100; transform: translateX(-100%);
  visibility: hidden; will-change: transform;
  transition: transform .25s ease, visibility .25s;
  padding: 20px; overflow-y: auto;
}
.drawer.open { transform: translateX(0); visibility: visible; }
.drawer .d-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer .d-head .name { font-weight: 700; font-size: 20px; color: var(--bg-green); }
.drawer .d-close { border: 0; background: transparent; cursor: pointer; padding: 6px; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li { border-bottom: 1px solid var(--line); }
.drawer li a { display: block; padding: 14px 4px; font-size: 16px; font-weight: 600; }
.drawer .d-search { margin-bottom: 16px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.hide { display: none !important; }

/* ---------- Empty state ---------- */
.bg-empty-note {
  background: var(--img-bg); border: 1px dashed #ced8e1; border-radius: var(--radius-card);
  padding: 22px; text-align: center; color: var(--ink-soft); font-size: 14.5px; margin: 4px 0 8px;
}

/* ---------- Variation form (single product) ---------- */
form.variations_form { margin-bottom: 6px; }
.bg-variation { margin-bottom: 20px; border-radius: var(--radius-card); }
/* Gentle nudge when the sticky order button needs a variation first. */
.bg-variation.bg-attn { animation: bg-attn .6s ease 2; }
@keyframes bg-attn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,183,0,0); }
  40% { box-shadow: 0 0 0 4px rgba(245,183,0,.45); }
}
.bg-variation .v-label {
  display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px;
}
.bg-variation .v-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.bg-variation .v-value { font-size: 13.5px; color: var(--ink-soft); }
.bg-variation .v-value::before { content: '— '; opacity: .6; }

.swatch-wrap { display: flex; flex-wrap: wrap; gap: 12px; }

.swatch {
  width: 38px; height: 38px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 2px solid #d1dbe4; background: var(--sw, #ccc); position: relative;
  box-shadow: inset 0 0 0 3px #fff; transition: transform .12s, border-color .12s;
}
.swatch:hover { transform: scale(1.06); }
.swatch.active {
  border-color: var(--bg-green);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--bg-green);
}
.swatch.active::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/60% no-repeat;
  filter: drop-shadow(0 0 2px rgba(0,0,0,.55));
}

/*
 * Text variations (e.g. size) render as label pills rather than colour dots.
 * They share the `.swatch` base but reset the circle geometry and paint the
 * term name inside; the active state fills with the brand green.
 */
.swatch-text {
  width: auto; min-width: 64px; height: 38px; padding: 0 16px;
  border-radius: var(--radius-pill); background: #fff;
  border: 1.5px solid var(--line); box-shadow: none;
  color: var(--ink); font-size: 14px; font-weight: 600; font-family: inherit;
  line-height: 1; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .12s, border-color .12s, background-color .12s, color .12s;
}
.swatch-text:hover { transform: none; border-color: var(--bg-green); color: var(--bg-green); }
.swatch-text.active,
.swatch-text.active:hover {
  background: var(--bg-green); border-color: var(--bg-green); color: #fff;
  box-shadow: none;
}
/* Suppress the colour-swatch check-mark overlay on text pills. */
.swatch-text.active::after { content: none; }

/* ---------- Quantity stepper ---------- */
.qty-row { margin-bottom: 0; }
.qty,
.woocommerce .qty {
  display: inline-flex; align-items: center; border: 1px solid var(--line);
  border-radius: var(--radius-field); overflow: hidden; background: #fff;
}
.qty button {
  width: 46px; height: 46px; min-width: 46px; border: 0; border-radius: 0;
  background: var(--img-bg);
  font-size: 22px; line-height: 1; font-weight: 700; color: var(--bg-green);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  padding: 0; flex-shrink: 0;
}
.qty button:hover { background: var(--trust-green); }
.qty button:active { background: #d8e3ed; }
/* Strip the input's own frame so only the container draws the pill. */
.qty .qty-input,
.woocommerce .qty .qty-input,
.woocommerce .quantity input.qty {
  width: 60px; height: 46px; border: 0; border-radius: 0; box-shadow: none;
  text-align: center; font-size: 17px; font-weight: 700; font-family: inherit;
  color: var(--ink); background: #fff; padding: 0;
  -moz-appearance: textfield; appearance: textfield;
}
.qty .qty-input:focus,
.woocommerce .qty .qty-input:focus { outline: none; box-shadow: none; }
.qty .qty-input::-webkit-outer-spin-button,
.qty .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/*
 * Single product purchase area.
 *
 * The form itself is a vertical stack: variation swatches first, then the
 * quantity + order row underneath. Only the *inner* row wrapper
 * (`.variations_button-wrap` for variable products, or the simple form's
 * direct children) lays out horizontally, so the swatch grid always spans the
 * full column width and never shares a line with the buy button.
 */
form.variations_form,
form.cart { margin-top: 4px; }
form.variations_form,
form.cart {
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
}
.variations_button-wrap {
  display: flex; align-items: center; gap: 12px; flex-wrap: nowrap;
  margin-top: 4px;
}
/*
 * Simple products have no `.variations_button-wrap`: their qty row and button
 * are direct children of the form, so re-create the same horizontal row with
 * a small wrapper behaviour via `:has()` where supported and a flex-row
 * fallback for the two direct children otherwise.
 */
form.cart:not(.variations_form) {
  flex-direction: row; align-items: center; gap: 12px; flex-wrap: nowrap;
}
.variations_button-wrap .qty-row,
form.cart .qty-row { flex: 0 0 auto; }
.variations_button-wrap .qty,
form.cart .qty {
  height: var(--btn-h-primary); box-sizing: border-box;
}
.variations_button-wrap .qty button,
form.cart .qty button,
.variations_button-wrap .qty .qty-input,
form.cart .qty .qty-input {
  height: 100%; min-height: 0; box-sizing: border-box;
}
/* Button takes the remaining width; override .btn-block, which forces 100%. */
.variations_button-wrap .single_add_to_cart_button,
form.cart .single_add_to_cart_button {
  flex: 1 1 auto; width: auto; min-width: 0; margin-top: 0;
}
.single_add_to_cart_button.disabled,
.single_add_to_cart_button:disabled { opacity: .5; cursor: not-allowed; }
.single_add_to_cart_button.is-loading { opacity: .75; pointer-events: none; }

.bg-stock { margin: 0 0 16px; }
.bg-stock .stock { font-size: 14px; font-weight: 600; margin: 0; }
.bg-stock .in-stock { color: var(--bg-green); }
.bg-stock .out-of-stock { color: #b91c1c; }

.single-info .price .price-range { font-size: inherit; }

/* ---------- Zoom button + lightbox ---------- */
.single-gallery .main-img { position: relative; }
.zoom-btn {
  position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.92);
  color: var(--bg-green); display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-card);
}
.zoom-btn:hover { background: #fff; }
.bg-lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(9,15,21,.9);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.bg-lightbox img {
  max-width: 92vw; max-height: 88vh; width: auto; height: auto;
  background: #fff; border-radius: var(--radius-card); padding: 8px; object-fit: contain;
}
.bg-lightbox .lb-close {
  position: absolute; top: 18px; right: 22px; width: 46px; height: 46px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff;
  font-size: 30px; line-height: 1; cursor: pointer;
}
.bg-lightbox .lb-close:hover { background: rgba(255,255,255,.3); }

/* ---------- Delivery box + product trust ---------- */
.delivery-box .row.head { font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 4px; }
.delivery-box .row.head .k { display: inline-flex; align-items: center; gap: 8px; color: var(--bg-green); }

.product-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; }
.product-trust span {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; color: var(--ink-soft); font-weight: 600;
}
.product-trust svg { color: var(--bg-green); flex-shrink: 0; }

.buy-actions-secondary {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 4px;
}
.buy-actions-secondary .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
}

/* ---------- WC notices ---------- */
.woocommerce-notices-wrapper,
.bg-checkout-notices { margin: 0 0 16px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none; padding: 14px 18px; border-radius: var(--radius-card); margin: 0 0 12px;
  font-size: 14.5px; border-left: 4px solid var(--bg-green); background: var(--trust-green);
}
.woocommerce-error { border-left-color: #b91c1c; background: #fdeaea; }
.woocommerce-info { border-left-color: var(--msgr-blue); background: #eff4ff; }
.woocommerce-message .button, .woocommerce-info .button { margin-left: 10px; }

/* ---------- WC cart / checkout defaults tidy ---------- */
.woocommerce { font-size: 15px; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce table.shop_table img { width: 56px; height: 56px; object-fit: contain; background: var(--img-bg); border-radius: 8px; padding: 4px; }
/* Plain WC quantity inputs (no custom stepper): give them a normal field look.
   The custom .qty stepper above owns its own styling. */
.woocommerce .quantity input.qty:not(.qty-input) {
  width: 68px; height: 44px; border: 1px solid var(--line); border-radius: 8px;
  text-align: center; font-family: inherit; font-size: 16px; padding: 0 6px;
}
.woocommerce .cart .button, .woocommerce .checkout-button,
.woocommerce #respond input#submit, .woocommerce a.button,
.woocommerce button.button, .woocommerce input.button {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; border-radius: var(--radius-field);
  background: var(--bg-green); color: #fff; border: 1px solid var(--bg-green);
  font-weight: 700; font-size: 15px; cursor: pointer; font-family: inherit;
}
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce #respond input#submit:hover { background: #185f9e; }
.woocommerce .actions .coupon input[type=text] {
  height: 48px; border: 1px solid var(--line); border-radius: var(--radius-field);
  padding: 0 14px; font-family: inherit; font-size: 15px; margin-right: 8px;
}
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals { width: 100%; max-width: 420px; margin-left: auto; }
.woocommerce form.checkout_coupon,
.woocommerce form.login, .woocommerce form.register {
  border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; background: #fff;
}
.woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-form-login-toggle .woocommerce-info { background: var(--hero-yellow); border-left-color: var(--accent-yellow); }

/* --- WC form fields (my-account, default WC forms) --- */
.woocommerce form .form-row { margin-bottom: 16px; }
.woocommerce form .form-row label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%; height: 48px; border: 1px solid var(--line); border-radius: var(--radius-field);
  padding: 0 14px; font-family: inherit; font-size: 15px; background: #fff; color: var(--ink);
}
.woocommerce form .form-row textarea { height: auto; min-height: 100px; padding: 12px 14px; }
.woocommerce .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 600; }
.woocommerce .woocommerce-MyAccount-navigation li.is-active a { background: var(--trust-green); color: var(--bg-green); }

/* --- Payment block (checkout/payment.php) --- */
/*
 * WooCommerce ships #payment with a grey #ebe9eb background. The block sits
 * inside our white .co-card already, so strip the extra box entirely: no
 * background, border or padding — just the gateway markup and the button.
 */
.woocommerce-checkout #payment,
.woocommerce-checkout-payment {
  margin-top: 16px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.woocommerce-checkout #payment ul.payment_methods {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 12px;
}
.woocommerce-checkout #payment div.form-row,
.woocommerce-checkout #payment .form-row.place-order {
  padding: 0 !important;
  margin: 0;
}
.payment-methods + .place-order,
.woocommerce-checkout-payment .place-order { margin-top: 8px; }
#place_order,
.woocommerce-checkout-payment #place_order,
.woocommerce-checkout #place_order {
  width: 100% !important; height: var(--btn-h-primary) !important;
  font-size: 17px !important; margin-top: 0;
  background: var(--bg-green) !important; color: #fff !important;
  border: 1px solid var(--bg-green) !important; border-radius: var(--radius-btn) !important;
  font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
#place_order:hover,
.woocommerce-checkout-payment #place_order:hover { background: #185f9e !important; }
#place_order.is-loading,
#place_order:disabled { opacity: .7; cursor: wait; }
.woocommerce-checkout-payment ul.wc_payment_methods {
  list-style: none; margin: 0 0 14px; padding: 0;
}
/*
 * COD is the only gateway and the .cod-box above already states it, so the
 * gateway list is visually hidden. The radio input stays in the DOM (no
 * display:none on it) so checkout still submits a valid payment method.
 */
.woocommerce-checkout-payment ul.wc_payment_methods li {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 0; border: 0; background: transparent;
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.woocommerce-checkout-payment ul.wc_payment_methods li > label { margin: 0; }
/* WooCommerce inlines display:block on the COD box — beat it, and kill the arrow. */
.woocommerce-checkout-payment .payment_box,
.woocommerce-checkout-payment .payment_box.payment_method_cod {
  display: none !important;
}
.woocommerce-checkout-payment .payment_box::before { display: none !important; }
.woocommerce ul.wc-saved-payment-methods { list-style: none; padding: 0; }
.woocommerce-terms-and-conditions-wrapper { font-size: 13.5px; margin: 12px 0; }

/* --- Order review table on checkout --- */
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 14.5px; }
.woocommerce-checkout-review-order-table .order-total td { font-size: 18px; font-weight: 700; color: var(--bg-green); }

/* --- Order received (default wc thank-you extras) --- */.woocommerce-order-overview {
  list-style: none; display: flex; flex-wrap: wrap; gap: 12px;
  margin: 0 0 24px; padding: 0;
}
.woocommerce-order-overview li {
  flex: 1 1 160px; background: var(--img-bg); border-radius: var(--radius-card); padding: 14px 16px; font-size: 14px;
}
.woocommerce-order-overview li strong { display: block; font-size: 16px; color: var(--bg-green); margin-top: 4px; }
.woocommerce ul.order_details { list-style: none; padding: 0; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* --- Large desktop safeguard --- */
@media (max-width: 1240px) {
  .wrap { padding: 0 20px; }
}

/* --- Small desktop / large tablet --- */
@media (max-width: 1024px) {
  .product-grid, .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .single-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-main { gap: 28px; }
  .hero h1 { font-size: 34px; }
}

/* --- Tablet --- */
@media (max-width: 860px) {
  .header-main {
    flex-wrap: wrap; row-gap: 10px;
    padding: 14px 16px 16px; column-gap: 10px;
    align-items: center;
  }
  .menu-toggle { display: flex; order: 0; }
  .main-nav { display: none; }
  .header-search { order: 5; flex-basis: 100%; margin-top: 0; }
  /* Slightly shorter search field on the mobile header. */
  .search-form { height: 42px; }
  .search-form input[type=search] { font-size: 14.5px; }
  .header-actions .header-track { display: none; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand img { height: 44px; }
  .brand-logo { height: 42px; max-width: 160px; }
  .brand-text .bn { font-size: 18px; }
  .brand-text .en { font-size: 9px; letter-spacing: 2px; }
  .header-actions { gap: 10px; margin-left: auto; flex-shrink: 0; }
  .header-cart { height: 44px; padding: 0 16px; }

  .hero-inner { grid-template-columns: 1fr; padding: 26px; gap: 20px; }
  .hero-media { order: -1; max-width: 420px; margin: 0 auto; }
  /* Keep the hero image from eating the whole first screen on a phone. */
  .hero-media img, .hero-media > div { max-height: 260px; }
  .hero h1 { font-size: 30px; }
  .hero p { margin-bottom: 20px; }

  .single-grid { grid-template-columns: 1fr; gap: 26px; }
  .single-gallery { max-width: 560px; margin: 0 auto; width: 100%; }
  .single-thumbs { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .single-thumbs::-webkit-scrollbar { display: none; }
  .single-thumbs .th { flex: 0 0 auto; width: 72px; height: 72px; }
  .single-cols { grid-template-columns: 1fr; gap: 20px; }
  .related-products { padding: 28px 0 4px; }
  .checkout-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 26px; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .cart-totals { max-width: none; }

  .bg-ls-results { position: fixed; left: 16px; right: 16px; width: auto; }
  .checkout-top { flex-direction: column; gap: 6px; }
  .checkout-top .help { text-align: left; }
  /* Keep floating contact buttons visible on tablets (mobile bar takes over <640px). */
  .float-btns { display: flex; right: 16px; bottom: 20px; }
}

/* --- Phone / small tablet --- */
@media (max-width: 640px) {
  :root {
    --radius-card: 8px;
    --radius-field: 8px;
    --radius-btn: 8px;
    --radius-chip: 7px;
    --radius-pill: 7px;
  }
  .wrap { padding: 0 14px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pc-title { font-size: 15px; line-height: 1.38; min-height: 2.9em; }
  .pc-price .now { font-size: 17px; }
  .pc-body { padding: 10px 12px 12px; }
  .btn { font-size: 14px; }
  .pc-actions .btn { height: 44px; padding: 0 10px; font-size: 13.5px; white-space: nowrap; }
  /* Primary buttons shrink on phones — move the token so the product stepper
     (which is locked to it) shrinks with the order button. */
  :root { --btn-h-primary: 50px; }
  .btn-lg { font-size: 16px; }
  .section-head h2 { font-size: 19px; }
  .archive-head h1 { font-size: 25px; }
  .breadcrumbs { padding: 12px 0 2px; }

  .single-info h1 { font-size: 23px; }
  .single-info .price { font-size: 27px; margin-bottom: 14px; }
  .single-cols { padding: 16px 0 32px; }
  .info-card { padding: 20px 18px; }
  .co-card { padding: 18px 16px; border-radius: 8px; }

  /* Stepper + order button: tighter gap so both fit one phone row. */
  .variations_button-wrap,
  form.cart { gap: 9px; }

  .footer-main { grid-template-columns: 1fr; gap: 24px; padding: 34px 0 26px; }
  .trust-strip { grid-template-columns: 1fr; padding: 18px; }
  .review-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .buy-actions .row { grid-template-columns: 1fr; }
  .buy-actions-secondary { grid-template-columns: 1fr; }

  .mobile-bar { display: flex; }
  body.single-product { padding-bottom: 74px; }
  .float-btns { display: none; }

  .checkout-title { font-size: 25px; }
  .thankyou { margin: 26px auto; }
  .thankyou h1 { font-size: 24px; }
  .thankyou .details { padding: 20px 18px; }
  .thankyou .details .row { flex-direction: column; gap: 2px; padding: 12px 0; }
  .thankyou .details .row .v { text-align: left; }
  .hero { border-radius: 8px; }
  .order-summary .line .th { width: 48px; height: 48px; }

  /* Stacked WC cart table on phones */
  .woocommerce table.shop_table thead { display: none; }
  .woocommerce table.shop_table tr.cart_item,
  .woocommerce table.shop_table tr.woocommerce-cart-form__cart-item {
    display: block; position: relative; border: 1px solid var(--line);
    border-radius: 8px; padding: 12px 12px 4px; margin-bottom: 12px; background: #fff;
  }
  .woocommerce table.shop_table tr.cart_item td,
  .woocommerce table.shop_table tr.woocommerce-cart-form__cart-item td {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    border: 0; padding: 7px 0; font-size: 14.5px;
  }
  .woocommerce table.shop_table tr.cart_item td::before,
  .woocommerce table.shop_table tr.woocommerce-cart-form__cart-item td::before {
    font-weight: 600; color: var(--ink-soft); flex: 0 0 auto;
  }
  .woocommerce table.shop_table td.product-remove { justify-content: flex-end; padding: 0 0 6px; }
  .woocommerce table.shop_table td.product-remove a.remove { color: #b91c1c !important; font-size: 20px; }
  .woocommerce table.shop_table td.product-thumbnail { justify-content: flex-start; padding-top: 0; }
  .woocommerce table.shop_table td.product-name::before { content: "পণ্য"; }
  .woocommerce table.shop_table td.product-price::before { content: "দাম"; }
  .woocommerce table.shop_table td.product-quantity::before { content: "পরিমাণ"; }
  .woocommerce table.shop_table td.product-subtotal::before { content: "সাবটোটাল"; }
  .woocommerce table.shop_table td.product-name { flex-direction: column; align-items: flex-start; gap: 2px; }
  .woocommerce table.shop_table td.product-name::before { align-self: flex-start; }
  /* Variation chips: keep them tidy and left-aligned on a stacked row. */
  .woocommerce table.shop_table td.product-name .var-chips { align-self: flex-start; margin-top: 6px; }
  .woocommerce table.shop_table td.product-name .var-chip { padding: 4px 9px 4px 7px; font-size: 12px; }
  .woocommerce table.shop_table td.actions { display: block; margin-top: 6px; }
  .woocommerce .actions .coupon { display: flex; flex-wrap: wrap; gap: 8px; }
  .woocommerce .actions .coupon input[type=text] { flex: 1; min-width: 0; margin-right: 0; }
  .woocommerce .actions .coupon .button { flex: 1; }
  .woocommerce .actions > .button { width: 100%; margin-top: 8px; }

  .woocommerce-order-overview li { flex: 1 1 45%; }
}

/* --- Small phone --- */
@media (max-width: 400px) {
  .wrap { padding: 0 12px; }
  .product-grid { gap: 10px; }
  .pc-title { font-size: 14px; line-height: 1.35; min-height: 2.9em; }
  .pc-price .now { font-size: 16px; }
  .pc-actions .btn { padding: 0 8px; font-size: 12.5px; gap: 5px; }
  .pc-actions .btn svg { width: 14px; height: 14px; }
  .hero-inner { padding: 20px; }
  .hero h1 { font-size: 25px; }
  .header-actions { gap: 8px; }
  .header-cart { height: 42px; padding: 0 12px; font-size: 12.5px; gap: 5px; }
  .header-cart svg { width: 16px; height: 16px; }
  .header-main { column-gap: 8px; row-gap: 8px; padding: 12px 14px 14px; }
  .search-form { height: 40px; padding-left: 13px; }
  .search-form input[type=search] { font-size: 14px; }
  .brand img { height: 40px; }
  .brand-logo { height: 38px; max-width: 130px; }
  .brand-text .bn { font-size: 16px; }
  .brand-text .en { font-size: 8.5px; letter-spacing: 1.8px; }
  .topbar { font-size: 11px; padding: 6px 10px; line-height: 1.35; }
}

/* --- Very small phone: keep the announcement on a single line --- */
@media (max-width: 340px) {
  .topbar { font-size: 10.5px; padding: 5px 8px; }
  .swatch { width: 34px; height: 34px; }
  .qty button { width: 44px; height: 46px; min-width: 44px; }
  .qty .qty-input { width: 52px; height: 46px; }
  .mobile-bar .icon-btn { width: 44px; height: 44px; }
  /* Let the order button drop below the stepper rather than squeeze. */
  .variations_button-wrap,
  form.cart { flex-wrap: wrap; }
  .variations_button-wrap .single_add_to_cart_button,
  form.cart .single_add_to_cart_button { flex: 1 1 100%; }
}

/* --- Guard against horizontal overflow everywhere --- */
html, body { overflow-x: hidden; max-width: 100%; }
.single-grid, .single-cols, .checkout-grid, .product-grid, .cat-grid,
.footer-main, .trust-strip, .review-grid, .hero-inner { min-width: 0; }
.single-grid > *, .single-cols > *, .checkout-grid > * { min-width: 0; }

/* ============================================================
   NProgress — top loading bar (React-app feel)
   ============================================================ */
#bg-nprogress {
  position: fixed; top: 0; left: 0; right: 0; height: 4px;
  background: transparent; z-index: 99999; pointer-events: none;
  opacity: 0; transition: opacity .18s ease;
}
#bg-nprogress.is-active { opacity: 1; }
#bg-nprogress .bar {
  position: absolute; top: 0; left: 0; height: 100%; width: 0;
  background: var(--bg-green);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 6px rgba(24,95,158,.6);
  transition: width .2s ease;
}

#bg-nprogress .spinner {
  position: fixed; top: 12px; right: 12px; width: 22px; height: 22px;
  opacity: 0; transition: opacity .2s ease;
}
#bg-nprogress.is-active .spinner { opacity: 1; }
#bg-nprogress .spinner svg { width: 22px; height: 22px; animation: bg-spin .75s linear infinite; }
#bg-nprogress .spinner circle { stroke: var(--bg-green); stroke-width: 3; fill: none; stroke-dasharray: 60, 200; stroke-linecap: round; }

/* Full-page dim veil for slow navigations. */
#bg-navveil {
  position: fixed; inset: 0; z-index: 99998; background: rgba(255,255,255,.55);
  backdrop-filter: blur(1px); opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease; pointer-events: none;
}
#bg-navveil.is-active { opacity: 1; visibility: visible; }

@media (prefers-reduced-motion: reduce) {
  #bg-nprogress .bar { transition: none; }
  #bg-nprogress .spinner svg { animation-duration: 1.6s; }
}

/* Content fade-in when real content replaces an empty grid. */
.bg-fade-in { animation: bg-fade .35s ease both; }
@keyframes bg-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Listing soft-navigation — dim the grid while the next page loads. */
#content.bg-nav-loading { opacity: .45; transition: opacity .15s ease; }

/* Button-level loading state. */
.btn.is-loading { pointer-events: none; }
.btn.is-loading svg { display: none; }
.btn .bg-ls-spinner { margin-right: 8px; vertical-align: -2px; }
.btn.is-done { background: #1866aa !important; border-color: #1866aa !important; color: #fff !important; }
.btn-primary.is-loading { background: #2a82cc !important; }

/* ============================================================
   Dropdowns — shadcn/ui Select style
   Native <select> dressed as a shadcn trigger: white surface,
   hairline border, soft shadow, chevron-down, focus ring.
   ============================================================ */
select,
.sort-select,
.woocommerce form .form-row select,
.woocommerce .woocommerce-ordering select,
.field select,
.woocommerce-page select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 42px;
  width: auto;
  max-width: 100%;
  padding: 0 38px 0 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(13,40,63, .05);
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
select:hover { border-color: #bfcdd9; }
select:focus,
select:focus-visible,
.sort-select:focus,
.field select:focus,
.woocommerce form .form-row select:focus {
  outline: none;
  border-color: var(--bg-green);
  box-shadow: 0 0 0 3px rgba(30,115,190, .13);
}
select:disabled { opacity: .55; cursor: not-allowed; background-color: #fafafa; }
/* Chevron nudges a touch on hover, like shadcn's trigger affordance. */
select:hover { background-position: right 12px center; }

/* Full-width selects inside form rows / fields. */
.field select,
.woocommerce form .form-row select { width: 100%; height: 48px; padding-right: 42px; }

/* Native option list (best-effort across browsers). */
select option {
  color: var(--ink);
  background: #fff;
  padding: 8px 10px;
  font-size: 14px;
}
select option:checked { color: var(--bg-green); font-weight: 600; }

/* Keep the hidden variation select truly hidden. */
.bg-variation-select.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  background-image: none;
}

/* Darker chevron for the shop sort control. */
.sort-select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6b60' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

@media (max-width: 640px) {
  select, .sort-select { height: 44px !important; min-height: 44px; font-size: 15px; }
  .field select, .woocommerce form .form-row select { height: 48px !important; min-height: 48px; font-size: 15px; }
}


/* =====================================================================
 * Bengal Sea Fish — blue surfaces + shadcn-style selects
 * ===================================================================== */
.delivery-box{background:#eef6fd !important;border-color:#cfe3f6 !important}
.delivery-box *{border-color:#dbe9f7}
.header-search .search-form,.d-search{background:#eef6fd !important;border:1px solid #cfe3f6 !important;transition:border-color .15s,box-shadow .15s,background .15s}
.header-search .search-form:focus-within,.d-search:focus-within{background:#fff !important;border-color:var(--bg-green) !important;box-shadow:0 0 0 3px rgba(30,115,190,.18)}
.header-search .search-form input::placeholder,.d-search input::placeholder{color:#6b8299}
.header-search .search-form svg,.d-search svg{stroke:var(--bg-green)}
.header-search .search-submit{color:var(--bg-green)}

/* Native select fallback (before JS / multi-selects) */
select:not([multiple]):not(.select2-hidden-accessible){-webkit-appearance:none;appearance:none;height:40px;padding:0 36px 0 12px;border:1px solid #e4e4e7;border-radius:8px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 15 5 5 5-5'/%3E%3Cpath d='m7 9 5-5 5 5'/%3E%3C/svg%3E") no-repeat right 10px center;font:inherit;font-size:14px;color:#09090b;box-shadow:0 1px 2px rgba(0,0,0,.04);cursor:pointer;max-width:100%}
select:not([multiple]):focus-visible{outline:none;border-color:var(--bg-green);box-shadow:0 0 0 3px rgba(30,115,190,.18)}

/* Custom select (ui-select) */
.ui-select{position:relative;display:inline-block;width:100%;font-size:14px}
.filter-row .ui-select{width:auto;min-width:180px}
.ui-select>select{position:absolute !important;opacity:0 !important;pointer-events:none !important;width:1px !important;height:1px !important;inset:auto !important;bottom:0 !important;left:50% !important}
.ui-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:40px;padding:0 12px;border:1px solid #e4e4e7;border-radius:8px;background:#fff;color:#09090b;font:inherit;font-size:14px;line-height:1;text-align:left;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.04);transition:border-color .15s,box-shadow .15s}
.ui-select-trigger:hover{border-color:#d4d4d8}
.ui-select-trigger:focus-visible,.ui-select.is-open .ui-select-trigger{outline:none;border-color:var(--bg-green);box-shadow:0 0 0 3px rgba(30,115,190,.18)}
.ui-select-trigger .ui-val{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ui-select-trigger .ui-val.is-ph{color:#71717a}
.ui-select-trigger svg{flex:0 0 auto;opacity:.55}
.ui-select.is-disabled .ui-select-trigger{opacity:.5;cursor:not-allowed}
.ui-select-pop{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:9999;min-width:180px;background:#fff;border:1px solid #e4e4e7;border-radius:10px;box-shadow:0 10px 30px -8px rgba(9,9,11,.18),0 4px 8px -4px rgba(9,9,11,.08);padding:4px;opacity:0;transform:translateY(-4px) scale(.98);transform-origin:top;pointer-events:none;transition:opacity .12s,transform .12s}
.ui-select.drop-up .ui-select-pop{top:auto;bottom:calc(100% + 6px);transform-origin:bottom}
.ui-select.is-open .ui-select-pop{opacity:1;transform:none;pointer-events:auto}
.ui-select-search{display:flex;align-items:center;gap:8px;padding:6px 8px 8px;margin:-4px -4px 4px;border-bottom:1px solid #f4f4f5}
.ui-select-search input{flex:1;border:0 !important;outline:0 !important;box-shadow:none !important;background:transparent !important;height:30px;padding:0 !important;font:inherit;font-size:14px}
.ui-select-list{max-height:260px;overflow-y:auto;overscroll-behavior:contain;margin:0;padding:0;list-style:none}
.ui-opt{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:6px;cursor:pointer;color:#09090b;user-select:none}
.ui-opt.is-active{background:#eef6fd;color:#0b4a80}
.ui-opt.is-selected{font-weight:600}
.ui-opt .ui-check{width:16px;height:16px;flex:0 0 16px;opacity:0;color:var(--bg-green)}
.ui-opt.is-selected .ui-check{opacity:1}
.ui-opt.is-disabled{opacity:.45;pointer-events:none}
.ui-empty{padding:14px 10px;color:#71717a;text-align:center}

/* select2 / selectWoo (WooCommerce) in the same style */
.select2-container--default .select2-selection--single{height:40px !important;border:1px solid #e4e4e7 !important;border-radius:8px !important;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:38px !important;padding-left:12px !important;color:#09090b}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:38px !important;right:6px !important}
.select2-container--default.select2-container--open .select2-selection--single,.select2-container--default.select2-container--focus .select2-selection--single{border-color:var(--bg-green) !important;box-shadow:0 0 0 3px rgba(30,115,190,.18)}
.select2-dropdown{border:1px solid #e4e4e7 !important;border-radius:10px !important;box-shadow:0 10px 30px -8px rgba(9,9,11,.18);padding:4px;overflow:hidden}
.select2-search--dropdown .select2-search__field{border:1px solid #e4e4e7 !important;border-radius:6px;height:34px;padding:0 10px}
.select2-results__option{padding:8px 10px !important;border-radius:6px}
.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[data-selected]{background:#eef6fd !important;color:#0b4a80 !important}
.select2-container--default .select2-results__option[aria-selected=true],.select2-container--default .select2-results__option[data-selected=true]{background:transparent;font-weight:600}

/* USP boxes (trust strip) — boxed on mobile + desktop */
.trust-strip{display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:14px !important;background:transparent !important;padding:0 !important;border:0 !important;border-radius:0 !important;margin:28px 0 !important}
.trust-strip .trust-item{background:#eef6fd;border:1px solid #cfe3f6;border-radius:14px;padding:16px 16px 16px 18px;position:relative;overflow:hidden;min-height:100%;box-sizing:border-box;border-left:4px solid var(--bg-green);box-shadow:0 1px 2px rgba(9,30,66,.04);transition:transform .15s,box-shadow .15s}
.trust-strip .trust-item:hover{transform:translateY(-2px);box-shadow:0 8px 20px -10px rgba(30,115,190,.35)}
.trust-strip .trust-item .t{font-weight:700;font-size:15px;color:#0b2540;margin-bottom:4px}
.trust-strip .trust-item .d{font-size:13px;line-height:1.55;color:#475569}
@media (max-width:900px){.trust-strip{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important}.trust-strip .trust-item{padding:12px 12px 12px 14px;border-radius:12px}.trust-strip .trust-item .t{font-size:14px}.trust-strip .trust-item .d{font-size:12px}}
