.teklif-al-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.teklif-al-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.teklif-al-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 60, 59, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.teklif-al-dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 92vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    border-radius: 20px;
    box-shadow:
        0 4px 6px rgba(16, 60, 59, 0.04),
        0 24px 48px rgba(16, 60, 59, 0.18);
    padding: 0;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.teklif-al-modal.is-open .teklif-al-dialog {
    transform: translateY(0) scale(1);
}

.teklif-al-dialog::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--bg-dark-1, #103C3B) 0%, var(--primary-color, #B07E50) 100%);
    border-radius: 20px 20px 0 0;
}

.teklif-al-icerik {
    padding: 1.15rem 1.25rem 1.1rem;
}

.teklif-al-kapat {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(16, 60, 59, 0.06);
    font-size: 1.2rem;
    line-height: 1;
    color: rgba(16, 60, 59, 0.65);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.teklif-al-kapat:hover {
    background: rgba(16, 60, 59, 0.12);
    color: var(--bg-dark-1, #103C3B);
    transform: rotate(90deg);
}

.teklif-al-etiket {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color, #B07E50);
    margin-bottom: 0.25rem;
}

.teklif-al-baslik {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bg-dark-1, #103C3B);
    margin: 0 2rem 0.35rem 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.teklif-al-alt {
    color: rgba(16, 60, 59, 0.58);
    font-size: 0.8rem;
    line-height: 1.45;
    margin-bottom: 0.75rem;
}

.teklif-al-hizli {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.teklif-al-hizli a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
}

.teklif-al-hizli a i {
    font-size: 0.85rem;
}

.teklif-al-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
    color: #fff;
}

.teklif-al-telefon {
    background: linear-gradient(135deg, var(--bg-dark-1, #103C3B) 0%, var(--bg-dark-2, #1E4645) 100%);
    color: #fff;
}

.teklif-al-alan {
    margin-bottom: 0.55rem;
}

.teklif-al-alan label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(16, 60, 59, 0.5);
    margin-bottom: 0.25rem;
}

.teklif-al-opsiyonel {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.68rem;
    color: rgba(16, 60, 59, 0.4);
}

#teklif_al_form .row {
    --bs-gutter-x: 0.65rem;
    --bs-gutter-y: 0;
}

#teklif_al_form .form-control {
    border: 1px solid rgba(16, 60, 59, 0.12);
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
    background: rgba(16, 60, 59, 0.025);
    color: var(--bg-dark-1, #103C3B);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

#teklif_al_form .form-control::placeholder {
    color: rgba(16, 60, 59, 0.35);
}

#teklif_al_form .form-control:focus {
    border-color: var(--primary-color, #B07E50);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(176, 126, 80, 0.1);
    outline: none;
}

#teklif_al_form select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23103C3B' fill-opacity='0.5' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

#teklif_al_form textarea.form-control {
    min-height: 56px;
    resize: none;
}

#teklif_al_form .form-control.error_input {
    border-color: #e55353;
    background: rgba(229, 83, 83, 0.04);
}

.teklif-al-gonder {
    width: 100%;
    margin-top: 0.15rem;
    padding: 0.7rem 1rem;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-color, #B07E50) 0%, #9a6b42 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    box-shadow: 0 3px 12px rgba(176, 126, 80, 0.3);
}

