/* ==========================================================================
   TechStore — Global Stylesheet
   Design tokens extracted from demo.html (ryans.com) so the rebuild keeps the
   same visual language: brand green #72bf44, zinc neutrals, soft radius,
   light/dark alternating sections, 6-column product grid.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --brand: #72bf44;
  --brand-dark: #61a634;
  --brand-darker: #4f8c2a;
  --brand-soft: #eef8e6;
  --brand-ring: rgba(114, 191, 68, 0.32);

  /* Brand, held against dark. The header's inline block recomputes all of
     these from the operator's colours; the literals below are the fallback
     for a page that renders without it. */
  --brand-on-dark: #8fd45f;
  --brand-line: #d8edcb;
  --brand-line-strong: #3f5c31;
  --on-brand: #ffffff;
  --on-ink: #ffffff;

  /* Neutrals (zinc scale used across the demo) */
  --ink: #18181b;
  --ink-800: #27272a;
  --ink-600: #52525b;
  --ink-500: #71717a;
  --ink-400: #a1a1aa;
  --line: #e4e4e7;
  --line-soft: #eeeef0;
  --surface: #ffffff;
  --surface-soft: #f4f4f5;
  --surface-mute: #fafafa;

  /* Feedback */
  --danger: #dc2626;
  --warning: #eab308;
  --info: #3b82f6;

  /* Typography */
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-base: 0.9375rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.15rem, 1rem + 0.7vw, 1.375rem);
  --fs-2xl: clamp(1.35rem, 1.1rem + 1.1vw, 1.75rem);
  --fs-hero: clamp(1.9rem, 1.2rem + 3.2vw, 3.25rem);

  /* Shape */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-pill: 999px;

  /* Elevation */
  --sh-xs: 0 1px 2px rgba(24, 24, 27, 0.06);
  --sh-sm: 0 1px 3px rgba(24, 24, 27, 0.08), 0 1px 2px rgba(24, 24, 27, 0.04);
  --sh-md: 0 4px 14px rgba(24, 24, 27, 0.08), 0 2px 4px rgba(24, 24, 27, 0.04);
  --sh-lg: 0 12px 32px rgba(24, 24, 27, 0.12), 0 4px 8px rgba(24, 24, 27, 0.05);
  --sh-brand: 0 8px 20px rgba(114, 191, 68, 0.28);

  /* Layout */
  --header-h: 72px;
  --nav-h: 52px;
  --gutter-section: clamp(2rem, 1.2rem + 3vw, 4rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

a {
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

a:hover {
  color: var(--brand);
}

img {
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

::selection {
  background: var(--brand-ring);
  color: var(--ink);
}

/* Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

*::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

*::-webkit-scrollbar-thumb {
  background: #d4d4d8;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  background-clip: content-box;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--ink-400);
  background-clip: content-box;
}

/* Utilities */
.text-brand { color: var(--brand) !important; }
.text-ink-muted { color: var(--ink-600) !important; }
.bg-soft { background: var(--surface-soft) !important; }
.rounded-xl { border-radius: var(--r-xl) !important; }
.min-w-0 { min-width: 0; }
.clamp-1,
.clamp-2,
.clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.clamp-1 { -webkit-line-clamp: 1; }
.clamp-2 { -webkit-line-clamp: 2; }
.clamp-3 { -webkit-line-clamp: 3; }

.sr-only-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 2000;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-md);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --bs-btn-border-radius: var(--r-md);
  font-weight: 600;
  font-size: var(--fs-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease),
    background-color 0.16s var(--ease), color 0.16s var(--ease),
    border-color 0.16s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-brand {
  --bs-btn-color: var(--on-brand);
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-color: var(--on-brand);
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-active-bg: var(--brand-darker);
  --bs-btn-active-border-color: var(--brand-darker);
  box-shadow: var(--sh-brand);
}

.btn-brand:hover {
  color: var(--on-brand);
  transform: translateY(-1px);
  box-shadow: <?php echo '0 12px 24px ' . web_rgba($webPrimary ?? '#72bf44', 0.34); ?>;
}

.btn-ink {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--ink);
  --bs-btn-border-color: var(--ink);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ink-800);
  --bs-btn-hover-border-color: var(--ink-800);
}

.btn-outline-ink {
  --bs-btn-color: var(--ink);
  --bs-btn-border-color: var(--line);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: var(--surface-soft);
  --bs-btn-hover-border-color: var(--ink-400);
  background: #fff;
}

.btn-ghost-light {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.28);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.12);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.5);
}

.btn-pill {
  border-radius: var(--r-pill);
}

.btn-lg {
  padding: 0.75rem 1.6rem;
  font-size: var(--fs-md);
}

