/* Satış Vitrini promosyon alanı — tüm seçiciler bileşenle sınırlıdır. */

.spv-promobox {
    --spv-promo-ink: #092d70;
    --spv-promo-blue: #073580;
    --spv-promo-navy: #063580;
    --spv-promo-cyan: #20d8ee;
    --spv-promo-mint: #20d8b2;
    --spv-promo-light: #f4f6fa;
    --spv-promo-muted: #515b70;
    --spv-promo-radius: 24px;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    overflow: hidden;
    color: var(--spv-promo-ink);
    font-family: inherit;
}

.spv-promobox *,
.spv-promobox *::before,
.spv-promobox *::after {
    box-sizing: border-box;
}

.spv-promobox-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1.08fr);
    min-height: 390px;
    overflow: hidden;
    background: var(--spv-promo-light);
}

.spv-promobox-hero-content {
    position: relative;
    z-index: 2;
    align-self: center;
    max-width: 650px;
    padding: 54px 24px 58px clamp(28px, 7vw, 112px);
}

.spv-promobox-title,
.spv-promobox-description {
    margin: 0;
}

.spv-promobox-title {
    letter-spacing: -.055em;
    line-height: .98;
}

.spv-promobox-title-prefix,
.spv-promobox-title-main {
    display: block;
}

.spv-promobox-title-prefix,
.spv-promobox-title-main {
    font-size: clamp(38px, 4vw, 60px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.02;
    color: #073580 !important;
}

.spv-promobox-title-main {
    color: #073580 !important;
}

.spv-promobox-description {
    margin-top: 24px;
    color: var(--spv-promo-muted);
    font-size: clamp(16px, 1.35vw, 24px);
    font-weight: 450;
    line-height: 1.45;
}

.spv-promobox-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 56px;
    padding: 14px 22px 14px 28px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 750;
    letter-spacing: .01em;
    line-height: 1;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.spv-promobox-button:hover,
.spv-promobox-button:focus-visible {
    transform: translateY(-2px);
}

.spv-promobox-button:focus-visible {
    outline: 3px solid rgba(32, 216, 238, .75);
    outline-offset: 3px;
}

.spv-promobox-button-primary {
    margin-top: 34px;
    min-width: 238px;
    color: #fff !important;
    background: #073580 !important;
    box-shadow: 0 10px 24px rgba(20, 89, 206, .2);
}

.spv-promobox-button-primary:hover,
.spv-promobox-button-primary:focus-visible {
    background: #073580 !important;
    box-shadow: 0 14px 28px rgba(20, 89, 206, .28);
}

.spv-promobox-arrow {
    font-size: 29px;
    font-weight: 350;
    line-height: .6;
}

.spv-promobox-hero-art {
    position: relative;
    min-height: 390px;
    overflow: hidden;
}

.spv-promobox-hero-art::before {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 78%;
    height: 80%;
    border: 2px solid rgba(30, 92, 183, .08);
    border-radius: 42% 58% 48% 52% / 50% 42% 58% 50%;
    content: '';
    transform: rotate(-13deg);
}

.spv-promobox-hero-art img {
    position: absolute;
    right: -5%;
    bottom: -1px;
    z-index: 1;
    width: min(100%, 630px);
    height: 100%;
    object-fit: cover;
    object-position: center center;
    mix-blend-mode: multiply;
}

.spv-promobox-shield {
    position: absolute;
    top: 13%;
    right: 4%;
    z-index: 0;
    width: 270px;
    height: 310px;
    border: 3px solid rgba(36, 102, 188, .1);
    border-radius: 46% 46% 54% 54% / 20% 20% 72% 72%;
    clip-path: polygon(50% 0, 92% 16%, 86% 65%, 50% 100%, 14% 65%, 8% 16%);
    transform: rotate(16deg);
}

.spv-promobox-cross {
    position: absolute;
    top: 22%;
    right: 22%;
    z-index: 2;
    width: 74px;
    height: 188px;
    border-radius: 12px;
    background: rgba(63, 155, 226, .68);
    transform: rotate(16deg);
}

.spv-promobox-cross::after {
    position: absolute;
    top: 57px;
    left: -57px;
    width: 188px;
    height: 74px;
    border-radius: 12px;
    background: inherit;
    content: '';
}

.spv-promobox-strip {
    display: grid;
    grid-template-columns: minmax(300px, 1.1fr) minmax(440px, 1.35fr) minmax(215px, .55fr);
    align-items: center;
    gap: clamp(24px, 3vw, 58px);
    padding: 34px clamp(28px, 5vw, 92px);
    background: var(--spv-promo-navy);
    color: #fff;
}

.spv-promobox-message {
    display: grid;
    gap: 8px;
}

.spv-promobox-message strong,
.spv-promobox-message span {
    font-size: clamp(21px, 2.15vw, 35px);
    letter-spacing: -.025em;
    line-height: 1.12;
}

.spv-promobox-message strong {
    font-weight: 700;
}

.spv-promobox-message span {
    color: var(--spv-promo-cyan);
    font-weight: 750;
}

.spv-promobox-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.3vw, 48px);
}

