﻿/* ========================================= */
/* AVCI KORU REZERVASYON ÖNYÜZ TASARIMI      */
/* ========================================= */

:root {
    --ak-green: #2d5a27;
    --ak-light-green: #eef5ee;
    --ak-accent: #c5a059;
    --ak-dark: #1a1a1a;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8f9fa;
}

.rez-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

/* Mobil App Tarzı Kartlar */
.step-section {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    margin-bottom: 24px;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.step-dot {
    width: 36px;
    height: 36px;
    background: var(--ak-green);
    color: #fff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 1rem;
    margin-right: 16px;
}

.section-header h4 {
    margin: 0;
    font-weight: 800;
    color: var(--ak-dark);
    font-size: 1.3rem;
}

/* Inputs */
.form-label {
    font-weight: 700;
    color: #6c757d;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.ak-input {
    background: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 14px 20px;
    font-weight: 600;
    color: var(--ak-dark);
    transition: 0.3s;
}

    .ak-input:focus {
        background: #fff;
        border-color: var(--ak-green);
        box-shadow: 0 0 0 4px rgba(45, 90, 39, 0.1);
        outline: none;
    }

/* Hizmet Kartları (Responsive) */
.ekstra-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 16px;
    transition: 0.3s;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

    .ekstra-card:hover {
        border-color: var(--ak-green);
        box-shadow: 0 5px 15px rgba(45, 90, 39, 0.05);
    }

/* Mobil Uyumlu Buton & Adet Kontrolü */
.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--ak-green);
    color: #fff;
    border-radius: 8px;
    font-weight: 800;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    font-weight: 800;
    font-size: 1rem;
    background: transparent;
}

/* İncele Butonu */
.incele-badge {
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.75rem;
    padding: 6px 10px;
}

    .incele-badge:hover {
        background-color: var(--ak-green) !important;
        color: #fff !important;
        border-color: var(--ak-green) !important;
    }

/* Alt Bar */
.summary-bar {
    background: var(--ak-dark);
    color: #fff;
    border-radius: 24px;
    padding: 24px 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    bottom: 20px;
    z-index: 1000;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    margin-top: 40px;
    gap: 20px;
}

.price-tag {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.price-label {
    color: #adb5bd;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.legal-checks {
    display: grid;
    gap: 12px;
    padding: 22px 26px;
}

.legal-check {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #4b5563;
    font-weight: 700;
    line-height: 1.45;
}

.legal-check input {
    width: 20px;
    height: 20px;
    accent-color: var(--ak-green);
    flex: 0 0 auto;
}

.mekan-picker-trigger {
    width: 100%;
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border: 1px solid rgba(45, 90, 39, .14);
    border-radius: 22px;
    background: linear-gradient(135deg, #f8fbf8, #eef5ee);
    color: var(--ak-green);
    text-align: left;
    box-shadow: 0 16px 38px rgba(15, 47, 34, .07);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.mekan-picker-trigger:hover {
    transform: translateY(-2px);
    border-color: rgba(45, 90, 39, .28);
    box-shadow: 0 22px 48px rgba(15, 47, 34, .11);
}

.mekan-picker-trigger small {
    display: block;
    margin-bottom: 2px;
    color: #7b8b7d;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mekan-picker-trigger strong {
    display: block;
    color: #153d2d;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 950;
}

.mekan-picker-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 17px;
    color: #fff;
    background: var(--ak-green);
    box-shadow: 0 12px 22px rgba(45, 90, 39, .22);
}

.mekan-select-modal {
    border: 0;
    border-radius: 30px;
    padding: clamp(18px, 3vw, 30px);
    background:
        radial-gradient(circle at 8% 0%, rgba(197, 160, 89, .16), transparent 34%),
        linear-gradient(145deg, #ffffff, #f5faf5);
    box-shadow: 0 32px 90px rgba(10, 31, 24, .25);
}

.mekan-select-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.mekan-select-head span {
    color: var(--ak-accent);
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.mekan-select-head h5 {
    margin: 4px 0 0;
    color: #123f2d;
    font-size: clamp(1.6rem, 4vw, 3rem);
    font-weight: 950;
    letter-spacing: -.04em;
}

.mekan-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-height: min(70vh, 720px);
    overflow: auto;
    padding: 2px 4px 6px;
}

.mekan-choice-card {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(18, 63, 45, .11);
    border-radius: 26px;
    background: #fff;
    color: inherit;
    text-align: left;
    box-shadow: 0 18px 46px rgba(15, 47, 34, .09);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.mekan-choice-card:hover,
.mekan-choice-card.selected {
    transform: translateY(-4px);
    border-color: rgba(45, 90, 39, .42);
    box-shadow: 0 28px 62px rgba(15, 47, 34, .16);
}

.mekan-choice-image {
    position: relative;
    display: block;
    height: 180px;
    background: #123f2d;
    overflow: hidden;
}

.mekan-choice-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(5, 24, 18, .44));
}

.mekan-choice-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.mekan-choice-card:hover .mekan-choice-image img {
    transform: scale(1.06);
}

.mekan-choice-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
}

.mekan-choice-body strong {
    color: #123f2d;
    font-size: 1.24rem;
    font-weight: 950;
    line-height: 1.12;
}

.mekan-choice-body small {
    color: #6f7f74;
    font-weight: 650;
    line-height: 1.55;
}

.mekan-choice-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(18, 63, 45, .08);
}

.mekan-choice-foot b {
    color: #123f2d;
    font-size: 1.08rem;
}

.mekan-choice-foot em {
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--ak-green);
    color: #fff;
    font-style: normal;
    font-size: .78rem;
    font-weight: 900;
}

@media (max-width: 991px) {
    .mekan-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ========================================= */
/* PREMIUM MODAL TASARIMI (SABİT BOYUTLU)    */
/* ========================================= */
#ekstraDetayModal .modal-content {
    border-radius: 25px;
    border: none;
    background-color: #fff;
    overflow: hidden;
    height: 65vh; /* İŞTE BURASI MODALI BETON GİBİ SABİTLER */
    min-height: 500px;
}