/* --------------------------------------------------------------------------
   4. Section furniture
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--gutter-section);
}

.section-tight {
  padding-block: calc(var(--gutter-section) * 0.6);
}

.section-soft {
  background: var(--surface-soft);
}

.section-dark {
  background: var(--ink);
  color: #e4e4e7;
}

.section-dark h2,
.section-dark h3,
.section-dark .home-header-text {
  color: #fff;
}

.section-dark .section-sub {
  color: var(--ink-400);
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.home-header-text {
  margin: 0;
  font-size: var(--fs-2xl);
  font-weight: 800;
  position: relative;
  padding-bottom: 0.6rem;
}

.home-header-line {
  height: 3px;
  width: 74px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  margin-top: 0.65rem;
}

.section-sub {
  margin: 0.55rem 0 0;
  color: var(--ink-600);
  font-size: var(--fs-base);
  max-width: 62ch;
}

.section-dark .section-sub {
  color: #a1a1aa;
}

.see-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--brand);
  white-space: nowrap;
}

.see-all-link i {
  transition: transform 0.2s var(--ease);
}

.see-all-link:hover i {
  transform: translateX(4px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--r-pill);
  padding: 0.35rem 0.8rem;
  margin-bottom: 0.9rem;
}

.section-dark .eyebrow {
  background: rgba(114, 191, 68, 0.14);
  color: var(--brand-on-dark);
}

/* --------------------------------------------------------------------------
   5. Main header (logo / search / actions)
   -------------------------------------------------------------------------- */
.main-menu {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1040;
  transition: box-shadow 0.25s var(--ease), padding 0.25s var(--ease);
}

.main-menu.is-stuck {
  box-shadow: 0 6px 20px rgba(24, 24, 27, 0.08);
}

.main-menu__inner {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.6vw, 1.75rem);
  min-height: var(--header-h);
  padding-block: 0.5rem;
}

.main-logo {
  flex: 0 0 auto;
  margin-right: 0.35rem;
}

.main-logo .brand-mark {
  display: flex;
}

.main-logo img {
  width: auto;
  height: auto;
  max-height: 56px;
  display: block;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.42rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand-mark:hover {
  color: var(--ink);
}

.brand-mark__logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-darker));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--sh-brand);
  flex: 0 0 auto;
}

.brand-mark__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-top: -2px;
}

/* Search */
.search-with-box {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
}

.search-form {
  position: relative;
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface-soft);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}

.search-form:focus-within {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px var(--brand-ring);
}

.search-form .form-control {
  border: 0;
  background: transparent;
  font-size: var(--fs-base);
  padding: 0.6rem 1.1rem;
  min-width: 0;
}

.search-form .form-control:focus {
  box-shadow: none;
  background: transparent;
}

.search-form .form-control::placeholder {
  color: var(--ink-400);
}

.search-btn {
  border: 0;
  background: var(--brand);
  color: #fff;
  width: 46px;
  flex: 0 0 auto;
  border-radius: 0;
  transition: background-color 0.2s var(--ease);
}

.search-btn:hover {
  background: var(--brand-dark);
  color: #fff;
}

/* Suggestion dropdown */
.search-suggestion {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 0.4rem;
  max-height: 420px;
  overflow-y: auto;
  z-index: 1060;
  display: none;
}

.search-suggestion.is-open {
  display: block;
  animation: dropIn 0.18s var(--ease);
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.suggest-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.6rem;
  border-radius: var(--r-md);
  color: var(--ink);
  transition: background-color 0.15s var(--ease);
}

.suggest-item:hover,
.suggest-item.is-active {
  background: var(--surface-soft);
  color: var(--ink);
}

.suggest-item__img {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  object-fit: cover;
  background: var(--surface-soft);
  flex: 0 0 auto;
}

.suggest-item__name {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.35;
}

.suggest-item__cat {
  font-size: var(--fs-xs);
  color: var(--ink-500);
}

.suggest-item__price {
  margin-left: auto;
  font-weight: 800;
  color: var(--brand);
  white-space: nowrap;
  font-size: var(--fs-sm);
}

.suggest-empty {
  padding: 1.1rem 0.75rem;
  text-align: center;
  color: var(--ink-500);
  font-size: var(--fs-sm);
}

.suggest-footer {
  border-top: 1px solid var(--line-soft);
  margin-top: 0.35rem;
  padding: 0.6rem;
  text-align: center;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--brand);
  border-radius: var(--r-md);
  display: block;
}

.suggest-footer:hover {
  background: var(--brand-soft);
  color: var(--brand-darker);
}

/* Header actions */
.top-menu-section {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 0.8vw, 0.9rem);
}

