/* ══════════════════════════════════════════════════════════════
   Florial – Mobile Promo Bar
   Fixed oranžinė juosta viršuje, matoma tik mobile (iki 991px).
   Rodoma tik kai egzistuoja `.mobile-promo-bar` elementas
   (žr. components/web/sections/header.blade.php).
   ══════════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────
   Juostos konteineris
   ───────────────────────────────────────── */

.mobile-promo-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040; /* virš sticky header (~1020), bet po Bootstrap modalų (1050+) */
    background: linear-gradient(135deg, #FF6840 0%, #ff8560 100%);
    color: #fff;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(255, 104, 64, 0.25);
    -webkit-box-shadow: 0 2px 6px rgba(255, 104, 64, 0.25);
    padding: 0 12px;
}

.mobile-promo-bar .mobile-promo-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    line-height: 1;
}


/* ─────────────────────────────────────────
   Teksto etiketė ("-15% su kodu")
   ───────────────────────────────────────── */

.mobile-promo-bar .mobile-promo-label {
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
}


/* ─────────────────────────────────────────
   Kodo mygtukas (tap-to-copy)
   ───────────────────────────────────────── */

.mobile-promo-bar .mobile-promo-code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.15s ease, transform 0.1s ease;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
}

.mobile-promo-bar .mobile-promo-code:hover,
.mobile-promo-bar .mobile-promo-code:focus-visible {
    background: rgba(255, 255, 255, 0.28);
    outline: none;
}

.mobile-promo-bar .mobile-promo-code:active {
    transform: scale(0.97);
}

.mobile-promo-bar .mobile-promo-code.is-copied {
    background: rgba(255, 255, 255, 0.92);
    color: #FF6840;
    border-color: transparent;
}

.mobile-promo-bar .mobile-promo-copy-icon {
    flex-shrink: 0;
    opacity: 0.9;
}

.mobile-promo-bar .mobile-promo-code.is-copied .mobile-promo-copy-icon {
    opacity: 1;
}


/* ─────────────────────────────────────────
   Mobile layout kompensacija
   ───────────────────────────────────────── */

/* Push turinys žemyn, kad fixed juosta neužklotų logo */
@media (max-width: 991.98px) {
    body {
        padding-top: 36px;
    }
}

/* Paslėpti desktop promo sliderį žalioje top juostoje ant mobile –
   jis ir taip turi `d-lg-block d-none` blade'e, bet apsidraudžiam */
@media (max-width: 991.98px) {
    header .header-top .header-offer {
        display: none !important;
    }
}
