/* croccante.css
 * Caricato da Script.cshtml SOLO sulla pagina /biglietti-croccante,
 * dopo config.css / style.css / style2.css, quindi sovrascrive la palette e i font di CULTO.
 * Palette: nero / bianco (dove CULTO usa il rosso, qui per ora e' nero).
 * Font: Akira (titoli e logo) + Helvetica (testo).
 */

@font-face {
    font-family: 'Akira';
    src: url('../font/Akira-Expanded.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --culto-primary: #000000;   /* era il rosso CULTO #E10000 */
    --culto-secondary: #000000;
    --culto-tertiary: #FFFFFF;
    --event-text-color: #000000;

    --font-logo: 'Akira', 'Helvetica', Arial, sans-serif;
    --font-head: 'Akira', 'Helvetica', Arial, sans-serif;
    --font-body: 'Helvetica', 'Helvetica Neue', Arial, sans-serif;
}

/* Logo Croccante (imgs/logo-croccante.png) in header e footer */
.croccante_logo {
    display: block;
    height: auto;
    max-width: 100%;
}

.tiw_menu_logo.croccante_logo {
    width: 160px;
}

.croccante_logo_footer {
    width: 140px;
}


@media (max-width: 1024px) {
    .tiw_menu_logo.croccante_logo {
        width: 120px;
    }

    .croccante_logo_footer {
        width: 110px;
    }


    
}

/* Pulsanti: stessa palette anche negli stati hover e focus. */
body .Wrap.Riepilogo.Bind.ContinueBtn .Button.Icon,
body .Wrap.Riepilogo.Bind.ContinueBtn .Button.Icon:hover,
body a.PayButton.Button.Icon.Right.Squared.Standard,
body a.PayButton.Button.Icon.Right.Squared.Standard:hover,
body a.Button.Download.Right.Standard,
body a.Button.Download.Right.Standard:hover,
body a.Button.Fill,
body a.Button.Fill:hover,
body .custom-footer-policy button,
body button,
body .Button,
body .btn,
body [role="button"],
body input[type="button"],
body input[type="submit"],
body input[type="reset"],
body .BtnUnderCalendar,
body .confirm-otp-btn,
body .home_page_button {
    background: #FFFFFF !important;
    color: #000000 !important;
    border-color: #FFFFFF !important;
}

body.Shop div.Raggruppamento.Biglietti > div.Prodotto {
    box-sizing: border-box;
    border: 1px solid #FFFFFF !important;
    margin: 0 0 16px !important;
}

body.Shop div.Raggruppamento.Biglietti > div.Prodotto div.Content {
    box-sizing: border-box;
}

/* Contenitori centrati, comprensivi del padding. */
body .tiw_menu_wrap,
body footer.event_footer {
    box-sizing: border-box;
    width: 100%;
    max-width: 1440px;
    margin-left: auto !important;
    margin-right: auto !important;
}

body .event_location {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 40px;
    padding: 0 24px;
    box-sizing: border-box;
}

body .event_location .event_description {
    width: 100%;
}

body .event-location-image {
    width: 100%;
    min-width: 0;
}

body .event_location_image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-sizing: border-box;
    border: 1px solid #FFFFFF;
}

/* Campi dei form, esclusi controlli nascosti e pulsanti. */
body form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not(.has-error),
body form select,
body form textarea,
body input#Bundle_CouponHypotesis:not(.has-error) {
    box-sizing: border-box;
    min-height: 46px;
    border: 1px solid #FFFFFF !important;
    background: none !important;
    border-radius: 0 !important;
}

@media (max-width: 999px) {
    body .event_location {
        gap: 24px;
    }
}

/* Testi dei biglietti sotto al titolo di ogni prodotto. */
body.Shop div.Raggruppamento.Biglietti > div.Prodotto div.Content {
    height: auto !important; /* il ticketing fissa l'altezza inline (59px) */
}
body p.custom-secondtitle-ticket {
    display: block !important;
    margin: 8px 0 0 !important;
}
body .croccante-ticket-copy {
    display: block;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    font-family: var(--font-body) !important;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 6px;
    white-space: normal;
}
body .croccante-ticket-copy:last-child {
    margin-bottom: 0;
}

