/* Taller Frontend Listing — Base styles (enhanced by inline JS styles) */
#tl-wrap *, #tl-wrap *::before, #tl-wrap *::after {
    box-sizing: border-box;
}
#tl-wrap {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#tl-wrap img {
    max-width: 100%;
    height: auto;
}

/* Offer Modal & Buttons */
.tl-card-offer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 10px;
    padding: 8px !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}
.tl-card-offer-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.tl-offer-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: tlFadeIn 0.2s ease-out;
}

@keyframes tlFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.tl-offer-modal-box {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    font-family: 'Inter', system-ui, sans-serif;
    color: #0f172a;
}
.tl-offer-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tl-offer-modal-close:hover { background: #e2e8f0; color: #0f172a; }
.tl-offer-modal-badge {
    display: inline-block;
    background: #e0e7ff;
    color: #4f46e5;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.tl-offer-modal-title {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}
.tl-offer-modal-subtitle {
    margin: 0 0 16px 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}
.tl-offer-vehicle-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 20px;
}
.tl-offer-vehicle-img {
    width: 90px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
}
.tl-offer-vehicle-info { flex: 1; }
.tl-offer-vehicle-info h4 { margin: 0 0 8px 0; font-size: 14px; font-weight: 700; color: #0f172a; }
.tl-offer-price-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; font-size: 12.5px; }
.tl-offer-price-lbl { color: #64748b; font-weight: 500; }
.tl-offer-price-old { text-decoration: line-through; color: #94a3b8; font-weight: 600; }
.tl-offer-discount-tag { color: #059669; font-weight: 700; background: #d1fae5; padding: 2px 6px; border-radius: 4px; }
.tl-offer-final-row { border-top: 1px dashed #cbd5e1; padding-top: 6px; margin-top: 6px; }
.tl-offer-price-final { font-size: 20px; font-weight: 900; color: #4f46e5; }
.tl-offer-modal-wpp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: #25d366;
    color: #ffffff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.tl-offer-modal-wpp-btn:hover { background: #1eb957; color: #ffffff; }
