/* ============================================
   PASSIONE CALABRIA - PREMIUM STYLES
   Stili per funzionalità premium Smart Package
   ============================================ */

/* ============================================
   PREMIUM CARD STYLING
   ============================================ */
.premium-card {
    position: relative;
    border: 2px solid #F59E0B !important;
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.15),
        0 0 0 1px rgba(245, 158, 11, 0.1) !important;
    transition: all 0.3s ease;
}

.premium-card:hover {
    box-shadow: 0 8px 12px rgba(245, 158, 11, 0.25),
        0 0 0 2px rgba(245, 158, 11, 0.2) !important;
    transform: translateY(-2px);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #F59E0B, #D97706, #F59E0B);
    border-radius: inherit;
    z-index: -1;
    opacity: 0.1;
}

/* ============================================
   VERIFIED BADGE
   ============================================ */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

.verified-badge-large {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.verified-badge i {
    width: 0.75rem;
    height: 0.75rem;
}

.verified-badge-large i {
    width: 1rem;
    height: 1rem;
}

/* ============================================
   DISCOUNT BANNER
   ============================================ */
.discount-banner {
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(251, 191, 36, 0.6);
    }
}

.discount-code-badge {
    transition: all 0.2s ease;
    cursor: pointer;
}

.discount-code-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* ============================================
   PREMIUM RIBBON
   ============================================ */
.premium-ribbon {
    position: absolute;
    top: 1rem;
    right: -0.5rem;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.premium-ribbon::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -0.5rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.5rem 0.5rem 0 0;
    border-color: #B45309 transparent transparent transparent;
}

/* ============================================
   PREMIUM MARKER (per mappe Leaflet)
   ============================================ */
.custom-colored-marker {
    background: transparent !important;
    border: none !important;
}

.premium-marker {
    filter: drop-shadow(0 4px 6px rgba(245, 158, 11, 0.4));
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.discount-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: slideInRight 0.3s ease-out;
    z-index: 9999;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.discount-toast.hiding {
    animation: slideOutRight 0.3s ease-out forwards;
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-premium {
    color: #F59E0B;
}

.bg-premium {
    background-color: #F59E0B;
}

.border-premium {
    border-color: #F59E0B;
}

.gradient-premium {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .discount-banner {
        padding: 1rem;
    }

    .discount-code-badge {
        width: 100%;
        justify-content: space-between;
    }

    .discount-toast {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: calc(100% - 2rem);
    }

    .premium-ribbon {
        font-size: 0.625rem;
        padding: 0.2rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .verified-badge {
        font-size: 0.625rem;
        padding: 0.2rem 0.5rem;
    }

    .verified-badge i {
        width: 0.625rem;
        height: 0.625rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {

    .discount-banner,
    .discount-toast,
    .premium-ribbon {
        display: none;
    }

    .premium-card {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}