:root {
  /* ALDEMU Official Brand Palette — Black & Red + Clean Contrast */
  --aldemu-black: #0a0a0c;
  --aldemu-charcoal: #141418;
  --aldemu-surface-dark: #1c1c22;
  --aldemu-red: #e60000;
  --aldemu-red-hover: #ff1a1a;
  --aldemu-red-dark: #b30000;
  --aldemu-red-soft: rgba(230, 0, 0, 0.1);
  --aldemu-cream: #f4f4f6;
  --aldemu-surface: #ffffff;
  --aldemu-media-bg: #f6f6f8;
  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;
  --mpesa-green: #39B54A;
  --mpesa-dark: #288a36;
  --text-main: #0a0a0c;
  --text-secondary: #3f3f46;
  --text-muted: #71717a;
  --border-color: #e4e4e7;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(10, 10, 12, 0.05);
  --shadow-md: 0 12px 30px rgba(10, 10, 12, 0.09);
  --shadow-lg: 0 22px 48px rgba(10, 10, 12, 0.18);
  /* Legacy aliases mapped to ALDEMU Black & Red */
  --plug-forest: var(--aldemu-black);
  --plug-teal-dark: var(--aldemu-charcoal);
  --plug-teal: var(--aldemu-black);
  --plug-mint: var(--aldemu-red);
  --plug-lime: #ff3b3b;
  --plug-cream: var(--aldemu-cream);
  --plug-media-bg: var(--aldemu-media-bg);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scroll-padding-block-start: var(--header-offset, 200px);
  color-scheme: light;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background-color: #f8f8fa;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.product-image-caption {
  padding: 8px 14px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-secondary);
}

#adminPromotionsList {
  margin-block: 20px;
}

#promotionError {
  color: var(--aldemu-red-dark);
  margin-block: 12px;
}

/* Modern Web Guidance (css-layout): replace default inline display on media elements to prevent baseline gaps */
img, svg, video, canvas {
  display: block;
  max-inline-size: 100%;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.container {
  max-inline-size: 1360px;
  margin-inline: auto;
  padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
}

button, input, select, textarea {
  font: inherit;
}

button, a, input, select, textarea {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(230, 0, 0, 0.15);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--aldemu-red);
  outline-offset: 3px;
}

:where(.hero-bento-grid, .hero-main-card, .products-grid, .promo-bento-grid,
  .promo-bento-card, .footer-grid, .product-detail-layout) > * {
  min-inline-size: 0;
}

p, h1, h2, h3, h4, .cart-item-info {
  overflow-wrap: anywhere;
}

.skip-link {
  position: fixed;
  inset: 8px auto auto 8px;
  z-index: 3000;
  padding: 12px 18px;
  background: #fff;
  color: var(--aldemu-black);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

body.overlay-open {
  overflow: hidden;
}

.whatsapp-only .cart-drawer-actions > .btn-mpesa,
.whatsapp-only .mpesa-mini-pill,
.whatsapp-only #checkoutModal {
  display: none;
}

.hidden {
  display: none !important;
}

/* =========================================
   ANNOUNCEMENT BAR (ALDEMU BLACK & RED)
   ========================================= */
.announcement-bar {
  background: var(--aldemu-black);
  color: #ffffff;
  font-size: 12.5px;
  padding-block: 9px;
  border-block-end: 2px solid var(--aldemu-red);
}

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

.announcement-left {
  display: flex;
  align-items: safe center;
  gap: 8px;
}

.pulse-dot {
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--aldemu-red);
  box-shadow: 0 0 0 4px rgba(230, 0, 0, 0.3);
}

.announcement-right {
  display: flex;
  align-items: safe center;
  gap: 10px;
}

.announcement-link {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: safe center;
  gap: 5px;
  transition: color 0.2s;
}

.announcement-link:hover {
  color: #ff4d4d;
}

.admin-pill-btn {
  background: var(--aldemu-red);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--aldemu-red-hover);
  font-weight: 700;
}

.admin-pill-btn:hover {
  background: var(--aldemu-red-hover);
  color: #ffffff;
}

/* =========================================
   HEADER & NAVIGATION (PLUG.TECH STRUCTURE + ALDEMU BLACK/RED)
   ========================================= */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-block-end: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(10, 10, 12, 0.05);
}

.header-main {
  display: flex;
  align-items: safe center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
}

.header-brand {
  display: flex;
  align-items: safe center;
  cursor: pointer;
  flex-shrink: 0;
  border: 0;
  background: transparent;
  text-decoration: none;
}

.brand-logo {
  block-size: 56px;
  inline-size: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: scale(1.02);
}

/* Search Bar */
.header-search-wrap {
  flex: 1 1 320px;
  max-inline-size: 580px;
  min-inline-size: 0;
  position: relative;
}

.search-box {
  display: flex;
  align-items: safe center;
  background: var(--aldemu-media-bg);
  border: 1.5px solid #d4d4d8;
  border-radius: 999px;
  padding: 9px 16px;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box:focus-within {
  background: #fff;
  border-color: var(--aldemu-red);
  box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.14);
}

.search-icon {
  color: var(--text-muted);
  margin-inline-end: 10px;
  flex-shrink: 0;
}

.search-box input {
  inline-size: 100%;
  min-inline-size: 0;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--text-main);
}

