/* ====================================================
   YENİ ÜRÜN KARTI TASARIMI (custom.css)
==================================================== */

/* Kartın Genel Kapsayıcısı */
.custom-product-card {
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Ürün Görsel Alanı */
.custom-product-card .products-photo {
    position: relative;
    overflow: hidden;
    border-radius: 0; 
    background-color: #fcfcfc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    height: 350px; 
}

.custom-product-card .products-photo img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

/* Hover Aksiyon Çubuğu (Ürünü İncele vb.) */
.product-action-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease-in-out;
}

/* Karta Mouse İle Gelindiğinde (Hover) Çubuğu Göster */
.custom-product-card:hover .product-action-bar {
    opacity: 1;
    transform: translateY(0);
}

.product-action-bar .action-btn {
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    height: 55px;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
}

.product-action-bar .icon-btn {
    background-color: #0b1021; 
    flex: 0 0 55px;
    font-size: 16px;
}

.product-action-bar .icon-btn:hover {
    background-color: #161e38;
}

.product-action-bar .text-btn {
    background-color: #0084cc; 
    flex: 1;
    font-weight: 600;
    font-size: 15px;
}

.product-action-bar .text-btn:hover {
    background-color: #006ea8;
}

/* Ürün Başlık Alanı */
.custom-product-card .products-footer {
    padding: 20px 0;
    text-align: left !important;
    align-items: flex-start !important;
    height: auto;
}

.custom-product-card .products-footer .title {
    font-size: 17px;
    font-weight: 800;
    color: #0b1021;
    text-transform: uppercase;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.custom-product-card .products-footer .title a {
    color: inherit;
    text-decoration: none;
}

/* Eski Ok İşaretli Butonu Gizle */
.custom-product-card .products-footer .button-line {
    display: none !important;
}