.cecr-maincontainer * {
    box-sizing: border-box;
}

.cecr-maincontainer {
    border: solid 1px;
    border-radius: 15px;
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 25px;
}

.cecr-pick-flex-wrapper h4 {
    max-width: 100%;
    font-size: 16px
}
.cecr-pick-flex-wrapper #cecr-add-to-cart-form h4 {
    font-size: 14px
}

.cecr-inline-input-form {
    display: flex;
    gap: 15px;
    width: 100%;
}

.cecr-inline-input-form>div {
    flex: 0 0 calc(50% - 10px);
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

@media screen and (max-width: 768px) {
    .cecr-inline-input-form {
        flex-direction: column;
        gap: 15px;
    }

    .cecr-inline-input-form>div {
        flex: 0 0 100%;
        width: 100%;
    }
}

.cecr-component-calendar-plain {
    position: relative;
    width: 100%;
}

.cecr-component-calendar-scroll-wrapper {
    width: 100%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.cecr-component-calendar-scroll-wrapper::-webkit-scrollbar {
    display: none;
    /* Safari, Chrome */
}

.cecr-component-calendar-scroll-track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}

.cecr-component-calendar-month {
    scroll-snap-align: start;
    flex: 0 0 100% !important;

}

.cecr-component-calendar-week-grid-daynames {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px 0;
    font-size: .8em;
}

.cecr-component-calendar-month-title {
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px
}

.cecr-component-calendar-day.placeholder {
    /*border-color:none !important;*/
    border: none !important;
    /*outline: 1px solid rgba(0, 0, 0, 0.2);*/
    /*outline-offset: -1px;*/
}

.cecr-calendar-triggers {
    display: flex;
    width: 100%;
}

.cecr-component-calendar-day {
    padding: 0;
    cursor: pointer;
}

.cecr-component-calendar-day>div {
    display: flex;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;

}

.cecr-component-calendar-day.disabled,
.cecr-component-calendar-day.placeholder,
.cecr-component-calendar-day.out-of-range {
    cursor: default;
}

/* Bordo singolo per la tabella */
.cecr-component-calendar-days-container {
    width: 100%;
    border-collapse: collapse;

}

.cecr-component-calendar-day.out-of-range {
    opacity: 0.25;
}

.cecr-component-calendar-day.disabled {
    opacity: 0.25;
    pointer-events: none;
}

.cecr-component-calendar-day.disabled.placeholder {
    font-size: 0 !important;
}

.optimand-calendar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cecr-component-calendar-week-names {
    text-transform: uppercase;
}

.cecr-scroll-left,
.cecr-scroll-right {
    background: none;
    border: none;
    font-size: 24px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    user-select: none;
    position: absolute;
    line-height: 1em;
    top: 0;
    color: inherit;
}

.cecr-scroll-left {
    left: 15px;
}

.cecr-scroll-right {
    right: 15px;
}


#cecr-selectoccupancy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    display: none;
    background: #FFF;
    border-radius: 15px;
    padding: 10px;
    border: solid 1px;
    z-index: 5;
}

.cecr-occupancy-title {
    font-size: 1.1em;
    font-weight: 600;
}

.cecr-close {
    /* Dimensione dell'area cliccabile */
    width: 40px;
    height: 40px;

    /* Posizionamento */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Stile opzionale sfondo (es. cerchio grigio chiaro) */
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Stile dell'icona SVG */
.cecr-close svg {
    width: 20px;
    /* Dimensione della X */
    height: 20px;
    stroke: #333;
    /* Colore della X */
    transition: transform 0.3s ease;
}

/* Effetto Hover */
.cecr-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
    /* Sfondo più scuro al passaggio */
}

.cecr-close:hover svg {
    stroke: #eba405;
    transform: rotate(90deg);
    /* Animazione rotazione */
}

