.shop-page { background: #fafaf8; }
.shop-page .site-header { padding-block: 14px; }
.store-heading { padding: 36px 0 26px; border-bottom: 1px solid var(--line); }
.store-heading h1 { font-size: 40px; letter-spacing: 0; }
.store-heading > p:last-child { margin-top: 8px; }
.store-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 32px; padding-top: 24px; }
.store-layout h2, .implementation h2 { font: 650 23px/1.3 var(--sans); }
.categories, .lab-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 12px; }
.shop-page button { cursor: pointer; text-align: center; }
.shop-page button:disabled { cursor: default; opacity: .57; }
.categories button, .step, .shop-page .secondary { background: #fff; color: var(--ink); padding: 6px 11px; border: 1px solid #a6ab9f; border-radius: 4px; font-size: 14px; }
.categories button[aria-pressed="true"] { background: #e5eddc; border-color: #789266; color: #294522; }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product { background: white; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.product img { width: 100%; height: auto; aspect-ratio: 4 / 2.7; object-fit: cover; display: block; background: #f1eee9; }
.product-body { padding: 12px; }
.product h3 { font-size: 16px; margin: 0 0 10px; }
.product select, #account { padding: 4px 6px; font-size: 13px; }
.product .primary { margin-top: 8px; width: 100%; justify-content: center; }
.product-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-top: 6px; font-size: 13px; }
.product-meta strong, .cart-total strong { color: #942d24; white-space: nowrap; }
.cart { border-left: 1px solid var(--line); padding-left: 24px; min-width: 0; }
.cart-heading, .cart-total { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.cart-heading > div { display: flex; align-items: center; gap: 7px; font-size: 13px; }
#account { width: auto; }
.empty { padding-block: 24px; }
.cart-item { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 8px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item label { font-weight: 650; }
.cart-item small { color: var(--muted); }
.quantity { display: flex; align-items: center; gap: 8px; }
.step { min-width: 28px; padding: 0 5px; }
.remove { align-self: start; justify-self: end; padding: 0; border: 0; background: transparent; color: #78382d; font-size: 13px; }
.cart-total { margin: 12px 0; font-size: 14px; }
.cart-total strong { font-size: 20px; }
.checkout { width: 100%; justify-content: center; }
.feedback { margin-top: 9px; color: var(--accent); font-size: 14px; }
.feedback:empty { margin: 0; }
.feedback ul { padding-left: 1.5em; margin: 4px 0; }
.feedback button { margin: 6px 0 0; }
.lab, .implementation { margin-block: 28px; border-block-start: 1px solid var(--line); padding-top: 16px; }
.lab summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.lab-actions { align-items: center; font-size: 14px; }
.lab-actions label { background: #eee; padding: 6px 10px; }
.implementation > p { margin-top: 8px; }
.implementation dt { font-weight: 650; }
.implementation dd { margin: 2px 0 12px; color: var(--muted); }
@media (max-width: 780px) {
  .store-layout { grid-template-columns: 1fr; gap: 22px; }
  .cart { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 0; }
}
@media (max-width: 410px) {
  .store-heading h1 { font-size: 29px; }
  .product-body { padding: 8px; }
}
