/**
* Woo Cart Upsells (CART PAGE)
*/ 
.maxi-cart-upsells {
    margin-top: 30px;
}
.maxi-cart-upsells-text h2 {
    display:flex;
    flex-direction: row;
    align-items: center;
    gap:7px;
    margin-bottom: 20px;
    font-size: 1.6em;
}
.maxi-cart-upsells-text h3 {
    display:flex;
    flex-direction: row;
    align-items: center;
    gap:7px;
    margin-bottom: 20px;
    font-size: 1.1em;
    font-family:"Quicksand", sans-serif;
    color: var(--theme-palette-color-2);
}
@media (max-width:481px) {
    .maxi-cart-upsells-text h3 {
        font-size: 14px;
        font-weight:400;
        color:var(--theme-palette-color-2)
    }
}

.maxi-cart-upsells-text {
    margin-bottom: 25px;
    font-size: 15px;
    color: var(--theme-palette-color-4);
}

.maxi-cart-upsells-text p,
.maxi-cart-upsells-text ul {
    margin-top:0;
    margin-left:0;
    margin-bottom:10px;
}
.maxi-cart-upsells-text ul {
        list-style:disc;
        padding-inline-start:15px;
    }

        .maxi-cart-upsells-text ul {
            list-style: none;
            padding-left: 0;
        }

        .maxi-cart-upsells-text ul li {
            position: relative;
            padding-left: 1.6em; /* prostor za ikono */
        }

        .maxi-cart-upsells-text ul li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.25em;         /* fino poravnaj po višini */
            width: 1em;
            height: 1em;
            background: url("https://hortia.si/wp-content/themes/hortia/assets/icons/ikona-kljukica.svg") no-repeat center / contain;
        }

@media (max-width:481px) {
    .maxi-cart-upsells-text,
    .maxi-cart-upsells-text p,
    .maxi-cart-upsells-text ul  {
        font-size:15px;
        padding-inline-start:0;
        margin-bottom:15px;
    }
    .maxi-cart-upsells-text ul {
        padding-inline-start:0px;
    }
}

.maxi-cart-upsells-text h3 svg {
    width:30px;
    height:30px;
    fill: var(--theme-palette-color-1);
    color: var(--theme-palette-color-1);
}
.maxi-cart-upsells-text h3 svg.arrow-icon {
    transform:rotateX('180deg');
}
.maxi-cart-upsells-text h3 svg.arrow-icon .st0 {
    fill:none;
    stroke:var(--theme-palette-color-1);
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
    stroke-miterlimit:10;
}

.maxi-upsell-grid {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    flex-direction: column;
}
.maxi-upsell-item {
    width: 100%;
    border: 1px solid #dcdcdc;
    padding: 20px;
    border-radius: 6px;
    display:flex;
    flex-direction: row;
    gap:20px;
    transition: all 0.5s ease;
    
}
.maxi-upsell-item:hover {
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
    background-color: var(--theme-palette-color-11);
    border-color: var(--theme-palette-color-1);
}
.maxi-upsell-thumb {
    display: block;
    width:clamp(80px, 20%, 100px);
}
.maxi-upsell-thumb img {
    width: 100%;
    height: auto;
    border-radius:8px;
}

.maxi-upsell-info-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width:100%;
}
body h3.maxi-upsell-title {
    font-size: 0.9em;
    margin-bottom: 0px;
    margin-block-end:3px;
    font-weight:700;
    font-family: "Nunito", sans-serif;
}
.maxi-upsell-price {
    font-weight: bold;
}
body .maxi-cart-upsells .quantity { 
    margin-right:10px;
    max-width:100px;
    height:var(--quantity-height, 40px);
    line-height:var(--quantity-height, 40px);
}
body .maxi-cart-upsells .quantity * {
    font-size: 12px!important;
}
body .maxi-cart-upsells .quantity input {
    background-color: #fff;
}

body .maxi-cart-upsells .quantity[data-type=type-2] .ct-increase,
body .maxi-cart-upsells .quantity[data-type=type-2] .ct-decrease {
    width:22px;
    height:22px;
    line-height:22px;
    top:10px;
}
body .maxi-cart-upsells .quantity[data-type=type-2] .ct-increase:before,
body .maxi-cart-upsells .quantity[data-type=type-2] .ct-decrease:before{
    font-size:8px!important;
}

.maxi-upsell-add-link span.maxi-upsell-button-plus {
    display:none;
}


@media (max-width:835px) {
    .maxi-cart-upsells {
        margin-top:-15px;
        margin-bottom: 30px;
        border-top:dashed 1px var(--theme-palette-color-1);
        padding-top:25px;
    }
    .maxi-cart-upsells h2 {
        font-size: 18px;
        font-weight:400;
    }
    .maxi-cart-upsells h3.maxi-upsell-title {
        font-size:14px;
        font-weight:400;
    }
    .maxi-upsell-item {
        padding:0;
        border:none;
        gap:12px!important;
        align-items:center
    }
    .maxi-upsell-item:hover {
        background-color:transparent;
    }
    .maxi-upsell-item .quantity {
        display:none
    }
    .maxi-upsell-item .price {
        margin-bottom:0!important;
    }
    .maxi-upsell-item .maxi-card-price {
        font-size: 14px;
    }
    .maxi-upsell-controls {
        margin-top:0!important;
    }
    .maxi-upsell-add-link {
        display:flex;
        align-items:center;
        padding:8px 8px;
        aspect-ratio:1/1;
        width:15px;
    }
    .maxi-upsell-add-link span.maxi-upsell-button-plus {
        display:block;
        font-size:24px;
        font-weight:400;
        color:white;
    }
    .maxi-upsell-add-link span.maxi-upsell-button-text {
        display:none;
    }
    
    .maxi-upsell-info-wrapper {
        gap:30px;
    }
}
