/* Bengali digits (০-৯): Hind Siliguri draws ১ very small, so digits come from Noto Sans Bengali (OFL).
   Same family name + unicode-range: only the digits switch, every other letter stays Hind Siliguri. */
@font-face { font-family: 'Hind Siliguri'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/bn-digits-400.woff2') format('woff2'); unicode-range: U+09E6-09EF; }
@font-face { font-family: 'Hind Siliguri'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/bn-digits-500.woff2') format('woff2'); unicode-range: U+09E6-09EF; }
@font-face { font-family: 'Hind Siliguri'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/bn-digits-600.woff2') format('woff2'); unicode-range: U+09E6-09EF; }
@font-face { font-family: 'Hind Siliguri'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/bn-digits-700.woff2') format('woff2'); unicode-range: U+09E6-09EF; }

/* Storefront. --primary / --accent are set from Settings in the layout. */
:root {
  --primary: #6B4F3A;
  --accent: #F39200;
  --ink: #1b1f1f;
  --muted: #667375;
  --line: #e3e9e8;
  --bg: #fefcf7;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(16, 40, 42, .06), 0 4px 14px rgba(16, 40, 42, .05);
  --shadow-hover: 0 6px 22px rgba(16, 40, 42, .12);
  --primary-soft: color-mix(in srgb, var(--primary) 9%, white);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Poppins", "Hind Siliguri", system-ui, sans-serif; font-size: 16px; line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 600; line-height: 1.3; margin: 0; }
.hl { position: relative; white-space: nowrap; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 680px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.mt { margin-top: 40px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 42px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 85%, black); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 88%, black); }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-soft); }
.btn-icon { width: 42px; padding: 0; background: var(--primary-soft); color: var(--primary); }
.btn-icon:hover { background: var(--primary); color: #fff; }
.btn-disabled { background: #eceff0; color: #9aa4a5; cursor: not-allowed; }
.btn-block { display: flex; width: 100%; }
.btn-grow { flex: 1; }
.btn-lg { height: 50px; font-size: 17px; }
.btn.loading { opacity: .65; pointer-events: none; }

/* header */
.topbar { background: var(--primary); color: #fff; font-size: 14px; text-align: center; padding: 7px 0; letter-spacing: .01em; }
.topbar .container { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-header { background: #fff; z-index: 40; box-shadow: 0 1px 0 var(--line); }
.site-header.is-sticky { position: sticky; top: 0; }
.header-row { display: flex; align-items: center; gap: 22px; height: 74px; }
.logo { display: flex; align-items: center; font-size: 21.5px; font-weight: 600; color: var(--primary); flex-shrink: 0; }
.logo img { max-height: 48px; width: auto; }
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; border-radius: 10px; color: var(--ink); cursor: pointer; place-items: center; }
.menu-toggle:hover { background: var(--bg); }

/* desktop main menu */
.main-menu { flex: 1; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px 6px; min-width: 0; }
.main-menu > a, .mm-drop > a { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border-radius: 8px; font-size: 16px; font-weight: 500; color: var(--ink); white-space: nowrap; transition: color .2s, background .2s; }
.main-menu > a:hover, .mm-drop > a:hover, .main-menu a.active { color: var(--primary); }
.main-menu a.active { font-weight: 600; }
.mm-drop { position: relative; }
.mm-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 50; min-width: 190px; padding: 6px; margin-top: 4px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.18); flex-direction: column; }
.mm-drop:hover .mm-menu, .mm-drop:focus-within .mm-menu { display: flex; }
.mm-menu a { padding: 8px 12px; border-radius: 7px; font-size: 15px; }
.mm-menu a:hover { background: var(--primary-soft); color: var(--primary); }

/* search */
.header-search { position: relative; flex: 0 1 300px; min-width: 200px; display: flex; align-items: center; height: 46px; background: #f3f6f5; border: 1.5px solid transparent; border-radius: 12px; transition: border-color .2s, background .2s; }
.header-search:focus-within { background: #fff; border-color: var(--primary); box-shadow: none; }
.hs-icon { display: grid; place-items: center; padding: 0 13px 0 4px; color: var(--muted); border: 0; background: transparent; height: 100%; cursor: pointer; }
.header-search:focus-within .hs-icon, .hs-icon:hover { color: var(--primary); }
.header-search input, .mob-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 8px 0 14px; outline: none; font-size: 15.5px; }
.header-search input::placeholder, .mob-search input::placeholder { color: #8b9799; }
.header-search input::-webkit-search-cancel-button { cursor: pointer; }
.hs-btn { height: 36px; margin-right: 5px; padding: 0 16px; border: 0; border-radius: 9px; background: var(--primary); color: #fff; font-size: 15px; font-weight: 500; cursor: pointer; transition: background .2s; }
.hs-btn:hover { background: color-mix(in srgb, var(--primary) 85%, black); }
.search-pop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.25); padding: 6px; max-height: 70vh; overflow-y: auto; }
.header-search .search-pop { left: auto; width: 400px; max-width: 80vw; }
.sp-item { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; }
.sp-item:hover, .sp-item.on { background: var(--primary-soft); }
.sp-item img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; background: #fff; border: 1px solid #eef2f0; }
.sp-name { font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-price { text-align: right; font-weight: 600; color: var(--primary); font-size: 15px; white-space: nowrap; }
.sp-price del { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.sp-all { display: block; text-align: center; padding: 9px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--primary); font-weight: 500; }
.sp-empty { padding: 14px; text-align: center; color: var(--muted); font-size: 15px; }

.head-phone { display: flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 600; font-size: 16px; white-space: nowrap; font-family: "Poppins", sans-serif; }
.head-phone small { display: block; font: 400 11.5px "Hind Siliguri", sans-serif; color: var(--muted); line-height: 1.2; }
.cart-toggle { position: relative; border: 0; background: transparent; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; color: var(--ink); flex-shrink: 0; transition: color .2s; }
.cart-toggle:hover { color: var(--primary); }
.cart-badge {
  position: absolute; top: 0; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px #fff;
}
.cart-badge.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

/* category bar under the header (desktop) */
.site-nav { border-top: 1px solid var(--line); background: #fff; }
.nav-row { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav-row::-webkit-scrollbar { display: none; }
.nav-row a { padding: 10px 12px; font-size: 15px; font-weight: 500; color: #3d4a4b; white-space: nowrap; }
.nav-row a:hover, .nav-row a.active { color: var(--primary); }
.nav-row a.active { font-weight: 600; }

/* off-canvas menu (phones) */
.mm-overlay { position: fixed; inset: 0; background: rgba(10, 20, 22, .45); opacity: 0; visibility: hidden; transition: .25s; z-index: 90; }
.mobile-menu { position: fixed; top: 0; left: 0; height: 100%; width: min(340px, 86vw); background: #fff; z-index: 100; transform: translateX(-100%); transition: transform .3s ease; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
body.menu-open .mobile-menu { transform: none; }
body.menu-open .mm-overlay { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.mob-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 12px 18px; border-bottom: 1px solid var(--line); }
.mob-head .logo img { max-height: 40px; }
.mob-search { position: relative; display: flex; align-items: center; height: 46px; margin: 14px 16px 6px; background: #f3f6f5; border: 1.5px solid transparent; border-radius: 12px; }
.mob-search:focus-within { background: #fff; border-color: var(--primary); }
.mob-search .search-pop { position: absolute; }
.mob-links, .mob-cats { display: flex; flex-direction: column; padding: 6px 10px; }
.mob-links a, .mob-cats a, .mob-cats summary { display: flex; align-items: center; justify-content: space-between; padding: 11px 10px; border-radius: 9px; font-size: 16.5px; font-weight: 500; color: var(--ink); cursor: pointer; }
.mob-links a.active, .mob-cats a.active { color: var(--primary); font-weight: 600; }
.mob-links a.sub, .mob-cats a.sub { padding-left: 26px; font-size: 15.5px; font-weight: 400; color: var(--muted); }
.mob-title { margin: 8px 20px 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.mob-cats summary { list-style: none; }
.mob-cats summary::-webkit-details-marker { display: none; }
.mob-cats summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-right: 4px; transition: transform .2s; opacity: .6; }
.mob-cats details[open] summary::after { transform: rotate(-135deg); }
.mob-call { margin: auto 16px 18px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 15px; font-weight: 500; }

@media (max-width: 1100px) { .head-phone { display: none; } .main-menu > a, .mm-drop > a { padding: 8px 9px; } }
@media (max-width: 900px) {
  .header-row { display: grid; grid-template-columns: 46px 1fr 46px; gap: 8px; height: 62px; }
  .menu-toggle { display: grid; }
  .logo { justify-self: center; }
  .logo img { max-height: 42px; }
  .main-menu, .header-search, .site-nav, .head-phone { display: none; }
  .cart-toggle { justify-self: end; width: 42px; height: 42px; }
}

/* hero */
.hero { background: var(--primary); color: #fff; }
.hero-inner { padding: 56px 16px; text-align: center; }
.hero h1 { font-size: clamp(28px, 4vw, 43px); }
.hero p { opacity: .85; margin: 8px 0 22px; font-size: 18px; }

/* sections */
.section { padding: 32px 0; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-head h2 { font-size: 23.5px; position: relative; padding-left: 12px; }
.section-head h2::before { content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 4px; border-radius: 4px; background: var(--accent); }
.section-head a { font-size: 15px; color: var(--primary); }
.page-title { font-size: 28px; margin-bottom: 18px; }

/* categories */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.category-card { background: var(--card); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); text-align: center; transition: transform .2s, box-shadow .2s; }
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.category-card img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; margin: 0 auto 8px; }
.category-card span { display: block; font-weight: 500; }
.category-card small { color: var(--muted); }

/* product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { background: var(--card); border-radius: 14px; border: 1px solid #e8eeec; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(31, 74, 63, .28); border-color: transparent; }
.product-thumb { position: relative; display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.sale-badge, .stock-badge { position: absolute; top: 10px; left: 10px; font-size: 13px; font-weight: 600; padding: 3px 9px; border-radius: 6px; color: #fff; background: var(--accent); line-height: 1.4; }
.stock-badge { left: auto; right: 10px; background: #59656a; }
.product-info { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-title { font-size: 18px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-title:hover { color: var(--primary); }
.price { display: flex; align-items: baseline; gap: 8px; font-size: 15px; }
.price-now { color: var(--primary); font-weight: 600; font-size: 16px; }
.price del { color: var(--muted); font-size: 14px; }
.card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }

/* shop */
.shop-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.shop-head h1 { font-size: 25.5px; }
.sort-form select { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: #fff; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; }
.chip.active, .chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #fff; border: 1px solid var(--line); padding: 0 10px; }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .disabled { opacity: .45; }

/* single product */
.breadcrumb { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .here { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; background: #fff; border-radius: 16px; padding: 26px; border: 1px solid #e8eeec; }
.pp-main { position: relative; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #eef2f0; }
.pp-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 1; }
.pp-track::-webkit-scrollbar { display: none; }
.pp-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.pp-badge { top: 14px; left: 14px; font-size: 14px; }
.pp-count { position: absolute; right: 12px; bottom: 12px; background: rgba(15, 30, 32, .6); color: #fff; font-size: 13px; padding: 2px 9px; border-radius: 99px; font-family: "Poppins", sans-serif; }
.pp-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.pp-thumbs button { flex: 0 0 72px; height: 72px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #fff; cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.pp-thumbs button.active, .pp-thumbs button:hover { opacity: 1; border-color: var(--primary); }
.pp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pp-info { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pp-cat { align-self: flex-start; font-size: 14.5px; color: var(--primary); background: var(--primary-soft); padding: 3px 10px; border-radius: 6px; }
.pp-info h1 { font-size: clamp(23.5px, 2.6vw, 32px); font-weight: 700; line-height: 1.35; }
.pp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.pp-price .now { font-size: 30px; font-weight: 700; color: var(--primary); font-family: "Poppins", sans-serif; }
.pp-price del { color: var(--muted); font-size: 18px; }
.pp-price .save { font-size: 14px; font-weight: 600; color: #b45309; background: #fff4e0; border-radius: 6px; padding: 2px 8px; }
.pp-stock { font-size: 15px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.pp-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pp-stock.ok { color: #1e8e4e; }
.pp-stock.no { color: #b42318; }
.pp-short { color: #2c3638; font-size: 16.5px; line-height: 1.75; }
.buy-box { display: flex; flex-direction: column; gap: 10px; max-width: 460px; margin-top: 4px; }
.buy-row { display: flex; gap: 10px; }
.buy-box .btn { height: 48px; font-size: 16.5px; }
.buy-box .btn-lg { height: 52px; font-size: 18px; font-weight: 600; }
.buy-box .qty { height: 48px; }
.pp-call { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 460px; }
.pp-call-btn { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--primary); transition: border-color .2s, background .2s; }
.pp-call-btn:hover { border-color: var(--primary); background: var(--primary-soft); }
.pp-call-btn span { display: flex; flex-direction: column; font-weight: 600; font-size: 15.5px; font-family: "Poppins", "Hind Siliguri", sans-serif; line-height: 1.3; }
.pp-call-btn small { font: 400 12px "Hind Siliguri", sans-serif; color: var(--muted); }
.pp-call-btn.wa { color: #128c4a; }
.pp-call-btn.wa:hover { border-color: #25d366; background: #eefbf3; }
.pp-trust { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 9px; font-size: 15.5px; color: #3a4547; }
.pp-trust li { display: flex; align-items: flex-start; gap: 10px; }
.pp-trust svg { flex-shrink: 0; width: 20px; height: 20px; color: color-mix(in srgb, var(--accent) 85%, black); }
.out-of-stock { background: #fdf0ef; color: #a2322b; padding: 12px 14px; border-radius: 10px; }
.pp-desc { background: #fff; border-radius: 16px; padding: 26px; border: 1px solid #e8eeec; margin-top: 20px; }
.pp-desc h2 { font-size: 21.5px; margin-bottom: 12px; position: relative; padding-left: 12px; }
.pp-desc h2::before { content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 4px; border-radius: 4px; background: var(--accent); }
.rich-text { color: #1f2a2c; line-height: 1.8; font-size: 16.5px; }
.rich-text img { border-radius: 10px; height: auto; margin: 10px 0; }
.rich-text p { margin: 0 0 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; height: 42px; background: #fff; }
.qty button { width: 40px; height: 100%; border: 0; background: transparent; font-size: 19.5px; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--bg); }
.qty input { width: 44px; text-align: center; border: 0; outline: none; -moz-appearance: textfield; font-family: "Poppins", sans-serif; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm { height: 30px; }
.qty-sm button { width: 28px; font-size: 16px; }
.qty-sm span { min-width: 24px; text-align: center; font-size: 15px; }
.pp-sticky { display: none; }
@media (max-width: 820px) {
  .pp-grid { grid-template-columns: 1fr; gap: 18px; padding: 12px; }
  .pp-thumbs { display: none; }
  .pp-main { border: 0; border-radius: 12px; }
  .pp-desc { padding: 18px 14px; }
  .pp-call { grid-template-columns: 1fr 1fr; }
  body.page-product { padding-bottom: 76px; }
  .pp-sticky {
    display: flex; align-items: center; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.08);
  }
  .pp-sticky-price { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
  .pp-sticky-price b { font-size: 20.5px; color: var(--primary); font-family: "Poppins", sans-serif; }
  .pp-sticky-price del { font-size: 14px; color: var(--muted); }
  .pp-sticky .btn { height: 46px; }
  .pp-sticky .btn-icon { width: 46px; }
  .pp-sticky .btn-primary { padding: 0 22px; font-size: 17px; font-weight: 600; }
}

/* side cart */
.side-cart-overlay { position: fixed; inset: 0; background: rgba(10, 20, 22, .4); opacity: 0; visibility: hidden; transition: .25s; z-index: 90; }
.side-cart { position: fixed; top: 0; right: 0; height: 100%; width: min(400px, 92vw); background: #fff; z-index: 100; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; }
body.cart-open .side-cart { transform: none; }
body.cart-open .side-cart-overlay { opacity: 1; visibility: visible; }
.side-cart-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 500; }
.icon-btn { border: 0; background: var(--bg); width: 34px; height: 34px; border-radius: 50%; font-size: 23.5px; line-height: 1; cursor: pointer; }
.side-cart-body { flex: 1; overflow-y: auto; padding: 8px 18px; }
.side-cart-foot { padding: 16px 18px; border-top: 1px solid var(--line); }
.side-cart-total { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 17px; }
.cart-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* checkout + summary items */
.checkout-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 16px; }
.card-title { font-size: 18px; font-weight: 500; margin-bottom: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 5px; font-weight: 400; }
.field input, .field textarea { width: 100%; border: 1px solid #d6dfde; border-radius: 8px; padding: 10px 12px; background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent); }
.field.has-error input, .field.has-error textarea { border-color: #d0453b; }
.field-error { color: #c0392b; font-size: 14px; margin-top: 4px; }
.ship-options { display: flex; flex-direction: column; gap: 8px; }
.field .ship-option { display: flex; align-items: center; gap: 10px; border: 1px solid #d6dfde; border-radius: 8px; padding: 10px 12px; cursor: pointer; font-size: 15px; color: var(--ink); margin: 0; }
.ship-option:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.field .ship-option input { accent-color: var(--primary); width: auto; padding: 0; margin: 0; flex-shrink: 0; }
.ship-price { margin-left: auto; color: var(--primary); }
.order-summary { position: sticky; top: 120px; }
.summary-item { display: grid; grid-template-columns: 56px 1fr auto 24px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary-item img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--bg); }
.summary-name { font-size: 15px; line-height: 1.4; margin-bottom: 4px; }
.summary-price { font-size: 15px; }
.remove-x { width: 24px; height: 24px; border-radius: 50%; border: 0; background: #f1f3f3; color: #8a9596; cursor: pointer; font-size: 17px; line-height: 1; padding: 0; }
.remove-x:hover { background: #fde6e4; color: #c0392b; }
.summary-item.busy { opacity: .5; pointer-events: none; }
.totals { margin: 14px 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.totals > div { display: flex; justify-content: space-between; }
.totals .grand { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; font-size: 18px; color: var(--primary); }
.pay-note { background: var(--primary-soft); border-radius: 8px; padding: 10px 12px; font-size: 14px; margin-bottom: 14px; }
.alert { background: #fdecea; color: #a12a20; padding: 12px 14px; border-radius: 8px; margin-bottom: 16px; }
.empty-cart { text-align: center; padding: 40px; }

/* thank-you */
.thankyou { text-align: center; }
.check-circle { width: 66px; height: 66px; border-radius: 50%; background: #1e9d50; display: flex; align-items: center; justify-content: center; margin: 4px auto 14px; box-shadow: 0 6px 18px rgba(30, 157, 80, .3); }
.thankyou h1 { font-size: 25.5px; }
.thankyou p { color: var(--muted); }
.order-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.order-meta div { background: var(--bg); border-radius: 8px; padding: 10px 6px; }
.order-meta small { display: block; color: var(--muted); font-size: 13px; }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cash-note { background: #fff7e8; border: 1px solid #f6d79a; color: #7a5200; border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; text-align: center; }

/* footer */
.site-footer { background: color-mix(in srgb, var(--primary) 30%, #071a1c); color: #c3d2d0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 28px; padding: 44px 16px 32px; }
.footer-brand { display: inline-block; color: #fff; font-size: 21.5px; font-weight: 700; margin-bottom: 8px; }
.footer-brand img { max-height: 52px; width: auto; background: #fff; border-radius: 10px; padding: 6px 10px; }
.footer-title { color: #fff; font-weight: 600; margin-bottom: 10px; }
.site-footer p { margin: 5px 0; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .2s; }
.footer-social a:hover { background: var(--accent); }
.footer-pay span { display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); text-align: center; padding: 14px; font-size: 14px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* toast (errors only) */
.ca-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #2a2f30; color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 15px; z-index: 200; box-shadow: var(--shadow-hover); }

/* responsive */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-info { padding: 10px; }
  .product-title { font-size: 15px; }
  .card-actions .btn { height: 38px; font-size: 14px; padding: 0 10px; }
  .card-actions .btn-icon { width: 38px; }
  .order-meta { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 16px; }
}
.summary-name { display: block; }

/* header: sub-category dropdown (desktop); on phones the parent link opens its page, where sub-categories show as chips */
.nav-drop { position: relative; display: flex; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-menu { display: none; }
@media (min-width: 761px) {
  .nav-row { overflow: visible; flex-wrap: wrap; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; z-index: 40; min-width: 200px; padding: 6px;
    background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.18);
    flex-direction: column;
  }
  .nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { display: flex; }
  .nav-menu a { border-radius: 7px; padding: 8px 12px; color: var(--ink); }
  .nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
}
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.crumbs span { margin: 0 4px; }

/* hover: a second colour sweeps in from the left with a slanted front edge,
   and slides back out the same way when the pointer leaves (order buttons) */
.btn-slide { position: relative; overflow: hidden; isolation: isolate; border: 0; transition: color .25s, transform .1s; }
.btn-slide::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -20%; width: 140%; z-index: -1;
  background: var(--slide, var(--accent));
  transform: translateX(-101%) skewX(-28deg); transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.btn-slide:hover::before, .btn-slide:focus-visible::before { transform: translateX(0) skewX(-28deg); }
.btn-primary.btn-slide:hover { background: var(--primary); }
.btn-lg.btn-slide { font-size: 18px; font-weight: 600; height: 52px; }
@media (prefers-reduced-motion: reduce) { .btn-slide::before { transition: none; } }
.mob-search input { font-size: 17px; } /* 16px stops iPhone zooming in */

/* ---------- phones: Bengali text reads small in the site font, so step everything up a little ---------- */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .container { padding-left: 12px; padding-right: 12px; }
  .product-grid { gap: 10px; }
  .product-info { padding: 10px 10px 12px; gap: 3px; }
  .product-title { font-size: 18px; line-height: 1.4; }
  .price { font-size: 16px; gap: 6px; }
  .price-now { font-size: 16px; }
  .price del { font-size: 14px; }
  .card-actions { gap: 6px; padding-top: 8px; }
  .card-actions .btn { height: 42px; font-size: 16px; font-weight: 600; padding: 0 8px; }
  .card-actions .btn-icon { width: 42px; flex-shrink: 0; }
  .sale-badge, .stock-badge { font-size: 13.5px; top: 8px; left: 8px; }
  .stock-badge { left: auto; right: 8px; }
  .shop-head h1 { font-size: 20.5px; }
  .shop-head { margin-bottom: 12px; }
  .sort-form select { font-size: 16px; padding: 7px 8px; }
  .chip { font-size: 16px; }
  .crumbs, .breadcrumb { font-size: 15px; }
  .topbar { font-size: 14.5px; }
  .mob-links a, .mob-cats a, .mob-cats summary { font-size: 17.5px; }
  .mob-links a.sub, .mob-cats a.sub { font-size: 16.5px; }
  .field label { font-size: 15.5px; }
  .field input, .field textarea { font-size: 17px; }
  .card-title { font-size: 19.5px; }
  .totals { font-size: 16px; }
  .pay-note { font-size: 15px; }
  .summary-name, .summary-price { font-size: 16px; }
  .side-cart-head { font-size: 19.5px; }
  .site-footer p { font-size: 16px; }
  .footer-title { font-size: 17px; }
  .pp-info h1 { font-size: 23.5px; }
  .pp-short { font-size: 17px; }
  .pp-trust { font-size: 16px; }
  .short-desc, .rich-text { font-size: 17px; }
}
.phone-hint { font-size: 14.5px; margin-top: 5px; min-height: 0; }
.phone-hint.bad { color: #b4541a; }
.phone-hint.ok { color: #1e8e4e; }
.field-error + .phone-hint, .phone-hint:empty { display: none; }

/* ---------- side cart ---------- */
.side-cart { width: min(420px, 92vw); }
.side-cart-head { font-size: 19.5px; font-weight: 600; }
.sc-count { font-size: 15px; font-weight: 400; color: var(--muted); }
.side-cart-body .summary-item { grid-template-columns: 64px 1fr auto 26px; }
.side-cart-body .summary-item img { width: 64px; height: 64px; border: 1px solid #eef2f0; background: #fff; }
.summary-name { font-weight: 500; }
.side-cart-foot { box-shadow: 0 -8px 20px -14px rgba(0,0,0,.2); }
.side-cart-total { font-size: 18px; font-weight: 600; }
.side-cart-total span:last-child { color: var(--primary); font-family: "Poppins", sans-serif; }
.sc-note { margin: -4px 0 12px; font-size: 14px; color: var(--muted); }
.sc-continue { display: block; width: 100%; margin-top: 8px; padding: 8px; border: 0; background: transparent; color: var(--primary); font-size: 15.5px; cursor: pointer; }
.sc-continue:hover { text-decoration: underline; }
.cart-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 50px 10px; color: var(--muted); }
.cart-empty svg { color: #b6c4c2; }
.cart-empty p { margin: 0; font-size: 17px; }

/* ---------- checkout ---------- */
.co-head { margin-bottom: 18px; }
.co-head .page-title { margin-bottom: 2px; }
.co-head p { margin: 0; color: var(--muted); font-size: 15.5px; }
.page-checkout .card { box-shadow: none; border: 1px solid #e8eeec; border-radius: 16px; }
.page-checkout .card-title { font-size: 19.5px; font-weight: 600; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid #eef2f0; }
.page-checkout .ship-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.page-checkout .field .ship-option { padding: 12px; border-radius: 10px; }
.page-checkout .summary-item img { border: 1px solid #eef2f0; background: #fff; }
.page-checkout .totals .grand { font-size: 20.5px; font-weight: 600; }
.co-note { margin: 10px 0 0; }
.co-trust { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 6px; font-size: 13.5px; color: var(--muted); }
.co-trust li { display: flex; align-items: center; gap: 5px; }
.co-trust svg { width: 18px; height: 18px; color: color-mix(in srgb, var(--accent) 85%, black); flex-shrink: 0; }
.empty-cart { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); }
.empty-cart svg { color: #b6c4c2; }
.co-sticky { display: none; }
@media (max-width: 820px) {
  .page-checkout .ship-options { grid-template-columns: 1fr; }
  /* checkout has no fixed bottom bar any more */
  .co-sticky { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
  .co-sticky > div { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
  .co-sticky small { font-size: 13.5px; color: var(--muted); }
  .co-sticky b { font-size: 20.5px; color: var(--primary); font-family: "Poppins", sans-serif; }
  .co-sticky .btn { height: 48px; padding: 0 20px; font-size: 17px; font-weight: 600; }
}

/* ---------- thank you ---------- */
.ty-hero { text-align: center; background: #fff; border: 1px solid #e8eeec; border-radius: 16px; padding: 30px 20px 24px; margin-bottom: 16px; }
.ty-hero h1 { font-size: 25.5px; font-weight: 700; }
.ty-hero p { color: var(--muted); max-width: 46ch; margin: 8px auto 14px; }
.ty-no { display: inline-block; background: var(--primary-soft); color: var(--primary); border-radius: 10px; padding: 8px 16px; font-size: 16px; }
.ty-no b { font-family: "Poppins", sans-serif; font-size: 19.5px; margin-left: 4px; }
.check-circle { animation: ty-pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes ty-pop { from { transform: scale(.4); opacity: 0; } }
.ty-steps { list-style: none; counter-reset: s; margin: 0 0 16px; padding: 18px; background: #fff; border: 1px solid #e8eeec; border-radius: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ty-steps li { counter-increment: s; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: 15px; color: #3a4547; line-height: 1.4; }
.ty-steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #eef2f0; color: var(--muted); font: 600 14px "Poppins", sans-serif; }
.ty-steps li.done::before { content: "✓"; background: #1e9d50; color: #fff; }
.ty .card { box-shadow: none; border: 1px solid #e8eeec; border-radius: 16px; }
.ty-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15.5px; }
.ty-meta small { display: block; color: var(--muted); font-size: 13.5px; }
.ty-addr { margin: 0; line-height: 1.8; }
.ty-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (max-width: 640px) {
  .ty-steps { grid-template-columns: 1fr; padding: 14px 16px; }
  .ty-steps li { flex-direction: row; text-align: left; font-size: 16px; }
  .ty-steps li::before { flex-shrink: 0; }
  .ty-hero h1 { font-size: 23.5px; }
  .ty-actions .btn { width: 100%; }
  .co-trust { font-size: 13px; }
}

/* ---------- all products / category ---------- */
.shop-head { align-items: flex-end; }
.shop-count { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.sort-form select { appearance: none; -webkit-appearance: none; height: 42px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23667375' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; font-size: 15.5px; cursor: pointer; }
.sort-form select:focus { outline: none; border-color: var(--primary); }
.chip { transition: background .2s, color .2s, border-color .2s; }
.shop-empty { grid-column: 1 / -1; text-align: center; padding: 40px 10px; background: #fff; border: 1px solid #e8eeec; border-radius: 16px; color: var(--muted); }
.shop-empty p { margin: 0 0 14px; font-size: 17px; }
.pagination a, .pagination span { border-radius: 10px; font-family: "Poppins", sans-serif; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
@media (max-width: 640px) {
  .chip-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -12px; margin-right: -12px; padding: 0 12px; }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; flex-shrink: 0; }
  .sort-form select { height: 40px; font-size: 15.5px; }
  .shop-count { font-size: 14.5px; }
}

/* ---------- content pages (about, policies, contact) ---------- */
.sp-page { background: #fff; border: 1px solid #e8eeec; border-radius: 16px; padding: 30px 32px; }
.sp-page h1 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.sp-page .rich-text h2, .sp-page .rich-text h3 { font-size: 19.5px; margin: 20px 0 8px; color: var(--primary); }
.sp-page .rich-text ul { padding-left: 20px; }
.sp-page .rich-text li { margin-bottom: 6px; }
.sp-contact { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 20px; }
.sp-contact > a, .sp-addr { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--primary); }
.sp-contact > a:hover { border-color: var(--primary); background: var(--primary-soft); }
.sp-contact span { display: flex; flex-direction: column; font-weight: 600; font-size: 16px; color: var(--ink); line-height: 1.35; word-break: break-word; }
.sp-contact small { font-weight: 400; font-size: 13.5px; color: var(--muted); }
.sp-addr { grid-column: 1 / -1; color: var(--muted); }
@media (max-width: 640px) { .sp-page { padding: 20px 16px; } .sp-page h1 { font-size: 23.5px; } }

/* checkout: clear, bold field labels (desktop + phone) */
.co-head .page-title { font-size: clamp(21.5px, 2.4vw, 28px); line-height: 1.35; }
.checkout-grid .field > label, [data-landing-form] .field > label { font-size: 16.5px; font-weight: 400; color: var(--ink, #1d2a2c); margin-bottom: 6px; }
@media (max-width: 640px) {
  .checkout-grid .field > label, [data-landing-form] .field > label { font-size: 17.5px; }
  .co-head .page-title { font-size: 21.5px; }
}

/* thank-you message stands out */
.ty-hero p.ty-msg { color: var(--ink, #1d2a2c); font-weight: 600; font-size: 17px; line-height: 1.6; }

/* checkout: centred heading, no card titles, easier-to-read summary */
.co-head { text-align: center; }
.page-checkout .order-summary .summary-name { font-size: 16.5px; }
.page-checkout .order-summary .summary-price { font-size: 16.5px; }
.page-checkout .order-summary .totals > div:not(.grand) { font-size: 17px; }
@media (max-width: 640px) {
  .page-checkout .order-summary .summary-name, .page-checkout .order-summary .summary-price { font-size: 17px; }
  .page-checkout .order-summary .totals > div:not(.grand) { font-size: 17.5px; }
}
.page-checkout .field .ship-option { font-size: 16px; }

/* checkout heading + summary title in the brand colour */
.co-head .page-title { color: var(--primary); }
.page-checkout .order-summary .card-title { color: var(--primary); font-weight: 600; }

/* header logo a little larger */
.logo img { max-height: 56px; }
.mob-head .logo img { max-height: 46px; }
@media (max-width: 900px) { .logo img { max-height: 48px; } }

/* phones: footer columns stacked one under another */
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-about { grid-column: auto; }
}

/* form labels: medium weight — between normal and bold */
.checkout-grid .field > label, [data-landing-form] .field > label { font-weight: 500; font-size: 16px; color: #2a3436; }
@media (max-width: 640px) { .checkout-grid .field > label, [data-landing-form] .field > label { font-size: 17px; } }

/* checkout summary: product names unbold, same size as the subtotal row */
.page-checkout .order-summary .summary-name { font-size: 17px; font-weight: 400; }
@media (max-width: 640px) { .page-checkout .order-summary .summary-name { font-size: 17.5px; } }

/* order tracking */
.tr-head { text-align: center; margin-bottom: 14px; }
.tr-head .page-title { color: var(--primary); margin-bottom: 4px; }
.tr-head p { margin: 0; color: var(--muted); }
.tr-form { display: flex; gap: 8px; max-width: 460px; margin: 0 auto 18px; }
.tr-form input { flex: 1; min-width: 0; width: 100%; height: 48px; border: 1px solid #d6dfde; border-radius: 10px; padding: 0 14px; font-size: 18px; font-family: "Poppins", sans-serif; }
.tr-form input:focus { outline: none; border-color: var(--primary); }
.tr-form .btn { height: 48px; padding: 0 22px; }
.tr-err { text-align: center; margin: -10px 0 14px; }
.tr-card { background: #fff; border: 1px solid #e3eae8; border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; }
.tr-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.tr-top b { font-family: "Poppins", "Hind Siliguri", sans-serif; font-size: 17px; }
.tr-top small { display: block; color: var(--muted); font-size: 14px; }
.tr-total { font: 600 16px "Poppins", sans-serif; color: var(--primary); }
.tr-status { margin: 10px 0 6px; }
.tr-status b { font-size: 18px; color: var(--primary); }
.tr-card.is-stopped .tr-status b { color: #b42318; }
.tr-status p { margin: 2px 0 0; color: var(--ink); font-size: 16px; }
.tr-steps { list-style: none; padding: 0; margin: 14px 0 12px; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.tr-steps li { position: relative; text-align: center; font-size: 14px; color: var(--muted); padding-top: 24px; }
.tr-steps li span { position: absolute; top: 2px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: #e3eae8; border: 3px solid #fff; box-shadow: 0 0 0 1px #d6dfde; z-index: 1; }
.tr-steps li::before { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 3px; background: #e3eae8; }
.tr-steps li:first-child::before { display: none; }
.tr-steps li.done { color: var(--ink); font-weight: 500; }
.tr-steps li.done span { background: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.tr-steps li.done::before { background: var(--primary); }
.tr-steps li.now span { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.tr-items { font-size: 15px; color: var(--muted); border-top: 1px dashed #e3eae8; padding-top: 8px; }
.tr-courier { margin-top: 8px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 15px; }
.tr-courier a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.tr-empty { text-align: center; color: var(--muted); }
.tr-empty a { color: var(--primary); font-weight: 600; }
.tr-more { text-align: center; } .tr-more a { color: var(--primary); text-decoration: underline; }
@media (max-width: 640px) { .tr-steps li { font-size: 13px; } .tr-status b { font-size: 17.5px; } }
.ty-track { margin: 10px 0 0; } .ty-track a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tr-form .btn { flex-shrink: 0; }

/* customers always see the light design, even in dark mode */
:root { color-scheme: only light; }

/* ---------- floating WhatsApp + call buttons (all pages) ---------- */
.ca-float { position: fixed; right: 16px; bottom: 18px; z-index: 61; display: flex; flex-direction: column; gap: 12px; transition: bottom .25s ease; }
.ca-float a { position: relative; width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transition: transform .2s ease; }
.ca-float a:hover { transform: scale(1.07); }
.ca-float-wa { background: #25d366; }
.ca-float-call { background: var(--primary); }
.ca-float-wa::before { content: ""; position: absolute; width: 54px; height: 54px; border-radius: 50%; background: #25d366; z-index: -1; animation: ca-ping 2.4s ease-out infinite; }
@keyframes ca-ping { 0% { transform: scale(1); opacity: .45; } 80%, 100% { transform: scale(1.55); opacity: 0; } }
@media (max-width: 820px) {
  .ca-float { right: 12px; bottom: 14px; gap: 10px; }
  .ca-float a, .ca-float-wa::before { width: 50px; height: 50px; }
  /* stay above the bottom bars (product page, checkout, landing page order bar) */
  body.page-product .ca-float, body:has(.co-sticky) .ca-float, body:has(.lp-sticky.show) .ca-float { bottom: 86px; }
}
@media (prefers-reduced-motion: reduce) { .ca-float, .ca-float a { transition: none; } .ca-float-wa::before { animation: none; display: none; } }

/* footer stays at the bottom of the screen even when a page has little content */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
body > .site-footer { flex-shrink: 0; }

/* discounts that are easy to see: struck old price + how much is saved */
.price { flex-wrap: wrap; row-gap: 4px; }
.price del, .lp-item-price del { color: #7c8584; font-size: 15px; font-weight: 500; text-decoration-line: line-through; text-decoration-color: #e0453a; text-decoration-thickness: 1.5px; }
.price-save { display: inline-flex; align-items: center; padding: 1px 7px; border-radius: 6px; background: #fdecea; color: #c62f22; font-size: 13px; font-weight: 600; line-height: 1.5; white-space: nowrap; font-family: "Poppins", "Hind Siliguri", sans-serif; }

/* 404 page */
.nf { padding-top: 40px; }
.nf-box { max-width: 620px; margin: 0 auto; text-align: center; }
.nf-art svg { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.nf-code { margin: 4px 0 0; font-family: Poppins, sans-serif; font-size: 16px; font-weight: 600; letter-spacing: .3em; color: var(--accent); }
.nf-title { margin: 6px 0 10px; font-size: 30px; line-height: 1.3; color: var(--primary); }
.nf-text { margin: 0 auto 22px; max-width: 480px; font-size: 17px; line-height: 1.7; color: var(--muted, #5b6b6d); }
.nf-search { display: flex; gap: 8px; max-width: 480px; margin: 0 auto 16px; }
.nf-search input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 17px; background: #fff; }
.nf-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent); }
.nf-search .btn { height: 46px; }
.nf-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.nf-actions .btn { height: 46px; padding: 0 22px; font-size: 16px; }
.nf-help { margin-top: 18px; font-size: 15.5px; color: var(--muted, #5b6b6d); }
.nf-help a { color: var(--primary); font-weight: 600; }
.nf-products { margin-top: 56px; }
.nf-products h2 { margin: 0 0 16px; font-size: 21.5px; color: var(--primary); text-align: center; }
@media (max-width: 640px) {
  .nf { padding-top: 24px; }
  .nf-art svg { width: 170px; }
  .nf-title { font-size: 23.5px; }
  .nf-text { font-size: 16px; }
  .nf-actions .btn { flex: 1; }
}

/* checkout offer: "এর সাথে নিন" + free delivery goal (same look on landing pages) */
.co-bump { display: grid; grid-template-columns: 22px 52px 1fr; gap: 10px; align-items: center; margin: 12px 0 4px; padding: 10px 12px; border: 2px dashed var(--accent, #F39200); border-radius: 12px; background: #fff8ec; cursor: pointer; transition: background .15s, border-color .15s; }
.co-bump.is-on { border-style: solid; background: #fff1d6; }
.co-bump input { width: 20px; height: 20px; accent-color: var(--primary, #6B4F3A); margin: 0; }
.co-bump img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; background: #fff; }
.bump-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; line-height: 1.35; }
.bump-title { font-size: 13.5px; font-weight: 700; color: #b26a00; }
.bump-name { font-weight: 600; }
.bump-price { font: 600 15px "Poppins", sans-serif; color: var(--primary, #6B4F3A); }
.bump-price del { margin-left: 6px; font-size: 13.5px; font-weight: 500; color: #8a9595; }
.bump-text { font-size: 13.5px; color: #5d6a6b; }
.co-bump:not(:has(img)) { grid-template-columns: 22px 1fr; }
.free-ship { margin: 10px 0 2px; padding: 9px 12px 10px; border-radius: 10px; background: #eef6f5; font-size: 14.5px; line-height: 1.4; color: #24403f; }
.free-ship b { color: var(--primary, #6B4F3A); }
.free-ship.done { background: #e7f7ec; }
.free-ship.done b { color: #16833a; }
.fs-bar { display: block; height: 6px; margin-top: 6px; border-radius: 99px; background: #d5e4e2; overflow: hidden; }
.fs-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent, #F39200); transition: width .3s; }
.free-ship.done .fs-bar i { background: #16a34a; }
.ship-price.struck { text-decoration: line-through; color: #8a9595; }
.side-cart .free-ship { margin: 0 0 10px; }
.remember-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin: 0 0 12px; padding: 8px 12px; border-radius: 10px; background: #eef6f5; font-size: 14.5px; line-height: 1.4; color: #24403f; }
.remember-note button { border: 0; background: none; padding: 2px 0; color: #b42318; font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }

/* combo products */
.combo-badge { position: absolute; bottom: 10px; left: 10px; font-size: 13px; font-weight: 600; padding: 3px 9px; border-radius: 6px; color: #fff; background: var(--primary, #6B4F3A); line-height: 1.4; }
.combo-box { margin: 18px 0; border: 1.5px solid #d7e4e2; border-radius: 14px; overflow: hidden; background: #fff; max-width: 520px; }
.combo-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 14px; background: var(--primary, #6B4F3A); color: #fff; font-weight: 700; font-size: 17px; }
.combo-head span { font-size: 14px; font-weight: 500; opacity: .9; }
.combo-list { list-style: none; margin: 0; padding: 4px 14px; }
.combo-list li { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px dashed #dbe5e4; }
.combo-list li:last-child { border-bottom: 0; }
.combo-list img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: #f2f6f5; }
.cl-name { display: flex; flex-direction: column; line-height: 1.35; font-weight: 600; min-width: 0; }
.cl-name a { color: inherit; text-decoration: none; }
.cl-name a:hover { color: var(--primary, #6B4F3A); text-decoration: underline; }
.cl-name small { font: 500 12.5px "Poppins", sans-serif; color: #6b7878; }
.cl-price { font: 600 15px "Poppins", sans-serif; }
.combo-sum { padding: 10px 14px 12px; background: #f3f8f7; border-top: 1px solid #dbe5e4; }
.combo-sum div { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 0; font-size: 15.5px; }
.combo-sum del { font: 500 15px "Poppins", sans-serif; color: #8a9595; }
.combo-sum .now b { font: 700 20px "Poppins", sans-serif; color: var(--primary, #6B4F3A); }
.combo-sum .save { color: #b26a00; font-weight: 600; }
.combo-sum .save b { font: 700 16px "Poppins", sans-serif; }
.combo-sum .free { justify-content: flex-start; gap: 6px; margin-top: 4px; color: #16833a; font-weight: 600; }
.combo-sum .free svg { width: 18px; height: 18px; }
.free-ship > span, .free-ship > b { display: block; }
.free-ship .fs-rule { padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px dashed #c9dbd8; font-size: 14px; color: #4b5f5e; }
/* free-delivery goal: on phones fixed at the bottom of the screen, on wider screens in the summary */
.checkout-grid .fs-mid { display: none; }
@media (max-width: 820px) {
  .order-summary .free-ship { display: none; }
  .checkout-grid .fs-mid:not([hidden]) { display: block; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 45;
    margin: 0; padding: 10px 14px 11px; border-radius: 14px; background: linear-gradient(90deg, #fff4e0, #fff9ef); border: 1px solid #f6d49a;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .25); font-size: 15px; line-height: 1.4; color: #5b3a00; }
  .checkout-grid .fs-mid b { color: #b25e00; }
  .checkout-grid .fs-mid .fs-rule { font-size: 13.5px; padding-bottom: 5px; margin-bottom: 5px; border-bottom-color: #f0d9b0; color: #6e5326; }
  .checkout-grid .fs-mid .fs-bar { height: 6px; margin-top: 6px; background: #f3dfbd; }
  .checkout-grid .fs-mid.done { background: #e8f7ed; border-color: #b7e2c4; color: #14532d; }
  .checkout-grid .fs-mid.done b { color: #15803d; }
  body.page-checkout:has(.fs-mid:not([hidden])) { padding-bottom: 110px; }
  body.page-checkout:has(.fs-mid:not([hidden])) .ca-float { bottom: 120px; }
}
/* phones: the fixed free-delivery bar in solid site colours so it stands out over the page */
@media (max-width: 820px) {
  .checkout-grid .fs-mid:not([hidden]) { background: var(--primary, #6B4F3A); border-color: transparent; color: #fff; box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .45); }
  .checkout-grid .fs-mid b { color: #ffcf6e; }
  .checkout-grid .fs-mid .fs-rule { color: rgba(255, 255, 255, .85); border-bottom-color: rgba(255, 255, 255, .25); }
  .checkout-grid .fs-mid .fs-bar { background: rgba(255, 255, 255, .25); }
  .checkout-grid .fs-mid .fs-bar i { background: var(--accent, #F39200); }
  .checkout-grid .fs-mid.done { background: #15803d; border-color: transparent; color: #fff; }
  .checkout-grid .fs-mid.done b { color: #fff; }
  .checkout-grid .fs-mid.done .fs-bar { background: rgba(255, 255, 255, .3); }
  .checkout-grid .fs-mid.done .fs-bar i { background: #fff; }
}
/* phones: the fixed bar runs edge to edge along the bottom */
@media (max-width: 820px) {
  .checkout-grid .fs-mid:not([hidden]) { left: 0; right: 0; bottom: 0; border-radius: 0; border: 0;
    padding: 10px 16px calc(11px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0, 0, 0, .18); }
  body.page-checkout:has(.fs-mid:not([hidden])) { padding-bottom: 96px; }
  body.page-checkout:has(.fs-mid:not([hidden])) .ca-float { bottom: 104px; }
}
/* phones: the main line ("আর ... টাকার প্রোডাক্ট নিলে ডেলিভারি চার্জ ফ্রি") a little larger; the rule line stays as it is */
@media (max-width: 820px) {
  .checkout-grid .fs-mid > span:not(.fs-rule):not(.fs-bar), .checkout-grid .fs-mid > .fs-ok { font-size: 17px; }
}

/* mobile: the side cart is a little narrower so more of the page stays in view */
@media (max-width: 600px) {
  .side-cart { width: 82vw; }
  .side-cart-head, .side-cart-foot { padding-left: 14px; padding-right: 14px; }
  .side-cart-body { padding: 6px 14px; }
  .side-cart-body .summary-item { grid-template-columns: 52px 1fr auto 24px; gap: 10px; }
  .side-cart-body .summary-item img { width: 52px; height: 52px; }
}

/* low courier success ratio: friendly "please call us" box instead of an order */
.risk-box { background: #fff; border: 1px solid #f0d9b5; border-top: 4px solid #d9932b; border-radius: 14px; padding: 22px 18px 20px; margin: 0 0 18px; text-align: center; box-shadow: 0 6px 22px rgba(0,0,0,.06); }
.risk-icon { width: 58px; height: 58px; margin: 0 auto 10px; border-radius: 50%; background: #fff4e2; color: #c47a12; display: flex; align-items: center; justify-content: center; }
.risk-title { font-size: 1.12rem; font-weight: 700; color: #3b2a14; line-height: 1.5; margin-bottom: 6px; }
.risk-text { color: #5d5346; line-height: 1.75; margin: 0 auto 14px; max-width: 520px; font-size: .97rem; }
.risk-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.risk-btn { display: inline-flex; align-items: center; gap: 7px; padding: 11px 14px; border-radius: 999px; font-weight: 600; text-decoration: none; color: #fff; flex: 1 1 0; max-width: 200px; white-space: nowrap; justify-content: center; }
.risk-call { background: var(--primary); }
.risk-wa { background: #1fa855; }
.risk-btn:hover { filter: brightness(1.07); color: #fff; }