.clear-search-btn {
  border: none;
  background: #e4e4e7;
  color: var(--aldemu-black);
  inline-size: 44px;
  block-size: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-dropdown {
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline: 0;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  max-block-size: 420px;
  overflow-y: auto;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
  z-index: 1000;
  padding: 12px;
}

.search-suggestion-item {
  display: flex;
  align-items: safe center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
  inline-size: 100%;
  text-align: start;
  border: 0;
  background: #fff;
  color: var(--text-main);
}

.search-suggestion-item:hover {
  background: var(--aldemu-media-bg);
}

.search-suggestion-item img {
  inline-size: 44px;
  block-size: 44px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 3px;
}

/* Header Action Buttons (Admin, WhatsApp next to Cart, Cart) */
.header-actions {
  display: flex;
  align-items: safe center;
  gap: 10px;
  flex-shrink: 0;
}

.dashboard-switch-btn {
  display: inline-flex;
  align-items: safe center;
  gap: 7px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1.5px solid var(--aldemu-black);
  background: #fff;
  color: var(--aldemu-black);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.dashboard-switch-btn:hover {
  border-color: var(--aldemu-red);
  background: var(--aldemu-red);
  color: #fff;
}

/* WHATSAPP BUTTON NEXT TO CART */
.whatsapp-icon {
  display: inline-block;
  inline-size: 20px;
  block-size: 20px;
  flex: 0 0 20px;
  background-color: currentColor;
  -webkit-mask: url('/images/whatsapp.svg') center / contain no-repeat;
  mask: url('/images/whatsapp.svg') center / contain no-repeat;
}

.whatsapp-header-btn {
  display: inline-flex;
  align-items: safe center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #087d38 0%, #07642d 100%);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.32);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-header-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.wa-btn-text, .cart-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.wa-label-top, .cart-label-top {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.9;
  font-weight: 600;
}

.wa-label-main, .cart-label-total {
  font-size: 13.5px;
  font-weight: 800;
}

/* CART BUTTON (ALDEMU BLACK WITH RED BADGE) */
.cart-header-btn {
  display: inline-flex;
  align-items: safe center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--aldemu-black);
  background: var(--aldemu-black);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.cart-header-btn:hover {
  background: var(--aldemu-red);
  border-color: var(--aldemu-red);
  transform: translateY(-1px);
}

.cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-badge {
  position: absolute;
  inset-block-start: -7px;
  inset-inline-end: -8px;
  background: var(--aldemu-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  min-inline-size: 19px;
  block-size: 19px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 4px;
  border: 2px solid var(--aldemu-black);
}

/* CATEGORY NAV BAR */
.category-nav-bar {
  background: var(--aldemu-black);
  border-block-start: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 8px;
  overflow-x: auto;
}

.category-nav-inner {
  display: flex;
  align-items: safe center;
  gap: 8px;
  white-space: nowrap;
}

.cat-nav-pill {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #f4f4f6;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  display: inline-flex;
  align-items: safe center;
  gap: 6px;
}

.cat-nav-pill:hover {
  background: rgba(230, 0, 0, 0.22);
  border-color: var(--aldemu-red);
  color: #ffffff;
}

.cat-nav-pill.active {
  background: var(--aldemu-red);
  border-color: var(--aldemu-red);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(230, 0, 0, 0.35);
}

.cat-nav-pill.sale-pill {
  background: rgba(230, 0, 0, 0.18);
  border-color: rgba(230, 0, 0, 0.45);
  color: #ff6666;
  font-weight: 700;
}

/* =========================================
   HERO BENTO SECTION (ALDEMU BLACK & RED THEME)
   ========================================= */
.hero-section {
  padding-block: 24px 18px;
}

.hero-bento-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.hero-card {
  border-radius: var(--radius-lg);
  overflow: clip;
  position: relative;
}

.hero-main-card {
  grid-row: 1 / 3;
  background: radial-gradient(circle at 80% 30%, rgba(230, 0, 0, 0.28) 0%, transparent 55%),
              linear-gradient(135deg, #070709 0%, #141418 65%, #1f0808 100%);
  color: #fff;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  align-items: center;
  gap: 20px;
  min-block-size: 440px;
  border: 1px solid rgba(230, 0, 0, 0.25);
}

.kicker-pill {
  display: inline-flex;
  align-items: safe center;
  gap: 8px;
  background: rgba(230, 0, 0, 0.2);
  color: #ff4d4d;
  border: 1px solid rgba(230, 0, 0, 0.5);
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-block-end: 16px;
}

.kicker-dot {
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background: var(--aldemu-red);
}

.hero-title {
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.08;
  font-weight: 800;
  margin-block-end: 14px;
}

.text-accent {
  color: var(--aldemu-red);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.6;
  margin-block-end: 24px;
  max-inline-size: 520px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-end: 22px;
}

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.hero-main-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-floating-img {
  inline-size: 100%;
  max-inline-size: 310px;
  block-size: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.6));
  transition: transform 0.35s ease;
}

.hero-main-card:hover .hero-floating-img {
  transform: translateY(-6px) scale(1.03);
}

.hero-price-tag {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 10px;
  background: rgba(230, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 14px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(230, 0, 0, 0.35);
}

.tag-label {
  font-size: 11px;
  text-transform: uppercase;
  color: #ffe4e4;
  font-weight: 700;
}

.tag-price {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.hero-slider {
  --hero-glow: #ff704e;
  --hero-base: #4a1039;
  background: radial-gradient(ellipse at 100% 10%, var(--hero-glow), transparent 62%),
              linear-gradient(125deg, #130f24 15%, var(--hero-base) 100%);
  padding-block-end: 92px;
  isolation: isolate;
}

.hero-slider[data-theme="aurora"] {
  --hero-glow: #ad76ff;
  --hero-base: #332579;
}

.hero-slider[data-theme="ocean"] {
  --hero-glow: #22d3b3;
  --hero-base: #064d6a;
}

.hero-slider::before {
  content: "";
  position: absolute;
  inline-size: 420px;
  aspect-ratio: 1;
  border: 1px solid #ffffff26;
  border-radius: 50%;
  inset-inline-end: -160px;
  inset-block-start: -160px;
  box-shadow: 0 0 0 50px #ffffff08, 0 0 0 100px #ffffff06;
  z-index: -1;
  pointer-events: none;
}

.hero-slider .text-accent { color: #ffd98d; }
.hero-slider .kicker-pill {
  background: #130f2499;
  color: #fff0d2;
  border-color: #ffffff4d;
}
.hero-slider .hero-main-visual {
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff36, transparent 70%);
}
.hero-slider .hero-floating-img:not([hidden]) {
  animation: hero-slide-reveal 0.5s ease both;
}
.hero-slider .hero-floating-img[hidden],
.hero-slider-controls[hidden] { display: none; }
.hero-slider .hero-price-tag {
  background: #160e32e6;
  box-shadow: 0 8px 24px #0003;
  inset-block-start: auto;
  inset-block-end: 0;
  inset-inline-end: 0;
}
.hero-slider-controls {
  position: absolute;
  inset-block-end: 22px;
  inset-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.hero-slider-controls button {
  min-inline-size: 44px;
  min-block-size: 44px;
  border-radius: 50%;
  border: 1px solid #ffffff4d;
  background: #130f24b3;
  color: #fff;
  cursor: pointer;
}
.hero-slider-controls button:hover { background: #ffffff30; }
.hero-slider-dots { display: flex; }
.hero-slider-dots button { background: transparent; border: 0; }
.hero-slider-dots span {
  display: inline-block;
  inline-size: 8px;
  block-size: 8px;
  border-radius: 999px;
  background: #ffffff66;
}
.hero-slider-dots [aria-current="true"] span {
  inline-size: 22px;
  background: #ffd98d;
}
.hero-slider-controls .hero-slider-play {
  border-radius: 999px;
  padding-inline: 12px;
  font-size: 12px;
}
.hero-slide-status {
  margin-inline-start: 8px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
@keyframes hero-slide-reveal {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 768px) {
  .hero-main-card.hero-slider { padding-block-end: 88px; }
  .hero-slider-controls { inset-inline: 10px; gap: 0; }
  .hero-slide-status { margin-inline-start: 4px; }
}

@media (max-width: 480px) {
  .hero-slider-controls [data-slide-step],
  .hero-slide-status { display: none; }
}

.hero-side-card {
  padding: 26px;
  display: flex;
  align-items: safe center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  text-align: start;
}

.hero-side-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.side-card-dark {
  background: linear-gradient(135deg, #0d0d11 0%, #1f1f27 100%);
  color: #fff;
  border-inline-start: 4px solid var(--aldemu-red);
}

.side-card-cream {
  background: #ffffff;
  color: var(--aldemu-black);
  border: 1.5px solid #e4e4e7;
  border-inline-start: 4px solid var(--aldemu-black);
}

.side-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--aldemu-red);
  color: #ffffff;
  margin-block-end: 8px;
}

.side-badge.badge-red {
  background: var(--aldemu-red-soft);
  color: var(--aldemu-red);
}

.side-card-text h3 {
  font-size: 20px;
  margin-block-end: 6px;
}

.side-card-text p {
  font-size: 13px;
  opacity: 0.82;
  margin-block-end: 12px;
}

.side-link {
  font-size: 13px;
  font-weight: 700;
  color: #ff4d4d;
}

.side-card-cream .side-link {
  color: var(--aldemu-red);
}

.side-card-img {
  inline-size: 135px;
  block-size: 135px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

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

/* =========================================
   BUTTONS (ALDEMU RED & BLACK)
   ========================================= */
.btn {
  display: inline-flex;
  align-items: safe center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 14.5px;
}

.btn-primary {
  background: var(--aldemu-red);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(230, 0, 0, 0.28);
}

.btn-primary:hover {
  background: var(--aldemu-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(230, 0, 0, 0.4);
}

.btn-dark {
  background: var(--aldemu-black);
  color: #fff;
}

.btn-dark:hover {
  background: var(--aldemu-red);
}

.btn-whatsapp {
  background: #087d38;
  color: #fff;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-1px);
}

.btn-mpesa {
  background: #237b30;
  color: #fff;
}

.btn-mpesa:hover {
  background: var(--mpesa-dark);
  transform: translateY(-1px);
}

.btn-outline-sm {
  background: #fff;
  color: var(--aldemu-black);
  border: 1.5px solid var(--border-color);
  padding: 8px 15px;
  font-size: 13px;
}

.btn-outline-sm:hover {
  border-color: var(--aldemu-red);
  color: var(--aldemu-red);
  background: rgba(230, 0, 0, 0.04);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-block {
  inline-size: 100%;
}

/* =========================================
   TRUST PILLARS BAR
   ========================================= */
.trust-pillars-section {
  padding-block: 14px 24px;
}

.trust-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-block-start: 3px solid var(--aldemu-red);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}

.trust-pillar {
  display: flex;
  align-items: safe center;
  gap: 12px;
}

.pillar-icon {
  inline-size: 44px;
  block-size: 44px;
  border-radius: 12px;
  background: var(--aldemu-red-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  flex-shrink: 0;
}

.trust-pillar h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--aldemu-black);
}

.trust-pillar p {
  font-size: 12px;
  color: var(--text-muted);
}

/* =========================================
   VISUAL CATEGORIES SECTION
   ========================================= */
.visual-categories-section {
  padding-block: 32px 42px;
  background: #f8f8fa;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-block-end: 18px;
  gap: 16px;
}

.section-header.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--aldemu-red);
  text-transform: uppercase;
  display: block;
  margin-block-end: 4px;
}

.section-title {
  font-size: clamp(22px, 2.5vw, 30px);
  color: var(--aldemu-black);
}

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

.visual-cat-card {
  min-block-size: 250px;
  background: #fff;
  border: 1px solid #e7e7e9;
  border-radius: 22px;
  padding: 18px 18px 16px;
  text-align: start;
  cursor: pointer;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-main);
  font: inherit;
  overflow: hidden;
}

.visual-cat-card:hover, .visual-cat-card.active {
  border-color: #cfcfd2;
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(10, 10, 12, 0.10);
}

.visual-cat-img-wrap {
  order: 2;
  inline-size: 52%;
  block-size: 185px;
  background: #f3f3f5;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  flex-shrink: 0;
}

.visual-cat-img-wrap img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.25s ease;
}

.visual-cat-card:hover .visual-cat-img-wrap img {
  transform: scale(1.06);
}

.visual-cat-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  min-inline-size: 0;
}

.visual-cat-name {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  color: var(--aldemu-red);
}

.visual-cat-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--aldemu-black);
}

.visual-cat-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.visual-cat-count span {
  color: var(--aldemu-red);
  font-size: 16px;
}

/* =========================================
   CATALOG & PRODUCT CARDS (WITH MWG CONTAINMENT & SUBGRID PRINCIPLES)
   ========================================= */
.catalog-section {
  padding-block: 24px 48px;
  background: #fff;
}

.top-picks-section {
  position: relative;
}

.top-picks-eyebrow {
  display: block;
  color: var(--aldemu-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.top-picks-title {
  margin: 4px auto 22px;
  color: #10191a;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  text-align: center;
}

.top-picks-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-block-end: 42px;
  overflow-x: auto;
  scrollbar-width: none;
}

.top-picks-tabs::-webkit-scrollbar,
.top-picks-rail::-webkit-scrollbar {
  display: none;
}

.top-picks-tab {
  flex: 0 0 auto;
  min-block-size: 36px;
  padding: 7px 17px;
  border: 1px solid #e8e5e2;
  border-radius: 999px;
  background: #f5f3f1;
  color: #353535;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.top-picks-tab:hover,
.top-picks-tab.active {
  border-color: #164749;
  background: #164749;
  color: #fff;
}

.top-picks-carousel-wrap {
  position: relative;
  margin-inline: -16px;
}

.top-picks-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 342px);
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  padding: 0 16px 8px;
  -webkit-overflow-scrolling: touch;
}

.top-pick-card {
  display: flex;
  min-inline-size: 0;
  flex-direction: column;
  overflow: clip;
  border: 1px solid #f0efed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(10, 10, 12, .04);
  scroll-snap-align: start;
}

.top-pick-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / .98;
  padding: 20px;
  background: #fff;
}

