

/* Carosello immagini */
.product-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-container {
    display: flex;
    transition: transform 0.3s ease;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

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

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

.carousel-dot.active {
    background: white;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/**
Generali
*/

.special-col {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.product-detail-color , .product-detail-misure  , .product-detail-qta , .favorite-categoria{
    margin-bottom: 10px;
    font-family: "Avant Garde",Avantgarde,"Century Gothic",CenturyGothic,"AppleGothic",sans-serif;
}

.box-product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.box-product-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/**
Elenco prodotti 
*/


.product{
    background-color: #f0f0f0;
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 0px;
}

.product-favorite,
.product-color {

    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.product-favorite {
    right: 10px;
    top: 5px;
    padding-top: 2px;
}

.product-price .prezzo-unitario,
.order-price .prezzo-unitario,
.favorite-price .prezzo-unitario {
    font-size: 16px;
}

.product-price .prezzo-scontato,
.order-price .prezzo-scontato,
.favorite-price .prezzo-scontato,
.product-price .prezzo-valido,
.favorite-price .prezzo-valido {
    font-size: 14px;
}


.product-price .vecchio-prezzo ,
.favorite-price .vecchio-prezzo {
    font-size: 12px;
}

.order-price .prezzo-decimale,
.order-price .prezzo-euro,
.product-price .prezzo-decimale ,
.product-price .prezzo-euro,
.favorite-price .prezzo-decimale,
.favorite-price .prezzo-euro {
    font-size: 10px;
    margin-top: -5px;
}

/**
Dettaglio prodotto
*/

#add-favorite {
    right: 10px;
    top: 10px;
    padding-top: 7px;
    z-index: 2
}

.update-colore {
    display: inline-block;
    border: 2px solid #ccc;
    padding-top: 3px;
    text-align: center;
    margin-right: 10px;
    margin-bottom: 5px;
    border-radius: 50%;
}

.colore-active,
.update-colore:hover {
    border: 3px solid rgb(102, 102, 102);
}

.product-details {
    padding: 10px;
}

.product-detail-title {
    margin-bottom: 5px;
}

#product-detail-color-title,
#product-detail-misure-title {
    font-weight: bold;
    color: #000
}

.update-misura {
    width: 65px;
    color: rgb(102, 102, 102);
    border: 1px solid rgb(102, 102, 102);
    display: inline-block;
    text-align: center;
    margin-right: 7px;
    margin-bottom: 7px;
    line-height: 25px;
    border-radius: 5px;
}

.update-misura:hover,
.misura-active {
    border: 1px solid rgb(102, 102, 102);
    color: #FFF;
    background-color: rgb(102, 102, 102);
}

.misura-invalid {
    color: #ccc;
    border: 1px solid #ccc;
}






.product-detail-info{
    padding: 10px;
}

.box-product-color-item {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-block;

}





.colore-invalid {
    opacity: 0.5;
}



.product-detail-favorite{
    font-size: 24px;
    font-weight: bold;
    color: var(--color-grey);
}
.favorite-active  , .product-detail-favorite:hover , .favorite-active i{
    color: var(--color-success);
}


.vecchio-prezzo{
    color: #808285;
    text-decoration: line-through;
}

.prezzo-valido ,  .prezzo-scontato{
    color: #000;
}
.prezzo-unitario{
    font-size: 28px;
}
.prezzo-decimale , .prezzo-euro{
    top: -5px;   
    font-size: 14px; 
    position: relative;
}


.prezzo-decimale{
    letter-spacing: -1px;
}
.product-detail-qta{
    margin-top: 10px
}

.product-detail{
    padding: 10px;
}


.product-color {

    display: inline-block;
    border: 1px solid #ccc;
    padding-top: 3px;
    text-align: center;
    margin-right: 5px;
    margin-bottom: 5px;
}



/**
    Favoriti
*/
.favorite-nome{
    font-size: 0.9375rem;
    font-weight: 400;
}

.favorite-categoria{
    font-size: 10px;
    margin-bottom: 5px;
    padding-top: 5px
}

.favorite-colore-misura{
    font-size: 10px;
    text-align: left;
    margin-top: -10px;
}

.favorite-price{
    position: absolute;
    bottom: 1px;
    right: 20px;
}

.order-price {
    
}




.favorite-img{
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.favorite-hr{
    border: 0;
    height: 1px;
    background: #ddd;
    background-image: linear-gradient(to right, #ccc, #ddd, #ccc);
}


/**
    Pulsanti 

*/

.icona-action {
    position: absolute;
    background: #FFF;
    border-radius: 50%;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    color: var(--color-grey);
}

.icona-action:hover , .icona-action-active {
    color: var(--color-success);
}

.icona-action-small {
    width: 22px;
    height: 22px;
    padding-top: 3px;
    font-size: 12px;
}

.icona-action-big {
    width: 36px;
    height: 36px;
}

.add-to-cart{
    right: 9px;
    bottom: 5px;
}   
.remove-from-favorites{
    left: 9px;
    top: 5px;
}
.add-to-favorites{
    left: 9px;
    top: 5px;
}

/**
CARELLO FINALE 
*/

.update-cart-qta{
    
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 27px;
    display: block;
    width:86px;
    margin: 10px 0px 10px 0px
}
.cart-qta-minus , .cart-qta-plus , .cart-qta-value {
    width: 25px;
    height: 25px;
    display: inline-block;
    text-align: center;
    line-height: 25px;
    color: var(--color-grey);
}

.cart-qta-minus{
    border-right: 1px solid #ccc;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.cart-qta-plus {
    border-left: 1px solid #ccc;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.cart-qta-minus,
.cart-qta-plus {
cursor: pointer;
    background: #f0f0f0;
}

.cart-qta-value{
    font-size: 14px;
    font-weight: bold;
    background: #FFF;
}
.btn-primary,
.btn-outline-secondary {
    border-radius: 20px !important;
    text-transform: uppercase;
    padding: 0.5rem 1.125rem !important;
    font-size: 0.8125rem !important;
}
.order-detail{
    width: 30px ;
    height: 30px; 
    color: #FFF;
    border-radius: 50%;
    line-height: 30px;
    background: #f0f0f0;
    font-size: 12px;
}
.order-detail i{
    color: var(--color-grey)
}
.order-detail:hover i{
    color: var(--color-success);
}