/* ==========================================================================
   Arush Retail Mart — storefront design system
   Brand: green (fresh) + sunrise orange-red from the logo
   ========================================================================== */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }

:root {
  --arm-green: #1f6b45;
  --arm-green-600: #237a4f;
  --arm-green-500: #2f8f5d;
  --arm-green-50: #eef7f0;
  --arm-green-100: #dcefe2;
  --arm-orange: #e1531f;
  --arm-orange-600: #c9441a;
  --arm-orange-50: #fff1ea;
  --arm-red: #b5322a;
  --arm-yellow: #f7b928;
  --arm-ink: #18231d;
  --arm-ink-2: #3c4a42;
  --arm-muted: #6b7a72;
  --arm-line: #e6ece8;
  --arm-bg: #f6f8f6;
  --arm-card: #ffffff;
  --arm-radius: 14px;
  --arm-radius-sm: 10px;
  --arm-shadow-sm: 0 1px 2px rgba(16, 40, 26, .06), 0 1px 3px rgba(16, 40, 26, .05);
  --arm-shadow: 0 6px 20px rgba(16, 40, 26, .08);
  --arm-shadow-lg: 0 18px 40px rgba(16, 40, 26, .14);
  --arm-head: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --arm-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;

  --bs-primary: var(--arm-green);
  --bs-primary-rgb: 31, 107, 69;
  --bs-link-color: var(--arm-green-600);
  --bs-link-color-rgb: 35, 122, 79;
  --bs-link-hover-color: var(--arm-green);
  --bs-body-font-family: var(--arm-body);
  --bs-body-color: var(--arm-ink);
  --bs-body-bg: #fff;
  --bs-border-color: var(--arm-line);
  --bs-border-radius: var(--arm-radius-sm);
  --bs-focus-ring-color: rgba(31, 107, 69, .25);
}

