/*
Theme Name:     Snailmed
Theme URI:      n/a
Template:       kadence
Author:         Mariusz Wojciechowski
Author URI:     n/a
Description:    Child Theme Description
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/



.widget-upsell-title {
    padding-top: 20px;
}

.custom-upsell-slider.swiper {
    width: 100%;
    position: relative;
    margin-top: 10px;
    overflow: hidden;
}

.custom-upsell-slide {
    box-sizing: border-box;
    width: 48% !important;
}

.custom-upsell-slide-inner {
    display: flex;
    border: 1px solid #ddd;
    background: #fff;
    height: 150px;
}

.custom-upsell-image {
    flex: 0 0 33.3%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-upsell-image img {
    max-width: 100%;
    max-height: 170px;
    object-fit: contain;
}

.custom-upsell-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 15px;
    justify-content: flex-start;
}

.custom-upsell-title {
    text-align: left;
    font-weight: 500;
    margin-bottom: 15px;
}

.custom-upsell-title a {
    color: #333 !important;
    text-decoration: none;
}

.custom-upsell-title a:hover {
    color: #dfb743;
}

.custom-upsell-price {
    font-weight: 600;
    font-size: 1em;
    color: #111;
    text-align: left;
    margin-bottom: 10px;
}

.custom-upsell-footer {
    margin-top: auto;
    padding-top: 0;
    display: block;
}

.custom-upsell-footer form {
    margin: 0;
}

.custom-upsell-footer button,
.custom-upsell-footer a.button {
    background-color: #fff;
    border: 1px solid #000;
	color: #000;
	border-radius: 4px;
    padding: 5px 10px!important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 14px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    height: 38px;
}

.custom-upsell-footer button:hover,
.custom-upsell-footer a.button:hover {
	border: 1px solid #878787;
	color: #878787;
	box-shadow: none;
}







@media (max-width: 1024px) {
    .woocommerce-variation-add-to-cart {
        justify-content: flex-start!important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .custom-upsell-slide-inner {
        flex-direction: column;
        height: auto;
    }

    .custom-upsell-image {
        flex: none;
        padding: 0 0 15px 0;
    }

    .custom-upsell-details {
        padding: 0;
    }
	
	.polecane .price span{
		font-size: 15px;
	}
	.polecane h2.woocommerce-loop-product__title{
		margin-bottom: 25px;
		padding-bottom: 25px;
	}
	.polecane .button{
		font-size: 14px;
	}
}