.spv-promobox-benefit {
    display: flex;
    align-items: center;
    gap: 13px;
    color: rgba(255, 255, 255, .96);
    font-size: clamp(13px, 1.05vw, 18px);
    font-weight: 650;
    line-height: 1.35;
}

.spv-promobox-icon {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #fff;
}

.spv-promobox-icon svg {
    width: 100%;
    height: 100%;
}

.spv-promobox-actions {
    display: grid;
    gap: 14px;
}

.spv-promobox-button-accent {
    color: #fff;
    background: var(--spv-promo-mint);
    box-shadow: 0 8px 18px rgba(32, 216, 178, .2);
}

.spv-promobox-button-accent:hover,
.spv-promobox-button-accent:focus-visible {
    background: #19c7a3;
}

.spv-promobox-button-outline {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .85);
    background: transparent;
}

.spv-promobox-button-outline:hover,
.spv-promobox-button-outline:focus-visible {
    background: rgba(255, 255, 255, .1);
}

.spv-promobox-cart {
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
}

.spv-promobox-cart svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 1100px) {
    .spv-promobox-strip {
        grid-template-columns: minmax(250px, .85fr) minmax(380px, 1.15fr);
    }

    .spv-promobox-actions {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 782px) {
    .spv-promobox {
        margin-bottom: 0;
        border-radius: 0 !important;
    }

    .spv-promobox-strip {
        border-radius: 0 !important;
    }

    .spv-promobox-hero {
        display: block;
        min-height: 0;
    }

    .spv-promobox-hero-content {
        max-width: none;
        padding: 28px 20px 0;
    }

    .spv-promobox-title-prefix {
        font-size: 38px;
        line-height: 1.02;
    }

    .spv-promobox-title-main {
        font-size: 38px;
        line-height: 1.02;
    }

    .spv-promobox-description {
        margin-top: 28px;
        font-size: 15px;
        line-height: 1.45;
    }

    .spv-promobox-desktop-break {
        display: none;
    }

    .spv-promobox-button-primary {
        margin-top: 24px;
        min-height: 52px;
        padding: 13px 18px 13px 22px;
        font-size: 14px;
    }

    .spv-promobox-hero-art {
        min-height: 250px;
        margin-top: 18px;
    }

    .spv-promobox-hero-art img {
        right: auto;
        left: -14%;
        width: 125%;
        max-width: none !important;
        object-position: 58% center;
    }

    .spv-promobox-shield {
        top: 4%;
        right: -8%;
        width: 190px;
        height: 220px;
    }

    .spv-promobox-cross {
        top: 14%;
        right: 21%;
        width: 50px;
        height: 125px;
    }

    .spv-promobox-cross::after {
        top: 38px;
        left: -38px;
        width: 125px;
        height: 50px;
    }

    .spv-promobox-strip {
        display: block;
        padding: 28px 20px 22px;
    }

    .spv-promobox-message strong,
    .spv-promobox-message span {
        font-size: 25px;
    }

    .spv-promobox-benefits {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 26px;
    }

    .spv-promobox-benefit {
        font-size: 15px;
    }

    .spv-promobox-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 26px;
    }

    .spv-promobox-actions .spv-promobox-button {
        width: 100%;
    }
}

