/* Web store (App\Store): uses the theme tokens from base.css. */
.store-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 20px; padding: 10px 14px; background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.store-bar-home { font-weight: 700; text-decoration: none; }
.store-search { display: flex; gap: 8px; flex: 1 1 260px; min-width: 0; }
.store-search input { flex: 1; min-width: 0; min-height: 40px; }
.store-cart-link { font-weight: 700; text-decoration: none; white-space: nowrap; }
.store-cart-count { display: inline-block; min-width: 1.6em; padding: 1px 6px; border-radius: 99px; background: var(--c-accent); color: var(--c-accent-text); text-align: center; font-size: .85rem; }
.store-layout { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .store-layout { grid-template-columns: 260px minmax(0, 1fr); } }
.store-filters { background: var(--c-surface); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); align-self: start; }
.store-filters fieldset { border: 0; padding: 0; margin: 0 0 12px; }
.store-filters legend, .store-side-title { font-weight: 700; font-size: 1rem; margin: 0 0 8px; }
.store-filters .field { margin-bottom: 10px; }
.store-filters input, .store-filters select { width: 100%; }
.store-cats { margin-top: 18px; }
.store-cats ul { list-style: none; margin: 0; padding: 0; }
.store-cats li { padding: 3px 0; }
.store-cats .depth-2 { padding-left: 14px; }
.store-cats .depth-3 { padding-left: 28px; }
.store-cats a[aria-current] { font-weight: 700; }
.store-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .store-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.store-card { background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.store-card-media { display: block; aspect-ratio: 1 / 1; background: #fff; }
.store-card-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.store-noimg { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 120px; color: var(--c-muted); font-size: .9rem; background: color-mix(in srgb, var(--c-text) 5%, transparent); }
.store-noimg-lg { aspect-ratio: 1 / 1; border-radius: var(--radius); }
.store-card-body { padding: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.store-card-title { font-size: 1rem; margin: 0; line-height: 1.3; overflow-wrap: anywhere; }
.store-card-title a { text-decoration: none; color: inherit; }
.store-brand { margin: 0; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); }
.store-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.store-price .was { color: var(--c-muted); }
.store-price-lg { font-size: 1.4rem; margin: 6px 0; }
.store-avail { margin: auto 0 0; font-size: .86rem; font-weight: 600; }
.store-avail-in_stock { color: #166534; }
.store-avail-special_order { color: #92400e; }
.store-avail-unavailable { color: #991b1b; }
.store-product { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .store-product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.store-main-img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border-radius: var(--radius); }
.store-thumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 10px 0 0; }
.store-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 6px; background: #fff; cursor: pointer; }
.store-thumbs button[aria-current="true"] { border-color: var(--c-primary); }
.store-thumbs img { display: block; width: 72px; height: 72px; object-fit: contain; }
.store-availability { padding: 12px 14px; border-radius: var(--radius-sm); background: color-mix(in srgb, currentColor 8%, transparent); margin: 12px 0; }
.store-availability ul { margin: 6px 0 0; padding-left: 18px; color: var(--c-text); }
.store-availability p { margin: 6px 0 0; color: var(--c-text); }
.store-add { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 12px 0; }
.store-add .field { margin: 0; }
.store-add input[type=number] { width: 90px; }
.store-facts { padding-left: 18px; color: var(--c-muted); }
.store-details { display: grid; gap: 8px 32px; margin-top: 32px; }
@media (min-width: 900px) { .store-details { grid-template-columns: 2fr 1fr; } .store-details > section:first-child { grid-row: span 2; } }
.store-fitment { columns: 2; padding-left: 18px; }
.store-cart-table { width: 100%; border-collapse: collapse; }
.store-cart-table th, .store-cart-table td { padding: 10px 8px; border-bottom: 1px solid color-mix(in srgb, var(--c-text) 12%, transparent); text-align: left; vertical-align: top; }
.store-cart-item { display: flex; gap: 10px; align-items: flex-start; min-width: 200px; }
.store-cart-item img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 4px; flex: none; }
.store-qty { width: 72px; }
.store-promo { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 18px 0; }
.store-promo .field { margin: 0; }
.store-totals { margin: 16px 0; max-width: 420px; }
.store-totals > div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; }
.store-totals dt { font-weight: 600; }
.store-totals dd { margin: 0; }
.store-total { border-top: 2px solid currentColor; margin-top: 4px; padding-top: 8px !important; font-size: 1.15rem; }
.store-checkout fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.store-checkout legend { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.store-checkout .check { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0; }
.store-ff { margin-top: 12px; }
.store-methods { margin-top: 12px !important; }
.store-review { padding-left: 18px; }
.store-place { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 12px 0; }
.store-status { font-size: 1.05rem; }
.store-replaced { padding: 10px 12px; background: #fef3c7; color: #422006; border-radius: var(--radius-sm); }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 24px 0; }
@media print { .store-bar, .store-filters, .store-add, .store-place { display: none !important; } }
