/* The site stylesheet is intentionally centralized as a CSS Module so components stay typed and scoped. */
.appShell {
  min-height: 100vh;
  overflow-x: clip;
}

.main {
  min-height: 70vh;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--forest), var(--navy));
  color: #fff;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.preloaderHidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.loaderCard {
  display: grid;
  gap: 18px;
  place-items: center;
  padding: 34px;
  text-align: center;
}

.loaderRing {
  width: 68px;
  height: 68px;
  border: 5px solid rgba(255, 255, 255, 0.22);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 820ms linear infinite;
}

.loaderLogo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.header {
  position: sticky;
  top: 0;
  inset-inline: 0;
  z-index: 500;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 10px 34px rgba(6, 78, 59, 0.08);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: var(--nav-height);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 12px;
}

.brandMark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--emerald), var(--forest));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(16, 185, 129, 0.28);
}

.brandTitle {
  display: block;
  color: var(--forest);
  font-size: var(--font-size-brand);
  font-weight: 900;
  letter-spacing: -0.04em;
}

html[data-theme="dark"] .brandTitle {
  color: #ddfff1;
}

.brandTagline {
  display: block;
  margin-top: -5px;
  color: var(--muted);
  font-size: var(--font-size-brand-tagline);
  font-weight: 600;
}

.desktopNav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.navLink {
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--muted);
  font-size: var(--font-size-header);
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.navLink:hover {
  background: rgba(16, 185, 129, 0.11);
  color: var(--forest);
  transform: translateY(-1px);
}

html[data-theme="dark"] .navLink:hover {
  color: #b8ffdf;
}

.headerActions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.iconButton,
.mobileToggle,
.cartButton {
  position: relative;
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--forest);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

html[data-theme="dark"] .iconButton,
html[data-theme="dark"] .mobileToggle,
html[data-theme="dark"] .cartButton {
  color: #d9fff0;
}

.iconButton:hover,
.mobileToggle:hover,
.cartButton:hover {
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

.cartCount {
  position: absolute;
  inset-block-start: -7px;
  inset-inline-end: -7px;
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid var(--surface);
  border-radius: 999px;
  background: var(--gold);
  color: #10231f;
  font-size: 0.72rem;
  font-weight: 900;
}

/* Header auth + admin entry points */
.authButton {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  border: 1px solid rgba(16, 185, 129, 0.42);
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--forest);
  padding: 0 14px;
  font-size: var(--font-size-button);
  font-weight: 900;
  white-space: nowrap;
  transition: background 180ms ease, transform 180ms ease;
}

.authButton:hover {
  background: rgba(16, 185, 129, 0.2);
  transform: translateY(-2px);
}

html[data-theme="dark"] .authButton {
  color: #adffd8;
}

.mobileAuthRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

.mobileToggle {
  display: none;
}

.mobileBackdrop {
  position: fixed;
  inset: 0;
  z-index: 520;
  display: none;
  background: rgba(3, 18, 15, 0.45);
}

/* Drawer is anchored to the inline-end edge (left in RTL) and slides in from off-canvas. */
.mobileMenu {
  position: fixed;
  inset-block-start: 0;
  inset-block-end: 0;
  inset-inline-end: 0;
  z-index: 530;
  display: flex;
  width: min(86vw, 360px);
  height: 100vh;
  height: 100dvh;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 22px;
  border-inline-start: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: drawerIn 260ms ease both;
}

.mobileMenuOpen {
  transform: none;
}

@keyframes drawerIn {
  from {
    opacity: 0;
    transform: translateX(-104%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobileMenuHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mobileMenu .navLink {
  display: flex;
  justify-content: space-between;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.footer {
  margin-top: 88px;
  padding: 64px 0 24px;
  background:
    linear-gradient(135deg, rgba(6, 78, 59, 0.96), rgba(15, 61, 76, 0.98)),
    radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.18), transparent 28rem);
  color: #f3fff9;
  font-size: var(--font-size-footer);
}

.footerGrid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 34px;
}

.footerLead {
  margin: 14px 0 20px;
  color: rgba(243, 255, 249, 0.76);
}

.footer .brandTitle {
  color: #fff;
}

.footer .brandTagline {
  color: rgba(243, 255, 249, 0.72);
}

.footerColumn h3,
.footerBrand h3 {
  margin: 0 0 16px;
  font-size: 1.02rem;
  font-weight: 900;
}

.footerLinks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footerLinks a,
.footerLinks span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(243, 255, 249, 0.78);
  transition: color 180ms ease, transform 180ms ease;
}

