/* ==========================================================================
   LEDProm — redesign
   База: Bootstrap 5.3. Здесь только токены темы и компоненты сайта.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --lp-ink: #121418;
  --lp-text: #2b2f36;
  --lp-muted: #6b7280;
  --lp-line: #e9ebef;
  --lp-soft: #f5f6f8;
  --lp-soft-2: #eef0f3;
  --lp-white: #fff;
  --lp-accent: #ffc23d;
  --lp-accent-hover: #ffb515;
  --lp-accent-soft: #fff5db;
  --lp-success: #16a34a;
  --lp-danger: #e5484d;
  --lp-radius: 16px;
  --lp-radius-sm: 10px;
  --lp-radius-lg: 24px;
  --lp-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
  --lp-shadow-lg: 0 24px 48px -12px rgba(16, 24, 40, .18);
  --lp-header-h: 76px;
  --lp-tabbar-h: 60px;
  --lp-ease: cubic-bezier(.2, .7, .2, 1);

  /* Bootstrap overrides */
  --bs-body-font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-font-size: .9375rem;
  --bs-body-color: var(--lp-text);
  --bs-body-bg: #fff;
  --bs-border-color: var(--lp-line);
  --bs-border-radius: var(--lp-radius-sm);
  --bs-border-radius-lg: var(--lp-radius);
  --bs-link-color: var(--lp-ink);
  --bs-link-color-rgb: 18, 20, 24;
  --bs-link-hover-color: #000;
  --bs-link-hover-color-rgb: 0, 0, 0;
  --bs-heading-color: var(--lp-ink);
  --bs-secondary-color: var(--lp-muted);
  --bs-focus-ring-color: rgba(255, 194, 61, .35);
}

/* ---------- 2. Base ---------- */
.min-w-0 { min-width: 0; }
.ms-n2 { margin-left: -.5rem; }
html { scroll-behavior: smooth; }
body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -.005em;
}
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 { font-weight: 700; letter-spacing: -.02em; }
a { text-decoration: none; transition: color .2s; }
img { max-width: 100%; }
::selection { background: var(--lp-accent-soft); }

.text-muted, .text-secondary { color: var(--lp-muted) !important; }
.fs-7 { font-size: .8125rem !important; }
.fw-semibold { font-weight: 600 !important; }
.bg-soft { background: var(--lp-soft) !important; }
.rounded-lp { border-radius: var(--lp-radius) !important; }
.container { --bs-gutter-x: 2rem; }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

.section { padding: 56px 0; }
.section-sm { padding: 32px 0; }
@media (min-width: 992px) { .section { padding: 80px 0; } }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.75rem;
}
.section-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0; }
.section-sub { color: var(--lp-muted); margin: .375rem 0 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--lp-muted);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--lp-accent); box-shadow: 0 0 0 4px var(--lp-accent-soft);
}
.link-arrow { font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: .375rem; }
.link-arrow i { transition: transform .2s var(--lp-ease); }
.link-arrow:hover i { transform: translateX(3px); }

/* ---------- 3. Buttons & forms ---------- */
.btn {
  --bs-btn-font-weight: 600;
  --bs-btn-padding-x: 1.125rem;
  --bs-btn-padding-y: .625rem;
  --bs-btn-border-radius: 12px;
  --bs-btn-focus-box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color);
  transition: background-color .2s, border-color .2s, color .2s, transform .15s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { --bs-btn-padding-y: .8125rem; --bs-btn-padding-x: 1.5rem; --bs-btn-font-size: 1rem; --bs-btn-border-radius: 14px; }
.btn-sm { --bs-btn-padding-y: .375rem; --bs-btn-padding-x: .75rem; --bs-btn-border-radius: 10px; }

