/* Ofertă YOXO pe pagina publică de verificare IMEI. Culorile sunt cele de pe yoxo.ro. */

.pi-hero:has(.gxo-card) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 1.15rem;
    align-items: center;
    text-align: left;
}

.pi-hero:has(.gxo-card) p,
.pi-hero:has(.gxo-card) .pi-hero-badges,
.pi-hero:has(.gxo-card) .pi-hero-price {
    margin-left: 0;
    margin-right: 0;
}

.gxo-card {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 8.6rem;
    border-radius: 0.7rem;
    overflow: hidden;
    border: 2px solid #ffe900;
    background: #43288a;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(20, 8, 48, 0.4);
    text-align: left;
}

.gxo-card:hover,
.gxo-card:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    outline: none;
}

.gxo-card__from,
.gxo-card__foot {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.gxo-card__from {
    padding: 0.38rem 0.42rem 0.28rem;
}

.gxo-card__logo {
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
    background: #6366f1;
}

.gxo-card__kicker,
.gxo-card__who,
.gxo-card__label,
.gxo-card__days,
.gxo-card__code {
    display: block;
    line-height: 1;
}

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

.gxo-card__who {
    font-size: 0.78rem;
    font-weight: 800;
}

.gxo-card__offer {
    padding: 0.05rem 0.45rem 0.38rem;
}

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

.gxo-card__label {
    margin-top: 0.08rem;
    font-size: 0.72rem;
    font-weight: 800;
}

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

.gxo-mark {
    display: block;
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
    color: #43288a;
}

.gxo-card__foot .gxo-card__kicker {
    color: #43288a;
}

.gxo-card__code {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0;
    color: #1f1a17;
    white-space: nowrap;
}

.gxo-dock {
    position: fixed;
    z-index: 9600;
    left: 12px;
    right: 12px;
    bottom: var(--gxo-lift, 12px);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 4rem;
    padding: 0.4rem 0.4rem 0.4rem 0.5rem;
    border-radius: 1rem;
    border: 2px solid #ffe900;
    background: #43288a;
    color: #fff;
    box-shadow: 0 16px 36px rgba(20, 8, 48, 0.4);
}

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

.gxo-dock__mark {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 0.7rem;
    background: #ffe900;
}

.gxo-dock__mark .gxo-mark {
    width: 1.55rem;
    height: 1.55rem;
}

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

.gxo-dock__kicker {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #02d0a7;
}

.gxo-dock__title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.1;
}

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

.gxo-dock__code {
    display: inline-block;
    margin-left: 0.2rem;
    padding: 0.05rem 0.28rem;
    border-radius: 0.3rem;
    background: #ffe900;
    color: #1f1a17;
    font-size: 0.86em;
    font-weight: 800;
}

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

.gxo-dock__cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #ffe900;
    color: #1f1a17;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

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

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

.gxo-popup {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(18, 8, 40, 0.72);
    backdrop-filter: blur(8px);
}

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

.gxo-popup__card {
    position: relative;
    width: min(100%, 26.5rem);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    padding: 1.5rem 1.35rem 1.2rem;
    border-radius: 1.3rem;
    border: 2px solid #ffe900;
    background: #3b1d86;
    color: #ffffff;
    text-align: left;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.gxo-popup__card,
.gxo-popup__card h2,
.gxo-popup__card p,
.gxo-popup__card li,
.gxo-popup__card span,
.gxo-popup__card strong,
.gxo-popup__card a {
    -webkit-text-fill-color: currentColor;
    background-image: none;
    background-clip: border-box;
}

.gxo-popup__brand,
.gxo-popup__title,
.gxo-popup__lead,
.gxo-popup__list li,
.gxo-popup__fine {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.gxo-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;
    cursor: pointer;
}

.gxo-popup__brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.7rem;
    padding-right: 2rem;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.gxo-popup__brand .gxo-mark {
    width: 2rem;
    height: 2rem;
    color: #ffe900;
}

.gxo-popup__kicker {
    margin: 0 0 0.25rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b8fff0 !important;
    -webkit-text-fill-color: #b8fff0 !important;
}

.gxo-popup__title {
    margin: 0 0 0.7rem;
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    font-weight: 800;
    line-height: 0.95;
}

.gxo-popup__title span {
    color: #ffe900 !important;
    -webkit-text-fill-color: #ffe900 !important;
}

.gxo-popup__code {
    margin: 0 0 0.75rem;
    padding: 0.55rem 0.7rem;
    border-radius: 0.75rem;
    background: #ffe900 !important;
    color: #1a1208 !important;
    -webkit-text-fill-color: #1a1208 !important;
    font-weight: 700;
}

.gxo-popup__code strong {
    display: block;
    margin-top: 0.1rem;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    line-height: 1;
    color: #1a1208 !important;
    -webkit-text-fill-color: #1a1208 !important;
}

.gxo-popup__lead {
    margin: 0 0 0.9rem;
    line-height: 1.45;
}

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

.gxo-popup__list li {
    position: relative;
    padding: 0.45rem 0.7rem 0.45rem 1.8rem;
    border-radius: 0.65rem;
    background: #241056;
    font-weight: 700;
    font-size: 0.95rem;
}

.gxo-popup__list li::before {
    content: "";
    position: absolute;
    left: 0.7rem;
    top: 0.72rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: #02d0a7;
}

.gxo-popup__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.9rem;
    border-radius: 999px;
    background: #ffe900 !important;
    color: #1a1208 !important;
    -webkit-text-fill-color: #1a1208 !important;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.gxo-popup__fine {
    margin: 0.7rem 0 0;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #ffffff !important;
}

@media (max-width: 520px) {
    .pi-hero:has(.gxo-card) {
        column-gap: 0.7rem;
    }

    .gxo-card {
        width: 6.7rem;
    }
}

@media (max-width: 720px) {
    .gxo-dock__note {
        display: none;
    }

    .gxo-dock__cta {
        min-height: 2.1rem;
        padding: 0.25rem 0.6rem;
        font-size: 0.8rem;
    }
}
