/* =======================
   FONT (INTER) - TÜM MODAL
======================= */
.offer-modal,
.offer-modal * {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* =======================
   MODAL GENEL & OVERLAY
======================= */
.offer-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: offerOverlayFade 0.2s ease forwards;
}

@keyframes offerOverlayFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.offer-modal {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    animation: offerModalIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes offerModalIn {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

/* Kapat Butonu */
.offer-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #f8fafc;
    color: #334155;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
}

.offer-modal-close:hover {
    background: #ef4444;
    color: #fff;
    transform: rotate(90deg);
}

/* =======================
   HEADER
======================= */
.offer-modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
}

.offer-modal-header h3 {
    margin: 0;
    font-weight: normal;         /* hafif */
    font-size: 22px;
    color: #0f172a;
}

/* =======================
   BODY
======================= */
.offer-modal-body {
    padding: 24px;
}

/* Ürün Bilgisi Kutusu */
.offer-product-box {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.offer-product-box:hover {
    transform: translateX(4px);
}

.offer-product-image {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.offer-product-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.35;
    color: #0f172a;
    margin-bottom: 4px;
}

.offer-product-price {
    font-weight: normal;
    font-size: 15px;
    color: #64748b;
}

/* =======================
   HIZLI TEKLİF BUTONLARI
======================= */
.offer-quick-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.offer-quick-btn {
    border: 1.5px solid #e2e8f0;
    background: #fff;
    border-radius: 14px;
    padding: 16px 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.offer-quick-btn span {
    display: block;
    font-weight: 600;
    font-size: 16.5px;
    color: #0f172a;
    margin-bottom: 3px;
}

.offer-quick-btn small {
    display: block;
    font-weight: 400;
    font-size: 13px;
    color: #64748b;
}

/* Hover */
.offer-quick-btn:hover {
    background: #0f766e;
    border-color: #0f766e;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.15);
}

.offer-quick-btn:hover span,
.offer-quick-btn:hover small {
    color: #fff !important;
}

/* Aktif */
.offer-quick-btn.active {
    background: #0f766e;
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
}

.offer-quick-btn.active span,
.offer-quick-btn.active small {
    color: #fff;
}

/* =======================
   ÖZEL TEKLİF INPUT ALANI
======================= */
.offer-input-area {
    margin-top: 8px;
}

.offer-label {
    display: block;
    font-weight: normal;
    font-size: 14.5px;
    color: #334155;
    margin-bottom: 8px;
}

.offer-input-wrap {
    position: relative;
}

.offer-amount-input {
    width: 100%;
    height: 55px;
    border: 0;
    border-bottom: 2.5px solid #cbd5e1;
    font-size: 30px;
    font-weight: 700;
    color: #0f172a;
    outline: none;
    padding: 0 60px 0 8px;
    background: transparent;
    transition: border-color 0.2s ease;
}

.offer-amount-input:focus {
    border-bottom-color: #0f766e;
}

.offer-currency {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    font-weight: 600;
    color: #64748b;
    pointer-events: none;
}

.offer-current-price-line {
    margin-top: 10px;
    font-size: 14.5px;
    color: #64748b;
    font-weight: normal;
}

/* =======================
   NOT VE UYARI
======================= */
.offer-note {
    margin-top: 24px;
    font-weight: 400;
    font-size: 14.5px;
    line-height: 1.6;
    color: #64748b;
}

.offer-warning {
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 12px 14px;
    line-height: 1.5;
}

/* =======================
   FOOTER & GÖNDER BUTONU
======================= */
.offer-modal-footer {
    padding: 0 24px 24px;
}

.offer-submit-btn {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 14px;
    background: #0f766e;
    color: #fff !important;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.offer-submit-btn:hover {
    background: #0b5c57;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 118, 110, 0.25);
}

.offer-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* =======================
   TEKLİF BUTONU (Ana sayfadaki buton)
======================= */
.teklif-button {
    margin-top: 12px;
    background: #fff;
    color: #0f766e;
    border: 1.5px solid #0f766e;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.teklif-button:hover {
    background: #0f766e;
    color: #fff;
    transform: translateY(-1px);
}

.teklif-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f3f4f6;
    color: #6b7280;
    border-color: #d1d5db;
}


.teklif-login-note{
    margin-top:8px;
    font-size:13px;
    line-height:1.4;
    color:#0f766e;
}

.teklif-login-note--muted{
    color:#6b7280;
}

/* =======================
   RESPONSIVE
======================= */
@media (max-width: 640px) {
    .offer-modal {
        max-width: 100%;
        border-radius: 18px;
    }

    .offer-modal-header h3 {
        font-size: 21px;
    }

    .offer-quick-buttons {
        grid-template-columns: repeat(2, 1fr);   /* mobilde 2 sütun daha iyi durur */
    }

    .offer-modal-body,
    .offer-modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .offer-amount-input {
        font-size: 27px;
    }
}

/* Ekstra küçük ekranlar */
@media (max-width: 480px) {
    .offer-quick-buttons {
        grid-template-columns: 1fr;
    }
}