.footerLinks a:hover {
  color: #fff;
  transform: translateX(-3px);
}

.socialRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.socialIcon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 180ms ease, transform 180ms ease;
}

.socialIcon:hover {
  background: rgba(16, 185, 129, 0.28);
  transform: translateY(-3px);
}

.newsletterCard {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.newsletterForm {
  display: grid;
  gap: 10px;
}

.newsletterInput {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 12px 14px;
}

.newsletterInput::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.footerBottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(243, 255, 249, 0.68);
  font-size: 0.9rem;
}

.section,
.sectionAlt {
  padding: 82px 0;
}

.sectionAlt {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 42%, transparent), transparent),
    radial-gradient(circle at left, rgba(214, 163, 61, 0.12), transparent 28rem);
}

.sectionHeader {
  display: grid;
  max-width: 760px;
  gap: 12px;
  margin: 0 auto 38px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-inline: auto;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-600);
  padding: 7px 13px;
  font-size: 0.82rem;
  font-weight: 900;
}

.sectionTitle,
.pageTitle,
.heroTitle {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.22;
}

.sectionTitle {
  font-size: var(--font-size-section-title);
}

.sectionLead,
.heroText,
.pageLead {
  margin: 0;
  color: var(--muted);
  font-size: var(--font-size-lead);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  padding: 80px 0 66px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset-block-start: 9%;
  inset-inline-start: -8%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(214, 163, 61, 0.12);
  content: "";
  filter: blur(5px);
}

.heroGrid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
  align-items: center;
  gap: 46px;
}

.heroCopy {
  display: grid;
  gap: 22px;
}

.heroTitle {
  max-width: 760px;
  font-size: var(--font-size-hero-title);
}

.accent {
  color: var(--emerald-600);
}

.heroText {
  max-width: 650px;
  font-size: 1.11rem;
}

.heroActions,
.cardActions,
.inlineActions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.primaryButton,
.secondaryButton,
.ghostButton,
.smallButton,
.dangerButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 18px;
  font-size: var(--font-size-button);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primaryButton {
  background: linear-gradient(135deg, var(--emerald), var(--forest));
  color: #fff;
  box-shadow: 0 18px 38px rgba(16, 185, 129, 0.28);
}

.secondaryButton {
  border-color: rgba(214, 163, 61, 0.42);
  background: var(--gold-100);
  color: #5b3d04;
}

.ghostButton {
  border-color: var(--line);
  background: var(--surface);
  color: var(--forest);
}

html[data-theme="dark"] .ghostButton {
  color: #d9fff0;
}

.smallButton {
  min-height: 38px;
  padding-inline: 14px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--forest);
}

.dangerButton {
  background: rgba(239, 68, 68, 0.11);
  color: #dc2626;
}

.primaryButton:hover,
.secondaryButton:hover,
.ghostButton:hover,
.smallButton:hover,
.dangerButton:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.trustGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 670px;
}