body { font-family: var(--arm-body); color: var(--arm-ink); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .section-title, .page-title { font-family: var(--arm-head); letter-spacing: -.01em; }
a { text-decoration: none; }
img { max-width: 100%; }
.skip-link { position: absolute; z-index: 2000; top: 8px; left: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* Buttons --------------------------------------------------------------- */
.btn { font-weight: 600; border-radius: 10px; }
.btn-lg { border-radius: 12px; }
.btn-primary { --bs-btn-bg: var(--arm-green); --bs-btn-border-color: var(--arm-green); --bs-btn-hover-bg: #185638; --bs-btn-hover-border-color: #185638; --bs-btn-active-bg: #134a30; --bs-btn-active-border-color: #134a30; --bs-btn-disabled-bg: #9db8a8; --bs-btn-disabled-border-color: #9db8a8; }
.btn-outline-primary { --bs-btn-color: var(--arm-green); --bs-btn-border-color: var(--arm-green); --bs-btn-hover-bg: var(--arm-green); --bs-btn-hover-border-color: var(--arm-green); --bs-btn-active-bg: var(--arm-green); }
.btn-accent { background: var(--arm-orange); color: #fff; border: 0; }
.btn-accent:hover { background: var(--arm-orange-600); color: #fff; }
.text-primary { color: var(--arm-green) !important; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: #8fc0a3; box-shadow: 0 0 0 .2rem rgba(31, 107, 69, .15); }
.form-check-input:checked { background-color: var(--arm-green); border-color: var(--arm-green); }

/* Top bar ---------------------------------------------------------------- */
.topbar { background: var(--arm-green); color: #e7f4ec; font-size: .8125rem; }
.topbar .container-xl { min-height: 34px; }
.topbar-msg { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-links { gap: 20px; }
.topbar-links a { color: #e7f4ec; }
.topbar-links a:hover { color: #fff; }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid var(--arm-line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 18px rgba(16, 40, 26, .08); }
.header-main { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.brand img { height: 56px; width: auto; display: block; }
.icon-btn { border: 0; background: none; font-size: 1.6rem; padding: 4px; color: var(--arm-ink); }
.loc-btn { align-items: center; gap: 8px; border: 1px solid var(--arm-line); background: var(--arm-green-50); border-radius: 12px; padding: 7px 12px; max-width: 230px; text-align: left; color: var(--arm-ink); transition: border-color .15s; }
.loc-btn:hover { border-color: #b9d8c4; }
.loc-btn > .bi-geo-alt-fill { color: var(--arm-orange); font-size: 1.15rem; }
.loc-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.loc-text small { color: var(--arm-muted); font-size: .72rem; }
.loc-text strong { font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc-btn.is-bad, .loc-chip.is-bad { background: #fff3f1; border-color: #f3c9c3; }
.search-box { position: relative; flex: 1; display: flex; align-items: center; }
.search-box input { width: 100%; height: 48px; border: 1.5px solid var(--arm-line); background: #f7f9f8; border-radius: 12px; padding: 0 112px 0 44px; font-size: .95rem; transition: border-color .15s, background .15s; }
.search-box input:focus { outline: 0; border-color: var(--arm-green-500); background: #fff; box-shadow: 0 0 0 4px rgba(31, 107, 69, .1); }
.search-box .search-ico { position: absolute; left: 16px; color: var(--arm-muted); pointer-events: none; }
.search-box .btn { position: absolute; right: 5px; height: 38px; padding: 0 18px; border-radius: 9px; }
.search-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 1050; background: #fff; border: 1px solid var(--arm-line); border-radius: 14px; box-shadow: var(--arm-shadow-lg); overflow: hidden; max-height: 70vh; overflow-y: auto; }
.sg-group { padding: 8px 0; }
.sg-group + .sg-group { border-top: 1px solid var(--arm-line); }
.sg-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--arm-muted); padding: 4px 16px; }
.sg-item { display: flex; align-items: center; gap: 12px; padding: 8px 16px; color: var(--arm-ink); }
.sg-item:hover, .sg-item.is-active { background: var(--arm-green-50); }
.sg-item img { width: 44px; height: 44px; object-fit: contain; background: var(--arm-bg); border-radius: 8px; }
.sg-item .sg-name { flex: 1; font-size: .9rem; line-height: 1.25; }
.sg-item .sg-name small { display: block; color: var(--arm-muted); }
.sg-item .sg-price { font-weight: 700; font-size: .9rem; text-align: right; }
.sg-item .sg-price del { display: block; font-weight: 400; color: var(--arm-muted); font-size: .78rem; }
.sg-cat { display: inline-flex; align-items: center; gap: 6px; margin: 2px 4px 2px 16px; padding: 4px 10px; border-radius: 99px; background: var(--arm-green-50); color: var(--arm-green); font-size: .82rem; font-weight: 500; }
.sg-all { display: block; padding: 10px 16px; font-weight: 600; background: #fafcfb; border-top: 1px solid var(--arm-line); }
.sg-empty { padding: 18px 16px; color: var(--arm-muted); font-size: .9rem; }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hdr-action { display: flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--arm-ink); padding: 8px 10px; border-radius: 10px; font-size: 1.35rem; }
.hdr-action:hover { background: var(--arm-bg); color: var(--arm-ink); }
.hdr-action span { display: flex; flex-direction: column; line-height: 1.1; font-size: .85rem; text-align: left; }
.hdr-action span small { color: var(--arm-muted); font-size: .72rem; }
.cart-btn { position: relative; display: flex; align-items: center; gap: 8px; border: 0; background: var(--arm-green); color: #fff; height: 46px; padding: 0 16px; border-radius: 12px; font-weight: 600; font-size: 1.25rem; transition: background .15s, transform .15s; }
.cart-btn:hover { background: #185638; }
.cart-btn .cart-label { font-size: .9rem; }
.cart-count { position: absolute; top: -6px; left: 30px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--arm-orange); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.cart-count[hidden], .mn-badge[hidden] { display: none !important; }
.cart-btn.bump { animation: bump .4s ease; }
@keyframes bump { 30% { transform: scale(1.08); } 60% { transform: scale(.96); } }

.mobile-search-row { display: flex; flex-direction: column; gap: 8px; padding-bottom: 10px; }
.mobile-search-row .search-box input { height: 44px; padding-right: 16px; }
.loc-chip { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; border: 0; background: none; padding: 0; font-size: .82rem; color: var(--arm-ink-2); max-width: 100%; }
.loc-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.loc-chip .bi-geo-alt-fill { color: var(--arm-orange); }

/* Category nav + mega menu ---------------------------------------------- */
.cat-nav { border-top: 1px solid var(--arm-line); }
.cat-nav .container-xl { min-height: 48px; gap: 6px; }
.all-cats { white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--arm-orange); color: #fff; font-weight: 600; font-size: .9rem; }
.all-cats:hover, .mega-wrap.is-open .all-cats { background: var(--arm-orange-600); }
.dept-links { display: flex; gap: 0; overflow: hidden; flex-wrap: nowrap; flex: 1 1 auto; min-width: 0; }
.dept-links li.is-overflow { visibility: hidden; }
.dept-links a { display: block; padding: 8px 9px; color: var(--arm-ink-2); font-size: .875rem; font-weight: 500; border-radius: 8px; white-space: nowrap; }
.dept-links a:hover, .dept-links a.active { color: var(--arm-green); background: var(--arm-green-50); }
.offers-link { color: var(--arm-orange); font-weight: 600; font-size: .9rem; padding: 8px 10px; white-space: nowrap; }
.brands-link { color: var(--arm-ink-2); font-weight: 500; font-size: .9rem; padding: 8px 10px; }
.mega-wrap { position: relative; }
.mega { position: absolute; top: calc(100% + 6px); left: 0; width: min(1100px, calc(100vw - 48px)); display: none; grid-template-columns: 290px 1fr; background: #fff; border: 1px solid var(--arm-line); border-radius: 16px; box-shadow: var(--arm-shadow-lg); overflow: hidden; z-index: 1040; min-height: 420px; }
.mega-wrap.is-open .mega { display: grid; animation: megaIn .16s ease-out; }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } }
.mega-depts { background: #f8faf8; border-right: 1px solid var(--arm-line); padding: 8px; }
.mega-dept { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--arm-ink); font-size: .9rem; font-weight: 500; }
.mega-dept img { width: 32px; height: 32px; object-fit: contain; }
.mega-dept .bi { color: var(--arm-muted); font-size: .8rem; }
.mega-dept.is-active, .mega-dept:hover { background: #fff; color: var(--arm-green); box-shadow: var(--arm-shadow-sm); }
.mega-pane { display: none; padding: 20px 24px; }
.mega-pane.is-active { display: block; }
.mega-pane-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mega-pane-head h3 { font-size: 1.1rem; margin: 0; }
.mega-pane-head a { font-weight: 600; font-size: .875rem; }
.mega-cols { columns: 3 200px; column-gap: 28px; }
.mega-col { break-inside: avoid; margin-bottom: 18px; }
.mega-cat { display: block; font-weight: 600; color: var(--arm-ink); margin-bottom: 6px; font-size: .92rem; }
.mega-cat:hover { color: var(--arm-green); }
.mega-col li a { display: block; padding: 3px 0; color: var(--arm-muted); font-size: .86rem; }
.mega-col li a:hover { color: var(--arm-green); }

/* Mobile drawer & bottom nav ---------------------------------------------- */
.cat-drawer { --bs-offcanvas-width: 340px; }
.drawer-account { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--arm-green-50); }
.drawer-account > .bi { font-size: 2rem; color: var(--arm-green); }
.drawer-account div { display: flex; flex-direction: column; line-height: 1.2; }
.drawer-account small { color: var(--arm-muted); }
.drawer-label { margin: 16px 16px 6px; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--arm-muted); font-weight: 600; }
.cat-drawer .accordion-button { font-weight: 500; padding: 10px 16px; }
.cat-drawer .accordion-button:not(.collapsed) { background: #fff; color: var(--arm-green); box-shadow: none; }
.cat-drawer .accordion-button img { object-fit: contain; }
.drawer-all { display: block; font-weight: 600; padding: 6px 0; }
.drawer-cat { display: block; font-weight: 600; color: var(--arm-ink); padding: 8px 0 4px; font-size: .9rem; }
.drawer-subs { display: flex; flex-wrap: wrap; gap: 6px; }
.drawer-subs a { font-size: .8rem; padding: 4px 10px; border-radius: 99px; background: var(--arm-bg); color: var(--arm-ink-2); }
.drawer-links { display: grid; padding: 0 8px 24px; }
.drawer-links a { display: flex; gap: 12px; align-items: center; padding: 10px 8px; color: var(--arm-ink); border-radius: 8px; }
.drawer-links a .bi { color: var(--arm-green); font-size: 1.1rem; }
.mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1035; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--arm-line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 16px rgba(16, 40, 26, .06); }
.mobile-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; color: var(--arm-muted); font-size: .7rem; font-weight: 500; min-height: 56px; justify-content: center; }
.mobile-nav a .bi { font-size: 1.3rem; }
.mobile-nav a.active { color: var(--arm-green); }
.mobile-nav a.active::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--arm-green); }
.mn-badge { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 18px; height: 18px; border-radius: 9px; background: var(--arm-orange); color: #fff; font-size: .66rem; display: grid; place-items: center; padding: 0 4px; }
@media (max-width: 991.98px) { body { padding-bottom: 64px; } .header-main { min-height: 62px; gap: 10px; } .brand img { height: 44px; } .cart-btn { height: 42px; padding: 0 12px; } .cart-count { left: 24px; } }

/* Sections --------------------------------------------------------------- */
.page-pad { padding-top: 16px; padding-bottom: 40px; }
.narrow { max-width: 900px; }
.page-title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; margin: 8px 0 18px; }
.crumbs { margin-bottom: 6px; font-size: .82rem; }
.crumbs .breadcrumb-item a { color: var(--arm-muted); }
.crumbs .breadcrumb-item.active { color: var(--arm-ink-2); max-width: 50vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-title { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; margin: 0; }
.section-sub { color: var(--arm-muted); margin: 2px 0 0; font-size: .9rem; }
.see-all { font-weight: 600; font-size: .9rem; white-space: nowrap; }
.rail-section, .cat-section, .brand-section, .promo-grid-section, .strip-section, .features-section { padding: 22px 0; }
.card-soft { background: #fff; border: 1px solid var(--arm-line); border-radius: var(--arm-radius); padding: 20px; box-shadow: var(--arm-shadow-sm); }

/* Hero ------------------------------------------------------------------- */
.hero { padding: 18px 0 8px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }
.hero-swiper { border-radius: 20px; overflow: hidden; width: 100%; }
.hero-slide { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; min-height: 340px; padding: 32px 44px; background: var(--hero-bg); color: var(--arm-ink); position: relative; overflow: hidden; }
.hero-slide::after { content: ""; position: absolute; width: 420px; height: 420px; right: -60px; top: -40px; border-radius: 50%; background: rgba(255, 255, 255, .55); z-index: 0; }
.hero-copy { position: relative; z-index: 1; }
.hero-eyebrow, .promo-eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--arm-orange); background: #fff; padding: 4px 10px; border-radius: 99px; margin-bottom: 12px; }
.hero-title { font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.12; margin-bottom: 10px; color: var(--arm-ink); }
.hero-sub { color: var(--arm-ink-2); font-size: 1.02rem; max-width: 420px; margin-bottom: 20px; }
.hero-art { position: relative; z-index: 1; width: 100%; max-height: 300px; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .12)); transition: transform .5s ease; }
.hero-slide:hover .hero-art { transform: scale(1.03) rotate(-1deg); }
.theme-light .hero-title, .theme-light .hero-sub { color: #fff; }
.hero-swiper .swiper-pagination-bullet { width: 8px; height: 8px; background: var(--arm-green); opacity: .3; }
.hero-swiper .swiper-pagination-bullet-active { opacity: 1; width: 24px; border-radius: 4px; }
.hero-side { flex-direction: column; gap: 16px; }
.hero-mini { position: relative; flex: 1; border-radius: 20px; padding: 24px; background: var(--mini-bg); color: var(--arm-ink); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.hero-mini:hover { transform: translateY(-2px); box-shadow: var(--arm-shadow); color: var(--arm-ink); }
.hero-mini strong { font-family: var(--arm-head); font-size: 1.25rem; }
.hero-mini .hero-eyebrow { align-self: flex-start; }
.hero-mini-ico { position: absolute; top: 16px; right: 18px; font-size: 3rem; color: rgba(31, 107, 69, .18); }

/* Category tiles --------------------------------------------------------- */
.cat-tiles { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 10px 16px; border-radius: 18px; background: color-mix(in srgb, var(--tile) 12%, #fff); border: 1px solid color-mix(in srgb, var(--tile) 18%, #fff); text-align: center; color: var(--arm-ink); transition: transform .2s, box-shadow .2s; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--arm-shadow); color: var(--arm-ink); }
.cat-tile-img { width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.cat-tile-img img { width: 92%; height: 92%; object-fit: contain; }
.cat-tile-name { font-weight: 600; font-size: .86rem; line-height: 1.25; }
.subcat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 16px 2px 4px; scrollbar-width: thin; }
.subcat-chips a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border: 1px solid var(--arm-line); border-radius: 99px; color: var(--arm-ink-2); font-size: .85rem; font-weight: 500; background: #fff; }
.subcat-chips a:hover { border-color: var(--arm-green-500); color: var(--arm-green); }
.subcat-chips img { width: 28px; height: 28px; border-radius: 50%; background: var(--arm-bg); object-fit: contain; }

/* Product rail ----------------------------------------------------------- */
.product-rail { overflow: hidden; padding: 4px 2px 10px; margin: -4px -2px 0; }
.product-rail .swiper-slide { height: auto; width: 200px; }
.rail-nav { gap: 6px; }
.rail-nav button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--arm-line); background: #fff; color: var(--arm-ink); display: grid; place-items: center; transition: all .15s; }
.rail-nav button:hover { background: var(--arm-green); color: #fff; border-color: var(--arm-green); }
.rail-nav button.swiper-button-disabled { opacity: .35; pointer-events: none; }

/* Product card ------------------------------------------------------------ */
.pcard { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--arm-line); border-radius: var(--arm-radius); overflow: hidden; transition: box-shadow .2s, border-color .2s, transform .2s; }
.pcard:hover { box-shadow: var(--arm-shadow); border-color: #d5e3da; }
.pcard-media { position: relative; background: linear-gradient(180deg, #f7faf7, #fff); aspect-ratio: 1 / .92; display: grid; place-items: center; padding: 10px; }
.pcard-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.badge-off { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--arm-orange); color: #fff; font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; letter-spacing: .02em; }
.badge-off.badge-lg { font-size: .82rem; padding: 5px 10px; top: 16px; left: 16px; }
.badge-off[hidden] { display: none; }
.food-mark { position: absolute; top: 10px; right: 42px; z-index: 2; width: 16px; height: 16px; border: 1.5px solid #188a3b; border-radius: 3px; display: grid; place-items: center; background: #fff; }
.food-mark i { width: 7px; height: 7px; border-radius: 50%; background: #188a3b; }
.food-mark.nonveg { border-color: #8b3a1d; }
.food-mark.nonveg i { background: none; width: 0; height: 0; border-radius: 0; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; border-bottom: 8px solid #8b3a1d; }
.food-mark.inline { position: static; display: inline-grid; vertical-align: -2px; }
.wish-btn { position: absolute; top: 6px; right: 6px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--arm-muted); display: grid; place-items: center; transition: color .15s, transform .15s; }
.wish-btn:hover { color: var(--arm-red); transform: scale(1.1); }
.wish-btn.is-saved, .btn-wish-lg.is-saved { color: var(--arm-red); }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 10px 12px 12px; gap: 4px; }
.pcard-brand { font-size: .72rem; color: var(--arm-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.pcard-title { font-family: var(--arm-body); font-size: .88rem; font-weight: 500; line-height: 1.3; margin: 0; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: 0; }
.pcard-title a { color: var(--arm-ink); }
.pcard-title a:hover { color: var(--arm-green); }
.pcard-variant { font-size: .78rem; padding: 4px 28px 4px 8px; border-radius: 8px; margin-top: 2px; background-color: #fafcfb; }
.pcard-pack { font-size: .78rem; color: var(--arm-ink-2); padding: 4px 0 5px; margin-top: 2px; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 8px; }
.pcard-price { display: flex; flex-direction: column; line-height: 1.15; }
.pcard-price strong { font-size: 1rem; font-weight: 700; }
.pcard-price del { font-size: .76rem; color: var(--arm-muted); }
.pcard.is-oos .pcard-media img { opacity: .55; filter: grayscale(.4); }
.qty-ctl { display: flex; align-items: center; justify-content: flex-end; }
.btn-add { height: 34px; min-width: 76px; padding: 0 12px; border-radius: 9px; border: 1.5px solid var(--arm-green); background: var(--arm-green-50); color: var(--arm-green); font-weight: 700; font-size: .82rem; transition: background .15s, color .15s; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.btn-add:hover { background: var(--arm-green); color: #fff; }
.btn-add[disabled] { opacity: .6; }
.stepper { display: inline-flex; align-items: center; height: 34px; border-radius: 9px; background: var(--arm-green); color: #fff; overflow: hidden; }
.stepper button { width: 30px; height: 100%; border: 0; background: transparent; color: #fff; display: grid; place-items: center; font-size: .9rem; }
.stepper button:hover { background: rgba(0, 0, 0, .12); }
.stepper span { min-width: 22px; text-align: center; font-weight: 700; font-size: .9rem; }
.stepper[hidden], .btn-add[hidden], .oos-label[hidden] { display: none !important; }
.stepper.is-busy, .btn-add.is-busy { opacity: .7; pointer-events: none; }
.stepper-sm { height: 30px; } .stepper-sm button { width: 28px; }
.oos-label { font-size: .75rem; font-weight: 600; color: var(--arm-red); background: #fdecea; padding: 6px 8px; border-radius: 8px; white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }

/* Promo banners ---------------------------------------------------------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promo-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 180px; padding: 22px; border-radius: 18px; background: var(--promo-bg); color: var(--arm-ink); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.promo-card:hover { transform: translateY(-3px); box-shadow: var(--arm-shadow); color: var(--arm-ink); }
.promo-card h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 4px; }
.promo-card p { margin: 0 0 10px; color: var(--arm-ink-2); font-size: .88rem; }
.promo-card img { width: 46%; max-width: 170px; object-fit: contain; flex: none; }
.promo-link { font-weight: 700; color: var(--arm-green); font-size: .88rem; }
.promo-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 44px; border-radius: 20px; background: var(--strip-bg); color: #fff; overflow: hidden; position: relative; }
.promo-strip::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 50%, rgba(247, 185, 40, .25), transparent 55%); }
.promo-strip > * { position: relative; }
.promo-strip h3 { font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 700; margin-bottom: 6px; color: #fff; }
.promo-strip p { color: rgba(255, 255, 255, .8); max-width: 480px; }
.promo-strip img { width: 260px; max-width: 40%; }
.promo-strip:hover { color: #fff; }

/* Brands ----------------------------------------------------------------- */
.brand-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.brand-chip { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px; border: 1px solid var(--arm-line); border-radius: 14px; background: #fff; color: var(--arm-ink); text-align: center; transition: border-color .15s, box-shadow .15s; }
.brand-chip:hover { border-color: var(--brand); box-shadow: var(--arm-shadow-sm); color: var(--arm-ink); }
.brand-mono { width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; font-family: var(--arm-head); font-weight: 700; font-size: 1.3rem; display: grid; place-items: center; }
.brand-name { font-weight: 600; font-size: .9rem; }
.brand-chip small { color: var(--arm-muted); font-size: .74rem; }
.az-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 18px; position: sticky; top: 130px; background: #fff; z-index: 5; padding: 8px 0; }
.az-nav a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--arm-line); border-radius: 8px; font-weight: 600; color: var(--arm-ink-2); }
.az-nav a:hover { background: var(--arm-green); color: #fff; }
.az-groups { columns: 4 220px; column-gap: 24px; }
.az-group { break-inside: avoid; margin-bottom: 20px; scroll-margin-top: 190px; }
.az-group h2 { font-size: 1.2rem; color: var(--arm-orange); border-bottom: 2px solid var(--arm-orange-50); padding-bottom: 4px; }
.az-group a { display: block; padding: 3px 0; color: var(--arm-ink-2); }

/* Features & newsletter ------------------------------------------------------ */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: var(--arm-bg); }
.feature-ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: #fff; color: var(--arm-green); font-size: 1.35rem; display: grid; place-items: center; box-shadow: var(--arm-shadow-sm); }
.feature h3 { font-size: .98rem; font-weight: 600; margin: 2px 0 4px; }
.feature p { font-size: .84rem; color: var(--arm-muted); margin: 0; }
.newsletter { padding: 24px 0 40px; }
.newsletter-box { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 24px; padding: 34px 40px; border-radius: 22px; background: linear-gradient(115deg, var(--arm-green) 0%, #2a8a58 60%, #3c9d63 100%); color: #fff; position: relative; overflow: hidden; }
.newsletter-box::after { content: ""; position: absolute; right: -70px; bottom: -110px; width: 280px; height: 280px; border-radius: 50%; background: rgba(247, 185, 40, .25); }
.newsletter-box h2 { font-size: 1.6rem; font-weight: 700; color: #fff; }
.newsletter-box p { color: rgba(255, 255, 255, .85); margin: 0; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.newsletter-form input { flex: 1; min-width: 200px; border: 0; }
.newsletter-msg { flex-basis: 100%; min-height: 1.2em; }

/* Trust strip & footer ------------------------------------------------------ */
.trust-strip { border-top: 1px solid var(--arm-line); background: #fbfcfb; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 0; }
.trust-grid > div { display: flex; gap: 12px; align-items: center; }
.trust-grid .bi { font-size: 1.6rem; color: var(--arm-orange); }
.trust-grid strong { display: block; font-size: .9rem; }
.trust-grid span { font-size: .8rem; color: var(--arm-muted); }
.site-footer { background: #12301f; color: #c9d8cf; padding: 44px 0 20px; font-size: .9rem; }
.footer-logo { background: #fff; border-radius: 12px; padding: 6px 10px; height: 72px; width: auto; }
.footer-about { margin: 14px 0; color: #a9bfb2; }
.footer-contact { display: grid; gap: 8px; font-style: normal; }
.footer-contact > * { display: flex; gap: 10px; color: #c9d8cf; }
.footer-contact .bi { color: var(--arm-yellow); }
.footer-contact a:hover { color: #fff; }
.footer-h { font-family: var(--arm-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; font-weight: 700; margin-bottom: 14px; }
.footer-links li { margin-bottom: 7px; }
.footer-links a { color: #a9bfb2; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: #8ea597; }
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-badges span { background: rgba(255, 255, 255, .08); padding: 4px 10px; border-radius: 6px; color: #d9e6de; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }

/* Listing ---------------------------------------------------------------- */
.cat-hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-radius: 18px; background: color-mix(in srgb, var(--tile) 10%, #fff); border: 1px solid color-mix(in srgb, var(--tile) 18%, #fff); margin: 8px 0 14px; }
.cat-hero .page-title { margin: 0; }
.cat-hero img { width: 96px; height: 96px; object-fit: contain; }
.subcat-scroller { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 12px; margin-bottom: 8px; scrollbar-width: thin; }
.subcat-scroller a { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 104px; padding: 10px 6px; border-radius: 14px; border: 1px solid var(--arm-line); color: var(--arm-ink-2); font-size: .78rem; font-weight: 500; text-align: center; line-height: 1.2; background: #fff; }
.subcat-scroller a img { width: 56px; height: 56px; object-fit: contain; }
.subcat-scroller a:hover, .subcat-scroller a.active { border-color: var(--arm-green-500); color: var(--arm-green); background: var(--arm-green-50); }
.listing-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.filters { position: sticky; top: 140px; }
@media (min-width: 992px) { .filters { max-height: calc(100vh - 160px); overflow-y: auto; scrollbar-width: thin; } .filters .offcanvas-header { display: none; } .filters .offcanvas-body { padding: 0; } }
.filter-head { justify-content: space-between; align-items: center; margin-bottom: 10px; }
.filter-group { padding: 14px 0; border-bottom: 1px solid var(--arm-line); }
.filter-group h3 { font-family: var(--arm-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; color: var(--arm-ink-2); margin-bottom: 10px; }
.filter-list { max-height: 260px; overflow-y: auto; scrollbar-width: thin; }
.filter-list .form-check { margin-bottom: 4px; font-size: .88rem; }
.price-range { display: flex; align-items: center; gap: 6px; font-size: .85rem; }
.price-presets, .pack-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip-btn { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--arm-line); background: #fff; font-size: .8rem; color: var(--arm-ink-2); cursor: pointer; transition: all .15s; }
.chip-btn:hover { border-color: var(--arm-green-500); color: var(--arm-green); }
.btn-check:checked + .chip-btn { background: var(--arm-green); border-color: var(--arm-green); color: #fff; }
.filter-actions { position: sticky; bottom: 0; background: #fff; padding: 14px 0 4px; }
.listing-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.listing-toolbar .form-select { min-width: 190px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.af-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 12px; border-radius: 99px; background: var(--arm-green-50); color: var(--arm-green); font-size: .8rem; font-weight: 500; }
.listing-foot { text-align: center; margin-top: 26px; }
.pager .page-link { border-radius: 9px !important; margin: 0 3px; border: 1px solid var(--arm-line); color: var(--arm-ink-2); min-width: 38px; text-align: center; }
.pager .page-item.active .page-link { background: var(--arm-green); border-color: var(--arm-green); color: #fff; }
[data-listing-results].is-loading { opacity: .5; pointer-events: none; transition: opacity .15s; }
.coupon-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-bottom: 18px; }
.coupon-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px dashed #f0b59c; border-radius: 12px; background: var(--arm-orange-50); }
.coupon-card > .bi { font-size: 1.4rem; color: var(--arm-orange); }
.coupon-card div { display: flex; flex-direction: column; line-height: 1.25; font-size: .82rem; }
.coupon-card strong { font-size: .95rem; letter-spacing: .04em; }

/* Category index page -------------------------------------------------------- */
.dept-blocks { display: grid; gap: 18px; }
.dept-block { border: 1px solid var(--arm-line); border-radius: 18px; overflow: hidden; background: #fff; }
.dept-block-head { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: color-mix(in srgb, var(--tile) 10%, #fff); color: var(--arm-ink); }
.dept-block-head img { width: 72px; height: 72px; object-fit: contain; }
.dept-block-head h2 { font-size: 1.2rem; margin: 0; }
.dept-block-head p { margin: 2px 0 0; font-size: .85rem; color: var(--arm-muted); }
.dept-block-head .bi { font-size: 1.6rem; color: var(--arm-green); }
.dept-block-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; padding: 18px 20px; }
.dept-cat-link { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--arm-ink); margin-bottom: 6px; }
.dept-cat-link img { width: 40px; height: 40px; object-fit: contain; background: var(--arm-bg); border-radius: 10px; }
.dept-cat li a { display: block; padding: 2px 0 2px 50px; font-size: .86rem; color: var(--arm-muted); }
.dept-cat li a:hover { color: var(--arm-green); }

/* Product detail ------------------------------------------------------------ */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 8px; }
.pdp-gallery { position: sticky; top: 140px; align-self: start; display: grid; grid-template-columns: 84px 1fr; gap: 14px; }
.pdp-main-img { grid-column: 2; grid-row: 1; position: relative; border-radius: 20px; background: linear-gradient(180deg, #f5f9f5, #fff); border: 1px solid var(--arm-line); aspect-ratio: 1; display: grid; place-items: center; padding: 24px; overflow: hidden; }
.pdp-main-img img { width: 100%; height: 100%; object-fit: contain; transition: opacity .2s; }
.pdp-thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; }
.pdp-thumbs button { width: 84px; height: 84px; border: 1.5px solid var(--arm-line); border-radius: 12px; background: #fff; padding: 6px; }
.pdp-thumbs button.active, .pdp-thumbs button:hover { border-color: var(--arm-green); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-brand { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; color: var(--arm-orange); }
.pdp-title { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; margin: 6px 0 8px; line-height: 1.2; }
.pdp-meta { display: flex; align-items: center; gap: 8px; color: var(--arm-muted); font-size: .85rem; flex-wrap: wrap; }
.pdp-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: #c4cfc8; }
.pdp-price-box { margin: 18px 0; padding: 16px 18px; border-radius: 14px; background: var(--arm-bg); }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price strong { font-size: 2rem; font-family: var(--arm-head); font-weight: 700; }
.pdp-price del { color: var(--arm-muted); }
.pdp-save { color: var(--arm-green); font-weight: 500; }
.pdp-label { font-family: var(--arm-body); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--arm-ink-2); margin-bottom: 10px; }
.variant-pills { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.variant-pill { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 14px; border: 1.5px solid var(--arm-line); border-radius: 12px; background: #fff; text-align: left; transition: border-color .15s, background .15s; }
.variant-pill strong { font-size: .95rem; }
.variant-pill span { font-size: .85rem; font-weight: 600; }
.variant-pill del { font-weight: 400; color: var(--arm-muted); font-size: .78rem; }
.variant-pill em { font-style: normal; font-size: .72rem; color: var(--arm-red); }
.variant-pill em.off { color: var(--arm-green); }
.variant-pill.active { border-color: var(--arm-green); background: var(--arm-green-50); box-shadow: 0 0 0 3px rgba(31, 107, 69, .1); }
.variant-pill.is-oos { opacity: .65; }
.pdp-stock { margin: 16px 0 10px; font-weight: 500; font-size: .92rem; }
.pdp-actions { display: flex; gap: 12px; align-items: center; }
.qty-lg { justify-content: flex-start; flex: 1; max-width: 340px; }
.btn-add-lg { height: 52px; width: 100%; font-size: 1rem; border-radius: 12px; background: var(--arm-green); color: #fff; }
.btn-add-lg:hover { background: #185638; }
.stepper-lg { height: 52px; border-radius: 12px; width: 100%; justify-content: space-between; }
.stepper-lg button { width: 56px; font-size: 1.2rem; }
.stepper-lg span { font-size: 1.15rem; }
.btn-wish-lg { height: 52px; border-radius: 12px; padding: 0 18px; }
.pdp-delivery { display: flex; gap: 14px; margin-top: 20px; padding: 14px 16px; border: 1px solid var(--arm-line); border-radius: 14px; }
.pdp-delivery > .bi { font-size: 1.6rem; color: var(--arm-green); }
.pdp-delivery div { display: flex; flex-direction: column; align-items: flex-start; font-size: .88rem; gap: 2px; }
.pdp-delivery span { color: var(--arm-muted); }
.pdp-points { margin: 18px 0 0; display: grid; gap: 8px; font-size: .88rem; color: var(--arm-ink-2); }
.pdp-points .bi { color: var(--arm-green); margin-right: 8px; }
.pdp-details { margin-top: 40px; }
.pdp-details .nav { border-bottom: 1px solid var(--arm-line); margin-bottom: 18px; --bs-nav-underline-link-active-color: var(--arm-green); }
.pdp-details .nav-link { color: var(--arm-ink-2); font-weight: 600; }
.spec-table th { width: 220px; color: var(--arm-muted); font-weight: 500; }
.pdp-sticky { position: fixed; left: 0; right: 0; bottom: 56px; z-index: 1034; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #fff; border-top: 1px solid var(--arm-line); box-shadow: 0 -6px 18px rgba(16, 40, 26, .08); transform: translateY(120%); transition: transform .25s; }
.pdp-sticky.is-visible { transform: none; }
.pdp-sticky div { display: flex; flex-direction: column; line-height: 1.2; }
.pdp-sticky strong { font-size: 1.15rem; }
.pdp-sticky small { color: var(--arm-muted); }

/* Cart ------------------------------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.cart-summary { position: sticky; top: 140px; display: grid; gap: 16px; }
.cart-line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto 110px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--arm-line); }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb img { width: 88px; height: 88px; object-fit: contain; background: var(--arm-bg); border-radius: 12px; padding: 6px; }
.cart-name { display: block; font-weight: 600; color: var(--arm-ink); line-height: 1.3; }
.cart-pack { font-size: .82rem; color: var(--arm-muted); }
.cart-unit { font-size: .85rem; margin-top: 4px; }
.cart-unit del { color: var(--arm-muted); }
.cart-qty { display: flex; flex-direction: column; align-items: center; }
.cart-line-total { text-align: right; display: flex; flex-direction: column; }
.cart-line-total del { font-size: .8rem; color: var(--arm-muted); }
.cart-line.is-oos { opacity: .7; }
.bill { margin: 0; display: grid; gap: 10px; font-size: .92rem; }
.bill > div { display: flex; justify-content: space-between; }
.bill dt { font-weight: 400; }
.bill dd { margin: 0; font-weight: 500; }
.bill-total { border-top: 1px dashed var(--arm-line); padding-top: 12px; font-size: 1.1rem; }
.bill-total dt, .bill-total dd { font-weight: 700; }
.savings-banner { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--arm-green-50); color: var(--arm-green); font-size: .88rem; }
.applied-coupon { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--arm-green-50); }
.applied-coupon > .bi { color: var(--arm-green); font-size: 1.2rem; }
.applied-coupon div { display: flex; flex-direction: column; font-size: .82rem; line-height: 1.3; }
.coupon-suggest { display: grid; gap: 8px; margin-top: 12px; }
.coupon-pill { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 8px 12px; border: 1.5px dashed #f0b59c; background: var(--arm-orange-50); border-radius: 10px; font-size: .8rem; }
.coupon-pill strong { letter-spacing: .04em; color: var(--arm-orange-600); }
.free-del-bar { padding: 10px 14px; border-radius: 12px; background: #fff8e5; font-size: .85rem; }
.free-del-bar .progress { height: 6px; margin-top: 6px; background: #f6e7bd; }
.free-del-bar .progress-bar { background: var(--arm-yellow); }
.free-del-bar.is-done { background: var(--arm-green-50); color: var(--arm-green); }

/* Mini cart -------------------------------------------------------------- */
.mini-cart { --bs-offcanvas-width: 420px; }
.mini-cart .offcanvas-body { display: flex; flex-direction: column; }
.mini-cart-wrap { flex: 1; overflow-y: auto; padding: 12px 16px; }
.mini-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--arm-line); }
.mini-item img { width: 64px; height: 64px; object-fit: contain; background: var(--arm-bg); border-radius: 10px; padding: 4px; }
.mini-info { min-width: 0; display: flex; flex-direction: column; }
.mini-name { color: var(--arm-ink); font-size: .88rem; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-pack { font-size: .76rem; color: var(--arm-muted); }
.mini-price { font-size: .88rem; display: flex; gap: 6px; align-items: baseline; }
.mini-price del { color: var(--arm-muted); font-size: .78rem; }
.mini-cart-foot { padding: 16px; border-top: 1px solid var(--arm-line); background: #fbfcfb; }

/* Location modal ---------------------------------------------------------- */
.loc-modal { border-radius: 18px; border: 0; }
.loc-list li button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 12px; border: 0; background: none; border-radius: 10px; text-align: left; font-size: .9rem; }
.loc-list li button:hover { background: var(--arm-green-50); }
.loc-list li button .bi { color: var(--arm-orange); }
.loc-list li button span { color: var(--arm-muted); margin-left: auto; font-size: .82rem; }
.loc-result .alert { margin: 0; font-size: .9rem; }

/* Empty, skeleton, misc ------------------------------------------------------ */
.empty-state { text-align: center; padding: 48px 16px; }
.empty-state img { opacity: .95; }
.error-code { font-family: var(--arm-head); font-size: 5rem; font-weight: 700; color: var(--arm-green-100); line-height: 1; }
.skeleton { background: linear-gradient(90deg, #eef2ef 25%, #f7f9f8 37%, #eef2ef 63%); background-size: 400% 100%; animation: skel 1.3s ease infinite; border-radius: 8px; }
.skel-line { height: 14px; margin-bottom: 10px; }
.skel-card { height: 300px; border-radius: var(--arm-radius); }
@keyframes skel { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.cms-content { line-height: 1.7; color: var(--arm-ink-2); }
.cms-content h2 { font-size: 1.2rem; margin-top: 1.4em; color: var(--arm-ink); }
.contact-list { display: grid; gap: 16px; margin: 16px 0 20px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .bi { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--arm-green-50); color: var(--arm-green); display: grid; place-items: center; font-size: 1.1rem; }
.contact-list div { display: flex; flex-direction: column; }
.faq-acc .accordion-button { font-weight: 600; }
.faq-acc .accordion-button:not(.collapsed) { background: var(--arm-green-50); color: var(--arm-green); }
.toast { border: 0; border-radius: 12px; box-shadow: var(--arm-shadow-lg); }
.toast.toast-ok { background: var(--arm-ink); color: #fff; }
.toast.toast-err { background: var(--arm-red); color: #fff; }
.toast-container { z-index: 1090; margin-bottom: 64px; }
@media (min-width: 992px) { .toast-container { margin-bottom: 0; } }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cart-layout { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 991.98px) {
  .listing-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; top: 0; }
  .pdp { grid-template-columns: 1fr; gap: 20px; }
  .pdp-gallery { position: static; grid-template-columns: 1fr; }
  .pdp-main-img { grid-column: 1; }
  .pdp-thumbs { grid-row: 2; flex-direction: row; overflow-x: auto; }
  .pdp-thumbs button { width: 68px; height: 68px; flex: none; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .promo-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid, .trust-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-box { grid-template-columns: 1fr; padding: 26px; }
  .hero-slide { min-height: 260px; padding: 24px; }
}
@media (max-width: 767.98px) {
  .cat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .cat-tile { padding: 8px 4px 10px; border-radius: 14px; }
  .cat-tile-name { font-size: .72rem; }
  .hero-slide { grid-template-columns: 1fr; text-align: left; padding: 22px 20px 0; min-height: 0; }
  .hero-art { max-height: 170px; justify-self: end; margin-top: -20px; width: 60%; }
  .hero-sub { font-size: .9rem; margin-bottom: 14px; }
  .hero-cta { --bs-btn-padding-y: .45rem; --bs-btn-font-size: .95rem; }
  .hero-swiper .swiper-pagination { bottom: 6px; }
  .hero-art { margin-bottom: 22px; }
  .hero-slide::after { width: 260px; height: 260px; right: -60px; top: auto; bottom: -80px; }
  .promo-grid { grid-template-columns: 1fr; }
  .promo-card { min-height: 140px; }
  .promo-strip { padding: 22px; flex-direction: column; align-items: flex-start; }
  .promo-strip img { max-width: 60%; align-self: flex-end; margin-top: -20px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-rail .swiper-slide { width: 160px; }
  .pcard-body { padding: 8px 10px 10px; }
  .pcard-foot { flex-wrap: wrap; }
  .pcard-foot .qty-ctl { width: 100%; }
  .pcard-foot .btn-add, .pcard-foot .stepper { width: 100%; height: 36px; justify-content: space-between; }
  .pcard-foot .btn-add { justify-content: center; }
  .cart-line { grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "img info" "img qty"; row-gap: 8px; }
  .cart-thumb { grid-row: span 2; } .cart-thumb img { width: 72px; height: 72px; }
  .cart-qty { flex-direction: row; gap: 12px; justify-content: flex-start; }
  .cart-line-total { grid-column: 2; flex-direction: row; gap: 8px; text-align: left; align-items: baseline; }
  .feature-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .trust-grid span { display: none; }
  .listing-toolbar .form-select { min-width: 0; }
  .cat-hero { padding: 14px 16px; }
  .cat-hero img { width: 64px; height: 64px; }
  .spec-table th { width: 40%; }
  .section-head { align-items: center; }
}
@media (max-width: 380px) {
  .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .header-main .cart-btn { padding: 0 10px; }
}

/* ================================================================ Accounts */
.auth-wrap { display: grid; grid-template-columns: 1fr; max-width: 980px; margin: 8px auto 0; border-radius: var(--arm-radius); overflow: hidden; background: #fff; border: 1px solid var(--arm-line); box-shadow: var(--arm-shadow); }
.auth-wrap.auth-narrow { max-width: 480px; }
.auth-wrap.track-wrap { max-width: 640px; background: transparent; border: 0; box-shadow: none; overflow: visible; }
.track-wrap .auth-card { background: #fff; border: 1px solid var(--arm-line); border-radius: var(--arm-radius); box-shadow: var(--arm-shadow-sm); }
@media (min-width: 992px) { .auth-wrap:not(.auth-narrow) { grid-template-columns: 5fr 6fr; } }
.auth-aside { flex-direction: column; justify-content: center; gap: 18px; padding: 40px; background: linear-gradient(160deg, var(--arm-green-50), #fff8ec); }
.auth-aside img { height: auto; }
.auth-aside h2 { font-size: 1.5rem; font-weight: 700; color: var(--arm-green); margin: 0; }
.auth-aside li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; color: var(--arm-ink-2); }
.auth-aside li i { color: var(--arm-orange); font-size: 1.1rem; }
.auth-card { padding: clamp(20px, 4vw, 40px); }

.acct-layout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.acct-layout > * { min-width: 0; }
@media (min-width: 992px) { .acct-layout { grid-template-columns: 260px minmax(0, 1fr); align-items: start; } .acct-nav { position: sticky; top: 140px; } }
.acct-main { min-width: 0; }
.acct-nav { background: #fff; border: 1px solid var(--arm-line); border-radius: var(--arm-radius); padding: 12px; box-shadow: var(--arm-shadow-sm); }
.acct-hello { display: flex; gap: 12px; align-items: center; padding: 8px 8px 14px; border-bottom: 1px solid var(--arm-line); margin-bottom: 8px; min-width: 0; }
.acct-hello > div { min-width: 0; }
.acct-hello strong, .acct-hello small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-hello small { color: var(--arm-muted); }
.acct-avatar { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--arm-green); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; }
.acct-nav nav a, .acct-nav nav button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--arm-ink-2); text-decoration: none; background: none; border: 0; font: inherit; text-align: left; }
.acct-nav nav a:hover, .acct-nav nav button:hover { background: var(--arm-bg); color: var(--arm-green); }
.acct-nav nav a.active { background: var(--arm-green-50); color: var(--arm-green); font-weight: 600; }
.acct-nav nav button { color: var(--arm-red); }
@media (max-width: 991.98px) {
  .acct-nav { padding: 8px; }
  .acct-hello { display: none; }
  .acct-nav nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .acct-nav nav::-webkit-scrollbar { display: none; }
  .acct-nav nav a, .acct-nav nav button { width: auto; white-space: nowrap; padding: 8px 12px; font-size: .9rem; }
}
.acct-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.acct-stat { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: var(--arm-radius); background: #fff; border: 1px solid var(--arm-line); color: inherit; text-decoration: none; box-shadow: var(--arm-shadow-sm); min-width: 0; }
.acct-stat i { font-size: 1.3rem; color: var(--arm-orange); }
.acct-stat strong { font-size: 1.25rem; font-family: var(--arm-head); }
.acct-stat span { color: var(--arm-muted); font-size: .85rem; }
@media (max-width: 575.98px) { .acct-stat { padding: 12px 10px; } .acct-stat strong { font-size: 1.05rem; } }

.status-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.status-info { background: #e7f1fb; color: #1d5a91; }
.status-primary { background: var(--arm-green-50); color: var(--arm-green); }
.status-success { background: #def4e5; color: #17663a; }
.status-warning { background: #fff4d6; color: #8a5a00; }
.status-danger { background: #fde8e6; color: var(--arm-red); }
.status-secondary { background: #eef0ef; color: #4b5563; }

.order-list { display: grid; gap: 12px; }
.order-row { display: block; color: inherit; text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.order-row:hover { border-color: #b9d6c4; box-shadow: var(--arm-shadow); color: inherit; }
.order-row-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.order-row-body { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.order-thumbs { display: flex; gap: 6px; align-items: center; min-width: 0; }
.order-thumbs img { width: 48px; height: 48px; border-radius: 8px; border: 1px solid var(--arm-line); object-fit: contain; background: #fff; }
.order-thumbs .more { font-size: .8rem; color: var(--arm-muted); }
.order-items li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--arm-line); }
.order-items li:last-child { border-bottom: 0; }
.order-items img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; border: 1px solid var(--arm-line); }

.track-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.track-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: .8rem; color: var(--arm-muted); }
.track-steps li::before { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 3px; background: var(--arm-line); z-index: 0; }
.track-steps li:first-child::before { display: none; }
.track-steps li.done::before { background: var(--arm-green-500); }
.track-steps .dot { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--arm-line); color: var(--arm-line); }
.track-steps li.done .dot { background: var(--arm-green); border-color: var(--arm-green); color: #fff; }
.track-steps li.current .dot { box-shadow: 0 0 0 5px var(--arm-green-100); }
.track-steps li.done { color: var(--arm-ink); }
.track-steps .lbl small { display: block; color: var(--arm-muted); font-size: .72rem; }
@media (max-width: 575.98px) {
  .track-steps { grid-template-columns: 1fr; gap: 14px; }
  .track-steps li { flex-direction: row; text-align: left; gap: 12px; }
  .track-steps li::before { top: -14px; left: 14px; width: 3px; height: 14px; }
}
.addr-card.is-default { border-color: #9fcbb0; }

/* ================================================================ Checkout */
.co-progress { list-style: none; padding: 0; margin: 0 0 20px; display: flex; gap: 4px; counter-reset: s; overflow-x: auto; scrollbar-width: none; }
.co-progress::-webkit-scrollbar { display: none; }
.co-progress li { flex: 1 1 0; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--arm-line); font-size: .85rem; color: var(--arm-muted); min-width: max-content; }
.co-progress li span { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; display: grid; place-items: center; background: var(--arm-bg); font-weight: 600; font-size: .78rem; }
.co-progress li em { font-style: normal; }
.co-progress li.done { color: var(--arm-green); }
.co-progress li.done span { background: var(--arm-green); color: #fff; }
.co-progress li.current { border-color: var(--arm-green); color: var(--arm-ink); font-weight: 600; }
.co-progress li.current span { background: var(--arm-orange); color: #fff; }
@media (max-width: 767.98px) { .co-progress li:not(.current) em { display: none; } .co-progress li { flex: 0 0 auto; padding: 8px; min-width: 0; } }
.co-step { margin-bottom: 16px; }
.co-step > header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.co-step > header h2 { font-size: 1.05rem; margin: 0; font-weight: 600; }
.co-num { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; display: grid; place-items: center; background: var(--arm-bg); font-weight: 700; font-size: .85rem; }
.co-step.is-done .co-num { background: var(--arm-green); color: #fff; }
.co-step.is-current .co-num { background: var(--arm-orange); color: #fff; }
.co-step.is-locked { opacity: .6; }
.addr-choices { display: grid; gap: 10px; }
@media (min-width: 768px) { .addr-choices { grid-template-columns: 1fr 1fr; } }
.addr-choice { display: flex; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--arm-line); border-radius: 12px; color: inherit; text-decoration: none; min-width: 0; }
.addr-choice small { display: block; color: var(--arm-muted); }
.addr-choice:hover { border-color: #9fcbb0; color: inherit; }
.addr-choice.selected { border-color: var(--arm-green); background: var(--arm-green-50); }
.addr-choice.disabled { opacity: .65; pointer-events: none; }
.addr-choice .radio { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; border: 2px solid #b8c4bd; }
.addr-choice.selected .radio { border: 5px solid var(--arm-green); }
.slot-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 12px; scrollbar-width: thin; }
.slot-day { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; padding: 8px 16px; border-radius: 10px; border: 1.5px solid var(--arm-line); background: #fff; font-size: .85rem; }
.slot-day small { color: var(--arm-muted); }
.slot-day.active { border-color: var(--arm-green); background: var(--arm-green-50); color: var(--arm-green); }
.slot-day:disabled { opacity: .45; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.slot-opt { display: flex; flex-direction: column; padding: 10px 12px; border: 1.5px solid var(--arm-line); border-radius: 10px; cursor: pointer; font-size: .88rem; margin: 0; }
.slot-opt small { color: var(--arm-muted); }
.slot-opt em { font-style: normal; font-size: .75rem; color: var(--arm-red); }
.btn-check:checked + .slot-opt { border-color: var(--arm-green); background: var(--arm-green-50); box-shadow: inset 0 0 0 1px var(--arm-green); }
.btn-check:disabled + .slot-opt { opacity: .5; cursor: not-allowed; background: var(--arm-bg); }
.btn-check:focus-visible + .slot-opt, .btn-check:focus-visible + .pay-opt { outline: 3px solid rgba(31, 107, 69, .35); outline-offset: 2px; }
.co-items li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--arm-line); }
.co-items li.is-oos { opacity: .55; }
.co-items img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; border: 1px solid var(--arm-line); }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--arm-line); border-radius: 12px; cursor: pointer; margin: 0; }
.pay-opt i { font-size: 1.5rem; color: var(--arm-green); }
.pay-opt small { display: block; color: var(--arm-muted); }
.btn-check:checked + .pay-opt { border-color: var(--arm-green); background: var(--arm-green-50); }
.btn-check:disabled + .pay-opt { opacity: .55; cursor: not-allowed; }
@media (min-width: 992px) { .co-summary { position: sticky; top: 140px; } }
.coupon-applied { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px dashed #9fcbb0; border-radius: 10px; background: var(--arm-green-50); }
.coupon-applied i { color: var(--arm-green); font-size: 1.3rem; }
.coupon-applied small { display: block; color: var(--arm-green); }
.success-card { max-width: 640px; margin: 0 auto; padding: clamp(24px, 5vw, 48px); }
.success-icon { width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--arm-green); color: #fff; font-size: 2.4rem; box-shadow: 0 0 0 10px var(--arm-green-50); }
.success-icon.is-pay { background: var(--arm-orange); box-shadow: 0 0 0 10px var(--arm-orange-50); font-size: 2rem; }
.success-facts { display: grid; gap: 10px; margin: 24px 0; text-align: left; }
@media (min-width: 768px) { .success-facts { grid-template-columns: repeat(3, 1fr); } }
.success-facts > div { padding: 12px; border-radius: 10px; background: var(--arm-bg); }
.success-facts i { color: var(--arm-orange); }
.success-facts span { display: block; font-size: .78rem; color: var(--arm-muted); }
.success-facts strong { font-size: .9rem; }

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