.cecr-select {
    /* 1. RESET DELLO STILE NATIVO */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* 2. DIMENSIONI E BOX MODEL */
    display: block;
    width: 100%;
    padding: 10px 40px 10px 12px;
    /* Padding destro maggiore per fare spazio alla freccia */
    font-size: 16px;
    /* 16px previene lo zoom automatico su iOS */
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;

    /* 3. LA FRECCIA PERSONALIZZATA (SVG in Base64) */
    /* Questa è una freccia "chevron" grigia scura */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* 4. STATO HOVER */
.cecr-select:hover {
    border-color: #888;
}

/* 5. STATO FOCUS (Accessibilità) */
.cecr-select:focus {
    border-color: #eba405;
    /* Colore blu WordPress o tuo brand */
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.2);
    /* Alone di focus */
    outline: none;
}

/* 6. GESTIONE DISABILITATO */
.cecr-select:disabled {
    background-color: #f0f0f1;
    color: #a7aaad;
    cursor: not-allowed;
    opacity: 1;
    /* Fix per iOS */
}

/* 7. FIX PER IE11 (Rimuove la freccia nativa di IE) */
.cecr-select::-ms-expand {
    display: none;
}

/* 1. CLASSE BASE PER INPUT E TEXTAREA */
.cecr-input {
    /* Reset dello stile nativo (fondamentale per iOS che mette ombre interne/bordi tondi) */
    -webkit-appearance: none;
    appearance: none;
    max-width: -webkit-fill-available;

    /* Box Model identico alla Select */
    display: block;
    width: 100%;
    padding: 10px 12px;
    /* Padding uniforme (niente spazio extra a destra) */
    font-size: 16px;
    /* Previene zoom su iOS */
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* 2. STATO FOCUS (Identico alla Select) */
.cecr-input:focus {
    border-color: #eba405;
    /* Blu WordPress o tuo brand */
    outline: 0;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.2);
    /* Alone focus */
}

/* 3. PLACEHOLDER (Testo guida) */
.cecr-input::placeholder {
    color: #a7aaad;
    opacity: 1;
    /* Fix per Firefox che riduce l'opacità di default */
}

/* 4. STATO DISABILITATO / READONLY */
.cecr-input:disabled,
.cecr-input[readonly] {
    background-color: #f0f0f1;
    color: #646970;
    opacity: 1;
    cursor: not-allowed;
}

/* 5. GESTIONE SPECIFICA TEXTAREA */
textarea.cecr-input {
    resize: vertical;
    /* Permette resize solo in altezza (non rompe il layout orizzontale) */
    min-height: 100px;
}

/* 6. GESTIONE INPUT DATE (Per uniformare l'icona calendario se possibile) */
.cecr-input[type="date"] {
    /* Assicura che l'altezza sia coerente con gli input di testo */
    min-height: 46px;
}

.cecr-button-submit {
    /* 1. RESET E STRUTTURA */
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    /* O block se vuoi che prenda tutta la riga senza style inline */

    /* Box Model (Coerente con gli input) */
    padding: 12px 24px;
    /* Un po' più alto degli input per importanza */
    width: 100%;
    /* Di base 100%, ma sovrascrivibile */
    min-height: 46px;
    /* Stessa altezza minima degli input date */

    /* 2. TIPOGRAFIA */
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    /* Grassetto per l'azione */
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    /* Facoltativo: rende il testo più autorevole */
    letter-spacing: 0.5px;

    /* 3. COLORI E BORDI */
    color: #ffffff;
    background-color: #eba405;
    /* Blu WordPress (o il tuo colore brand) */
    border: 1px solid transparent;
    border-radius: 15px;
    /* Identico a select e input */

    /* 4. INTERAZIONE */
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Leggera ombra per profondità */
    transition: all 0.2s ease-in-out;
    user-select: none;
}

/* 5. STATO HOVER (Mouse sopra) */
.cecr-button-submit:hover {
    background-color: #bf8400;
    /* Un tono più scuro */
    /*transform: translateY(-1px);*/
    /* Effetto "sollevamento" leggero */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* 6. STATO ACTIVE (Click premuto) */
.cecr-button-submit:active {
    background-color: #bf8400;
    /*transform: translateY(0);*/
    /* Torna giù */
    box-shadow: none;
    /* Rimuove l'ombra per effetto "premuto" */
}

/* 7. STATO FOCUS (Navigazione tastiera - Coerente con input) */
.cecr-button-submit:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgb(235 164 5 / 50%)
        /* Alone blu esterno */
}

