

html, body { height: 100%; }

body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#page{
  flex: 1;
}

body {
    padding-bottom: 0px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  padding: 6px 6px 6px 6px !important;
}

table {
width: 100% !important;
}

.form-label {
    font-weight: 400;
    color:#000;
}


.flatpickr-calendar {
z-index: 9999 !important;
}


body {
    overflow-y: auto !important;
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
}

.orari-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
    font-size:13px !important;
}
.btn-ora {
    background: #f2f2f2;
    border: 1px solid #ccc;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.btn-ora:hover {
    background: #ddd;
}
.form-control {
    width: 100%;
    padding: 8px;
   
    border: 1px solid #ccc;
    border-radius: 4px;
}
.btn-conferma {
    background-color: #996d4a;
    color: white;
    border: none;
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}
.btn-conferma:hover {
    background-color: #8b5830;
}






.orari-container {

  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: start;
}



 



.select2-container--default .select2-selection--multiple {
    background-color: #fdfdfd;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 4px;
    min-height: auto;
    overflow-y: auto;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    position: relative;
    background-color: #e9ddd3;
    border: 1px solid #c29b7c;
    color: #553310;
    padding: 8px 12px 8px 28px;
    font-size: 15px;
    margin: 4px 0;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    white-space: normal;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    margin-right: 6px;
    font-weight: bold;
    color: #553310;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
}


.select2-selection__clear {
    display:none;
}

.select2-results__option {
    color: #5e6e82; /* colore grigio chiaro per il testo */
    padding: 12px 12px;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.select2-results__option--highlighted {
    background-color: #f0f7ff !important; /* azzurro molto chiaro */
    color: #1f4e79 !important; /* colore blu scuro */
}

.select2-results__option--selected {
    font-weight: 600;
    color: #1f4e79 !important;
}

/* se vuoi che anche nella selezione visibile si veda così */
.select2-selection__rendered {
    color: #1f4e79;
    font-weight: 400;
}



.select2-container--default .select2-selection--multiple {
  position: relative;
  padding-right: 2em;
}

.select2-container--default .select2-selection--multiple::after {
  content: '▾';
  position: absolute;
  right: 0.6em;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 0.95em;
  pointer-events: none;
}




.sticky-line, .sticky-date {
    position: sticky;

    padding: 1em;
    z-index: 999;

}



.sticky-line {
    top: 0;
    border-radius: 10px;
    background-color: #fff;
}

.sticky-date {
    top: 46px;
}



.timeline-minimal {
  position: relative;
  padding-bottom: 10px;
}

.timeline-minimal .step {
  position: relative;
  flex: 1;
  text-align: center;
}

.timeline-minimal .step::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 100%;
  height: 1px;
  background-color: #ccc;
  z-index: 1;
}

.timeline-minimal .step:last-child::after {
  display: none;
}

.timeline-minimal .dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  margin: 0 auto 5px;
  position: relative;
  z-index: 2;
}

/* Usando CSS generated content per la checkmark */
.timeline-minimal .step.active .dot {
  background-color: #c29b7c;
}

.timeline-minimal .step.active .dot::before {
  content: '✓';
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
}

.timeline-minimal .label {
  font-size: 12px;
  color: #999;
}

.timeline-minimal .step.active .label {
  color: #c29b7c;
  font-weight: 400;
}



    

input {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px;
  transition: all 0.2s ease-in-out; /* transizione fluida */
}

input:focus {
  outline: none;
  border-color: rgb(173, 198, 225);
  box-shadow: 0 0 0 1.3px rgba(0, 123, 255, 0.1);
}



    
    .orari-settimanali li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 0;
  font-weight: 500;
}

.orari-settimanali .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
}

.dot-green {
  background-color: #28a745; /* Bootstrap green */
}

.dot-gray {
  background-color: #bbb;
}

.orari-settimanali li span.orario {
  margin-left: auto;
  color: #1a2f5a;
  font-size:12px;
  font-weight: 500;
}