.trustPill,
.securityPill {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  padding: 13px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.trustPill svg,
.securityPill svg {
  color: var(--emerald-600);
  flex: 0 0 auto;
}

/* The trust grid renders twice: once in the hero copy (desktop) and once
   below the hero slider (mobile). Only one is visible per breakpoint. */
.trustGridMobile {
  display: none;
}

.heroVisual {
  position: relative;
}

.slider {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 40px;
  background:
    radial-gradient(circle at 30% 20%, rgba(214, 163, 61, 0.22), transparent 22rem),
    linear-gradient(145deg, var(--forest), var(--navy));
  box-shadow: var(--shadow-lg);
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 22px;
  padding: 30px;
  color: #fff;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 520ms ease, transform 520ms ease;
}

.slideActive {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.slideImageWrap {
  display: grid;
  min-height: 310px;
  place-items: center;
}

.slideImage {
  width: min(88%, 460px);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  transform: rotate(-3deg);
}

.slideContent {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.slideContent h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 900;
}

.slideContent p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.heroBadge {
  position: absolute;
  inset-block-start: 28px;
  inset-inline-start: 28px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--gold);
  color: #10231f;
  padding: 10px 14px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(214, 163, 61, 0.24);
}

.sliderControls {
  position: absolute;
  inset-block-end: 22px;
  inset-inline-start: 30px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.sliderDot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  padding: 0;
  transition: width 180ms ease, background 180ms ease;
}

.sliderDotActive {
  width: 34px;
  background: var(--gold);
}

.statsGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.statCard {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.statValue {
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

html[data-theme="dark"] .statValue {
  color: #9fffd2;
}

.statLabel {
  color: var(--muted);
  font-weight: 700;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 40px;
}

.featurePanel,
.infoCard,
.summaryCard,
.filterPanel,
.formCard,
.emptyState,
.dashboardCard {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.featurePanel,
.infoCard,
.formCard,
.dashboardCard {
  padding: 28px;
}

.featureList {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.featureItem {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
}

.featureIcon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-600);
}

.productGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.productCard {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.productCard:hover {
  border-color: rgba(16, 185, 129, 0.34);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.productImageWrap {
  position: relative;
  display: grid;
  min-height: 245px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 18%, rgba(214, 163, 61, 0.18), transparent 12rem),
    linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(6, 78, 59, 0.11));
}

.productImage {
  width: 86%;
  max-height: 220px;
  border-radius: 22px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.productCard:hover .productImage {
  transform: scale(1.04) rotate(-1deg);
}

.badge {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-start: 16px;
  z-index: 2;
  border-radius: 999px;
  background: var(--gold);
  color: #10231f;
  padding: 6px 11px;
  font-size: 0.78rem;
  font-weight: 900;
}

.productBody {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.productMeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.productTitle {
  margin: 0;
  font-size: var(--font-size-card-title);
  font-weight: 900;
  line-height: 1.55;
}

.productText {
  margin: 0;
  color: var(--muted);
  font-size: var(--font-size-card-text);
  text-align: justify;
  text-justify: inter-word;
}

/* ---- Rich content (product descriptions & blog posts) ---- */
.richContent {
  color: var(--ink);
  font-size: var(--font-size-rich-content);
  text-align: justify;
  text-justify: inter-word;
  line-height: 2.05;
}

.richContent p {
  margin: 0 0 12px;
  text-align: justify;
  text-justify: inter-word;
}

.richContent h2 {
  margin: 26px 0 12px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.richContent h3 {
  margin: 20px 0 8px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 900;
}

.richContent ul,
.richContent ol {
  margin: 0 0 14px;
  padding-inline-start: 26px;
}

.richContent li {
  margin-bottom: 6px;
  text-align: justify;
  text-justify: inter-word;
}

.richContent a {
  color: var(--emerald-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.richContent img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  margin: 18px auto;
}

.richContent blockquote {
  margin: 14px 0;
  border-inline-start: 4px solid var(--emerald);
  border-radius: 0 12px 12px 0;
  background: rgba(16, 185, 129, 0.06);
  padding: 12px 16px;
  color: var(--muted);
}

.richContent hr {
  margin: 22px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #d69000;
  font-weight: 900;
}

.priceRow {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.price {
  color: var(--forest);
  font-size: 1.1rem;
  font-weight: 900;
}

html[data-theme="dark"] .price {
  color: #adffd8;
}

.oldPrice {
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: line-through;
}

.catalogLayout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

/* Mobile-only search bar and filter toggle (hidden on desktop) */
.mobileCatalogBar {
  display: none;
}

.mobileSearch {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
}

.mobileSearch svg {
  flex: 0 0 auto;
  color: var(--muted);
}

.mobileSearch input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
  font-weight: 700;
}

.mobileSearch input::placeholder {
  color: var(--muted);
}

.mobileFilterToggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--forest);
  padding: 10px 14px;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

html[data-theme="dark"] .mobileFilterToggle {
  color: #adffd8;
}

.mobileFilterClose {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--muted);
  padding: 10px;
  font-weight: 900;
}

.filterPanel {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
  padding: 22px;
}

.filterGroup {
  display: grid;
  gap: 8px;
}

.filterGroup label,
.label {
  color: var(--ink);
  font-weight: 900;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--ink);
  padding: 12px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.textarea {
  min-height: 132px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(16, 185, 129, 0.72);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
  outline: none;
}

.checkboxRow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.catalogToolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.viewToggleGroup {
  display: flex;
  gap: 8px;
}

.viewToggle,
.viewToggleActive {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--muted);
}

.viewToggleActive {
  border-color: rgba(16, 185, 129, 0.42);
  background: rgba(16, 185, 129, 0.14);
  color: var(--forest);
}

.listGrid {
  display: grid;
  gap: 18px;
}

.productListCard {
  grid-template-columns: 260px 1fr;
}

.productListCard .productImageWrap {
  min-height: 100%;
}

.productListCard .productBody {
  align-content: center;
}

.pageHero {
  padding: 72px 0 48px;
  background:
    radial-gradient(circle at right, rgba(16, 185, 129, 0.16), transparent 28rem),
    linear-gradient(180deg, rgba(16, 185, 129, 0.08), transparent);
}

.pageHeroGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 34px;
}

.pageTitle {
  font-size: var(--font-size-page-title);
}

.pageLead {
  margin-top: 14px;
  max-width: 760px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.securityGrid,
.featureGrid,
.dashboardGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.securityPill {
  border-radius: 24px;
  padding: 18px;
}

.testimonialShell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.testimonialTrack {
  display: flex;
  transition: transform 430ms ease;
}

.testimonialCard {
  display: grid;
  min-width: 100%;
  gap: 18px;
  padding: 34px;
}

.testimonialHeader {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 64px;
  height: 64px;
  border: 3px solid rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  object-fit: cover;
}

.stars {
  display: inline-flex;
  gap: 3px;
  color: #d69000;
}

.carouselControls {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 0 22px;
}

.accordion {
  display: grid;
  gap: 12px;
}

.faqItem {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.faqQuestion {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 18px 20px;
  text-align: right;
  font-weight: 900;
}

.faqAnswer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms ease;
}

.faqAnswerInner {
  overflow: hidden;
}

.faqAnswerInner p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

.faqOpen .faqAnswer {
  grid-template-rows: 1fr;
}

.form {
  display: grid;
  gap: 16px;
}

.fieldGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.errorText {
  color: #dc2626;
  font-size: 0.84rem;
  font-weight: 700;
}

/* ---- Auth (login / register) page ---- */
.authLayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 24px;
}

.authTabs {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
  padding: 5px;
  width: fit-content;
}

.authTab,
.authTabActive {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  padding: 9px 18px;
  font-weight: 900;
  font-size: 0.9rem;
  transition: background 160ms ease, color 160ms ease;
}

.authTab:hover {
  background: rgba(16, 185, 129, 0.1);
  color: var(--forest);
}

.authTabActive {
  background: linear-gradient(135deg, var(--emerald), var(--forest));
  color: #fff;
}

.linkButton {
  border: 0;
  background: transparent;
  color: var(--emerald-600);
  padding: 0;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.passwordRow {
  position: relative;
  display: flex;
  align-items: center;
}

.passwordRow .input {
  padding-inline-end: 42px;
}

.passwordToggle {
  position: absolute;
  inset-inline-end: 10px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 4px;
}

.passwordToggle:hover {
  color: var(--forest);
}

/* Admin access gate shown at the bottom of the login/register sidebar */
.adminGate {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.adminGateToggle {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(214, 163, 61, 0.45);
  border-radius: 14px;
  background: rgba(214, 163, 61, 0.12);
  color: #8a5a03;
  padding: 12px;
  font-weight: 900;
  transition: background 180ms ease, transform 180ms ease;
}

.adminGateToggle:hover {
  background: rgba(214, 163, 61, 0.22);
  transform: translateY(-2px);
}

html[data-theme="dark"] .adminGateToggle {
  color: var(--gold);
}

.successBox,
.errorBox,
.noticeBox {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 18px;
  padding: 13px 15px;
  font-weight: 800;
}

.successBox {
  border: 1px solid rgba(16, 185, 129, 0.28);
  background: rgba(16, 185, 129, 0.1);
  color: var(--forest);
}

.errorBox {
  border: 1px solid rgba(220, 38, 38, 0.28);
  background: rgba(220, 38, 38, 0.09);
  color: #b91c1c;
}

.noticeBox {
  border: 1px solid rgba(214, 163, 61, 0.32);
  background: rgba(214, 163, 61, 0.1);
  color: #8a5a03;
}

.mapFrame {
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
}

.mapFrame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.galleryGrid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 0.8fr);
  gap: 14px;
}

.galleryButton {
  overflow: hidden;
  min-height: 190px;
  border: 0;
  border-radius: 24px;
  background: var(--surface-strong);
  padding: 0;
}

.galleryButton:first-child {
  grid-row: span 2;
}

.galleryButton img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.galleryButton:hover img {
  transform: scale(1.04);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.76);
  padding: 24px;
}

.lightboxContent {
  position: relative;
  width: min(100%, 980px);
}

.lightboxContent img {
  width: 100%;
  max-height: 82vh;
  border-radius: 24px;
  object-fit: contain;
}

.lightboxClose {
  position: absolute;
  inset-block-start: -18px;
  inset-inline-start: -18px;
}

.productDetailGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 34px;
}

.specGrid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.specRow {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 10px;
  color: var(--muted);
}

.specRow strong {
  color: var(--ink);
}

.cartLayout,
.checkoutGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 24px;
}