/* 1. Kapatma Butonu (Sağ Üste Sabit - Fiyata Asla Çarpmaz) */
.btn-close-custom-black {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 9999;
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1a1a1a;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

    .btn-close-custom-black:hover {
        transform: rotate(90deg);
        background: #e2e8f0;
        color: var(--ak-green);
    }

    .btn-close-custom-black svg {
        width: 18px;
        height: 18px;
        fill: currentColor;
    }

/* 2. Resim Alanı (Sabit Kolon İçinde Kırpılır) */
#modalGorselKolon {
    height: 100%;
    background: #1a1a1a;
}

#gorselCarousel, #carouselInner {
    height: 100%;
}

    #carouselInner .carousel-item {
        height: 100%;
    }

    #carouselInner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
/* Fotoğrafı deforme etmeden sığdırır */
.img-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    z-index: 2;
    pointer-events: none;
}

/* 3. Sayaç Rozeti (1 / 3) */
.image-counter-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* 4. Zarif Slayt Okları */
#ekstraDetayModal .carousel-control-prev-icon, #ekstraDetayModal .carousel-control-next-icon {
    width: 2.2rem;
    height: 2.2rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    background-size: 40%;
    transition: 0.3s;
}

    #ekstraDetayModal .carousel-control-prev-icon:hover, #ekstraDetayModal .carousel-control-next-icon:hover {
        background-color: var(--ak-green);
        transform: scale(1.1);
    }

/* Sağ Kolon İçerik Düzeni */
.modal-sag-kolon {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px;
    padding-top: 60px; /* X Butonuna yer açmak için üstten boşluk verdik */
}

.description-scroll {
    overflow-y: auto;
    padding-right: 15px;
    margin-top: 15px;
    flex-grow: 1;
}

    .description-scroll::-webkit-scrollbar {
        width: 6px;
    }

    .description-scroll::-webkit-scrollbar-thumb {
        background: var(--ak-light-green);
        border-radius: 10px;
    }

@media (max-width: 992px) {
    #ekstraDetayModal .modal-content {
        height: 85vh;
    }

    #modalGorselKolon {
        height: 40%;
    }
    /* Mobilde üst taraf resim */
    .modal-sag-kolon {
        height: 60%;
        padding: 25px;
        padding-top: 40px;
    }

    .summary-bar {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

        .summary-bar > div {
            width: 100%;
            justify-content: center;
    }
}

@media (min-width: 992px) {
    #ekstraDetayModal .product-detail-row {
        height: 100%;
    }

    #ekstraDetayModal #modalGorselKolon,
    #ekstraDetayModal .modal-sag-kolon {
        height: 100% !important;
    }

    #ekstraDetayModal #modalGorselKolon {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Ürün detay modalı: mobilde açıklamayı ilk bakışta görünür tutar. */
@media (max-width: 991.98px) {
    #ekstraDetayModal .modal-dialog {
        width: calc(100% - 24px) !important;
        margin: 12px auto !important;
    }

    #ekstraDetayModal .product-detail-modal {
        height: auto !important;
        max-height: calc(100svh - 24px) !important;
        min-height: 0 !important;
        overflow-y: auto !important;
    }

    #ekstraDetayModal .product-detail-row {
        display: block !important;
        min-height: 0 !important;
    }

    #modalGorselKolon {
        height: min(260px, 31svh) !important;
        min-height: 190px !important;
        max-height: 260px !important;
    }

    #carouselInner img {
        object-fit: cover !important;
        object-position: center !important;
    }

    .modal-sag-kolon {
        height: auto !important;
        min-height: 0 !important;
        padding: 28px 20px 22px !important;
    }

    .modal-sag-kolon .description-scroll {
        overflow: visible !important;
        max-height: none !important;
        margin-top: 6px !important;
    }

    #ekstraDetayModal .modal-sag-kolon > .mt-4 .btn {
        font-size: .85rem !important;
        padding: .65rem 1.35rem !important;
    }
}

.payment-page {
    min-height: calc(100vh - 82px);
    padding: 70px 16px 110px;
    background:
        radial-gradient(circle at 18% 18%, rgba(45, 90, 39, 0.1), transparent 28%),
        linear-gradient(135deg, #f8f9fa, #fffdf8);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.payment-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1fr);
    gap: 32px;
    align-items: center;
}

.payment-copy h1 {
    margin: 8px 0 14px;
    color: var(--ak-green);
    font-size: clamp(2.6rem, 5vw, 5.4rem);
    font-weight: 800;
    line-height: 0.95;
}

.payment-copy p {
    max-width: 520px;
    color: #68727f;
    font-size: 1.08rem;
    line-height: 1.75;
}

.payment-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #bd7546;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13rem;
    text-transform: uppercase;
}

.payment-kicker::before {
    content: "";
    width: 38px;
    height: 1px;
    background: currentColor;
}

.payment-summary-card {
    max-width: 460px;
    margin-top: 26px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px 24px;
    padding: 22px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(45, 90, 39, 0.08);
    box-shadow: 0 22px 54px rgba(45, 90, 39, 0.08);
}

.payment-summary-card span {
    color: #7a828c;
    font-size: 0.86rem;
    font-weight: 700;
}

.payment-summary-card strong {
    color: var(--ak-dark);
    font-weight: 800;
    text-align: right;
}

.payment-form {
    padding: clamp(20px, 4vw, 38px);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(45, 90, 39, 0.08);
    box-shadow: 0 30px 80px rgba(45, 90, 39, 0.12);
}

.payment-card-preview {
    min-height: 246px;
    display: grid;
    place-items: center;
    margin-bottom: 26px;
}

