﻿/* ==============================
   HOME PAGE
   ============================== */

/* SLIDER BOX */
.box.gray.no-padding.has-subtitle {
    background: #fff;
}

/* RIBBON */
.ribbon-container {
    position: relative;
}

.ribbon-text {
    background: #ff7000;
    color: #fff;
    padding: 0.25rem 0.6rem;
    font-weight: 600;
}

/* BRAND SLIDER */
.swiper-slide-author {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 0.125rem 0.375rem rgba(0,0,0,.05);
    transition: transform .3s ease;
}

    .swiper-slide-author:hover {
        transform: translateY(-4px);
    }

/* PRODUCT CARD */
/* PRODUCT CARD */
.product-item {
    background: #fff;
    border: 1px solid #cfcfcf;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0.75rem;
    width: 80%;
    margin: 0 auto;
    box-shadow: 0 0.6rem 1rem rgba(0,0,0,.08);
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
    color: #1f1f1f;
}

    .product-item:hover {
        transform: scale(1.03);
        box-shadow: 0 0.75rem 1.2rem rgba(0,0,0,.12);
    }

.product-image {
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .product-image img {
        width: 70%;
        height: auto;
        object-fit: contain;
    }

.product-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f1f1f;
    line-height: 1.4;
    margin-top: 0.5rem;
    margin-bottom: 0.4rem;
}

.product-price {
    font-size: 0.9rem;
    color: #1f7a34;
    font-weight: 700;
    line-height: 1.4;
}
.product-final-price {
    font-size: 1rem;
    color: #b42318;
    font-weight: 700;
    line-height: 1.4;
}
/* ==============================
   AYIN YAYINEVLERI / AUTHOR BADGE
   ============================== */

.swiper-slide-author span {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(45deg, #ff7000, #ff9800);
    border-radius: 1.25rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,.2);
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
    opacity: 1;
    visibility: visible;
}

/* Hover efekti */
.swiper-slide-author:hover span {
    transform: scale(1.05);
}

/* PRODUCT RANK – ESKİ STİL */
/* ==============================
   PRODUCT RANK (OLD STYLE)
   ============================== */


.product-rank {
    position: absolute;
    top: 0.35rem;
    left: 0.35rem;
    min-width: 1.6rem;
    height: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: #ff7000;
    border-radius: 0.45rem;
    box-shadow: 0 0.15rem 0.35rem rgba(0,0,0,.25);
    z-index: 5;
    pointer-events: none;
    line-height: 1;
}

/* Hover’da çok hafif büyüsün */
.product-item:hover .product-rank {
    transform: scale(1.05);
    background: #ff8500;
}