.cartItems {
  display: grid;
  gap: 14px;
}

.cartItem {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.cartItem img {
  width: 112px;
  height: 92px;
  border-radius: 18px;
  object-fit: cover;
}

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

.qtyControl button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  background: var(--surface-soft);
  color: var(--forest);
}

.qtyControl span {
  min-width: 38px;
  text-align: center;
  font-weight: 900;
}

.summaryCard {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 15px;
  padding: 22px;
}

.summaryRow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.summaryTotal {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
}

/* ---- Card-to-card payment ---- */
.cardTransfer {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(214, 163, 61, 0.4);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(214, 163, 61, 0.1), rgba(16, 185, 129, 0.08));
  padding: 20px;
}

.cardBox {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.cardRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cardLabel {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.cardCopyBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.08);
  color: var(--forest);
  padding: 8px 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: background 160ms ease, transform 160ms ease;
}

.cardCopyBtn:hover {
  background: rgba(16, 185, 129, 0.16);
  transform: translateY(-1px);
}

html[data-theme="dark"] .cardCopyBtn {
  color: #adffd8;
}

.receiptDropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 120px;
  border: 2px dashed rgba(16, 185, 129, 0.4);
  border-radius: 18px;
  background: var(--surface-soft);
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  padding: 18px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.receiptDropzone:hover {
  border-color: rgba(16, 185, 129, 0.7);
  background: rgba(16, 185, 129, 0.06);
}