.credit-card-visual {
    position: relative;
    width: min(420px, 100%);
    aspect-ratio: 1.62 / 1;
    padding: 26px;
    overflow: hidden;
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(232, 185, 92, 0.38), transparent 24%),
        linear-gradient(135deg, #102f22, #0b594d 58%, #112034);
    box-shadow: 0 28px 60px rgba(19, 47, 34, 0.28);
    transform: rotateX(8deg) rotateY(-10deg);
}

.card-orbit {
    position: absolute;
    right: -70px;
    top: -70px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 50%;
    animation: cardOrbit 10s linear infinite;
}

.card-orbit::after {
    content: "";
    position: absolute;
    left: 22px;
    top: 32px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e8b95c;
}

.card-topline,
.card-bottomline {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    letter-spacing: 0.1rem;
}

.card-chip {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 36px;
    margin: 34px 0 24px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f2d78a, #b88932);
}

.card-number {
    position: relative;
    z-index: 1;
    margin-bottom: 28px;
    font-size: clamp(1.25rem, 2.4vw, 1.8rem);
    font-weight: 800;
    letter-spacing: 0.12rem;
}

.payment-fields {
    display: grid;
    gap: 16px;
}

.payment-fields label {
    display: grid;
    gap: 8px;
    color: #66707a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04rem;
    text-transform: uppercase;
}

.payment-fields input {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border: 2px solid transparent;
    border-radius: 16px;
    background: #f1f5f9;
    color: #17231d;
    font-size: 1rem;
    font-weight: 800;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.payment-fields input:focus {
    background: #fff;
    border-color: var(--ak-green);
    box-shadow: 0 0 0 4px rgba(45, 90, 39, 0.1);
}

.payment-field-row {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    gap: 14px;
}

.payment-submit {
    min-height: 58px;
    border: 0;
    border-radius: 999px;
    background: var(--ak-green);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 18px 34px rgba(45, 90, 39, 0.24);
}

.payment-fields small {
    color: #7a828c;
    line-height: 1.6;
}

@keyframes cardOrbit {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {
    body {
        background: #f4f6f3;
    }

    .payment-page {
        padding: 88px 14px 96px;
    }

    .payment-shell {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .payment-copy h1 {
        font-size: 2.6rem;
    }

    .payment-summary-card {
        max-width: none;
    }

    .payment-form {
        padding: 18px;
        border-radius: 22px;
    }

    .payment-card-preview {
        min-height: 210px;
        margin-bottom: 18px;
    }

    .credit-card-visual {
        padding: 20px;
        border-radius: 20px;
        transform: none;
    }

    .card-chip {
        margin: 26px 0 18px;
    }

    .card-number {
        margin-bottom: 22px;
        letter-spacing: 0.06rem;
    }

    .payment-field-row {
        grid-template-columns: 1fr 0.8fr;
    }

    .rez-container {
        margin: 18px auto 128px;
        padding: 0 14px;
    }

    .rez-container > .text-center {
        margin-bottom: 22px !important;
    }

    .rez-container > .text-center h1 {
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1;
    }

    .step-section {
        margin-bottom: 16px;
        padding: 18px 16px;
        border-radius: 18px;
        box-shadow: 0 12px 34px rgba(19, 47, 34, 0.06);
    }

    .section-header {
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .step-dot {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
        margin-right: 10px;
        border-radius: 10px;
    }

    .section-header h4 {
        font-size: 1.08rem;
        line-height: 1.2;
    }

    .form-label {
        font-size: 0.72rem;
        letter-spacing: 0.04rem;
    }

    .ak-input,
    .form-control,
    .form-select {
        min-height: 52px;
        padding: 12px 14px;
        border-radius: 14px;
        font-size: 16px;
    }

    textarea.ak-input,
    textarea.form-control {
        min-height: 112px;
    }

    #mekanSlider {
        border-radius: 16px !important;
    }

    #mekanSlider .ratio {
        --bs-aspect-ratio: 72%;
    }

    .qty-btn {
        width: 34px;
        height: 34px;
    }

    .qty-input {
        width: 36px;
    }

    #rezervasyonFormu .summary-bar {
        left: 12px;
        right: 12px;
        bottom: calc(90px + env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: minmax(76px, 0.58fr) minmax(0, 1.42fr);
        gap: 8px;
        align-items: center;
        padding: 10px;
        border-radius: 20px;
        text-align: left;
        margin-top: 24px;
    }

    #rezervasyonFormu .summary-bar > div {
        width: auto;
        min-width: 0;
    }

    #rezervasyonFormu .summary-bar > div:first-child {
        padding-left: 2px;
    }

    #rezervasyonFormu .price-label {
        margin-bottom: 2px;
        font-size: 0.56rem;
        letter-spacing: 0.05rem;
    }

    #rezervasyonFormu .price-tag {
        font-size: 1.32rem;
        white-space: nowrap;
    }

    #rezervasyonFormu .summary-bar > div:nth-child(2) {
        display: flex;
        justify-content: stretch;
    }

    #rezervasyonFormu .summary-bar .bg-white.bg-opacity-10 {
        width: 100%;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 2px;
        padding: 3px !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.13) !important;
    }

    #rezervasyonFormu .summary-bar .btn-sm {
        min-height: 32px;
        padding: 0 8px !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.69rem;
        line-height: 1;
        white-space: nowrap;
    }

    #rezervasyonFormu .summary-bar > div:last-child {
        grid-column: 1 / -1;
    }

    #rezervasyonFormu .summary-bar > div:last-child .btn {
        width: 100%;
        min-height: 42px;
        padding: 0 16px !important;
        font-size: 0.88rem;
    }

    #kurumsalForm .summary-bar {
        bottom: calc(90px + env(safe-area-inset-bottom));
        padding: 14px;
        border-radius: 18px !important;
        text-align: left;
    }

    #kurumsalForm .summary-bar h5 {
        font-size: 1rem;
        line-height: 1.25;
    }

    #kurumsalForm .summary-bar .btn {
        width: 100%;
        min-height: 48px;
        height: auto !important;
        padding: 10px 16px !important;
        font-size: 0.9rem;
        white-space: normal;
    }

    #musaitlikTakvimModal .modal-dialog {
        width: calc(100% - 16px);
        max-width: none;
        margin: 8px auto;
    }

    #musaitlikTakvimModal .modal-content {
        max-height: calc(100svh - 18px);
        overflow: hidden;
        border-radius: 20px !important;
    }

    #musaitlikTakvimModal .modal-header,
    #musaitlikTakvimModal .modal-footer {
        padding: 14px !important;
        border-radius: 0 !important;
    }

    #musaitlikTakvimModal .modal-title {
        font-size: 0.98rem;
        line-height: 1.2;
    }

    #musaitlikTakvimModal .modal-body {
        padding: 14px !important;
        overflow-y: auto;
    }

    #musaitlikTakvimModal .modal-body > .d-flex:first-child {
        gap: 8px;
    }

    #musaitlikTakvimModal .modal-body > .d-flex:first-child .btn {
        min-height: 40px;
        padding: 0 10px;
        font-size: 0.72rem;
        border-radius: 999px;
        white-space: nowrap;
    }

    #takvimAyYil {
        min-width: 88px;
        text-align: center;
        font-size: 0.98rem;
        line-height: 1.1;
    }

    #takvimGunleri {
        display: grid !important;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 6px;
    }

    #takvimGunleri > .col {
        width: auto !important;
        max-width: none !important;
        flex: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #takvimGunleri .btn {
        width: 100%;
        min-height: 40px;
        padding: 4px 2px !important;
        border-radius: 10px !important;
        font-size: 0.62rem !important;
        line-height: 1.05;
        white-space: normal;
        overflow-wrap: anywhere;
        box-shadow: none !important;
    }

    #saatButonlari {
        gap: 8px !important;
    }

    #saatButonlari .btn {
        flex: 1 1 calc(50% - 8px) !important;
        min-height: 40px;
        font-size: 0.82rem;
    }

    #btnTarihOnayla {
        min-height: 46px;
        padding: 0 16px !important;
    }

    #ekstraDetayModal .modal-dialog {
        width: calc(100% - 18px);
        margin: 9px auto;
    }

    #ekstraDetayModal .modal-content {
        min-height: 0;
        height: calc(100svh - 18px);
        border-radius: 18px;
    }

    #modalGorselKolon {
        height: 38%;
    }

    .modal-sag-kolon {
        height: 62%;
        padding: 22px;
        padding-top: 42px;
    }
}