/* Üst promosyon şeridi ile tablo tek bir görsel akış gibi devam etsin. */
.spv-promobox + .spv .spv-kaydir {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* Pagination altı bağımsız ana CTA. */
.spv-bottom-cta {
    display: flex;
    justify-content: center;
    padding: 26px 20px 34px;
    background: #edf5fc;
}

.spv-bottom-cta__button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-width: min(420px, 100%);
    min-height: 70px;
    padding: 0 28px 0 34px;
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    color: #fff !important;
    background: linear-gradient(100deg, #0b4689 0%, #087fc3 48%, #1ed3b5 100%) !important;
    background-size: 100% 100%;
    box-shadow: 0 12px 28px rgba(10, 61, 124, .22), 0 0 0 0 rgba(32, 216, 238, .2);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
    animation: spv-bottom-cta-glow 2.4s ease-in-out infinite;
    transition: transform .2s ease, box-shadow .2s ease;
}

.spv-bottom-cta__button:hover,
.spv-bottom-cta__button:focus-visible {
    transform: translateY(-3px);
    animation-play-state: paused;
    box-shadow: 0 16px 34px rgba(10, 61, 124, .28), 0 0 0 6px rgba(32, 216, 238, .14);
}

.spv-bottom-cta__button:focus-visible {
    outline: 3px solid #0a3d7c;
    outline-offset: 4px;
}

.spv-bottom-cta__spark {
    position: absolute;
    inset: 0 auto 0 -35%;
    width: 28%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
    transform: skewX(-20deg);
    animation: spv-bottom-cta-spark 2.4s ease-in-out infinite;
    pointer-events: none;
}

.spv-bottom-cta__heartbeat {
    position: relative;
    z-index: 0;
    flex: 1 1 auto;
    width: auto;
    min-width: 96px;
    height: 28px;
    overflow: visible;
    transform: none;
    pointer-events: none;
}

.spv-bottom-cta__heartbeat path {
    fill: none;
    stroke: rgba(255, 255, 255, .84);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 380;
    stroke-dashoffset: 380;
    animation: spv-bottom-cta-heartbeat 2.1s ease-in-out infinite;
}

.spv-bottom-cta__label,
.spv-bottom-cta__button > span:not(.spv-bottom-cta__spark):not(.spv-bottom-cta__label) {
    position: relative;
    z-index: 1;
}

.spv-bottom-cta__arrow {
    position: relative;
    z-index: 1;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
}

@keyframes spv-bottom-cta-glow {
    0%, 100% { background-position: 0% 50%; box-shadow: 0 12px 28px rgba(10, 61, 124, .22), 0 0 0 0 rgba(32, 216, 238, .2); }
    50% { background-position: 100% 50%; box-shadow: 0 16px 34px rgba(10, 61, 124, .28), 0 0 0 8px rgba(32, 216, 238, .12); }
}

@keyframes spv-bottom-cta-spark {
    0%, 35% { left: -35%; }
    70%, 100% { left: 125%; }
}

@keyframes spv-bottom-cta-heartbeat {
    0%, 12% { stroke-dashoffset: 380; opacity: 0; }
    18% { stroke-dashoffset: 300; opacity: 1; }
    68% { stroke-dashoffset: 0; opacity: 1; }
    82%, 100% { stroke-dashoffset: -380; opacity: 0; }
}

@media (max-width: 480px) {
    .spv-bottom-cta {
        padding: 22px 16px 28px;
    }

    .spv-bottom-cta__button {
        min-width: 0;
        width: 100%;
        min-height: 62px;
        padding: 0 22px 0 24px;
        font-size: 14px;
    }

    .spv-bottom-cta__heartbeat {
        min-width: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .spv-bottom-cta__button,
    .spv-bottom-cta__spark,
    .spv-bottom-cta__heartbeat path {
        animation: none;
    }
}

html.spv-modal-open,
body.spv-modal-open {
    overflow: hidden !important;
    height: 100% !important;
}

.spv-offer-modal[hidden] {
    display: none;
}

.spv-offer-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    isolation: isolate;
    display: grid;
    place-items: center;
    padding: 24px;
    overscroll-behavior: contain;
}

.spv-offer-modal__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(3, 24, 50, .76);
    backdrop-filter: blur(5px);
    touch-action: none;
}

.spv-offer-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(960px, 100%);
    height: min(900px, calc(100vh - 48px));
    overflow: hidden;
    border-radius: 24px;
    background: #eef4f9;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
}

.spv-offer-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    min-height: 68px;
    padding: 12px 18px 12px 26px;
    color: #fff;
    background: #0a3d7c;
}

.spv-offer-modal__header h2 {
    margin: 0;
    color: inherit;
    font-size: 20px;
    font-weight: 800;
}

.spv-offer-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    color: #fff;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.spv-offer-modal__close:hover,
.spv-offer-modal__close:focus-visible {
    background: rgba(255, 255, 255, .15);
}

.spv-offer-modal__close:focus-visible {
    outline: 3px solid #20d8ee;
    outline-offset: 3px;
}

.spv-offer-modal__form {
    display: block;
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    overflow: auto;
    overscroll-behavior: contain;
    background: #eef4f9;
}

.spv-offer-modal__form #tss-offer-module {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
}

.spv-offer-modal__form #tss-offer-module .tss-shell {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 32px 24px 40px !important;
    border-radius: 24px !important;
    box-shadow: none !important;
}

.spv-offer-modal__form #tss-offer-module .form-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.spv-offer-modal__form #view-selection {
    display: none !important;
}

.spv-offer-modal__form #view-form-no-id {
    display: block !important;
}

/* Keep success/error dialogs above the offer modal. */
.swal2-container {
    z-index: 2147483647 !important;
}

/* Popup doğrudan iletişim formunu açtığı için formu yeniden başlatan bağlantı burada gereksiz. */
.spv-offer-modal__form #tss-offer-module[data-tss-offer-mode="contact"] .home-link[onclick="location.reload()"] {
    display: none !important;
}

@media (max-width: 640px) {
    .spv-offer-modal {
        padding: 0;
    }

    .spv-offer-modal__dialog {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}