.receiptDropzone input {
  display: none;
}

.receiptPreview {
  display: grid;
  gap: 8px;
}

.receiptPreview img {
  width: 100%;
  max-height: 220px;
  border: 1px solid var(--line);
  border-radius: 16px;
  object-fit: contain;
  background: var(--surface-soft);
}

.receiptPreviewMeta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-weight: 800;
  font-size: 0.88rem;
}

.spinIcon {
  animation: spin 900ms linear infinite;
}

.emptyState {
  display: grid;
  place-items: center;
  min-height: 330px;
  padding: 36px;
  text-align: center;
}

.parallaxBand {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(6, 78, 59, 0.92), rgba(15, 61, 76, 0.92)),
    url("https://placehold.co/1600x700/064E3B/FFFFFF?text=twocart+secure+payment") center/cover fixed;
  color: #fff;
  padding: 54px;
  box-shadow: var(--shadow-lg);
}

.parallaxBand p {
  color: rgba(255, 255, 255, 0.78);
}

.supportStrip {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(214, 163, 61, 0.12));
  padding: 28px;
}

.stickyCta {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-start: 24px;
  z-index: 430;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #f3c768);
  color: #10231f;
  padding: 13px 18px;
  font-weight: 900;
  box-shadow: 0 18px 46px rgba(214, 163, 61, 0.32);
}

/* ---- Floating support button ---- */
.floatingSupport {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-start: 24px;
  z-index: 460;
}

.floatingSupportButton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--emerald), var(--forest));
  color: #fff;
  padding: 0 18px;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(16, 185, 129, 0.32);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.floatingSupportButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(16, 185, 129, 0.42);
}

