.compact-gallery { padding-block: .65rem .7rem; }
.compact-gallery .product-gallery-heading { margin: 0 0 .45rem; }
.compact-gallery .product-gallery-heading h2 { font-size: clamp(1rem, 1.7vw, 1.3rem); line-height: 1.25; margin: 0; }
.compact-gallery .product-gallery-controls { gap: .3rem; }
.compact-gallery .product-gallery-controls button { padding: 0 .55rem; min-height: 2.25rem; min-width: 2.25rem; font-size: .875rem; }
.compact-gallery .home-product-list { position: relative; scroll-snap-type: none; scroll-behavior: auto; gap: .45rem; scrollbar-width: none; }
.compact-gallery .home-product-list::-webkit-scrollbar { display: none; }
.compact-gallery .home-product-list li { display: block; flex: 0 0 clamp(4.9rem, 20vw, 8.25rem); border: 0; border-radius: 0; background: none; }
.product-thumb { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .2rem; height: 100%; border: 2px solid transparent; border-radius: .7rem; text-align: center; font-size: .875rem; font-weight: 700; line-height: 1.18; color: var(--navy); }
.compact-gallery .product-thumb img { width: clamp(3rem, 10vw, 4rem); height: clamp(3rem, 10vw, 4rem); border-radius: .45rem; object-fit: cover; }
.product-thumb:is(:active,:focus-visible,.is-held) { background: var(--paper); border-color: var(--orange); outline: 0; }
@media (hover:hover) { .product-thumb:hover { background: var(--paper); border-color: var(--orange); } }
.compact-gallery .product-gallery-caption { margin: .25rem 0 0; font-size: .78rem; }
.product-detail { position: fixed; width: min(24rem, calc(100% - 2rem)); max-height: 85vh; overflow: auto; padding: 1.4rem; border: 1px solid var(--line); border-radius: 1rem; color: var(--ink); }
.product-detail::backdrop { background: rgb(0 30 20 / 58%); }
.product-detail .product-detail-image { width: 100%; height: min(30vh, 13rem); object-fit: contain; border-radius: .5rem; }
.product-detail h2 { font-size: 1.45rem; margin: .8rem 0 .3rem; line-height: 1.25; }
.product-detail-copy p { margin: 0 0 1rem; }
.product-close { position: absolute; top: .5rem; right: .5rem; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--navy); font-size: 1.4rem; cursor: pointer; }