/* 8. STATO DISABILITATO */
.cecr-button-submit:disabled,
.cecr-button-submit.disabled {
    background-color: #f0f0f1;
    color: #a7aaad;
    border-color: #dcdcde;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cecr-adults-age-container,
.cecr-child-age-container {
    display: flex;
    gap: 10px;
}

.cecr-btn-sm {
    font-size: 0.8em;
    padding: 5px 10px;
    line-height: 1;
    min-height: 35px;
}
.cecr-btn-sm.cecr-button-submit.cecr-btn-cat{
    min-height: 18px;
}

/* STEPS */
/* Layout per schermi grandi (Desktop) */
.cecr-pick-flex-wrapper {
    display: flex;
    gap: 2em;
    align-items: flex-start;
    width: 100%;
}

.cecr-pick-charge-step {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto !important;
}

.cecr-pick-charge-step-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.cecr-pick-column-left {
    padding: 0;
    background: transparent;
}

.cecr-pick-column-left > div {
    background: #fff;
    border-radius: 15px;
    padding: 15px;
}

.cecr-pick-column-right {
    border-radius: 15px;
    padding: 15px;
    background: #FFF;
}

.cecr-left-image,
.cecr-categoryImage {
    width: 100%;
    border-radius: 15px;
}

.cecr-categoryImage {
    aspect-ratio: 1;
    object-fit: cover;
}

.cecr-category-card {
    border: none;
    border-radius: 0;
    padding: 15px;
    margin-top: 0;
}

.cecr-pick-column-left {
    flex: 0 0 400px;
    position: sticky;
    top: 0;
}

.cecr-pick-column-right {
    flex: 1;
    min-width: 0;
}

.cecr-category-card {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 8px;
    margin-top: 15px;
}

.cecr-category-card-img {
    flex: 0 0 200px;
}

.cecr-category-card-text {
    flex: 1;
    text-align: left;
}

.cecr-select-cabin-number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.cecr-price-and-button {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    justify-content: space-between;
    align-items: center;
}

/* Stile base del bottone circolare */
.cecr-btn-backstep {
    display: inline-flex;
    /* Fondamentale per centrare il contenuto */
    justify-content: center;
    /* Centra orizzontalmente */
    align-items: center;
    /* Centra verticalmente */

    width: 45px;
    /* Larghezza */
    height: 45px;
    /* Altezza identica per farlo quadrato/cerchio */
    border-radius: 50%;
    /* Lo rende un cerchio perfetto */

    background-color: #f0f0f1;
    /* Colore di sfondo (grigio chiaro WP standard) */
    color: #333;
    font-size: 20px;
    /* Dimensione della freccia */
    font-weight: bold;
    text-decoration: none !important;
    /* Rimuove la sottolineatura del link */
    line-height: 1;

    cursor: pointer;
    transition: all 0.2s ease;
    /* Animazione fluida */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Leggera ombra */
}

/* Effetto Hover (quando il mouse passa sopra) */
.cecr-btn-backstep:hover {
    background-color: #eba405;
    color: #fff;
    box-shadow: 0 4px 8px rgb(235 164 5 / 50%);
}

/* Effetto Active (quando viene cliccato) */
.cecr-btn-backstep:active {
    box-shadow: none;
    background-color: #eba405;
}

.cecr-snippet-add-pax {
    display: flex;
    flex-direction: column;
    padding: 0 0 15px 0;
    gap: 15px;
    border: solid 1px #CCC;
    width: -webkit-fill-available;
    border-radius: 15px;
    overflow: hidden;
}

.cecr-snippet-add-pax-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0px 15px;
}

.cecr-snippet-add-pax-row-title {
    padding: 15px;
    background-color: #CCC;
}

.cecr-snippet-add-pax label {
    font-size: 0.9em;
}

.cecr-snippet-add-pax-row>div {
    flex: 1;
    /* Fa sì che i due campi si dividano lo spazio 50/50 */
    min-width: 200px;
    /* Se lo spazio scende sotto i 200px, vanno uno sotto l'altro (mobile friendly) */
}