.menu-action {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.35rem 0.5rem;
  border-radius: var(--r-md);
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.menu-action i {
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--ink-600);
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

.menu-action:hover {
  background: var(--surface-soft);
  color: var(--brand);
}

.menu-action:hover i {
  color: var(--brand);
  transform: translateY(-2px);
}

.menu-badge {
  position: absolute;
  top: 0;
  right: 0.15rem;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--danger);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  transform: scale(0);
  transition: transform 0.24s var(--ease);
}

.menu-badge.is-visible {
  transform: scale(1);
}

.menu-badge.is-bump {
  animation: badge-bump 0.4s var(--ease);
}

@keyframes badge-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.45); }
  100% { transform: scale(1); }
}

.btn-sys-builder {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border: 1px dashed var(--brand);
  border-radius: var(--r-md);
  background: var(--brand-soft);
  color: var(--brand-darker);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.btn-sys-builder:hover,
.btn-sys-builder:focus {
  background: var(--brand);
  border-color: var(--brand);
  border-style: solid;
  color: #fff;
}

.dropdown-menu {
  --bs-dropdown-border-color: var(--line);
  --bs-dropdown-border-radius: var(--r-lg);
  --bs-dropdown-link-active-bg: var(--brand-soft);
  --bs-dropdown-link-active-color: var(--brand-darker);
  box-shadow: var(--sh-lg);
  padding: 0.4rem;
  font-size: var(--fs-base);
}

.dropdown-item {
  border-radius: var(--r-sm);
  padding: 0.45rem 0.75rem;
  font-weight: 500;
}

/* Mobile header trigger */
.menu-logo-button {
  display: none;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.hamburger {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.hamburger:hover {
  border-color: var(--brand);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-logo img {
  width: auto;
  height: auto;
  max-height: 42px;
  display: block;
}

.mobile-logo .brand-mark {
  display: flex;
  font-size: 1.05rem;
}

.mobile-logo .brand-mark__logo {
  width: 30px;
  height: 30px;
  font-size: 0.85rem;
}

.mobile-logo .brand-mark__sub {
  font-size: 0.5rem;
}

/* --------------------------------------------------------------------------
   7. Category navigation bar + megamenu
   -------------------------------------------------------------------------- */
.cat-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: var(--header-h);
  z-index: 1035;
}

.cat-nav.is-stuck {
  box-shadow: 0 6px 18px rgba(24, 24, 27, 0.07);
}

/* The link row scrolls horizontally; the mega panels live OUTSIDE this
   wrapper so their overflow can never clip the full-width dropdown. */
.cat-nav__scroll {
  overflow-x: auto;
  scrollbar-width: none;
  scroll-padding-inline: 1rem;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.cat-nav__scroll::-webkit-scrollbar {
  display: none;
}

.cat-nav__list {
  display: flex;
  align-items: stretch;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: max-content;
  min-width: 100%;
}

/* Trailing breath at the end of the scroll run: without it the last link
   sits flush against the viewport edge once the row is scrolled all the way. */
.cat-nav__list::after {
  content: "";
  flex: 0 0 1rem;
}

.cat-nav__item {
  flex: 0 0 auto;
}

.cat-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: var(--nav-h);
  padding: 0 1rem;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.cat-nav__link i {
  font-size: 0.95rem;
  color: var(--brand);
}

.cat-nav__link:hover,
.cat-nav__item.show .cat-nav__link,
.cat-nav__link:focus-visible {
  color: var(--brand-darker);
  border-bottom-color: var(--brand);
  background: var(--surface-soft);
}

.cat-nav__link.is-active {
  color: var(--brand-darker);
  border-bottom-color: var(--brand);
}

.cat-nav__more {
  margin-left: auto;
  padding-left: 1rem;
  font-weight: 800;
  color: var(--brand);
}

.megamenu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 1.25rem;
  z-index: 1030;
}

.cat-nav__item {
  position: static;
}

/* Full-width mega menu panels. Hidden by default, opened with .is-open. */
.cat-nav__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--brand);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: var(--sh-lg);
  padding-block: 1.6rem;
  z-index: 1030;
  display: none;
}

.cat-nav__panel.is-open {
  display: block;
  animation: dropIn 0.18s var(--ease);
}

/* No-JS fallback: if the stylesheet loads, panels always start hidden. */
html:not(.js) .cat-nav__panel {
  display: none;
}

.megamenu__head {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line-soft);
}

.megamenu__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.megamenu__list li {
  margin: 0;
}

.megamenu__list a {
  display: block;
  padding: 0.28rem 0;
  font-size: var(--fs-base);
  color: var(--ink-600);
  white-space: nowrap;
}

