/* ===== MCR Promo Box ===== */
/* Sticky promotional box, right side, all front-end pages */

.mcr-promo-box {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100vh;
    pointer-events: none;
    z-index: 99990;
    font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.45;
    color: #2b2b2b;
}

/* === Tab (visible when collapsed) === */
.mcr-promo-tab {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #cf2e2e 0%, #a82a2a 100%);
    color: #fff;
    border: none;
    padding: 14px 10px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    box-shadow: -3px 3px 12px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    transition: padding 0.2s ease, background 0.2s ease;
    animation: mcrPromoPulse 2.4s ease-in-out infinite;
}

.mcr-promo-tab:hover {
    padding: 16px 12px;
    background: linear-gradient(135deg, #e23a3a 0%, #b52e2e 100%);
}

.mcr-promo-tab-icon {
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
}

.mcr-promo-tab-text {
    font-size: 11px;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-top: 2px;
}

@keyframes mcrPromoPulse {
    0%, 100% { box-shadow: -3px 3px 12px rgba(207, 46, 46, 0.25); }
    50%      { box-shadow: -3px 3px 18px rgba(207, 46, 46, 0.55); }
}

/* === Panel === */
.mcr-promo-panel {
    position: absolute;
    top: 50%;
    right: 0;
    width: 320px;
    max-width: calc(100vw - 30px);
    background: #ffffff;
    border-left: 5px solid #cf2e2e;
    border-radius: 8px 0 0 8px;
    box-shadow: -8px 8px 28px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    transform: translate(100%, -50%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.25s ease;
}

.mcr-promo-box:not(.mcr-promo-collapsed) .mcr-promo-panel {
    transform: translate(0, -50%);
    opacity: 1;
    pointer-events: auto;
}

.mcr-promo-box:not(.mcr-promo-collapsed) .mcr-promo-tab {
    opacity: 0;
    pointer-events: none;
    animation: none;
}

/* === Close button === */
.mcr-promo-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: transparent;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #ffffff;
    cursor: pointer;
    padding: 4px 8px;
    z-index: 2;
    transition: opacity 0.2s ease;
    opacity: 0.85;
}

.mcr-promo-close:hover {
    opacity: 1;
}

/* === Header === */
.mcr-promo-header {
    background: linear-gradient(135deg, #cf2e2e 0%, #a82a2a 100%);
    color: #ffffff;
    padding: 18px 18px 16px;
    text-align: center;
    position: relative;
}

.mcr-promo-badge {
    display: inline-block;
    background: #fff;
    color: #cf2e2e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.mcr-promo-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.mcr-promo-title span {
    font-size: 18px;
    font-weight: 700;
    opacity: 0.95;
}

/* === Body === */
.mcr-promo-body {
    padding: 16px 18px 18px;
}

.mcr-promo-intro {
    font-size: 13px;
    margin: 0 0 14px;
    color: #444;
}

.mcr-promo-intro strong {
    color: #cf2e2e;
}

.mcr-promo-list {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.mcr-promo-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #efefef;
    font-size: 12.5px;
    color: #333;
}

.mcr-promo-list li:last-child {
    border-bottom: none;
}

.mcr-promo-pill {
    flex-shrink: 0;
    background: #f3f3f3;
    color: #555;
    font-weight: 700;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 78px;
    text-align: center;
}

.mcr-promo-pill--accent {
    background: #cf2e2e;
    color: #ffffff;
}

.mcr-promo-text strong {
    color: #cf2e2e;
}

.mcr-promo-foot {
    font-size: 11px;
    color: #888;
    text-align: center;
    margin: 6px 0 0;
    font-style: italic;
}

/* === Mobile === */
@media (max-width: 640px) {
    .mcr-promo-panel {
        width: 280px;
    }

    .mcr-promo-tab {
        padding: 10px 8px;
    }

    .mcr-promo-tab-icon {
        font-size: 18px;
    }

    .mcr-promo-tab-text {
        font-size: 10px;
    }

    .mcr-promo-title {
        font-size: 19px;
    }

    .mcr-promo-list li {
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .mcr-promo-panel {
        width: calc(100vw - 30px);
    }
}

/* Print: hide */
@media print {
    .mcr-promo-box { display: none !important; }
}