.barra-colori {
  width: 100%;
  height: 6px;
  margin: 20px 0;
  display: flex;
}

.barra-colori > div {
  height: 100%;
}

.colore1 {
  background-color: #d6b28f; /* beige */
  width: 25%;
}

.colore2 {
  background-color: #5e4635; /* marrone scuro */
  width: 25%;
}

.colore3 {
  background-color: #f4eee9; /* panna */
  width: 25%;
}

.colore4 {
  background-color: #e8cfc0; /* rosa cipria */
  width: 25%;
}




.select2-selection__choice__remove {
  border: none !important;
  background: none !important;
  color: #333 !important;
  font-size: 14px !important;
  margin-right: 4px;
  padding: 0 4px;
  transition: color 0.2s;
}

.select2-selection__choice__remove:hover {
  color: #e74c3c !important; /* rosso chiaro per effetto hover */
  cursor: pointer;
}



.flatpickr-input + .input-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #555;
}


.input-group-text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
}


.select2-container .select2-search--inline {
  width: 100%;
}





/* Card-pill cliccabile, dimensione coerente su tutte le righe */
    .categoria-servizio.btn-pill{
      display:flex; align-items:center; justify-content:center;
      gap:.5rem; text-align:center; width:100%;
      height:64px; padding:0 14px; border-radius:18px;
      background:#fff; border:1px solid #e6e9ef;
      box-shadow:0 2px 6px rgba(16,24,40,.04);
      color:#263238; text-decoration:none; transition:.18s ease;
      font-weight:600;
    }
    .categoria-servizio.btn-pill i{ font-size:18px; opacity:.9; }
    .categoria-servizio.btn-pill:hover{ transform:translateY(-1px); box-shadow:0 4px 12px rgba(16,24,40,.08); }
    .categoria-servizio.btn-pill:focus{ outline:0; box-shadow:0 0 0 3px rgba(25,118,210,.2); }

    .categoria-servizio.btn-pill.active{
      border:2px solid #1e3a8a;  /* blu scuro Calendiva-style */
      box-shadow:0 2px 10px rgba(30,58,138,.12);
      color:#1e3a8a;
    }

    /* Mobile fine-tuning */
    @media (max-width: 575.98px){
      .categoria-servizio.btn-pill{ height:56px; font-size:.95rem; }
      .categoria-servizio.btn-pill span{ line-height:1.1; }
    }
    
    .categoria-servizio {
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  min-width: 100px;
  flex: 1 1 100px;
  cursor: pointer;
  border: 1px solid transparent;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.2s ease-in-out;
  color: #344767;
  font-size: 14px;

}

.categoria-servizio:hover {
  border-color: #344767;
  background-color: #f8f9fa;
}

.categoria-servizio i {
  font-size: 20px;
  display: block;
  margin-bottom: 8px;
}

.categoria-servizio.active {
  border: 1px solid #344767;
  background-color: #fff;
}

.badge-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 14px;
  height: 14px;
  background-color: red;
  border-radius: 50%;
  border: 2px solid white;
}


.list-group-item {
  border-radius: 3px !important;
  margin:8px 0px;
}


.categoria-servizio a {
  text-decoration:none !important;
  color:#000000a6;
}