.top-pick-media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

.top-pick-sale {
  position: absolute;
  z-index: 1;
  inset: 14px auto auto 14px;
  padding: 4px 10px;
  border-radius: 4px;
  background: linear-gradient(110deg, #ff981e, #ffe334);
  color: #181818;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}

.top-pick-details {
  display: flex;
  min-block-size: 156px;
  flex: 1;
  flex-direction: column;
  padding: 8px 18px 16px;
}

.top-pick-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #71717a;
  font-size: 10px;
}

.top-pick-rating {
  color: #344f4d;
  font-weight: 700;
  white-space: nowrap;
}

.top-pick-details h3 {
  display: -webkit-box;
  min-block-size: 44px;
  margin-block: 7px 9px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.top-pick-details h3 a {
  color: #10191a;
  text-decoration: none;
}

.top-pick-details h3 a:hover {
  color: #10191a;
  text-decoration: underline;
}

.top-pick-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin-block-end: 12px;
  color: #10191a;
  font-size: 14px;
  font-weight: 800;
}

.top-pick-price del {
  color: #777;
  font-size: 10px;
  font-weight: 500;
}

.top-pick-discount {
  color: #10191a;
  font-size: 10px;
  font-weight: 700;
}

.top-pick-options {
  margin-block-start: auto;
  color: #164749;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.top-pick-options:hover {
  text-decoration: underline;
}

.top-picks-next {
  position: absolute;
  z-index: 3;
  inset: 50% 20px auto auto;
  display: grid;
  inline-size: 48px;
  block-size: 48px;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
  color: #164749;
  font-size: 22px;
  cursor: pointer;
}

.top-picks-next:hover {
  background: #164749;
  color: #fff;
}

.top-picks-footer {
  display: flex;
  justify-content: center;
  padding-block-start: 18px;
}

.catalog-browser {
  padding-block-start: 8px;
}

.catalog-toolbar {
  display: flex;
  align-items: safe center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: #fff;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-block-end: 14px;
}

.catalog-toolbar-left {
  display: flex;
  align-items: safe center;
  gap: 12px;
}

.catalog-heading {
  font-size: 22px;
  font-weight: 800;
}

.catalog-count-pill {
  background: var(--aldemu-red-soft);
  color: var(--aldemu-red);
  font-size: 12.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}

.catalog-toolbar-right {
  display: flex;
  align-items: safe center;
  gap: 14px;
  flex-wrap: wrap;
}

.toolbar-select-group {
  display: flex;
  align-items: safe center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.toolbar-select-group select {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--aldemu-media-bg);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

/* Subcategory filter chips */
.subcategory-chips-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: safe center;
  gap: 8px;
  padding-block-end: 16px;
}

.subcat-chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s;
}

.subcat-chip:hover, .subcat-chip.active {
  background: var(--aldemu-red);
  color: #fff;
  border-color: var(--aldemu-red);
}

/* Products Grid — Modern Web Guidance: auto-fill minmax + content-visibility containment */
.products-grid {
  inline-size: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr));
  gap: 20px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: clip;
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  position: relative;
  /* Modern Web Guidance (interactions-in-complex-layouts): isolate layout & paint work when switching variants */
  content-visibility: auto;
  contain-intrinsic-size: auto 285px auto 480px;
}

@supports not (content-visibility: auto) {
  .product-card {
    contain: layout style paint;
  }
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(10, 10, 12, 0.12);
  border-color: #d2d2d5;
}

.product-card-media {
  background: #f3f3f5;
  position: relative;
  aspect-ratio: 1 / 1;
  inline-size: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
  text-decoration: none;
}

.product-card-media img {
  max-inline-size: 100%;
  max-block-size: 230px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  background: var(--aldemu-black);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  border-inline-start: 3px solid var(--aldemu-red);
  z-index: 2;
}

.product-discount-pill {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  background: var(--aldemu-red);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
}

.product-card-body {
  padding: 17px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-meta-top {
  display: flex;
  align-items: safe center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-block-end: 4px;
}

.product-brand {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--aldemu-red);
}

.product-rating {
  color: #f59e0b;
  font-weight: 700;
}

.product-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-block-end: 8px;
  cursor: pointer;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: clip;
}

.product-title:hover {
  color: var(--aldemu-red);
}

.product-title a {
  color: inherit;
  text-decoration: none;
}

/* Variant Pills Preview on Card */
.card-options-preview {
  display: none;
}

.mini-option-chip {
  font-size: 11px;
  font-weight: 600;
  background: var(--aldemu-media-bg);
  color: var(--text-secondary);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #e4e4e7;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
  min-block-size: 44px;
  text-align: start;
}

.mini-option-chip:hover, .mini-option-chip.selected {
  background: var(--aldemu-black);
  color: #fff;
  border-color: var(--aldemu-red);
}

/* Color Swatches on Card */
.card-color-swatches {
  display: flex;
  align-items: safe center;
  gap: 6px;
  margin-block-end: 10px;
  flex-wrap: wrap;
}

.card-choice-label {
  inline-size: 100%;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-block-end: 1px;
}