.megamenu__list a:hover {
  color: var(--brand);
  padding-left: 4px;
}

.megamenu__list a.fw-bold,
.megamenu__list .is-strong {
  color: var(--ink);
  font-weight: 700;
}

.megamenu__promo {
  background: linear-gradient(150deg, var(--brand-soft), #fff 70%);
  border: 1px solid var(--brand-line);
  border-radius: var(--r-lg);
  padding: 1rem;
  height: 100%;
}

.megamenu__promo h5 {
  font-size: var(--fs-lg);
  margin-bottom: 0.35rem;
}

.megamenu__promo p {
  font-size: var(--fs-sm);
  color: var(--ink-600);
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   8. Hero slider
   -------------------------------------------------------------------------- */
.hero {
  padding-top: clamp(1rem, 2vw, 1.75rem);
  background: var(--surface-soft);
  padding-bottom: clamp(1rem, 2vw, 1.75rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--bs-gutter, 1.5rem);
}

.hero-slider {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-md);
  background: var(--ink-800);
}

.hero-slide {
  position: relative;
  display: block;
  aspect-ratio: 960 / 500;
  overflow: hidden;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.hero-slide:hover img {
  transform: scale(1.045);
}

.hero-slide__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1rem, 3vw, 2.25rem);
  background: linear-gradient(to top, rgba(9, 9, 11, 0.86) 8%, rgba(9, 9, 11, 0.45) 48%, transparent 100%);
  color: #fff;
}

.hero-slide__kicker {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-on-dark);
  margin-bottom: 0.5rem;
}

.hero-slide__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 0.7rem + 1.8vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
  max-width: 22ch;
}

.hero-slide__text {
  display: block;
  margin: 0 0 1rem;
  font-size: var(--fs-base);
  color: #d4d4d8;
  max-width: 46ch;
}

.hero-promo__title,
.hero-promo__text {
  display: block;
}

.hero-slide .btn {
  color: #fff;
}

.hero-slider .swiper-pagination {
  bottom: 14px;
}

.hero-slider .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.45;
  width: 9px;
  height: 9px;
  transition: all 0.2s var(--ease);
}

.hero-slider .swiper-pagination-bullet-active {
  opacity: 1;
  width: 26px;
  border-radius: var(--r-pill);
  background: var(--brand);
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--sh-md);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
  background: var(--brand);
  color: #fff;
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
  font-size: 0.95rem;
  font-weight: 900;
}

.hero-side {
  display: grid;
  grid-template-rows: 1fr 1fr auto;
  gap: var(--bs-gutter, 1.5rem);
}

.hero-promo {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  background: var(--surface-soft);
  min-height: 150px;
}

.hero-promo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.hero-promo:hover img {
  transform: scale(1.06);
}

.hero-promo__body {
  position: relative;
  z-index: 1;
  padding: 1rem 1.15rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--ink);
  background: linear-gradient(to top, rgba(255, 255, 255, 0.96) 12%, rgba(255, 255, 255, 0.6) 52%, transparent 100%);
}

.hero-promo__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-lg);
  margin: 0 0 0.15rem;
}

.hero-promo__text {
  font-size: var(--fs-sm);
  color: var(--ink-600);
  margin: 0;
}

.hero-ticker {
  background: var(--ink);
  color: #d4d4d8;
  border-radius: var(--r-lg);
  padding: 0.7rem 1rem;
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-ticker strong {
  color: #fff;
}

.hero-ticker i {
  color: var(--brand);
}

/* --------------------------------------------------------------------------
   9. Support / USP strip
   -------------------------------------------------------------------------- */
.support-section {
  padding-block: clamp(1.25rem, 2.4vw, 2rem);
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}

.support-box {
  display: flex;
  align-items: stretch;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.support-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--brand-line);
}

.support-box1 {
  width: 62px;
  flex: 0 0 auto;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.support-box2 {
  padding: 0.75rem 0.85rem;
  min-width: 0;
}

.support-box2 h3 {
  font-size: var(--fs-base);
  font-weight: 700;
  margin: 0 0 0.15rem;
  line-height: 1.3;
}

.support-box2 p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--ink-500);
  line-height: 1.45;
}

.support-box2 a {
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--brand);
}

.support-box:hover .support-box1 {
  background: var(--brand-dark);
}

.support-box:hover h3 {
  color: var(--brand-darker);
}

/* Promo strip */
.promo-strip {
  background: var(--brand-soft);
  border-block: 1px solid var(--brand-line);
  padding-block: 0.7rem;
}

.promo-strip__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--brand-darker);
}

.promo-strip__list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.promo-strip__list i {
  color: var(--brand);
}