.btn-ora{
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 12px 0;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-ora:hover {
  border-color: #c7a17a;
  background: #fdf8f2;
}

.btn-ora.active {
  background: #c7a17a;
  color: #fff;
  border-color: #c7a17a;
}

/* Selezionato */
.btn-ora.selected {
    background-color: #e9ddd3;
    color: #37210e;
    border-color: #e7c3a5;
    box-shadow: 0 0 0 3px rgb(233 221 211 / 68%);
}

.btn-ora:focus {
  outline: none;
  box-shadow: none;
}

.card-calendiva {
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 20px;
  background-color:#fff;
  border: none;
}





  /* Contenitore principale */
  .calendar-input , #operatoreApp, .select2-container--default .select2-selection--multiple {
      border-radius: 12px;
      padding: 6px;
      border: 1px solid #ddd;
      min-height: 46px;
  }

  /* Singola pill selezionata */
  .select2-container--default .select2-selection--multiple .select2-selection__choice {
      background-color: #f1f1f1 !important;
      border: 1px solid #e0e0e0 !important;
      color: #333 !important;
      border-radius: 999px !important;
      padding: 6px 12px 6px 28px !important;
      font-size: 14px;
      margin-top: 6px;
      position: relative;
  }

  /* Icona X */
  .select2-container--default .select2-selection__choice__remove {
      position: absolute;
      left: 8px;
      top: 50%;
      transform: translateY(-50%);
      color: #666 !important;
      font-weight: bold;
      margin-right: 0;
  }

  /* Hover sulla X */
  .select2-container--default .select2-selection__choice__remove:hover {
      color: #000 !important;
  }

 

  .select2-container--default .select2-selection--multiple .select2-selection__choice {
    width:96%;
  }

  

  :root {
    --brand-primary: #B8895B;
    --brand-primary-dark: #93663F;
    --brand-primary-light: #D7B28C;

    --brand-bg: #FAF6F1;
    --brand-bg-soft: #F4ECE4;
    --brand-bg-hover: #EFE1D4;

    --brand-text: #533A28;
    --brand-text-soft: #7A624D;

    --brand-border: #E7D7C8;
    --brand-white: #FFFFFF;

    --brand-shadow: rgba(116, 78, 46, 0.10);
    --brand-shadow-hover: rgba(116, 78, 46, 0.16);
}


/* ==============================
   PAGINA CENTRO ESTETICO
============================== */

.centro-page {
    min-height: 100vh;
    padding-bottom: 40px;
    background: var(--brand-bg);
}


/* ==============================
   CAROSELLO IMMAGINI
============================== */

.centro-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--brand-bg-soft);
}

.centro-carousel,
.centro-carousel .owl-stage-outer {
    width: 100%;
}

.centro-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.centro-carousel .owl-item {
    display: flex;
}

.centro-carousel .item {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--brand-bg-soft);
}

.centro-carousel .item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Per correggere singolarmente l'inquadratura di una foto */
.centro-carousel .foto-alta img {
    object-position: center 25%;
}

.centro-carousel .foto-bassa img {
    object-position: center 75%;
}

/* Indicatori */
.centro-carousel .owl-dots {
    position: absolute;
    right: 0;
    bottom: 12px;
    left: 0;
    z-index: 2;
    margin: 0 !important;
    text-align: center;
    pointer-events: none;
}

.centro-carousel .owl-dot {
    pointer-events: auto;
}

.centro-carousel .owl-dot span {
    width: 8px !important;
    height: 8px !important;
    background: rgba(255, 255, 255, 0.75) !important;
    box-shadow: 0 1px 5px rgba(83, 58, 40, 0.30);
}

.centro-carousel .owl-dot.active span {
    background: var(--brand-primary) !important;
}


/* ==============================
   CONTENUTO PRINCIPALE
============================== */

.centro-content {
    position: relative;
    z-index: 3;
    max-width: 1050px;
    margin: -25px auto 0;
    padding-right: 15px;
    padding-left: 15px;
}

.centro-main-card {
    padding: 26px;
    background: var(--brand-white);
    border: 1px solid rgba(231, 215, 200, 0.75);
    border-radius: 22px;
    box-shadow: 0 10px 35px var(--brand-shadow);
}


/* ==============================
   INTESTAZIONE
============================== */

.centro-heading {
    margin-bottom: 25px;
    text-align: center;
}

.centro-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: -62px auto 13px;
    color: var(--brand-white);
    font-size: 27px;
    background: linear-gradient(
        145deg,
        var(--brand-primary-light),
        var(--brand-primary-dark)
    );
    border: 5px solid var(--brand-white);
    border-radius: 50%;
    box-shadow: 0 5px 18px rgba(116, 78, 46, 0.20);
}