/* Informazioni biglietti fuori dal carrello, sotto la descrizione (non piu' usato). */
body .croccante-ticket-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 24px 0;
    width: 100%;
    text-align: left;
}
body .croccante-ticket-info-item {
    min-width: 0;
    padding: 16px;
    border: 1px solid #FFFFFF;
    box-sizing: border-box;
}
body .croccante-ticket-info .croccante-ticket-info-item h4 {
    color: #FFFFFF !important;
    font-family: var(--font-head);
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 16px;
    overflow-wrap: anywhere;
}
body .croccante-ticket-info .croccante-ticket-info-item p {
    color: #FFFFFF !important;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 12px;
}
body .croccante-ticket-info .croccante-ticket-info-item p:last-child {
    margin-bottom: 0;
}
@media (max-width: 999px) {
    body .croccante-ticket-info {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Titolo descrizione evento Croccante. */
body .calendar_description_content h4 {
    font-size: 4em !important;
    line-height: 1.3;
}
@media (max-width: 999px) {
    body .calendar_description_content h4 {
        font-size: 18px !important;
    }
}

/* Colori espliciti: nessun testo trasparente ritagliato sullo sfondo. */
body p.custom-firsttitle-ticket,
body p.text-hero-gold,
body .calendar_description_date,
body .calendar_description_content h4,
body .calendar_description_content p,
body .croccante-ticket-info h4,
body .croccante-ticket-info p,
body .event_location_title,
body .event_description,
body.Shop div.Date.Parametro div.Calendar td .Price,
body.Shop div.FasceGroup div.Fasce div.Fasce__Item div.Orario:not([availability="Grey"]) {
    background: transparent !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

body div.NumberPicker input[readonly] {
    background: #FFFFFF !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    opacity: 1;
}

/* Header Croccante a tutta larghezza, anche oltre il limite di 1440px. */
body .croccante-header-banner {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
}
body .croccante-header-banner img {
    width: 100%;
    max-width: none;
    height: auto;
}

/* Descrizione indipendente dai selettori del ticketing, anche su mobile. */
#croccante-event-intro {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 1440px;
    margin: 32px auto 0;
    padding: 0;
}
#croccante-event-intro .calendar_description_content {
    display: block !important;
}
@media (max-width: 999px) {
    #croccante-event-intro {
        margin: 24px auto;
        padding: 0 20px;
    }
    #croccante-event-intro .calendar_description_content p {
        width: 100% !important;
    }
}

@media (max-width: 999px) {
    body.Shop div.EventiSelector .Picker .Item {
        margin: 0 auto !important;
    }
}
div.CheckBox .Label p {
    color: #FFFFFF !important;
    line-height: 1.2em !important;
    font-weight: 400;
}

body.Shop div.Pagamento .PrivacyPanel div.CheckBox i {
    border: 1px solid var(--culto-tertiary) !important;
}

body.Shop div.Pagamento .PrivacyPanel div.CheckBox i.fa-check-square {
    background-color: var(--culto-tertiary) !important;
}

/* Dati carta: numero sulla prima riga, mese / anno / CVV sulla seconda. */
body .DatiCarta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 12px;
    margin-bottom: 20px;
}

body .DatiCarta > .Group {
    float: none;
    min-width: 0;
    width: 100% !important;
    margin: 0 !important;
}

body .DatiCarta > .Group:first-child {
    grid-column: 1 / -1;
}

body .DatiCarta > .Group input,
body .DatiCarta > .Group select {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
}

body .DatiCarta > div:last-child:not(.Group) {
    display: none;
}


/* Etichette dei dialog e select con freccia bianca. */
body div.Dialog div.Container label {
    display: block;
    margin-bottom: 0;
    font-size: 1em;
    color: var(--culto-tertiary);
    font-family: 'Akira' !important;
}

body form select {
    -webkit-appearance: none;
    appearance: none;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    padding-right: 36px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23FFFFFF' stroke-width='2'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px 8px !important;
}

body form select option {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    background-color: #111111 !important;
}


.croccante-header-banner-desktop{
    display: block;
}

.croccante-header-banner-mobile{
    display: none;
}

@media (max-width: 1024px) {
    .croccante-header-banner-desktop{
    display: none;
}

.croccante-header-banner-mobile{
    display: block;
}
}