.promo-strip__sep {
  color: var(--brand-on-dark);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   10. Top categories rail
   -------------------------------------------------------------------------- */
.category-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0 0 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.category-row > li {
  flex: 1 1 0;
  min-width: 92px;
  scroll-snap-align: start;
}

.category-row a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 0.5rem 0.25rem;
  border-radius: var(--r-lg);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.category-row a:hover {
  background: var(--surface-soft);
  color: var(--brand-darker);
}

.category-icon {
  width: 62px;
  height: 62px;
  border-radius: var(--r-lg);
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--brand);
  transition: transform 0.24s var(--ease), background-color 0.24s var(--ease),
    color 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.category-row a:hover .category-icon {
  transform: translateY(-4px);
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: var(--sh-brand);
}

/* A category the operator gave a picture to draws that picture in place of
   an icon. web_category_mark() only emits the <img> when a real file exists
   on disk, so this never shows a broken image. object-fit keeps an
   odd-shaped upload from stretching the square tile out of shape. */
.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

/* --------------------------------------------------------------------------
   11. Product card
   -------------------------------------------------------------------------- */
.product-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-line);
  box-shadow: var(--sh-md);
}

.section-dark .product-card {
  background: #202024;
  border-color: #2f2f36;
}

.section-dark .product-card:hover {
  border-color: var(--brand-line-strong);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.product-card__media {
  position: relative;
  background: var(--surface-soft);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  flex: 0 0 auto;
}

.section-dark .product-card__media {
  background: #26262c;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  transition: transform 0.45s var(--ease);
  mix-blend-mode: multiply;
}

.section-dark .product-card__media img {
  mix-blend-mode: normal;
}

.product-card:hover .product-card__media img {
  transform: scale(1.07);
}

.product-card__tags {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  z-index: 2;
}

.tag-pill {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--r-pill);
  line-height: 1.5;
}

.tag-pill--new { background: var(--ink); color: #fff; }
.tag-pill--sale { background: var(--danger); color: #fff; }
.tag-pill--hot { background: var(--brand); color: var(--on-brand); }
.tag-pill--out { background: var(--ink-600); color: #fff; }

.product-card__actions {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 2;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.product-card:hover .product-card__actions,
.product-card:focus-within .product-card__actions {
  opacity: 1;
  transform: translateX(0);
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  box-shadow: var(--sh-xs);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.icon-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

.icon-btn.is-on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.product-card__body {
  padding: 0.85rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.3rem;
  text-align: center;
}

.product-card__cat {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.02em;
}

.product-card__name {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  color: var(--ink);
  min-height: 2.8em;
}

.section-dark .product-card__name {
  color: #e4e4e7;
}

.product-card__name a {
  color: inherit;
}

.product-card__name a:hover {
  color: var(--brand);
}

.product-card__rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: var(--fs-xs);
  color: var(--ink-500);
}

.stars {
  color: #f5a623;
  font-size: 0.72rem;
  letter-spacing: 1px;
}

.product-card__price {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-lg);
  color: var(--ink);
}

.section-dark .product-card__price {
  color: #fff;
}

.price-old {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-400);
  text-decoration: line-through;
  margin-left: 0.35rem;
}

.product-card__foot {
  margin-top: auto;
  padding-top: 0.6rem;
}

.product-card__foot .btn {
  width: 100%;
  font-size: var(--fs-sm);
  padding-block: 0.45rem;
}

.stock-note {
  font-size: var(--fs-xs);
  color: var(--danger);
  font-weight: 600;
  margin: 0.35rem 0 0;
}

.stock-note.is-ok {
  color: var(--ink-500);
  font-weight: 500;
}

/* Product carousel shell */
.carousel-shell {
  position: relative;
}

.carousel-shell .swiper {
  overflow: visible;
  padding-inline: 2px;
}

.carousel-nav {
  display: flex;
  gap: 0.4rem;
}

.carousel-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.carousel-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.carousel-btn.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.section-dark .carousel-btn {
  background: #202024;
  border-color: #2f2f36;
  color: #e4e4e7;
}

.section-dark .carousel-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* --------------------------------------------------------------------------
   12. Brands
   -------------------------------------------------------------------------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}

.brand-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 92px;
  padding: 0.85rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  color: var(--ink);
  text-align: center;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.brand-chip:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--sh-md);
  color: var(--brand-darker);
}

.brand-chip__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-md);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.brand-chip__cat {
  font-size: var(--fs-xs);
  color: var(--ink-500);
}

.section-dark .brand-chip {
  background: #202024;
  border-color: #2f2f36;
  color: #e4e4e7;
}

.section-dark .brand-chip:hover {
  border-color: var(--brand);
  color: var(--brand-on-dark);
}