.card-selected-color {
  font-size: 11px;
  color: var(--text-muted);
  margin-inline-start: 2px;
}

.card-single-option {
  min-block-size: 18px;
  margin-block-end: 10px;
  color: var(--text-muted);
  font-size: 11px;
}

.color-dot {
  inline-size: 16px;
  block-size: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #cbd5e1;
  cursor: pointer;
}

button.color-dot {
  inline-size: 44px;
  block-size: 44px;
  border: 12px solid #fff;
  flex-shrink: 0;
}

button.color-dot[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--aldemu-red);
}

.product-price-block {
  margin-block-start: auto;
  padding-block-start: 10px;
  border-block-start: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-block-end: 12px;
  gap: 8px;
  flex-wrap: wrap;
}

.price-current, .cart-subtotal-row, .variant-choice-price {
  font-variant-numeric: tabular-nums;
}

.price-current {
  font-size: 21px;
  font-weight: 800;
  color: var(--aldemu-black);
}

.price-label {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  margin-block-end: 1px;
}

.price-compare {
  font-size: 12.5px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-inline-start: 6px;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

/* Plug-inspired horizontal campaign rails */
.deal-rail-section {
  padding-block: 34px 12px;
  background: #fff;
}

.deal-of-week-section {
  --deal-ink: #fff;
  background: #164749;
  color: var(--deal-ink);
  padding-block: 18px 0;
  overflow: hidden;
}

.deal-of-week-section .deal-rail-heading {
  display: block;
  text-align: center;
  margin-block-end: 12px;
}

.deal-of-week-section .section-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 5px 15px;
  border-radius: 999px;
  color: #164749;
  background: linear-gradient(90deg, #41d3b4, #f4dc47);
  font-size: 11px;
  letter-spacing: .05em;
}

.deal-of-week-section .section-title {
  max-inline-size: 900px;
  margin: 12px auto 4px;
  color: var(--deal-ink);
  font-size: clamp(30px, 4.2vw, 42px);
  line-height: 1.03;
}

.deal-of-week-section .deal-rail-subtitle {
  color: rgba(245, 242, 236, .8);
}

.deal-of-week-section .deal-rail-controls {
  justify-content: center;
  margin-block-start: 10px;
}

.deal-of-week-section .deal-rail-arrow {
  border-color: rgba(255,255,255,.3);
  background: transparent;
  color: #fff;
}

.deal-of-week-section .deal-rail-arrow:hover {
  background: #fff;
  color: var(--aldemu-black);
}

.deal-of-week-section .deal-rail {
  display: block;
  position: relative;
  block-size: var(--deal-stage-height, 540px);
  overflow: visible;
  padding: 0;
  margin-block-start: 28px;
  scrollbar-width: none;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.deal-of-week-section .deal-product-card {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 50%;
  inline-size: var(--deal-card-width, 300px);
  margin-inline-start: calc(var(--deal-card-width, 300px) / -2);
  border: 0;
  border-radius: 17px;
  box-shadow: 0 14px 24px rgba(0, 0, 0, .14);
  transform-origin: 50% 0;
  transition: box-shadow .2s ease;
  cursor: pointer;
  will-change: transform;
}

.deal-of-week-section .deal-product-card[data-active] {
  z-index: 2;
  box-shadow: 0 22px 40px rgba(0, 0, 0, .26);
  cursor: auto;
}

.deal-of-week-section .deal-product-card:not([data-active]):hover {
  box-shadow: 0 22px 40px rgba(0, 0, 0, .26);
}

.deal-of-week-section .deal-product-media {
  block-size: 220px;
}

.deal-of-week-section .deal-product-badge {
  background: #f7c928;
  color: #132f31;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  border-radius: 999px;
}

.deal-of-week-section .deal-rail-footer {
  padding-block-start: 0;
}

.deal-of-week-section .deal-rail-footer .btn {
  background: #f5f2ec;
  color: #164749;
  border-color: #f5f2ec;
}

.deal-of-week-section .deal-rail-footer .btn:hover {
  background: #f7c928;
  border-color: #f7c928;
}

.black-november-rail {
  --deal-ink: #fff;
  background: radial-gradient(ellipse at 50% 0, #292126 0, #141114 55%, #09090a 100%);
  color: var(--deal-ink);
  padding-block: 34px 20px;
  overflow: hidden;
}

.black-november-rail .deal-rail-heading {
  display: block;
  text-align: center;
  margin-block-end: 12px;
}

.black-november-rail .section-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 5px 15px;
  border-radius: 999px;
  color: #fff;
  background: var(--aldemu-red);
  font-size: 11px;
  letter-spacing: .05em;
}

.black-november-rail .section-title {
  max-inline-size: 900px;
  margin: 12px auto 4px;
  color: var(--deal-ink);
  font-size: clamp(30px, 4.2vw, 42px);
  line-height: 1.03;
}

.black-november-rail .deal-rail-subtitle {
  color: rgba(255,255,255,.8);
}

.black-november-rail .deal-rail-controls {
  justify-content: center;
  margin-block-start: 10px;
}

.black-november-rail .deal-rail-arrow {
  border-color: rgba(255,255,255,.3);
  background: transparent;
  color: #fff;
}

.black-november-rail .deal-rail-arrow:hover {
  background: #fff;
  color: var(--aldemu-black);
}

.black-november-rail .deal-rail {
  display: block;
  position: relative;
  block-size: var(--deal-stage-height, 540px);
  overflow: visible;
  padding: 0;
  margin-block-start: 28px;
  scrollbar-width: none;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.black-november-rail .deal-product-card {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 50%;
  inline-size: var(--deal-card-width, 300px);
  margin-inline-start: calc(var(--deal-card-width, 300px) / -2);
  border: 0;
  border-radius: 17px;
  transform-origin: 50% 0;
  transition: box-shadow .2s ease;
  cursor: pointer;
  will-change: transform;
}

.black-november-rail .deal-product-card[data-active] {
  z-index: 2;
  box-shadow: 0 22px 40px rgba(0, 0, 0, .32);
  cursor: auto;
}

.black-november-rail .deal-product-card:not([data-active]):hover {
  box-shadow: 0 22px 40px rgba(0, 0, 0, .32);
}

.black-november-rail .deal-product-badge {
  background: #f7c928;
  color: var(--aldemu-black);
}

.deal-of-week-section .deal-product-badge,
.black-november-rail .deal-product-badge,
.deal-of-week-section .product-discount-pill,
.black-november-rail .product-discount-pill {
  color: var(--aldemu-black);
}

.deal-of-week-section .product-discount-pill,
.black-november-rail .product-discount-pill {
  background: #f7c928;
}

.deal-rail-section .deal-product-body .product-brand,
.deal-rail-section .deal-product-title a,
.deal-rail-section .deal-product-title a:visited,
.deal-rail-section .deal-product-title a:hover,
.deal-rail-section .deal-product-title a:focus-visible,
.deal-of-week-section .deal-product-price,
.black-november-rail .deal-product-price,
.deal-of-week-section .deal-product-price strong,
.black-november-rail .deal-product-price strong,
.deal-of-week-section .deal-product-price .price-label,
.black-november-rail .deal-product-price .price-label,
.deal-of-week-section .deal-product-price del,
.black-november-rail .deal-product-price del {
  color: var(--aldemu-black);
}

.deal-rail-section .deal-product-body .product-brand,
.deal-rail-section .deal-product-price,
.deal-rail-section .deal-product-button {
  max-block-size: 80px;
  overflow: hidden;
  opacity: 1;
  transition: max-block-size .3s ease, opacity .2s ease, margin-block .3s ease, padding-block .3s ease;
}

.deal-rail-section .deal-product-body .product-brand {
  display: block;
  max-block-size: 24px;
}

.deal-rail-section .deal-product-card:not([data-active]) .deal-product-body .product-brand,
.deal-rail-section .deal-product-card:not([data-active]) .deal-product-price,
.deal-rail-section .deal-product-card:not([data-active]) .deal-product-button {
  max-block-size: 0;
  margin-block: 0;
  padding-block: 0;
  opacity: 0;
  pointer-events: none;
}

.deal-rail-section .deal-rail[data-measuring] .deal-product-card *,
.deal-rail-section .deal-rail[data-measuring] .deal-product-card *::before,
.deal-rail-section .deal-rail[data-measuring] .deal-product-card *::after {
  transition: none !important;
}

.black-november-rail .deal-rail-footer .btn {
  background: #fff;
  color: var(--aldemu-black);
  border-color: #fff;
}

.deal-rail-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-block-end: 20px;
}

.deal-rail-subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  margin-block-start: 5px;
}

.deal-rail-controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.deal-rail-arrow {
  inline-size: 42px;
  block-size: 42px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: #fff;
  color: var(--aldemu-black);
  font-size: 20px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.deal-rail-arrow:hover {
  background: var(--aldemu-black);
  color: #fff;
  border-color: var(--aldemu-black);
}

.deal-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 292px);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  scrollbar-color: #c9c9ce transparent;
  padding: 2px 2px 16px;
  -webkit-overflow-scrolling: touch;
}