/* Son revize katmani: odeme ekrani ve sabit toplam bar iptali */
.summary-bar,
#rezervasyonFormu .summary-bar,
#kurumsalForm .summary-bar {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: auto !important;
}

.payment-shell {
    width: min(1320px, 100%);
    grid-template-columns: minmax(360px, 0.78fr) minmax(560px, 1fr);
    gap: clamp(48px, 6vw, 96px);
    align-items: center;
}

.payment-copy {
    min-width: 0;
    position: relative;
    z-index: 1;
}

.payment-copy h1 {
    max-width: 580px;
    font-size: clamp(2.8rem, 4.2vw, 4.65rem);
    overflow-wrap: normal;
}

.payment-form {
    position: relative;
    z-index: 2;
}

@media (max-width: 991.98px) {
    .payment-shell {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .payment-copy h1 {
        max-width: none;
        font-size: clamp(2.4rem, 8vw, 3.4rem);
    }
}

@media (max-width: 767px) {
    #rezervasyonFormu .summary-bar,
    #kurumsalForm .summary-bar {
        margin-top: 20px !important;
        margin-bottom: 18px !important;
    }
}

/* N Kolay hosted payment handoff. */
.payment-nkolay-shell {
    align-items: stretch;
}

.payment-nkolay-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
}

.nkolay-redirect-visual .card-number {
    letter-spacing: .08em;
    font-size: clamp(1.15rem, 2vw, 1.7rem);
}

.payment-config-warning {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(189,112,68,.25);
    background: rgba(255,247,233,.9);
    color: #5c3b21;
}

.payment-config-warning i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 50%;
    color: #fff;
    background: #bd7044;
}

.payment-config-warning strong {
    display: block;
    font-size: 1.05rem;
}

.payment-config-warning p {
    margin: 8px 0 0;
    line-height: 1.6;
}

.payment-live-warning {
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(180, 35, 50, .22);
    background: rgba(255, 241, 242, .94);
    color: #6f1d29;
}

.payment-live-warning i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 50%;
    color: #fff;
    background: #b42332;
}

.payment-live-warning strong {
    display: block;
    font-size: 1rem;
}

.payment-live-warning p {
    margin: 7px 0 0;
    line-height: 1.55;
}

.payment-cancel-form {
    margin: -10px 0 0;
}

.payment-cancel-button {
    width: 100%;
    min-height: 50px;
    border: 1px solid rgba(18, 63, 45, .14);
    border-radius: 999px;
    background: #fff;
    color: #6f1d29;
    font-weight: 900;
}

.payment-cancel-button:hover {
    background: #fff1f2;
    border-color: rgba(180, 35, 50, .26);
}

.payment-test-note {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(45, 90, 39, .12);
    border-radius: 16px;
    background: rgba(238, 245, 238, .86);
    color: #496155;
    font-size: .86rem;
    line-height: 1.55;
}

.payment-test-note strong {
    color: var(--ak-green);
}

.payment-result-page {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: clamp(145px, 12vw, 190px) 18px 70px;
    background:
        radial-gradient(circle at 14% 14%, rgba(197, 160, 89, .16), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(45, 90, 39, .14), transparent 34%),
        #f7faf6;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.payment-result-card {
    position: relative;
    width: min(760px, 100%);
    overflow: hidden;
    padding: clamp(32px, 5vw, 58px);
    border: 1px solid rgba(18, 63, 45, .10);
    border-radius: 34px;
    background: rgba(255, 255, 255, .92);
    text-align: center;
    box-shadow: 0 34px 90px rgba(15, 47, 34, .14);
}