.centro-title {
    margin: 0;
    color: var(--brand-text);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.1px;
}

.centro-location {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    color: var(--brand-text-soft);
    font-size: 14px;
}

.centro-location i {
    color: var(--brand-primary);
}


/* ==============================
   PULSANTI PRINCIPALI
============================== */

.centro-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-bottom: 25px;
}

.centro-action {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 132px;
    padding: 20px 12px;
    color: var(--brand-text);
    font-family: inherit;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    border-radius: 17px;
    box-shadow: 0 5px 18px var(--brand-shadow);
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.centro-action:hover {
    color: var(--brand-primary-dark);
    background: #FFFCF9;
    border-color: var(--brand-primary-light);
    box-shadow: 0 10px 25px var(--brand-shadow-hover);
    transform: translateY(-2px);
}

.centro-action:focus-visible {
    outline: 3px solid rgba(184, 137, 91, 0.25);
    outline-offset: 3px;
}

.centro-action:active {
    box-shadow: 0 4px 12px var(--brand-shadow);
    transform: scale(0.98);
}

.centro-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: var(--brand-primary-dark);
    font-size: 24px;
    background: var(--brand-bg-soft);
    border: 1px solid rgba(215, 178, 140, 0.40);
    border-radius: 15px;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.centro-action:hover .centro-action-icon {
    color: var(--brand-white);
    background: var(--brand-primary);
    transform: scale(1.04);
}

.centro-action-full {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 15px;
    min-height: 90px;
}

.centro-action-full .centro-action-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
}

/* Pulsante Prenota evidenziato: aggiungere centro-action-primary all'HTML */
.centro-action-primary {
    color: var(--brand-white);
    background: linear-gradient(
        145deg,
        var(--brand-primary),
        var(--brand-primary-dark)
    );
    border-color: var(--brand-primary);
}

.centro-action-primary .centro-action-icon {
    color: var(--brand-white);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.22);
}

.centro-action-primary:hover {
    color: var(--brand-white);
    background: linear-gradient(
        145deg,
        var(--brand-primary-dark),
        #7F5636
    );
    border-color: var(--brand-primary-dark);
}

.centro-action-primary:hover .centro-action-icon {
    color: var(--brand-primary-dark);
    background: var(--brand-white);
}

/* Pulsante funzione non ancora disponibile */
.centro-action-disabled {
    cursor: not-allowed;
    opacity: 0.65;
    box-shadow: none;
}

.centro-action-disabled small {
    display: block;
    margin-top: -5px;
    color: var(--brand-text-soft);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
}

.centro-action-disabled:hover,
.centro-action-disabled:focus,
.centro-action-disabled:active {
    color: var(--brand-text);
    background: var(--brand-white);
    border-color: var(--brand-border);
    box-shadow: none;
    transform: none;
}

.centro-action-disabled:hover .centro-action-icon,
.centro-action-disabled:focus .centro-action-icon,
.centro-action-disabled:active .centro-action-icon {
    color: var(--brand-primary-dark);
    background: var(--brand-bg-soft);
    transform: none;
}


/* ==============================
   GRIGLIA INFORMAZIONI
============================== */

.centro-info-grid {
    display: block;
}


/* ==============================
   SEZIONI
============================== */

.centro-section {
    margin-top: 17px;
    padding: 21px;
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    border-radius: 17px;
    box-shadow: 0 3px 15px rgba(116, 78, 46, 0.04);
}

.centro-section-title {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--brand-text);
    font-size: 17px;
    font-weight: 700;
}

.centro-section-title i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--brand-primary-dark);
    background: var(--brand-bg-soft);
    border: 1px solid rgba(215, 178, 140, 0.35);
    border-radius: 10px;
}


/* ==============================
   ORARI
============================== */

.orari-settimanali {
    margin: 0;
}

.orari-settimanali li {
    display: flex;
    align-items: center;
    padding: 11px 0;
    font-size: 14px;
    text-transform: none;
    border-bottom: 1px solid #F0E6DC;
}

