/* =============================== STRUTTURA BASE (comune) =============================== */ .bottom-sheet { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(255,255,255,0.95); backdrop-filter: blur(6px); border-top: 1px solid #ddd; box-shadow: 0 -2px 10px rgba(0,0,0,0.15); display: none; flex-direction: column; z-index: 9999; } .bottom-sheet.open { display: flex; } /* Maniglia superiore */ .sheet-header { height: 16px; display: flex; justify-content: center; align-items: center; } .sheet-header::before { content: ""; width: 40px; height: 4px; background: #bbb; border-radius: 4px; } /* =============================== BOTTOM SHEET FOTO (MAPPA) BASSO — SOLO STRISCIA FOTO =============================== */ .photo-strip { height: 140px; /* altezza originale */ overflow-y: hidden; /* niente scroll verticale */ overflow-x: auto; /* scroll orizzontale per le foto */ } /* Miniature della striscia foto */ .sheet-gallery { display: flex; flex-direction: row; overflow-x: auto; padding: 10px; gap: 10px; } .sheet-item { width: 90px; height: 90px; border-radius: 10px; overflow: hidden; flex-shrink: 0; box-shadow: 0 2px 6px rgba(0,0,0,0.25); background: #eee; } .sheet-item img { width: 100%; height: 100%; object-fit: cover; } /* =============================== BOTTOM SHEET OPZIONI (⋮) ALTO — MENU COMPLETO =============================== */ .options-sheet { height: auto; /* grande */ max-height: 80vh; overflow-y: auto; /* scroll verticale */ } .sheet-content { padding: 20px; } /* Pulsanti del menu ⋮ */ .sheet-btn { width: 100%; padding: 12px; margin-bottom: 8px; text-align: left; background: #f5f5f5; border: none; border-radius: 8px; font-size: 15px; cursor: pointer; } .sheet-btn:hover { background: #e8e8e8; } /* Titoli delle sezioni del menu ⋮ */ #optionsSheet h3 { margin-top: 20px; margin-bottom: 10px; font-size: 16px; color: #444; } .sheet-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.0); /* invisibile */ display: none; z-index: 9998; /* appena sotto il bottom sheet */ } .sheet-overlay.open { display: block; }