.payment-result-orbit {
    position: absolute;
    inset: auto -120px -190px auto;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(197, 160, 89, .28);
    border-radius: 50%;
    pointer-events: none;
}

.payment-result-icon {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 18px 36px rgba(15, 47, 34, .18);
}

.payment-result-card.success .payment-result-icon {
    background: linear-gradient(135deg, #1b7f43, #64c987);
}

.payment-result-card.failed .payment-result-icon {
    background: linear-gradient(135deg, #b42332, #fb7185);
}

.payment-result-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--ak-accent);
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.payment-result-card h1 {
    margin: 0;
    color: var(--ak-green);
    font-size: clamp(2.2rem, 6vw, 4.8rem);
    font-weight: 950;
    letter-spacing: -.055em;
    line-height: .95;
}

.payment-result-card.failed h1 {
    color: #6f1d29;
}

.payment-result-card p {
    max-width: 560px;
    margin: 20px auto 0;
    color: #66756d;
    font-size: 1.05rem;
    font-weight: 650;
    line-height: 1.75;
}

.payment-result-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 28px auto 0;
    text-align: left;
}

.payment-result-summary div {
    padding: 15px 16px;
    border: 1px solid rgba(18, 63, 45, .08);
    border-radius: 18px;
    background: #f8fbf8;
}

.payment-result-summary span {
    display: block;
    margin-bottom: 5px;
    color: #7d8c84;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.payment-result-summary strong {
    color: #123f2d;
    font-weight: 950;
}

.payment-result-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.payment-result-actions a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
}

.payment-result-primary {
    background: var(--ak-green);
    color: #fff;
    box-shadow: 0 16px 30px rgba(45, 90, 39, .20);
}

.payment-result-secondary {
    border: 1px solid rgba(18, 63, 45, .12);
    background: #fff;
    color: var(--ak-green);
}

/* Premium navbar offset and cleaner quantity / extra controls. */
.rez-container {
    margin-top: clamp(150px, 12vw, 185px) !important;
}

.payment-page {
    padding-top: clamp(145px, 12vw, 185px) !important;
}

.qty-btn {
    width: 30px !important;
    height: 30px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(45, 90, 39, .12) !important;
    border-radius: 999px !important;
    background: #f6faf6 !important;
    color: var(--ak-green) !important;
    font-size: 1rem;
    line-height: 1;
    box-shadow: none !important;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

.qty-btn:hover {
    transform: translateY(-1px);
    background: var(--ak-green) !important;
    color: #fff !important;
}

.qty-input {
    width: 52px !important;
    min-height: 32px !important;
    padding: 0 4px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #111827;
    text-align: center;
    font-weight: 900;
    outline: none;
    appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button,
.extra-qty-control input::-webkit-outer-spin-button,
.extra-qty-control input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.ekstra-card {
    border: 1px solid rgba(18, 63, 45, .10) !important;
    border-radius: 22px !important;
    padding: 18px !important;
    box-shadow: 0 14px 36px rgba(15, 47, 34, .055);
}

.ekstra-card:hover {
    transform: translateY(-2px);
    border-color: rgba(45, 90, 39, .25) !important;
    box-shadow: 0 18px 46px rgba(15, 47, 34, .09) !important;
}

.extra-qty-wrap {
    display: grid;
    justify-items: end;
    gap: 7px;
}

.extra-type-pill {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eef5ee;
    color: var(--ak-green);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.extra-qty-control {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border: 1px solid rgba(18, 63, 45, .10);
    border-radius: 999px;
    background: #f8faf8;
}

.extra-qty-control button {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--ak-green);
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(45, 90, 39, .12);
}

.extra-qty-control button:hover {
    background: var(--ak-green);
    color: #fff;
}

.extra-switch-wrap {
    display: inline-grid;
    justify-items: end;
    gap: 7px;
    cursor: pointer;
}

.extra-switch-wrap input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.extra-switch-ui {
    width: 54px;
    height: 32px;
    position: relative;
    display: inline-block;
    border-radius: 999px;
    background: #e9eef0;
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, .08);
    transition: background .2s ease;
}

.extra-switch-ui::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    left: 4px;
    top: 4px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .18);
    transition: transform .2s ease;
}

.extra-switch-wrap input:checked + .extra-switch-ui {
    background: var(--ak-green);
}

.extra-switch-wrap input:checked + .extra-switch-ui::after {
    transform: translateX(22px);
}

.extra-switch-wrap small {
    color: #6b7280;
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}

.gunluk-unit-card {
    background: linear-gradient(135deg, #f1f8ee 0%, #ffffff 100%);
    border-color: rgba(45, 90, 39, .24) !important;
}

.gunluk-unit-note {
    padding: 9px 11px;
    border-radius: 12px;
    background: rgba(45, 90, 39, .09);
    color: var(--ak-green);
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.45;
}

.daily-participant-divider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 2px 10px;
    border-bottom: 1px solid rgba(45, 90, 39, .16);
}

.daily-participant-divider span {
    color: var(--ak-green);
    font-size: .86rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.participant-price-label {
    font-size: 1.05rem;
    line-height: 1.25;
}

.participant-price-label.is-note {
    font-size: .82rem;
    line-height: 1.45;
}

.daily-participant-divider small {
    color: #707a73;
    font-size: .76rem;
    font-weight: 700;
}

.daily-calendar-guide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(45, 90, 39, .18);
    border-radius: 16px;
    background: linear-gradient(135deg, #edf7eb, #fff);
}

.daily-calendar-guide div {
    display: grid;
    gap: 2px;
}

.daily-calendar-guide small {
    color: #718074;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.daily-calendar-guide strong {
    color: var(--ak-green);
    font-size: 1rem;
}

.daily-calendar-guide span {
    color: #68716b;
    font-size: .76rem;
    font-weight: 700;
}

.daily-range-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(45, 90, 39, .17);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 47, 34, .07);
}