.cecr-snippet-add-pax-row input,
.cecr-snippet-add-pax-row select {
    width: 100%;
    display: block;
    box-sizing: border-box;
    /* Evita che il padding sballi la larghezza */
}

/* Layout per schermi piccoli (Mobile) */
@media (max-width: 768px) {

    .cecr-pick-flex-wrapper,
    .cecr-category-card,
    .cecr-price-and-button {
        flex-direction: column;
    }

    .cecr-price-and-button {
        align-items: start;
    }

    .cecr-pick-column-left,
    .cecr-category-card-img {
        flex: 0 0 auto;
        width: 100%;
        max-width: -webkit-fill-available;
    }

    .cecr-pick-column-right,
    .cecr-category-card-text {
        width: 100%;
        max-width: -webkit-fill-available;
    }
}


.cecr-loader {
    width: 48px;
    height: 48px;
    border: 3px solid #FFF;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.cecr-loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-bottom-color: #FF3D00;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Nasconde tutti i pannelli per default */
.cecr-tab-pane {
    display: none;
}

/* Mostra solo quello attivo */
.cecr-tab-pane.active {
    display: block;
    animation: fadeIn 0.5s;
}

.cecr-deck-tabs-container {
    display: flex;
    gap: 15px;
}

/* Stile base per i bottoni dei ponti */
.cecr-deck-tab {
    cursor: pointer;
    padding: 10px 15px;
    margin-bottom: 5px;
    background: #f0f0f1;
    border: 1px solid #CCC;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
}

/* Stile per il ponte attivo */
.cecr-deck-tab.active {
    background: #0073aa;
    /* Colore esempio */
    color: white;
    border-color: #0073aa;
}

/* IL TRIANGOLINO (Fumetto) */
.cecr-deck-tab.active::after {
    content: "";
    position: absolute;
    top: 100%;
    /* Lo posiziona esattamente sotto il bottone */
    left: 50%;
    /* Lo sposta al centro orizzontale */
    transform: translateX(-50%);
    /* Lo centra perfettamente calcolando la sua larghezza */

    /* Creazione del triangolo tramite i bordi */
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    /* Larghezza sinistra trasparente */
    border-right: 10px solid transparent;
    /* Larghezza destra trasparente */
    border-top: 10px solid #0073aa;
    /* Il colore deve essere uguale allo sfondo active */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}



/* --- LAYOUT DESKTOP --- */
.cecr-deck-content {
    display: flex;
    flex-direction: row;
    /* Allinea orizzontalmente */
    gap: 20px;
    /* Spazio tra i due blocchi */
    align-items: flex-start;
    /* Allinea in alto */
}

/* Colonna sinistra: Si adatta allo spazio rimanente */
.cecr-deck-categories {
    flex-grow: 1;
    flex-basis: 0;
    /* Importante per far funzionare bene il grow */
    min-width: 0;
    /* Impedisce al contenuto di forzare la larghezza oltre il contenitore */
}

/* colonna destra: immagine ponte */
.cecr-deck-image {
    width: 270px;
    flex-shrink: 0;
    /* Impedisce al box di restringersi sotto i 300px */

    /* Opzionale: per centrare l'immagine nel suo box */
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Assicuriamo che l'immagine dentro non rompa il layout */
.cecr-deck-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* O 'contain' a seconda delle preferenze */
}

/* --- VERSIONE MOBILE (sotto i 768px) --- */
@media screen and (max-width: 768px) {
    .cecr-deck-content {
        flex-direction: column;
        /* Mette gli elementi uno sotto l'altro */
    }

    .cecr-deck-categories,
    .cecr-deck-image {
        width: 100%;
        /* Occupa tutta la larghezza */
        max-width: 100%;
        flex-basis: auto;
        /* Resetta la base del flex */
    }

    /* Opzionale: Aggiunge un po' di margine se l'immagine va sotto */
    .cecr-deck-image {
        margin-top: 20px;
    }
}

/* box prezzo "da" nella sidebar calendario */
.cecr-price-box {
    background: #72A1A6;
    color: #fff;
    padding: 20px;
    border-radius: 15px;
    text-align: left;
    margin-bottom: 5px;
    max-width: 400px;
}

.cecr-price-box-label {
    font-size: 0.85em;
    opacity: 0.8;
    margin-bottom: 2px;
}

.cecr-price-box-value {
    font-size: 1.8em;
    font-weight: 700;
    line-height: 1.2;
}

.cecr-price-box-value span {
    font-size: 0.45em;
    font-weight: 400;
    opacity: 0.85;
}

/* avviso nel popup occupancy */
.cecr-occupancy-warning {
    text-align: left;
    font-size: 1em;
    color: #154B99;
    line-height: 1.1;
}

#cecr-selectoccupancy .cecr-occupancy-warning {
    padding: 0 20px;
}
.cecr-ponti-ccategory-selection .cecr-occupancy-warning {
    font-size: 12px;
}

