:root {
    /* Tavolozza Colori Richiesta: Rosso e Bianco */
    --primary-color: #E60000;      /* Rosso vivido aziendale */
    --primary-hover: #CC0000;      /* Rosso più scuro per hover */
    --background-white: #FFFFFF;   /* Sfondo principale */
    --surface-light: #F9FAFB;      /* Sfondo secondario grigio-bianco antiaffaticamento */
    
    /* Colori Testi */
    --text-dark: #111827;          /* Nero quasi assoluto */
    --text-gray: #4B5563;          /* Grigio leggibile per paragrafi */
    
    /* Colori Brand Esterni */
    --whatsapp: #25D366;
    --whatsapp-hover: #1EBE5A;
    --telegram: #0088cc;
    --telegram-hover: #0077B5;
    --facebook: #1877F2;
    --facebook-hover: #166FE5;
    
    /* Colori Gradi (Etichette) */
    --grade-a: #10B981;  /* Verde smeraldo */
    --grade-b: #F59E0B;  /* Arancione ambra */
    --grade-c: #EF4444;  /* Rosso chiaro per C */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--background-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================================================
   HEADER & LOGO
   ========================================================================= */
.header {
    background-color: var(--background-white);
    padding: 20px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo::before {
    content: '\f4d6'; /* Icona pacco fontawesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    font-size: 24px;
    margin-right: 5px;
}

.logo span {
    color: var(--primary-color);
}

/* =========================================================================
   HERO SECTION (La sezione principale)
   ========================================================================= */
.hero {
    position: relative;
    /* L'immagine deve essere presente nella cartella images */
    background-image: url('images/hero_warehouse.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Effetto parallasse leggero */
    padding: 140px 0;
    text-align: center;
    color: var(--background-white);
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente sul rosso e nero profondo per favorire contrasto del testo */
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(139, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.telegram-hint {
    margin-top: 20px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    opacity: 0.8 !important;
}

/* =========================================================================
   BOTTONI (Call to Actions)
   ========================================================================= */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--background-white);
    border-radius: 50px; /* Stile pillola moderno */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn i {
    font-size: 1.25em;
}

.btn-whatsapp {
    background-color: var(--whatsapp);
}
.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
}

.btn-telegram {
    background-color: var(--telegram);
}
.btn-telegram:hover {
    background-color: var(--telegram-hover);
}

.btn-facebook {
    background-color: var(--facebook);
}
.btn-facebook:hover {
    background-color: var(--facebook-hover);
}

/* =========================================================================
   SEZIONE GRADI (Le carte dei bancali)
   ========================================================================= */
.grades {
    padding: 100px 0;
    background-color: var(--surface-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 60px auto;
    font-size: 1.125rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--background-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-color);
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.875rem;
    color: white;
    z-index: 2;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-a { background-color: var(--grade-a); }
.badge-b { background-color: var(--grade-b); }
.badge-c { background-color: var(--grade-c); }

.card h3 {
    padding: 24px 24px 12px 24px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.card p {
    padding: 0 24px 30px 24px;
    color: var(--text-gray);
    flex-grow: 1;
}

/* =========================================================================
   CONTACT BANNER (Invito all'Azione prima del footer)
   ========================================================================= */
.contact-banner {
    background-color: var(--primary-color);
    padding: 80px 0;
    color: var(--background-white);
    text-align: center;
}

.banner-inner h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.banner-inner p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.large-btn {
    font-size: 1.25rem;
    padding: 20px 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* =========================================================================
   FOOTER (Info legali e contatti in basso)
   ========================================================================= */
.footer {
    background-color: #111827; /* Nero elegante aziendale */
    color: #F9FAFB;
    padding: 70px 0 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-info, .footer-contacts {
    flex: 1;
    min-width: 250px;
}

.footer-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.footer-info p {
    color: #9CA3AF;
    margin-bottom: 20px;
    max-width: 350px;
}

.address-block p {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.address-block i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-contacts h4 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--background-white);
}

.footer-contacts p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9CA3AF;
}

.footer-contacts i.fa-whatsapp { color: var(--whatsapp); font-size: 1.3em;}
.footer-contacts i.fa-telegram-plane { color: var(--telegram); font-size: 1.3em;}
.footer-contacts i.fa-facebook { color: var(--facebook); font-size: 1.3em;}

.text-link {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.2s;
}
.text-link:hover {
    color: var(--background-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #374151;
    color: #6B7280;
    font-size: 0.875rem;
}

/* =========================================================================
   MEDIA QUERIES (Responsività per Tablet e Cellulari)
   ========================================================================= */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 0;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero h2 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .btn {
        width: 100%;
    }
    
    .grades {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

/* =========================================================================
   LIVE PALLET CATALOG SECTION & PREMIUM AESTHETICS
   ========================================================================= */

.live-pulse {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: pulse 1.5s infinite;
    margin-right: 5px;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.btn-live {
    background-color: #111827;
    border: 2px solid #ef4444;
}
.btn-live:hover {
    background-color: #ef4444;
    color: #fff !important;
}

.bancali-section {
    padding: 100px 0;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    background-color: #fef2f2;
    color: #991b1b;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.catalog-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    background-color: transparent;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    border-color: #ef4444;
    background-color: #ef4444;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.2);
}

.catalog-loading, .catalog-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #f9fafb;
    border-radius: 16px;
    border: 2px dashed #e5e7eb;
    max-width: 600px;
    margin: 0 auto;
}

.catalog-empty-state h3 {
    font-size: 1.5rem;
    margin: 15px 0 10px 0;
    color: #111827;
}

.catalog-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.pallet-card {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pallet-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #ef4444;
}

.pallet-card.is-reserved {
    opacity: 0.95;
    border-color: #0284c7;
}

.pallet-card-media {
    position: relative;
    height: 250px;
    background-color: #f3f4f6;
    overflow: hidden;
}

.pallet-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.slide-img.active {
    opacity: 1;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: #ef4444;
}

.slider-arrow.prev { left: 10px; }
.slider-arrow.next { right: 10px; }

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dot.active {
    background-color: #ef4444;
    width: 16px;
    border-radius: 4px;
}

.placeholder-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    background: #e5e7eb;
    text-align: center;
}

.placeholder-icon p {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.catalog-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.badge-sale {
    background-color: #f97316;
}

.badge-reserved {
    background-color: #0284c7;
}

.catalog-grade-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    z-index: 5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.grade-tag-nuovo { background-color: #6366f1; }
.grade-tag-a { background-color: #10B981; }
.grade-tag-b { background-color: #F59E0B; }
.grade-tag-c { background-color: #EF4444; }

.pallet-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pallet-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 15px;
    line-height: 1.25;
}

.pallet-card-specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid #f3f4f6;
}

.spec-label {
    font-size: 0.95rem;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 6px;
}

.spec-val {
    font-size: 0.95rem;
    color: #111827;
}

.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.text-red { color: #dc2626; }
.text-muted { color: #9ca3af; }
.line-through { text-decoration: line-through; }

.spec-highlight {
    border-bottom: none;
    padding-top: 10px;
    font-size: 1.1rem;
}

.pallet-card-actions {
    padding: 20px 24px 24px 24px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-outline-pdf {
    background: transparent;
    border: 2px solid #dc2626;
    color: #dc2626;
    padding: 10px 20px;
    font-size: 0.95rem;
    border-radius: 50px;
    width: 100%;
    text-align: center;
    font-weight: 700;
    transition: all 0.3s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline-pdf:hover {
    background-color: #dc2626;
    color: #fff;
}

.btn-wa-buy {
    background-color: #25d366;
    color: #fff;
    padding: 12px 20px;
    font-size: 0.95rem;
    border-radius: 50px;
    width: 100%;
    text-align: center;
    font-weight: 700;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-wa-buy:hover {
    background-color: #1eaf53;
    transform: translateY(-2px);
}

/* =========================================================================
   VOLANTINI SECTION & DYNAMIC CARDS
   ========================================================================= */

.volantini-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.volantino-card {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.volantino-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    border-color: #ef4444;
}

.volantino-icon-wrapper {
    background: #fef2f2;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border: 1px solid #fee2e2;
    transition: transform 0.3s;
}

.volantino-card:hover .volantino-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
}

.volantino-body h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
}

.volantino-date {
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.volantino-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Dropzone dragover per la gestione volantini */
.dropzone.dragover {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.03);
}

/* =========================================================================
   WORKSPACE B2B CONFIGURATORE (DARK MODE PREMIUM SFONDI NEON)
   ========================================================================= */

.b2b-builder-section {
    position: relative;
}

.b2b-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    box-sizing: border-box;
}

.b2b-product-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.b2b-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(99, 102, 241, 0.3) !important;
    border-color: #6366f1 !important;
}

.b2b-cat-btn {
    outline: none;
}

.b2b-cat-btn.active {
    background-color: #6366f1 !important;
    color: #ffffff !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

/* Selector input spin button hide */
.b2b-qty-selector input[type=number]::-webkit-inner-spin-button, 
.b2b-qty-selector input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

/* Pulsing neon effect for the active checkout button */
@keyframes b2b-heartbeat {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.6); }
    70% { transform: scale(1.02); box-shadow: 0 0 15px 8px rgba(99, 102, 241, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.pulse-active {
    animation: b2b-heartbeat 2s infinite !important;
    background-color: #6366f1 !important;
    color: #ffffff !important;
    cursor: pointer !important;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3) !important;
}

.pulse-active:hover {
    background-color: #4f46e5 !important;
    transform: scale(1.03);
}

/* Custom styles for checkout inputs */
.modal-card input:focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}

/* Mobile responsive padding and styles */
@media (max-width: 768px) {
    .header {
        position: relative !important;
        padding: 10px 0 !important;
    }
    .header .container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .header img {
        height: 42px !important;
    }
    .header nav {
        gap: 12px !important;
        margin-top: 5px !important;
        justify-content: center !important;
    }
    .header nav a {
        font-size: 0.9rem !important;
    }
    .b2b-cart-floating-bar {
        padding: 8px 12px !important;
        min-height: 70px;
    }
    .b2b-cart-floating-bar .container {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
    }
    .b2b-cart-left {
        display: none !important;
    }
    .b2b-cart-progress-wrapper {
        min-width: unset !important;
        width: 100% !important;
        gap: 2px !important;
    }
    .b2b-cart-progress-wrapper > div:first-child {
        font-size: 0.75rem !important;
    }
    .b2b-cart-progress-wrapper div[style*="background-color: #334155"] {
        height: 6px !important;
    }
    #b2b-cart-hint {
        display: none !important;
    }
    .b2b-cart-right {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        margin-top: 0 !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
    }
    .b2b-cart-right > div:first-child {
        text-align: left !important;
        flex: 1;
    }
    .b2b-cart-right > div:first-child > div:first-child {
        display: none !important;
    }
    .b2b-cart-right #b2b-cart-total-exvat {
        font-size: 1.25rem !important;
    }
    .b2b-cart-right #b2b-cart-total-vat {
        font-size: 0.7rem !important;
    }
    .b2b-cart-right button {
        padding: 8px 16px !important;
        font-size: 0.9rem !important;
        flex-grow: 0 !important;
        min-width: 130px;
    }
    .modal-card {
        padding: 20px !important;
        margin: 10px !important;
        max-height: 95vh !important;
    }
    .modal-card .form-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .modal-card .form-group {
        grid-column: span 1 !important;
    }
}

/* Novelty Badge Style */
.badge-novita {
    background: linear-gradient(135deg, #ef4444 0%, #ff0055 100%);
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-left: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
    animation: blinnk 0.8s infinite alternate ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
@keyframes blinnk {
    0% {
        opacity: 0.4;
        transform: scale(0.92);
        box-shadow: 0 0 4px rgba(239, 68, 68, 0.4);
    }
    100% {
        opacity: 1;
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(239, 68, 68, 1), 0 0 25px rgba(255, 0, 85, 0.6);
    }
}

