/* --- BASE & FIX --- */
* { -webkit-tap-highlight-color: transparent; }
button:focus, input:focus, a:focus { outline: none; }

body {
    margin: 0; background-color: #f0f0f0;
    font-family: 'IBM Plex Mono', monospace; color: black;
    display: flex; flex-direction: column; align-items: center; min-height: 100vh;
}

#page-title { margin-top: 10px; text-align: center; width: 100%; font-family: 'IBM Plex Mono', monospace; }

.shop-container { width: 90%; max-width: 600px; padding-bottom: 50px; text-align: center; }
.shop-intro { font-size: 0.8em; color: #555; margin-bottom: 30px; text-transform: uppercase; }

/* --- GRID --- */
.album-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }

.shop-item { 
    position: relative; 
    cursor: pointer; 
    transition: transform 0.2s ease; 
}
.shop-item img { width: 100%; border-radius: 5px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: opacity 0.3s; }
.shop-item h3 { font-size: 0.8em; margin-top: 10px; text-transform: uppercase; }

/* Overlay quando selezionato */
.selection-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: calc(100% - 30px);
    background: rgba(0,0,0,0.7); color: white; display: flex; align-items: center;
    justify-content: center; border-radius: 5px; font-size: 0.8em;
    opacity: 0; transition: opacity 0.3s;
}

.shop-item.selected .selection-overlay { opacity: 1; }
.shop-item.selected img { transform: scale(0.95); }

/* --- FORM --- */
.order-form { background: white; padding: 25px; border-radius: 8px; box-shadow: 0 2px 15px rgba(0,0,0,0.05); text-align: left; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.7em; margin-bottom: 8px; color: #777; text-transform: uppercase; }

.summary-box {
    padding: 12px; background: #f9f9f9; border: 1px solid #eee;
    border-radius: 4px; font-size: 0.85em; min-height: 20px; color: #aaa;
}

.form-group input[type="email"] {
    width: 100%; padding: 12px; box-sizing: border-box;
    border: 1px solid #ddd; border-radius: 4px; font-family: 'IBM Plex Mono', monospace;
}

.submit-btn {
    width: 100%; padding: 15px; background: black; color: white;
    border: none; cursor: pointer; font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9em; transition: opacity 0.2s;
}
.submit-btn:hover { opacity: 0.8; }

/* --- MENU HAMBURGER UNIFORME --- */
.hamburger-menu { position: fixed; top: 20px; left: 20px; z-index: 1001; transition: visibility 0.2s, opacity 0.2s linear; }
.menu__btn { position: relative; display: flex; align-items: center; width: 26px; height: 26px; cursor: pointer; z-index: 1002; }
.menu__btn > span, .menu__btn > span::before, .menu__btn > span::after { display: block; position: absolute; width: 100%; height: 2px; background-color: black; transition-duration: .25s; }
.menu__btn > span::before { content: ''; top: -8px; }
.menu__btn > span::after { content: ''; top: 8px; }
.menu__box { display: block; position: fixed; visibility: hidden; top: 0; left: -100%; width: 300px; height: 100vh; margin: 0; padding: 80px 0; list-style: none; background-color: #ECEFF1; box-shadow: 2px 2px 6px rgba(0, 0, 0, .4); transition-duration: .25s; z-index: 1000; }
.menu__item { display: block; padding: 12px 24px; color: black; font-family: 'IBM Plex Mono', monospace; font-size: 20px; text-decoration: none; transition-duration: .25s; }
.menu__item:hover { background-color: #CFD8DC; }
#menu__toggle { display: none; }
#menu__toggle:checked ~ .menu__btn > span { transform: rotate(45deg); }
#menu__toggle:checked ~ .menu__btn > span::before { top: 0; transform: rotate(0deg); }
#menu__toggle:checked ~ .menu__btn > span::after { top: 0; transform: rotate(90deg); }
#menu__toggle:checked ~ .menu__box { visibility: visible; left: 0; }

@media (max-width: 600px) { .album-grid { gap: 15px; } }

/* Gestione visibilità */
.hidden {
    display: none !important;
}

/* Stile messaggio successo */
#success-message {
    padding: 60px 20px;
    animation: fadeIn 0.5s ease-out;
}

.success-icon {
    font-size: 4em;
    color: #4CAF50;
    margin-bottom: 20px;
}

#success-message h3 {
    letter-spacing: 2px;
    margin-bottom: 10px;
}

#success-message p {
    font-size: 0.85em;
    color: #555;
    line-height: 1.6;
}

/* --- STILE RIEPILOGO ORDINE --- */
.recap-box {
    margin: 25px auto;
    padding: 15px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    text-align: left;
    max-width: 280px;
}

.recap-title {
    font-size: 0.65em;
    color: #888;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#recap-list {
    font-size: 0.85em;
    line-height: 1.5;
    color: black;
    text-transform: uppercase;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}