.header-actions { gap:10px; }
.cart-icon-only,.help-icon { position:relative; background:transparent; border:0; color:inherit; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; width:44px; min-height:44px; padding:8px; flex-shrink:0; }
.help-icon svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; }
#cartCount { position:absolute; right:0; top:0; font-size:10px; border-radius:20px; padding:2px 5px; background:#171715; color:#fff; }
.shop-panel { box-sizing:border-box; position:fixed; inset:0 0 0 auto; margin:0; width:50vw; max-width:none; height:100dvh; max-height:100dvh; padding:0; border:0; background:#f3f0e8; color:#171715; overflow:hidden; }
.shop-panel[open] { display:flex; flex-direction:column; animation:shop-enter .25s ease-out; }
.shop-panel::backdrop { background:#0008; }
.shop-panel-head { display:flex; align-items:center; justify-content:space-between; flex-shrink:0; padding:18px 24px; border-bottom:1px solid #17171533; background:#f3f0e8; }
.shop-panel-head h2 { font-size:clamp(22px,3vw,36px); margin:0; }
.shop-close { flex-shrink:0; width:48px; height:48px; font:36px/1 inherit; font-size:36px; border:1px solid #17171533; background:transparent; color:inherit; cursor:pointer; }
.shop-panel-body { overflow-y:auto; overscroll-behavior:contain; padding:24px; min-height:0; line-height:1.6; }
.shop-panel details { border-bottom:1px solid #17171533; padding:16px 0; }
.shop-panel summary { font-weight:700; cursor:pointer; padding:8px 0; }
.shop-panel a { color:inherit; }
.cart-item { border-bottom:1px solid #17171533; padding:0 0 20px; margin-bottom:20px; }
.cart-item.has-thumbnail { display:grid;grid-template-columns:88px minmax(0,1fr);column-gap:18px;align-items:start; }
.cart-item.has-thumbnail > :not(.cart-thumbnail) { grid-column:2;min-width:0;overflow-wrap:anywhere; }
.cart-thumbnail { grid-column:1;grid-row:1 / span 4;width:88px;height:88px;object-fit:cover;display:block;border-radius:3px; }
.cart-thumbnail[hidden] { display:none; }
.cart-item.has-thumbnail button { justify-self:start; }
.cart-item h3 { margin:0; font-size:22px; }.cart-item p { margin:8px 0; }
.cart-item button { background:transparent; color:inherit; border:0; text-decoration:underline; min-height:44px; cursor:pointer; }
.delivery-terms { margin:26px 0; padding-top:20px; border-top:1px solid #17171533; }
.shop-contact { display:block; padding:14px; margin-top:10px; border:1px solid; text-align:center; font-size:12px; font-weight:700; text-decoration:none; }
.shop-contact[hidden],#cartCount[hidden],#backToPiece[hidden] { display:none; }
.shop-open { overflow:hidden; }
.photo-v3 .quote-view { grid-template-columns:minmax(0,1.35fr) minmax(300px,.8fr); grid-template-areas:'piece quote' 'rooms quote'; gap:28px 4vw; align-items:start; padding:4vw; }
.photo-v3 .piece-column { grid-area:piece; min-width:0; }.photo-v3 .quote-card { grid-area:quote; min-width:0; width:auto; }
.photo-v3 .quote-view .room-section { grid-area:rooms; display:block; padding:0; min-height:0; background:transparent; color:inherit; }
.photo-v3 .room-copy { margin:0 0 20px; }.photo-v3 .room-copy h2 { font-size:28px; }.photo-v3 .room-copy p { display:none; }
.photo-v3 .piece-column h2 { font-size:clamp(28px,3vw,48px); }
#addToCart { margin-bottom:12px; background:#f3f0e8; color:#171715; width:100%; }
.result-topbar { height:auto; min-height:66px; gap:12px; }
.result-topbar .header-actions button { color:inherit; }
@keyframes shop-enter { from { transform:translateX(100%); } to { transform:translateX(0); } }
@media(max-width:760px) {
 .shop-panel { width:100vw; }.shop-panel-head { padding:12px 16px; padding-top:max(12px,env(safe-area-inset-top)); }.shop-panel-body { padding:18px; padding-bottom:max(24px,env(safe-area-inset-bottom)); }
 .header-actions { gap:2px; }.header-actions .request-album-direct,.header-actions .restart-global { max-width:96px; white-space:normal; padding:6px; font-size:8px; line-height:1.3; min-height:44px; }
 .header-actions .instagram-link,.header-actions .help-icon,.header-actions .cart-icon-only { min-width:36px; width:36px; }
 .result-topbar > span { display:none; }.result-topbar { justify-content:flex-end; }
 .photo-v3 .quote-view { grid-template-columns:minmax(0,1fr); grid-template-areas:'piece' 'rooms' 'quote'; padding:24px 16px; }
}
@media(prefers-reduced-motion:reduce){.shop-panel[open]{animation:none;}}
@media(max-width:400px) {
 .header-actions .request-album-direct,.header-actions .restart-global { max-width:64px; font-size:7px; padding:4px; }
 .header-actions .instagram-link,.header-actions .help-icon,.header-actions .cart-icon-only { min-width:32px; width:32px; padding:5px; }
 .gallery-v2:not(.gallery-result) .site-header { padding-left:8px; padding-right:8px; }
}