.btn-dark {
  --bs-btn-bg: var(--lp-ink); --bs-btn-border-color: var(--lp-ink);
  --bs-btn-hover-bg: #000; --bs-btn-hover-border-color: #000;
  --bs-btn-active-bg: #000; --bs-btn-active-border-color: #000;
}
.btn-accent {
  --bs-btn-color: var(--lp-ink); --bs-btn-bg: var(--lp-accent); --bs-btn-border-color: var(--lp-accent);
  --bs-btn-hover-color: var(--lp-ink); --bs-btn-hover-bg: var(--lp-accent-hover); --bs-btn-hover-border-color: var(--lp-accent-hover);
  --bs-btn-active-color: var(--lp-ink); --bs-btn-active-bg: var(--lp-accent-hover); --bs-btn-active-border-color: var(--lp-accent-hover);
  --bs-btn-disabled-color: var(--lp-ink); --bs-btn-disabled-bg: var(--lp-accent); --bs-btn-disabled-border-color: var(--lp-accent);
}
.btn-light {
  --bs-btn-bg: var(--lp-soft); --bs-btn-border-color: var(--lp-soft); --bs-btn-color: var(--lp-ink);
  --bs-btn-hover-bg: var(--lp-soft-2); --bs-btn-hover-border-color: var(--lp-soft-2);
  --bs-btn-active-bg: var(--lp-soft-2); --bs-btn-active-border-color: var(--lp-soft-2);
}
.btn-outline-dark {
  --bs-btn-color: var(--lp-ink); --bs-btn-border-color: var(--lp-line);
  --bs-btn-hover-bg: var(--lp-ink); --bs-btn-hover-border-color: var(--lp-ink);
}
.btn-icon {
  --size: 44px;
  width: var(--size); height: var(--size); padding: 0;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.btn-icon.btn-sm { --size: 36px; }

.form-control, .form-select {
  --bs-border-radius: 12px;
  padding: .6875rem 1rem;
  border-color: var(--lp-line);
  transition: border-color .2s, box-shadow .2s;
}
.form-select { padding-right: 2.5rem; background-position: right .875rem center; }
.form-control:focus, .form-select:focus {
  border-color: var(--lp-accent);
  box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color);
}
.form-control::placeholder { color: #a0a6b1; }
.form-label { font-size: .8125rem; font-weight: 600; color: var(--lp-ink); margin-bottom: .375rem; }
.form-check-input { border-color: #cfd4dc; }
.form-check-input:checked { background-color: var(--lp-ink); border-color: var(--lp-ink); }
.form-check-input:focus { border-color: var(--lp-accent); box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color); }
.form-switch .form-check-input:focus { --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e"); }
.was-validated .form-control:invalid, .form-control.is-invalid { border-color: var(--lp-danger); }
.invalid-feedback { font-size: .8125rem; }

/* ---------- 4. Topbar & header ---------- */
.topbar {
  background: var(--lp-soft);
  font-size: .8125rem;
  color: var(--lp-muted);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 1rem; }
.topbar a { color: var(--lp-muted); }
.topbar a:hover { color: var(--lp-ink); }
.topbar-nav { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.lang-switch { display: flex; gap: .25rem; }
.lang-switch a { padding: .125rem .375rem; border-radius: 6px; font-weight: 600; }
.lang-switch a.active { background: #fff; color: var(--lp-ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }

.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--lp-line); box-shadow: 0 6px 24px -18px rgba(16,24,40,.25); }
.header-main { display: flex; align-items: center; gap: 1rem; height: var(--lp-header-h); }
@media (max-width: 991.98px) { :root { --lp-header-h: 64px; } }

.logo { display: inline-flex; align-items: center; gap: .625rem; font-weight: 800; font-size: 1.375rem; letter-spacing: -.03em; color: var(--lp-ink); flex-shrink: 0; }
.logo:hover { color: var(--lp-ink); }
.logo-mark {
  position: relative; width: 36px; height: 36px; border-radius: 11px; background: var(--lp-ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.logo-mark::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  background: var(--lp-accent);
  box-shadow: 0 0 10px 2px rgba(255, 194, 61, .8), 0 0 22px 6px rgba(255, 194, 61, .35);
}
.logo-img { display: block; height: 48px; width: auto; }
@media (max-width: 991.98px) { .logo-img { height: 40px; } }
.logo span b { font-weight: 800; color: var(--lp-muted); font-weight: 600; }

.btn-catalog { display: inline-flex; align-items: center; gap: .5rem; }
.btn-catalog .burger { position: relative; width: 16px; height: 12px; display: inline-block; }
.btn-catalog .burger::before, .btn-catalog .burger::after, .btn-catalog .burger i {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .25s var(--lp-ease), opacity .2s, top .25s var(--lp-ease);
}
.btn-catalog .burger::before { top: 0; }
.btn-catalog .burger i { top: 5px; }
.btn-catalog .burger::after { top: 10px; }
.btn-catalog[aria-expanded="true"] .burger::before { top: 5px; transform: rotate(45deg); }
.btn-catalog[aria-expanded="true"] .burger::after { top: 5px; transform: rotate(-45deg); }
.btn-catalog[aria-expanded="true"] .burger i { opacity: 0; }

/* Search */
.search { position: relative; flex: 1 1 auto; max-width: 560px; }
.search .form-control {
  border-radius: 12px; background: var(--lp-soft); border-color: var(--lp-soft);
  padding-left: 2.75rem; padding-right: 6.5rem; height: 46px;
}
.search .form-control:focus { background: #fff; }
.search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--lp-muted); pointer-events: none; }
.search .btn { position: absolute; right: 4px; top: 4px; bottom: 4px; --bs-btn-padding-y: 0; --bs-btn-border-radius: 9px; }
.search-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20;
  background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow-lg); padding: .5rem; display: none;
}
.search-suggest.show { display: block; animation: fadeUp .2s var(--lp-ease); }
.search-suggest .suggest-label { font-size: .75rem; color: var(--lp-muted); padding: .5rem .75rem .25rem; font-weight: 600; }
.suggest-item { display: flex; align-items: center; gap: .75rem; padding: .5rem .75rem; border-radius: 10px; color: var(--lp-text); }
.suggest-item:hover, .suggest-item.active { background: var(--lp-soft); color: var(--lp-ink); }
.suggest-item img { width: 44px; height: 34px; object-fit: contain; background: var(--lp-soft); border-radius: 8px; }
.suggest-item .price { margin-left: auto; font-weight: 700; color: var(--lp-ink); white-space: nowrap; }
.suggest-item mark { background: var(--lp-accent-soft); padding: 0 2px; border-radius: 3px; }
.suggest-empty { padding: .75rem; color: var(--lp-muted); }

.header-actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.header-phone { display: flex; flex-direction: column; line-height: 1.2; margin-right: .75rem; }
.header-phone a { font-weight: 700; color: var(--lp-ink); white-space: nowrap; }
.header-phone small { color: var(--lp-muted); font-size: .75rem; }
.action-btn {
  position: relative; width: 46px; height: 46px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--lp-ink); background: transparent; border: 0; font-size: 1.25rem;
  transition: background .2s;
}
.action-btn:hover { background: var(--lp-soft); color: var(--lp-ink); }
.count-badge {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--lp-accent); color: var(--lp-ink);
  font-size: .6875rem; font-weight: 800; line-height: 18px; text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.count-badge:empty, .count-badge[data-count="0"] { display: none; }