.deal-rail::-webkit-scrollbar { block-size: 7px; }
.deal-rail::-webkit-scrollbar-thumb { background: #c9c9ce; border-radius: 999px; }

.deal-product-card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  min-inline-size: 0;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.deal-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.deal-product-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  block-size: 214px;
  padding: 20px;
  background: #f3f3f5;
  text-decoration: none;
}

.deal-product-media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

.deal-product-badge {
  position: absolute;
  z-index: 1;
  inset: 12px auto auto 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--aldemu-black);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.deal-product-body {
  padding: 15px 16px 16px;
}

.deal-product-title {
  min-block-size: 44px;
  margin-block: 5px 10px;
  font-size: 16px;
  line-height: 1.35;
}

.deal-product-title a { color: inherit; text-decoration: none; }
.deal-product-title a:hover { color: var(--aldemu-red); }

.deal-product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin-block-end: 13px;
}

.deal-product-price .price-label { inline-size: 100%; }
.deal-product-price strong { font-size: 19px; }
.deal-product-price del { color: var(--text-muted); font-size: 12px; }
.deal-product-button { inline-size: 100%; padding-block: 10px; }

.deal-rail-footer {
  display: flex;
  justify-content: center;
  padding-block: 5px 10px;
}

.deal-rail-empty {
  color: var(--text-muted);
  padding: 32px 0;
}

.btn-card-add {
  background: var(--aldemu-red);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-card-add:hover {
  background: var(--aldemu-black);
}

.btn-card-wa {
  background: rgba(37, 211, 102, 0.14);
  color: #086456;
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.btn-card-wa:hover {
  background: #087d38;
  color: #fff;
}

/* =========================================
   PROMO BENTO & REVIEWS
   ========================================= */
.promo-bento-section {
  padding-block: 20px 44px;
}

.promo-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.promo-bento-card {
  border-radius: var(--radius-lg);
  padding: 34px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 18px;
}

.promo-forest {
  background: linear-gradient(135deg, var(--aldemu-black) 0%, #240707 100%);
  color: #fff;
  border: 1px solid rgba(230, 0, 0, 0.3);
}

.promo-light {
  background: #ffffff;
  color: var(--aldemu-black);
  border: 1.5px solid var(--border-color);
}

.promo-bento-card h3 {
  font-size: 24px;
  margin-block-end: 10px;
}

.promo-bento-card p {
  font-size: 14px;
  opacity: 0.88;
  margin-block-end: 20px;
}

.promo-bento-img {
  inline-size: 100%;
  max-block-size: 210px;
  object-fit: contain;
}

.promo-btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.reviews-section {
  padding-block: 24px 56px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-block-start: 24px;
}

.review-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-block-start: 3px solid var(--aldemu-red);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: var(--aldemu-red);
  font-size: 18px;
  margin-block-end: 10px;
}

.review-card h4 {
  font-size: 16px;
  margin-block-end: 8px;
}

.review-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-block-end: 14px;
}

.review-author {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* =========================================
   MODALS & PRODUCT DETAIL SELECTOR
   ========================================= */
.modal-backdrop, .drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(4px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: #fff;
  border-radius: var(--radius-lg);
  max-inline-size: 940px;
  inline-size: 100%;
  max-block-size: 90vh;
  max-block-size: 90dvh;
  overflow-y: auto;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
  position: relative;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.modal-close-btn {
  position: absolute;
  inset-block-start: 18px;
  inset-inline-end: 18px;
  inline-size: 44px;
  block-size: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--aldemu-red);
  color: #fff;
  border-color: var(--aldemu-red);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.detail-purchase-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-block-start: 20px;
}

.detail-gallery-box {
  background: var(--aldemu-media-bg);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}

.detail-main-img {
  inline-size: 100%;
  max-block-size: 340px;
  object-fit: contain;
  margin-inline: auto;
}

.detail-option-group {
  margin-block-end: 18px;
}

.detail-option-label {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-block-end: 8px;
  display: block;
}

.detail-variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 175px), 1fr));
  gap: 8px;
  max-block-size: 240px;
  overflow-y: auto;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
  padding-inline-end: 4px;
}

.variant-choice-btn {
  border: 1.5px solid var(--border-color);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  text-align: start;
  cursor: pointer;
  transition: background-color 0.16s, border-color 0.16s, box-shadow 0.16s;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.variant-choice-btn:hover {
  border-color: var(--aldemu-red);
}

.variant-choice-btn.active {
  border-color: var(--aldemu-red);
  background: var(--aldemu-red-soft);
  box-shadow: 0 0 0 2px rgba(230, 0, 0, 0.15);
}

.variant-choice-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--aldemu-black);
}

.variant-choice-sub {
  font-size: 11.5px;
  color: var(--text-muted);
}

.variant-choice-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--aldemu-red);
}

/* =========================================
   CART DRAWER (DYNAMIC VIEWPORT & SCROLL CONTAINMENT)
   ========================================= */
.drawer-backdrop {
  justify-content: flex-end;
  padding: 0;
}

.cart-drawer {
  inline-size: 100%;
  max-inline-size: 440px;
  block-size: 100vh;
  block-size: 100dvh;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
  padding-block-end: env(safe-area-inset-bottom);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cart-drawer-header {
  padding: 22px 24px;
  border-block-end: 2px solid var(--aldemu-red);
  background: var(--aldemu-black);
  color: #fff;
  position: relative;
}

.cart-Guarantee {
  font-size: 12.5px;
  color: #ff6666;
  font-weight: 600;
  margin-block-start: 3px;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
  padding: 18px 24px;
  min-block-size: 100px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding-block: 14px;
  border-block-end: 1px solid #f1f5f9;
}

.cart-item img {
  inline-size: 68px;
  block-size: 68px;
  object-fit: contain;
  background: var(--aldemu-media-bg);
  border-radius: 10px;
  padding: 6px;
}

.cart-item-info {
  flex: 1;
  min-inline-size: 0;
}

.cart-item-title {
  font-size: 14px;
  font-weight: 700;
}

.cart-item-variant {
  font-size: 12px;
  color: var(--text-muted);
  margin-block: 2px 6px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.qty-control button {
  border: none;
  background: transparent;
  inline-size: 44px;
  block-size: 44px;
  cursor: pointer;
  font-weight: 700;
}

.qty-control span {
  padding-inline: 8px;
  font-size: 13px;
  font-weight: 700;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-block-start: 1px solid var(--border-color);
  background: #fafafa;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  margin-block-end: 10px;
}

.cart-payment-badges {
  display: flex;
  gap: 6px;
  margin-block-end: 14px;
  flex-wrap: wrap;
}

.mpesa-mini-pill, .wa-mini-pill, .cod-mini-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.mpesa-mini-pill { background: rgba(57, 181, 74, 0.15); color: var(--mpesa-dark); }
.wa-mini-pill { background: rgba(37, 211, 102, 0.15); color: var(--whatsapp-dark); }
.cod-mini-pill { background: var(--aldemu-red-soft); color: var(--aldemu-red); }

.cart-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mpesa-logo-badge {
  background: #fff;
  color: var(--mpesa-dark);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 900;
}

/* =========================================
   M-PESA CHECKOUT MODAL
   ========================================= */
.checkout-modal-card {
  max-inline-size: 680px;
}

.payment-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-block: 16px;
}

.payment-tab-btn {
  border: 2px solid var(--border-color);
  background: #fff;
  border-radius: 12px;
  padding: 12px 10px;
  cursor: pointer;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.payment-tab-btn.active {
  border-color: var(--mpesa-green);
  background: rgba(57, 181, 74, 0.08);
  color: var(--mpesa-dark);
}

.mpesa-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid #86efac;
  border-radius: 14px;
  padding: 18px;
  margin-block-end: 18px;
}

.mpesa-paybill-details {
  background: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  margin-block-start: 10px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

/* =========================================
   BACKEND ADMIN DASHBOARD (ALDEMU BLACK & RED)
   ========================================= */
.admin-view {
  padding-block: 28px 64px;
}

.admin-header-banner {
  background: linear-gradient(135deg, var(--aldemu-black) 0%, #1f0808 100%);
  border-inline-start: 5px solid var(--aldemu-red);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: safe center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-block-end: 24px;
}

.admin-header-left {
  display: flex;
  align-items: safe center;
  gap: 18px;
}

.admin-logo {
  block-size: 56px;
  background: #fff;
  padding: 6px 12px;
  border-radius: 12px;
}

.admin-badge {
  font-size: 11px;
  font-weight: 800;
  color: #ff4d4d;
  letter-spacing: 0.08em;
}

.admin-header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
  margin-block-end: 24px;
}

.admin-kpi-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-block-start: 3px solid var(--aldemu-red);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.admin-kpi-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.admin-kpi-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--aldemu-black);
  margin-block-start: 4px;
  font-variant-numeric: tabular-nums;
}

