/* Revisione 16 · Dettaglio condiviso da Showroom e cinque categorie. */
.style-showroom #productSheet .bottom-sheet-backdrop { background: rgba(10,37,49,.66); backdrop-filter: blur(8px); }
.style-showroom #productSheet .bottom-sheet-content { width: calc(100% - 64px); max-width: 1360px; height: auto; max-height: calc(100dvh - 64px); left: 50%; bottom: 50%; transform: translate(-50%,calc(50% + 25px)); border-radius: 2px; background: #f7f4ef; box-shadow: 0 25px 80px #0a253140; }
.style-showroom #productSheet.open .bottom-sheet-content { transform: translate(-50%,50%); }
.pg-product-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px 32px; border-bottom: 1px solid #d4c8b8; flex-shrink: 0; }
.pg-product-heading > div { display: flex; flex-direction: column-reverse; gap: 8px; min-width: 0; }
.style-showroom #productSheet .sheet-product-title { font-family: 'PG Bodoni','Times New Roman',serif; font-size: clamp(2.3rem,3.6vw,3.8rem); line-height: 1; font-weight: 400; text-transform: none; letter-spacing: -.025em; color: #0A2531; margin: 0; overflow-wrap: anywhere; }
.style-showroom #productSheet .sheet-product-category { margin: 0; color: #75604e; font-size: .7rem; letter-spacing: .12em; }
.style-showroom #productSheet .bottom-sheet-drag-handle { width: 44px; height: 44px; min-width: 44px; margin: 0; border-radius: 2px; background: #a44726; border: 1px solid #c8815b; color: #fff; font-size: 1.8rem; transition: background .2s linear; }
.style-showroom #productSheet .bottom-sheet-body { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); gap: 36px; min-height: 0; flex: 1 1 auto; padding: 28px 32px; overflow-y: auto; scrollbar-gutter: stable; align-items: start; }
.pg-product-gallery,.pg-product-details { min-width: 0; }
.style-showroom #productSheet .carousel-container { aspect-ratio: 1.5; margin: 0; border-radius: 0; box-shadow: none; background: #eae4da; }
.style-showroom #productSheet .carousel-slide,.style-showroom #productSheet .carousel-slide img { background: #eae4da; }
.style-showroom #productSheet .carousel-slide img { object-fit: contain; }
.style-showroom #productSheet .carousel-dots { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 14px; margin: 18px 0 0; padding: 0; }
.style-showroom #productSheet .dots-center-wrapper { position: static; transform: none; min-width: 0; display: flex; gap: 8px; overflow-x: auto; padding: 3px; justify-content: flex-start; }
.style-showroom #productSheet .dot { flex: 0 0 64px; width: 64px; height: 48px; border: 1px solid transparent; border-radius: 0; background: #eae4da; opacity: 1; overflow: hidden; color: #0A2531; font: inherit; font-size: .7rem; }
.style-showroom #productSheet .dot.active { outline: 2px solid #a44726; outline-offset: 1px; background: #eae4da; opacity: 1; }
.style-showroom #productSheet .dot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.style-showroom #productSheet .carousel-arrow { width: 44px; height: 44px; min-width: 44px; padding: 0; margin: 0; align-self: center; border-radius: 2px; color: #fff; background: #a44726; border: 1px solid #c8815b; }
.style-showroom #productSheet .carousel-arrow::before { width: 13px; height: 13px; }
.pg-product-gallery-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; }
.pg-product-gallery-status { margin: 0; color: #75604e; font-size: .75rem; }
.pg-product-zoom { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; padding: 0; background: none; border: 0; border-bottom: 1px solid #b6a58d; border-radius: 0; color: #0A2531; font: inherit; font-size: .8rem; cursor: zoom-in; }
.pg-product-zoom[hidden] { display: none; }
.pg-product-details-kicker { font-size: .7rem; color: #75604e; letter-spacing: .1em; text-transform: uppercase; margin: 2px 0 20px; }
.style-showroom #productSheet .sheet-product-description { font-size: .95rem; line-height: 1.85; color: #52594e; margin: 0 0 28px; }
.style-showroom #productSheet .sheet-pdf-link { color: #0A2531; border-block: 1px solid #d4c8b8; width: 100%; margin: 0; padding-block: 18px; font-size: .75rem; }
.style-showroom #productSheet .sheet-pdf-link[hidden] { display: none; }
.style-showroom #productSheet .sheet-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: stretch; gap: 16px; padding: 20px 32px; background: #ece5db; border-top: 1px solid #d4c8b8; }
.pg-product-contact-note { margin: 0; color: #0A2531; font-family: 'PG Bodoni','Times New Roman',serif; font-size: 1.4rem; line-height: 1.2; align-self: center; }
.pg-product-contact-note span { display: block; margin-top: 8px; font: .8rem/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; color: #52594e; }
:root body #productSheet .sheet-actions .pg-action.pg-action { width: 100%; min-width: 0; min-height: 60px; margin: 0; }
.style-showroom #imageLightbox { background: rgba(10,37,49,.94); }
.style-showroom #imageLightbox > img { max-width: calc(100vw - 48px); max-height: calc(100dvh - 100px); border-radius: 0; }
.pg-product-zoom-close { position: absolute; top: 20px; right: 24px; display: grid; place-items: center; width: 44px; height: 44px; background: #a44726; border: 1px solid #c8815b; border-radius: 2px; color: #fff; font: 1.8rem/1 sans-serif; cursor: pointer; }
#productSheet :is(button,a):focus-visible,.pg-product-zoom-close:focus-visible { outline: 2px solid #a44726; outline-offset: 4px; box-shadow: 0 0 0 2px #fff; }
@media (hover:hover) {
 .style-showroom #productSheet :is(.carousel-arrow,.bottom-sheet-drag-handle):hover,.pg-product-zoom-close:hover { background: #82361d; color: #fff; }
}
@media (max-width:1000px) {
 .style-showroom #productSheet .bottom-sheet-body { grid-template-columns: 1fr; gap: 24px; }
 .style-showroom #productSheet .bottom-sheet-content { max-width: 780px; }
 .style-showroom #productSheet .sheet-actions { grid-template-columns: 1fr 1fr; }
 .pg-product-contact-note { display: none; }
}
@media (max-width:600px) {
 .style-showroom #productSheet .bottom-sheet-content { width: 100%; max-height: calc(100dvh - 12px); bottom: 0; left: 0; transform: translateY(25px); border-radius: 2px 2px 0 0; }
 .style-showroom #productSheet.open .bottom-sheet-content { transform: translateY(0); }
 .pg-product-heading { padding: 18px 20px; }
 .style-showroom #productSheet .bottom-sheet-body { padding: 20px; gap: 22px; }
 .style-showroom #productSheet .sheet-actions { padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); gap: 10px; }
 :root body #productSheet .sheet-actions .pg-action.pg-action { min-height: 64px; padding: 12px; font-size: .72rem; }
 .style-showroom #productSheet .carousel-dots { gap: 8px; }
 .style-showroom #productSheet .dot { flex-basis: 50px; width: 50px; height: 40px; }
 .style-showroom #productSheet .sheet-product-description { font-size: .9rem; line-height: 1.8; }
}
@media (prefers-reduced-motion:reduce) {
 .style-showroom #productSheet,.style-showroom #productSheet :is(.bottom-sheet-content,.carousel-track),.style-showroom #imageLightbox,.style-showroom #imageLightbox > img { transition: none; }
}
/* Lascia visibili miniature e ingrandimento anche sul desktop meno alto. */
@media (min-width:1001px) {
 .style-showroom #productSheet .carousel-container { max-height: clamp(180px,calc(100dvh - 500px),560px); }
}
/* Revisione 30 · Stesso ritmo lineare nei drawer e negli ingrandimenti prodotto. */
.style-showroom #productSheet { transition: opacity 300ms linear, visibility 0s linear 300ms; }
.style-showroom #productSheet.open { transition: opacity 300ms linear, visibility 0s linear 0s; }
.style-showroom #productSheet .bottom-sheet-content { transition: transform 300ms linear; }
.style-showroom #imageLightbox { transition: opacity 300ms linear, visibility 0s linear 300ms; }
.style-showroom #imageLightbox.open { transition: opacity 300ms linear, visibility 0s linear 0s; }
.style-showroom #imageLightbox > img { transform: none; transition: none; }
@media(prefers-reduced-motion:reduce) { .style-showroom #productSheet,.style-showroom #productSheet .bottom-sheet-content,.style-showroom #imageLightbox { transition: none !important; } }
.style-showroom #imageLightbox > img { opacity: 0; transition: opacity 200ms linear; }
.style-showroom #imageLightbox > img.is-photo-ready { opacity: 1; }
@media(prefers-reduced-motion:reduce) { .style-showroom #imageLightbox > img { transition: none !important; } }