.cecr-warning-icon {
    font-size: 1.8em;
}

/* header info crociera negli step */
.cecr-pick-flex-wrapper h4.cecr-step-title {
    margin-top: 0;
    color: #154B99;
    font-size: 26px;
}

.cecr-sailing-header {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cecr-sailing-header > div {
    flex: 1;
    min-width: 120px;
}

.cecr-sailing-header-label {
    font-size: 0.9em;
    line-height: 1.1em;
    font-weight: 700;
    color: #333;
    margin-bottom: 3px;
}

.cecr-sailing-header-value {
    font-size: 0.7em;
    line-height: 0.9em;
    color: #555;
}

/* due foto grandi step 3 */
.cecr-step3-gallery {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.cecr-step3-gallery img {
    flex: 1;
    width: 50%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* tabella prezzi step 3 */
.cecr-price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0;
    font-size: 0.95em;
    border: 1px solid #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
}

.cecr-price-table th,
.cecr-price-table td {
    padding: 8px 12px;
    text-align: left;
}

.cecr-price-table th:last-child,
.cecr-price-table td:last-child {
    width: 100px;
    text-align: left;
}

.cecr-price-table thead th {
    background: #f5f5f5;
    font-weight: 700;
    border: none;
}

.cecr-price-table tbody tr {
    border-bottom: 0.5px solid #eee;
}

.cecr-price-discount td {
    border: none;
}

.cecr-price-subtotal td {
    font-weight: 600;
}

.cecr-price-discount td {
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 600;
}

.cecr-price-total td {
    font-size: 0.95em;
    font-weight: 600;
    color: #222;
    text-align: right !important;
}

.cecr-price-total-amount {
    font-size: 1.4em;
    font-weight: 700;
    color: #e67e22;
}

.cecr-price-split td {
    font-size: 1em;
    background: #f5f5f5;
}

.cecr-price-split strong {
    color: #e67e22;
}

.cecr-split-separator {
    margin: 0 8px;
    color: #ccc;
}

/* tariffa one */
.cecr-tariffa-one {
    margin: 15px 0;
    padding: 8px 10px;
    font-size: 0.75em;
    line-height: 1.25;
    color: #222;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.cecr-tariffa-one h4 {
    color: #154B99;
    margin: 0 0 2px 0;
    font-size: 0.95em;
    line-height: 1;
}

/* info utili */
.cecr-info-utili {
    margin: 15px 0;
    padding: 8px 10px;
    background: #fff7e4;
    border-radius: 8px;
    font-size: 0.75em;
    line-height: 1.25;
    color: #F7931D;
}

.cecr-info-utili h4 {
    color: #F7931D;
    margin: 0 0 2px 0;
    line-height: 1;
}

/* quota include / non include */
.cecr-quota-columns {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 10px;
}

.cecr-quota-col {
    flex: 1;
    font-size: 0.75em;
    line-height: 1.25;
    color: #222;
}

.cecr-quota-title {
    color: #154B99;
    margin: 0 0 2px 0;
    font-size: 0.95em;
    line-height: 1;
}

/* bottone "aggiungi al carrello" step 3 */
.cecr-button-submit.full-button {
    background-color: #FBB03A;
    text-transform: none;
}

/* bottone outline "salva il preventivo" */
.cecr-button-outline {
    display: block;
    width: 100%;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    color: #3fa9f5;
    background: #fff;
    border: 1px solid #3fa9f5;
    border-radius: 15px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s ease;
}


/* blocco itinerario + scarica programma sidebar */
.cecr-sidebar-itinerario {
    margin-top: 15px;
}

/* itinerario breve sidebar */
.cecr-itinerario-breve {
    margin-top: 15px;
}

.cecr-itinerario-title {
    color: #154B99;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.cecr-itinerario-row {
    font-size: 0.85em;
    line-height: 1.4;
    color: #333;
}

/* bottone scarica programma */
.cecr-btn-scarica-programma {
    display: block;
    padding: 8px 30px;
    margin: 15px 10px 0 10px;
    font-size: 0.85em;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: #222;
    border-radius: 5px;
}

.cecr-tariffa-one p,
.cecr-info-utili p,
.cecr-quota-col p {
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .cecr-quota-columns {
        flex-direction: column;
    }
}

/* immagine piccola nella card categoria step 1 */
.cecr-category-card-img-sm {
    flex: 0 0 100px;
    align-self: flex-start;
}

.cecr-category-card-img-sm .cecr-categoryImage {
    display: block;
    width: 100px;
    height: 100px;
    min-height: 100px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
}

/* colonna azione (badge + prezzo + bottone) */
.cecr-category-card-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    flex-shrink: 0;
}

.cecr-cat-price-row {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.cecr-select-category{
    text-transform: none;
}

.cecr-category-card-price {
    text-align: left;
    line-height: 1;
}

.cecr-category-card-price span {
    font-size: 0.7em;
    color: #666;
}

.cecr-category-card-price .cecr-price-old {
    font-size: 0.75em;
    text-decoration: line-through;
    color: #999;
    display: inline;
    margin-left: 3px;
}

.cecr-category-card-price strong {
    display: block;
    font-size: 1.1em;
    margin-top: 2px;
}

/* bottone seleziona card categoria */
.cecr-btn-cat {
    border-radius: 3px;
    min-width: 130px;
    background-color: #FBB03A !important;
}

.cecr-category-card-wrapper {
    margin-bottom: 20px;
}

/* titolo nella card categoria */
.cecr-category-card-title {
    margin: 0;
    padding: 0;
    color: #222;
    line-height: 1.2;
}

/* capienza nella card categoria */
.cecr-category-card-occupancy {
    color: #222;
    font-size: 0.75em;
    line-height: 0.85em;
    margin-bottom: 10px;
}

/* descrizione nella card categoria */
.cecr-category-card-description {
    font-size: 0.75em;
    line-height: 0.95em;
    color: #555;
}

/* bordo e margin solo nelle card cabina step 2 */
.cecr-cabin-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

.cecr-cabin-card .cecr-category-card {
    margin-top: 0;
}

/* sfondo alternato card categorie e cabine: dispari grigio */
.cecr-category-card-wrapper:nth-of-type(odd) .cecr-category-card {
    background: #f5f5f5;
    border-radius: 10px;
}

/* descrizione categoria troncata a N righe con "leggi di più" inline */
.cecr-truncate-wrap {
    margin-top: 5px;
}

.cecr-truncate-text {
    font-size: 0.75em;
    line-height: 0.95em;
    color: #555;
    margin: 0;
}

.cecr-truncate-link {
    color: #222;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.cecr-truncate-link:hover {
    text-decoration: none;
}

.cecr-cat-badge {
    color: #fff;
    border-radius: 5px;
    padding: 5px 6px;
    text-align: left;
    flex-shrink: 0;
    min-width: 25px;
}

.cecr-cat-badge-label {
    display: block;
    font-size: 0.55em;
    opacity: 0.85;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1px;
}

.cecr-cat-badge-code {
    display: block;
    font-size: 1em;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 768px) {
    .cecr-br-desktop {
        display: none;
    }
}

.cecr-section-subtitle {
    color: #154B99;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #154B99;
}

/* testo intro sopra il calendario */
.cecr-calendar-intro {
    padding: 5px 0 15px 0;
    font-size: 1.05em;
    color: #1e4d5c;
    line-height: 1.4;
    max-width: 400px;
}