.floatingSupportMenu {
  position: absolute;
  inset-block-end: calc(100% + 12px);
  inset-inline-start: 0;
  width: min(360px, calc(100vw - 32px));
  max-height: min(520px, calc(100dvh - 120px));
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  animation: supportMenuIn 180ms ease both;
}

.floatingSupportHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.floatingSupportHead strong,
.floatingSupportHead span {
  display: block;
}

.floatingSupportHead strong {
  color: var(--ink);
  font-weight: 900;
}

.floatingSupportHead span {
  color: var(--muted);
  font-size: 0.84rem;
}

.floatingSupportHead button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--muted);
}

.floatingSupportList {
  display: grid;
  gap: 8px;
  padding-top: 10px;
}

.floatingSupportItem {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
  padding: 10px;
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.floatingSupportItem:hover {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
  transform: translateY(-1px);
}

.floatingSupportItem img,
.floatingSupportFallbackIcon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  object-fit: cover;
  background: rgba(16, 185, 129, 0.14);
  color: var(--forest);
}

.floatingSupportItem strong,
.floatingSupportItem small {
  display: block;
}

.floatingSupportItem strong {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
}

.floatingSupportItem small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

@keyframes supportMenuIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.backToTop {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-end: 24px;
  z-index: 430;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 16px;
  background: var(--forest);
  color: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.backToTopVisible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cursor,
.cursorDot {
  position: fixed;
  z-index: 999;
  pointer-events: none;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.cursor {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(16, 185, 129, 0.52);
  transition: width 140ms ease, height 140ms ease, border-color 140ms ease;
}

.cursorDot {
  width: 7px;
  height: 7px;
  background: var(--emerald);
}

/* ---- Promotional banner slider ---- */
.bannerSlider {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  min-height: 220px;
}

.bannerTrack {
  display: flex;
  transition: transform 520ms ease;
}

.bannerSlide {
  position: relative;
  min-width: 100%;
  min-height: 220px;
}

.bannerImage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bannerOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 78, 59, 0.86), rgba(6, 78, 59, 0.2));
}

.bannerContent {
  position: relative;
  display: grid;
  gap: 10px;
  justify-items: start;
  max-width: 640px;
  padding: 32px;
  color: #fff;
}

.bannerContent h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.bannerContent p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.bannerNav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background 160ms ease;
}

.bannerNav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.bannerNavPrev {
  inset-inline-start: 14px;
}

.bannerNavNext {
  inset-inline-end: 14px;
}

.bannerDots {
  position: absolute;
  inset-block-end: 16px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  display: flex;
  gap: 8px;
}

.bannerDot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  padding: 0;
  transition: width 180ms ease, background 180ms ease;
}

.bannerDotActive {
  width: 28px;
  background: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms ease, transform 620ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.revealVisible {
  opacity: 1;
  transform: translateY(0);
}

.tableWrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.table th,
.table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 16px;
  text-align: right;
}

.table th {
  color: var(--forest);
  font-weight: 900;
}

.statusBadge {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--forest);
  padding: 5px 10px;
  font-size: 0.82rem;
  font-weight: 900;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Safety guard: the drawer must never appear on desktop breakpoints. */
@media (min-width: 1101px) {
  .mobileMenu,
  .mobileBackdrop {
    display: none !important;
  }
}