.orari-settimanali li:first-child {
    padding-top: 0;
}

.orari-settimanali li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.orari-settimanali .nome-giorno {
    color: var(--brand-text);
    font-weight: 600;
}

.orari-settimanali .orario {
    margin-left: auto;
    padding-left: 15px;
    color: var(--brand-text-soft);
    line-height: 1.45;
    text-align: right;
}

.orari-settimanali li.giorno-oggi {
    margin-right: -11px;
    margin-left: -11px;
    padding-right: 11px;
    padding-left: 11px;
    background: var(--brand-bg-soft);
    border-bottom-color: transparent;
    border-radius: 10px;
}

.orari-settimanali li.giorno-oggi .nome-giorno,
.orari-settimanali li.giorno-oggi .orario {
    color: var(--brand-primary-dark);
    font-weight: 700;
}

.badge-oggi {
    display: inline-block;
    margin-left: 7px;
    padding: 3px 7px;
    color: var(--brand-white);
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    background: var(--brand-primary);
    border-radius: 20px;
}

.dot {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    margin-right: 9px;
    border-radius: 50%;
}

.dot-green {
    background: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(184, 137, 91, 0.12);
}

.dot-gray {
    background: #C9B9AA;
}


/* ==============================
   DESCRIZIONE
============================== */

.centro-description {
    color: var(--brand-text-soft);
    font-size: 15px;
    line-height: 1.75;
}

.centro-description strong {
    color: var(--brand-text);
    font-weight: 700;
}

.centro-description p:last-child {
    margin-bottom: 0;
}

.centro-description-mobile-button {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 3px 0;
    color: var(--brand-primary-dark);
    font-weight: 600;
    text-align: left;
    background: transparent;
    border: 0;
}

.centro-description-mobile-button:hover {
    color: var(--brand-text);
}

.centro-description-mobile-button:focus-visible {
    outline: 3px solid rgba(184, 137, 91, 0.22);
    outline-offset: 4px;
    border-radius: 6px;
}

.centro-description-mobile-button i {
    transition: transform 0.2s ease;
}

.centro-description-mobile-button[aria-expanded="true"] i:last-child {
    transform: rotate(180deg);
}

.centro-description-mobile {
    padding-top: 18px;
}


/* ==============================
   SMARTPHONE
============================== */

