.marca-estrella {
    position: fixed;
    top: clamp(0.85rem, 2.2vw, 1.35rem);
    left: clamp(0.85rem, 2.2vw, 1.35rem);
    z-index: 8500;
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.6rem calc(0.4rem + 5px);
    border-radius: 999px;
    background: rgba(247, 242, 232, 0.72);
    backdrop-filter: blur(10px) saturate(115%);
    -webkit-backdrop-filter: blur(10px) saturate(115%);
    border: 1px solid rgba(201, 169, 98, 0.28);
    box-shadow: 0 0.35rem 1.25rem rgba(20, 20, 20, 0.08);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.35rem);
    transition:
        opacity 0.55s ease,
        visibility 0.55s ease,
        transform 0.55s var(--ease-out-expo),
        background 0.25s ease,
        border-color 0.25s ease;
}

.marca-estrella--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.marca-estrella:hover,
.marca-estrella:focus-visible {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(201, 169, 98, 0.45);
}

.marca-estrella img {
    display: block;
    width: auto;
    height: clamp(1.75rem, 3.6vw, 2.35rem);
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

html.intro-activa .marca-estrella,
html.intro-activa .marca-estrella.marca-estrella--visible {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (min-width: 48rem) {
    .marca-estrella {
        top: clamp(1rem, 2vw, 1.75rem);
        left: clamp(1rem, 2vw, 1.75rem);
        padding: 0.6rem 0.95rem calc(0.6rem + 5px);
    }

    .marca-estrella img {
        height: clamp(3.5rem, 5vw, 4.5rem);
    }
}

@media (max-width: 30rem) {
    .marca-estrella {
        padding: 0.32rem 0.5rem calc(0.32rem + 5px);
    }

    .marca-estrella img {
        height: 1.65rem;
    }
}
