/* ==========================================================================
   Bottom site offer strip (no popup)
   ========================================================================== */

.sdev-offer-bar {
    position: fixed;
    left: 16px;
    right: auto;
    bottom: 36px;
    width: 35%;
    min-width: 320px;
    max-width: 520px;
    transform: none;
    z-index: 1500;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, 0.45);
    background: linear-gradient(105deg, #0f172a 0%, #1e293b 45%, #7c2d12 160%);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(245, 158, 11, 0.18);
    animation: sdevOfferIn 0.45s cubic-bezier(0.22, 1, 0.36, 1), sdevOfferFloat 4.8s ease-in-out 0.45s infinite;
    font-family: 'Noto Sans Lao', 'Phetsarath OT', sans-serif;
}

.sdev-offer-bar[hidden] {
    display: none !important;
}

@keyframes sdevOfferIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes sdevOfferFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes sdevOfferShine {
    0% { transform: translateX(-30%); }
    100% { transform: translateX(130%); }
}

@keyframes sdevPriceGlow {
    0%, 100% { text-shadow: 0 0 8px rgba(251, 191, 36, 0.3); }
    50% { text-shadow: 0 0 18px rgba(251, 191, 36, 0.75); }
}

.sdev-offer-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.sdev-offer-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: sdevOfferShine 3.8s ease-in-out infinite;
}

.sdev-offer-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
}

.sdev-offer-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.sdev-offer-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sdev-offer-cta {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    color: #fff;
    background: linear-gradient(90deg, #f59e0b, #ea580c 60%, #dc2626);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.4);
    white-space: nowrap;
    transition: transform 0.15s, filter 0.15s;
}

.sdev-offer-badge {
    flex-shrink: 0;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.sdev-offer-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sdev-offer-copy strong {
    color: #fff7ed;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.sdev-offer-copy span {
    color: #fdba74;
    font-size: 12px;
}

.sdev-offer-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-shrink: 0;
}

.sdev-offer-price small {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 12px;
}

.sdev-offer-price b {
    color: #fbbf24;
    font-size: 18px;
    font-weight: 800;
    animation: sdevPriceGlow 2.2s ease-in-out infinite;
    white-space: nowrap;
}

.sdev-offer-cta:hover {
    transform: translateY(-1px) scale(1.02);
    filter: brightness(1.08);
}

.sdev-offer-close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.sdev-offer-close:hover {
    background: rgba(248, 113, 113, 0.25);
    color: #fecaca;
}

@media (max-width: 720px) {
    .sdev-offer-bar {
        left: 8px;
        right: 8px;
        width: auto;
        min-width: 0;
        max-width: none;
        bottom: 34px;
        animation: sdevOfferIn 0.4s ease;
    }

    .sdev-offer-inner {
        padding: 10px 10px;
        gap: 10px;
        flex-direction: column;
        align-items: stretch;
    }

    .sdev-offer-text {
        flex-direction: column;
        align-items: flex-start;
        min-width: 0;
    }

    .sdev-offer-copy strong {
        font-size: 13px;
    }

    .sdev-offer-price b {
        font-size: 15px;
    }

    .sdev-offer-actions {
        width: 100%;
        justify-content: space-between;
    }

    .sdev-offer-cta {
        padding: 9px 12px;
        font-size: 12px;
        flex: 1;
        justify-content: center;
    }
}