@media (max-width: 767.98px) {
    .centro-page {
        padding-bottom: 25px;
    }

    .centro-carousel-wrapper {
        border-radius: 0 0 25px 25px;
    }

    .centro-carousel .item {
        aspect-ratio: 4 / 3;
    }

    .centro-content {
        margin-top: -12px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .centro-main-card {
        padding: 21px 15px;
        border-radius: 21px;
    }

    .centro-heading {
        margin-bottom: 21px;
    }

    .centro-logo {
        width: 66px;
        height: 66px;
        margin-top: -55px;
        font-size: 24px;
    }

    .centro-title {
        padding: 0 5px;
        font-size: 22px;
    }

    .centro-location {
        margin-top: 7px;
        font-size: 13px;
    }

    .centro-actions {
        gap: 11px;
        margin-bottom: 20px;
    }

    .centro-action {
        min-height: 120px;
        padding: 17px 9px;
        font-size: 14px;
        line-height: 1.35;
        border-radius: 15px;
    }

    .centro-action-icon {
        width: 48px;
        height: 48px;
        font-size: 21px;
        border-radius: 14px;
    }

    .centro-action-full {
        min-height: 82px;
        padding: 14px;
    }

    .centro-section {
        padding: 18px 16px;
        border-radius: 15px;
    }

    .centro-section-title {
        margin-bottom: 15px;
        font-size: 16px;
    }

    .orari-settimanali li {
        padding: 10px 0;
        font-size: 13px;
    }

    .orari-settimanali .orario {
        max-width: 55%;
        padding-left: 10px;
    }

    .centro-description-mobile-button {
        display: flex;
    }

    .centro-description-desktop {
        display: none;
    }
}


/* ==============================
   SMARTPHONE PICCOLI
============================== */

@media (max-width: 374.98px) {
    .centro-main-card {
        padding-right: 12px;
        padding-left: 12px;
    }

    .centro-title {
        font-size: 20px;
    }

    .centro-actions {
        gap: 8px;
    }

    .centro-action {
        min-height: 112px;
        padding-right: 6px;
        padding-left: 6px;
        font-size: 13px;
    }

    .centro-action-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .orari-settimanali li {
        align-items: flex-start;
    }

    .orari-settimanali .orario {
        font-size: 12px;
    }
}


/* ==============================
   TABLET
============================== */

@media (min-width: 768px) and (max-width: 991.98px) {
    .centro-carousel-wrapper {
        width: calc(100% - 30px);
        margin: 20px auto 0;
        border-radius: 22px;
    }

    .centro-content {
        margin-top: -35px;
    }

    .centro-description-mobile {
        display: none !important;
    }
}


/* ==============================
   DESKTOP
============================== */

@media (min-width: 992px) {
    .centro-carousel-wrapper {
        width: calc(100% - 40px);
        max-width: 1200px;
        margin: 25px auto 0;
        border-radius: 24px;
    }

    /* Ogni foto resta 4:3; su desktop Owl ne mostra tre */
    .centro-carousel .item {
        aspect-ratio: 4 / 3;
    }

    .centro-content {
        margin-top: -40px;
    }

    .centro-actions {
        max-width: 700px;
        margin-right: auto;
        margin-left: auto;
    }

    .centro-info-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.5fr) minmax(290px, 0.8fr);
        gap: 18px;
        align-items: start;
    }

    .centro-info-grid .centro-section {
        height: 100%;
        margin-top: 0;
    }

    .centro-description-mobile {
        display: none !important;
    }
}


/* ==============================
   RIDUZIONE ANIMAZIONI
============================== */

@media (prefers-reduced-motion: reduce) {
    .centro-action,
    .centro-action-icon,
    .centro-description-mobile-button i {
        transition: none;
    }

    .centro-action:hover,
    .centro-action:active {
        transform: none;
    }
}

.navbar-toggler {
    border:0px;
}



/* ==============================
   FOOTER APP FRIENDLY
============================== */