.daily-range-step {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 7px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    text-align: left;
    transition: background .2s ease;
}

.daily-range-step:hover {
    background: #f0f6ef;
}

.daily-range-step > .bi-pencil-square {
    margin-left: auto;
    color: var(--ak-green);
    opacity: .65;
}

.daily-range-step > span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    background: var(--ak-green);
    color: #fff;
    font-weight: 900;
}

.daily-range-step div {
    min-width: 0;
}

.daily-range-step small,
.daily-night-badge small {
    display: block;
    color: #758079;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.daily-range-step strong {
    display: block;
    overflow: hidden;
    color: #17221b;
    font-size: .86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.daily-night-badge {
    min-width: 70px;
    padding: 8px 12px;
    border-radius: 14px;
    background: #eef5ee;
    color: var(--ak-green);
    text-align: center;
}

.daily-night-badge strong {
    display: block;
    font-size: 1.25rem;
    line-height: 1;
}

.calendar-day {
    min-height: 58px;
}

.calendar-day span,
.calendar-day small {
    display: block;
}

.calendar-day small {
    margin-top: 2px;
    font-size: .62rem;
    font-weight: 800;
    line-height: 1.15;
}

.calendar-day.daily-full,
.calendar-day.daily-unavailable {
    border-color: #e4d2d2;
    background: #fff4f4;
    color: #a74a4a;
}

.calendar-day.daily-unavailable {
    border-color: #dedede;
    background: #f4f4f4;
    color: #818181;
    cursor: pointer;
}

#gunlukAralikHatasi:not(.d-none) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.calendar-day.daily-start,
.calendar-day.daily-end {
    border-color: var(--ak-green);
    background: var(--ak-green);
    color: #fff;
}

.calendar-day.daily-in-range {
    border-color: #b9d4b8;
    background: #eaf5e8;
    color: var(--ak-green);
}

@media (max-width: 767px) {
    .rez-container {
        margin-top: 118px !important;
    }

    .payment-page {
        padding-top: 118px !important;
    }

    .payment-result-page {
        padding-top: 118px;
    }

    .payment-result-summary {
        grid-template-columns: 1fr;
    }

    .mekan-card-grid {
        grid-template-columns: 1fr;
    }

    .mekan-choice-card {
        min-height: 0;
    }

    .daily-range-panel {
        grid-template-columns: 1fr auto;
    }

    .daily-range-panel > .bi-arrow-right {
        display: none;
    }

    .daily-calendar-guide,
    .daily-participant-divider {
        align-items: flex-start;
        flex-direction: column;
    }

    #gunlukAralikHatasi:not(.d-none) {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Gerçek telefonlarda mekan seçim modalı: safe-area, görünür fotoğraf ve kırılmayan grid. */
@media (max-width: 575.98px) {
    body.modal-open .mobile-top-logo {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-10px) scale(.92) !important;
    }

    #mekanSecimModal .modal-dialog {
        width: calc(100% - 14px) !important;
        max-width: none !important;
        margin: calc(7px + env(safe-area-inset-top)) auto calc(7px + env(safe-area-inset-bottom)) !important;
    }

    #mekanSecimModal .mekan-select-modal {
        max-height: calc(100svh - 14px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
        padding: 14px !important;
        border-radius: 22px !important;
        overflow: hidden !important;
    }

    #mekanSecimModal .mekan-select-head {
        position: sticky;
        top: 0;
        z-index: 3;
        align-items: center !important;
        margin: -14px -14px 12px !important;
        padding: 14px 14px 12px !important;
        background: rgba(255, 255, 255, .94);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(18, 63, 45, .08);
    }

    #mekanSecimModal .mekan-select-head span {
        font-size: .62rem !important;
        letter-spacing: .14em !important;
    }

    #mekanSecimModal .mekan-select-head h5 {
        max-width: 260px;
        font-size: clamp(1.42rem, 7.3vw, 2rem) !important;
        line-height: .98 !important;
        letter-spacing: -.045em !important;
    }

    #mekanSecimModal .btn-close {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        border-radius: 50%;
        background-color: #f1f5ef;
        opacity: 1;
    }

    #mekanSecimModal .mekan-card-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        max-height: calc(100svh - 118px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
        padding: 1px 2px 12px !important;
        -webkit-overflow-scrolling: touch;
    }

    #mekanSecimModal .mekan-choice-card {
        display: grid !important;
        grid-template-columns: minmax(108px, 38%) minmax(0, 1fr) !important;
        min-height: 0 !important;
        border-radius: 18px !important;
        box-shadow: 0 12px 28px rgba(15, 47, 34, .08) !important;
    }

    #mekanSecimModal .mekan-choice-image {
        height: 100% !important;
        min-height: 142px !important;
        background: linear-gradient(135deg, #123f2d, #1f6044) !important;
    }

    #mekanSecimModal .mekan-choice-image img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    #mekanSecimModal .mekan-choice-body {
        min-width: 0 !important;
        padding: 13px !important;
        gap: 7px !important;
    }

    #mekanSecimModal .mekan-choice-body strong {
        font-size: 1.02rem !important;
        line-height: 1.08 !important;
    }

    #mekanSecimModal .mekan-choice-body small {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: .78rem !important;
        line-height: 1.38 !important;
    }

    #mekanSecimModal .mekan-choice-foot {
        padding-top: 7px !important;
    }

    #mekanSecimModal .mekan-choice-foot b {
        font-size: .92rem !important;
    }

    #mekanSecimModal .mekan-choice-foot em {
        padding: 6px 10px !important;
        font-size: .68rem !important;
    }
}

/* 1920x1080 mekan gorselleri: cihaz oranı ne olursa olsun kırpmadan göster. */
#mekanSlider,
#mekanSlider .carousel-inner,
#mekanSlider .carousel-item {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    min-height: 0 !important;
    background: #e8eee9;
}

#mekanSlider .carousel-inner.ratio {
    --bs-aspect-ratio: 56.25% !important;
}

