#prenota {
    background: url(../img/rent_background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 20px 0;
}

#prenota .alert-info {
  display: inline-block;          /* così non occupa il 100% */
  padding: 1rem 1.5rem;           /* spazio attorno al testo */
  color: #055160;
  background-color: #e5fcff;      /* un po' più chiaro per far risaltare il neon */
  
  border: 2px solid #00eaff;      /* colore bordo neon */
  border-radius: 8px;

  /* Effetto neon */
  box-shadow:
    0 0 5px #00eaff,
    0 0 10px #00eaff,
    0 0 20px #00eaff,
    0 0 30px #00eaff;
}

#prenota .alert-info span {
  color: #055160; /* colore coerente con il tema */
  font-weight: bold;

  text-shadow:
    0 0 4px #ffffff,
    0 0 8px #ffffff,
    0 0 12px #00eaff;
}

.rental-title {
    text-align: center;
    color: #fff;
}

.material-box {
    position: relative;
}

.material-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 15px;
}

.material-header h1 {
    color: var(--primary);
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    font-weight: 800;
}

.material-header p {
    color: var(--dark);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.material-box {
    margin: 0 auto;
}

.material-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 10px;
    justify-content: right !important;
    float: left;
    width: 50%;
    margin-bottom: 20px;
}

.material-tab {
    padding: 10px 20px;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    border-radius: 2rem;
    border: 1px solid #fcfdff;
    margin: 0 10px;
}

.material-tab.active {
    background-color: #fff;
    color: #000;
}

.material-tab:hover {
    background-color: #fff;
    color: #000;
}

.material-category {
    display: none;
    animation: fadeIn 0.5s ease;
}

.material-category.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.material-grid {
    margin-bottom: 30px;
}

.item-carousel {
    padding: 10px;
}
.material-item {
    border: 2px solid var(--gray-light);
    border-radius: 2rem;
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    background: white;
}

.material-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--gray-light);
}

.material-item.selected {
    border-color: var(--gray-light);
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.2);
}

.custom-control-related li {
   position: absolute;
  z-index: 99;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: -1.375rem;
  transition: all .3s ease-in-out;
  border: 1px solid #000;        /* bordo nero o come preferisci */
  border-radius: 0;              /* ← quadrato */
  background-color: #000;        /* ← sfondo nero */
  font-size: .8085rem;
  line-height: 2.625rem;
  text-align: center;
  color: #fff;                   /* ← freccia/icone bianche */
  list-style: none;
  opacity: 0.5;      
}

.custom-control-related li.prev {
  left: -12px;
  border-bottom-right-radius: 15px;
  border-top-right-radius: 15px;
}

.custom-control-related li.next {
  right: -12px;
  border-bottom-left-radius: 15px;
  border-top-left-radius: 15px;
}

.tns-nav {
  text-align: center;
  margin: 10px 0;
}

.tns-nav > [aria-controls] {
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0 5px;
  border-radius: 50%;
  background: #ddd;
  border: 0;
}

.tns-nav > .tns-nav-active {
  background: var(--primary-color);
}


/* Nuovi stili per la struttura aggiornata */
.inner-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.item-header {
    margin-bottom: 20px;
    position: relative;
}

.offer-discount {
  position: absolute;
  right: -20px;
  padding: 16px 9px;
  border-radius: 100px;
  color: #fff;
  background: var(--primary-color);
  top: -18px;
  font-weight: bold;
}

