/* ==========================================================================
   RAJABABA AGRO — Storefront theme
   Bootstrap 5 base + hand-written design layer matching the live site:
   deep-green brand, gold accents, Bangla-first typography, soft cards.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --brand: #1f7a3a;
  --brand-deep: #196430;
  --brand-tint: #eff6f1;
  --brand-rgb: 31, 122, 58;

  --slate: #14532d;
  --slate-deep: #114727;
  --slate-dark: #0f3d22;

  --canvas: #f4f8f2;
  --surface: #ffffff;
  --surface-2: #fafbfc;

  --ink: #1c2a20;
  --ink-2: #555f58;
  --muted: #6d7883;
  --line: #e3e8ec;
  --line-2: #eef1f4;

  --gold: #f5b82e;
  --gold-deep: #d99a12;
  --gold-tint: #fff8e6;

  --sale: #e8590c;
  --trust: #15803d;
  --danger: #d92d20;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;

  --shadow-1: 0 1px 2px rgba(28, 42, 32, .05);
  --shadow-2: 0 6px 20px rgba(28, 42, 32, .08);
  --shadow-3: 0 16px 40px rgba(28, 42, 32, .14);

  --font: "Inter", "Noto Sans Bengali", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --head: "Inter", "Noto Sans Bengali", -apple-system, "Segoe UI", sans-serif;

  --container: 1320px;
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; transition: color .16s ease; }
a:hover { color: var(--brand-deep); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--head);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0;
}

p { margin: 0 0 12px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
::selection { background: rgba(var(--brand-rgb), .18); }

.container { width: 100%; max-width: var(--container); padding-inline: 16px; margin-inline: auto; }

.text-brand { color: var(--brand) !important; }
.text-ink { color: var(--ink) !important; }
.text-muted-2 { color: var(--muted) !important; }
.bg-canvas { background: var(--canvas) !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fs-13 { font-size: 13px !important; }
.fs-14 { font-size: 14px !important; }
.rounded-lg { border-radius: var(--r-lg) !important; }
.shadow-soft { box-shadow: var(--shadow-2) !important; }

/* --------------------------------------------------------------------------
   3. Buttons & form controls
   -------------------------------------------------------------------------- */
.btn { font-family: var(--font); font-weight: 600; border-radius: var(--r-sm); transition: all .18s ease; }
.btn:focus-visible { outline: 3px solid rgba(var(--brand-rgb), .3); outline-offset: 2px; box-shadow: none; }

.btn-brand {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
  padding: 11px 20px;
  font-size: 14.5px;
  font-weight: 650;
}
.btn-brand:hover, .btn-brand:focus { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }

