/* Offertina - Main Stylesheet */

/* Importazione del font Nunito */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800&display=swap');

/* Stili per i marker della mappa */
.custom-marker {
    contain: strict;
}

.marker-pin {
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    background-color: #FF6934;
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -15px 0 0 -15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.marker-pin::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    z-index: 1;
}

.marker-pin span {
    transform: rotate(45deg);
    color: #FF6934;
    font-weight: bold;
    font-size: 10px;
    position: relative;
    z-index: 2;
}

/* Stili differenti in base alla fonte delle coordinate */
.marker-pin.business-coordinates {
    border: 2px dashed rgba(255, 255, 255, 0.7);
}

.marker-pin.offer-coordinates {
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.coordinate-source {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 10px;
    color: #1E293B;
}

/* Animazione pulsante per i marker con sconti elevati */
.marker-pin.high-discount {
    animation: marker-pulse 1.5s infinite ease-in-out;
}

@keyframes marker-pulse {
    0% {
        transform: rotate(-45deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: rotate(-45deg) scale(1.1);
        opacity: 0.9;
    }
    100% {
        transform: rotate(-45deg) scale(1);
        opacity: 1;
    }
}

:root {
    /* Palette colori - basati sul nuovo logo Offertina */
    --white: #ffffff;
    --primary: #FF6934;     /* Arancione del logo */
    --secondary: #1E293B;   /* Blu scuro del testo */
    --accent: #FF6934;      /* Arancione complementare */
    --success: #4CAF50;     /* Verde per conferme */
    --info: #2196F3;        /* Blu per informazioni */
    --warning: #FFC107;     /* Giallo per avvisi */
    --danger: #FF6934;      /* Arancione per errori/pericolo */
    --gray-light: #f5f5f5;
    --gray: #cccccc;
    --gray-dark: #1E293B;
    
    /* Font */
    --font-family: 'Nunito', sans-serif;
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.5;
    color: var(--gray-dark);
    background-color: var(--gray-light);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

/* Logo styling */
.offertina-logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.offertina-logo:hover {
    transform: scale(1.05);
}

.offertina-logo img {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    max-height: 90px;
    width: auto;
}

/* Override specifico per mobile */
@media (max-width: 768px) {
    .offertina-logo img {
        max-height: 90px !important;
        height: 90px !important;
    }
}

.offertina-logo span {
    font-weight: bold;
    color: var(--primary);
    margin-left: 8px;
    font-size: 1.4em;
    letter-spacing: 0.5px;
}

.logo-highlight {
    background: linear-gradient(45deg, var(--primary) 30%, var(--secondary) 70%);
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.navbar-nav {
    display: flex;
    list-style: none;
}

.nav-link {
    color: var(--gray-dark);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

/* Bottoni */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #E55A26;
    border-color: #E55A26;
    box-shadow: 0 4px 8px rgba(255, 105, 52, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
    font-weight: bold;
}

.btn-secondary:hover {
    background-color: #171F2E;
    border-color: #171F2E;
    box-shadow: 0 4px 8px rgba(30, 41, 59, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--gray);
    color: var(--gray-dark);
}

.btn-outline:hover {
    background-color: var(--gray-light);
}

.btn-link {
    color: var(--blue-paper);
    background-color: transparent;
    border: none;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.25rem;
}

/* Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--gray-dark);
    background-color: var(--white);
    border: 1px solid var(--gray);
    border-radius: 0.25rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--blue-paper);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 119, 204, 0.25);
}

/* Cards - Offerte */
.card {
    position: relative;
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card-text {
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.card-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 1rem;
}

.price-original {
    text-decoration: line-through;
    color: var(--gray);
    margin-right: 1rem;
}

.price-discount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Badge unificati per tempo offerta */
.offer-time-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Badge Flash - giallo */
.flash-badge {
    background-color: #ffc107; /* Giallo Bootstrap */
    color: #212529; /* Testo scuro per contrasto */
}

/* Badge Solo per oggi - verde */
.oggi-badge {
    background-color: #28a745; /* Verde Bootstrap */
    color: white;
}

/* Badge più grandi su mobile */
@media (max-width: 768px) {
    .offer-time-badge {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        font-weight: 800;
    }
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.card-category {
    display: inline-block;
    background-color: var(--ochre);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.card-business {
    font-weight: 600;
    color: var(--gray-dark);
}

.card-distance {
    color: var(--gray);
    font-size: 0.875rem;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.countdown-item {
    text-align: center;
    margin: 0 0.5rem;
}

.countdown-number {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, #c62828 100%);
    color: var(--white);
    padding: 0.5rem;
    border-radius: 0.5rem;
    min-width: 2.5rem;
    display: inline-block;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    color: var(--gray);
}

/* Map */
.map-container {
    width: 100%;
    height: 70vh;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Favorites */
.heart-icon {
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s;
    font-size: 1.25rem;
}

.heart-icon.active {
    color: var(--red-orange);
}

/* Subscription Plans */
.plan-card {
    padding: 2rem;
    text-align: center;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.plan-card.recommended {
    border: 2px solid var(--primary);
    position: relative;
    z-index: 1;
    transform: scale(1.05);
}

.plan-card.recommended:hover {
    transform: translateY(-10px) scale(1.05);
}

.recommended-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, #c62828 100%);
    color: var(--white);
    padding: 0.35rem 1.5rem;
    border-radius: 1.5rem;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.8;
}

.plan-card.recommended::before {
    height: 0;
}

.plan-card.recommended::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 202, 40, 0.07) 0%, rgba(244, 67, 54, 0.07) 100%);
    z-index: -1;
}

.plan-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1.5rem 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.plan-card.recommended .plan-price {
    color: var(--primary);
}

.plan-price small {
    font-size: 1rem;
    color: var(--gray);
    font-weight: normal;
    margin-left: 5px;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    padding-left: 0;
}

.plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    font-size: 1.1rem;
}

.plan-features li strong {
    color: var(--primary);
}

.plan-features li:before {
    content: '✓';
    color: var(--success);
    margin-right: 8px;
    font-weight: bold;
}

/* Stats Box */
.stats-box {
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.stats-box:hover {
    transform: translateY(-5px);
}

/* Admin Panel */
.admin-sidebar {
    background-color: var(--gray-dark);
    color: var(--white);
    height: 100%;
    padding: 1.5rem;
    position: sticky;
    top: 0;
}

.admin-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--red-orange);
    margin-bottom: 2rem;
    display: block;
}

.admin-menu {
    list-style: none;
}

.admin-menu-item {
    margin-bottom: 0.5rem;
}

.admin-menu-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gray-light);
    text-decoration: none;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
}

.admin-menu-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.admin-menu-link.active {
    background-color: var(--red-orange);
    color: var(--white);
}

.admin-content {
    padding: 1.5rem;
    min-height: calc(100vh - 250px);
}

.stats-card {
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stats-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-paper);
    margin-bottom: 0.5rem;
}

.stats-label {
    color: var(--gray);
    text-transform: uppercase;
    font-size: 0.875rem;
}

/* Responsiveness */
@media (max-width: 768px) {
    .navbar-nav {
        margin-top: 1rem;
        flex-direction: column;
    }
    
    .admin-sidebar {
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        z-index: 1000;
        transition: left 0.3s;
    }
    
    .admin-sidebar.active {
        left: 0;
    }
    
    .admin-toggle {
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 1001;
        background-color: var(--red-orange);
        color: var(--white);
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 1rem; }
.ml-4 { margin-left: 1.5rem; }
.ml-5 { margin-left: 3rem; }

.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 1rem; }
.mr-4 { margin-right: 1.5rem; }
.mr-5 { margin-right: 3rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-primary {
    background-color: var(--red-orange);
    color: var(--white);
}

.badge-secondary {
    background-color: var(--ochre);
    color: var(--white);
}

.badge-success {
    background-color: #28a745;
    color: var(--white);
}

.badge-danger {
    background-color: #dc3545;
    color: var(--white);
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-info {
    background-color: var(--blue-paper);
    color: var(--white);
}

/* Install App Button - Rimosso per evitare conflitti di colore */

#install-button:hover {
    color: var(--red-orange) !important;
    background-color: rgba(255, 105, 52, 0.1) !important;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Media queries per responsive design completo */
@media (max-width: 768px) {
    /* Reset font size per mobile */
    html {
        font-size: 14px;
    }
    
    body {
        padding-top: 60px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    /* Navbar mobile */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .offertina-logo img {
        max-height: 50px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .navbar-collapse {
        display: none;
        width: 100%;
    }
    
    .navbar-collapse.show {
        display: block;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }
    
    /* Cards su mobile */
    .offer-card {
        margin-bottom: 1rem;
    }
    
    /* Form elements su mobile */
    .form-control, .form-select {
        font-size: 16px; /* Previene lo zoom su iOS */
    }
    
    /* Bottoni su mobile */
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Titoli più piccoli su mobile */
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    /* Lead text su mobile */
    .lead {
        font-size: 1rem;
    }
}

/* Media query per dispositivi molto piccoli */
@media (max-width: 576px) {
    /* Griglia a singola colonna su mobile */
    .col-md-6, .col-lg-4, .col-md-8, .col-md-4 {
        width: 100%;
        max-width: 100%;
    }
    
    /* Form di ricerca su mobile */
    .col-lg-3, .col-lg-2, .col-lg-1, .col-md-4 {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Badge rimosso per mantenere la dimensione grande anche su mobile molto piccoli */
    
    /* Footer su mobile */
    footer {
        padding: 1rem 0;
        margin-bottom: 70px; /* Spazio per bottom nav */
    }
    
    footer .text-center {
        font-size: 0.85rem;
    }
}

/* Bottom Navigation for Mobile */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.bottom-nav-menu {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0.75rem 0;
    margin: 0;
}

.bottom-nav-item {
    text-align: center;
}

.bottom-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 0.75rem;
}

.bottom-nav-link i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.bottom-nav-link.active {
    color: var(--red-orange);
}

@media (max-width: 768px) {
    .bottom-nav {
        display: block;
    }
    
    body {
        padding-bottom: 70px;
    }
}

/* Effetto pulsazione per pulsante geolocalizzazione */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

.pulse-animation {
    animation: pulse 1.5s infinite;
    transform: scale(1);
}

/* Stili per i marker della mappa */
.custom-marker {
    background: transparent;
    border: none;
}

.marker-pin {
    width: 40px;
    height: 40px;
    border-radius: 50% 50% 50% 0;
    
    /* Stile differenziato per i marker in base alla fonte delle coordinate */
    background-color: var(--primary);
    position: relative;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}

.marker-pin span {
    transform: rotate(45deg);
    font-weight: bold;
    color: white;
    font-size: 14px;
    text-align: center;
}

/* Stili differenziati per marker in base alla fonte delle coordinate */
.marker-pin.business-coordinates {
    border: 2px dashed white; /* Indica che usa la posizione dell'attività */
}

.marker-pin.offer-coordinates {
    border: 2px solid white; /* Indica che usa la posizione specifica dell'offerta */
}

/* Etichetta per la fonte delle coordinate */
.coordinate-source {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255,255,255,0.8);
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 0.65rem;
    white-space: nowrap;
    color: #555;
    font-weight: normal;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Animazione per offerte con alto sconto */
.marker-pin.high-discount {
    animation: marker-pulse 1.5s infinite;
}

@keyframes marker-pulse {
    0% {
        transform: rotate(-45deg) scale(1);
    }
    50% {
        transform: rotate(-45deg) scale(1.2);
    }
    100% {
        transform: rotate(-45deg) scale(1);
    }
}

/* Popup della mappa */
.map-popup {
    min-width: 200px;
    padding: 5px;
}

.map-popup h5 {
    margin: 0 0 8px 0;
    color: var(--primary);
    font-size: 16px;
}

.map-popup .price-container {
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.map-popup .original-price {
    text-decoration: line-through;
    color: #666;
    margin-right: 8px;
    font-size: 14px;
}

.map-popup .discount-price {
    font-weight: bold;
    color: var(--primary);
    font-size: 16px;
}

/* La personalizzazione Lightbox è stata spostata in lightbox-custom.css */

/* Pulsante installa app nel footer */
.install-app-btn {
    background-color: var(--primary);
    color: white !important;
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    box-shadow: 0 3px 6px rgba(255, 105, 52, 0.3);
    transition: all 0.3s ease;
}

.install-app-btn:hover {
    background-color: #E55A26;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 105, 52, 0.4);
    color: white !important;
}

footer .install-app-btn {
    margin-top: 10px;
    animation: gentle-pulse 2s infinite;
}

@keyframes gentle-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}