.admin-tabs-bar {
  display: flex;
  gap: 10px;
  margin-block-end: 20px;
  border-block-end: 1px solid var(--border-color);
  padding-block-end: 12px;
  overflow-x: auto;
}

.admin-tab {
  border: 1px solid var(--border-color);
  background: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}

.admin-tab.active {
  background: var(--aldemu-red);
  color: #fff;
  border-color: var(--aldemu-red);
}

.admin-panel-toolbar {
  display: flex;
  align-items: safe center;
  justify-content: space-between;
  gap: 14px;
  margin-block-end: 16px;
  flex-wrap: wrap;
}

.admin-input {
  inline-size: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
}

#adminProductSearch {
  max-inline-size: 420px;
}

.admin-table-wrap {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.admin-table {
  inline-size: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.admin-table th, .admin-table td {
  padding: 13px 16px;
  text-align: start;
  border-block-end: 1px solid #f1f5f9;
}

.admin-table th {
  background: var(--aldemu-black);
  color: #ffffff;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
}

.admin-table-img {
  inline-size: 48px;
  block-size: 48px;
  object-fit: contain;
  background: var(--aldemu-media-bg);
  border-radius: 8px;
  padding: 4px;
}

.admin-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}

.admin-cat-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: safe center;
  gap: 14px;
}

.admin-cat-card img {
  inline-size: 64px;
  block-size: 64px;
  object-fit: contain;
  background: var(--aldemu-media-bg);
  border-radius: 12px;
  padding: 6px;
}

/* Form Elements */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-block-end: 14px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  margin-block-end: 5px;
  color: var(--text-secondary);
}

.image-upload-row {
  display: flex;
  gap: 10px;
}

.file-upload-btn {
  background: var(--aldemu-red-soft);
  color: var(--aldemu-red);
  border: 1.5px dashed var(--aldemu-red);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.upload-img-preview {
  margin-block-start: 8px;
  block-size: 70px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  padding: 4px;
}

.variants-builder-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  margin-block: 14px;
}

.variants-builder-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block-end: 12px;
}

.variant-row-item {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr 0.9fr 0.9fr auto;
  gap: 8px;
  margin-block-end: 8px;
  align-items: center;
}

.homepage-announcement {
  margin: 0 auto 16px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-align: center;
  font-weight: 700;
}

.homepage-campaign {
  display: grid;
  gap: 10px;
  margin-block: 18px;
}

.homepage-campaign picture {
  display: block;
  min-inline-size: 0;
}

.homepage-campaign img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  border-radius: 16px;
}

.homepage-campaign-link {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  justify-content: center;
  min-block-size: 44px;
  padding: 10px 20px;
  border: 1px solid #f7c928;
  border-radius: 999px;
  background: #f7c928;
  color: #111;
  font-weight: 700;
  text-decoration: none;
}

.homepage-campaign-link:hover,
.homepage-campaign-link:focus-visible {
  background: #fff;
  border-color: #fff;
}

.admin-report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
  margin: 18px 0;
}

.admin-report-grid > div {
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #fff;
}

.admin-report-grid dt {
  color: var(--text-muted);
  font-size: 13px;
}

.admin-report-grid dd {
  margin: 8px 0 0;
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.admin-report-grid small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
}

.product-admin-flags,
.order-admin-fields {
  display: grid;
  gap: 8px;
}

.product-admin-flags {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-block: 12px;
}

.product-admin-flags label,
.order-admin-fields label {
  display: grid;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}

.product-admin-flags label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-form-Actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-block-start: 18px;
}

.admin-settings-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

/* =========================================
   FOOTER (ALDEMU BLACK & RED)
   ========================================= */
.site-footer {
  background: var(--aldemu-black);
  color: #f4f4f6;
  padding-block: 56px 28px;
  margin-block-start: 40px;
  border-block-start: 4px solid var(--aldemu-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 32px;
  margin-block-end: 36px;
}

.footer-logo {
  block-size: 52px;
  inline-size: auto;
  background: #fff;
  padding: 6px 12px;
  border-radius: 10px;
  margin-block-end: 14px;
}

.footer-desc {
  font-size: 13.5px;
  color: rgba(244, 244, 246, 0.75);
  margin-block-end: 16px;
}

.footer-payment-logos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.payment-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 48px;
  padding: 6px 10px;
  border-radius: 6px;
  background: #fff;
}

.payment-logo img {
  object-fit: contain;
}

.footer-social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-block-start: 18px;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 44px;
  block-size: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.footer-social-links img {
  filter: invert(1);
  object-fit: contain;
}

.footer-social-links a:hover {
  background: var(--aldemu-red);
}

.site-footer a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.footer-links-col h4 {
  color: #fff;
  margin-block-end: 14px;
  font-size: 15px;
}

.footer-links-col ul {
  list-style: none;
}

.footer-links-col li {
  margin-block-end: 8px;
}

.footer-links-col a {
  color: rgba(244, 244, 246, 0.75);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s;
}

.footer-links-col a:hover {
  color: var(--aldemu-red);
}

.footer-bottom {
  border-block-start: 1px solid rgba(255, 255, 255, 0.1);
  padding-block-start: 20px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(244, 244, 246, 0.6);
}

.footer-bottom p + p {
  margin-block-start: 6px;
}

/* =========================================
   TOAST NOTIFICATIONS
   ========================================= */
.toast-container {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-end: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--aldemu-black);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  font-weight: 600;
  border-inline-start: 4px solid var(--aldemu-red);
  animation: slideIn 0.25s ease;
}