.teklif-al-gonder:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.teklif-al-success,
.teklif-al-error {
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.teklif-al-success {
    background: rgba(25, 135, 84, 0.08);
    color: #157347;
    border: 1px solid rgba(25, 135, 84, 0.2);
}

.teklif-al-error {
    background: rgba(220, 53, 69, 0.06);
    color: #c82333;
    border: 1px solid rgba(220, 53, 69, 0.18);
}

body.teklif-al-open {
    overflow: hidden;
}

.teklif-al-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

a.teklif-al-btn.teklif-al-ac {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 10px 20px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    text-decoration: none !important;
    white-space: nowrap;
    color: #fff !important;
    background: linear-gradient(145deg, #cfa070 0%, #b07e50 50%, #96663a 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 4px 18px rgba(176, 126, 80, 0.42),
        0 1px 2px rgba(0, 0, 0, 0.1);
    transition: transform 0.22s ease, filter 0.22s ease;
    animation: teklif-glow-altin 3s ease-in-out infinite;
    width: auto !important;
}

/* Parıltı — yazının altında */
a.teklif-al-btn.teklif-al-ac::before {
    content: "";
    display: block !important;
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        105deg,
        transparent 28%,
        rgba(255, 255, 255, 0.32) 50%,
        transparent 72%
    );
    transform: translateX(-130%);
    animation: teklif-shine 3.8s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

a.teklif-al-btn.teklif-al-ac::after {
    display: none !important;
}

a.teklif-al-btn.teklif-al-ac span {
    position: relative !important;
    z-index: 2;
    color: #fff !important;
    opacity: 1 !important;
    transform: none !important;
    display: inline !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
}

a.teklif-al-btn.teklif-al-ac span::after {
    content: "→";
    margin-left: 0.35em;
    font-weight: 700;
    opacity: 0.85;
    transition: transform 0.22s ease, opacity 0.22s ease;
    display: inline-block;
    animation: teklif-ok-nefes 2s ease-in-out infinite;
}

a.teklif-al-btn.teklif-al-ac:hover {
    animation: none;
    filter: brightness(1.08);
    color: #fff !important;
    background: linear-gradient(145deg, #d4a876 0%, #b88655 50%, #a06f42 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.38),
        0 8px 26px rgba(176, 126, 80, 0.58),
        0 2px 4px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

a.teklif-al-btn.teklif-al-ac:hover::before {
    animation-duration: 2.2s;
}

a.teklif-al-btn.teklif-al-ac:hover span::after {
    transform: translateX(4px);
    opacity: 1;
    animation: none;
}

a.teklif-al-btn.teklif-al-ac:active {
    transform: translateY(0) scale(0.98);
    filter: brightness(0.96);
}

@keyframes teklif-glow-altin {
    0%, 100% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.28),
            0 4px 18px rgba(176, 126, 80, 0.42),
            0 0 0 0 rgba(255, 196, 120, 0.45);
    }
    50% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.32),
            0 5px 22px rgba(176, 126, 80, 0.52),
            0 0 0 5px rgba(255, 196, 120, 0);
    }
}

@keyframes teklif-shine {
    0%, 18%, 100% {
        transform: translateX(-130%);
    }
    42%, 58% {
        transform: translateX(130%);
    }
}

@keyframes teklif-ok-nefes {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.75;
    }
    50% {
        transform: translateX(2px);
        opacity: 1;
    }
}

/* Açık header — koyu yeşil gradient alternatif */
header.header-light a.teklif-al-btn.teklif-al-ac {
    background: linear-gradient(145deg, #1e524f 0%, #103C3B 55%, #0a2e2d 100%) !important;
    animation-name: teklif-glow-yesil;
}

header.header-light a.teklif-al-btn.teklif-al-ac::before {
    background: linear-gradient(
        105deg,
        transparent 28%,
        rgba(255, 255, 255, 0.18) 50%,
        transparent 72%
    );
}

@keyframes teklif-glow-yesil {
    0%, 100% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.12),
            0 4px 16px rgba(16, 60, 59, 0.3),
            0 0 0 0 rgba(16, 90, 88, 0.4);
    }
    50% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.16),
            0 5px 20px rgba(16, 60, 59, 0.38),
            0 0 0 4px rgba(16, 90, 88, 0);
    }
}

