/* Marketplace browsing, scoped to the existing storefront. */
body.storefront {
  --market-green: #153e35;
  --market-accent: #1a7250;
  --market-muted: #626c67;
  --market-line: #e1e5e2;
  --market-surface: #fff;
  background: #f3f4f3;
  color: #252c28;
  font-family: "Plus Jakarta Sans", sans-serif;
}
body.storefront *, body.storefront *::before, body.storefront *::after { box-sizing: border-box; }
body.storefront main { max-width: 1280px; padding: 22px 24px 64px; margin: auto; }
body.storefront .announcement {
  min-height: 28px; padding: 4px max(24px, calc((100vw - 1232px)/2));
  background: #0e2e27; font-size: 11px; color: #fff;
}
body.storefront .announcement a { color: #eef7f1; font-size: 11px; }
body.storefront .store-header.retail-header {
  background: var(--market-green); border: 0; box-shadow: 0 2px 8px #10291c18;
  backdrop-filter: none;
}
body.storefront .retail-header header { max-width: 1280px; gap: 26px; padding: 14px 24px; }
body.storefront .retail-header .brand { min-width: 185px; gap: 10px; }
body.storefront .retail-header .brand-logo { width: 46px; height: 46px; flex-basis: 46px; border-radius: 50%; background: #fff; }
body.storefront .retail-header .brand-tagline { color: white; font: 600 10px/1.3 "Plus Jakarta Sans", sans-serif; letter-spacing: 1.7px; }
body.storefront .retail-header .brand-tagline strong { font-size: 18px; color: white; letter-spacing: .2px; }
body.storefront .retail-header .retail-search {
  height: 48px; max-width: none; border: 0; border-radius: 6px;
  background: white; box-shadow: 0 2px 6px #051d1720; overflow: hidden;
}
body.storefront .retail-header .retail-search input { font-size: 14px; padding: 12px 16px; background: white; color: #252c28; }
body.storefront .retail-header .retail-search input::placeholder { color: #69736c; font-size: 14px; }
body.storefront .retail-header .retail-search button { width: 52px; flex-basis: 52px; min-height: 48px; background: #fff; color: var(--market-green); border-left: 1px solid var(--market-line); }
body.storefront .retail-header .header-actions { gap: 15px; }
body.storefront .retail-header :is(.retail-orders,#favorites,.cart-btn) { color: white; min-height: 44px; }
body.storefront .retail-header #favorites { min-width: 44px; width: 44px; }
body.storefront .retail-header .retail-orders small { color: #d5e7dd; font-size: 11px; }
body.storefront .retail-header .retail-orders b { color: white; font-size: 13px; }
body.storefront .retail-header .cart-btn { border: 1px solid #ffffff3b; border-radius: 6px; background: #ffffff0c; padding: 9px 12px; gap: 9px; font-size: 13px; }
body.storefront .retail-header .cart-btn b { color: #153e35; background: #dbefb0; font-size: 12px; }
body.storefront #top-nav.retail-navigation {
  max-width: 1280px; margin: auto; padding: 0 24px; gap: 25px;
  border-top: 1px solid #ffffff1c; background: transparent; min-height: 44px;
}
body.storefront #top-nav #store-departments-toggle { color: #fff; min-height: 44px; border: 0; background: transparent; font-size: 13px; }
body.storefront #top-nav .retail-nav-links { gap: 25px; }
body.storefront #top-nav .retail-nav-links :is(a,button) {
  min-height: 44px; padding: 11px 0; font-size: 12px; line-height: 1.6; color: #f2f7f4;
  border: 0; border-radius: 0; background: transparent; white-space: nowrap;
}
body.storefront #top-nav .retail-nav-links [aria-pressed="true"] { color: #d8edac; box-shadow: inset 0 -3px #d8edac; }
body.storefront #top-nav .retail-nav-links :is(a,button):hover { color: #d8edac; }
body.storefront .retail-header :is(a,button,input):focus-visible { outline: 3px solid #c9e991; outline-offset: 3px; }
body.storefront .retail-search:focus-within { outline: 3px solid #c9e991; outline-offset: 2px; }

/* Short, product-led opening banner. */
body.storefront .authority-hero {
  background: linear-gradient(105deg,#e3eee5 0%,#f2f6ef 65%,#dae7dc 100%);
  color: var(--market-green); border: 1px solid #dce5dd; border-radius: 10px;
  grid-template-columns: 1.1fr 1fr; min-height: 0; gap: 16px; margin: 0;
  padding: 24px 32px; overflow: hidden; box-shadow: none;
}
body.storefront .authority-hero::before, body.storefront .authority-hero::after { content: none; }
body.storefront .hero-overline { color: #3e6751; font-size: 11px; letter-spacing: 1.8px; }
body.storefront .hero-overline i { background: #317449; box-shadow: none; }
body.storefront .authority-hero h1 { max-width: 540px; font-size: clamp(28px,3vw,40px); line-height: 1.12; margin: 10px 0; letter-spacing: -.04em; color: #153e35; }
body.storefront .authority-hero h1 em { color: #2f7150; font-style: normal; }
body.storefront .authority-hero-copy > p { max-width: 460px; font-size: 13px; line-height: 1.6; color: #4e6357; }
body.storefront .authority-hero-actions { margin: 16px 0 0; gap: 14px; }
body.storefront .hero-browse { min-height: 44px; border-radius: 6px; padding: 11px 23px; font-size: 13px; background: #153e35; color: white; }
body.storefront .whatsapp-cta { color: #153e35; background: transparent; border: 0; box-shadow: none; font-size: 12px; min-height: 44px; padding: 6px 0; }
body.storefront .hero-evidence { display: none; }
body.storefront .hero-equipment { padding: 0; grid-template-columns: 1fr 1fr; align-items: center; gap: 12px; }
body.storefront .equipment-label { display: none; }
body.storefront .hero-equipment-card { background: #ffffffb8; border: 1px solid #ffffffc9; border-radius: 10px; transform: none; min-height: 0; padding: 8px; box-shadow: 0 4px 16px #213f2710; }
body.storefront .hero-equipment-card img { height: 150px; padding: 0; object-fit: contain; }
body.storefront .hero-equipment-card > span { position: static; padding: 5px 6px 8px; background: transparent; }
body.storefront .hero-equipment-card small { font-size: 11px; color: #4a6c56; }
body.storefront .hero-equipment-card b { font-size: 11px; color: #153e35; line-height: 1.5; }
body.storefront .hero-equipment-note { display: none; }
body.storefront .purchase-guide {
  background: #fff; border: 1px solid var(--market-line); border-radius: 8px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 18px; margin: 14px 0 24px;
}
body.storefront .purchase-guide h2 { flex: 0 0 auto; font-size: 12px; margin: 0; }
body.storefront .purchase-step { font-size: 12px; color: #4f6056; gap: 9px; }
body.storefront .purchase-step b { width: 25px; height: 25px; font-size: 11px; color: #1a6547; background: #edf5ee; border-radius: 50%; display: grid; place-items: center; }

/* Existing campaigns retain their actual prices and conditions. */
body.storefront .store-promotion.promo-blackfriday { border-radius: 10px; padding: 20px 24px; gap: 10px 25px; }
body.storefront .promo-blackfriday .bf-copy h2 { font-size: clamp(26px,3vw,36px); }
body.storefront .promo-blackfriday .bf-copy p { font-size: 13px; }
body.storefront .promo-blackfriday .bf-visual { min-height: 160px; }
body.storefront .promo-blackfriday .bf-discount { min-height: 150px; }
body.storefront .promo-blackfriday .bf-discount > strong { font-size: 76px; }
body.storefront .promo-blackfriday .bf-discount > b { font-size: 24px; }
body.storefront .promo-blackfriday .promotion-photo img { height: 100px; }

/* Familiar browsing controls with a desktop filter rail. */
body.storefront .catalog { margin-top: 20px; padding-top: 0; scroll-margin-top: 150px; }
body.storefront .catalog-title { margin-bottom: 15px; align-items: center; }
body.storefront .catalog-title .eyebrow { display: none; }
body.storefront .catalog-title h2 { font-size: 22px; letter-spacing: -.025em; line-height: 1.2; }
body.storefront .catalog-help { font-size: 12px; }
body.storefront .store-assurances { display: none; }
body.storefront .unified-catalog { display: block; }
body.storefront .catalog .results { display: grid; grid-template-columns: 200px minmax(0,1fr); gap: 12px 22px; align-items: start; }
body.storefront .catalog-discovery, body.storefront .catalog-search-row { display: contents; }
body.storefront .catalog-search-main, body.storefront .search-help { display: none; }
body.storefront .filter-panel {
  grid-column: 1; grid-row: 1 / span 5; width: auto; min-width: 0;
  position: static; margin: 0; padding: 0; border: 1px solid var(--market-line);
  border-radius: 8px; background: #fff; box-shadow: none; overflow: hidden;
}
body.storefront .filter-panel > summary { display: flex; align-items: center; gap: 8px; min-height: 50px; border: 0; padding: 14px 16px; font-size: 14px; color: #293e32; }
body.storefront .filter-panel > summary span { display: none; }
body.storefront .filter-panel > summary::after { display: none; }
body.storefront .filter-panel > summary svg { width: 18px; height: 18px; }
body.storefront .filter-panel #sidebar {
  position: static; display: flex; flex-direction: column; gap: 18px; width: auto;
  padding: 0 16px 18px; margin: 0; border: 0; background: #fff; border-radius: 0; box-shadow: none;
}
body.storefront .catalog-field { width: 100%; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
body.storefront .catalog-field > span { font-size: 12px; font-weight: 700; color: #36473c; }
body.storefront .catalog-field > span svg { display: none; }
body.storefront .catalog-field select { min-height: 44px; width: 100%; border: 1px solid #d8dfd9; border-radius: 6px; background: #fff; color: #39483e; font: 400 12px "Plus Jakarta Sans",sans-serif; padding: 8px; }
body.storefront .catalog-price-range { display: grid; gap: 7px; padding: 0; border: 0; min-width: 0; flex: initial; width: 100%; }
body.storefront .catalog-price-range legend { font-size: 12px; margin-bottom: 10px; font-weight: 700; }
body.storefront .catalog-price-range label { font-size: 11px; min-width: 0; gap: 6px; }
body.storefront .catalog-price-range input { width: 100%; min-height: 44px; border: 1px solid #d8dfd9; border-radius: 6px; padding: 7px; background: white; font-size: 12px; }
body.storefront #sidebar .check { font-size: 12px; line-height: 1.5; min-height: 44px; gap: 8px; }
body.storefront #sidebar .check input { width: 18px; height: 18px; accent-color: #1a7250; flex: 0 0 auto; }
body.storefront .clear-filter-button { min-height: 44px; font-size: 12px; color: #176741; background: #edf5ee; border: 0; border-radius: 6px; }
body.storefront .category-shortcuts { grid-column: 2; grid-row: 1; margin: 0; padding: 0 0 2px; gap: 7px; display: flex; overflow-x: auto; white-space: nowrap; scroll-snap-type: x proximity; scrollbar-width: thin; border: 0; }
body.storefront .category-shortcuts :is(a,button) {
  flex: 0 0 auto; scroll-snap-align: start; min-height: 44px; padding: 10px 14px;
  border: 1px solid #dce3dc; background: #fff; color: #43594b; border-radius: 22px; font-size: 12px; font-weight: 500;
}
body.storefront .category-shortcuts [aria-pressed="true"] { color: #fff; border-color: #153e35; background: #153e35; }
body.storefront .results-toolbar { grid-column: 2; grid-row: 2; border: 0; background: transparent; padding: 4px 0; margin: 0; display: flex; gap: 15px; justify-content: space-between; align-items: center; }
body.storefront .results-toolbar > div { min-width: 0; }
body.storefront .results-toolbar h3 { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
body.storefront #result-count { color: #69736b; font-size: 11px; line-height: 1.5; display: block; }
body.storefront .results-toolbar .catalog-order-control { width: 190px; flex: 0 0 190px; display: flex; flex-direction: row; gap: 8px; align-items: center; }
body.storefront .catalog-order-control > span { flex: 0 0 44px; font-size: 11px; color: #69736b; }
body.storefront .catalog-order-control select { font-size: 11px; min-width: 0; flex: 1; padding: 8px 5px; background: #fff; }
body.storefront #results-cart { display: none; }
body.storefront #active-filters { grid-column: 2; grid-row: 3; margin: 0; }
body.storefront #active-filters:empty { display: none; }
body.storefront .filter-chip { min-height: 44px; border: 1px solid #d7e6db; background: #e7f0e8; color: #24573b; font-size: 12px; border-radius: 6px; padding: 8px 12px; }
body.storefront #product-grid { grid-column: 2; grid-row: 4; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
body.storefront #pagination { grid-column: 2; grid-row: 5; }
body.storefront .product-card { border: 1px solid #e4e8e4; border-radius: 8px; background: #fff; box-shadow: 0 1px 3px #1e392208; overflow: hidden; min-width: 0; transition: box-shadow .16s,border-color .16s; }
body.storefront .product-card:hover { border-color: #ced9d0; box-shadow: 0 6px 18px #19382412; transform: none; }
body.storefront .product-card .photo-btn { height: 188px; padding: 26px 12px 10px; background: #fff; border-bottom: 1px solid #f0f2ef; }
body.storefront .product-card .photo-btn img { width: 100%; height: 100%; object-fit: contain; }
body.storefront .product-card .favorite { width: 44px; height: 44px; min-width: 44px; min-height: 44px; top: 3px; right: 3px; background: #ffffffeb; color: #62806b; border: 0; border-radius: 50%; }
body.storefront .product-card .favorite.selected { color: #a24444; }
body.storefront .product-card .card-info { padding: 14px; gap: 5px; }
body.storefront .product-card .card-brand { font-size: 11px; line-height: 1.4; color: #6a746d; text-transform: uppercase; letter-spacing: .5px; }
body.storefront .product-card .name-btn { min-height: 44px !important; height: auto; font-size: 13px; font-weight: 500; line-height: 1.55; color: #303d33; text-decoration: none; margin: 0; }
body.storefront .product-card .name-btn:hover { color: #176741; text-decoration: underline; }
body.storefront .product-card .offer-label { align-self: start; max-width: 100%; color: #187146; background: #edf7ee; border: 0; border-radius: 4px; padding: 3px 5px; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
body.storefront .product-card .variant-note { font-size: 11px; color: #6c776f; min-height: 15px; margin: 0; }
body.storefront .product-card .card-bottom { margin-top: auto; padding-top: 9px; gap: 10px; align-items: stretch; }
body.storefront .product-card .card-price-block { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
body.storefront .product-card .price { font-size: 24px; font-weight: 650; line-height: 1.25; letter-spacing: -.04em; color: #242f27; }
body.storefront .product-card .quote-price { font-size: 18px; }
body.storefront .product-card .original-price { color: #758077; font-size: 11px; font-weight: 400; }
body.storefront .product-card .card-price-block > small { color: #69766c; font-size: 11px; }
body.storefront .product-card .in-cart-note { color: #167249; font-size: 11px; }
body.storefront .product-card .add-btn { min-height: 44px !important; width: 100%; background: #edf5ef; color: #176741; border: 1px solid #dce9de; border-radius: 5px; font-size: 12px; padding: 9px 8px; display: flex; justify-content: space-between; align-items: center; }
body.storefront .product-card .add-btn:hover { background: #dceee1; }
body.storefront .product-card .add-btn:disabled { color: #737c76; background: #f2f3f2; border-color: #e5e8e5; opacity: 1; }
body.storefront .product-card .badge { top: 11px; left: 8px; font-size: 11px; padding: 4px 6px; border-radius: 4px; }
body.storefront #pagination { margin-top: 12px; }
body.storefront #pagination button { min-height: 44px; min-width: 44px; border-radius: 6px; border: 1px solid #dfe6df; background: #fff; }
body.storefront #pagination .active { background: #153e35; color: white; }

/* A purchase summary and quantity controls that remain easy to reach. */
body.storefront #cart-dialog { background: #f5f6f5; border: 0; border-radius: 12px; box-shadow: 0 20px 90px #0e2e2740; }
body.storefront #cart-dialog .dialog-head { border-bottom: 1px solid #dfe6df; background: #fff; }
body.storefront #cart-dialog .cart-secure-copy { color: #607065; font-size: 12px; line-height: 1.5; }
body.storefront #cart-dialog .cart-tools { padding: 12px 0; align-items: center; }
body.storefront #cart-dialog .cart-tools h3 { font-size: 13px; }
body.storefront #cart-dialog .cart-tools button { min-height: 44px; font-size: 12px; }
body.storefront #cart-dialog .cart-market-items { border: 1px solid #e1e7e1; border-radius: 8px; background: #fff; overflow: hidden; }
body.storefront #cart-dialog .cart-market-item { padding: 18px 14px; border: 0; border-bottom: 1px solid #e9eee9; background: #fff; border-radius: 0; gap: 12px; }
body.storefront #cart-dialog .cart-market-item:last-child { border-bottom: 0; }
body.storefront #cart-dialog .cart-item-info > strong { font-size: 14px; line-height: 1.5; font-weight: 600; }
body.storefront #cart-dialog .cart-item-info > small { font-size: 11px; color: #718076; }
body.storefront #cart-dialog .qty { border: 1px solid #d7e2d9; background: white; border-radius: 6px; overflow: hidden; }
body.storefront #cart-dialog .qty button { min-width: 44px; min-height: 44px; background: white; color: #20623e; border: 0; }
body.storefront #cart-dialog .qty span { min-width: 28px; font-size: 13px; }
body.storefront #cart-dialog .remove { min-height: 44px; font-size: 12px; color: #737d76; }
body.storefront #cart-dialog .cart-savings-banner { border: 1px solid #cfebd7; background: #edf8ef; border-radius: 6px; color: #17643a; font-size: 12px; padding: 10px 12px; }
body.storefront #cart-dialog .cart-checkout-footer, body.storefront #cart-dialog .cart-summary-action { background: #fff; }
body.storefront #cart-dialog .cart-grand-total strong { color: #233c2d; letter-spacing: -.03em; }
body.storefront #cart-dialog .online-action { background: #176b48; border-color: #176b48; color: #fff; border-radius: 6px; min-height: 50px !important; }
body.storefront .mobile-cart { background: #153e35; color: white; border-radius: 10px; box-shadow: 0 6px 24px #163e3530; min-height: 56px; }
body.storefront :is(a,button,summary,select,input):focus-visible { outline: 3px solid #429968; outline-offset: 3px; }
body.storefront :is(button,a):active { transform: scale(.98); }
body.storefront .barber-reviews, body.storefront .store-contact, body.storefront .faq { border-radius: 10px; }
body.storefront .retail-departments { border-radius: 10px; border: 0; }
body.storefront .retail-departments :is(a,button) { min-height: 44px; }
body.storefront .retail-dialog-shortcuts button { border-radius: 6px; background: #eaf4ed; color: #1c6241; }

@media (max-width: 1120px) {
  body.storefront #product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body.storefront .catalog .results { grid-template-columns: 180px minmax(0,1fr); gap: 12px 16px; }
  body.storefront .retail-header .brand { min-width: 150px; }
  body.storefront .retail-header header { gap: 18px; }
}
@media (max-width: 800px) {
  body.storefront .catalog .results { display: block; }
  body.storefront .catalog-discovery { display: flex; flex-direction: column; gap: 10px; }
  body.storefront .catalog-search-row { display: block; }
  body.storefront .filter-panel { width: 100%; }
  body.storefront .filter-panel > summary { min-height: 44px; padding: 10px 14px; font-size: 12px; }
  body.storefront .filter-panel > summary::after { content: '+'; display: block; margin-left: auto; }
  body.storefront .filter-panel[open] > summary::after { content: '−'; }
  body.storefront .filter-panel #sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 8px 14px 16px; }
  body.storefront #sidebar .catalog-price-range { grid-column: 1 / -1; }
  body.storefront .category-shortcuts { width: 100%; padding-bottom: 3px; }
  body.storefront .results-toolbar { margin: 12px 0; }
  body.storefront #active-filters { margin-bottom: 10px; }
  body.storefront #product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body.storefront .purchase-guide { flex-wrap: wrap; gap: 9px 15px; }
}
@media (max-width: 700px) {
  body.storefront main { padding: 12px 12px 100px; }
  body.storefront .announcement { display: none; }
  body.storefront .retail-header header { grid-template-columns: 44px minmax(0,1fr) auto; padding: 10px 12px; gap: 8px; }
  body.storefront .retail-header .brand { min-width: 0; gap: 7px; }
  body.storefront .retail-header .brand-logo { width: 34px; height: 34px; flex-basis: 34px; }
  body.storefront .retail-header .brand-tagline { font-size: 8px; letter-spacing: 1px; }
  body.storefront .retail-header .brand-tagline strong { font-size: 13px; letter-spacing: .2px; }
  body.storefront .retail-menu-trigger { min-width: 44px; min-height: 44px; width: 44px; height: 44px; background: transparent; border: 1px solid #ffffff33; color: white; border-radius: 6px; }
  body.storefront .retail-header .header-actions { gap: 0; }
  body.storefront .retail-header #favorites { min-width: 44px; width: 44px; }
  body.storefront .retail-header .cart-btn { min-height: 44px; padding: 8px; background: transparent; border: 0; }
  body.storefront .retail-header .retail-search { height: 44px; border-radius: 5px; }
  body.storefront .retail-header .retail-search input { font-size: 16px; padding: 10px 12px; }
  body.storefront .retail-header .retail-search input::placeholder { font-size: 13px; }
  body.storefront .retail-header .retail-search button { min-height: 44px; height: 44px; width: 44px; flex-basis: 44px; }
  body.storefront #top-nav.retail-navigation { padding: 0 12px; }
  body.storefront #top-nav .retail-nav-links { gap: 23px; scroll-snap-type: x proximity; }
  body.storefront #top-nav .retail-nav-links :is(a,button) { font-size: 11px; scroll-snap-align: start; }
  body.storefront .authority-hero { padding: 19px 17px; grid-template-columns: 1.1fr .8fr; gap: 7px; border-radius: 8px; }
  body.storefront .hero-overline { font-size: 8px; letter-spacing: .6px; }
  body.storefront .hero-overline i { display: none; }
  body.storefront .authority-hero h1 { font-size: clamp(24px,6.3vw,32px); margin: 8px 0; }
  body.storefront .authority-hero-copy > p { font-size: 11px; line-height: 1.6; }
  body.storefront .authority-hero-actions { margin-top: 11px; }
  body.storefront .hero-browse { padding: 10px 14px; font-size: 12px; min-height: 44px; }
  body.storefront .authority-hero .whatsapp-cta { display: none; }
  body.storefront .hero-equipment { display: grid; grid-template-columns: 1fr; padding: 0; gap: 5px; }
  body.storefront .hero-equipment-main img { height: 112px; }
  body.storefront .hero-equipment-small { display: none; }
  body.storefront .hero-equipment-card { padding: 4px; border: 0; box-shadow: none; background: transparent; }
  body.storefront .hero-equipment-card > span { padding: 4px; }
  body.storefront .hero-equipment-card small { font-size: 8px; }
  body.storefront .hero-equipment-card b { font-size: 11px; line-height: 1.5; }
  body.storefront .purchase-guide { padding: 10px 12px; margin: 10px 0 18px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  body.storefront .purchase-guide h2 { grid-column: 1 / -1; font-size: 11px; }
  body.storefront .purchase-step { font-size: 11px; line-height: 1.5; align-items: flex-start; gap: 5px; }
  body.storefront .purchase-step b { flex: 0 0 19px; width: 19px; height: 19px; font-size: 11px; }
  body.storefront .catalog { margin-top: 16px; scroll-margin-top: 170px; }
  body.storefront .catalog-title h2 { font-size: 19px; }
  body.storefront .catalog-help { display: none; }
  body.storefront .category-shortcuts :is(a,button) { font-size: 11px; padding: 10px 13px; }
  body.storefront .results-toolbar { gap: 10px; align-items: center; }
  body.storefront .results-toolbar h3 { font-size: 13px; }
  body.storefront #result-count { font-size: 11px; }
  body.storefront .results-toolbar .catalog-order-control { flex: 0 0 142px; width: 142px; flex-direction: column; align-items: stretch; gap: 3px; }
  body.storefront .catalog-order-control > span { flex: initial; font-size: 11px; }
  body.storefront .catalog-order-control select { min-height: 44px; font-size: 11px; width: 100%; }
  body.storefront #product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  body.storefront .product-card .photo-btn { height: 160px; padding: 30px 9px 10px; }
  body.storefront .product-card .card-info { padding: 11px; gap: 4px; }
  body.storefront .product-card .name-btn { font-size: 12px; min-height: 44px !important; line-height: 1.5; }
  body.storefront .product-card .price { font-size: 22px; }
  body.storefront .product-card .quote-price { font-size: 15px; }
  body.storefront .product-card .add-btn { font-size: 11px; padding: 10px 7px; }
  body.storefront .product-card .card-brand { font-size: 11px; }
  body.storefront .product-card .variant-note { font-size: 11px; }
  body.storefront .product-card .offer-label { font-size: 11px; }
  body.storefront .product-card .original-price { font-size: 11px; }
  body.storefront .product-card .card-bottom { gap: 8px; }
  body.storefront .promo-blackfriday .bf-visual { min-height: 125px; }
  body.storefront .promo-blackfriday .bf-discount { min-height: 120px; }
  body.storefront .promo-blackfriday .bf-discount > strong { font-size: 61px; }
  body.storefront .promo-blackfriday .bf-copy h2 { font-size: 27px; }
  body.storefront #cart-dialog.cart-dialog { border-radius: 0; padding-inline: 12px; }
  body.storefront #cart-dialog .dialog-head { margin-inline: -12px; padding: max(12px,env(safe-area-inset-top)) 14px 10px; }
  body.storefront #cart-dialog .dialog-head .eyebrow { display: none; }
  body.storefront #cart-dialog .dialog-head h2 { font-size: 21px; }
  body.storefront #cart-dialog .cart-market-item { padding: 14px 10px; gap: 10px; }
  body.storefront #cart-dialog .cart-item-info > strong { font-size: 13px; }
  body.storefront #cart-dialog .cart-market-item > img { width: 54px; height: 64px; }
  body.storefront #cart-dialog .cart-line-amount b { font-size: 14px; }
  body.storefront #cart-dialog .cart-item-controls { gap: 8px; flex-wrap: wrap; }
  body.storefront #cart-dialog .cart-line-amount small { font-size: 11px; }
  body.storefront #cart-dialog .cart-checkout-footer { margin-inline: -12px; padding: 8px 14px max(12px,env(safe-area-inset-bottom)); }
  body.storefront #cart-dialog .cart-cep-jump { min-height: 44px; }
  body.storefront #cart-dialog .cart-mobile-breakdown summary { min-height: 44px; }
  body.storefront #cart-dialog .checkout-footnote { font-size: 11px; }
  body.storefront .mobile-cart { left: 12px; right: 12px; bottom: max(10px,env(safe-area-inset-bottom)); padding: 10px 16px; font-size: 13px; }
}
@media (max-width: 360px) {
  body.storefront .retail-header .brand-tagline strong { font-size: 11px; }
  body.storefront .retail-header .brand-logo { width: 28px; height: 28px; flex-basis: 28px; }
  body.storefront .product-card .photo-btn { height: 140px; }
  body.storefront .product-card .card-info { padding: 9px; }
  body.storefront .product-card .price { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  body.storefront :is(a,button):active { transform: none; }
  body.storefront .product-card { transition: none; }
}
body.storefront .retail-header .retail-search { position: relative; overflow: visible; }
body.storefront .retail-header .retail-search input { border-radius: 6px 0 0 6px; }
body.storefront .retail-header .retail-search > button { border-radius: 0 6px 6px 0; }
.market-search-suggestions {
  position: absolute; top: calc(100% + 7px); inset-inline: 0; z-index: 30;
  border: 1px solid #dce5dd; border-radius: 8px; overflow: hidden;
  background: #fff; color: #2c3b30; box-shadow: 0 12px 35px #0e2e2733;
  max-height: min(65dvh,430px); overflow-y: auto;
}
.market-search-suggestions[hidden] { display: none; }
.market-search-suggestions > p { padding: 11px 14px; font-size: 11px; color: #64776a; background: #f6f8f5; }
.market-search-suggestions > a { display: flex; align-items: center; gap: 11px; min-height: 64px; padding: 10px 14px; border-bottom: 1px solid #edf0ec; text-decoration: none; }
.market-search-suggestions > a:hover, .market-search-suggestions > a:focus-visible { background: #eef6ef; }
.market-search-suggestions img { flex: 0 0 42px; width: 42px; height: 42px; object-fit: contain; }
.market-search-suggestions span { flex: 1; font-size: 12px; line-height: 1.5; }
.market-search-suggestions small { display: block; margin-top: 2px; color: #68796e; font-size: 11px; }
.market-search-suggestions b { font-size: 12px; white-space: nowrap; }
body.storefront .retail-header .market-search-suggestions > button { width: 100%; padding: 11px 14px; min-height: 44px; color: #17633d; background: #f5faf5; font-size: 12px; border: 0; border-radius: 0; display: flex; justify-content: space-between; align-items: center; }
body.storefront .retail-header .market-search-suggestions > button span { flex: 0; }
@media(max-width:700px) {
  .market-search-suggestions > a { padding: 10px; gap: 8px; }
  .market-search-suggestions span, .market-search-suggestions b { font-size: 11px; }
}
/* Override the previous popover positioning with the inline filter rail. */
body.storefront #catalog .filter-panel { position: static; }
body.storefront #catalog #sidebar.catalog-filters {
  position: static; inset: auto; display: flex; flex-direction: column; width: auto;
  min-width: 0; max-width: none; max-height: none; transform: none;
  overflow: visible; padding: 0 16px 18px; box-shadow: none; background: #fff;
}
body.storefront #catalog .catalog-product-index { grid-column: 2; grid-row: 6; margin-top: 14px; }
body.storefront #catalog .category-shortcuts :is(a,button) { font-size: 12px; }
body.storefront .authority-hero .hero-browse { flex: 0 0 auto; }
body.storefront .retail-header .brand .brand-logo { background: white; mix-blend-mode: normal; filter: none; padding: 3px; }
@media(max-width:800px) {
  body.storefront #catalog #sidebar.catalog-filters { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); padding: 8px 14px 16px; }
}
@media(max-width:700px) {
  body.storefront #catalog .category-shortcuts :is(a,button) { font-size: 11px; }
  body.storefront #catalog .results-toolbar { flex-wrap: nowrap; }
}
body.storefront .retail-header .market-search-suggestions > a { display: flex; width: 100%; }
body.storefront .retail-header #open-cart { color: #fff; background: #ffffff0c; border-color: #ffffff3b; }
body.storefront .retail-header #open-cart b { background: #dbefb0; color: #153e35; }
body.storefront #catalog #sidebar.catalog-filters { border: 0; border-radius: 0; }
body.storefront #product-grid .photo-btn { display: flex; align-items: center; justify-content: center; overflow: hidden; height: 188px; min-height: 188px !important; }
body.storefront #product-grid .photo-btn img { height: 145px; max-height: 100%; width: 100%; object-fit: contain; }
@media(max-width:700px) {
  body.storefront #product-grid .photo-btn { height: 160px; min-height: 160px !important; }
  body.storefront #product-grid .photo-btn img { height: 120px; }
}
@media(max-width:360px) {
  body.storefront #product-grid .photo-btn { height: 140px; min-height: 140px !important; }
  body.storefront #product-grid .photo-btn img { height: 100px; }
}
