/* ==========================================================
   GET4HOME PREMIUM PRODUCT CARDS
========================================================== */

.g4h-products{

    padding:90px 0;

    background:#f7f9fc;

}

.g4h-products-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

}

/* CARD */

.g4h-product-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.35s;

    display:flex;

    flex-direction:column;

    height:100%;

}

.g4h-product-card:hover{

    transform:translateY(-8px);

    box-shadow:0 22px 48px rgba(0,0,0,.15);

}

/* IMAGE */

.g4h-product-image{

    display:flex;

    align-items:center;

    justify-content:center;

    /* Πάντα τετράγωνη περιοχή φωτογραφίας (όπως στο Skroutz), όποιο
       σχήμα κι αν έχει το αρχείο. */
    aspect-ratio:1/1;

    height:auto;

    background:#fff;

    padding:14px;

    overflow:hidden;

}

.g4h-product-image img{

    width:100%;

    height:100%;

    /* Было object-fit:contain — фото разной формы вписывались целиком
       в рамку, из-за чего узкие/вытянутые товары смотрелись намного
       мельче широких (большие белые поля по бокам). object-fit:cover
       всегда заполняет всю рамку одного размера, слегка обрезая края
       фото при необходимости — так карточки выглядят единообразно. */
    /* contain: η φωτογραφία χωράει ΟΛΟΚΛΗΡΗ μέσα στο τετράγωνο, χωρίς
       κόψιμο — τα κενά συμπληρώνονται με λευκό φόντο. */
    object-fit:contain;

    transition:.35s;

}

.g4h-product-card:hover .g4h-product-image img{

    transform:scale(1.08);

}

.g4h-product-card:hover img{

    transform:scale(1.05);

}

/* CONTENT */

.g4h-product-content{

    display:flex;

    flex-direction:column;

    flex:1;

    padding:22px;

    gap:14px;

}

/* TITLE */

.g4h-product-title{

    margin:0;

    height:52px;

    overflow:hidden;

    font-size:17px;

    line-height:1.4;

    font-weight:700;

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

}

.g4h-product-title a{

    color:#173d66;

    text-decoration:none;

}

/* PRICE */

.g4h-product-price{

    margin-top:16px;

    font-size:28px;

    font-weight:800;

    color:#18a4cb;

}

/* BUTTON */

.g4h-product-button{

    margin-top:auto;

    display:flex;

    justify-content:center;

    align-items:center;

    height:50px;

    border-radius:999px;

    text-decoration:none;

    background:linear-gradient(90deg,#ffd200,#ff9800);

    color:#004f80;

    font-weight:800;

    transition:.25s;

}

.g4h-product-button:hover{

    transform:translateY(-2px);

}

/* MOBILE */

@media(max-width:1200px){

    .g4h-products-grid{

        grid-template-columns:repeat(3,1fr);

    }

}

@media(max-width:900px){

    .g4h-products-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:640px){

    /* Σε κινητό: 2 προϊόντα ανά σειρά (όπως στο Skroutz) */
    .g4h-products-grid{

        grid-template-columns:repeat(2,minmax(0,1fr));

        gap:12px;

    }

    .g4h-product-card{

        border-radius:16px;

    }

    .g4h-product-image{

        padding:8px;

    }

    .g4h-product-content{

        padding:12px;

    }

    .g4h-product-title{

        font-size:13.5px;

        line-height:1.35;

        height:37px;

    }

    .g4h-product-price{

        font-size:20px;

    }

    .g4h-product-button{

        height:38px;

        font-size:12.5px;

        padding:0 6px;

    }

}
/* ==========================================
   Wishlist
========================================== */

.g4h-product-card{

    position:relative;

}

/* Το κουμπί-καρδούλα (.g4h-wishlist-toggle) στυλίζεται πλέον στο
   g4h-wishlist/wishlist.css -- δική μας λίστα αγαπημένων, όχι πια
   μέσω YITH shortcode. */