.ftg-getir-card,
.ftg-getir-card * {
    box-sizing: border-box;
}

.ftg-getir-card {
    --ftg-purple: #5d3ebc;
    --ftg-purple-dark: #43259a;
    --ftg-yellow: #ffd300;
    --ftg-ink: #14121f;
    --ftg-muted: #777287;
    --ftg-line: #ebe8f3;
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #e7e3ef;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(43, 27, 77, .09);
    color: var(--ftg-ink);
    font-family: inherit;
}

.ftg-top-line {
    height: 4px;
    background: linear-gradient(90deg, var(--ftg-purple), #8d6ddd 62%, var(--ftg-yellow));
}

.ftg-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 20px 15px;
}

.ftg-title-wrap {
    min-width: 0;
}

.ftg-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-bottom: 8px;
    padding: 4px 11px;
    border-radius: 999px;
    background: #f0ebff;
    color: var(--ftg-purple);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .45px;
    line-height: 1;
}

.ftg-card-title {
    margin: 0 !important;
    color: #151121;
    font-size: clamp(21px, 5.1vw, 28px) !important;
    font-weight: 900 !important;
    letter-spacing: -.55px;
    line-height: 1.06 !important;
}

.ftg-header-icon {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 15px;
    background: var(--ftg-purple);
    box-shadow: 0 9px 20px rgba(93, 62, 188, .27);
}

.ftg-header-icon svg {
    width: 25px;
    height: 25px;
    fill: #fff;
}

.ftg-slider-stage {
    position: relative;
    padding: 0 14px;
}

.ftg-slides {
    position: relative;
}

.ftg-slide {
    display: none;
    animation: ftgFade .35s ease both;
}

.ftg-slide.is-active {
    display: block;
}

@keyframes ftgFade {
    from { opacity: .3; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}

.ftg-image-shell {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 190px;
    border: 1px solid #e2ddef;
    border-radius: 16px;
    background: #f8f6fc;
}

.ftg-image-shell > img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 560px;
    margin: 0 auto;
    object-fit: contain;
    background: #fff;
}

.ftg-platform-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(38, 24, 66, .16);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    backdrop-filter: blur(5px);
}

.ftg-platform-getir {
    background: var(--ftg-purple);
    color: #fff;
}

.ftg-platform-getir_buyuk {
    background: var(--ftg-yellow);
    color: #3f278e;
}

.ftg-zoom-button {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid #e5e1ec;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 5px 14px rgba(28, 22, 42, .14);
    color: #282331;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
}

.ftg-zoom-button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.ftg-slide-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 41px;
    padding: 10px 3px 5px;
    color: #4d465a;
    font-size: 12px;
}

.ftg-counter {
    font-size: 12px;
    font-weight: 900;
}

.ftg-period {
    overflow: hidden;
    max-width: 70%;
    color: #7f778d;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ftg-description {
    margin: 7px 1px 11px;
    padding: 13px 14px;
    border: 1px solid #ebe7f3;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfaff 0%, #f7f4fd 100%);
    color: #3e3749;
    font-size: 13px;
    line-height: 1.58;
}

.ftg-description p {
    margin: 0 0 8px !important;
}

.ftg-description p:last-child {
    margin-bottom: 0 !important;
}

.ftg-description ul,
.ftg-description ol {
    margin: 7px 0 7px 18px;
}

.ftg-description a {
    color: var(--ftg-purple);
    font-weight: 700;
}

.ftg-ad-label {
    margin: 6px 0 11px;
    color: #9b93a7;
    text-align: center;
    font-size: 11px;
    letter-spacing: .1px;
}

.ftg-ad-label span {
    margin: 0 5px;
}

.ftg-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    padding-bottom: 4px;
}

.ftg-action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    min-height: 48px;
    padding: 10px 10px;
    border-radius: 13px;
    box-shadow: 0 8px 17px rgba(67, 37, 154, .17);
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
}

.ftg-action-button:hover,
.ftg-action-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 11px 22px rgba(67, 37, 154, .23);
    filter: brightness(1.03);
}

.ftg-action-button svg {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ftg-button-getir {
    background: var(--ftg-purple);
    color: #fff !important;
}

.ftg-button-buyuk {
    background: var(--ftg-yellow);
    color: #43258f !important;
}

.ftg-action-button.is-disabled {
    opacity: .42;
    box-shadow: none;
    cursor: not-allowed;
    filter: grayscale(.35);
}

.ftg-nav {
    position: absolute;
    top: clamp(120px, 40%, 260px);
    z-index: 6;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    border: 1px solid #e8e3ef;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 6px 18px rgba(37, 28, 55, .16);
    color: #2b2534;
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform .15s ease, box-shadow .15s ease;
}

.ftg-nav:hover,
.ftg-nav:focus-visible {
    box-shadow: 0 8px 22px rgba(37, 28, 55, .23);
    transform: translateY(-50%) scale(1.05);
}

.ftg-nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ftg-prev { left: 22px; }
.ftg-next { right: 22px; }

.ftg-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 33px;
    padding: 8px 16px 7px;
}

.ftg-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d6d1de;
    cursor: pointer;
    transition: width .22s ease, background .22s ease;
}

.ftg-dot.is-active {
    width: 24px;
    background: var(--ftg-purple);
}

.ftg-info-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 14px 15px;
    padding: 12px 13px;
    border: 1px solid #e0daf0;
    border-radius: 14px;
    background: #f6f2ff;
    color: #514863;
    font-size: 11px;
    line-height: 1.45;
}

.ftg-info-icon {
    display: grid;
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 7px;
    background: var(--ftg-purple);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

.ftg-empty-state {
    padding: 16px;
    border: 1px dashed #d9d2e8;
    border-radius: 12px;
    background: #faf8ff;
    color: #625a70;
    font-size: 13px;
    line-height: 1.5;
}

.ftg-modal-open {
    overflow: hidden !important;
}

.ftg-image-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    padding: 24px;
    place-items: center;
    background: rgba(16, 11, 29, .88);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}

.ftg-image-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.ftg-image-modal img {
    display: block;
    max-width: min(96vw, 1000px);
    max-height: 90vh;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .38);
    object-fit: contain;
}

.ftg-modal-close {
    position: fixed;
    top: 16px;
    right: 16px;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 50%;
    background: #fff;
    color: #21182f;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}

@media (max-width: 480px) {
    .ftg-getir-card {
        border-radius: 18px;
    }

    .ftg-card-header {
        padding: 17px 15px 13px;
    }

    .ftg-header-icon {
        flex-basis: 43px;
        width: 43px;
        height: 43px;
        border-radius: 14px;
    }

    .ftg-slider-stage {
        padding: 0 10px;
    }

    .ftg-platform-badge {
        top: 8px;
        right: 8px;
    }

    .ftg-action-grid {
        gap: 7px;
    }

    .ftg-action-button {
        min-height: 47px;
        padding: 8px 6px;
        font-size: 11px;
    }

    .ftg-nav {
        width: 38px;
        height: 38px;
    }

    .ftg-prev { left: 17px; }
    .ftg-next { right: 17px; }

    .ftg-info-box {
        margin-right: 10px;
        margin-left: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ftg-slide,
    .ftg-action-button,
    .ftg-dot,
    .ftg-image-modal {
        animation: none !important;
        transition: none !important;
    }
}