/* --------------------------------------------------------------------------
   13. Category showcase (image + copy + list)
   -------------------------------------------------------------------------- */
.showcase {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}

.showcase:hover {
  border-color: var(--brand-line);
  box-shadow: var(--sh-md);
}

.showcase--flip {
  flex-direction: row-reverse;
}

.showcase__media {
  flex: 0 0 46%;
  position: relative;
  align-self: stretch;
  background: linear-gradient(140deg, var(--brand-soft), var(--surface-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.showcase__media i {
  font-size: clamp(3.5rem, 8vw, 6rem);
  color: var(--brand);
  opacity: 0.85;
  transition: transform 0.5s var(--ease);
}

.showcase:hover .showcase__media i {
  transform: scale(1.08) rotate(-4deg);
}

.showcase__body {
  padding: clamp(1.1rem, 2.5vw, 2rem);
  min-width: 0;
}

.showcase__body h3 {
  font-size: var(--fs-xl);
  margin-bottom: 0.5rem;
}

.showcase__body p {
  color: var(--ink-600);
  font-size: var(--fs-base);
  margin-bottom: 1rem;
}

.showcase__list {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.showcase__list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
}

.showcase__list i {
  color: var(--brand);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   14. Stats band
   -------------------------------------------------------------------------- */
.stats-band {
  background: linear-gradient(120deg, var(--brand-darker) 0%, var(--brand) 55%, var(--brand-on-dark) 100%);
  color: #fff;
  padding-block: clamp(2rem, 4vw, 3.25rem);
  position: relative;
  overflow: hidden;
}

.stats-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.16) 0, transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(255, 255, 255, 0.12) 0, transparent 46%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.stat {
  text-align: center;
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 1rem + 3vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
}

.stat__label {
  font-size: var(--fs-sm);
  font-weight: 600;
  opacity: 0.92;
}

/* --------------------------------------------------------------------------
   15. Feature cards
   -------------------------------------------------------------------------- */
.feature-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-line);
  box-shadow: var(--sh-md);
}

.feature-card:hover::before {
  transform: scaleY(1);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand-darker);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex: 0 0 auto;
  transition: background-color 0.24s var(--ease), color 0.24s var(--ease), transform 0.24s var(--ease);
}

.feature-card:hover .feature-card__icon {
  background: var(--brand);
  color: #fff;
  transform: rotate(-6deg);
}

.feature-card h3 {
  font-size: var(--fs-md);
  margin: 0;
}

.feature-card p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--ink-600);
  line-height: 1.55;
}

.section-dark .feature-card {
  background: #202024;
  border-color: #2f2f36;
}

.section-dark .feature-card p {
  color: #a1a1aa;
}

.section-dark .feature-card__icon {
  background: rgba(114, 191, 68, 0.14);
  color: var(--brand-on-dark);
}

.section-dark .feature-card:hover .feature-card__icon {
  background: var(--brand);
  color: #fff;
}

/* --------------------------------------------------------------------------
   16. Blog cards
   -------------------------------------------------------------------------- */
.post-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-line);
  box-shadow: var(--sh-md);
}

.post-card__media {
  aspect-ratio: 16 / 10;
  background: var(--surface-soft);
  overflow: hidden;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.post-card:hover .post-card__media img {
  transform: scale(1.06);
}

.post-card__body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1 1 auto;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  color: var(--ink-500);
}

.post-card__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-400);
}

.post-card h3 {
  font-size: var(--fs-md);
  margin: 0;
  line-height: 1.35;
}

.post-card h3 a {
  color: var(--ink);
}

.post-card h3 a:hover {
  color: var(--brand);
}

.post-card p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--ink-600);
}

.post-card .see-all-link {
  margin-top: auto;
  font-size: var(--fs-sm);
}

/* --------------------------------------------------------------------------
   17. Newsletter
   -------------------------------------------------------------------------- */
.newsletter {
  background: var(--ink);
  color: #d4d4d8;
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 191, 68, 0.24), transparent 68%);
  top: -140px;
  right: -110px;
  pointer-events: none;
}

.newsletter h2 {
  color: #fff;
  font-size: var(--fs-2xl);
  margin-bottom: 0.4rem;
}

.newsletter p {
  color: #a1a1aa;
  margin-bottom: 1.1rem;
  max-width: 46ch;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.newsletter-form .form-control {
  border-radius: var(--r-pill);
  border: 1px solid #2f2f36;
  background: #202024;
  color: #fff;
  padding: 0.7rem 1.15rem;
}

.newsletter-form .form-control::placeholder {
  color: #71717a;
}

.newsletter-form .form-control:focus {
  background: #26262c;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(114, 191, 68, 0.18);
  color: #fff;
}

.newsletter-form .invalid-feedback {
  position: absolute;
  top: calc(100% + 6px);
  left: 1rem;
  color: #fca5a5;
  font-size: var(--fs-xs);
}

/* --------------------------------------------------------------------------
   18. SEO / read-more block
   -------------------------------------------------------------------------- */
.seo-block {
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink);
}