header.header-light a.teklif-al-btn.teklif-al-ac:hover {
    background: linear-gradient(145deg, #256260 0%, #154a48 55%, #0c3534 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 8px 24px rgba(16, 60, 59, 0.42);
}

@media (prefers-reduced-motion: reduce) {
    a.teklif-al-btn.teklif-al-ac,
    a.teklif-al-btn.teklif-al-ac::before,
    a.teklif-al-btn.teklif-al-ac span::after {
        animation: none !important;
    }
}

/* Mobil */
@media only screen and (max-width: 767px) {
    header a.teklif-al-btn.teklif-al-ac,
    header a.teklif-al-ac {
        display: inline-flex !important;
    }

    a.teklif-al-btn.teklif-al-ac {
        padding: 8px 14px !important;
        font-size: 9.5px !important;
        letter-spacing: 0.05em !important;
        border-radius: 7px !important;
        animation: teklif-glow-altin-mobil 3.2s ease-in-out infinite;
    }

    header.header-light a.teklif-al-btn.teklif-al-ac {
        animation-name: teklif-glow-yesil-mobil;
    }

    @keyframes teklif-glow-altin-mobil {
        0%, 100% {
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.22),
                0 3px 12px rgba(176, 126, 80, 0.38),
                0 0 0 0 rgba(255, 196, 120, 0.35);
        }
        50% {
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.26),
                0 4px 14px rgba(176, 126, 80, 0.48),
                0 0 0 3px rgba(255, 196, 120, 0);
        }
    }

    @keyframes teklif-glow-yesil-mobil {
        0%, 100% {
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                0 3px 12px rgba(16, 60, 59, 0.28),
                0 0 0 0 rgba(16, 90, 88, 0.35);
        }
        50% {
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.14),
                0 4px 14px rgba(16, 60, 59, 0.36),
                0 0 0 3px rgba(16, 90, 88, 0);
        }
    }

    header .menu_side_area {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 0.55rem;
        width: auto;
        margin-left: 0.35rem;
        flex-shrink: 0;
    }

    header .menu_side_area .teklif-al-ac {
        flex-shrink: 0;
    }

    header.logo-center .de-flex {
        gap: 0.35rem;
    }

    .teklif-al-dialog {
        border-radius: 16px 16px 0 0;
        max-height: 94vh;
        align-self: flex-end;
    }

    .teklif-al-modal {
        align-items: flex-end;
        padding: 0;
    }

    .teklif-al-icerik {
        padding: 1rem 1rem 1.1rem;
    }
}

@media only screen and (max-width: 380px) {
    a.teklif-al-btn.teklif-al-ac {
        padding: 7px 12px !important;
        font-size: 9px !important;
    }
}

@media (max-width: 575px) {
    .teklif-al-baslik {
        font-size: 1.2rem;
        padding-right: 2rem;
    }
}

/* —— Modern iki sütunlu modal —— */
.teklif-al-dialog--modern {
    max-width: 920px;
    border-radius: 24px;
    overflow: hidden;
    max-height: min(92vh, 780px);
    display: flex;
    flex-direction: column;
}

.teklif-al-dialog--modern::before {
    display: none;
}

.teklif-al-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    min-height: 0;
    flex: 1;
    overflow: hidden;
}

.teklif-al-form-col {
    padding: 2rem 2.25rem 1.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.teklif-al-dialog--modern .teklif-al-baslik {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    margin: 0 2.5rem 0.5rem 0;
    letter-spacing: -0.02em;
}

.teklif-al-dialog--modern .teklif-al-alt {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.35rem;
    max-width: 36em;
}

.teklif-al-dialog--modern .teklif-al-alan {
    margin-bottom: 0.85rem;
}

.teklif-al-dialog--modern .teklif-al-alan label {
    font-size: 0.72rem;
    text-transform: none;
    letter-spacing: 0.01em;
    color: rgba(16, 60, 59, 0.62);
    margin-bottom: 0.35rem;
}

.teklif-al-dialog--modern #teklif_al_form .form-control {
    border-radius: 12px;
    padding: 0.72rem 0.95rem;
    font-size: 0.92rem;
    background: #fff;
    border-color: rgba(16, 60, 59, 0.14);
    box-shadow: 0 1px 2px rgba(16, 60, 59, 0.04);
}

.teklif-al-dialog--modern #teklif_al_form .form-control:focus {
    box-shadow: 0 0 0 4px rgba(176, 126, 80, 0.12);
}