.count-badge.bump { animation: bump .4s var(--lp-ease); }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--lp-line);
  box-shadow: 0 30px 60px -30px rgba(16, 24, 40, .25);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .25s var(--lp-ease), visibility .2s;
}
.mega.show { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 991.98px) { .mega, .mega-backdrop { display: none; } }
.mega-inner { display: grid; grid-template-columns: 300px 1fr; min-height: 380px; }
.mega-cats { list-style: none; margin: 0; padding: 1.25rem 1rem 1.25rem 0; border-right: 1px solid var(--lp-line); }
.mega-cats a {
  display: flex; align-items: center; gap: .75rem; padding: .625rem .875rem; border-radius: 12px;
  color: var(--lp-text); font-weight: 600;
}
.mega-cats a img { width: 36px; height: 28px; object-fit: contain; }
.mega-cats a .bi-chevron-right { margin-left: auto; font-size: .75rem; color: var(--lp-muted); opacity: 0; transition: opacity .2s; }
.mega-cats li.active a, .mega-cats a:hover { background: var(--lp-soft); color: var(--lp-ink); }
.mega-cats li.active a .bi-chevron-right { opacity: 1; }
.mega-panel { display: none; padding: 1.5rem 0 1.5rem 2rem; }
.mega-panel.active { display: block; animation: fadeIn .2s; }
.mega-panel h6 { font-size: 1.125rem; margin-bottom: 1rem; }
.mega-links { columns: 3; column-gap: 2rem; list-style: none; padding: 0; margin: 0; }
.mega-links li { break-inside: avoid; margin-bottom: .5rem; }
.mega-links a { color: var(--lp-muted); }
.mega-links a:hover { color: var(--lp-ink); }
.mega-promo {
  margin-top: 1.5rem; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem;
  background: var(--lp-accent-soft); border-radius: var(--lp-radius);
}
.mega-backdrop {
  position: fixed; inset: 0; z-index: 1020; background: rgba(15, 23, 42, .25);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.mega-backdrop.show { opacity: 1; visibility: visible; }

/* Mobile menu */
.offcanvas { --bs-offcanvas-width: 360px; border: 0 !important; }
.offcanvas-header { border-bottom: 1px solid var(--lp-line); padding: 1rem 1.25rem; }
.offcanvas-title { font-weight: 700; }
.mobile-nav .accordion-button { font-weight: 600; padding: .875rem 1.25rem; box-shadow: none; gap: .75rem; }
.mobile-nav .accordion-button img { width: 32px; height: 24px; object-fit: contain; }
.mobile-nav .accordion-button:not(.collapsed) { background: var(--lp-soft); color: var(--lp-ink); }
.mobile-nav .accordion-body { padding: .25rem 1.25rem 1rem 4rem; }
.mobile-nav .accordion-body a { display: block; padding: .375rem 0; color: var(--lp-muted); }
.mobile-nav .accordion-item { border-left: 0; border-right: 0; border-radius: 0 !important; }

/* Mobile bottom nav */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--lp-line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a, .tabbar button {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: .5rem 0 .4375rem; font-size: .6875rem; font-weight: 600; color: var(--lp-muted);
  background: none; border: 0;
}
.tabbar i { font-size: 1.25rem; }
.tabbar .active { color: var(--lp-ink); }
.tabbar .count-badge { top: 2px; right: calc(50% - 22px); }
.tabbar { min-height: var(--lp-tabbar-h); }
@media (max-width: 991.98px) { body.has-tabbar { padding-bottom: var(--lp-tabbar-h); } }

/* ---------- 5. Breadcrumbs & page head ---------- */
.breadcrumb { --bs-breadcrumb-divider: "›"; font-size: .8125rem; margin: 0; }
.breadcrumb a { color: var(--lp-muted); }
.breadcrumb a:hover { color: var(--lp-ink); }
.breadcrumb-item.active { color: var(--lp-ink); }
.page-head { padding: 1.5rem 0 1.25rem; }
.page-head h1 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); margin: .75rem 0 0; }

/* ---------- 6. Home: hero ---------- */
.hero { padding-top: 1.25rem; }
.hero-card {
  position: relative; overflow: hidden; border-radius: var(--lp-radius-lg);
  background: radial-gradient(120% 120% at 100% 0%, #fff6dc 0%, #f6f4ee 35%, #f3f4f6 100%);
}
.hero-slide { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; min-height: 460px; padding: 3.5rem 4rem; gap: 2rem; }
.hero-slide h1, .hero-slide h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.375rem); line-height: 1.05; letter-spacing: -.035em; margin: 1rem 0; }
.hero-slide p { font-size: 1.0625rem; color: var(--lp-muted); max-width: 470px; }
.hero-art { position: relative; height: 100%; min-height: 320px; display: flex; align-items: center; justify-content: center; }
.hero-art img { width: 100%; max-width: 560px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.08)); }
.hero-art .float-chip {
  position: absolute; display: flex; align-items: center; gap: .625rem;
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  border-radius: 14px; padding: .625rem .875rem; box-shadow: var(--lp-shadow);
  font-size: .8125rem; font-weight: 600; color: var(--lp-ink);
}
.float-chip i { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--lp-accent-soft); font-size: 1rem; }
.float-chip small { display: block; color: var(--lp-muted); font-weight: 500; font-size: .75rem; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.25rem; }
.hero-stats strong { display: block; font-size: 1.5rem; color: var(--lp-ink); letter-spacing: -.02em; }
.hero-stats span { font-size: .8125rem; color: var(--lp-muted); }
.hero-card .swiper-pagination { left: 4rem !important; bottom: 1.75rem !important; width: auto !important; text-align: left; }
.swiper-pagination-bullet { width: 8px; height: 8px; background: var(--lp-ink); opacity: .18; transition: width .3s var(--lp-ease), opacity .3s; border-radius: 4px; }
.swiper-pagination-bullet-active { width: 28px; opacity: 1; background: var(--lp-ink); }
@media (max-width: 991.98px) {
  .hero-slide { grid-template-columns: 1fr; padding: 2rem 1.5rem 3.5rem; min-height: 0; text-align: left; }
  .hero-art { min-height: 0; order: -1; margin: -1rem 0 -.5rem; }
  .hero-art img { max-width: 340px; }
  .hero-art .float-chip { display: none; }
  .hero-card .swiper-pagination { left: 1.5rem !important; bottom: 1.25rem !important; }
  .hero-stats { gap: 1.25rem; }
}

/* ---------- 7. Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cat-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 210px; padding: 1.25rem 1.25rem 0; overflow: hidden;
  background: var(--lp-soft); border-radius: var(--lp-radius); color: var(--lp-ink);
  transition: background .25s, transform .25s var(--lp-ease);
}
.cat-card:hover { background: var(--lp-soft-2); color: var(--lp-ink); transform: translateY(-2px); }
.cat-card h3 { font-size: 1.0625rem; margin: 0 0 .25rem; }
.cat-card small { color: var(--lp-muted); }
.cat-card img { align-self: flex-end; width: 78%; margin-top: .5rem; margin-right: -8%; transition: transform .4s var(--lp-ease); }
.cat-card:hover img { transform: scale(1.04) translateX(-2%); }
.cat-card .arrow {
  position: absolute; top: 1rem; right: 1rem; width: 32px; height: 32px; border-radius: 50%;
  background: #fff; display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateX(-6px); transition: .25s var(--lp-ease);
}
.cat-card:hover .arrow { opacity: 1; transform: none; }
.cat-card.is-wide { grid-column: span 2; flex-direction: row; align-items: center; }
.cat-card.is-wide img { width: 52%; margin: 0 -4% 0 0; }
@media (max-width: 991.98px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } .cat-card.is-wide { grid-column: span 3; } }
@media (max-width: 575.98px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .cat-card { min-height: 170px; padding: 1rem 1rem 0; }
  .cat-card h3 { font-size: .9375rem; }
  .cat-card.is-wide { grid-column: span 2; }
}

/* ---------- 8. Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--lp-accent-soft); color: var(--lp-ink); font-size: 1.25rem;
}
.feature h3 { font-size: .9375rem; margin: 0 0 .25rem; }
.feature p { margin: 0; color: var(--lp-muted); font-size: .8125rem; }
@media (max-width: 991.98px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .features { grid-template-columns: 1fr; } }

/* ---------- 9. Product card ---------- */
.product-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius);
  transition: box-shadow .25s, border-color .25s, transform .25s var(--lp-ease);
}
.product-card:hover { border-color: transparent; box-shadow: var(--lp-shadow-lg); transform: translateY(-2px); }
.product-media {
  position: relative; display: block; aspect-ratio: 4 / 3; margin: 6px 6px 0;
  background: var(--lp-soft); border-radius: 12px; overflow: hidden;
}
.product-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .5s var(--lp-ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.badge-lp {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 6px;
  font-size: .6875rem; font-weight: 700; letter-spacing: .01em; line-height: 1.4;
  background: #fff; color: var(--lp-ink);
}
.badge-lp.is-hit { background: var(--lp-ink); color: #fff; }
.badge-lp.is-sale { background: var(--lp-danger); color: #fff; }
.badge-lp.is-new { background: var(--lp-accent); }
.fav-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.9); color: var(--lp-ink);
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.9); transition: .2s var(--lp-ease);
}
.product-card:hover .fav-btn, .fav-btn.active { opacity: 1; transform: none; }
.fav-btn.active { color: var(--lp-danger); }
.js-fav.active .bi-heart::before { content: "\f415"; } /* bi-heart-fill */
.btn.js-fav.active { color: var(--lp-danger); }
@media (hover: none) { .fav-btn { opacity: 1; transform: none; } }