.seo-block h2 {
  font-size: var(--fs-xl);
  margin: 1.75rem 0 0.6rem;
}

.seo-block h2:first-child {
  margin-top: 0;
}

.seo-block p {
  margin: 0 0 0.85rem;
  color: var(--ink-600);
}

.seo-block a,
.seo-block .cta-link {
  color: var(--brand);
  font-weight: 600;
}

.seo-block a:hover {
  color: var(--brand-darker);
  text-decoration: underline;
}

.readmore {
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
}

.readmore.is-expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.readmore-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  color: var(--brand);
  font-weight: 700;
  font-size: var(--fs-base);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.readmore-link i {
  transition: transform 0.2s var(--ease);
}

.readmore-link[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.main-footer {
  background: #141417;
  color: #a1a1aa;
  padding-top: clamp(2.25rem, 4vw, 3.5rem);
  font-size: var(--fs-base);
}

.main-footer h4 {
  color: #fff;
  font-size: var(--fs-md);
  font-weight: 800;
  margin-bottom: 0.9rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.main-footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--brand);
}

.main-footer a {
  color: #a1a1aa;
}

.main-footer a:hover {
  color: var(--brand);
}

.footer-info .brand-mark {
  color: #fff;
  display: flex;
  width: fit-content;
  gap: 0.85rem;
  font-size: 1.85rem;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.footer-info .brand-mark:hover {
  color: #fff;
}

.footer-info .brand-mark img {
  width: auto;
  height: auto;
  max-height: 62px;
  display: block;
}

.footer-info .brand-mark__logo {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  font-size: 1.55rem;
}

.footer-info .brand-mark__sub {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  margin-top: 1px;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-base);
}

.footer-links a::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--brand);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.social-links {
  display: flex;
  gap: 0.5rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #2a2a30;
  background: #1c1c20;
  color: #d4d4d8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.22s var(--ease);
}

.social-links a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-3px);
}

.footer-contact li {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.footer-contact i {
  color: var(--brand);
  margin-top: 0.28rem;
  flex: 0 0 auto;
}

.track-form {
  display: flex;
  gap: 0.4rem;
  max-width: 260px;
}

.track-form .form-control {
  background: #1c1c20;
  border: 1px solid #2a2a30;
  color: #fff;
  font-size: var(--fs-sm);
  border-radius: var(--r-md);
}

.track-form .form-control::placeholder {
  color: #71717a;
}

.track-form .form-control:focus {
  background: #22222a;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(114, 191, 68, 0.18);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #232329;
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
  padding-block: 1.1rem;
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.pay-methods {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}

.pay-chip {
  height: 28px;
  min-width: 46px;
  padding: 0 0.5rem;
  border-radius: var(--r-sm);
  background: #1c1c20;
  border: 1px solid #2a2a30;
  color: #d4d4d8;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.payment-note {
  color: #71717a;
  font-size: var(--fs-xs);
}

/* --------------------------------------------------------------------------
   20. Offcanvas (cart / wishlist / compare / mobile menu)
   -------------------------------------------------------------------------- */
.offcanvas {
  --bs-offcanvas-width: 400px;
  font-size: var(--fs-base);
}

.offcanvas-header {
  border-bottom: 1px solid var(--line);
}

.offcanvas-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-lg);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.offcanvas-title .count-pill {
  background: var(--brand-soft);
  color: var(--brand-darker);
  font-size: var(--fs-xs);
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--r-pill);
}

.offcanvas-body {
  display: flex;
  flex-direction: column;
}

.drawer-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-500);
}

.drawer-empty i {
  font-size: 3rem;
  color: var(--line);
  margin-bottom: 0.75rem;
  display: block;
}

.drawer-list {
  list-style: none;
  margin: 0 0 auto;
  padding: 0;
}

.drawer-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.drawer-item__img {
  width: 68px;
  height: 68px;
  border-radius: var(--r-md);
  background: var(--surface-soft);
  object-fit: contain;
  padding: 0.3rem;
  flex: 0 0 auto;
}

.drawer-item__body {
  flex: 1 1 auto;
  min-width: 0;
}

.drawer-item__name {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.2rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.drawer-item__price {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--brand);
  margin: 0;
}

.drawer-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  overflow: hidden;
}

.qty button {
  width: 26px;
  height: 26px;
  border: 0;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}