.btn-ink {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #fff;
  padding: 11px 20px;
  font-size: 14.5px;
  font-weight: 650;
}
.btn-ink:hover, .btn-ink:focus { background: #000; border-color: #000; color: #fff; }

.btn-ghost {
  background: #fff;
  border: 1px solid var(--brand);
  color: var(--brand);
  padding: 11px 20px;
  font-size: 14.5px;
  font-weight: 650;
}
.btn-ghost:hover, .btn-ghost:focus { background: var(--brand-tint); color: var(--brand-deep); border-color: var(--brand-deep); }

.btn-gold {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: #26230f;
  padding: 11px 20px;
  font-size: 14.5px;
  font-weight: 700;
}
.btn-gold:hover, .btn-gold:focus { background: var(--gold-deep); border-color: var(--gold-deep); color: #1c1a08; }

.btn-soft {
  background: var(--brand-tint);
  border: 1px solid transparent;
  color: var(--brand);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
}
.btn-soft:hover { background: #e3efe7; color: var(--brand-deep); }

.btn-sm { padding: 8px 14px !important; font-size: 13px !important; }
.btn-lg { padding: 13px 26px !important; font-size: 15.5px !important; }
.btn-block { width: 100%; display: flex; justify-content: center; align-items: center; gap: 8px; }

.form-label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.form-label .req { color: var(--danger); }

.form-control, .form-select {
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--ink);
  background-color: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 13px;
  min-height: 44px;
  box-shadow: none;
}
.form-control::placeholder { color: #a3aca6; }
.form-control:focus, .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .12);
}
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--danger); }
.invalid-feedback { font-size: 12.5px; }
textarea.form-control { min-height: 120px; }
.form-check-input { border: 1.5px solid #c9d2cc; }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .12); border-color: var(--brand); }
.form-check-label { font-size: 14px; color: var(--ink-2); }
.input-group-text { background: var(--surface-2); border-color: var(--line); color: var(--muted); font-size: 14px; }

/* --------------------------------------------------------------------------
   4. Top bar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--slate-deep);
  color: #fff;
  font-size: 13px;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.topbar__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 40px;
}
.topbar__social { display: flex; align-items: center; gap: 4px; }
.topbar__social a {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #c8dccf;
  font-size: 14px;
}
.topbar__social a:hover { background: var(--brand); color: #fff; }
.topbar__promo {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: #eaf4ec;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar__promo b { color: var(--gold); font-weight: 700; }
.topbar__meta { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.topbar__meta a { display: inline-flex; align-items: center; gap: 7px; color: #e2efe5; font-size: 13px; font-weight: 500; }
.topbar__meta a:hover { color: #fff; }
.topbar__meta i { color: var(--gold); font-size: 13px; }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 1px 0 rgba(28, 42, 32, .07);
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(28, 42, 32, .1); }

.header-main {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-block: 12px;
}
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand img { height: 64px; width: auto; display: block; }

.header-search { flex: 1; min-width: 0; position: relative; }
.header-search input[type="search"] {
  width: 100%;
  height: 46px;
  padding: 0 52px 0 16px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  outline: none;
}
.header-search input[type="search"]:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .1); }
.header-search input::placeholder { color: #98a29b; }
.header-search button {
  position: absolute;
  top: 5px; right: 5px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
}
.header-search button:hover { background: var(--brand-deep); }

.search-suggest {
  position: absolute;
  z-index: 1050;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-3);
  padding: 6px;
  display: none;
  max-height: 380px;
  overflow: auto;
}
.search-suggest.is-open { display: block; }
.search-suggest__item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; }
.search-suggest__item:hover { background: var(--brand-tint); }
.search-suggest__item img { width: 42px; height: 42px; object-fit: cover; border-radius: 6px; background: #f4f6f5; }
.search-suggest__name { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.search-suggest__price { font-size: 12.5px; color: var(--brand); font-weight: 600; }
.search-suggest__empty { padding: 14px; font-size: 13.5px; color: var(--muted); text-align: center; }

.head-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.icon-btn {
  position: relative;
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  border: 0;
  background: transparent;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: 19px;
}
.icon-btn:hover { background: var(--brand-tint); color: var(--brand); }
.icon-btn__badge {
  position: absolute;
  top: 3px; right: 1px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  display: grid; place-items: center;
  background: var(--brand);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
  border: 2px solid #fff;
}
.head-wa {
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  border-radius: var(--r-sm);
  background: #25d366;
  color: #fff;
  font-size: 20px;
}
.head-wa:hover { background: #1eb958; color: #fff; transform: translateY(-1px); }
.head-login {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 550;
  white-space: nowrap;
}
.head-login:hover { background: var(--brand-tint); color: var(--brand); }

/* Desktop navigation */
.nav-bar { background: var(--slate); }
.nav-list { display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-item { position: relative; flex: 0 0 auto; }
.nav-link {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: -.004em;
}
.nav-link:hover, .nav-link.is-active { background: rgba(255, 255, 255, .11); color: #fff; }
.nav-link i { font-size: 14px; }
.nav-link .caret { font-size: 11px; opacity: .7; }
.nav-dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: var(--shadow-3);
  padding: 7px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .16s ease;
  z-index: 1040;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { display: block; padding: 9px 11px; border-radius: 6px; color: var(--ink-2); font-size: 13.5px; font-weight: 500; }
.nav-dropdown a:hover { background: var(--brand-tint); color: var(--brand); }

/* Mobile header */
.mobile-header { display: none; }
.mobile-menu-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 0; background: transparent;
  color: var(--ink); font-size: 22px;
}
.mobile-brand img { height: 46px; width: auto; }
.mobile-search { display: none; padding: 0 0 10px; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero { padding-top: 16px; }
.hero-slider { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-2); background: #e9f0ea; }
.hero-slide { display: block; }
.hero-slide img { width: 100%; height: auto; aspect-ratio: 1100 / 450; object-fit: cover; display: block; }
.hero-slider .carousel-indicators { bottom: 14px; margin: 0; gap: 7px; }
.hero-slider .carousel-indicators [data-bs-target] {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .65);
  border: 0;
  opacity: 1;
  margin: 0;
  transition: width .25s ease;
}
.hero-slider .carousel-indicators .active { width: 26px; background: #fff; }
.hero-slider .carousel-control-prev, .hero-slider .carousel-control-next {
  width: 46px; height: 46px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .92);
  border-radius: 50%;
  opacity: 0;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
  transition: opacity .2s ease;
}
.hero-slider:hover .carousel-control-prev, .hero-slider:hover .carousel-control-next { opacity: 1; }
.hero-slider .carousel-control-prev { left: 14px; }
.hero-slider .carousel-control-next { right: 14px; }
.hero-slider .carousel-control-prev-icon, .hero-slider .carousel-control-next-icon { width: 18px; height: 18px; filter: invert(1) grayscale(1) brightness(.2); }

/* Ad strips */
.adstrip { display: grid; gap: 16px; }
.adstrip--duo { grid-template-columns: repeat(2, 1fr); }
.adstrip--two { grid-template-columns: repeat(2, 1fr); }
.adstrip__item {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 500 / 150;
  box-shadow: var(--shadow-1);
  transition: box-shadow .2s ease, transform .2s ease;
}
.adstrip__item img { width: 100%; height: 100%; object-fit: contain; display: block; }
.adstrip__item:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.adstrip-section { padding: 20px 0 2px; }
.adstrip-section.is-footer { padding: 8px 0 26px; }

/* Feature strip */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
  border: 1px solid #e3ebe5;
  border-radius: var(--r-lg);
  box-shadow: 0 4px 18px rgba(30, 41, 59, .05);
  padding: 14px 6px;
}
.feature-strip__item { display: flex; align-items: center; gap: 13px; padding: 6px 18px; min-width: 0; }
.feature-strip__item + .feature-strip__item { border-left: 1px solid #e3ebe5; }
.feature-strip__icon { flex: 0 0 54px; width: 54px; height: 54px; }
.feature-strip__icon svg { width: 100%; height: 100%; display: block; }
.feature-strip__title { font-size: 16.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.feature-strip__title span { font-weight: 800; }
.feature-strip__note { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.feature-strip__item.is-truck .feature-strip__title span { color: var(--slate); }
.feature-strip__item.is-cash .feature-strip__title span { color: #dc2626; }
.feature-strip__item.is-shield .feature-strip__title span { color: #16a34a; }
.feature-strip__item.is-headset .feature-strip__title span { color: #2563eb; }
.feature-strip-section { padding: 18px 0 4px; }

/* --------------------------------------------------------------------------
   7. Sections
   -------------------------------------------------------------------------- */
.section { padding: 26px 0 6px; }
.section--white { background: #fff; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.section-head__left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.section-title {
  position: relative;
  padding-left: 13px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.3;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 20px;
  border-radius: 999px;
  background: var(--brand);
}
.section-kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 5px;
}
.section-lead { font-size: 14px; color: var(--muted); margin: 5px 0 0; max-width: 62ch; }
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand);
}
.section-link:hover { gap: 10px; color: var(--brand-deep); }
.section-foot { display: flex; justify-content: center; padding: 18px 0 4px; }
.view-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 26px;
  border: 1px solid rgba(var(--brand-rgb), .35);
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 650;
}
.view-more:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Deal timer */
.deal-timer { display: inline-flex; gap: 6px; align-items: stretch; }
.deal-timer__cell {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 5px 8px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  line-height: 1.05;
  box-shadow: 0 3px 10px rgba(var(--brand-rgb), .25);
}
.deal-timer__cell b { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.deal-timer__cell small { font-size: 9.5px; font-weight: 600; opacity: .85; text-transform: uppercase; letter-spacing: .03em; margin-top: 2px; }
.deal-timer__label { font-size: 12px; color: var(--muted); margin-right: 4px; align-self: center; }

/* --------------------------------------------------------------------------
   8. Category grid
   -------------------------------------------------------------------------- */
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.category-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.category-tile:hover { border-color: #cfe0d4; box-shadow: var(--shadow-2); transform: translateY(-3px); }
.category-tile__img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface-2); }
.category-tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s cubic-bezier(.2, .6, .2, 1); }
.category-tile:hover .category-tile__img img { transform: scale(1.06); }
.category-tile__name {
  padding: 10px 10px 12px;
  text-align: center;
  border-top: 1px solid var(--line-2);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-tile__name a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.category-tile:hover .category-tile__name a { color: var(--brand); }
.category-tile__count { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

/* --------------------------------------------------------------------------
   9. Product cards
   -------------------------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 6px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.product-card:hover { border-color: var(--brand); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 9px;
  overflow: hidden;
  background: #f6f9f6;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__wish {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 3;
  width: 34px; height: 34px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  border: 1px solid #e5e9e6;
  background: rgba(255, 255, 255, .96);
  color: #78827c;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
}
.product-card__wish:hover { color: #e11d48; border-color: #fecdd3; }
.product-card__wish.is-on { color: #e11d48; background: #fff1f2; border-color: #fecdd3; }
.product-card__badge {
  position: absolute;
  top: 9px; right: 9px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--sale);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.product-card__badge.is-new { background: var(--brand); }
.product-card__body { padding: 10px 7px 2px; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.product-card__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  min-height: 2.9em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__name a { color: inherit; }
.product-card__name a:hover { color: var(--brand); }
.product-card__meta { font-size: 11.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.product-card__meta .stars { color: #f5a623; font-size: 11px; letter-spacing: 1px; }
.product-card__price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; margin-top: auto; }
.product-card__price .price {
  color: var(--brand);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.product-card__price del { color: #9aa39c; font-size: 12px; font-weight: 400; }
.product-card__price .off { color: var(--sale); font-size: 11.5px; font-weight: 700; }
.product-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 1px 2px; }
.product-card__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
}
.product-card__actions .btn-ghost { background: #fff; }
.product-card__actions .btn-ink:hover { background: var(--brand); border-color: var(--brand); }
.product-card.is-out .product-card__media { opacity: .6; }
.stock-out-label {
  position: absolute;
  inset: auto 0 0 0;
  background: rgba(28, 42, 32, .82);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  padding: 5px;
}

/* --------------------------------------------------------------------------
   10. CTA banner
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 24px 30px;
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, #0f3d22 0%, var(--slate) 48%, #2d6b43 100%);
  box-shadow: 0 8px 26px rgba(15, 61, 34, .22);
}
.cta-banner__glow {
  position: absolute;
  top: 50%; right: -60px;
  width: 420px; height: 420px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(245, 184, 46, .24) 0%, rgba(245, 184, 46, .1) 38%, rgba(245, 184, 46, 0) 70%);
  pointer-events: none;
}
.cta-banner__text { position: relative; z-index: 1; min-width: 0; }
.cta-banner__kicker { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.cta-banner__title { font-size: 21px; font-weight: 700; color: #fff; line-height: 1.3; margin: 0 0 4px; }
.cta-banner__sub { font-size: 13.5px; color: #c9dccf; margin: 0; line-height: 1.55; }
.cta-banner__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding: 12px 14px 12px 22px;
  border-radius: 999px;
  background: var(--gold);
  color: #23200d;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(245, 184, 46, .34);
  transition: transform .2s ease, background .2s ease;
}
.cta-banner__btn:hover { background: #ffc94a; color: #1d1a08; transform: translateY(-2px); }
.cta-banner__btn i {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, .12);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   11. Brand tiles
   -------------------------------------------------------------------------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: #fff;
}
.brand-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  padding: 14px;
  border-radius: var(--r-md);
  background: #f4f7f4;
  border: 1px solid transparent;
  transition: all .15s ease;
}
.brand-tile:hover { background: #fff; border-color: var(--line); box-shadow: 0 8px 22px rgba(15, 23, 42, .08); transform: translateY(-2px); }
.brand-tile__name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.3;
}
.brand-tile__count { position: absolute; top: 8px; right: 10px; font-size: 11px; color: #98a29b; }

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--slate-dark); color: #fff; margin-top: 30px; }
.footer-top { padding: 50px 0 34px; }
.footer-brand { font-size: 25px; font-weight: 700; color: #fff; letter-spacing: .02em; display: inline-block; margin-bottom: 14px; line-height: 1.25; }
.footer-brand:hover { color: var(--gold); }
.footer-about p { font-size: 13.5px; line-height: 1.85; color: #b7c9bc; margin-bottom: 18px; max-width: 42ch; }
.footer-social { display: flex; gap: 9px; }
.footer-social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #dfeee3;
  font-size: 16px;
}
.footer-social a:hover { background: var(--gold); color: #1c1a08; transform: translateY(-2px); }
.footer-col-title {
  display: block;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links li a {
  display: block;
  color: #b7c9bc;
  font-size: 13.5px;
  line-height: 1.9;
  padding: 5px 0;
  transition: color .16s ease, padding-left .16s ease;
}
.footer-links li a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 11px; font-size: 13.5px; color: #b7c9bc; line-height: 1.6; }
.footer-contact li i { color: var(--gold); font-size: 14px; flex: 0 0 16px; margin-top: 4px; }
.footer-contact li a { color: #b7c9bc; }
.footer-contact li a:hover { color: #fff; }
.footer-app { margin-top: 18px; }
.footer-app__title { display: block; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 10px; }
.app-badges { display: flex; flex-wrap: wrap; gap: 9px; }
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .26);
  background: #000;
  color: #fff;
  line-height: 1.15;
  text-align: left;
}
.app-badge:hover { border-color: #fff; background: #111; color: #fff; transform: translateY(-2px); }
.app-badge i { font-size: 24px; }
.app-badge i.bi-android2 { color: #3ddc84; }
.app-badge small { display: block; font-size: 10px; opacity: .82; }
.app-badge b { display: block; font-size: 14.5px; font-weight: 700; }
.footer-policy { border-top: 1px solid rgba(255, 255, 255, .13); padding: 16px 0; }
.footer-policy__row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 26px; }
.footer-policy ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-policy ul a { color: #b7c9bc; font-size: 13px; }
.footer-policy ul a:hover { color: #fff; }
.pay-list { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pay-list span { font-size: 12px; color: #9db3a4; }
.pay-list b {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #e6f1e9;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 5px;
}
.footer-bottom { background: #0b2d19; border-top: 1px solid rgba(255, 255, 255, .12); padding: 15px 0; }
.copyright { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; color: #9db3a4; }
.copyright p { margin: 0; }
.copyright a { color: #c8dccf; }
.copyright a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   13. Page header / breadcrumbs
   -------------------------------------------------------------------------- */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 18px 0 20px; }
.page-head--green { background: linear-gradient(120deg, var(--slate) 0%, #2d6b43 100%); border: 0; color: #fff; }
.page-head--green .page-title, .page-head--green .breadcrumbs a, .page-head--green .breadcrumbs li { color: #fff; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs .sep { color: #b6c0b9; font-size: 10px; }
.page-title { font-size: 27px; font-weight: 750; letter-spacing: -.025em; line-height: 1.3; }
.page-sub { font-size: 14px; color: var(--muted); margin: 6px 0 0; max-width: 70ch; }
.page-head--green .page-sub { color: #d3e5d8; }

/* --------------------------------------------------------------------------
   14. Category page layout
   -------------------------------------------------------------------------- */
.catalog-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; padding: 22px 0 8px; }
.filter-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 4px 16px 12px;
  position: sticky;
  top: 92px;
}
.filter-group { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.filter-group:last-child { border-bottom: 0; }
.filter-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0 0 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.filter-group__head i { font-size: 12px; color: var(--muted); transition: transform .2s ease; }
.filter-group__head[aria-expanded="false"] i { transform: rotate(-90deg); }
.filter-list li { margin-bottom: 2px; }
.filter-list a, .filter-list label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--ink-2);
  cursor: pointer;
}
.filter-list a:hover, .filter-list label:hover { background: var(--brand-tint); color: var(--brand); }
.filter-list a.is-active { background: var(--brand-tint); color: var(--brand); font-weight: 650; }
.filter-list .count { font-size: 11.5px; color: var(--muted); }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.price-inputs input { min-height: 38px; padding: 7px 10px; font-size: 13.5px; }
.range-note { font-size: 12px; color: var(--muted); }

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px 14px;
  margin-bottom: 18px;
}
.result-count { font-size: 13.5px; color: var(--muted); }
.result-count b { color: var(--ink); }
.toolbar-right { display: flex; align-items: center; gap: 10px; }
.sort-select { width: auto; min-width: 190px; min-height: 40px; padding: 7px 34px 7px 12px; font-size: 13.5px; }
.filter-toggle { display: none; }

.pagination-wrap { display: flex; justify-content: center; padding: 26px 0 10px; }
.pagination { display: flex; gap: 7px; }
.page-btn {
  min-width: 40px; height: 40px;
  display: inline-grid; place-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
}
.page-btn:hover { border-color: var(--brand); color: var(--brand); }
.page-btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-btn.is-disabled { opacity: .45; pointer-events: none; }

.empty-state { text-align: center; padding: 60px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.empty-state i { font-size: 46px; color: #c3d3c7; display: block; margin-bottom: 14px; }
.empty-state h3 { font-size: 18px; margin-bottom: 6px; }
.empty-state p { color: var(--muted); font-size: 14px; }

/* --------------------------------------------------------------------------
   15. Product detail
   -------------------------------------------------------------------------- */
.product-detail { padding: 20px 0 10px; }
.product-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.gallery { position: sticky; top: 92px; }
.gallery__main {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fff;
  aspect-ratio: 1 / 1;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumb {
  flex: 0 0 78px;
  width: 78px; height: 78px;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: #fff;
  padding: 0;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__thumb.is-active { border-color: var(--brand); }
.gallery__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--sale);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
}

.detail-brand { font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.detail-brand b { color: var(--ink); }
.detail-title { font-size: 26px; font-weight: 750; line-height: 1.3; letter-spacing: -.025em; margin-bottom: 10px; }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.rating-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.rating-inline .stars { color: #f5a623; letter-spacing: 1px; font-size: 13px; }
.rating-inline a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.stock-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; }
.stock-badge.is-in { color: var(--trust); }
.stock-badge.is-out { color: var(--sale); }
.detail-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.detail-price .now { font-size: 30px; font-weight: 750; color: var(--brand); letter-spacing: -.03em; line-height: 1.1; }
.detail-price del { font-size: 16px; color: var(--muted); }
.detail-price .save { font-size: 12.5px; font-weight: 700; color: #fff; background: var(--sale); border-radius: 6px; padding: 3px 8px; }

.variant-block { margin-bottom: 16px; }
.variant-label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.variant-label b { color: var(--ink); }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-btn {
  padding: 9px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.25;
  text-align: left;
}
.variant-btn:hover { border-color: var(--brand); }
.variant-btn.is-on { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-deep); box-shadow: 0 0 0 2px rgba(var(--brand-rgb), .13); }
.variant-btn .vp { display: block; font-size: 12px; font-weight: 600; color: var(--brand); margin-top: 2px; }
.variant-btn.is-out { color: #9aa39c; border-style: dashed; text-decoration: line-through; }

.qty-row { display: flex; align-items: center; gap: 14px; margin: 16px 0; flex-wrap: wrap; }
.qty-label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.qty-box { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.qty-box button {
  width: 42px; height: 44px;
  border: 0;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 18px;
  display: grid; place-items: center;
}
.qty-box button:hover { background: var(--brand-tint); color: var(--brand); }
.qty-box input {
  width: 56px; height: 44px;
  border: 0;
  border-inline: 1px solid var(--line);
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  outline: none;
}
.detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 400px; margin-bottom: 16px; }
.detail-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; }

.detail-extras { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.wish-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}
.wish-btn:hover { border-color: #fecdd3; color: #e11d48; }
.wish-btn.is-on { color: #e11d48; background: #fff1f2; border-color: #fecdd3; }
.points-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--gold-tint);
  border: 1px solid #f5dfa5;
  color: #7a5309;
  font-size: 13.5px;
  line-height: 1.55;
}
.points-note i { color: var(--gold-deep); margin-top: 2px; }
.points-note b { color: #6b4906; }
.points-note small { color: #96701d; }

.share-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 16px; }
.share-row .label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.share-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink-2);
  font-size: 15px;
}
.share-btn:hover { color: #fff; transform: translateY(-2px); }
.share-btn.is-fb:hover { background: #1877f2; border-color: #1877f2; }
.share-btn.is-wa:hover { background: #25d366; border-color: #25d366; }
.share-btn.is-tw:hover { background: #111; border-color: #111; }
.share-btn.is-mail:hover { background: var(--brand); border-color: var(--brand); }

.help-box { border: 1px dashed #cfdcd3; border-radius: var(--r-md); background: var(--surface-2); padding: 16px; margin-bottom: 16px; }
.help-box__title { text-align: center; font-size: 13.5px; font-weight: 650; margin-bottom: 11px; }
.help-box__row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.help-box__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 8px;
  border-radius: var(--r-sm);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.help-box__btn.is-call { border: 1px solid #1877f2; color: #1877f2; }
.help-box__btn.is-call:hover { background: #1877f2; color: #fff; }
.help-box__btn.is-wa { border: 1px solid #25d366; color: #14934a; }
.help-box__btn.is-wa:hover { background: #25d366; color: #fff; }
.help-box__custom {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  border: 1px dashed rgba(var(--brand-rgb), .35);
  background: var(--brand-tint);
  color: var(--ink-2);
  font-size: 12.5px;
}
.help-box__custom b { color: var(--brand); }

.delivery-box { border: 1px solid rgba(var(--brand-rgb), .16); background: var(--brand-tint); border-radius: var(--r-md); padding: 13px 15px; }
.delivery-box__title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.delivery-box__title i { color: var(--brand); }
.delivery-box ul li { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--ink-2); padding: 3px 0; }
.delivery-box ul li b { color: var(--ink); white-space: nowrap; }

/* Detail tabs */
.detail-tabs { margin: 26px 0 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.detail-tabs__nav { display: flex; gap: 2px; border-bottom: 1px solid var(--line); background: var(--surface-2); overflow-x: auto; }
.detail-tabs__btn {
  padding: 14px 22px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
.detail-tabs__btn.is-on { background: #fff; color: var(--brand); border-bottom-color: var(--brand); }
.detail-tabs__body { padding: 26px 30px; }
.detail-tabs__pane { display: none; }
.detail-tabs__pane.is-on { display: block; }
.prose { color: var(--ink-2); font-size: 14.8px; line-height: 1.85; max-width: 78ch; }
.prose h3 { font-size: 17px; margin: 24px 0 10px; color: var(--ink); }
.prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 13px; }
.prose strong { color: var(--ink); }
.prose ul { margin: 0 0 16px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 7px; }
.prose ul li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 2px; color: var(--brand); font-size: 13px; }
.prose .note { background: var(--brand-tint); border-left: 3px solid var(--brand); padding: 13px 16px; border-radius: 0 8px 8px 0; margin: 18px 0; }

.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 18px 0 4px; font-size: 14px; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.spec-table th, .spec-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 38%; background: var(--surface-2); color: var(--ink); font-weight: 650; }
.spec-table td { color: var(--ink-2); }

.review-summary { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.review-score { text-align: center; }
.review-score b { display: block; font-size: 42px; font-weight: 750; color: var(--ink); line-height: 1; }
.review-score .stars { color: #f5a623; font-size: 15px; letter-spacing: 2px; }
.review-score span { font-size: 12.5px; color: var(--muted); }
.review-empty { text-align: center; padding: 26px; color: var(--muted); font-size: 14px; background: var(--surface-2); border-radius: var(--r-md); }
.review-form { margin-top: 18px; display: grid; gap: 10px; max-width: 560px; }

.related { padding: 20px 0 8px; }

/* --------------------------------------------------------------------------
   16. Cart / checkout
   -------------------------------------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; padding: 22px 0 10px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.panel__title { font-size: 16px; font-weight: 700; }
.panel__body { padding: 20px; }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: left; padding: 0 10px 12px; font-weight: 700; border-bottom: 1px solid var(--line-2); }
.cart-table td { padding: 14px 10px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.cart-table tr:last-child td { border-bottom: 0; }
.cart-item { display: flex; align-items: center; gap: 12px; }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--line); background: #f7f9f7; }
.cart-item__name { font-size: 14px; font-weight: 650; color: var(--ink); line-height: 1.4; }
.cart-item__variant { font-size: 12px; color: var(--muted); margin-top: 3px; }
.cart-item__price { font-size: 13.5px; font-weight: 650; color: var(--brand); margin-top: 4px; }
.cart-remove { border: 0; background: transparent; color: #9aa39c; font-size: 16px; padding: 6px; border-radius: 6px; }
.cart-remove:hover { color: var(--danger); background: #fef2f2; }
.qty-box--sm button { width: 32px; height: 34px; font-size: 15px; }
.qty-box--sm input { width: 42px; height: 34px; font-size: 14px; }
.cart-line-total { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }

.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--ink-2); padding: 8px 0; }
.summary-row b { color: var(--ink); font-weight: 650; }
.summary-row.total { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 14px; font-size: 16px; }
.summary-row.total b { color: var(--brand); font-size: 20px; font-weight: 750; }
.summary-note { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; padding: 22px 0 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.choice-card {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.choice-card:hover { border-color: #bcd6c4; }
.choice-card.is-on { border-color: var(--brand); background: var(--brand-tint); }
.choice-card input { margin-top: 3px; }
.choice-card__title { font-size: 14px; font-weight: 650; color: var(--ink); line-height: 1.35; }
.choice-card__note { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.choice-card__price { margin-left: auto; font-size: 13.5px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.pay-icon { width: 44px; height: 30px; display: grid; place-items: center; border-radius: 5px; font-size: 11px; font-weight: 800; color: #fff; }
.pay-icon.is-cod { background: var(--brand); }
.pay-icon.is-bkash { background: #e2136e; }
.pay-icon.is-nagad { background: #f6921e; }

/* --------------------------------------------------------------------------
   17. Order success / track / auth / blog / contact
   -------------------------------------------------------------------------- */
.success-wrap { max-width: 720px; margin: 40px auto 50px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px 32px; text-align: center; box-shadow: var(--shadow-2); }
.success-icon { width: 76px; height: 76px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-tint); color: var(--brand); font-size: 36px; }
.success-wrap h1 { font-size: 26px; margin-bottom: 8px; }
.success-wrap p { color: var(--muted); }
.success-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; text-align: left; }
.success-facts > div { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 12px 14px; }
.success-facts span { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 3px; }
.success-facts b { font-size: 14px; color: var(--ink); }

.track-card { max-width: 620px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.timeline { margin-top: 26px; border-top: 1px solid var(--line-2); padding-top: 22px; }
.timeline__item { position: relative; padding: 0 0 24px 34px; }
.timeline__item::before { content: ""; position: absolute; left: 12px; top: 4px; width: 2px; height: 100%; background: var(--line); }
.timeline__item:last-child::before { display: none; }
.timeline__dot { position: absolute; left: 4px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--line); }
.timeline__item.is-done .timeline__dot { background: var(--brand); border-color: var(--brand); }
.timeline__item.is-done::before { background: rgba(var(--brand-rgb), .35); }
.timeline__title { font-size: 14px; font-weight: 650; }
.timeline__time { font-size: 12px; color: var(--muted); }

.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; max-width: 1000px; margin: 36px auto 60px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.auth-side { background: linear-gradient(150deg, var(--slate-deep), #2d6b43); color: #fff; padding: 40px 34px; }
.auth-side h2 { color: #fff; font-size: 25px; margin-bottom: 8px; }
.auth-side p { color: #c9dccf; font-size: 14px; }
.auth-perks { margin-top: 24px; display: grid; gap: 12px; }
.auth-perks li { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: #e1efe4; }
.auth-perks i { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 8px; background: rgba(255, 255, 255, .12); color: var(--gold); }
.auth-body { padding: 36px 34px; }
.auth-tabs { display: flex; gap: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 4px; margin-bottom: 22px; }
.auth-tab { flex: 1; padding: 9px; border: 0; border-radius: 6px; background: transparent; font-size: 13.5px; font-weight: 650; color: var(--muted); }
.auth-tab.is-on { background: #fff; color: var(--brand); box-shadow: var(--shadow-1); }
.auth-pane { display: none; }
.auth-pane.is-on { display: block; }
.auth-demo { margin-top: 16px; background: var(--gold-tint); border: 1px solid #f2dfab; border-radius: var(--r-sm); padding: 11px 13px; font-size: 12.5px; color: #7a5309; }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 22px 0 8px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.blog-card:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.blog-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.blog-card:hover .blog-card__img img { transform: scale(1.05); }
.blog-card__body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.blog-card__cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--brand); margin-bottom: 7px; }
.blog-card__title { font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 7px; }
.blog-card__title a { color: var(--ink); }
.blog-card__title a:hover { color: var(--brand); }
.blog-card__excerpt { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.blog-card__meta { margin-top: auto; display: flex; gap: 10px; font-size: 12px; color: var(--muted); }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; align-items: start; padding: 22px 0 10px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; margin-bottom: 18px; }
.side-card h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.side-list li { border-bottom: 1px solid var(--line-2); padding: 9px 0; font-size: 13.5px; }
.side-list li:last-child { border-bottom: 0; }
.side-list a { color: var(--ink-2); }
.side-list a:hover { color: var(--brand); }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-list a { font-size: 12px; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; }
.tag-list a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.article-body { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 30px 32px; }
.article-body h2 { font-size: 20px; margin: 26px 0 10px; }
.article-body p { font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.article-body img { border-radius: var(--r-md); margin: 16px 0; }
.article-hero { border-radius: var(--r-md); overflow: hidden; margin-bottom: 20px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; padding: 24px 0 10px; align-items: start; }
.contact-card { display: flex; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; }
.contact-card i { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-tint); color: var(--brand); font-size: 18px; }
.contact-card h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 3px; font-weight: 700; }
.contact-card p { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 9px; overflow: hidden; }
.faq-item__q { width: 100%; text-align: left; border: 0; background: transparent; padding: 14px 16px; font-size: 14px; font-weight: 650; color: var(--ink); display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.faq-item__q i { color: var(--brand); transition: transform .2s ease; font-size: 13px; }
.faq-item__q[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-item__a { padding: 0 16px 14px; font-size: 13.5px; color: var(--muted); line-height: 1.75; }

.custom-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 22px 0; }
.custom-step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.custom-step__num { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-weight: 800; margin-bottom: 10px; }
.custom-step h4 { font-size: 14.5px; margin-bottom: 4px; }
.custom-step p { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.6; }
.upload-box { border: 1.5px dashed var(--line); border-radius: var(--r-sm); padding: 18px; text-align: center; background: var(--surface-2); font-size: 13px; color: var(--muted); }
.upload-box i { display: block; font-size: 26px; color: var(--brand); margin-bottom: 6px; }

/* --------------------------------------------------------------------------
   18. Toasts, drawer, floats
   -------------------------------------------------------------------------- */
.toast-stack { position: fixed; right: 18px; bottom: 18px; z-index: 1090; display: flex; flex-direction: column; gap: 9px; }
.toast-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 240px;
  max-width: 360px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: #1e2f24;
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-3);
  animation: toastIn .25s ease;
}
.toast-msg i { color: var(--gold); font-size: 17px; }
.toast-msg.is-error { background: #7f1d1d; }
.toast-msg.is-error i { color: #fecaca; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.cart-drawer { position: fixed; inset: 0; z-index: 1080; pointer-events: none; }
.cart-drawer__backdrop { position: absolute; inset: 0; background: rgba(12, 30, 18, .5); opacity: 0; transition: opacity .25s ease; }
.cart-drawer__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(400px, 92vw);
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, .18);
}
.cart-drawer.is-open { pointer-events: auto; }
.cart-drawer.is-open .cart-drawer__backdrop { opacity: 1; }
.cart-drawer.is-open .cart-drawer__panel { transform: none; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.cart-drawer__head h3 { font-size: 16px; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 10px 18px; }
.cart-drawer__foot { border-top: 1px solid var(--line); padding: 16px 18px; }
.drawer-item { display: flex; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.drawer-item img { width: 62px; height: 62px; border-radius: var(--r-sm); object-fit: cover; border: 1px solid var(--line); }
.drawer-item__name { font-size: 13px; font-weight: 650; line-height: 1.4; color: var(--ink); }
.drawer-item__price { font-size: 13px; color: var(--brand); font-weight: 700; }

.floating-wa {
  position: fixed;
  right: 18px; bottom: 22px;
  z-index: 1050;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 26px;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .4);
}
.floating-wa:hover { color: #fff; transform: translateY(-2px); }
.scroll-top {
  position: fixed;
  right: 18px; bottom: 86px;
  z-index: 1040;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transition: all .2s ease;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Mobile bottom navigation */
.mobile-nav { display: none; }

/* --------------------------------------------------------------------------
   19. Modal / misc
   -------------------------------------------------------------------------- */
.modal-content { border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-3); }
.modal-header { border-bottom: 1px solid var(--line-2); padding: 16px 20px; }
.modal-title { font-size: 17px; }
.modal-body { padding: 20px; }
.modal-footer { border-top: 1px solid var(--line-2); padding: 13px 20px; }
.badge-soft { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 650; }
.badge-soft.is-green { background: #e8f6ed; color: #176c34; }
.badge-soft.is-gold { background: var(--gold-tint); color: #8b6207; }
.badge-soft.is-red { background: #fef2f2; color: #b91c1c; }
.badge-soft.is-gray { background: #f2f4f3; color: #5b6660; }
.badge-soft.is-blue { background: #eff6ff; color: #1d4ed8; }
.divider { height: 1px; background: var(--line-2); margin: 16px 0; }
.link-underline { text-decoration: underline; text-underline-offset: 3px; }
.kbd { font-size: 11px; padding: 2px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: #fff; color: var(--ink-2); }

.spinner-overlay { position: fixed; inset: 0; background: rgba(255, 255, 255, .75); z-index: 1200; display: grid; place-items: center; }
.spinner-border { color: var(--brand); }

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1399px) {
  .category-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 1199px) {
  .header-main { gap: 14px; }
  .brand img { height: 56px; }
  .head-login span { display: none; }
  .head-login { padding: 10px; }
  .category-grid { grid-template-columns: repeat(5, 1fr); }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .category-tile__name a { font-size: 12.5px; }
  .feature-strip__item { padding: 6px 12px; gap: 10px; }
  .feature-strip__icon { flex-basis: 46px; width: 46px; height: 46px; }
  .feature-strip__title { font-size: 15px; }
  .feature-strip__note { font-size: 11.5px; }
  .detail-title { font-size: 23px; }
  .cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr) 340px; }
}

@media (max-width: 991px) {
  body { font-size: 14.5px; }
  .topbar { display: none; }
  .site-header { position: relative; }
  .header-main { display: none; }
  .mobile-header { display: block; padding: 8px 0; }
  .mobile-header__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .mobile-search { display: block; }
  .nav-bar { display: none; }
  .hero { padding-top: 10px; }
  .hero-slide img { aspect-ratio: 1100 / 520; }
  .category-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .product-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .feature-strip__item + .feature-strip__item { border-left: 0; }
  .feature-strip__item:nth-child(even) { border-left: 1px solid #e3ebe5; }
  .feature-strip__item:nth-child(n+3) { border-top: 1px solid #e3ebe5; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-panel {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 1085;
    width: min(320px, 88vw);
    border-radius: 0;
    border: 0;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .25s ease;
    padding: 18px;
    box-shadow: 10px 0 40px rgba(0, 0, 0, .16);
  }
  .filter-panel.is-open { transform: none; }
  .filter-toggle { display: inline-flex; align-items: center; gap: 7px; }
  .product-detail__grid { grid-template-columns: 1fr; gap: 22px; }
  .gallery { position: static; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary-card { position: static !important; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .custom-steps { grid-template-columns: 1fr 1fr; }
  .auth-wrap { grid-template-columns: 1fr; max-width: 520px; }
  .auth-side { padding: 28px 26px; }
  .auth-body { padding: 28px 24px; }
  .detail-tabs__body { padding: 20px; }
  .success-facts { grid-template-columns: 1fr; }
  .track-form { grid-template-columns: 1fr; }
  .scroll-top { bottom: 80px; }
  .floating-wa { bottom: 78px; width: 50px; height: 50px; font-size: 23px; }
  .site-footer { margin-bottom: 0; }
  .footer-bottom { padding-bottom: 74px; }
}

@media (max-width: 767px) {
  .container { padding-inline: 13px; }
  .brand img { height: 44px; }
  .mobile-brand img { height: 42px; }
  .section { padding: 18px 0 4px; }
  .section-title { font-size: 17.5px; padding-left: 11px; }
  .section-title::before { width: 3px; height: 17px; }
  .section-lead { font-size: 12.5px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 9px; }
  .category-tile__name { padding: 8px 6px 9px; }
  .category-tile__name a { font-size: 11.5px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .product-grid--4, .product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card { padding: 5px; border-radius: 10px; }
  .product-card__name { font-size: 12.5px; min-height: 2.9em; }
  .product-card__body { padding: 8px 5px 0; }
  .product-card__price .price { font-size: 13.5px; }
  .product-card__actions { grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px 0 0; }
  .product-card__actions .btn { font-size: 10.5px; height: 34px; letter-spacing: 0; padding: 0 3px; }
  .product-card__wish { width: 30px; height: 30px; font-size: 13px; top: 6px; left: 6px; }
  .product-card__badge { font-size: 9.5px; padding: 3px 7px; top: 7px; right: 7px; }
  .hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { display: none; }
  .hero-slide img { aspect-ratio: 3 / 2; }
  .adstrip { gap: 9px; }
  .adstrip--duo, .adstrip--two { grid-template-columns: 1fr; }
  .adstrip__item { aspect-ratio: auto; }
  .adstrip__item img { width: 100%; height: auto; }
  .feature-strip { padding: 5px; border-radius: 13px; }
  .feature-strip__item { padding: 9px 7px; gap: 8px; }
  .feature-strip__icon { flex-basis: 36px; width: 36px; height: 36px; }
  .feature-strip__title { font-size: 12px; }
  .feature-strip__note { font-size: 10px; margin-top: 1px; }
  .deal-timer__cell { min-width: 40px; padding: 4px 6px; }
  .deal-timer__cell b { font-size: 14px; }
  .deal-timer__cell small { font-size: 8.5px; }
  .cta-banner { flex-direction: column; align-items: stretch; text-align: center; gap: 14px; padding: 20px 18px; border-radius: var(--r-md); }
  .cta-banner__title { font-size: 18px; }
  .cta-banner__sub { font-size: 12.5px; }
  .cta-banner__btn { justify-content: center; width: 100%; font-size: 14px; padding: 11px 12px 11px 18px; }
  .cta-banner__glow { right: 50%; transform: translate(50%, -50%); width: 320px; height: 320px; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px; }
  .brand-tile { height: 70px; padding: 8px; }
  .brand-tile__name { font-size: 11.5px; }
  .brand-tile__count { display: none; }
  .footer-top { padding: 32px 0 12px; }
  .footer-brand { font-size: 21px; }
  .footer-about p { font-size: 13px; }
  .footer-col-title { font-size: 12px; margin-bottom: 10px; }
  .footer-links li a { font-size: 13.5px; padding: 5px 0; }
  .footer-policy__row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pay-list { justify-content: flex-start; }
  .copyright { flex-direction: column; align-items: flex-start; font-size: 12px; }
  .page-title { font-size: 21px; }
  .page-head { padding: 14px 0 16px; }
  .page-sub { font-size: 13px; }
  .catalog-toolbar { padding: 9px 11px; }
  .sort-select { min-width: 150px; font-size: 12.5px; }
  .product-detail { padding-top: 12px; }
  .detail-title { font-size: 20px; }
  .detail-price .now { font-size: 25px; }
  .gallery__thumb { flex-basis: 62px; width: 62px; height: 62px; }
  .detail-actions { max-width: none; }
  .detail-actions .btn { font-size: 13.5px; height: 44px; }
  .help-box__row { grid-template-columns: 1fr; }
  .detail-tabs__btn { padding: 12px 15px; font-size: 13px; }
  .detail-tabs__body { padding: 16px; }
  .prose { font-size: 14px; }
  .spec-table th, .spec-table td { padding: 9px 11px; font-size: 13px; }
  .panel__head { padding: 13px 14px; }
  .panel__body { padding: 14px; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { position: relative; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
  .cart-table td { border: 0; padding: 2px 0; }
  .cart-table td.cell-qty, .cart-table td.cell-total, .cart-table td.cell-remove { display: inline-block; width: auto; margin-top: 8px; }
  .cart-table td.cell-remove { position: absolute; top: 12px; right: 0; }
  .cart-item img { width: 60px; height: 60px; }
  .cart-item__name { font-size: 13px; max-width: 220px; }
  .form-grid { grid-template-columns: 1fr; }
  .checkout-layout { padding-top: 16px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card__title { font-size: 15.5px; }
  .article-body { padding: 20px 18px; }
  .article-body h2 { font-size: 17px; }
  .article-body p { font-size: 14px; }
  .custom-steps { grid-template-columns: 1fr; }
  .success-wrap { padding: 28px 18px; margin: 22px auto 32px; }
  .success-wrap h1 { font-size: 21px; }
  .track-card { padding: 20px 16px; }
  .auth-wrap { margin: 18px auto 40px; }
  .auth-side { padding: 24px 20px; }
  .auth-body { padding: 24px 20px; }
  .contact-card { padding: 13px 14px; }
  .mobile-nav {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1060;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 5px 2px calc(5px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(20, 40, 26, .08);
  }
  .mobile-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 5px 2px;
    font-size: 10px;
    font-weight: 600;
    color: var(--ink-2);
    position: relative;
  }
  .mobile-nav a i { font-size: 19px; }
  .mobile-nav a.is-active { color: var(--brand); }
  .mobile-nav .badge {
    position: absolute;
    top: 0; right: 22%;
    background: var(--brand);
    color: #fff;
    font-size: 9px;
    min-width: 15px;
    height: 15px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    padding: 0 4px;
  }
  body { padding-bottom: 64px; }
  .footer-bottom { padding-bottom: 20px; }
  .floating-wa { display: none; }
  .scroll-top { bottom: 74px; right: 12px; width: 38px; height: 38px; }
  .toast-stack { left: 12px; right: 12px; bottom: 78px; }
  .toast-msg { min-width: 0; max-width: none; }
}

@media (max-width: 479px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .category-tile__name a { font-size: 11px; }
  .product-grid { gap: 8px; }
  .product-card__actions .btn { font-size: 9.5px; }
  .detail-actions { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* Print: invoice only */
@media print {
  .site-header, .site-footer, .mobile-nav, .floating-wa, .scroll-top, .topbar, .toast-stack { display: none !important; }
  body { background: #fff; padding: 0; }
  .panel { border: 0; }
}