@media (max-width: 1100px) {
  .desktopNav {
    display: none;
  }

  .mobileToggle {
    display: inline-grid;
  }

  .mobileBackdrop {
    display: block;
  }

  .heroGrid,
  .pageHeroGrid,
  .grid2,
  .productDetailGrid {
    grid-template-columns: 1fr;
  }

  .heroGrid {
    min-height: auto;
  }

  .catalogLayout,
  .cartLayout,
  .checkoutGrid,
  .authLayout {
    grid-template-columns: 1fr;
  }

  /* Collapse the auth button label on tablet to save header space */
  .authButton span {
    display: none;
  }

  .authButton {
    width: 42px;
    justify-content: center;
    padding: 0;
  }

  .filterPanel,
  .summaryCard {
    position: static;
  }

  .footerGrid,
  .statsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .productGrid,
  .featureGrid,
  .dashboardGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Security pills stay 3-per-row on tablet too */
  .securityGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --nav-height: 68px;
  }

  .container {
    width: min(100% - 22px, var(--container));
  }

  .brandTagline,
  .headerActions .ghostButton,
  .authButton {
    display: none;
  }

  .section,
  .sectionAlt {
    padding: 58px 0;
  }

  .hero {
    padding: 50px 0 44px;
  }

  .heroTitle {
    font-size: var(--font-size-hero-title);
  }

  .fieldGrid,
  .featureGrid,
  .dashboardGrid {
    grid-template-columns: 1fr;
  }

  /* Trust badges: 3 per row on mobile with compact vertical pills.
     On mobile the desktop copy hides and the copy under the slider shows. */
  .trustGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .trustGridDesktop {
    display: none;
  }

  .trustGridMobile {
    display: grid;
    margin-top: 14px;
  }

  .trustPill {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 10px 6px;
    text-align: center;
    font-size: 0.76rem;
    border-radius: 14px;
  }

  /* Stats: 2 per row on mobile */
  .statsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .statCard {
    padding: 16px;
    border-radius: 18px;
  }

  /* Security pills: 3 per row on mobile with compact vertical layout */
  .securityGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .securityPill {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 12px 6px;
    text-align: center;
    font-size: 0.78rem;
    border-radius: 16px;
  }

  /* Products: 2 per row on mobile */
  .productGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  /* Footer: brand spans full width, then 3 columns */
  .footerGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .footerBrand {
    grid-column: 1 / -1;
  }

  .slider {
    min-height: 500px;
    border-radius: 30px;
  }

  .slide {
    padding: 20px;
  }

  .slideImageWrap {
    min-height: 260px;
  }

  .productListCard,
  .cartItem {
    grid-template-columns: 1fr;
  }

  .cartItem img {
    width: 100%;
    height: 180px;
  }

  .catalogToolbar,
  .supportStrip,
  .footerBottom {
    align-items: stretch;
    flex-direction: column;
  }

  /* Store page: search in one row + collapsible filter behind a button */
  .mobileCatalogBar {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 14px;
  }

  .filterPanel {
    display: none;
  }

  .filterPanel.filterPanelMobileOpen {
    display: grid;
  }

  .mobileFilterClose {
    display: inline-flex;
  }

  .supportStrip {
    grid-template-columns: 1fr;
  }

  .galleryGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .galleryButton {
    min-height: 90px;
    border-radius: 14px;
  }

  .galleryButton:first-child {
    grid-row: auto;
  }

  /* Compact product cards for the 2-column mobile grid */
  .productCard .productImageWrap {
    min-height: 150px;
  }

  .productCard .productImage {
    max-height: 140px;
    border-radius: 16px;
  }

  .productCard .productBody {
    padding: 14px;
    gap: 8px;
  }

  .productCard .productText {
    display: none;
  }

  .productCard .primaryButton,
  .productCard .ghostButton {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.85rem;
  }

  .bannerSlider {
    min-height: 180px;
    border-radius: 24px;
  }

  .bannerSlide {
    min-height: 180px;
  }

  .bannerContent {
    padding: 22px;
  }

  .bannerNav {
    display: none;
  }

  .parallaxBand {
    padding: 30px;
    background-attachment: scroll;
  }

  .stickyCta {
    inset-inline: 12px;
    inset-block-end: 14px;
    justify-content: center;
  }

  .floatingSupport {
    inset-inline-start: 12px;
    inset-block-end: 14px;
  }

  .floatingSupportButton {
    min-height: 46px;
    padding: 0 14px;
  }

  .floatingSupportMenu {
    width: calc(100vw - 24px);
    max-height: 30dvh;
    height: 30dvh;
    inset-inline-start: 0;
    padding: 12px;
  }

  .floatingSupportItem {
    grid-template-columns: 38px 1fr;
    padding: 8px;
  }

  .floatingSupportItem img,
  .floatingSupportFallbackIcon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .floatingSupportItem strong {
    font-size: 0.86rem;
  }

  .floatingSupportItem small {
    font-size: 0.72rem;
  }

  .backToTop {
    inset-block-end: 78px;
    inset-inline-end: 14px;
  }

  .cursor,
  .cursorDot {
    display: none;
  }
}
