body { background: #fff; color: #333; font-family: Arial, sans-serif; }
.store-logo { width: 56px; height: 56px; object-fit: contain; }
a:hover { color: #337ab7; }
.store-footer { border-top: 1px solid #ddd; padding: 25px; font-size: 14px; }
.store-page { padding: 30px 20px; line-height: 1.6; }
.store-page p { margin-bottom: 16px; }
.taxonomies h6 { font: 600 16px Arial,sans-serif; margin: 10px 0; color: #337ab7; }
.taxonomies ul { border: 1px solid #ddd; }
.taxonomies li { border-bottom: 1px solid #ddd; padding: 12px; font-size: 14px; }
.products-grid > li { border: 1px solid #ddd; border-radius: 3px; background: #fff; }

.products-grid > li { aspect-ratio: auto; }
.products-grid article { padding: 12px; min-height: 190px; }
.products-grid .product-card_image { height: 100px; flex: 0 0 100px; }
.products-grid .product-card_image img { height: 100px; max-width: 150px; min-height: 0; }
.products-grid article > section:last-child { display: flex; flex-direction: column; align-items: center; margin-top: 12px; text-align: center; }
.products-grid .product-card_header { font: 600 14px Arial,sans-serif; color: #337ab7; background: transparent; }
.products-grid .product-card_price { margin: 8px 0 0; padding: 8px; border-radius: 3px; background: #3868dc; color: #fff; font-size: 14px; }
.store-variant { margin: 10px 0; }
.store-variant input { margin-right: 8px; }
/* Keep the official Starter Frontend components; adapt the header to this catalog. */
.store-header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid #dce2e8; }
.store-header__top { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 16px 24px; }
.store-header__brand { display: inline-flex; align-items: center; justify-content: center; }
.store-header__desktop-search { width: 100%; max-width: 660px; justify-self: center; }
.store-header__actions { display: flex; align-items: center; gap: 22px; white-space: nowrap; font-size: 15px; }
.store-header__actions a { padding: 10px 0; }
.store-header__menu-toggle, .store-header__drawer-heading, .store-header__mobile-search { display: none; }
.store-header__nav { position: relative; transform: none; background: #f7f9fb; border-top: 1px solid #edf0f3; }
.store-categories { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0 4px; padding: 0 14px; font-size: 14px; }
.store-categories > a, .store-category > summary { display: flex; align-items: center; gap: 7px; min-height: 48px; padding: 12px 10px; white-space: nowrap; border-radius: 4px; cursor: pointer; font-weight: 600; line-height: 1.4; }
.store-categories > a:hover, .store-category > summary:hover, .store-category[open] > summary { color: #245f91; background: #e8f0f7; }
.store-category { position: relative; }
.store-category > summary { list-style: none; }
.store-category > summary::-webkit-details-marker { display: none; }
.store-category__chevron { display: inline-block; font-size: 17px; line-height: 1; transition: transform .15s; }
.store-category[open] .store-category__chevron { transform: rotate(180deg); }
.store-submenu { position: absolute; top: 100%; left: 0; z-index: 60; width: 290px; max-width: calc(100vw - 32px); max-height: min(70vh, 620px); overflow-y: auto; overscroll-behavior: contain; padding: 8px; background: #fff; border: 1px solid #dce2e8; border-radius: 6px; box-shadow: 0 8px 24px #132b4526; }
.store-submenu ul { display: block; margin: 0; padding: 0; list-style: none; }
.store-submenu ul ul { padding-left: 12px; }
.store-submenu li { display: block; padding: 0; margin: 0; }
.store-submenu a { display: block; padding: 9px 12px; line-height: 1.45; white-space: normal; border-radius: 4px; }
.store-submenu a:hover, .store-submenu a:focus-visible { background: #edf4fa; color: #245f91; }
.store-submenu__all { font-weight: 600; border-bottom: 1px solid #edf0f3; margin-bottom: 5px; }
.store-header :focus-visible { outline: 2px solid #337ab7; outline-offset: 3px; }
.store-search { display: grid; grid-template-columns: minmax(160px, .9fr) minmax(140px, 1.3fr) auto; gap: 0; width: 100%; margin: 0; font-size: 14px; }
.store-search select, .store-search input, .store-search button { min-width: 0; width: 100%; height: 42px; border: 1px solid #aebdcb; padding: 9px 12px; background: #fff; color: #333; font: inherit; }
.store-search select { border-radius: 5px 0 0 5px; }
.store-search input { border-left: 0; border-right: 0; }
.store-search button { width: auto; border-radius: 0 5px 5px 0; border-color: #286493; background: #286493; color: #fff; cursor: pointer; font-weight: 600; }
.store-search button:hover { background: #1d5078; }
@media (max-width: 1023px) {
 .store-header { position: static; z-index: auto; }
 .store-header__top { grid-template-columns: 36px minmax(56px, 1fr) auto; gap: 12px; padding: 10px 20px; }
 .store-header__menu-toggle { display: flex; align-items: center; justify-content: center; min-height: 44px; cursor: pointer; }
 .store-header__brand { justify-self: center; }
 .store-header__actions { gap: 16px; font-size: 14px; }
 .store-header__desktop-search { display: none; }
 .store-header__nav { position: fixed; top: 0; left: 0; z-index: 60; width: min(88vw, 360px); height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; border: 0; background: #fff; transform: translateX(0); transition: transform .2s ease; }
 .store-header__nav.-translate-x-full { transform: translateX(-100%); }
 .store-header__drawer-heading { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid #edf0f3; font-weight: 600; }
 .store-header__drawer-heading button { width: 44px; height: 44px; font-size: 30px; font-weight: 400; cursor: pointer; }
 .store-header__mobile-search { display: block; padding: 20px; border-bottom: 1px solid #edf0f3; }
 .store-header__mobile-search .store-search { grid-template-columns: 1fr auto; gap: 8px; }
 .store-header__mobile-search select { grid-column: 1 / -1; }
 .store-header__mobile-search select, .store-header__mobile-search input, .store-header__mobile-search button { border: 1px solid #aebdcb; border-radius: 4px; }
 .store-header__mobile-search button { border-color: #286493; }
 .store-categories { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 12px 24px; }
 .store-categories > a, .store-category > summary { justify-content: space-between; min-height: 48px; padding: 12px; }
 .store-submenu { position: static; width: auto; max-width: none; max-height: none; margin: 0 10px 8px; padding: 0 0 0 8px; border: 0; border-left: 2px solid #d6e6f3; border-radius: 0; box-shadow: none; }
 li[data-js="product-thumbnail"] a, li[data-js="variant-thumbnail"] a { width: 80px; height: 80px; padding: 8px; flex: 0 0 80px; }
 li[data-js="product-thumbnail"] img { max-width: 100%; max-height: 100%; object-fit: contain; }
}
@media (prefers-reduced-motion: reduce) { .store-header__nav, .store-category__chevron { transition: none; } }