.app-footer {
    width: 100%;
    margin-top: 40px;

    color: var(--brand-text-soft, #7A624D);
    background: #ffffff;

    border-top: 1px solid var(--brand-border, #E7D7C8);
}

.app-footer-inner {
    display: grid;
   grid-template-columns:
    minmax(190px, 0.8fr)
    minmax(320px, 1.3fr)
    minmax(260px, 0.9fr);

    gap: 32px;
    align-items: center;

    width: 100%;
    max-width: 1110px;

    margin: 0 auto;
    padding: 30px 20px 24px;
}


/* ==============================
   LOGO CALENDIVA
============================== */

.app-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    text-align: left;
}

.app-footer-logo {
    display: block;

    width: 100px;
    height: auto;

    margin-bottom: 7px;
}

.app-footer-powered {
    color: var(--brand-text-soft, #7A624D);

    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
}


/* ==============================
   DATI ATTIVITÀ
============================== */

.app-footer-business {
    display: flex;
    flex-direction: column;
    gap: 6px;

    color: var(--brand-text-soft, #7A624D);

    font-size: 12px;
    line-height: 1.5;
}

.app-footer-business-name {
    margin-bottom: 2px;

    color: var(--brand-text, #533A28);

    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.app-footer-business-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.app-footer-business-row i {
    flex: 0 0 17px;

    width: 17px;

    color: var(--brand-primary, #B8895B);
    font-size: 12px;
    text-align: center;
}


/* ==============================
   BOTTONI PRIVACY E COOKIE
============================== */

.app-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.app-footer-link {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    justify-content: center;

    width: auto;
    min-height: 32px;
    padding: 6px 10px;

    color: var(--brand-primary-dark, #93663F);

    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;

    background: var(--brand-bg-soft, #F4ECE4);

    border: 1px solid var(--brand-border, #E7D7C8);
    border-radius: 8px;

    box-shadow: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.app-footer-link i {
    font-size: 9px;
}

.app-footer-link:hover {
    color: #ffffff;
    text-decoration: none;

    background: var(--brand-primary, #B8895B);
    border-color: var(--brand-primary, #B8895B);

    transform: translateY(-1px);
}

.app-footer-link:active {
    transform: scale(0.97);
}

.app-footer-link:focus-visible {
    outline: 2px solid rgba(184, 137, 91, 0.28);
    outline-offset: 2px;
}


/* ==============================
   COPYRIGHT
============================== */

.app-footer-copyright {
    width: 100%;

    padding:
        13px
        20px
        calc(13px + env(safe-area-inset-bottom));

    color: var(--brand-text-soft, #7A624D);

    font-size: 10px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;

    background: var(--brand-bg, #FAF6F1);

    border-top: 1px solid #F0E6DC;
}


/* ==============================
   TABLET
============================== */

@media (max-width: 991.98px) {

    .app-footer-inner {
        grid-template-columns:
            minmax(150px, 0.8fr)
            minmax(280px, 1.4fr);

        gap: 24px;

        padding-right: 24px;
        padding-left: 24px;
    }

    .app-footer-links {
        grid-column: 1 / -1;

        justify-content: center;
    }

}


/* ==============================
   SMARTPHONE
============================== */

@media (max-width: 767.98px) {

    .app-footer {
        margin-top: 28px;
    }

    .app-footer-inner {
        display: flex;
        flex-direction: column;
        gap: 18px;

        padding: 25px 18px 20px;
    }

    .app-footer-brand {
        align-items: center;

        width: 100%;

        text-align: center;
    }

    .app-footer-logo {
        width: 95px;
        margin-bottom: 6px;
    }

    .app-footer-powered {
        font-size: 10px;
    }

    .app-footer-business {
        align-items: center;

        width: 100%;

        font-size: 11px;
        text-align: center;
    }

    .app-footer-business-name {
        font-size: 13px;
    }

    .app-footer-business-row {
        justify-content: center;
    }

    .app-footer-business-row i {
        font-size: 11px;
    }

    .app-footer-links {
        display: flex;
        gap: 8px;
        align-items: center;
        justify-content: center;

        width: 100%;
    }

    .app-footer-link {
        width: auto;
        min-height: 30px;
        padding: 5px 9px;

        font-size: 10px;

        border-radius: 8px;
    }

    .app-footer-link i {
        font-size: 9px;
    }

    .app-footer-copyright {
        padding-right: 18px;
        padding-left: 18px;

        font-size: 9px;
    }

}


/* ==============================
   SMARTPHONE PICCOLI
============================== */

@media (max-width: 374.98px) {

    .app-footer-inner {
        padding-right: 14px;
        padding-left: 14px;
    }

    .app-footer-business-row {
        align-items: flex-start;
    }

    .app-footer-business-row span {
        max-width: 255px;
    }

    .app-footer-links {
        gap: 7px;
    }

    .app-footer-link {
        min-height: 29px;
        padding: 5px 8px;

        font-size: 9px;
    }

    .app-footer-link i {
        font-size: 8px;
    }

}


/* ==============================
   RIDUZIONE ANIMAZIONI
============================== */

@media (prefers-reduced-motion: reduce) {

    .app-footer-link {
        transition: none;
    }

    .app-footer-link:hover,
    .app-footer-link:active {
        transform: none;
    }

}


.app-footer-links .app-footer-link.app-footer-admin-link {
    color: var(--brand-text-soft, #7A624D) !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.app-footer-links .app-footer-link.app-footer-admin-link:hover {
    color: var(--brand-primary-dark, #93663F) !important;
    background: transparent !important;
    border-color: transparent !important;
    text-decoration: underline !important;
    transform: none;
}



 