.promotion-dialog {
    display: none;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: radial-gradient(circle at top, #2a030d 0%, #0d0d0d 58%, #060606 100%);
    border: 2px solid #c50039;
    border-radius: 20px;
    padding: clamp(18px, 2.6vw, 24px);
    box-sizing: border-box;
    z-index: 10001 !important;
    box-shadow:
        0 22px 45px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(197, 0, 57, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    pointer-events: auto !important;
    backdrop-filter: blur(10px);
    animation: promotionDialogFadeIn 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    width: min(312px, calc(100vw - 48px));
    max-width: 312px;
    max-height: calc(100vh - 48px);
    overflow: hidden;
    text-align: center;
    color: #f3d78a;
}

.promotion-dialog--black {
    border-color: #f5c451;
    box-shadow:
        0 26px 52px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(245, 196, 81, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.promotion-dialog::before {
    content: "Elige tu promoción";
    display: block;
    color: #f3d78a;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: clamp(14px, 2vw, 18px);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.promotion-dialog::after {
    content: "";
    position: absolute;
    top: 54px;
    left: 50%;
    transform: translateX(-50%);
    width: 82px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c50039, #f3d78a, transparent);
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(243, 215, 138, 0.35);
}

.promotion-dialog--black::after {
    background: linear-gradient(90deg, transparent, #f8c95f, #fdf2c0, transparent);
    box-shadow: 0 0 8px rgba(253, 242, 192, 0.4);
}

.promotion-dialog__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 2.4vw, 16px);
    padding: clamp(12px, 2.4vw, 18px);
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.55) 100%);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.55);
}

.promotion-dialog--black .promotion-dialog__grid {
    background: linear-gradient(150deg, rgba(246, 201, 91, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
    border-color: rgba(246, 201, 91, 0.2);
    box-shadow: inset 0 2px 7px rgba(0, 0, 0, 0.6);
}

.promotion-piece {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    width: 100%;
    min-height: clamp(96px, 18vw, 112px);
    padding: clamp(10px, 2.2vw, 12px);
    box-sizing: border-box;
    border-radius: 14px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.55) 100%);
    border: 2px solid rgba(255, 255, 255, 0.08);
    color: #f3d78a;
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.28s ease;
    outline: none;
}

.promotion-piece:hover,
.promotion-piece:focus-visible {
    transform: translateY(-4px);
    border-color: #c50039;
    box-shadow:
        0 12px 24px rgba(197, 0, 57, 0.35),
        0 5px 12px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.promotion-dialog--black .promotion-piece {
    background: linear-gradient(150deg, rgba(253, 232, 162, 0.22) 0%, rgba(23, 16, 10, 0.85) 100%);
    border-color: rgba(246, 201, 91, 0.35);
    color: #fdf2c0;
}

.promotion-dialog--black .promotion-piece:hover,
.promotion-dialog--black .promotion-piece:focus-visible {
    border-color: #f5c451;
    box-shadow:
        0 14px 26px rgba(245, 196, 81, 0.35),
        0 5px 12px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.promotion-piece:active {
    transform: translateY(-1px);
    transition: transform 0.12s ease;
}

.promotion-piece__image {
    width: clamp(44px, 13vw, 52px);
    height: clamp(44px, 13vw, 52px);
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55));
    transition: transform 0.28s ease, filter 0.3s ease;
    max-width: 100%;
}

.promotion-piece:hover .promotion-piece__image,
.promotion-piece:focus-visible .promotion-piece__image {
    transform: scale(1.05);
    filter:
        drop-shadow(0 10px 16px rgba(197, 0, 57, 0.55))
        drop-shadow(0 0 12px rgba(243, 215, 138, 0.35));
}

.promotion-dialog--black .promotion-piece__image {
    filter:
        drop-shadow(0 8px 16px rgba(0, 0, 0, 0.65))
        drop-shadow(0 0 6px rgba(253, 232, 162, 0.45));
}

.promotion-dialog--black .promotion-piece:hover .promotion-piece__image,
.promotion-dialog--black .promotion-piece:focus-visible .promotion-piece__image {
    filter:
        drop-shadow(0 12px 20px rgba(0, 0, 0, 0.7))
        drop-shadow(0 0 16px rgba(253, 232, 162, 0.55));
}

.promotion-piece__label {
    margin-top: 8px;
    font-size: 0.7rem;
    letter-spacing: 1.4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

@keyframes promotionDialogFadeIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.promotion-piece::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.45s ease;
    transform: translateX(-40%);
    pointer-events: none;
}

.promotion-piece:hover::after,
.promotion-piece:focus-visible::after {
    opacity: 1;
    transform: translateX(40%);
}

@media only screen and (max-width: 767px) {
    .promotion-dialog {
        width: min(88vw, 300px) !important;
        max-width: 300px;
        padding: clamp(16px, 4vw, 20px) !important;
        border-radius: 18px !important;
    }

    .promotion-dialog::before {
        font-size: 0.95rem !important;
        margin-bottom: clamp(12px, 3vw, 16px) !important;
    }

    .promotion-dialog::after {
        top: 50px;
        width: 72px;
    }

    .promotion-dialog__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(10px, 3vw, 14px) !important;
        padding: clamp(10px, 3vw, 14px) !important;
    }

    .promotion-piece {
        min-height: clamp(92px, 22vw, 110px);
    }

    .promotion-piece__image {
        width: clamp(38px, 15vw, 48px);
        height: clamp(38px, 15vw, 48px);
    }
}

@media only screen and (max-width: 480px) {
    .promotion-dialog {
        width: min(94vw, 260px) !important;
        max-width: 260px;
        padding: clamp(14px, 5vw, 18px) !important;
    }

    .promotion-dialog__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(8px, 4vw, 12px) !important;
        padding: clamp(8px, 4vw, 12px) !important;
    }

    .promotion-piece {
        min-height: clamp(88px, 26vw, 102px);
        padding: 9px 8px;
    }

    .promotion-piece__image {
        width: clamp(34px, 18vw, 44px);
        height: clamp(34px, 18vw, 44px);
    }

    .promotion-piece__label {
        font-size: 0.66rem;
        letter-spacing: 1.2px;
    }
}

@media only screen and (max-width: 360px) {
    .promotion-dialog {
        width: min(92vw, 240px) !important;
        padding: clamp(12px, 5vw, 16px) !important;
    }

    .promotion-dialog__grid {
        grid-template-columns: 1fr;
        gap: clamp(8px, 4.5vw, 12px) !important;
        padding: clamp(8px, 4.5vw, 12px) !important;
    }

    .promotion-piece {
        min-height: clamp(84px, 32vw, 104px);
    }
}








