.offer-title {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.bd-red {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}

.txt-red {
    color: var(--primary-color);
}

.offer {
    font-weight: 800;
}

.level {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
    display: block;
}

.slops {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.slop{
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: white;
    font-weight: bold;
}


.slop img {
    width: 20px;
    height: 20px;
}


.desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    min-height: 70px;
}

.item-footer {
    margin-top: auto;
}

.offer-composition {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.product {
  width: 120px;
  height: 350px;
  overflow: hidden;
  position: relative;
  left: -10px;
}

.product img {
  width: 120px;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
  transform: translateY(0);
}

.product:hover img {
  transform: translateY(-16%); /* fai scorrere l'immagine verso l’alto */
}

.product-side {
    flex: 1;
}

.offer-prices {
    margin-bottom: 15px;
}

.price-final span {
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
}

.shop-price {
    font-weight: normal!important;
    color:#999;
    font-size: 14px !important;
}

.price-old {
    text-decoration: line-through !important;
    color: #999;
    font-size: 1em!important;
    font-weight: 400!important;
}

.boot-price-old, .helmet-price-old {
    text-decoration: line-through !important;
    color: #999;
    font-size: 0.9em!important;
    font-weight: normal;
}


.boot-price-old,
.boot-price, 
.helmet-price-old, 
.helmet-price {
    display: inline-block;
}

.boot-price, 
.helmet-price {
    color: #000;
    font-size: 0.9em!important;

}

.set-modal-item-days {
    display: inline-block;
    margin-right: 5px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* CONTENITORE EFFETTO BOTTONE */
.checkbox.option {
    position: relative;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 20px;
    border-top-left-radius: 20px;
    transition: 0.2s ease;
    border-top-left-radius: 0;
}

.checkbox.option:hover {
    border-color: #999;
    background: #f8f8f8;
}

.checkbox.option label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.checkbox.option .top-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* RIGA SUPERIORE: checkbox + immagine + testo */
.option .top-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Checkbox più grande */
.checkbox.option input[type="checkbox"] {
    position: absolute;
    opacity: 0;         /* nasconde il checkbox nativo */
    width: 0;
    height: 0;
}

/* Cerchio personalizzato */
.checkbox.option input[type="checkbox"] + .custom-checkbox {
    position: absolute;
    top: -7px;
    left: -9px;
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 50%;
    background-color: #fff;
    transition: 0.2s ease;
}

/* Stato CHECKED */
.checkbox.option input[type="checkbox"]:checked + .custom-checkbox {
    background-color: #4CAF50; /* colore selezionato */
    border-color: #4CAF50;
}

.checkbox.option .top-row {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* Immagine */
.checkbox img {
    width: 45px;
}

/* Testo accanto alla IMG */
.checkbox span .info {
    font-size: 0.9em;
    color: #555;
}

/* BLOCCO PREZZI SOTTO LA RIGA */
.info-acc-prices {
    margin-top: 4px;
    font-size: 0.9em;
}

/* Opzioni disabilitate */
.options .disabled-option,
.optionsModal .disabled-option {
    opacity: 0.5;
}

.price-final {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info {
    font-size: 0.85rem;
    color: #666;
    display: block;
}

.product-name {
    font-weight: 500;
    margin-bottom: 4px;
}

.price-container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.example {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
}

.validation .btn {
    width: 100%;
}

.material-price {
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: none;
}

.material-badge {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    position: absolute;
    top: 20px;
    right: 20px;
}

.material-scroll-container {
    display: none;
}

#datepickercategories, .item-date-range.categories .btn {
    color: #fff !important;
    cursor: pointer;
} 

#prenota .bi-calendar3 {
  color: #fff;
  transition: all 0.3s ease;
}

/* Stili per le sottocategorie */
.subcategory-tabs {
    display: flex;
    justify-content: left;
    margin-bottom: 20px;
    
}

.subcategory-tab {
    padding: 10px 20px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 2rem;
    border: 1px solid #fcfdff;
    margin: 0 10px;

}

.subcategory-tab.active {
    background-color: #fff;
    color: #000;
}

.subcategory-tab:hover {
    background-color: #fff;
    color: #000;
}

.subcategory-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.subcategory-content.active {
    display: block;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray);
    font-weight: 700;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--primary-dark), #005580);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color:var(--primary-dark) ;
}

.btn-secondary {
    
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
}

.btn-secondary:hover {
    background: linear-gradient(to right, var(--primary-dark), #005580);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color:var(--primary-dark) ;
}

.btn-secondary.add-set {
    background: linear-gradient(to right, var(--green-light), var(--green));
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
}

.btn-secondary.add-set:hover {
    background: linear-gradient(to right, var(--primary-dark), #005580);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color:var(--primary-dark) ;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
}

.btn-outline-primary:hover {
    background-color: rgba(0, 136, 204, 0.1);
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.item-date-range.categories {
    font-size: 1.2rem; /* aumenta dimensione base del testo */
    font-weight: 600;
}

.item-date-range.categories #item-days {
    font-size: 1.3rem; /* più grande e in evidenza */
    font-weight: 700;
    margin-right: 10px;
}

.item-date-range.categories #datepickercategories {
    font-size: 1.1rem;
    color: #fff !important;
    font-weight: 600;
    padding: 5px 10px;
}

.item-date-range.categories .bi-calendar3 {
    font-size: 1.6rem; /* aumenta la dimensione icona */
    margin-left: 10px;
    color: var(--primary-color); /* colore più visibile */
    transition: transform 0.3s ease, color 0.3s ease;
}

.item-date-range.categories .btn.p-0.border-0.bg-transparent:hover .bi-calendar3 {
    transform: scale(1.2);
    color: #c40623; /* tonalità più scura in hover */
}

.item-date-range.categories .d-inline-flex {
    align-items: center;
    gap: 8px;
}

/* Responsive per schermi piccoli */
@media (max-width: 768px) {
    .item-date-range.categories {
        font-size: 1rem;
    }
    .item-date-range.categories .bi-calendar3 {
        font-size: 1.4rem;
    }
}


.item-date-range .btn.p-0.border-0.bg-transparent {
    /* Miglioramenti per indicare l'interattività */
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 4px 8px !important; /* Override del padding-zero originale */
}

/* Effetto hover per indicare l'interattività */
.item-date-range .btn.p-0.border-0.bg-transparent:hover {
    background-color: rgba(0, 123, 255, 0.1) !important;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Effetto quando viene premuto */
.item-date-range .btn.p-0.border-0.bg-transparent:active {
    transform: translateY(1px);
    background-color: rgba(0, 123, 255, 0.2) !important;
}

/* Miglioramento visibilità icona calendario */
.item-date-range .btn.p-0.border-0.bg-transparent .bi-calendar3 {
    color: #0d6efd; /* Colore primario Bootstrap */
    transition: all 0.3s ease;
}

/* Effetto hover sull'icona */
.item-date-range .btn.p-0.border-0.bg-transparent:hover .bi-calendar3 {
    transform: scale(1.1);
    color: #0a58ca; /* Colore più scuro al hover */
}

/* Miglioramento visibilità testo date */
.item-date-range .btn.p-0.border-0.bg-transparent .form-control-plaintext {
    color: #495057 !important; /* Colore più visibile */
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Effetto hover sul testo */
.item-date-range .btn.p-0.border-0.bg-transparent:hover .form-control-plaintext {
    color: #0d6efd !important; /* Cambia colore al hover */
}

/* Animazione pulsante per attirare l'attenzione */
@keyframes pulse-gentle {
    0% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(13, 110, 253, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

/* Applica l'animazione solo al primo rendering per attirare l'attenzione */
.item-date-range .btn.p-0.border-0.bg-transparent {
    animation: pulse-gentle 2s 1;
}

.material-summary {
    background-color: var(--light);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray);
}

#cart h4 {
    margin-bottom: 20px;
}

#cart .cadd-pack {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}
#cart .cadd-pack:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#cart .cadd-pack .card-body {
    padding: 0;
}


#cart .illustration {
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}
#cart .illustration img {
    max-height: 280px;
    object-fit: contain;
}

#cart .description {
    padding: 15px;
}