#mekanSlider .carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #e8eee9;
}

.calendar-day small:has(.daily-available-dot) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #237a47;
}

.daily-available-dot {
    width: 7px;
    height: 7px;
    display: inline-block;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #2eaa62;
    box-shadow: 0 0 0 3px rgba(46,170,98,.13);
}

@media (max-width: 575.98px) {
    body.modal-open .mobile-app-nav,
    body.modal-open::after {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    #musaitlikTakvimModal {
        z-index: 2000 !important;
    }

    #musaitlikTakvimModal .modal-dialog {
        min-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        height: auto !important;
        margin: calc(8px + env(safe-area-inset-top)) auto calc(8px + env(safe-area-inset-bottom)) !important;
        display: flex;
        align-items: center;
    }

    #musaitlikTakvimModal .modal-content {
        height: auto !important;
        max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
        display: flex;
        flex-direction: column;
    }

    #musaitlikTakvimModal .modal-body {
        min-height: 0;
        flex: 0 1 auto;
        max-height: calc(100dvh - 145px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        overscroll-behavior: contain;
        padding-bottom: 22px !important;
    }

    #musaitlikTakvimModal .modal-footer {
        position: relative;
        z-index: 5;
        flex: 0 0 auto;
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom)) !important;
        background: #fff;
        border-top: 1px solid #e5ebe6 !important;
        box-shadow: 0 -12px 26px rgba(18,56,39,.08);
    }

    #mekanSecimModal .mekan-choice-card {
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
    }

    #mekanSecimModal .mekan-choice-image {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9 !important;
        flex: 0 0 auto;
    }

    #mekanSecimModal .mekan-choice-image img {
        object-fit: contain !important;
        background: #e8eee9 !important;
    }

    #mekanSecimModal .mekan-choice-body {
        padding: 14px 15px 15px !important;
    }

    #mekanSecimModal .mekan-choice-body small {
        -webkit-line-clamp: 3;
    }
}

/* Ödeme yönlendirme ekranı: sade, teknik test ibarelerinden arındırılmış son tasarım. */
.payment-page {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-bottom: clamp(70px, 8vw, 120px);
    background:
        radial-gradient(circle at 10% 25%, rgba(123, 168, 98, .18), transparent 30%),
        radial-gradient(circle at 92% 18%, rgba(219, 179, 91, .13), transparent 25%),
        linear-gradient(135deg, #f4f8f2 0%, #fffdf8 48%, #f5f8f3 100%);
}

.payment-v2-glow {
    position: absolute;
    z-index: -1;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(45, 90, 39, .08);
    border-radius: 50%;
    pointer-events: none;
}

.payment-v2-glow::after {
    content: "";
    position: absolute;
    inset: 42px;
    border: 1px solid rgba(45, 90, 39, .07);
    border-radius: inherit;
}

.payment-v2-glow-left { left: -250px; bottom: -210px; }
.payment-v2-glow-right { top: 90px; right: -280px; }

.payment-v2-shell {
    width: min(1440px, 100%);
    grid-template-columns: minmax(420px, .88fr) minmax(600px, 1.12fr);
    gap: clamp(44px, 6vw, 100px);
}

.payment-v2-shell .payment-copy {
    align-self: center;
}

.payment-v2-shell .payment-copy h1 {
    max-width: 660px;
    margin: 13px 0 20px;
    font-size: clamp(3.25rem, 5.2vw, 6.25rem);
    font-weight: 900;
    letter-spacing: -.065em;
    line-height: .88;
    text-wrap: balance;
}

.payment-v2-shell .payment-copy > p {
    max-width: 610px;
    margin: 0;
    color: #65736c;
    font-size: clamp(1rem, 1.2vw, 1.16rem);
}

.payment-v2-summary.payment-summary-card {
    width: min(590px, 100%);
    max-width: none;
    margin-top: 32px;
    display: block;
    padding: 10px;
    overflow: hidden;
    border: 1px solid rgba(31, 83, 57, .11);
    border-radius: 26px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 24px 70px rgba(24, 68, 46, .10);
    backdrop-filter: blur(16px);
}

.payment-v2-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px 14px;
    color: #285e42;
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.payment-v2-summary-head i {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    background: #275f3f;
    box-shadow: 0 8px 18px rgba(39, 95, 63, .18);
}

.payment-v2-summary-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border-top: 1px solid rgba(31, 83, 57, .07);
}

.payment-v2-summary-item > i {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    color: #34704d;
    background: #eef5eb;
}

.payment-v2-summary-item div {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.payment-v2-summary-item span,
.payment-v2-total span {
    color: #7b8981;
    font-size: .8rem;
    font-weight: 750;
}

.payment-v2-summary-item strong {
    min-width: 0;
    color: #182c22;
    font-size: .93rem;
    font-weight: 900;
    text-align: right;
    overflow-wrap: anywhere;
}

.payment-v2-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 4px;
    padding: 17px 16px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(115deg, #153f2e 0%, #28683f 100%);
    box-shadow: 0 14px 28px rgba(21, 63, 46, .17);
}

.payment-v2-total span { color: rgba(255, 255, 255, .72); }
.payment-v2-total strong {
    color: #fff;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 950;
}

.payment-v2-shell .payment-nkolay-card {
    gap: 20px;
    padding: clamp(24px, 3vw, 42px);
    border: 1px solid rgba(27, 75, 50, .10);
    border-radius: 36px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.96), rgba(247,250,246,.88));
    box-shadow: 0 38px 100px rgba(20, 58, 40, .15);
    backdrop-filter: blur(18px);
}

.payment-v2-trustline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.payment-v2-trustline span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid rgba(37, 104, 64, .10);
    border-radius: 999px;
    color: #426253;
    background: #f3f8f1;
    font-size: .73rem;
    font-weight: 850;
}