@keyframes slideIn {
  from { transform: translateY(15px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* =========================================
   RESPONSIVE BREAKPOINTS
   ========================================= */
@media (max-width: 1100px) {
  .header-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }
  .header-search-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
    max-inline-size: none;
    inline-size: 100%;
  }
  .hero-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
  .hero-main-card {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .hero-side-card {
    padding: 20px;
  }
  .side-card-img {
    inline-size: clamp(72px, 12vw, 135px);
    block-size: auto;
  }
  .visual-categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .trust-pillars-grid, .admin-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .promo-bento-grid, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .announcement-inner {
    justify-content: center;
    text-align: center;
    gap: 6px;
  }
  .brand-logo {
    block-size: auto;
    inline-size: clamp(130px, 28vw, 200px);
  }
  .header-actions {
    gap: 8px;
  }
  .whatsapp-header-btn, .cart-header-btn {
    min-inline-size: 44px;
    min-block-size: 44px;
    padding: 10px 12px;
  }
  .wa-label-top, .cart-label-top {
    display: none;
  }
  .search-box input, .admin-input, .toolbar-select-group select {
    font-size: 16px;
  }
  .hero-main-card, .promo-bento-card {
    padding: clamp(20px, 4vw, 32px);
  }
  .hero-bento-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-main-card {
    grid-column: auto;
  }
  .hero-main-visual {
    max-inline-size: 300px;
    inline-size: 100%;
    margin-inline: auto;
  }
  .hero-side-card .side-card-img {
    inline-size: clamp(90px, 22vw, 135px);
  }
  .hero-main-card, .product-detail-layout, .promo-bento-card, .reviews-grid, .form-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .visual-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .variant-row-item {
    grid-template-columns: 1fr 1fr;
  }
  .catalog-toolbar-left, .catalog-toolbar-right {
    flex-wrap: wrap;
    inline-size: 100%;
  }
  .toolbar-select-group {
    flex: 1 1 200px;
    min-inline-size: 0;
  }
  .toolbar-select-group select {
    flex: 1;
    min-inline-size: 0;
    max-inline-size: 100%;
  }
  .section-header {
    flex-wrap: wrap;
    align-items: start;
  }
  .promo-bento-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .promo-bento-img {
    max-block-size: 180px;
  }
  .modal-backdrop {
    padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom));
  }
  .modal-card {
    padding: 64px 18px 24px;
    max-block-size: calc(100vh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    max-block-size: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    border-radius: 16px;
  }
  .detail-gallery-box {
    padding: 16px;
  }
  .detail-purchase-actions, .payment-tabs {
    grid-template-columns: minmax(0, 1fr);
  }
  .detail-price-summary, .checkout-summary-row, .checkout-brand {
    flex-wrap: wrap;
    gap: 10px;
  }
  .cart-drawer-header, .cart-drawer-body, .cart-drawer-footer {
    padding-inline: 16px;
  }
  .toast-container {
    inset-inline: 16px;
    inset-block-end: max(16px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  .wa-btn-text, .cart-btn-text {
    display: none;
  }
  .footer-grid, .trust-pillars-grid, .admin-kpi-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-cta-group > .btn, .promo-btn-row > .btn {
    inline-size: 100%;
  }
  .catalog-toolbar {
    padding: 16px;
  }
  .products-grid {
    gap: 16px;
  }
  .product-meta-top {
    flex-wrap: wrap;
    gap: 6px;
  }
  .trust-pillars-grid {
    padding: 16px;
  }
}

@media (pointer: coarse) {
  :where(button, .cat-nav-pill, .subcat-chip, .btn-outline-sm) {
    min-block-size: 44px;
  }
}

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

/* Compact navigation and full-width collection banner. */
.site-header {
  padding-block-start: env(safe-area-inset-top, 0px);
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}
.header-main {
  display: flex;
  gap: 20px;
  min-block-size: 76px;
  padding-block: 10px;
}
.brand-logo { inline-size: 136px; block-size: auto; }
.category-nav-bar {
  flex: 1;
  min-inline-size: 0;
  background: transparent;
  border: 0;
  padding: 0;
  overflow: visible;
}
.category-nav-inner { justify-content: center; gap: 0; }
.cat-nav-pill,
.cat-nav-pill.active,
.cat-nav-pill:hover {
  color: #193c3d;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 10px 9px;
  min-block-size: 44px;
  font-size: 12px;
  font-weight: 500;
}
.cat-nav-pill.active { color: #c82727; text-decoration: underline; text-underline-offset: 7px; }
.cat-nav-pill:hover { color: #c82727; }
.header-actions { gap: 3px; }
.header-icon-btn,
.whatsapp-header-btn,
.cart-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 44px;
  min-inline-size: 44px;
  block-size: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #193c3d;
  box-shadow: none;
  cursor: pointer;
}
.header-icon-btn:hover,
.whatsapp-header-btn:hover,
.cart-header-btn:hover { background: #edf4f2; transform: none; box-shadow: none; }
.wa-btn-text, .cart-btn-text { display: none; }
.header-menu-toggle { display: none; }
.cart-badge { border-color: #fff; }
.header-search-wrap {
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline-end: max(20px, calc((100vw - 1328px) / 2));
  inline-size: min(560px, calc(100% - 32px));
  max-inline-size: none;
  background: #fff;
  padding: 12px;
  border: 1px solid #dae5e1;
  border-radius: 14px;
  box-shadow: 0 12px 32px #123b3520;
}
.header-search-wrap[hidden] { display: none; }
.hero-section { padding: 0; }
.hero-section > .container { max-inline-size: none; padding: 0; inline-size: 100%; }
.hero-bento-grid { display: block; }
.hero-main-card,
.hero-main-card.hero-slider {
  --hero-glow: #ffd7a6;
  --hero-base: #f4dfef;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  min-block-size: 540px;
  border: 0;
  border-radius: 0;
  padding: 46px max(32px, calc((100vw - 1240px) / 2)) 76px;
  gap: 48px;
  color: #102e30;
  background: radial-gradient(ellipse at 100% 100%, var(--hero-glow), transparent 58%),
              linear-gradient(110deg, #e5f1ed, #f3f0ec 56%, var(--hero-base));
}
.hero-slider[data-theme="aurora"] { --hero-glow: #d3b6ff; --hero-base: #e9dff7; }
.hero-slider[data-theme="ocean"] { --hero-glow: #c1f67c; --hero-base: #d8f0e7; }
.hero-slider::before { display: none; }
.hero-title { font-size: clamp(38px, 4.5vw, 66px); line-height: 1.08; letter-spacing: -0.045em; }
.hero-slider .text-accent, .hero-main-card .text-accent { color: #193c3d; }
.hero-slider .kicker-pill, .hero-main-card .kicker-pill {
  background: #ffffffa6;
  border: 1px solid #193c3d20;
  color: #325957;
  font-size: 10px;
  letter-spacing: 0.12em;
}
.hero-subtitle { color: #365958; max-inline-size: 490px; font-size: 15px; }
.hero-trust-chips { color: #365958; font-size: 11px; gap: 12px; }
.hero-cta-group .btn {
  background: #193f40;
  color: #fff;
  border: 1px solid #193f40;
  border-radius: 999px;
  box-shadow: none;
  font-size: 13px;
  padding: 13px 22px;
}
.hero-cta-group .btn-whatsapp { background: transparent; color: #193f40; }
.hero-main-visual, .hero-slider .hero-main-visual {
  inline-size: 100%;
  max-inline-size: 480px;
  min-inline-size: 0;
  margin-inline: auto;
  background: transparent;
  padding-block-end: 34px;
}
.hero-main-card .hero-floating-img { max-inline-size: 400px; block-size: 390px; inline-size: 100%; filter: drop-shadow(0 18px 20px #173e3526); }
.hero-main-card .hero-floating-img[hidden] { display: none !important; }
.hero-main-card:hover .hero-floating-img { transform: none; }
.hero-main-card .hero-price-tag {
  inset-block-start: auto;
  inset-block-end: 0;
  inset-inline: 0;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
}
.hero-main-card .tag-label { color: #52716b; font-size: 10px; letter-spacing: 0.13em; }
.hero-main-card .tag-price { color: #193c3d; font-size: 14px; font-weight: 500; }
.hero-slider-controls { inset-block-end: 12px; inset-inline: 20px; gap: 4px; }
.hero-slider-controls button { background: transparent; color: #193f40; border-color: #193f4033; }
.hero-slider-controls button:hover { background: #ffffff80; }
.hero-slider-dots button { inline-size: 70px; border: 0; }
.hero-slider-dots span { inline-size: 54px; block-size: 4px; background: #193f4026; }
.hero-slider-dots [aria-current="true"] span { inline-size: 54px; background: #d97937; }
.hero-slide-status { color: #193f40; }
.trust-pillars-section { padding-block: 0 18px; }
.trust-pillars-grid {
  border: 0;
  border-block-end: 1px solid #e2e9e6;
  border-radius: 0;
  box-shadow: none;
  padding: 22px 0;
}
.trust-pillar .pillar-icon { background: #f2f7f4; border-radius: 50%; }
.trust-pillar h4 { color: #193c3d; font-size: 12px; }
.trust-pillar p { font-size: 11px; }

@media (max-width: 1199px) {
  .header-main { flex-wrap: wrap; gap: 0; min-block-size: 68px; }
  .header-actions { margin-inline-start: auto; }
  .header-menu-toggle { display: inline-flex; }
  .category-nav-bar { display: none; flex: 0 0 100%; }
  .site-header.menu-open .category-nav-bar { display: block; order: 3; padding-block: 10px; }
  .category-nav-inner { flex-wrap: wrap; justify-content: flex-start; white-space: normal; }
  .cat-nav-pill { padding-inline: 14px; font-size: 14px; }
}
@media (max-width: 768px) {
  .brand-logo { inline-size: 115px; }
  .hero-main-card, .hero-main-card.hero-slider {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 24px 76px;
    gap: 20px;
  }
  .hero-main-content { max-inline-size: 550px; }
  .hero-title { font-size: clamp(36px, 7vw, 52px); }
  .hero-subtitle { margin-block-end: 20px; font-size: 14px; }
  .hero-main-card .hero-floating-img { block-size: 270px; }
  .hero-main-visual { max-inline-size: 340px; }
  .visual-categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .visual-cat-card { min-block-size: 210px; padding: 14px; flex-direction: column; align-items: stretch; }
  .visual-cat-img-wrap { order: 0; inline-size: 100%; block-size: 135px; }
  .visual-cat-title { font-size: 15px; }
}
@media (max-width: 768px) {
  .top-picks-title {
    max-inline-size: 620px;
    margin-block-end: 18px;
  }
  .top-picks-tabs {
    justify-content: flex-start;
    margin-inline: -16px;
    margin-block-end: 26px;
    padding-inline: 16px;
  }
  .top-picks-rail {
    grid-auto-columns: minmax(270px, 84vw);
  }
  .top-pick-media {
    aspect-ratio: 1 / .88;
  }
  .top-picks-next {
    inset-inline-end: 8px;
    inline-size: 42px;
    block-size: 42px;
  }
}
@media (max-width: 480px) {
  .header-main { padding-inline: 12px; }
  .header-actions { gap: 0; }
  .brand-logo { inline-size: 100px; }
  .homepage-campaign { gap: 8px; }
  .homepage-campaign img { border-radius: 12px; }
  .homepage-campaign-link { inline-size: 100%; }
  .hero-main-card, .hero-main-card.hero-slider { padding-inline: 20px; }
  .hero-cta-group { gap: 10px; }
  .hero-cta-group > .btn { inline-size: auto; }
  .visual-categories-grid { grid-template-columns: 1fr; }
  .visual-cat-card { min-block-size: 180px; flex-direction: row; align-items: flex-end; }
  .visual-cat-img-wrap { order: 2; inline-size: 48%; block-size: 130px; }
  .hero-slider-dots button { inline-size: 48px; }
  .hero-slider-dots span, .hero-slider-dots [aria-current="true"] span { inline-size: 36px; }
  .top-picks-title { font-size: 29px; }
  .top-picks-rail { grid-auto-columns: 84vw; }
  .top-pick-details { padding-inline: 14px; }
}
@media (max-width: 360px) {
  .header-actions > button, .header-actions > a { inline-size: 36px; min-inline-size: 36px; }
}
@media (max-width: 300px) {
  .brand-logo { inline-size: 76px; }
}

.nav-dropdown { position: static; }
.sr-only {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.nav-dropdown > summary { list-style: none; gap: 7px; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-chevron {
  inline-size: 6px;
  block-size: 6px;
  border-inline-end: 1px solid currentColor;
  border-block-end: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.nav-dropdown[open] .nav-chevron { transform: rotate(225deg); }
.mega-menu {
  position: absolute;
  inset-block-start: 100%;
  inset-inline: 0;
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 2fr) minmax(160px, 0.8fr);
  gap: 40px;
  padding: 32px max(32px, calc((100vw - 1240px) / 2));
  max-block-size: calc(100vh - 100px);
  max-block-size: calc(100dvh - 100px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  color: #193c3d;
  border-block-start: 1px solid #e3eae6;
  border-block-end: 1px solid #e3eae6;
  box-shadow: 0 18px 30px #163b351c;
  white-space: normal;
}
.menu-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: #547770; }
.mega-menu h2 { font-size: 28px; margin-block: 8px 12px; }
.mega-menu-intro p { color: #54716e; font-size: 13px; line-height: 1.6; margin-block-end: 16px; }
.mega-menu a { color: #193c3d; text-decoration: none; }
.mega-menu a:hover { color: #bd3535; text-decoration: underline; text-underline-offset: 4px; }
.menu-shop-all { display: flex; justify-content: space-between; padding-block: 12px; font-size: 13px; font-weight: 700; }
.mega-menu-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.mega-menu h3, .search-discovery h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; margin-block-end: 12px; color: #54716e; }
.mega-menu ul { list-style: none; padding: 0; }
.mega-menu li a { display: block; padding-block: 10px; font-size: 13px; min-block-size: 44px; }
.mega-feature { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: #edf4f0; border-radius: 12px; font-size: 13px; }
.mega-feature img { inline-size: 100%; block-size: 150px; object-fit: contain; }
.header-search-wrap {
  inset-block-start: 100%;
  inset-inline: 0;
  inline-size: 100%;
  padding: 24px max(24px, calc((100vw - 1120px) / 2)) 32px;
  border-radius: 0;
  max-block-size: calc(100vh - 90px);
  max-block-size: calc(100dvh - 90px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.search-panel-heading { display: flex; justify-content: space-between; align-items: center; color: #193c3d; font-size: 18px; font-weight: 600; margin-block-end: 12px; }
.header-search-wrap .search-box { border-radius: 4px; border: 1px solid #8ba6a0; background: #fff; padding: 4px 12px; }
.header-search-wrap .search-box input { min-block-size: 44px; font-size: 16px; }
.search-submit { border: 0; background: #193f40; color: #fff; min-block-size: 44px; padding-inline: 18px; border-radius: 4px; cursor: pointer; }
.header-search-wrap .search-dropdown { position: static; max-block-size: none; padding: 24px 0 0; border: 0; box-shadow: none; background: #fff; overflow: visible; }
.search-discovery { display: grid; grid-template-columns: minmax(160px, 0.7fr) minmax(0, 2fr); gap: 36px; }
.search-discovery aside a { display: flex; justify-content: space-between; padding-block: 12px; color: #193f40; text-decoration: none; font-size: 13px; min-block-size: 44px; }
.search-discovery aside a:hover, .search-view-all:hover { text-decoration: underline; }
.search-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.search-product-card { display: flex; flex-direction: column; gap: 7px; color: #193f40; text-decoration: none; font-size: 12px; }
.search-product-card img { inline-size: 100%; block-size: 125px; object-fit: contain; border-radius: 8px; background: #f5f7f5; padding: 8px; }
.search-product-card span { color: #647e77; }
.search-view-all { display: inline-flex; padding-block: 18px 8px; color: #193f40; font-size: 13px; font-weight: 600; }
.search-empty { color: #647e77; padding-block: 24px; }
@media (max-width: 1199px) {
  .nav-dropdown { inline-size: 100%; border-block-end: 1px solid #e1e9e5; }
  .nav-dropdown > summary { justify-content: space-between; inline-size: 100%; padding-inline: 8px; font-size: 15px; }
  .site-header.menu-open .category-nav-bar {
    max-block-size: calc(100vh - 80px - env(safe-area-inset-top, 0px));
    max-block-size: calc(100dvh - 80px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
  }
  .mega-menu { position: static; grid-template-columns: minmax(0, 1fr); padding: 16px 8px 24px; max-block-size: none; overflow: visible; gap: 20px; border: 0; box-shadow: none; }
  .mega-menu-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .mega-feature { display: none; }
  .mega-menu-intro h2 { font-size: 22px; }
  .mega-menu-intro p, .mega-menu-intro .menu-eyebrow { display: none; }
}
@media (max-width: 600px) {
  .search-discovery { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .search-discovery aside { order: 2; }
  .search-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .header-search-wrap { padding: 16px; }
  .search-panel-heading { font-size: 16px; }
  .search-submit { padding-inline: 10px; font-size: 12px; }
  .search-box .search-icon { display: none; }
}
