/* YOXO by Orange — culorile publicate pe yoxo.ro:
   fundal #43288A, primar #FFE900, roz #FF42B7, teal #02D0A7.
   Wordmark-ul proprietar (yoxoultra / yoxoblack) e înlocuit cu Barlow Semi Condensed,
   fontul de rezervă din stylesheet-ul lor. */

.yoxo-mark {
    display: block;
    width: 100%;
    height: 100%;
    color: currentColor;
}

.yoxo-tile {
    position: absolute;
    z-index: 6;
    top: 0.55rem;
    right: 0.4rem;
    left: auto;
    bottom: auto;
    display: flex;
    flex-direction: column;
    width: 7.15rem;
    border-radius: 0.7rem;
    box-sizing: border-box;
    overflow: hidden;
    border: 2px solid #ffe900;
    background: #43288a;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(20, 8, 48, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yoxo-tile:hover,
.yoxo-tile:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(20, 8, 48, 0.55);
    color: #fff;
}

.yoxo-tile__from,
.yoxo-tile__foot {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.yoxo-tile__from {
    padding: 0.38rem 0.42rem 0.28rem;
}

.yoxo-tile__zen {
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
    background: #10b981;
}

.yoxo-tile__kicker,
.yoxo-tile__who,
.yoxo-tile__label,
.yoxo-tile__days,
.yoxo-tile__code {
    display: block;
    font-family: "Barlow Semi Condensed", "Poppins", sans-serif;
    line-height: 1;
}

.yoxo-tile__kicker {
    margin-bottom: 0.08rem;
    font-size: 0.48rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #02d0a7;
}

.yoxo-tile__who {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.yoxo-tile__offer {
    padding: 0.05rem 0.45rem 0.38rem;
}

.yoxo-tile__days {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #ffe900;
}

.yoxo-tile__label {
    margin-top: 0.08rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.yoxo-tile__foot {
    padding: 0.32rem 0.4rem;
    background: #ffe900;
    color: #1f1a17;
}

.yoxo-tile__logo {
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
    color: #43288a;
}

.yoxo-tile__foot .yoxo-tile__kicker {
    color: #43288a;
}

.yoxo-tile__code,
.yoxo-code {
    font-family: "Barlow Semi Condensed", "Poppins", sans-serif;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
}

.yoxo-tile__code {
    color: #1f1a17;
    font-size: 0.62rem;
    letter-spacing: 0.01em;
}

.yoxo-code {
    color: #1f1a17;
    background: #ffe900;
    border-radius: 0.35rem;
    padding: 0.05rem 0.28rem;
    font-size: 0.92em;
}

.hero-visual {
    position: relative;
}

.yoxo-dock {
    position: fixed;
    z-index: 7800;
    left: 1rem;
    right: 6.5rem;
    bottom: calc(0.85rem + var(--yoxo-cookie, 0px));
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 4.4rem;
    padding: 0.45rem 0.45rem 0.45rem 0.55rem;
    border-radius: 1.15rem;
    background: #43288a;
    color: #fff;
    box-shadow:
        0 18px 40px rgba(20, 8, 48, 0.45),
        inset 0 0 0 2px rgba(255, 233, 0, 0.9);
}

.yoxo-dock__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
    color: inherit;
    text-decoration: none;
}

.yoxo-dock__link:hover,
.yoxo-dock__link:focus-visible {
    color: #fff;
    outline: none;
}

.yoxo-dock__mark {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 0.8rem;
    background: #ffe900;
    color: #43288a;
}

.yoxo-dock__mark .yoxo-mark {
    width: 1.85rem;
    height: 1.85rem;
}

.yoxo-dock__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.yoxo-dock__kicker {
    font-family: "Barlow Semi Condensed", "Poppins", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #02d0a7;
}

.yoxo-dock__title {
    font-family: "Barlow Semi Condensed", "Poppins", sans-serif;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.yoxo-dock__title em {
    font-style: normal;
    color: #ffe900;
}

.yoxo-dock__note {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yoxo-dock__cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: #ffe900;
    color: #1f1a17;
    font-family: "Barlow Semi Condensed", "Poppins", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.yoxo-dock__cta:hover,
.yoxo-dock__cta:focus-visible {
    background: #fff4a3;
    color: #1f1a17;
    outline: none;
}

.yoxo-dock__close {
    flex: 0 0 auto;
    width: 2.1rem;
    height: 2.1rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.yoxo-dock__close:hover,
.yoxo-dock__close:focus-visible {
    background: rgba(255, 255, 255, 0.24);
    outline: none;
}

body.yoxo-dock-on .float {
    bottom: calc(1.1rem + var(--yoxo-cookie, 0px) + 4.8rem);
}

body.yoxo-popup-open {
    overflow: hidden;
}

.yoxo-popup {
    position: fixed;
    inset: 0;
    z-index: 8600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(18, 8, 40, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.yoxo-popup[hidden] {
    display: none;
}

.yoxo-popup.is-open {
    opacity: 1;
}

.yoxo-popup__card {
    position: relative;
    width: min(100%, 26.5rem);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    padding: 1.6rem 1.4rem 1.25rem;
    border-radius: 1.4rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 66, 183, 0.35), transparent 36%),
        #43288a;
    color: #fff;
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.45),
        inset 0 0 0 2px #ffe900;
    text-align: left;
    transform: translateY(16px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.yoxo-popup.is-open .yoxo-popup__card {
    transform: none;
}

.yoxo-popup__close {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.yoxo-popup__close:hover,
.yoxo-popup__close:focus-visible {
    background: rgba(255, 255, 255, 0.24);
    outline: none;
}

.yoxo-popup__brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
    padding-right: 2rem;
}

.yoxo-popup__logo {
    width: 2.1rem;
    height: 2.1rem;
    color: #ffe900;
}

.yoxo-popup__brand span {
    font-family: "Barlow Semi Condensed", "Poppins", sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.yoxo-popup__kicker {
    margin: 0 0 0.2rem;
    font-family: "Barlow Semi Condensed", "Poppins", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #02d0a7;
}

.yoxo-popup__title {
    margin: 0 0 0.65rem;
    font-family: "Barlow Semi Condensed", "Poppins", sans-serif;
    font-size: clamp(2rem, 7vw, 2.7rem);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.03em;
}

.yoxo-popup__title span {
    color: #ffe900;
}

.yoxo-popup__code {
    margin: 0 0 0.75rem;
    padding: 0.55rem 0.7rem;
    border-radius: 0.75rem;
    background: #ffe900;
    color: #1f1a17;
    font-family: "Barlow Semi Condensed", "Poppins", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.yoxo-popup__code strong {
    display: block;
    margin-top: 0.1rem;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
}

.yoxo-popup__lead {
    margin: 0 0 1rem;
    font-size: 0.98rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
}

.yoxo-popup__list {
    list-style: none;
    margin: 0 0 1.1rem;
    padding: 0;
    display: grid;
    gap: 0.4rem;
}

.yoxo-popup__list li {
    padding: 0.45rem 0.7rem 0.45rem 2rem;
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 700;
    font-size: 0.92rem;
    position: relative;
}

.yoxo-popup__list li::before {
    content: "";
    position: absolute;
    left: 0.7rem;
    top: 0.72rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #02d0a7;
    box-shadow: inset 0 0 0 2px #43288a;
}

.yoxo-popup__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3rem;
    border-radius: 999px;
    background: #ffe900;
    color: #1f1a17;
    font-family: "Barlow Semi Condensed", "Poppins", sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.yoxo-popup__cta:hover,
.yoxo-popup__cta:focus-visible {
    background: #fff4a3;
    color: #1f1a17;
    outline: none;
}

.yoxo-popup__fine {
    margin: 0.75rem 0 0;
    font-size: 0.75rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 768px) {
    .yoxo-tile {
        top: 0.28rem;
        right: 0.22rem;
        width: 5.35rem;
        border-radius: 0.5rem;
        border-width: 1.5px;
    }

    .yoxo-tile__from {
        padding: 0.28rem 0.3rem 0.18rem;
        gap: 0.25rem;
    }

    .yoxo-tile__zen {
        width: 1rem;
        height: 1rem;
    }

    .yoxo-tile__kicker {
        margin-bottom: 0.04rem;
        font-size: 0.4rem;
        letter-spacing: 0.04em;
    }

    .yoxo-tile__who {
        font-size: 0.62rem;
    }

    .yoxo-tile__offer {
        padding: 0.02rem 0.32rem 0.28rem;
    }

    .yoxo-tile__days {
        font-size: 1.25rem;
    }

    .yoxo-tile__label {
        font-size: 0.55rem;
    }

    .yoxo-tile__foot {
        padding: 0.22rem 0.28rem;
        gap: 0.22rem;
    }

    .yoxo-tile__logo {
        width: 0.8rem;
        height: 0.8rem;
    }

    .yoxo-tile__code {
        font-size: 0.46rem;
    }

    .yoxo-dock__title .yoxo-code {
        font-size: 0.78rem;
    }

    .yoxo-dock {
        left: 0.6rem;
        right: 0.6rem;
        gap: 0.45rem;
        min-height: 0;
        padding: 0.4rem;
    }

    .yoxo-dock__note {
        display: none;
    }

    .yoxo-dock__cta {
        min-height: 2.2rem;
        padding: 0.3rem 0.7rem;
        font-size: 0.85rem;
    }

    .yoxo-dock__mark {
        width: 2.5rem;
        height: 2.5rem;
    }

    .yoxo-dock__mark .yoxo-mark {
        width: 1.45rem;
        height: 1.45rem;
    }

    .yoxo-dock__title {
        font-size: 1rem;
    }

    body.yoxo-dock-on .float {
        bottom: calc(0.8rem + var(--yoxo-cookie, 0px) + 4.2rem);
    }
}
