/* Teklif talep butonları ve popup */
.btn-teklif {
    display: inline-block;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #fff;
    background: #E67E22;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    line-height: 1.3;
    font-family: inherit;
}

.btn-teklif:hover,
.btn-teklif:focus {
    background: #D35400;
    color: #fff;
}

.btn-teklif-slider {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
}

.btn-teklif-urun {
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 13px;
    box-shadow: 0 4px 14px rgba(230, 126, 34, 0.45);
}

.btn-teklif-urun:hover,
.btn-teklif-urun:focus {
    box-shadow: 0 6px 18px rgba(211, 84, 0, 0.5);
}

.btn-teklif-floating {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 9990;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 13px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.teklif-section-cta {
    text-align: center;
    padding: 28px 0 8px;
}

/* Popup */
.teklif-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.teklif-overlay.is-open {
    display: flex;
}

.teklif-modal {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 92vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    padding: 28px 24px 24px;
}

.teklif-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    color: #666;
    cursor: pointer;
}

.teklif-modal__close:hover {
    color: #111;
}

.teklif-modal h2 {
    font-size: 22px;
    margin: 0 0 18px;
    padding-right: 36px;
}

.teklif-field {
    margin-bottom: 14px;
}

.teklif-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.teklif-field label .req {
    color: #c0392b;
}

.teklif-field input,
.teklif-field select,
.teklif-field textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

.teklif-field textarea {
    min-height: 100px;
    resize: vertical;
}

.teklif-field.is-error input,
.teklif-field.is-error select,
.teklif-field.is-error textarea {
    border-color: #e74c3c;
}

.teklif-field__error {
    display: none;
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
}

.teklif-field.is-error .teklif-field__error {
    display: block;
}

.teklif-submit {
    width: 100%;
    margin-top: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    background: #E67E22;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.teklif-submit:hover {
    background: #D35400;
}

.teklif-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.teklif-success {
    display: none;
    text-align: center;
    padding: 24px 8px;
}

.teklif-success.is-visible {
    display: block;
}

.teklif-success__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #27ae60;
    color: #fff;
    font-size: 32px;
    line-height: 64px;
}

.teklif-success h3 {
    font-size: 20px;
    margin: 0 0 10px;
    color: #27ae60;
}

.teklif-success p {
    margin: 0 0 8px;
    color: #444;
    font-size: 14px;
}

.teklif-success a {
    color: #E67E22;
    font-weight: 600;
    text-decoration: none;
}

.teklif-form-wrap.is-hidden {
    display: none;
}

@media (max-width: 767px) {
    .teklif-overlay {
        padding: 0;
        align-items: stretch;
    }

    .teklif-modal {
        max-width: none;
        max-height: none;
        min-height: 100%;
        border-radius: 0;
        padding: 24px 18px 32px;
    }

    .btn-teklif-floating {
        right: 14px;
        bottom: 16px;
        font-size: 12px;
        padding: 9px 18px;
    }
}