.qty button:hover {
  background: var(--brand);
  color: #fff;
}

.qty span {
  min-width: 30px;
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 700;
}

.drawer-remove {
  border: 0;
  background: transparent;
  color: var(--ink-400);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.2rem;
  border-radius: var(--r-sm);
  transition: color 0.16s var(--ease);
}

.drawer-remove:hover {
  color: var(--danger);
}

.drawer-foot {
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
  margin-top: 1rem;
}

.drawer-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.drawer-total strong {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--ink);
}

/* Mobile offcanvas nav */
.mobile-nav .offcanvas-body {
  padding: 0;
}

.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav__row {
  border-bottom: 1px solid var(--line-soft);
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: var(--fs-base);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.mobile-nav__link i:first-child {
  color: var(--brand);
  width: 20px;
  text-align: center;
}

.mobile-nav__link .chev {
  margin-left: auto;
  color: var(--ink-400);
  transition: transform 0.24s var(--ease);
}

.mobile-nav__link[aria-expanded="true"] {
  color: var(--brand-darker);
}

.mobile-nav__link[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

.mobile-nav__sub {
  background: var(--surface-mute);
  display: none;
}

.mobile-nav__sub.is-open {
  display: block;
  animation: dropIn 0.2s var(--ease);
}

.mobile-nav__sub a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem 0.6rem 2.6rem;
  font-size: var(--fs-sm);
  color: var(--ink-600);
  border-left: 2px solid var(--line);
}

.mobile-nav__sub a:hover {
  color: var(--brand);
  border-left-color: var(--brand);
  background: #fff;
}

.mobile-nav__foot {
  padding: 1rem;
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   21. Quick view modal
   -------------------------------------------------------------------------- */
.quick-modal .modal-content {
  border: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}

.quick-modal .modal-header {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 1.25rem;
}

.quick-modal .modal-body {
  padding: 0;
}

.quick-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}

.quick-media {
  background: var(--surface-soft);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quick-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.quick-thumbs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.quick-thumb {
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  padding: 0.2rem;
  cursor: pointer;
  object-fit: contain;
  transition: border-color 0.18s var(--ease);
}

.quick-thumb.is-active,
.quick-thumb:hover {
  border-color: var(--brand);
}

.quick-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.quick-info__cat {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.quick-info h2 {
  font-size: var(--fs-xl);
  margin: 0;
  line-height: 1.3;
}

.quick-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
}

.quick-specs {
  list-style: none;
  margin: 0.3rem 0 0;
  padding: 0;
  font-size: var(--fs-sm);
}

.quick-specs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--line);
}

.quick-specs li span:first-child {
  color: var(--ink-500);
}

.quick-specs li span:last-child {
  font-weight: 600;
  text-align: right;
}

.emi-table {
  font-size: var(--fs-sm);
  margin: 0;
}

.emi-table th,
.emi-table td {
  padding: 0.35rem 0.5rem;
  border-color: var(--line);
}

.emi-table thead th {
  background: var(--surface-soft);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-600);
}

.emi-note {
  display: block;
  font-size: var(--fs-xs);
  color: var(--ink-500);
  margin-top: 0.35rem;
}

/* --------------------------------------------------------------------------
   22. Toasts + back to top
   -------------------------------------------------------------------------- */
.toast-stack {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1090;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
  max-width: min(360px, calc(100vw - 2rem));
}

.app-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-md);
  padding: 0.7rem 0.9rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  box-shadow: var(--sh-lg);
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.32s var(--ease), opacity 0.32s var(--ease);
}

.app-toast.is-in {
  transform: translateX(0);
  opacity: 1;
}

.app-toast__icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 0.8rem;
}

.app-toast--warn .app-toast__icon {
  background: var(--warning);
  color: #422006;
}

.app-toast--error .app-toast__icon {
  background: var(--danger);
}

.app-toast img {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: #fff;
  object-fit: contain;
  flex: 0 0 auto;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  box-shadow: var(--sh-lg);
  transition: all 0.28s var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-3px);
}

.toast-stack:not(:empty) ~ .back-to-top {
  bottom: 1rem;
}

/* --------------------------------------------------------------------------
   23. Reveal on scroll (used with data-reveal)
   Scoped to .js so that if scripts fail, content is never left invisible.
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   24. Motion / print preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .main-menu,
  .cat-nav,
  .hero,
  .support-section,
  .stats-band,
  .back-to-top,
  .toast-stack,
  .offcanvas,
  .newsletter {
    display: none !important;
  }

  body {
    color: #000;
    font-size: 11pt;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
  }

  .main-footer {
    background: #fff;
    color: #000;
  }
}
