/* Customer contact controls share the storefront palette and serif headings. */
.storefront .catalog-contact {max-width:752px;margin:0 auto 28px;padding:20px 24px;border:1px solid var(--line);border-radius:2px;background:#f1eae1;display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.storefront .catalog-contact p {flex-basis:100%;margin:0}
.storefront .contact-link,.storefront #individual-button,.storefront .empty button,.storefront #individual-order button {display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:2px;border-color:var(--line);font-size:12px}
.storefront .contact-link {cursor:pointer;background:transparent;text-underline-offset:4px}
.storefront .contact-link.primary {display:flex;width:100%;background:var(--accent);border-color:var(--accent);color:#fffaf3;min-height:48px;font-size:13px}
.storefront .contact-link[aria-disabled=true] {opacity:.6;cursor:default;background:#e4ddd5;color:var(--muted);border-color:var(--line)}
.storefront .contact-link:focus-visible {outline:2px solid var(--accent);outline-offset:3px}
.storefront .order-contact {padding:20px;background:#f1eae1;border:0;border-radius:2px}
.storefront .order-contact .notice {font-size:12px}
.storefront .order-contact button {min-height:44px;font-size:12px;border-radius:2px;background:transparent;border-color:#cfc3b7}
.storefront .order-contact label {font-size:12px}
.storefront #public-context {font-size:14px;background:var(--paper);border-radius:2px;min-height:110px}
.storefront .empty button {margin:16px 6px 0;background:transparent}
.storefront #individual-order p {font-size:14px;line-height:1.7}
.storefront #individual-order .primary {margin:20px 0 12px}
.storefront [hidden] {display:none!important}
@media(max-width:799px) {.storefront .catalog-contact {margin:0 24px 28px}}
@media(max-width:420px) {.storefront .catalog-contact {margin-left:20px;margin-right:20px;padding:20px}.storefront .catalog-contact>a,.storefront .catalog-contact>button {width:100%}}

.storefront .card-back{position:sticky;top:0;z-index:2;max-width:calc(100% - 52px);margin:0 48px 16px 0;background:var(--paper,#fff);padding:10px 12px;}

.storefront .product-gallery {padding:0;border:0;background:transparent;border-radius:0;margin:16px 0}
.storefront .product-gallery .hero {display:block;width:100%;height:320px;min-height:0;margin:0;object-fit:contain}
.storefront .gallery-controls {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
.storefront .gallery-controls button {min-width:44px;min-height:44px;border-radius:2px;background:var(--paper)}
.storefront .gallery-controls button:disabled {opacity:.4;cursor:default}
.storefront .product-contact-bar {margin:0 0 16px;background:var(--paper);padding:8px 0}
.storefront #card button:focus-visible {outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:799px) {
 .storefront #card {max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 16px);padding:16px 16px calc(16px + env(safe-area-inset-bottom));scroll-padding-top:132px}
 .storefront .card-back {margin-bottom:8px;min-height:44px}
 .storefront .product-contact-bar {position:sticky;top:60px;z-index:1}
 .storefront .product-gallery .hero {height:240px;height:min(240px,35dvh)}
 .storefront .intro {padding:20px 24px;margin-bottom:20px}
 .storefront .intro .eyebrow {margin-bottom:10px}
 .storefront .intro p {font-size:30px;margin-bottom:12px}
 .storefront .intro-footer {gap:10px}
 .storefront .intro-footer small {display:none}
}

.storefront .catalog-search {max-width:752px;margin:0 auto 16px}
.storefront .catalog-search label {font-size:12px;margin:0 0 6px}
.storefront .catalog-search input {border-radius:2px;border-color:var(--line);background:var(--paper);min-height:44px;margin:0}
@media(max-width:799px) {.storefront .catalog-search {margin:0 24px 16px}}
@media(max-width:420px) {.storefront .catalog-search {margin-left:20px;margin-right:20px}}
