/* =========================================================
   ALYA STOREFRONT V4.10 — SAĞ KAMPANYA KARTI OKUNABİLİRLİK
   Ürün fotoğrafını görünür tutar, uzun ürün adını kompakt gösterir.
========================================================= */

.theme-2.store-body .storefront-side-campaigns {
    isolation: isolate;
}

/* Ürün ve indirim robotu kartlarında ürün görselinin tamamını göster. */
.theme-2.store-body .storefront-side-campaign.source-product > a,
.theme-2.store-body .storefront-side-campaign.source-robot > a {
    background-size: contain !important;
    background-position: center 8px !important;
    background-color: #151a22 !important;
}

/* Üst taraf mümkün olduğunca açık kalsın, yalnız alt bilgi bölümü koyulaşsın. */
.theme-2.store-body .storefront-side-campaign.source-product .storefront-side-campaign-shade,
.theme-2.store-body .storefront-side-campaign.source-robot .storefront-side-campaign-shade {
    background: linear-gradient(
        180deg,
        rgba(5, 10, 18, 0.02) 0%,
        rgba(5, 10, 18, 0.08) 46%,
        rgba(5, 10, 18, 0.82) 66%,
        rgba(5, 10, 18, 0.98) 100%
    ) !important;
}

/* Alt bilgi bloğu küçültüldü; ürün görselinin üstünü kapatmaz. */
.theme-2.store-body .storefront-side-campaign-copy {
    left: 15px !important;
    right: 15px !important;
    bottom: 27px !important;
}

.theme-2.store-body .storefront-side-campaign-copy small {
    margin-bottom: 5px !important;
    font-size: 8px !important;
    line-height: 1.15 !important;
    letter-spacing: .13em !important;
}

.theme-2.store-body .storefront-side-campaign-copy h2 {
    margin: 0 0 7px !important;
    font-size: clamp(15px, .95vw, 18px) !important;
    line-height: 1.16 !important;
    letter-spacing: -.025em !important;
    -webkit-line-clamp: 2 !important;
    max-height: 2.35em !important;
}

.theme-2.store-body .storefront-side-campaign-price {
    gap: 7px !important;
    margin-bottom: 7px !important;
}

.theme-2.store-body .storefront-side-campaign-price del {
    font-size: 10px !important;
}

.theme-2.store-body .storefront-side-campaign-price strong {
    font-size: 18px !important;
    line-height: 1 !important;
}

.theme-2.store-body .storefront-side-campaign-copy > b {
    min-height: 32px !important;
    padding: 0 11px !important;
    border-radius: 8px !important;
    font-size: 9px !important;
}

.theme-2.store-body .storefront-side-campaign-arrow {
    width: 30px !important;
    height: 30px !important;
    font-size: 20px !important;
}

.theme-2.store-body .storefront-side-campaign-arrow.prev {
    left: 8px !important;
}

.theme-2.store-body .storefront-side-campaign-arrow.next {
    right: 8px !important;
}

/* Manuel banner kartlarında da başlık taşmasını engelle. */
.theme-2.store-body .storefront-side-campaign.source-manual .storefront-side-campaign-copy h2 {
    font-size: clamp(16px, 1vw, 20px) !important;
    -webkit-line-clamp: 2 !important;
}

@media (max-width: 1199px) {
    .theme-2.store-body .storefront-side-campaign-copy {
        left: 18px !important;
        right: 18px !important;
        bottom: 25px !important;
    }

    .theme-2.store-body .storefront-side-campaign-copy h2 {
        font-size: 17px !important;
    }
}

@media (max-width: 767px) {
    .theme-2.store-body .storefront-side-campaign.source-product > a,
    .theme-2.store-body .storefront-side-campaign.source-robot > a {
        background-position: center 4px !important;
    }

    .theme-2.store-body .storefront-side-campaign-copy {
        left: 14px !important;
        right: 14px !important;
        bottom: 24px !important;
    }

    .theme-2.store-body .storefront-side-campaign-copy h2 {
        font-size: 15px !important;
    }

    .theme-2.store-body .storefront-side-campaign-price strong {
        font-size: 17px !important;
    }
}