.payment-v2-trustline i { color: #2e744a; }

.payment-v2-shell .payment-card-preview {
    min-height: 300px;
    margin: 0;
    perspective: 1000px;
}

.payment-v2-card-visual {
    width: min(465px, 92%);
    border-radius: 28px;
    background:
        radial-gradient(circle at 82% 18%, rgba(226, 188, 95, .34), transparent 26%),
        linear-gradient(135deg, #0d3928 0%, #0e5b4d 56%, #101e31 100%);
    box-shadow: 0 34px 65px rgba(12, 49, 34, .30);
    animation: paymentCardFloatV2 6s ease-in-out infinite;
}

.payment-v2-card-visual::after {
    content: "";
    position: absolute;
    inset: 1px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 27px;
    pointer-events: none;
}

.payment-v2-card-shine {
    position: absolute;
    z-index: 0;
    top: -35%;
    left: -80%;
    width: 42%;
    height: 180%;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
    animation: paymentCardShineV2 5.4s ease-in-out infinite;
}

.payment-v2-card-visual .card-chip {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 8px 20px rgba(0,0,0,.13);
}

.payment-v2-card-visual .card-bottomline { font-size: .72rem; }

.payment-v2-ready {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid rgba(43, 120, 72, .12);
    border-radius: 18px;
    background: #f0f7ed;
}

.payment-v2-ready > i {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #2d7448;
    box-shadow: 0 10px 20px rgba(45, 116, 72, .18);
}

.payment-v2-ready strong,
.payment-v2-ready span { display: block; }
.payment-v2-ready strong { color: #1b472f; font-size: .94rem; font-weight: 900; }
.payment-v2-ready span { margin-top: 3px; color: #687a70; font-size: .78rem; line-height: 1.5; }

.payment-v2-shell .payment-submit {
    min-height: 62px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(110deg, #245e3d, #347d48);
    box-shadow: 0 18px 36px rgba(36, 94, 61, .25);
    transition: transform .25s ease, box-shadow .25s ease;
}

.payment-v2-shell .payment-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 23px 42px rgba(36, 94, 61, .30);
}

.payment-v2-shell .payment-submit i { margin-left: 7px; transition: transform .2s ease; }
.payment-v2-shell .payment-submit:hover i { transform: translateX(5px); }

.payment-v2-shell .payment-fields small {
    display: block;
    text-align: center;
    font-size: .75rem;
}

.payment-v2-shell .payment-fields small i { margin-right: 5px; color: #36724d; }
.payment-v2-shell .payment-cancel-form { margin: -6px 0 0; }
.payment-v2-shell .payment-cancel-button {
    min-height: 48px;
    border-color: transparent;
    color: #66746c;
    background: transparent;
    transition: color .2s ease, background .2s ease;
}

.payment-v2-shell .payment-cancel-button:hover { color: #7a2730; background: #fff2f2; }
.payment-v2-shell .payment-cancel-button i { margin-right: 7px; }

@keyframes paymentCardFloatV2 {
    0%, 100% { transform: rotateX(8deg) rotateY(-9deg) translateY(0); }
    50% { transform: rotateX(4deg) rotateY(-3deg) translateY(-12px); }
}

@keyframes paymentCardShineV2 {
    0%, 18% { left: -80%; opacity: 0; }
    35% { opacity: 1; }
    58%, 100% { left: 145%; opacity: 0; }
}

@media (max-width: 1100px) {
    .payment-v2-shell {
        grid-template-columns: 1fr;
        width: min(760px, 100%);
        gap: 34px;
    }

    .payment-v2-shell .payment-copy { text-align: center; }
    .payment-v2-shell .payment-copy h1,
    .payment-v2-shell .payment-copy > p,
    .payment-v2-summary.payment-summary-card { margin-right: auto; margin-left: auto; }
    .payment-v2-shell .payment-copy > p { max-width: 650px; }
}

@media (max-width: 575.98px) {
    .payment-page { padding-right: 14px; padding-left: 14px; }
    .payment-v2-shell .payment-copy h1 {
        margin-top: 10px;
        font-size: clamp(2.65rem, 14vw, 3.65rem);
        line-height: .92;
    }

    .payment-v2-shell .payment-copy > p { font-size: .93rem; line-height: 1.65; }
    .payment-v2-summary.payment-summary-card { margin-top: 24px; padding: 8px; border-radius: 22px; }
    .payment-v2-summary-item { grid-template-columns: 38px minmax(0, 1fr); padding: 12px 10px; }
    .payment-v2-summary-item > i { width: 34px; height: 34px; }
    .payment-v2-summary-item div { align-items: flex-start; flex-direction: column; gap: 3px; }
    .payment-v2-summary-item strong { text-align: left; }
    .payment-v2-total { padding: 15px 13px; }
    .payment-v2-shell .payment-nkolay-card { gap: 16px; padding: 18px 14px; border-radius: 26px; }
    .payment-v2-trustline { gap: 7px; }
    .payment-v2-trustline span { padding: 8px 10px; font-size: .66rem; }
    .payment-v2-shell .payment-card-preview { min-height: 220px; }
    .payment-v2-card-visual { width: 96%; padding: 19px; border-radius: 22px; animation-name: paymentCardFloatMobileV2; }
    .payment-v2-card-visual::after { border-radius: 21px; }
    .payment-v2-card-visual .card-chip { margin: 24px 0 17px; }
    .payment-v2-card-visual .card-number { margin-bottom: 20px; font-size: 1.05rem; }
    .payment-v2-card-visual .card-bottomline { font-size: .58rem; }
    .payment-v2-ready { grid-template-columns: 36px minmax(0, 1fr); padding: 12px; }
    .payment-v2-ready > i { width: 34px; height: 34px; }
}

@keyframes paymentCardFloatMobileV2 {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

@media (prefers-reduced-motion: reduce) {
    .payment-v2-card-visual,
    .payment-v2-card-shine,
    .payment-v2-card-visual .card-orbit { animation: none !important; }
}

.reservation-rich-copy img {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin: 20px auto;
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(18, 56, 39, .12);
}