.product-body { display: flex; flex-direction: column; flex: 1; padding: .875rem 1rem 1rem; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .75rem; color: var(--lp-muted); margin-bottom: .375rem; }
.product-title {
  font-size: .9375rem; font-weight: 600; line-height: 1.35; color: var(--lp-ink); margin: 0 0 .625rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em;
}
.product-title a { color: inherit; }
.product-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-specs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: .875rem; }
.product-specs span { font-size: .6875rem; font-weight: 600; color: var(--lp-muted); background: var(--lp-soft); padding: 2px 7px; border-radius: 6px; }
.product-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; margin-top: auto; }
.price { font-weight: 800; font-size: 1.1875rem; color: var(--lp-ink); letter-spacing: -.02em; white-space: nowrap; }
.price small { font-size: .75rem; font-weight: 600; color: var(--lp-muted); letter-spacing: 0; }
.price-old { display: block; font-size: .8125rem; color: var(--lp-muted); text-decoration: line-through; font-weight: 500; }
.price.is-sale { color: var(--lp-danger); }
.stock { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 600; color: var(--lp-success); }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stock.is-order { color: #d97706; }
.stock.is-out { color: var(--lp-muted); }
.cart-btn { position: relative; z-index: 2; }
.cart-btn.in-cart { --bs-btn-bg: var(--lp-accent); --bs-btn-border-color: var(--lp-accent); --bs-btn-color: var(--lp-ink); --bs-btn-hover-bg: var(--lp-accent-hover); --bs-btn-hover-border-color: var(--lp-accent-hover); --bs-btn-hover-color: var(--lp-ink); }
.cart-btn.in-cart .bi-bag::before { content: "\f26e"; } /* bi-check2 */
.product-card .rating { position: relative; z-index: 2; }

/* list view */
.products-grid.is-list > [class*="col"] { width: 100%; }
.products-grid.is-list .product-card { flex-direction: row; }
.products-grid.is-list .product-media { width: 240px; flex-shrink: 0; margin: 6px; aspect-ratio: 4/3; }
.products-grid.is-list .product-body { padding: 1.25rem 1.25rem 1.25rem .5rem; }
.products-grid.is-list .product-title { -webkit-line-clamp: 1; min-height: 0; font-size: 1.0625rem; }
.products-grid.is-list .product-desc { display: block !important; }
@media (max-width: 575.98px) {
  .products-grid.is-list .product-media { width: 120px; }
  .products-grid.is-list .product-desc { display: none !important; }
  .products-grid.is-list .product-title { -webkit-line-clamp: 2; font-size: .875rem; }
}
@media (max-width: 575.98px) {
  .product-body { padding: .75rem .75rem .875rem; }
  .product-title { font-size: .8125rem; }
  .price { font-size: 1rem; }
  .product-specs span:nth-child(n+3) { display: none; }
}

.rating { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; color: var(--lp-muted); }
.rating i { color: var(--lp-accent-hover); }
.stars { display: inline-flex; gap: 1px; color: var(--lp-accent-hover); }

/* product carousels */
.swiper-nav { display: flex; gap: .5rem; }
.swiper-nav .btn { --bs-btn-border-radius: 50%; }
.swiper-nav .btn.swiper-button-disabled { opacity: .35; pointer-events: none; }
.products-swiper { padding: 4px 4px 28px; margin: -4px -4px -28px; }
.products-swiper .swiper-slide { height: auto; }

/* ---------- 10. Calculator / promo ---------- */
.calc-card {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: center;
  background: var(--lp-ink); color: #fff; border-radius: var(--lp-radius-lg); padding: 3rem; position: relative; overflow: hidden;
}
.calc-card::before {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; left: -160px; bottom: -280px;
  background: radial-gradient(closest-side, rgba(255,194,61,.35), transparent);
}
.calc-card h2 { color: #fff; font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.375rem); line-height: 1.1; }
.calc-card p { color: rgba(255,255,255,.65); }
.calc-card .eyebrow { color: rgba(255,255,255,.6); }
.calc-card .eyebrow::before { box-shadow: 0 0 0 4px rgba(255,194,61,.2); }
.calc-form { position: relative; background: #fff; color: var(--lp-text); border-radius: var(--lp-radius); padding: 1.5rem; }
.calc-result { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; background: var(--lp-soft); border-radius: 12px; margin-top: 1rem; }
.calc-result strong { font-size: 1.5rem; color: var(--lp-ink); letter-spacing: -.02em; }
.calc-result small { color: var(--lp-muted); display: block; font-size: .75rem; }
@media (max-width: 991.98px) { .calc-card { grid-template-columns: 1fr; padding: 2rem 1.25rem; } }

.seg { display: inline-flex; background: var(--lp-soft); border-radius: 12px; padding: 4px; gap: 2px; width: 100%; }
.seg input { display: none; }
.seg label {
  flex: 1; text-align: center; padding: .5rem .625rem; border-radius: 9px; font-weight: 600; font-size: .875rem;
  cursor: pointer; color: var(--lp-muted); transition: background .2s, color .2s, box-shadow .2s;
}
.seg input:checked + label { background: #fff; color: var(--lp-ink); box-shadow: 0 1px 3px rgba(16,24,40,.1); }

/* ---------- 11. Brands, news, about ---------- */
.brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.brand {
  display: flex; align-items: center; justify-content: center; height: 84px; border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius); font-weight: 800; font-size: 1.125rem; letter-spacing: -.02em; color: #9aa1ad;
  transition: color .2s, border-color .2s;
}
.brand:hover { color: var(--lp-ink); border-color: #d6dae1; }
@media (max-width: 767.98px) { .brands { grid-template-columns: repeat(3, 1fr); } .brand { height: 64px; font-size: 1rem; } }

.news-card { display: block; color: var(--lp-text); }
.news-card .news-img { aspect-ratio: 16 / 9; border-radius: var(--lp-radius); background: var(--lp-soft); overflow: hidden; margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; }
.news-card .news-img img { width: 80%; transition: transform .5s var(--lp-ease); }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-card time { font-size: .8125rem; color: var(--lp-muted); }
.news-card h3 { font-size: 1.0625rem; margin: .375rem 0 0; line-height: 1.35; color: var(--lp-ink); }
.news-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.about-text { color: var(--lp-muted); }
.about-text h2 { color: var(--lp-ink); }
.about-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-numbers div { padding: 1.5rem; background: var(--lp-soft); border-radius: var(--lp-radius); }
.about-numbers strong { display: block; font-size: 2rem; color: var(--lp-ink); letter-spacing: -.03em; line-height: 1.1; }
.about-numbers span { font-size: .875rem; color: var(--lp-muted); }
@media (max-width: 991.98px) { .about { grid-template-columns: 1fr; gap: 2rem; } }

.seo-text { color: var(--lp-muted); font-size: .875rem; }
.seo-text h2 { font-size: 1.25rem; color: var(--lp-ink); }
.seo-text.is-collapsed { max-height: 120px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }

/* ---------- 12. Subscribe & footer ---------- */
.subscribe {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 2rem 2.5rem; background: var(--lp-accent-soft); border-radius: var(--lp-radius-lg);
}
.subscribe h2 { font-size: 1.5rem; margin: 0 0 .25rem; }
.subscribe p { margin: 0; color: var(--lp-muted); }
.subscribe form { display: flex; gap: .5rem; flex: 0 1 460px; }
.subscribe .form-control { background: #fff; border-color: #fff; }
@media (max-width: 991.98px) { .subscribe { flex-direction: column; align-items: stretch; padding: 1.5rem; } .subscribe form { flex-basis: auto; } }

.site-footer { background: var(--lp-soft); padding: 4rem 0 1.5rem; margin-top: 4rem; font-size: .875rem; }
.site-footer h4 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--lp-muted); margin-bottom: 1rem; font-weight: 700; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li + li { margin-top: .625rem; }
.footer-links a { color: var(--lp-text); }
.footer-links a:hover { color: var(--lp-ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-contacts a { font-weight: 700; font-size: 1.0625rem; color: var(--lp-ink); display: block; }
.footer-contacts li + li { margin-top: .375rem; }
.socials { display: flex; gap: .5rem; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--lp-ink); font-size: 1.125rem; transition: background .2s, color .2s; }
.socials a:hover { background: var(--lp-ink); color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid #e3e6eb; margin-top: 3rem; padding-top: 1.5rem; color: var(--lp-muted); font-size: .8125rem; }
.pay-icons { display: flex; gap: .5rem; }
.pay-icons span { padding: .25rem .625rem; background: #fff; border-radius: 6px; font-weight: 800; font-size: .75rem; color: var(--lp-ink); letter-spacing: .02em; }

/* ---------- 13. Catalog ---------- */
.subcats { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.subcats::-webkit-scrollbar { display: none; }
.subcat {
  display: inline-flex; align-items: center; gap: .5rem; padding: .375rem .875rem .375rem .375rem; flex-shrink: 0;
  border: 1px solid var(--lp-line); border-radius: 12px; font-weight: 600; font-size: .875rem; color: var(--lp-text); background: #fff;
  transition: border-color .2s, background .2s;
}
.subcat img { width: 40px; height: 30px; object-fit: contain; background: var(--lp-soft); border-radius: 8px; }
.subcat small { color: var(--lp-muted); font-weight: 500; }
.subcat:hover { border-color: #cfd4dc; color: var(--lp-ink); }
.subcat.active { border-color: var(--lp-ink); color: var(--lp-ink); }

.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
@media (max-width: 991.98px) { .catalog-layout { grid-template-columns: 1fr; } }
@media (min-width: 992px) {
  .filters { position: sticky; top: calc(var(--lp-header-h) + 16px); }
  .filters.offcanvas-lg { max-height: calc(100vh - var(--lp-header-h) - 32px); overflow-y: auto; scrollbar-width: thin; padding-right: 6px; }
}
.filter-group { border-bottom: 1px solid var(--lp-line); padding: 1rem 0; }
.filter-group:first-child { padding-top: 0; }
.filter-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: 0; padding: 0; font-weight: 700; color: var(--lp-ink); font-size: .9375rem;
}
.filter-toggle i { transition: transform .25s var(--lp-ease); font-size: .75rem; }
.filter-toggle.collapsed i { transform: rotate(-90deg); }
.filter-body { padding-top: .875rem; }
.filter-body .form-check { display: flex; align-items: center; gap: .625rem; padding-left: 0; margin-bottom: .5rem; min-height: 0; }
.filter-body .form-check-input { margin: 0; float: none; width: 1.125rem; height: 1.125rem; border-radius: 5px; flex-shrink: 0; }
.filter-body .form-check-label { flex: 1; display: flex; justify-content: space-between; cursor: pointer; font-size: .875rem; }
.filter-body .form-check-label small { color: var(--lp-muted); }
.filter-body .form-check.is-disabled { opacity: .45; }
.price-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; align-items: center; margin-bottom: 1.25rem; }
.price-inputs .form-control { padding: .5rem .75rem; font-size: .875rem; text-align: center; }
.swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.swatch input { display: none; }
.swatch label {
  display: inline-flex; align-items: center; gap: .375rem; padding: .3125rem .625rem; border: 1px solid var(--lp-line); border-radius: 999px;
  font-size: .8125rem; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s;
}
.swatch label i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,.08); }
.swatch input:checked + label { border-color: var(--lp-ink); background: var(--lp-soft); }

/* noUiSlider theme */
.noUi-target { background: var(--lp-soft-2); border: 0; box-shadow: none; height: 4px; margin: 0 9px; }
.noUi-connect { background: var(--lp-ink); }
.noUi-horizontal .noUi-handle {
  width: 20px; height: 20px; right: -10px; top: -8px; border-radius: 50%;
  border: 2px solid var(--lp-ink); background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.12); cursor: grab;
}
.noUi-handle::before, .noUi-handle::after { display: none; }
.noUi-handle:focus-visible { outline: 0; box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color); }

.toolbar { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.toolbar .form-select { width: auto; padding-top: .5rem; padding-bottom: .5rem; padding-right: 2.5rem; font-size: .875rem; font-weight: 600; border-color: var(--lp-line); }
.view-toggle { display: inline-flex; background: var(--lp-soft); padding: 3px; border-radius: 11px; }
.view-toggle button { width: 36px; height: 34px; border: 0; background: none; border-radius: 9px; color: var(--lp-muted); }
.view-toggle button.active { background: #fff; color: var(--lp-ink); box-shadow: 0 1px 3px rgba(16,24,40,.1); }
.active-filters { display: flex; flex-wrap: wrap; gap: .375rem; margin-bottom: 1rem; }
.active-filters:empty { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: .375rem; padding: .3125rem .5rem .3125rem .75rem;
  background: var(--lp-soft); border: 0; border-radius: 999px; font-size: .8125rem; font-weight: 600; color: var(--lp-ink);
}
.chip i { font-size: .75rem; width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.chip:hover i { background: #fff; }
.chip.is-reset { background: none; color: var(--lp-muted); text-decoration: underline; text-underline-offset: 3px; }

.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state .icon { width: 72px; height: 72px; border-radius: 50%; background: var(--lp-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 1.75rem; margin-bottom: 1rem; }

.pagination { --bs-pagination-border-width: 0; --bs-pagination-color: var(--lp-text); --bs-pagination-hover-bg: var(--lp-soft); --bs-pagination-hover-color: var(--lp-ink); --bs-pagination-active-bg: var(--lp-ink); --bs-pagination-focus-box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color); gap: .25rem; }
.pagination .page-link { border-radius: 10px !important; min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }

/* ---------- 14. Product page ---------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
@media (max-width: 991.98px) { .product-layout { grid-template-columns: 1fr; gap: 1.5rem; } }
.gallery { position: sticky; top: calc(var(--lp-header-h) + 16px); display: grid; grid-template-columns: 76px 1fr; gap: .75rem; }
.gallery-main { background: var(--lp-soft); border-radius: var(--lp-radius-lg); overflow: hidden; aspect-ratio: 1 / 1; position: relative; width: 100%; min-width: 0; }
.gallery-main .swiper, .gallery-main .swiper-wrapper, .gallery-main .swiper-slide { height: 100%; }
.gallery-main .swiper-slide { display: flex; align-items: center; justify-content: center; cursor: zoom-in; }
.gallery-main img { width: 88%; height: 88%; object-fit: contain; }
.gallery-main .product-badges { top: 1rem; left: 1rem; }
.gallery-main .swiper-pagination { display: none; }
.gallery-thumbs { min-width: 0; }
.gallery-thumbs .swiper-slide {
  height: 76px !important; border-radius: 12px; background: var(--lp-soft); cursor: pointer; border: 2px solid transparent;
  display: flex; align-items: center; justify-content: center; opacity: .65; transition: opacity .2s, border-color .2s;
}
.gallery-thumbs .swiper-slide img { width: 85%; height: 85%; object-fit: contain; }
.gallery-thumbs .swiper-slide-thumb-active { border-color: var(--lp-ink); opacity: 1; }
.gallery-zoom { position: absolute; right: 1rem; bottom: 1rem; z-index: 3; }
@media (max-width: 991.98px) {
  .gallery { position: static; grid-template-columns: 1fr; }
  .gallery-thumbs { display: none; }
  .gallery-main { border-radius: var(--lp-radius); aspect-ratio: 4 / 3; }
  .gallery-main .swiper-pagination { display: block; }
}

.product-info h1 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.2; margin: .75rem 0 .75rem; }
.product-top { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; font-size: .8125rem; color: var(--lp-muted); }
.product-top a { color: var(--lp-muted); text-decoration: underline; text-underline-offset: 3px; }
.copy-sku { background: none; border: 0; padding: 0; color: var(--lp-muted); }
.copy-sku:hover { color: var(--lp-ink); }

.buy-box { border: 1px solid var(--lp-line); border-radius: var(--lp-radius-lg); padding: 1.5rem; margin-top: 1.5rem; }
.buy-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .75rem; }
.buy-price .price { font-size: 2.125rem; }
.buy-price .unit { color: var(--lp-muted); font-weight: 600; }
.buy-price .save { padding: 2px 8px; border-radius: 6px; background: #fdecec; color: var(--lp-danger); font-weight: 700; font-size: .8125rem; }
.wholesale { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 1rem; }
.wholesale div { padding: .5rem .75rem; background: var(--lp-soft); border-radius: 10px; font-size: .75rem; color: var(--lp-muted); transition: background .2s; }
.wholesale div strong { display: block; color: var(--lp-ink); font-size: .9375rem; }
.wholesale div.active { background: var(--lp-accent-soft); }

.option-group { margin-top: 1.25rem; }
.option-group .option-label { font-size: .8125rem; font-weight: 600; color: var(--lp-muted); margin-bottom: .5rem; }
.option-group .option-label b { color: var(--lp-ink); }
.options { display: flex; flex-wrap: wrap; gap: .5rem; }
.option input { display: none; }
.option label {
  display: inline-flex; align-items: center; gap: .5rem; min-width: 64px; justify-content: center;
  padding: .5rem .875rem; border: 1.5px solid var(--lp-line); border-radius: 12px; cursor: pointer;
  font-weight: 600; font-size: .875rem; transition: border-color .2s, background .2s;
}
.option label:hover { border-color: #cfd4dc; }
.option input:checked + label { border-color: var(--lp-ink); background: var(--lp-soft); }
.option label i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.option input:disabled + label { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

.qty { display: inline-flex; align-items: center; background: var(--lp-soft); border-radius: 12px; height: 48px; }
.qty button { width: 40px; height: 100%; border: 0; background: none; color: var(--lp-ink); font-size: 1.125rem; border-radius: 12px; }
.qty button:hover { background: var(--lp-soft-2); }
.qty button:disabled { color: #c5cad3; background: none; }
.qty input { width: 48px; border: 0; background: none; text-align: center; font-weight: 700; color: var(--lp-ink); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty.qty-sm { height: 38px; border-radius: 10px; }
.qty.qty-sm button { width: 32px; font-size: 1rem; }
.qty.qty-sm input { width: 36px; font-size: .875rem; }

.buy-actions { display: flex; gap: .5rem; margin-top: 1.25rem; }
.buy-actions .btn-add { flex: 1; height: 48px; }
.buy-actions .btn-icon { --size: 48px; }

.info-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .75rem; }
.info-list li { display: flex; gap: .875rem; align-items: flex-start; font-size: .875rem; }
.info-list i { width: 36px; height: 36px; border-radius: 10px; background: var(--lp-soft); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--lp-ink); }
.info-list strong { display: block; color: var(--lp-ink); font-weight: 600; }
.info-list span { color: var(--lp-muted); font-size: .8125rem; }

.key-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin-top: 1.25rem; }
.key-specs div { padding: .75rem .875rem; border-radius: 12px; background: var(--lp-soft); }
.key-specs small { display: block; font-size: .75rem; color: var(--lp-muted); }
.key-specs strong { color: var(--lp-ink); font-size: .9375rem; }

.product-tabs { border-bottom: 1px solid var(--lp-line); gap: 1.75rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.product-tabs::-webkit-scrollbar { display: none; }
.product-tabs .nav-link {
  padding: 1rem 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; margin-bottom: -1px;
  color: var(--lp-muted); font-weight: 600; white-space: nowrap; background: none;
}
.product-tabs .nav-link:hover { color: var(--lp-ink); }
.product-tabs .nav-link.active { color: var(--lp-ink); border-bottom-color: var(--lp-ink); }
.product-tabs .nav-link sup { font-size: .6875rem; color: var(--lp-muted); margin-left: 2px; }
.tab-content { padding-top: 2rem; }
.prose { max-width: 760px; color: var(--lp-text); line-height: 1.7; }
.prose h3 { font-size: 1.125rem; margin: 1.75rem 0 .75rem; }
.prose ul { padding-left: 1.125rem; }
.prose li { margin-bottom: .375rem; }
.spec-table { width: 100%; max-width: 760px; font-size: .9375rem; }
.spec-table th, .spec-table td { padding: .75rem 0; border-bottom: 1px dashed var(--lp-line); vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--lp-muted); width: 45%; padding-right: 1rem; }
.spec-table td { color: var(--lp-ink); font-weight: 600; }
.spec-table tr.group th { padding-top: 1.75rem; color: var(--lp-ink); font-weight: 700; font-size: 1rem; border-bottom: 0; }

.review { padding: 1.5rem 0; border-bottom: 1px solid var(--lp-line); }
.review-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--lp-accent-soft); color: var(--lp-ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.rating-summary { padding: 1.5rem; background: var(--lp-soft); border-radius: var(--lp-radius); }
.rating-summary .big { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; color: var(--lp-ink); line-height: 1; }
.rating-bar { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--lp-muted); margin-top: .375rem; }
.rating-bar .progress { flex: 1; height: 6px; --bs-progress-bg: #e4e7ec; --bs-progress-bar-bg: var(--lp-accent-hover); }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { display: none; }
.star-input label { font-size: 1.5rem; color: #d7dbe2; cursor: pointer; transition: color .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--lp-accent-hover); }

.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1034;
  display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--lp-line);
  transform: translateY(110%); transition: transform .3s var(--lp-ease);
}
.sticky-buy.show { transform: none; }
.sticky-buy .price { font-size: 1.25rem; }
.sticky-buy .btn { flex: 1; }
@media (max-width: 991.98px) {
  body.has-sticky-buy { padding-bottom: calc(var(--lp-tabbar-h) + 76px); }
  body.has-tabbar .sticky-buy { bottom: var(--lp-tabbar-h); padding-bottom: .75rem; }
}

/* zoom modal */
.zoom-modal .modal-content { background: #fff; border: 0; border-radius: var(--lp-radius-lg); }
.zoom-modal img { width: 100%; max-height: 80vh; object-fit: contain; }

/* ---------- 15. Cart & checkout ---------- */
.steps { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0; font-size: .8125rem; font-weight: 600; color: var(--lp-muted); flex-wrap: wrap; }
.steps li { display: inline-flex; align-items: center; gap: .5rem; }
.steps li + li::before { content: ""; width: 28px; height: 1px; background: var(--lp-line); margin-right: .25rem; }
.steps .num { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--lp-line); display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; }
.steps .active { color: var(--lp-ink); }
.steps .active .num { background: var(--lp-ink); border-color: var(--lp-ink); color: #fff; }
.steps .done .num { background: var(--lp-accent); border-color: var(--lp-accent); color: var(--lp-ink); }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 2rem; align-items: start; }
@media (max-width: 1199.98px) { .checkout-layout { grid-template-columns: minmax(0, 1fr) 360px; } }
@media (max-width: 991.98px) { .checkout-layout { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--lp-line); border-radius: var(--lp-radius-lg); padding: 1.5rem; }
.panel + .panel { margin-top: 1rem; }
.panel-title { display: flex; align-items: center; gap: .75rem; font-size: 1.125rem; margin-bottom: 1.25rem; }
.panel-title .num { width: 28px; height: 28px; border-radius: 50%; background: var(--lp-ink); color: #fff; font-size: .8125rem; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 575.98px) { .panel { padding: 1.125rem; border-radius: var(--lp-radius); } }

.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--lp-line); }
.cart-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto 40px; gap: 1.25rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--lp-line); }
.cart-item:last-child { border-bottom: 0; padding-bottom: 0; }
.cart-item .thumb { width: 96px; height: 76px; border-radius: 12px; background: var(--lp-soft); display: flex; align-items: center; justify-content: center; }
.cart-item .thumb img { width: 88%; height: 88%; object-fit: contain; }
.cart-item .title { font-weight: 600; color: var(--lp-ink); line-height: 1.35; display: block; }
.cart-item .title:hover { text-decoration: underline; text-underline-offset: 3px; }
.cart-item .meta { font-size: .75rem; color: var(--lp-muted); margin-top: .25rem; }
.cart-item .line-total { min-width: 110px; text-align: right; }
.cart-item .line-total .price { font-size: 1.0625rem; }
.cart-item .unit-price { font-size: .75rem; color: var(--lp-muted); display: block; }
.cart-item.is-removing { animation: collapse .35s var(--lp-ease) forwards; }
.remove-btn { width: 36px; height: 36px; border-radius: 10px; border: 0; background: none; color: var(--lp-muted); }
.remove-btn:hover { background: #fdecec; color: var(--lp-danger); }
@media (max-width: 767.98px) {
  .cart-item { grid-template-columns: 76px minmax(0, 1fr) auto; grid-template-areas: "thumb info rm" "thumb qty total"; gap: .5rem .875rem; align-items: start; }
  .cart-item .thumb { grid-area: thumb; width: 76px; height: 64px; }
  .cart-item .info { grid-area: info; }
  .cart-item .qty { grid-area: qty; justify-self: start; }
  .cart-item .line-total { grid-area: total; min-width: 0; align-self: center; }
  .cart-item .remove-btn { grid-area: rm; justify-self: end; margin-top: -6px; margin-right: -6px; }
}

.choice-cards { display: grid; gap: .625rem; }
.choice-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.choice-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 575.98px) { .choice-cards.cols-2 { grid-template-columns: 1fr; } }
@media (max-width: 767.98px) { .choice-cards.cols-3 { grid-template-columns: 1fr; } }
.choice input { display: none; }
.choice label {
  display: flex; align-items: flex-start; gap: .75rem; height: 100%; padding: 1rem; cursor: pointer;
  border: 1.5px solid var(--lp-line); border-radius: 14px; transition: border-color .2s, background .2s;
}
.choice label:hover { border-color: #cfd4dc; }
.choice input:checked + label { border-color: var(--lp-ink); background: var(--lp-soft); }
.choice .dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #cfd4dc; flex-shrink: 0; margin-top: 2px; position: relative; background: #fff; }
.choice input:checked + label .dot { border-color: var(--lp-ink); }
.choice input:checked + label .dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--lp-ink); }
.choice strong { display: block; color: var(--lp-ink); font-size: .9375rem; }
.choice small { display: block; color: var(--lp-muted); font-size: .8125rem; margin-top: 2px; }
.choice .tag { margin-left: auto; font-weight: 700; font-size: .8125rem; color: var(--lp-ink); white-space: nowrap; }
.delivery-fields { display: none; padding-top: 1rem; }
.delivery-fields.show { display: block; animation: fadeUp .25s var(--lp-ease); }

.summary { position: sticky; top: calc(var(--lp-header-h) + 16px); }
.summary-card { background: var(--lp-soft); border-radius: var(--lp-radius-lg); padding: 1.5rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; font-size: .9375rem; padding: .375rem 0; }
.summary-row span:first-child { color: var(--lp-muted); }
.summary-row strong { color: var(--lp-ink); }
.summary-row.discount strong { color: var(--lp-success); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #e1e4e9; margin-top: .75rem; padding-top: 1rem; }
.summary-total .price { font-size: 1.75rem; }
.free-ship { margin: 1rem 0; font-size: .8125rem; color: var(--lp-muted); }
.free-ship .progress { height: 6px; margin-top: .5rem; --bs-progress-bg: #e4e7ec; --bs-progress-bar-bg: var(--lp-success); --bs-progress-bar-transition: width .4s var(--lp-ease); }
.promo { display: flex; gap: .5rem; }
.promo .form-control { background: #fff; }
.mini-items { display: grid; gap: .75rem; margin: 0 -6px 1rem; padding: 8px 6px 2px; max-height: 236px; overflow-y: auto; }
.mini-item { display: flex; align-items: center; gap: .75rem; font-size: .8125rem; }
.mini-item .thumb { position: relative; width: 52px; height: 42px; background: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mini-item .thumb img { width: 88%; height: 88%; object-fit: contain; }
.mini-item .thumb b { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--lp-ink); color: #fff; font-size: .6875rem; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
.mini-item .name { flex: 1; color: var(--lp-text); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-item .price { font-size: .875rem; }
.secure-note { display: flex; gap: .5rem; align-items: center; justify-content: center; font-size: .75rem; color: var(--lp-muted); margin-top: 1rem; }

/* Offcanvas mini-cart */
.offcanvas-cart .offcanvas-body { display: flex; flex-direction: column; padding: 0; }
.offcanvas-cart .oc-items { flex: 1; overflow-y: auto; padding: .5rem 1.25rem; }
.offcanvas-cart .oc-item { display: flex; gap: .875rem; padding: 1rem 0; border-bottom: 1px solid var(--lp-line); }
.offcanvas-cart .oc-item .thumb { width: 72px; height: 58px; background: var(--lp-soft); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.offcanvas-cart .oc-item .thumb img { width: 88%; height: 88%; object-fit: contain; }
.offcanvas-cart .oc-item .name { font-size: .875rem; font-weight: 600; color: var(--lp-ink); line-height: 1.3; }
.offcanvas-cart .oc-foot { border-top: 1px solid var(--lp-line); padding: 1.25rem; background: #fff; }

/* Toasts */
.toast-stack { position: fixed; right: 1rem; bottom: 1rem; z-index: 1090; display: grid; gap: .5rem; }
@media (max-width: 991.98px) { .toast-stack { left: 1rem; bottom: calc(var(--lp-tabbar-h) + 12px); } .has-sticky-buy .toast-stack { bottom: calc(var(--lp-tabbar-h) + 88px); } }
.lp-toast {
  display: flex; align-items: center; gap: .875rem; min-width: 300px; max-width: 420px;
  padding: .75rem .875rem; background: var(--lp-ink); color: #fff; border-radius: 14px; box-shadow: var(--lp-shadow-lg);
  animation: toastIn .35s var(--lp-ease);
}
.lp-toast.hide { animation: toastOut .3s var(--lp-ease) forwards; }
.lp-toast img { width: 48px; height: 38px; border-radius: 8px; background: #fff; object-fit: contain; }
.lp-toast .t-title { font-size: .8125rem; color: rgba(255,255,255,.6); }
.lp-toast .t-text { font-size: .875rem; font-weight: 600; line-height: 1.3; }
.lp-toast a { color: var(--lp-accent); font-weight: 700; font-size: .8125rem; margin-left: auto; white-space: nowrap; }
.lp-toast .bi-check-circle-fill { color: var(--lp-accent); font-size: 1.25rem; }

/* Modals */
.modal-content { border: 0; border-radius: var(--lp-radius-lg); }
.modal-header { border: 0; padding: 1.5rem 1.5rem 0; }
.modal-body { padding: 1.5rem; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--lp-accent-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--lp-ink); }

/* ---------- 16. Animations ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }
@keyframes collapse { to { opacity: 0; transform: translateX(16px); } }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--lp-ease), transform .6s var(--lp-ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
