/* Small additions for pages the original static export did not include (checkout, account, forms).
   Inherits fonts and colors from the original theme variables. */
.store-page { padding-block: 32px 64px; }
.store-narrow { max-width: 760px; }
.store-crumb { margin-bottom: 12px; }
.store-empty { margin: 24px 0; }
.store-section-title { margin: 48px 0 16px; }
.store-related { padding-bottom: 48px; }
.store-flash { margin: 16px auto; max-width: 1200px; padding: 12px 16px; border-radius: 10px; background: rgba(var(--color-foreground, 18,18,18), .06); }
.store-flash--error { background: #fde8e8; color: #8a1c1c; }
.store-flash--ok { background: #e7f5ea; color: #1d5b2c; }
.store-notice { padding: 12px 16px; border-radius: 10px; background: rgba(var(--color-foreground, 18,18,18), .05); margin: 16px 0; }
.store-error { display: block; color: #b42318; font-size: .85em; margin-top: 4px; }
.store-form { display: grid; gap: 14px; }
.store-form h2 { margin: 16px 0 0; font-size: 1.2em; }
.store-form label { display: grid; gap: 6px; font-size: .95em; }
.store-form input, .store-form textarea, .store-search input, .store-qty {
  font: inherit; padding: 12px 14px; border: 1px solid rgba(var(--color-foreground, 18,18,18), .25); border-radius: 10px; background: #fff; width: 100%; box-sizing: border-box;
}
.store-qty { width: 84px; }
.store-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.store-search { display: flex; gap: 8px; margin: 16px 0 24px; max-width: 640px; }
.store-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.store-table th, .store-table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid rgba(var(--color-foreground, 18,18,18), .1); vertical-align: middle; }
.store-line { display: flex; gap: 12px; align-items: center; }
.store-line img { border-radius: 8px; object-fit: cover; }
.store-line small { display: block; opacity: .7; }
.store-cart-footer { display: grid; justify-items: end; gap: 10px; }
.store-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.store-checkout-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
.store-summary { position: sticky; top: 20px; padding: 20px; border-radius: 16px; background: rgba(var(--color-foreground, 18,18,18), .04); display: grid; gap: 12px; }
.store-summary .store-line { justify-content: space-between; }
.store-summary .store-line > div { flex: 1; }
.store-summary dl { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin: 8px 0 0; }
.store-summary dd { margin: 0; text-align: right; }
@media (max-width: 800px) { .store-checkout-grid { grid-template-columns: 1fr; } .store-summary { position: static; order: -1; } }
.p-qty-row { display: flex; gap: 10px; margin-top: 16px; }
.p-qty-row .button { flex: 1; }
.p-details { margin-top: 18px; border-top: 1px solid rgba(var(--color-foreground, 18,18,18), .1); padding-top: 12px; }
.p-details summary { cursor: pointer; font-weight: 600; }
.p-thumb { cursor: pointer; }
.store-collection-card { display: grid; gap: 8px; text-decoration: none; color: inherit; }
.store-collection-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: #f3efe6; }
/* Cart drawer lines */
.store-drawer-lines { list-style: none; margin: 0; padding: 0 0 8px; display: grid; gap: 14px; }
.store-drawer-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: start; }
.store-drawer-line img { border-radius: 8px; object-fit: cover; background: #f3efe6; }
.store-drawer-title { color: inherit; text-decoration: none; font-weight: 600; }
.store-drawer-info small { display: block; opacity: .7; }
.store-drawer-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.store-drawer-qty button { border: 1px solid rgba(var(--color-foreground, 18,18,18), .2); background: none; border-radius: 6px; min-width: 28px; height: 28px; cursor: pointer; font: inherit; }
.store-drawer-qty .store-drawer-remove { border: 0; text-decoration: underline; opacity: .7; }
.store-quick-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.store-quick-head img { border-radius: 10px; object-fit: cover; }
.store-quick-form { display: grid; gap: 12px; }
.store-404 { text-align: center; }
.store-404 .store-search { margin-inline: auto; }
body.overflow-hidden { overflow: hidden; }
cart-drawer:not(.is-empty) .drawer__inner-empty { display: none; }
cart-drawer.is-empty .drawer__header, cart-drawer.is-empty .shc-drawer__body, cart-drawer.is-empty .drawer__footer { display: none; }
cart-drawer .shc-drawer__body { flex: 1; min-height: 0; overflow-y: auto; }
/* Keep touch selection clean, while retaining a circular keyboard focus indicator. */
.shc3-pdp .shc3-color-label,
.shc3-pdp .shc3-color-label * { -webkit-tap-highlight-color: transparent; }
.shc3-pdp .shc3-color-label input:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.shc3-pdp .shc3-color-label input:focus:not(:focus-visible) + .shc3-swatch { outline: none; }
.shc3-pdp .shc3-color-label input:focus-visible + .shc3-swatch { outline: 2px solid var(--p-ink); outline-offset: 3px; border-radius: 50%; }
.shc3-pdp .p-image-stage { position: relative; touch-action: pan-y; }
.shc3-pdp .p-gallery-stage { position: relative; min-width: 0; width: 100%; }
.shc3-pdp .p-gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--p-ink); border-radius: 50%; background: var(--p-paper); color: var(--p-ink); font: inherit; font-size: 28px; line-height: 1; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.shc3-pdp .p-gallery-arrow--prev { left: 12px; }
.shc3-pdp .p-gallery-arrow--next { right: 12px; }
