/* Mobile storefront theme. Loaded after the existing functional styles. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
body.storefront {
  --green: #153e35;
  --lime: #e8f28b;
  --cream: #f6f8f1;
  --ink: #153e35;
  --muted: #52674f;
  --line: #d4e0cb;
  --accent: #2b6a43;
  color: var(--ink);
  background: radial-gradient(ellipse at 95% 12%, #e1edcf 0, transparent 48%),
    linear-gradient(160deg, #f6f8f1, #eaf0df 60%, #f8faf3);
  font: 14px/1.65 'Plus Jakarta Sans', system-ui, sans-serif;
  padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
}
body.storefront :is(h1, h2) { line-height: 1.15 !important; }
body.storefront :is(h1, h2, h3, p, small, button, input, select, textarea, a, summary) {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
/* Keep comfortable hit areas even where the text is deliberately compact. */
body.storefront :is(a, button, summary, [role='button']) {
  min-height: 44px !important;
  min-width: 44px !important;
  touch-action: manipulation;
}
body.storefront a { display: inline-flex; align-items: center; }
body.storefront :is(button, a) { transition: transform 120ms ease, background-color 120ms ease; }
body.storefront :is(button:not(:disabled), a):active { transform: scale(.96) !important; }
body.storefront :is(button, a, input, select, summary):focus-visible {
  outline: 3px solid #2b6a43;
  outline-offset: 3px;
}
body.storefront label:has(input:is([type='checkbox'], [type='radio'])) {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
}
body.storefront input:not([type='checkbox']):not([type='radio']),
body.storefront select, body.storefront textarea { font-size: 16px; }
body.storefront main { max-width: 1320px; margin: auto; padding-inline: 16px; }
body.storefront .announcement { background: #153e35; color: #f6f8f1; padding: 0 16px; }
body.storefront .announcement a { color: #f6f8f1; font-size: 11px; letter-spacing: .02em; }
body.storefront .store-header.retail-header {
  background: rgba(246, 248, 241, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 6px 24px #153e350c;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
body.storefront .retail-header header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 8px;
  padding: 10px 16px 8px;
}
body.storefront .retail-menu-trigger { display: grid; place-items: center; width: 44px; height: 44px; background: #ffffffb8; color: #153e35; border: 1px solid #d4e0cb; }
body.storefront .retail-header .brand { min-width: 0; max-width: none; gap: 7px; }
body.storefront .retail-header .brand-logo { width: 40px; height: 44px; flex-basis: 40px; }
body.storefront .retail-header .brand-tagline { display: block; color: #153e35; font-size: 10px; letter-spacing: .08em; }
body.storefront .retail-header .brand-tagline strong { font-size: 12px; color: #153e35; }
body.storefront .retail-header .header-actions { flex-wrap: nowrap; gap: 4px; }
body.storefront .retail-header #favorites { padding: 10px; width: 44px; }
body.storefront .retail-header .cart-btn { color: #fff; background: #2b6a43; padding: 9px; border: 0; }
body.storefront .retail-header .cart-btn b { background: #f6f8f1; color: #153e35; font-size: 11px; }
body.storefront .retail-header .cart-btn .desktop,
body.storefront .retail-header .retail-orders { display: none; }
body.storefront .retail-header .retail-search { grid-column: 1 / -1; grid-row: 2; width: 100%; height: 46px; background: #ffffffdf; border: 1px solid #bfd2b0; margin: 0; min-width: 0; }
body.storefront .retail-header .retail-search input { font-size: 16px; color: #153e35; padding: 10px 12px; }
body.storefront .retail-header .retail-search input::placeholder { font-size: 13px; color: #52674f; }
body.storefront .retail-header .retail-search button { background: #2b6a43; flex-basis: 46px; width: 46px; }
body.storefront #top-nav.retail-navigation { padding: 0 16px 8px; min-height: 52px; background: transparent; border: 0; display: block; }
body.storefront #top-nav #store-departments-toggle,
body.storefront #top-nav .retail-nav-support { display: none; }
body.storefront #top-nav .retail-nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #9db78d transparent;
}
body.storefront #top-nav .retail-nav-links > :is(a, button) {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  white-space: nowrap;
  padding: 10px 14px;
  border: 1px solid #d8e3cd;
  border-radius: 12px;
  color: #153e35;
  background: #ffffffc2;
  font-size: 12px;
  text-decoration: none;
}
body.storefront #top-nav .retail-nav-links > [aria-pressed='true'] { background: #153e35; color: #fff; box-shadow: none; }
body.storefront .authority-hero {
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
  padding: 24px 20px;
  min-height: 0;
  border: 1px solid #ffffffc9;
  background: linear-gradient(135deg, #153e35, #285940);
  border-radius: 22px;
  box-shadow: 0 16px 35px #153e3519;
}
body.storefront .authority-hero::before { background: radial-gradient(ellipse at top right, #6c9d5544, transparent 65%); }
body.storefront .hero-overline { color: #cbdcbd; font-size: 10px; letter-spacing: .09em; }
body.storefront .hero-overline i { background: #b8d68d; box-shadow: 0 0 0 4px #ffffff0a; }
body.storefront .authority-hero h1 { font-size: clamp(26px, 7vw, 34px); font-weight: 800; letter-spacing: -.05em; margin: 16px 0 12px; max-width: 400px; }
body.storefront .authority-hero h1 em { color: #dce88d; }
body.storefront .authority-hero-copy > p { font-size: 13px; line-height: 1.7; color: #e4eddb; margin: 0; }
body.storefront .authority-hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 20px 0 16px; }
body.storefront .authority-hero-actions > a { min-height: 48px !important; padding: 12px; font-size: 13px; border-radius: 12px; justify-content: center; }
body.storefront .hero-browse { background: #f6f8f1; color: #153e35; border-color: #f6f8f1; }
body.storefront .whatsapp-cta { background: #2b6a43; color: #fff; border: 1px solid #9bc684; box-shadow: 0 5px 12px #00000017; }
body.storefront .hero-evidence { color: #d9e8cc; font-size: 10px; gap: 7px 14px; }
body.storefront .hero-evidence span::before { color: #b8d990; }
body.storefront .hero-equipment { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0; }
body.storefront .equipment-label { display: none; }
body.storefront .hero-equipment-card { background: #f6f8f1ee; color: #153e35; padding: 10px; border: 1px solid #ffffffcc; border-radius: 14px; box-shadow: 0 6px 16px #00000010; }
body.storefront .hero-equipment-card img { height: 120px; }
body.storefront .hero-equipment-small { margin: 0; align-self: stretch; }
body.storefront .hero-equipment-card > span { padding-top: 8px; border-color: #c5d7b8; }
body.storefront .hero-equipment-card small { font-size: 9px; color: #52674f; letter-spacing: .04em; }
body.storefront .hero-equipment-card b { font-size: 12px; padding-right: 18px; }
body.storefront .hero-equipment-card i { width: 22px; height: 22px; font-size: 12px; }
body.storefront .hero-equipment-note { font-size: 9px; color: #d7e4cc; text-align: left; }
body.storefront .experience-strip { display: grid; grid-template-columns: 1fr; padding: 18px 4px; gap: 14px; margin: 0; color: #153e35; }
body.storefront .experience-strip > div { border: 0; gap: 12px; padding: 0; }
body.storefront .experience-strip > div > b { color: #2b6a43; border-color: #c4d6b7; background: #ffffff8f; font-size: 12px; }
body.storefront .experience-strip span { font-size: 12px; }
body.storefront .experience-strip small { font-size: 11px; color: #52674f; line-height: 1.6; }
body.storefront .catalog-title :is(h1, h2) { font-size: 24px; color: #153e35; }
body.storefront .catalog-title .eyebrow { color: #2b6a43; font-size: 10px; }
body.storefront .catalog-discovery { position: relative; top: auto; background: transparent; border-color: #d4e0cb; scroll-margin-top: 180px; }
body.storefront .catalog-discovery .search { background: #ffffffdc; border-color: #bfd2b0; box-shadow: 0 4px 12px #153e3506; }
body.storefront .catalog-search-label { color: #153e35; font-size: 12px; }
body.storefront .catalog-discovery .search-help { color: #52674f; font-size: 11px; }
body.storefront .catalog-discovery .category-shortcuts { gap: 8px; }
body.storefront .category-shortcuts :is(a, button) { color: #153e35; background: #ffffffbf; border: 1px solid #c4d6b7; font-size: 11px; white-space: nowrap; }
body.storefront .filter-panel > summary { background: #ffffffc9; border: 1px solid #c4d6b7; color: #153e35; font-size: 12px; }
body.storefront #sidebar.catalog-filters { background: #f6f9f0; border-color: #c4d6b7; color: #153e35; }
body.storefront .catalog-field span { color: #153e35; font-size: 12px; }
body.storefront .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body.storefront .product-card {
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 16px;
  box-shadow: 0 5px 18px #153e3510, 0 1px 2px #153e350d;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body.storefront .product-card .photo-btn { background: #f5f8ef; border-radius: 0; }
body.storefront .product-card .name-btn { font-size: 12px; line-height: 1.5; color: #153e35; min-height: 48px !important; }
body.storefront .product-card .price { font-size: 19px; color: #153e35; letter-spacing: -.04em; }
body.storefront .product-card .price :is(small, del) { font-size: 11px; }
body.storefront .product-card .add-btn { color: white; background: #2b6a43; border-color: #2b6a43; border-radius: 10px; font-size: 11px; line-height: 1.4; }
body.storefront .product-card .fav-btn { background: #ffffffed; color: #2b6a43; }
body.storefront .product-card :is(.tag, .campaign-tag, .product-campaign-tag, .brand) { font-size: 10px; color: #52674f; }
body.storefront :is(.primary, .online-action) { background: #2b6a43; border-color: #2b6a43; color: white; }
body.storefront :is(.primary, .online-action):hover { background: #215336; }
body.storefront .secondary { color: #153e35; border-color: #b8cfa7; background: #f5f8ef; }
body.storefront :is(.retail-departments, #product-dialog, #cart-dialog) {
  background: rgba(247, 250, 242, .97);
  color: #153e35;
  border: 1px solid #ffffffed;
  border-radius: 22px;
  box-shadow: 0 20px 60px #153e3530;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
body.storefront dialog::backdrop { background: #102e27a8; backdrop-filter: blur(5px); }
body.storefront #cart-dialog { width: min(560px, calc(100vw - 16px)); max-height: 85dvh; padding: 0; }
body.storefront #cart-dialog[open] { display: flex; flex-direction: column; }
body.storefront #cart-dialog .dialog-head { flex: 0 0 auto; padding: 16px; border-bottom: 1px solid #d4e0cb; gap: 8px; flex-wrap: nowrap; }
body.storefront #cart-dialog .dialog-head h2 { font-size: 22px; color: #153e35; margin: 3px 0 8px; }
body.storefront #cart-dialog .dialog-head .eyebrow { font-size: 9px; color: #2b6a43; }
body.storefront .cart-secure-copy { margin: 0; font-size: 11px; color: #52674f; line-height: 1.5; max-width: 34ch; }
body.storefront .cart-secure-copy strong { color: #153e35; font-weight: 750; }
body.storefront #cart-content { min-height: 0; flex: 1 1 auto; padding: 0 16px; overflow-y: auto; overscroll-behavior: contain; }
body.storefront #cart-dialog .cart-checkout-footer { position: sticky; bottom: 0; flex: 0 0 auto; max-height: 36dvh; overflow: auto; padding: 12px 16px max(14px, env(safe-area-inset-bottom)); background: #f6f8f1f5; border-top: 1px solid #bfd2b0; box-shadow: 0 -8px 20px #153e3509; }
body.storefront #cart-dialog .cart-total { margin: 0; font-size: 11px; }
body.storefront #cart-dialog .cart-total strong { font-size: 16px; }
body.storefront #cart-dialog .cart-grand-total { color: #153e35; font-size: 13px; margin: 4px 0 8px; }
body.storefront #cart-dialog .online-action { width: 100%; min-height: 48px !important; border-radius: 12px; font-size: 14px; }
body.storefront .cart-payment-marks { color: #52674f; margin-top: 6px; gap: 14px; font-size: 10px; }
body.storefront #cart-dialog .checkout-footnote { font-size: 10px; margin: 4px 0 0; color: #52674f; }
body.storefront .cart-item-info { min-width: 0; }
body.storefront .cart-item-info strong { font-size: 12px; line-height: 1.5; }
body.storefront .cart-item-info small { font-size: 10px; color: #52674f; }
body.storefront .cart-item > b { font-size: 12px; white-space: normal; }
body.storefront .qty { display: inline-flex; align-items: center; }
body.storefront .qty button { padding: 8px; color: #153e35; }
body.storefront .cart-item .remove { color: #86534e; font-size: 11px; }
body.storefront #cart-delivery > label { color: #153e35; font-size: 12px; }
body.storefront #cart-delivery-message { font-size: 11px; color: #52674f; }
body.storefront .cart-delivery-choice { background: #ffffffcf; border-color: #c4d6b7; padding: 12px; flex-wrap: wrap; }
body.storefront .cart-delivery-choice :is(b, strong) { font-size: 12px; color: #153e35; }
body.storefront .cart-delivery-choice small { font-size: 10px; color: #52674f; }
body.storefront .cart-tools { gap: 8px; }
body.storefront .cart-tools :is(p, button), body.storefront .cart-notice { font-size: 11px; }
body.storefront .mobile-cart {
  display: flex;
  position: fixed;
  inset: auto 12px max(12px, env(safe-area-inset-bottom)) 12px;
  z-index: 30;
  width: auto;
  max-width: 560px;
  margin-inline: auto;
  border: 1px solid #75a967;
  border-radius: 18px;
  background: rgba(21, 62, 53, .97);
  color: #f6f8f1;
  box-shadow: 0 8px 24px #153e3535;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 12px 16px;
  min-height: 62px !important;
  gap: 12px;
  font-size: 13px;
}
body.storefront .mobile-cart > span { flex: 1; text-align: left; }
body.storefront .mobile-cart strong { display: block; color: #c7dcb5; font-size: 11px; margin-top: 2px; font-weight: 500; }
body.storefront .mobile-cart b { background: #f6f8f1; color: #153e35; padding: 2px 6px; font-size: 11px; border-radius: 5px; }
body.storefront:has(dialog[open]) .mobile-cart { display: none; }
body.storefront #toast { bottom: calc(94px + env(safe-area-inset-bottom)); background: #153e35; color: white; font-size: 12px; }
body.storefront .authority-footer { background: #153e35; color: #f6f8f1; }
body.storefront .authority-footer :is(a, h3) { color: #f6f8f1; }
body.storefront .authority-footer :is(p, small, .footer-bottom) { color: #cbdcbc; font-size: 11px; }
body.storefront .authority-footer a { font-size: 12px; }
body.storefront .retail-dialog-head { background: #f7faf2; }
body.storefront .retail-departments :is(button, a) { color: #153e35; }
body.storefront .privacy-choice { background: #153e35f5; }
@media (min-width: 701px) {
  body.storefront .retail-header header { grid-template-columns: auto minmax(200px, 1fr) auto; gap: 24px; padding: 14px 24px; }
  body.storefront .retail-menu-trigger { display: none; }
  body.storefront .retail-header .brand { min-width: 160px; }
  body.storefront .retail-header .brand-tagline { font-size: 12px; }
  body.storefront .retail-header .brand-tagline strong { font-size: 15px; }
  body.storefront .retail-header .retail-search { grid-column: auto; grid-row: auto; }
  body.storefront .retail-header .retail-orders { display: flex; }
  body.storefront .retail-orders :is(small, b) { font-size: 11px; }
  body.storefront .retail-header .cart-btn .desktop { display: inline; font-size: 12px; }
  body.storefront .authority-hero { grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 36px; }
  body.storefront .authority-hero h1 { font-size: clamp(32px, 4vw, 48px); }
  body.storefront .authority-hero-copy > p { font-size: 14px; }
  body.storefront .authority-hero-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.storefront .hero-equipment-card img { height: 240px; }
  body.storefront .experience-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 24px; }
  body.storefront .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
@media (min-width: 1050px) { body.storefront .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 360px) {
  body.storefront .retail-header header { padding-inline: 12px; gap: 4px; }
  body.storefront main { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  body.storefront :is(button, a) { transition: none; }
  body.storefront :is(button:not(:disabled), a):active { transform: none !important; }
}
@supports not (backdrop-filter: blur(1px)) {
  body.storefront .product-card, body.storefront .store-header.retail-header { background: #f7faf2; }
}
/* Explicitly override legacy font shorthands on titles. */
body.storefront :is(.authority-hero h1, .catalog-title h1, .catalog-title h2,
  .reviews-heading h2, .compact-contact h2, .faq-section h2,
  .promo-blackfriday .bf-copy h2, .campaign-heading h2, #cart-dialog h2) { line-height: 1.15; }
body.storefront .product-card .card-brand { font-size: 10px; color: #52674f; }
body.storefront .product-card .favorite { background: #ffffffed; color: #2b6a43; }
body.storefront #privacy-choice { background: #153e35f5; border-color: #86a276; }
body.storefront #privacy-choice :is(button, a) { font-size: 12px; }
body.storefront #privacy-choice button { color: #153e35; background: #f6f8f1; }
body.storefront #privacy-choice :is(p, strong) { font-size: 12px; }