#cart .offer-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}
#cart .offer {
    color: #e74c3c;
}
#cart .skier {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: normal;
}
#cart .infos {
    font-size: 0.9rem;
    color: #34495e;
}
#cart .infos span {
    display: block;
    margin-bottom: 5px;
}
#cart .percent {
    color: #27ae60;
    font-weight: 500;
}
#cart .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}
#cart .link-icon {
    color: #7f8c8d;
    font-size: 1.2rem;
    margin-left: 15px;
    transition: color 0.2s;
}
#cart .link-icon:hover {
    color: #e74c3c;
}
#cart .total-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    background-color: #e9ecef;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}
#cart .header {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 20px 0;
    margin-bottom: 30px;
    border-radius: 0 0 10px 10px;
}
#cart .progress {
    height: 8px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.summary-container {
    padding: 20px;
}

.summary-group {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}

.summary-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
}

.summary-label {
    color: #555;
}

.summary-value {
    font-weight: 600;
    color: #222;
}

.summary-subtotal {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #eaeaea;
}

.summary-total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #eaeaea;
    font-weight: bold;
}

.summary-total .summary-label {
    font-size: 16px;
    color: #333;
}

.summary-total .summary-value {
    font-size: 18px;
    color: #e63946;
}

.pulsante-info {
    background: linear-gradient(to bottom, #ffcc00, #ff9900);
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    font-weight: bold;
    color: #000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.pulsante-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    background: linear-gradient(to bottom, #ffdd22, #ffaa22);
}
.pulsante-info:active {
    transform: translateY(0);
}

.alert-custom {
    background-color: #e3f2fd;
    border-left: 5px solid #2196F3;
    border-radius: 8px;
}
.popover-custom {
    border: 2px solid #ffcc00;
    border-radius: 12px;
}
.popover-custom .popover-header {
    background-color: #ffcc00;
    color: #000;
    font-weight: bold;
    border-bottom: 2px solid #ff9900;
    border-radius: 10px 10px 0 0;
}
.popover-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
   

    .material-tab, .subcategory-tab {
        padding: 5px 10px;
        margin: 0 5px;
    }

 

}


