/* ==============================
   EXTRA PRODUCTS – COMPACT MODE
================================ */
/* hide swiper before init (prevent layout jump) */
.extra-products-swiper {
    opacity: 0;
    visibility: hidden;
}

/* όταν γίνει init */
.extra-products-swiper.swiper-initialized {
    opacity: 1;
    visibility: visible;
    transition: opacity .25s ease;
}

.extra-products-carousel {
    margin-top: 40px;
}

/* τίτλος */
.extra-products-carousel .extra-products-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* swiper layout */
.extra-products-carousel .swiper {
    padding: 10px 0 30px;
}

/* Woo wrapper fix */
.extra-products-carousel ul.products {
    display: flex;
    gap: 16px;
    padding: 0;
    margin: 0;
}

/* κάθε product */
.extra-products-carousel li.product {
    width: 100% !important;
    margin: 0 !important;
}

.extra-products-carousel li.product .tinv-wishlist {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 10px !important;
    right: 10px !important;
    border: 1px solid #cb2122;
    height: 40px;
    width: 40px;
    border-radius: 100%;
    background-color: #cb212205;
}


.extra-products-carousel .tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart.no-txt {
    position: relative;
    width: 0;
    height: 0;
    vertical-align: sub;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

/* ==============================
   EXTRA PRODUCTS – MATCH SHOP UI
================================ */

.extra-products-carousel li.product {
    border: 1px solid #eee; /* 👈 light border */
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

/* inner card */
.extra-products-carousel li.product .woocommerce-LoopProduct-link {
    padding: 14px;
    text-align: left; /* 👈 όχι center */
}

/* IMAGE */
.extra-products-carousel li.product img {
    height: 130px;
    object-fit: contain;
    margin-bottom: 12px;
    padding: 10px 0;
}

/* TITLE */
.extra-products-carousel li.product h2,
.extra-products-carousel li.product .woocommerce-loop-product__title {
    display: -webkit-box; /* 👈 ΑΠΑΡΑΙΤΗΤΟ */
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    color: #1a1a1a;
    text-align: left;
    padding: 0 10px;
    margin-bottom: 6px;
    max-height: calc(1.4em * 2);
}

.extra-products-carousel li.product h2::after,
.extra-products-carousel li.product .woocommerce-loop-product__title::after {
    content: "…";
    position: absolute;
    bottom: 0;
    right: 6px;
    background: #fff;
    padding-left: 6px;
}

/* PRICE */
.extra-products-carousel li.product .price {
    padding: 0 10px;
    font-size: 16px !important; /* 👈 πιο μικρό */
    font-weight: 500;
    color: #111 !important; /* 👈 μαύρο */
    text-align: left;
    margin-bottom: 10px;
}

/* SALE price */
.extra-products-carousel li.product .price del {
    font-size: 12px;
    color: #999;
}

/* ADD TO CART */
.extra-products-carousel li.product .button {
    font-size: 12px;
    padding: 10px 12px;
    border-radius: 0 0 6px 6px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
    background: #0089cf;
    color: #fff;
}

.extra-products-carousel input.cwg_popup_submit {
    display: none;
}

/* wishlist heart */
.extra-products-carousel .tinvwl_add_to_wishlist_button {
    transform: scale(0.85);
}

/* badges */
.extra-products-carousel .onsale,
.extra-products-carousel .custom-badge {
    font-size: 10px;
    border-radius: 6px;
}

/* hover – ίδιο με shop */
.extra-products-carousel li.product:hover {
    border-color: #ddd;
}

/* arrows */
.extra-products-carousel .swiper-button-next,
.extra-products-carousel .swiper-button-prev {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: #000;
}

.extra-products-carousel .swiper-button-next::after,
.extra-products-carousel .swiper-button-prev::after {
    font-size: 14px;
}
