/* =================================================================
   Tanvir's Garden — storefront styles (mobile first)
   ================================================================= */
:root {
  --forest: #0b2a14;
  --forest-2: #123d1f;
  --green: #138a3e;
  --green-d: #0d6b2f;
  --green-l: #e8f4e6;
  --lime: #8cc63f;
  --leaf: #43a82a;
  --cream: #f6faf3;
  --sand: #fbf7ee;
  --ink: #16301d;
  --text: #2f3d33;
  --muted: #6b7a70;
  --line: #e3ebe1;
  --white: #fff;
  --sale: #f05a28;
  --wa: #1fae5b;
  --call: #1f4fa8;
  --dark: #10231a;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(16, 48, 28, .06), 0 4px 14px rgba(16, 48, 28, .06);
  --shadow-lg: 0 12px 34px rgba(16, 48, 28, .14);
  --header-h: 64px;
  --font: "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text);
  background: var(--cream); -webkit-font-smoothing: antialiased; padding-bottom: 64px; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-d); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.45rem, 3.4vw, 2rem); }
h2 { font-size: clamp(1.15rem, 2.4vw, 1.45rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px dashed var(--line); margin: 14px 0; }
[hidden] { display: none !important; }
.ic { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -.22em; }
.ic.sm { width: 1em; height: 1em; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--forest); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(140, 198, 63, .7); outline-offset: 2px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 14px; }
.narrow { max-width: 820px; }
.page-pad { padding-top: 14px; padding-bottom: 36px; }
.section { margin-top: 34px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.tiny { font-size: .82rem; }
.mt { margin-top: 18px; } .mt-sm { margin-top: 8px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.row-between.wrap { flex-wrap: wrap; }
.only-desktop { display: none !important; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px;
  border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .98rem; line-height: 1.2;
  transition: background .18s, color .18s, transform .12s, box-shadow .18s; white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-lg { padding: 13px 22px; font-size: 1.04rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 4px 14px rgba(19, 138, 62, .25); }
.btn-primary:hover { background: var(--green-d); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { border-color: var(--green); color: var(--green); background: #fff; }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-ghost { background: var(--green-l); color: var(--green-d); }
.btn-ghost:hover { background: #d6ecd2; }
.btn-light { background: #fff; color: var(--forest); }
.btn-light:hover { background: var(--lime); color: var(--forest); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178f4a; color: #fff; }
.btn-call { background: var(--call); color: #fff; }
.btn-call:hover { background: #163d85; color: #fff; }
.btn-muted { background: #eef1ee; color: #8b968e; cursor: not-allowed; }
.btn[disabled] { opacity: .75; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 0; background: transparent; color: var(--ink); }
.icon-btn:hover { background: var(--green-l); }
.icon-btn.danger { color: #c0392b; }
.icon-btn .ic { width: 22px; height: 22px; }
.btn-copy { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 1px 8px; font-size: .8rem; color: var(--green-d); }

/* ---------- Alerts ---------- */
.alert { padding: 12px 16px; border-radius: 12px; margin: 12px 0; font-weight: 500; border: 1px solid; }
.alert-success { background: #e8f7ec; border-color: #b9e3c4; color: #145c2c; }
.alert-error { background: #fdecea; border-color: #f5c2bd; color: #8e2018; }
.alert-info { background: #eaf3fd; border-color: #c4dcf5; color: #1d4c80; }

/* ---------- Announcement + header ---------- */
.announce { background: linear-gradient(90deg, var(--forest), var(--green-d)); color: #e8f6d9; font-size: .82rem; padding: 5px 0; white-space: nowrap; overflow: hidden; }
.announce-track { display: inline-flex; animation: marquee 26s linear infinite; }
.announce-track span { padding-right: 60px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(11, 42, 20, .1); }
.header-row { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "menu brand actions" "search search search"; align-items: center; gap: 6px 8px; padding-top: 8px; padding-bottom: 10px; }
.header-row > [data-open-menu] { grid-area: menu; }
.brand { grid-area: brand; justify-self: center; }
.brand img { height: 46px; width: auto; }
.search { grid-area: search; position: relative; display: flex; background: var(--cream); border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(19, 138, 62, .1); background: #fff; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 16px; font-size: .95rem; outline: none; }
.search button { border: 0; background: var(--green); color: #fff; width: 44px; margin: 4px; border-radius: 999px; display: grid; place-items: center; }
.search-inline { max-width: 460px; margin: 18px auto 0; }
.search-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; z-index: 60; border: 1px solid var(--line); }
.search-suggest a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; color: var(--ink); border-bottom: 1px solid var(--line); }
.search-suggest a:hover, .search-suggest a.active { background: var(--green-l); }
.search-suggest img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--green-l); }
.search-suggest .ss-name { flex: 1; font-size: .92rem; line-height: 1.3; }
.search-suggest .ss-price { font-weight: 700; color: var(--green-d); font-size: .9rem; }
.search-suggest .ss-all { justify-content: center; font-weight: 600; color: var(--green); }
.header-actions { grid-area: actions; display: flex; align-items: center; gap: 2px; }
.ha { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 1px; border: 0; background: transparent; color: var(--ink); font-size: .74rem; font-weight: 500; padding: 6px 8px; border-radius: 12px; }
.ha:hover { background: var(--green-l); color: var(--green-d); }
.ha .ic { width: 24px; height: 24px; }
.badge { position: absolute; top: 0; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--sale); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; line-height: 1; border: 2px solid #fff; }

.menu-bar { background: var(--forest); display: none; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; flex-wrap: wrap; }
.menu > li { position: relative; }
.menu > li > a { display: flex; align-items: center; gap: 4px; color: #e7f1e6; padding: 11px 14px; font-weight: 500; font-size: .95rem; }
.menu > li > a:hover, .menu > li:focus-within > a { color: #fff; background: rgba(255, 255, 255, .08); }
.menu-offer { color: #ffd166 !important; }
.submenu { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 220px; background: #fff; border-radius: 0 0 14px 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 70; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); font-size: .95rem; }
.submenu a:hover { background: var(--green-l); color: var(--green-d); }
.sub-all a { color: var(--green); font-weight: 600; display: flex; align-items: center; gap: 4px; border-top: 1px solid var(--line); margin-top: 4px; border-radius: 0; }

/* ---------- Drawers ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(8, 24, 12, .45); z-index: 90; backdrop-filter: blur(2px); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(410px, 92vw); background: #fff; z-index: 100; display: flex; flex-direction: column; transform: translateX(105%); visibility: hidden; transition: transform .28s cubic-bezier(.3, .7, .3, 1), visibility 0s .28s; box-shadow: var(--shadow-lg); }
.drawer.drawer-left { left: 0; right: auto; transform: translateX(-105%); width: min(330px, 86vw); }
.drawer.open { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.3, .7, .3, 1); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.15rem; display: flex; gap: 8px; align-items: center; }
.drawer-head img { height: 40px; width: auto; }
.drawer-body { flex: 1; overflow-y: auto; padding: 10px 14px; overscroll-behavior: contain; }
.drawer-foot { border-top: 1px solid var(--line); padding: 14px; background: var(--cream); }
.drawer-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; margin-top: 10px; }
.d-item { display: grid; grid-template-columns: 62px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.d-item img { width: 62px; height: 62px; border-radius: 10px; object-fit: cover; background: var(--green-l); }
.d-item a { color: var(--ink); font-weight: 500; font-size: .92rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.d-item .d-meta { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.d-item .d-price { font-weight: 700; color: var(--green-d); font-size: .9rem; }
.d-empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.d-empty .ic { width: 48px; height: 48px; color: var(--lime); margin-bottom: 6px; }
.mm-link, .mm-group summary { display: flex; align-items: center; gap: 8px; padding: 11px 6px; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; }
.mm-group summary::-webkit-details-marker { display: none; }
.mm-group summary .ic { margin-left: auto; transition: transform .2s; }
.mm-group[open] summary .ic { transform: rotate(180deg); }
.mm-sub { display: block; padding: 8px 6px 8px 22px; color: var(--text); font-size: .95rem; }
.mm-offer { color: var(--sale); font-weight: 700; }

/* ---------- Hero slider ---------- */
.hero { margin-top: 14px; }
.slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; }
.sl-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--forest); display: none; place-items: center; box-shadow: var(--shadow); z-index: 3; }
.sl-arrow:hover { background: #fff; }
.sl-prev { left: 12px; } .sl-next { right: 12px; }
.sl-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 3; }
.sl-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .55); transition: width .25s, background .25s; }
.sl-dots button.active { width: 26px; background: #fff; }

/* ---------- Designed banners ---------- */
.bnr { position: relative; display: flex; align-items: center; overflow: hidden; border-radius: var(--radius-lg); color: #fff; isolation: isolate; }
.bnr-image img { width: 100%; height: 100%; object-fit: cover; }
.bnr-design { padding: 22px 20px; gap: 10px; }
.bnr-leaves { position: absolute; width: 230px; height: 230px; right: -40px; bottom: -60px; z-index: -1; opacity: .16; fill: currentColor; stroke: currentColor; }
.bnr-text { position: relative; z-index: 2; flex: 1 1 58%; min-width: 0; }
.bnr-badge { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .02em; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); margin-bottom: 8px; }
.bnr-title { margin: 0 0 6px; color: inherit; font-size: 1.3rem; line-height: 1.25; }
.bnr-sub { margin: 0 0 12px; opacity: .92; font-size: .9rem; line-height: 1.45; }
.bnr-btn { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--forest); font-weight: 700; font-size: .9rem; padding: 9px 18px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0, 0, 0, .15); transition: transform .2s; }
.bnr:hover .bnr-btn { transform: translateX(3px); }
.bnr-pic { position: relative; flex: 0 0 40%; max-width: 40%; aspect-ratio: 1; z-index: 1; }
.bnr-pic img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 5px solid rgba(255, 255, 255, .9); box-shadow: 0 14px 30px rgba(0, 0, 0, .25); z-index: 2; background: var(--green-l); transition: transform .5s; }
.bnr:hover .bnr-pic img { transform: scale(1.04) rotate(-1.5deg); }
.bnr-ring { position: absolute; inset: -9%; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .45); z-index: 1; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.bnr-hero { min-height: 230px; }
.bnr-hero .bnr-pic { flex-basis: 36%; max-width: 36%; }
.bnr-hero .bnr-ring { display: none; }
.bnr-hero .bnr-sub { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bnr-hero.bnr-design { padding: 26px 22px 40px; }
.bnr-hero .bnr-title { font-size: clamp(1.35rem, 4.6vw, 2.6rem); }
.bnr-hero .bnr-sub { font-size: clamp(.86rem, 1.8vw, 1.1rem); max-width: 520px; }

.theme-forest { background: radial-gradient(120% 140% at 0% 0%, #1f6b37 0%, #0f4a24 45%, #0b2a14 100%); }
.theme-sunset { background: radial-gradient(120% 140% at 0% 0%, #ff9a3c 0%, #f05a28 45%, #b8321b 100%); }
.theme-mint { background: radial-gradient(120% 140% at 0% 0%, #d8f3c8 0%, #b5e3a0 50%, #8cc63f 100%); color: var(--forest); }
.theme-mint .bnr-badge { background: rgba(11, 42, 20, .08); border-color: rgba(11, 42, 20, .2); }
.theme-mint .bnr-btn { background: var(--forest); color: #fff; }
.theme-rose { background: radial-gradient(120% 140% at 0% 0%, #ff8fab 0%, #e2557d 50%, #a8324f 100%); }
.theme-cream { background: radial-gradient(120% 140% at 0% 0%, #fffaf0 0%, #f6ecd4 55%, #ead9ae 100%); color: var(--forest); }
.theme-cream .bnr-badge { background: rgba(11, 42, 20, .08); border-color: rgba(11, 42, 20, .2); }
.theme-cream .bnr-btn { background: var(--green); color: #fff; }
.theme-sky { background: radial-gradient(120% 140% at 0% 0%, #7fd3e8 0%, #2c9bc0 55%, #1b6584 100%); }

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
.trust-item { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: var(--radius); padding: 11px 12px; box-shadow: var(--shadow); }
.trust-item > .ic { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--green-l); color: var(--green); }
.trust-item strong { display: block; font-size: .86rem; color: var(--ink); line-height: 1.25; }
.trust-item span { font-size: .75rem; color: var(--muted); line-height: 1.25; display: none; }

/* ---------- Section heads ---------- */
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sec-head h2 { margin: 0; display: flex; align-items: center; gap: 8px; }
.sec-head h2 > .ic { color: var(--leaf); }
.sec-head h2 small { font-size: .8rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.see-all { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.sec-head-offer h2 > .ic { color: var(--sale); }
.offer-zone { background: linear-gradient(180deg, #fff3ea, #fff 70%); border-radius: var(--radius-lg); padding-top: 18px; padding-bottom: 18px; border: 1px solid #ffe0cc; }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 23%; gap: 12px 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 6px; }
.cat-grid::-webkit-scrollbar { display: none; }
.cat-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; color: var(--ink); }
.cat-img { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: linear-gradient(180deg, #fff, var(--green-l)); border: 3px solid #fff; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile:hover .cat-img { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cat-name { font-weight: 600; font-size: .82rem; line-height: 1.25; }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: none; }
.card { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: box-shadow .22s, transform .22s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-media { position: relative; display: block; aspect-ratio: 1; background: var(--green-l); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.06); }
.tag-off { position: absolute; top: 8px; left: 8px; background: var(--sale); color: #fff; font-weight: 700; font-size: .78rem; padding: 3px 9px; border-radius: 999px; box-shadow: 0 3px 8px rgba(240, 90, 40, .35); z-index: 2; }
.tag-lg { font-size: 1rem; padding: 5px 14px; top: 14px; left: 14px; }
.tag-out { position: absolute; bottom: 8px; left: 8px; background: rgba(16, 35, 26, .85); color: #fff; font-size: .75rem; padding: 2px 10px; border-radius: 999px; }
.wish-btn { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #8a968e; display: grid; place-items: center; box-shadow: var(--shadow); z-index: 2; transition: color .2s, transform .2s; }
.wish-btn .ic { width: 18px; height: 18px; }
.wish-btn:hover { color: #e2557d; transform: scale(1.08); }
.wish-btn.on { color: #e2557d; }
.card-body { padding: 10px 10px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-cat { font-size: .72rem; color: var(--muted); }
.card-title { font-size: .92rem; font-weight: 600; line-height: 1.35; margin: 0; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--green); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 2px 0 8px; }
.price strong { color: var(--green-d); font-size: 1.12rem; font-weight: 700; }
.price del { color: #9aa59d; font-size: .85rem; }
.price-ask { color: var(--sale); font-weight: 600; font-size: .9rem; }
.card-body .btn { margin-top: auto; }
.btn.added { background: var(--forest); }

/* ---------- Promo / wide banners ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.bnr-promo { min-height: 210px; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 16px 14px !important; }
.bnr-promo .bnr-text { flex: 0 0 auto; }
.bnr-promo .bnr-title { font-size: 1.02rem; }
.bnr-promo .bnr-sub { font-size: .8rem; margin-bottom: 8px; }
.bnr-promo .bnr-btn { font-size: .78rem; padding: 6px 12px; }
.bnr-promo .bnr-pic { position: absolute; right: -18px; bottom: -18px; width: 58%; max-width: 58%; flex: none; }
.bnr-promo .bnr-ring { display: none; }
.bnr-promo .bnr-badge { font-size: .7rem; padding: 2px 10px; margin-bottom: 6px; }
.wide-grid { display: grid; gap: 10px; }
.bnr-wide { min-height: 170px; }
.bnr-wide .bnr-pic { flex-basis: 34%; max-width: 34%; }

/* ---------- Tabs ---------- */
.tab-bar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: none; }
.tab-bar::-webkit-scrollbar { display: none; }
.tab { border: 1.5px solid var(--line); background: #fff; color: var(--text); padding: 8px 18px; border-radius: 999px; font-weight: 600; white-space: nowrap; font-size: .92rem; transition: .18s; }
.tab:hover { border-color: var(--green); color: var(--green); }
.tab.active { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 4px 12px rgba(19, 138, 62, .25); }

/* ---------- Why / reviews / community ---------- */
.why { background: #fff; border-radius: var(--radius-lg); padding: 26px 16px; box-shadow: var(--shadow); }
.why h2 span { color: var(--green); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 16px; }
.why-item { text-align: center; }
.why-item > span { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(135deg, var(--green), var(--leaf)); color: #fff; margin-bottom: 8px; box-shadow: 0 8px 18px rgba(19, 138, 62, .28); }
.why-item .ic { width: 28px; height: 28px; }
.why-item h3 { margin: 0 0 4px; font-size: .98rem; }
.why-item p { font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.45; }
.rail-reviews { grid-auto-columns: 82%; }
.review-card { margin: 0; background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.review-card blockquote { margin: 0; font-size: .93rem; flex: 1; }
.review-card figcaption { font-size: .82rem; color: var(--muted); }
.stars { display: inline-flex; gap: 1px; color: #f5b301; }
.stars .ic { width: 16px; height: 16px; }
.stars .off { color: #dfe5e0; }
.community { background: linear-gradient(120deg, #1877f2, #0f5bc4); color: #fff; margin-top: 40px; }
.community-inner { display: grid; gap: 14px; padding-top: 26px; padding-bottom: 26px; justify-items: start; }
.community h2 { color: #fff; margin: 0 0 4px; }
.community p { margin: 0; opacity: .9; font-size: .95rem; }
.community-icon .ic { width: 44px; height: 44px; padding: 9px; border-radius: 14px; background: rgba(255, 255, 255, .16); }
.community .btn-light { color: #0f5bc4; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: #c5d6c7; font-size: .93rem; }
.footer-grid { display: grid; gap: 24px; padding-top: 34px; padding-bottom: 26px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.site-footer a { color: #c5d6c7; }
.site-footer a:hover { color: var(--lime); }
.f-about img { height: 64px; width: auto; margin-bottom: 12px; }
.f-about p { line-height: 1.6; }
.f-contact li { display: flex; gap: 9px; align-items: flex-start; }
.f-contact li .ic { color: var(--lime); margin-top: 3px; }
.ic-txt { color: var(--lime); font-weight: 700; width: 1.25em; text-align: center; }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s; }
.socials a:hover { background: var(--green); color: #fff; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pay-badges span { background: rgba(255, 255, 255, .1); border-radius: 8px; padding: 3px 10px; font-size: .8rem; color: #fff; }
.pay-badges .bkash { background: #e2136e; }
.pay-badges .nagad { background: #f6921e; }
.pay-badges img.pay-logo { height: 30px; width: auto; background: #fff; border-radius: 8px; padding: 3px 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 14px 0; font-size: .82rem; }
.footer-bottom .row-between { flex-direction: column; gap: 4px; text-align: center; }
.footer-bottom a { color: var(--lime); }

/* ---------- Floating + bottom nav ---------- */
.float-contact { position: fixed; right: 12px; bottom: 78px; display: flex; flex-direction: column; gap: 10px; z-index: 40; }
.fc { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .22); transition: transform .2s; }
.fc:hover { transform: scale(1.08); color: #fff; }
.fc .ic { width: 26px; height: 26px; }
.fc-wa { background: var(--wa); animation: pulse 2.6s infinite; }
.fc-call { background: var(--call); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 174, 91, .5); } 70% { box-shadow: 0 0 0 14px rgba(31, 174, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 174, 91, 0); } }
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; height: 62px; background: #fff; display: grid; grid-template-columns: repeat(5, 1fr); box-shadow: 0 -4px 18px rgba(11, 42, 20, .1); z-index: 45; padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav a, .bottom-nav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; background: none; color: var(--muted); font-size: .7rem; font-weight: 500; }
.bottom-nav .ic { width: 23px; height: 23px; }
.bottom-nav .active { color: var(--green); }
.bottom-nav .badge { top: 5px; right: calc(50% - 22px); }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 30px); background: var(--forest); color: #fff; padding: 11px 20px; border-radius: 999px; font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .25s; z-index: 120; max-width: 92vw; text-align: center; font-size: .93rem; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #b3261e; }

/* ---------- Breadcrumb / listing ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 12px; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 4px; color: #a7b3aa; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green); }
.list-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.list-head h1 { margin: 0; }
.list-head p { margin: 0; font-size: .9rem; }
.list-tools { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.price-filter { position: relative; }
.price-filter summary, .sort-select select { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 500; cursor: pointer; list-style: none; font-size: .92rem; }
.price-filter summary::-webkit-details-marker { display: none; }
.pf-body { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; padding: 12px; border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; gap: 6px; align-items: center; z-index: 20; width: max-content; }
.pf-body input { width: 92px; border: 1.5px solid var(--line); border-radius: 10px; padding: 7px 10px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: none; }
.chip { white-space: nowrap; border: 1.5px solid var(--line); background: #fff; color: var(--text); padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500; }
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.active { background: var(--green-l); border-color: var(--green); color: var(--green-d); font-weight: 600; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 26px; }
.pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }
.pager a.active { background: var(--green); color: #fff; }
.empty { text-align: center; padding: 50px 16px; }
.empty-icon { display: inline-grid; place-items: center; width: 82px; height: 82px; border-radius: 50%; background: var(--green-l); color: var(--green); margin-bottom: 12px; }
.empty-icon .ic { width: 40px; height: 40px; }

/* ---------- Product page ---------- */
.pd { display: grid; gap: 18px; }
.pd-gallery { min-width: 0; }
.pd-main { position: relative; background: #fff; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow); }
.pd-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.pd-main .sl-arrow { display: grid; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.pd-thumbs button { flex: 0 0 72px; height: 72px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--green-l); opacity: .7; transition: .2s; }
.pd-thumbs button.active { border-color: var(--green); opacity: 1; }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-cat { display: inline-block; font-size: .82rem; font-weight: 600; background: var(--green-l); padding: 2px 12px; border-radius: 999px; margin-bottom: 6px; }
.pd-title { font-size: clamp(1.3rem, 3vw, 1.85rem); margin-bottom: 6px; }
.pd-rating { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; }
.pd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 14px 0; padding: 14px 16px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.pd-price strong { font-size: 2rem; color: var(--green-d); line-height: 1; }
.pd-price del { color: #9aa59d; font-size: 1.1rem; }
.pd-price .save { background: #e6f6e9; color: var(--green-d); font-weight: 700; font-size: .85rem; padding: 3px 10px; border-radius: 999px; }
.pd-short { color: var(--text); }
.stock { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; margin-bottom: 12px; }
.stock.in { color: var(--green); }
.stock.out { color: var(--sale); }
.pd-buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.pd-buy [data-buy-now] { grid-column: 1 / -1; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; height: 48px; }
.qty button { width: 42px; height: 100%; border: 0; background: none; display: grid; place-items: center; color: var(--ink); }
.qty button:hover { color: var(--green); }
.qty input { width: 42px; border: 0; text-align: center; font-weight: 700; font-size: 1.05rem; background: none; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 38px; }
.qty-sm button { width: 34px; }
.qty-sm input { width: 34px; font-size: .95rem; }
.pd-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.pd-contact .btn { padding: 12px 10px; font-size: .95rem; }
.pd-perks { list-style: none; padding: 14px 16px; margin: 16px 0 0; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); display: grid; gap: 9px; font-size: .9rem; }
.pd-perks li { display: flex; gap: 10px; align-items: flex-start; }
.pd-perks .ic { color: var(--green); margin-top: 2px; }
.pd-share { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: .9rem; }
.pd-share a, .pd-share button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.pd-share a:hover, .pd-share button:hover { color: var(--green); border-color: var(--green); }
.wish-inline { position: static; box-shadow: none; }
.pd-tabs { margin-top: 30px; background: #fff; border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow); }
.prose { font-size: 1rem; line-height: 1.75; }
.prose h3, .prose h4, .prose h5, .prose h6 { margin-top: 1.1em; color: var(--green-d); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .3em; }
.prose blockquote { margin: 1em 0; padding: 10px 16px; border-left: 4px solid var(--lime); background: var(--cream); border-radius: 0 10px 10px 0; }
.reviews-wrap { display: grid; gap: 20px; }
.review { padding: 12px 0; border-bottom: 1px solid var(--line); }
.review-top { display: flex; justify-content: space-between; gap: 10px; }
.review p { margin: 4px 0; }
.review-form { display: grid; gap: 10px; align-content: start; }
.review-form h3 { margin: 0; }
.rate-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rate-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-input label { cursor: pointer; color: #dfe5e0; }
.rate-input label .ic { width: 28px; height: 28px; }
.rate-input input:checked ~ label, .rate-input label:hover, .rate-input label:hover ~ label { color: #f5b301; }
.rate-input input:focus-visible + label { outline: 2px solid var(--lime); border-radius: 4px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 62px; background: #fff; display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 8px 12px; box-shadow: 0 -6px 18px rgba(11, 42, 20, .12); z-index: 44; transform: translateY(130%); transition: transform .25s; }
.sticky-buy.show { transform: none; }
.sticky-buy .btn { padding: 10px 14px; font-size: .92rem; }
.sb-price strong { display: block; color: var(--green-d); font-size: 1.15rem; line-height: 1.1; }
.sb-price del { color: #9aa59d; font-size: .8rem; }
body.has-sticky .float-contact { bottom: 140px; }

/* ---------- Forms / boxes ---------- */
.card-box { background: #fff; border-radius: var(--radius-lg); padding: 18px 16px; box-shadow: var(--shadow); }
.card-box > h2 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; }
.step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: .9rem; }
label { display: block; font-weight: 500; font-size: .92rem; color: var(--ink); }
label > input, label > select, label > textarea { margin-top: 5px; display: block; }
label small { font-weight: 400; color: var(--muted); }
input[type=text], input[type=tel], input[type=number], input[type=search], input[type=email], select, textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(19, 138, 62, .1); }
.form-grid { display: grid; gap: 12px; }
.checkout { display: grid; gap: 16px; margin-top: 14px; }
.co-main { display: grid; gap: 16px; min-width: 0; }
.pay-options { display: grid; gap: 10px; }
.pay-opt { display: block; cursor: pointer; }
.pay-opt input { position: absolute; opacity: 0; }
.po-body { display: flex; align-items: center; gap: 12px; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; transition: .2s; background: #fff; }
.po-body > .ic { width: 34px; height: 34px; color: var(--green); }
.po-body strong { display: block; font-size: .98rem; }
.po-body small { color: var(--muted); font-weight: 400; }
.pay-opt input:checked + .po-body { border-color: var(--green); background: var(--green-l); box-shadow: 0 0 0 3px rgba(19, 138, 62, .12); }
.pay-opt input:focus-visible + .po-body { outline: 3px solid var(--lime); }
.po-logo { display: inline-grid; place-items: center; min-width: 58px; height: 34px; border-radius: 8px; color: #fff; font-weight: 700; font-size: .85rem; }
.po-logo.bkash { background: #e2136e; }
img.po-logo { width: 74px; height: 40px; min-width: 0; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
.po-logo.nagad { background: #f6921e; }
.pay-box { margin-top: 14px; padding: 14px; background: #fff8ec; border: 1px dashed #f0c27a; border-radius: 14px; }
.pay-box p { margin-bottom: 8px; }
.pay-steps { margin: 0 0 12px; padding-left: 1.3em; display: grid; gap: 6px; font-size: .94rem; }
.copy-num { white-space: nowrap; }
.summary { display: grid; gap: 8px; align-content: start; }
.summary h2 { margin-bottom: 4px; }
.summary .total { font-size: 1.12rem; }
.summary .total strong { color: var(--green-d); font-size: 1.3rem; }
.disc { color: var(--green); }
.co-items { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 10px; }
.co-items li { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; }
.co-items img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--green-l); }
.co-name { font-size: .9rem; line-height: 1.3; font-weight: 500; color: var(--ink); }
.co-name small { display: block; color: var(--muted); font-weight: 400; }
.coupon { display: flex; gap: 6px; margin: 4px 0; }
.coupon input { padding: 8px 12px; text-transform: uppercase; }
[data-coupon-msg].ok { color: var(--green); }
[data-coupon-msg].err { color: #b3261e; }

/* cart page */
.cart-layout { display: grid; gap: 16px; }
.cart-items { background: #fff; border-radius: var(--radius-lg); padding: 6px 14px; box-shadow: var(--shadow); }
.cart-row { display: grid; grid-template-columns: 64px 1fr auto; grid-template-areas: "img info del" "img qty line"; gap: 6px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cr-img { grid-area: img; }
.cr-img img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--green-l); }
.cr-info { grid-area: info; display: grid; font-size: .9rem; }
.cr-name { color: var(--ink); font-weight: 600; line-height: 1.3; }
.cart-row .qty { grid-area: qty; justify-self: start; }
.cr-line { grid-area: line; text-align: right; color: var(--green-d); }
.cart-row [data-remove] { grid-area: del; justify-self: end; }

/* success / track */
.success-hero { text-align: center; padding: 20px 0 10px; }
.success-icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--lime)); color: #fff; margin-bottom: 12px; box-shadow: 0 12px 28px rgba(19, 138, 62, .3); animation: pop .5s ease; }
.success-icon .ic { width: 44px; height: 44px; }
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 80% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.order-no { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px dashed var(--lime); border-radius: 14px; padding: 8px 16px; font-size: 1.05rem; }
.info-grid { display: grid; gap: 10px; }
.info-grid > div { background: var(--cream); border-radius: 12px; padding: 10px 12px; }
.info-grid span { display: block; font-size: .8rem; }
.track-form { display: grid; gap: 12px; }
.timeline { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.timeline li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: .75rem; color: var(--muted); position: relative; z-index: 1; }
.timeline li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: -1; }
.timeline li:first-child::before { display: none; }
.timeline li.done::before { background: var(--green); }
.timeline .dot { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: grid; place-items: center; color: transparent; }
.timeline li.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.timeline li.current { color: var(--green-d); font-weight: 700; }
.timeline li.current .dot { box-shadow: 0 0 0 6px rgba(19, 138, 62, .15); }
.pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.pill-amber { background: #fff4d6; color: #8a5a00; } .pill-blue { background: #e3efff; color: #1d4c94; } .pill-violet { background: #efe7ff; color: #5b34a8; }
.pill-cyan { background: #dff6f7; color: #106a74; } .pill-green { background: #e2f5e6; color: #146b31; } .pill-red { background: #fde6e4; color: #a32418; } .pill-gray { background: #eceeed; color: #555; }

/* =================================================================
   Tablet & desktop
   ================================================================= */
@media (min-width: 600px) {
  .trust { grid-template-columns: repeat(4, 1fr); }
  .trust-item span { display: block; }
  .cat-grid { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(6, 1fr); gap: 14px; overflow: visible; }
  .bnr-hero .bnr-ring { display: block; }
  .bnr-hero .bnr-pic { flex-basis: 38%; max-width: 38%; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .rail { grid-auto-columns: 31%; gap: 14px; }
  .rail-reviews { grid-auto-columns: 46%; }
  .promo-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .bnr-promo { min-height: 260px; }
  .wide-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .track-form { grid-template-columns: 1fr 1fr auto; align-items: end; }
  .cart-row { grid-template-columns: 76px 1fr auto auto 42px; grid-template-areas: "img info qty line del"; }
  .cr-img img { width: 76px; height: 76px; }
  .footer-bottom .row-between { flex-direction: row; }
  .community-inner { grid-template-columns: auto 1fr auto; align-items: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reviews-wrap { grid-template-columns: 1.3fr 1fr; }
  .bnr-hero { min-height: 300px; }
  .bnr-hero.bnr-design { padding: 40px 48px; }
  .sl-arrow { display: grid; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .container { padding: 0 20px; }
  .only-mobile { display: none !important; }
  .only-desktop { display: inline-flex !important; }
  .bottom-nav, .sticky-buy { display: none; }
  .float-contact { bottom: 24px; right: 22px; }
  body.has-sticky .float-contact { bottom: 24px; }
  .toast { bottom: 30px; }
  .header-row { grid-template-columns: auto 1fr auto; grid-template-areas: "brand search actions"; gap: 28px; padding-top: 10px; padding-bottom: 10px; }
  .brand { justify-self: start; }
  .brand img { height: 58px; }
  .search { max-width: 640px; width: 100%; justify-self: center; }
  .search input { padding: 12px 20px; }
  .ha { padding: 6px 12px; font-size: .78rem; }
  .menu-bar { display: block; }
  .announce { text-align: center; }
  .announce-track { animation: none; display: block; }
  .announce-track span { padding: 0; }
  .announce-track span + span { display: none; }
  .rail-wrap { position: relative; }
  .rail-nav { display: grid; position: absolute; top: 34%; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--forest); box-shadow: var(--shadow-lg); place-items: center; z-index: 5; transition: opacity .2s; }
  .rail-nav[disabled] { opacity: 0; pointer-events: none; }
  .rail-nav.prev { left: -14px; } .rail-nav.next { right: -14px; }
  .site-header.scrolled .announce { display: none; }
  .cat-grid { grid-template-columns: repeat(8, 1fr); }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .rail { grid-auto-columns: calc((100% - 4 * 18px) / 5); gap: 18px; }
  .rail-reviews { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
  .card-body { padding: 12px 14px 14px; }
  .card-title { font-size: .98rem; }
  .bnr-hero { min-height: 400px; }
  .bnr-hero.bnr-design { padding: 50px 80px; }
  .bnr-hero .bnr-pic { flex-basis: 34%; max-width: 34%; }
  .bnr-wide { min-height: 210px; padding: 28px 34px !important; }
  .bnr-wide .bnr-title { font-size: 1.45rem; }
  .bnr-promo { min-height: 300px; padding: 20px !important; }
  .bnr-promo .bnr-title { font-size: 1.2rem; }
  .pd { grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
  .pd-gallery { position: sticky; top: 140px; }
  .pd-buy { grid-template-columns: auto 1fr 1fr; }
  .pd-buy [data-buy-now] { grid-column: auto; }
  .pd-tabs { padding: 24px 28px; }
  .checkout { grid-template-columns: 1fr 400px; align-items: start; }
  .co-side { position: sticky; top: 130px; }
  .cart-layout { grid-template-columns: 1fr 360px; align-items: start; }
  .cart-layout .summary { position: sticky; top: 130px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 36px; padding-top: 46px; }
  .why { padding: 34px; }
  .section { margin-top: 46px; }
  .offer-zone { padding: 22px 24px; }
}

@media (min-width: 1200px) {
  .cat-grid { grid-template-columns: repeat(10, 1fr); }
  .grid { grid-template-columns: repeat(5, 1fr); }
}

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

@media print {
  .site-header, .site-footer, .bottom-nav, .float-contact, .community, .announce { display: none !important; }
  body { background: #fff; }
}