.teklif-al-phone-wrap {
    display: flex;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(16, 60, 59, 0.14);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 60, 59, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.teklif-al-phone-wrap:focus-within {
    border-color: var(--primary-color, #B07E50);
    box-shadow: 0 0 0 4px rgba(176, 126, 80, 0.12);
}

.teklif-al-phone-prefix {
    display: inline-flex;
    align-items: center;
    padding: 0 0.85rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(16, 60, 59, 0.55);
    background: rgba(16, 60, 59, 0.04);
    border-right: 1px solid rgba(16, 60, 59, 0.1);
    white-space: nowrap;
}

.teklif-al-phone-wrap .form-control {
    flex: 1;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.teklif-al-phone-wrap .form-control:focus {
    box-shadow: none !important;
}

.teklif-al-phone-wrap .form-control.error_input,
#teklif_al_form .teklif-al-phone-wrap:has(.error_input) {
    border-color: #e55353;
}

.teklif-al-field-error {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    color: #e55353;
}

.teklif-al-checks {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 1rem 0 1.15rem;
    padding-top: 0.25rem;
}

.teklif-al-validation-msg {
    display: none;
    margin: 0 0 0.85rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #b42318;
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.18);
}

.teklif-al-validation-msg.is-visible {
    display: block;
}

.teklif-al-check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(16, 60, 59, 0.72);
    cursor: pointer;
}

.teklif-al-check input[type="checkbox"] {
    flex-shrink: 0;
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.12rem;
    accent-color: var(--primary-color, #B07E50);
    cursor: pointer;
}

.teklif-al-check a {
    color: var(--bg-dark-1, #103C3B);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.teklif-al-check.is-error {
    color: #c82333;
}

.teklif-al-check.is-error input[type="checkbox"] {
    outline: 2px solid rgba(220, 53, 69, 0.35);
    outline-offset: 1px;
}

.teklif-al-dialog--modern .teklif-al-gonder {
    width: auto;
    min-width: 160px;
    padding: 0.85rem 2rem;
    border-radius: 999px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.teklif-al-dialog--modern .teklif-al-gonder:not(:disabled):hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 6px 20px rgba(176, 126, 80, 0.38);
}

.teklif-al-side-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: 2.25rem 2rem;
    background: linear-gradient(165deg, #f4f6f8 0%, #eef1f4 100%);
    border-left: 1px solid rgba(16, 60, 59, 0.06);
    overflow-y: auto;
}

.teklif-al-side-label {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(16, 60, 59, 0.58);
    line-height: 1.4;
}

.teklif-al-hotline {
    display: block;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #0f2d4a !important;
    text-decoration: none !important;
    margin-bottom: 0.35rem;
    transition: color 0.2s ease;
}

.teklif-al-hotline:hover {
    color: var(--primary-color, #B07E50) !important;
}

.teklif-al-side-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.95rem 1.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f2d4a 0%, #1a3f5c 100%);
    color: #fff !important;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(15, 45, 74, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.teklif-al-side-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 8px 24px rgba(15, 45, 74, 0.32);
    color: #fff !important;
}

.teklif-al-dialog--modern .teklif-al-kapat {
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(16, 60, 59, 0.07);
}

@media (max-width: 860px) {
    .teklif-al-dialog--modern {
        max-width: 100%;
    }

    .teklif-al-grid {
        grid-template-columns: 1fr;
    }

    .teklif-al-form-col {
        padding: 1.5rem 1.35rem 1.25rem;
    }

    .teklif-al-side-col {
        border-left: 0;
        border-top: 1px solid rgba(16, 60, 59, 0.08);
        padding: 1.35rem 1.35rem 1.5rem;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.75rem 1rem;
    }

    .teklif-al-side-label {
        width: 100%;
    }

    .teklif-al-hotline {
        width: 100%;
        margin-bottom: 0;
    }

    .teklif-al-side-btn {
        flex: 1;
        min-width: calc(50% - 0.5rem);
    }
}

@media (max-width: 767px) {
    .teklif-al-dialog--modern {
        border-radius: 20px 20px 0 0;
    }

    .teklif-al-side-col {
        flex-direction: column;
        align-items: stretch;
    }

    .teklif-al-side-btn {
        min-width: 100%;
    }

    .teklif-al-dialog--modern .teklif-al-gonder {
        width: 100%;
    }
}
