/* Compact photo-led catalogue, with complete ordering in a focused detail view. */
.catalog-compact{gap:20px;align-items:stretch}
.catalog-compact .product-card{padding:0;overflow:hidden;border-radius:14px;background:#fff;min-width:0;text-align:center;gap:0}
.catalog-compact .product-card[hidden]{display:none}
.product-open{display:block;width:100%;padding:0;border:0;background:#fff;cursor:pointer}
.catalog-compact .product-card .product-photo{margin:0;border-radius:0;aspect-ratio:1;object-fit:contain}
.catalog-compact .product-card h2{font:600 19px/1.3 Arial,sans-serif;min-height:0;margin:20px 14px 10px;letter-spacing:0}
.product-name{font:inherit;color:inherit;border:0;background:none;padding:0;cursor:pointer;overflow-wrap:anywhere}
.catalog-compact .product-card>p,.catalog-compact .product-card>label,.catalog-compact .product-card>.quantity{display:none}
.catalog-compact .product-card .product-price{font:400 23px/1.3 Georgia,serif;min-height:0;margin:0 12px 18px;color:var(--gold)}
.product-view{border:0;border-top:1px solid var(--line);background:#fbf7ef;color:var(--ink);font:600 14px/1.4 Arial,sans-serif;padding:14px 8px;cursor:pointer;width:100%;margin-top:auto;min-height:48px}
.product-card[data-selected="true"] .product-view{background:var(--ink);color:#fff}
.product-open:focus-visible,.product-name:focus-visible,.product-view:focus-visible{outline:3px solid var(--gold);outline-offset:-4px}
.product-dialog{width:min(1050px,94vw);max-height:92dvh;padding:0;border:1px solid var(--line);border-radius:18px;color:var(--ink);background:#fffdf8;box-shadow:0 24px 90px #152d4655;overflow:auto;overscroll-behavior:contain}
.product-dialog::backdrop{background:#152d4688}
.detail-top{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:12px 22px;background:#fffdf8;border-bottom:1px solid var(--line);font-size:15px}
.detail-close{display:grid;place-items:center;width:44px;height:44px;background:white;color:var(--ink);border:1px solid var(--line);border-radius:50%;font-size:30px;cursor:pointer}
.detail-layout{display:grid;grid-template-columns:1fr 1fr;align-items:start}
.detail-picture{background:#fff;position:sticky;top:69px}
.detail-picture img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;display:block}
.detail-thumbnails{display:flex;gap:10px;padding:14px;background:#fff}
.detail-thumbnails button{width:76px;padding:3px;border:1px solid var(--line);background:#fff;cursor:pointer}
.detail-thumbnails button[aria-pressed="true"]{border:2px solid var(--gold)}
.detail-thumbnails img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.detail-copy{padding:32px}
.detail-badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.detail-badges span{padding:7px 10px;border-radius:5px;background:#eee6d8;font-size:14px;line-height:1.4}
.detail-copy h2{font:600 clamp(26px,3vw,36px)/1.2 Arial,sans-serif;letter-spacing:0;overflow-wrap:anywhere}
.detail-description{font-size:18px;margin:20px 0}
.catalog-compact .product-card>p.product-dimensions{display:block;font:400 14px/1.5 Arial,sans-serif;color:#536172;margin:0 12px 14px;min-height:0}
.detail-size{font-size:17px;line-height:1.6;padding:12px 14px;background:#f4efe5;border-radius:6px;margin:0 0 20px}
.detail-size[hidden]{display:none}
.detail-included{display:inline-block;background:var(--ink);color:white;padding:8px 12px;font-size:15px;margin:0 0 14px;border-radius:5px}
.detail-price{display:block;font-size:30px;color:var(--gold);line-height:1.3}
.detail-delivery{font-size:14px;line-height:1.6;color:#536172;margin:20px 0}
.detail-order label{font-size:16px}.detail-order .quantity{margin-bottom:22px}.detail-order .quantity button{width:48px;height:48px;cursor:pointer}.detail-order .quantity input{height:48px}
.detail-done{border:0;cursor:pointer;width:100%;font-size:16px;min-height:48px}
.detail-feedback:empty{display:none}.detail-list-link{display:block;margin-top:18px;text-align:center;font-size:16px}
@media(max-width:650px){.selection-grid.catalog-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.catalog-compact .product-card h2{font-size:16px;line-height:1.35;margin:14px 8px 8px}.catalog-compact .product-card .product-price{font-size:21px;margin-bottom:14px}.product-view{font-size:14px;padding:12px 5px}.product-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0}.detail-layout{grid-template-columns:1fr}.detail-picture{position:static}.detail-picture img{max-height:52dvh}.detail-copy{padding:25px 22px 40px}.detail-top{padding:10px 18px}.selection-layout{gap:28px}}
@media(prefers-reduced-motion:reduce){.product-dialog{scroll-behavior:auto}}

.detail-gallery-caption{margin:0;padding:0 18px 18px;font-size:14px;line-height:1.5;color:#536172;background:#fff}.detail-thumbnails{flex-wrap:wrap}
