/* Estilos para Promociones Automáticas en el Checkout */

.promotion-section {
    transition: all 0.3s ease;
}

.promotion-section[style*="display: none"] {
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* ==================================
   BARRA COMPACTA Y STICKY
   ================================== */

.automatic-promotions-block {
    margin-bottom: 0;
    /* El sticky ahora se maneja en .promotions-section en checkout.css */
}

/* Placeholder para evitar saltos cuando el elemento se vuelve fixed */
.promotions-section-placeholder {
    width: 100%;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animación suave cuando se vuelve sticky */
.promotions-section.is-sticky {
    animation: slideInSticky 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInSticky {
    0% {
        opacity: 0.7;
        transform: translateY(-15px) scale(0.98);
    }
    50% {
        opacity: 0.9;
        transform: translateY(-5px) scale(0.99);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animación del badge cuando entra en modo sticky */
.promotions-section.is-sticky .promotions-compact-badge {
    animation: badgePulse 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

/* Contenedor sticky compacto */
.promotions-compact-bar {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(56, 239, 125, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    /* Heredar position sticky del padre */
}

/* Efecto visual mejorado cuando está en modo sticky */
.promotions-section.is-sticky .promotions-compact-bar {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.22), rgba(56, 239, 125, 0.15));
    border-color: rgba(102, 126, 234, 0.4);
    backdrop-filter: blur(12px);
}

.promotions-compact-bar:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25), rgba(56, 239, 125, 0.15));
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.promotions-compact-bar.has-active {
    background: linear-gradient(135deg, rgba(56, 239, 125, 0.15), rgba(17, 153, 142, 0.1));
    border-color: rgba(56, 239, 125, 0.4);
}

.promotions-compact-bar.has-active:hover {
    background: linear-gradient(135deg, rgba(56, 239, 125, 0.25), rgba(17, 153, 142, 0.15));
    border-color: rgba(56, 239, 125, 0.6);
    box-shadow: 0 4px 16px rgba(56, 239, 125, 0.4);
}

/* Efecto aún más destacado para promociones activas en modo sticky */
.promotions-section.is-sticky .promotions-compact-bar.has-active {
    background: linear-gradient(135deg, rgba(56, 239, 125, 0.22), rgba(17, 153, 142, 0.15));
    border-color: rgba(56, 239, 125, 0.5);
}

.promotions-compact-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.promotions-compact-icon {
    font-size: 20px;
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.promotions-compact-text {
    flex: 1;
    min-width: 0;
}

.promotions-compact-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2px;
    line-height: 1.2;
}

.promotions-compact-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.promotions-compact-badge {
    background: rgba(56, 239, 125, 0.2);
    border: 1px solid rgba(56, 239, 125, 0.4);
    color: rgba(56, 239, 125, 1);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(56, 239, 125, 0.2);
}

.promotions-compact-arrow {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.promotions-compact-bar:hover .promotions-compact-arrow {
    transform: translateX(4px);
}

/* ==================================
   MODAL DE PROMOCIONES
   ================================== */

.promotions-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeIn 0.2s ease;
    padding: 20px;
}

.promotions-modal-overlay.active {
    display: flex;
}

.promotions-modal-container {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: radial-gradient(148.33% 135.18% at 10.75% -33.53%, rgba(17, 110, 251, 0.30) 0%, rgba(17, 110, 251, 0.00) 68.39%), 
                radial-gradient(225.04% 274.28% at -40.27% -162.96%, rgba(17, 110, 251, 0.30) 0%, rgba(17, 110, 251, 0.00) 68.39%), 
                linear-gradient(0deg, rgb(17 110 251 / 20%) 0%, rgb(17 110 251 / 25%) 100%), 
                rgb(19 23 29 / 98%);
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(50px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.promotions-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    background: rgba(237, 237, 240, 0.04);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.promotions-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.promotions-modal-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.promotions-modal-title-icon {
    font-size: 24px;
}

.promotions-modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    line-height: 1;
}

.promotions-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 1);
    transform: rotate(90deg);
}

.promotions-modal-body {
    padding: 20px 24px;
}

.promotions-modal-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.promotion-card {
    border-radius: 8px;
    margin-bottom: 0;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.promotion-card.promotion-active {
    background: rgba(56, 239, 125, 0.08);
    border-color: rgba(56, 239, 125, 0.2);
}

.promotion-card.promotion-active:hover {
    background: rgba(56, 239, 125, 0.12);
    border-color: rgba(56, 239, 125, 0.3);
}

.promotion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.promotion-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.promotion-icon {
    font-size: 18px;
}

.promotion-name {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.promotion-badge {
    background: rgba(56, 239, 125, 0.15);
    border: 1px solid rgba(56, 239, 125, 0.3);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(56, 239, 125, 1);
}

.promotion-description {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 12px;
    line-height: 1.3;
}

.promotion-progress-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    height: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    background: linear-gradient(90deg, #38ef7d, #11998e);
    height: 100%;
    border-radius: 6px;
    transition: width 0.3s ease;
}

.promotion-progress-text {
    font-size: 12px;
    text-align: center;
    opacity: 0.85;
}

.promotion-progress-text strong {
    font-weight: 600;
    color: #38ef7d;
}

.promotion-rewards {
    margin-top: 10px;
}

.rewards-header {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promotion-addon-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.promotion-addon-item:last-child {
    margin-bottom: 0;
}

.promotion-addon-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.promotion-addon-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.promotion-addon-icon {
    font-size: 16px;
}

.promotion-addon-name {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.btn-add-free-addon {
    background: linear-gradient(135deg, #116EFB, #0856d6);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(17, 110, 251, 0.3);
}

.promotion-card.promotion-active .btn-add-free-addon {
    background: linear-gradient(135deg, #38ef7d, #11998e);
    box-shadow: 0 2px 8px rgba(56, 239, 125, 0.3);
}

.btn-add-free-addon:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(17, 110, 251, 0.5);
}

.promotion-card.promotion-active .btn-add-free-addon:hover {
    box-shadow: 0 4px 12px rgba(56, 239, 125, 0.5);
}

.btn-add-free-addon:disabled,
.btn-add-free-addon.addon-added {
    background: rgba(56, 239, 125, 0.3);
    border-color: rgba(56, 239, 125, 0.5);
    cursor: not-allowed;
    opacity: 0.8;
    box-shadow: none;
}

.btn-add-free-addon .plus-icon {
    display: block;
    line-height: 1;
}

.btn-add-free-addon .checkmark {
    color: white;
    font-size: 14px;
    display: block;
    line-height: 1;
}

/* Modal de selección de cuenta */
.promotion-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.promotion-modal {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: radial-gradient(148.33% 135.18% at 10.75% -33.53%, rgba(17, 110, 251, 0.40) 0%, rgba(17, 110, 251, 0.00) 68.39%), radial-gradient(225.04% 274.28% at -40.27% -162.96%, rgba(17, 110, 251, 0.40) 0%, rgba(17, 110, 251, 0.00) 68.39%), linear-gradient(0deg, rgb(17 110 251 / 28%) 0%, rgb(17 110 251 / 31%) 100%), rgb(19 23 29 / 99%); 
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.promotion-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.promotion-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #ffffff;
}

.promotion-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.promotion-modal-close:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.promotion-modal-body {
    padding: 20px;
}

.promotion-modal-addon-info {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.promotion-modal-addon-info .addon-icon {
    font-size: 24px;
}

.promotion-modal-addon-info .addon-name {
    font-size: 16px;
    font-weight: 600;
    flex: 1;
}

.promotion-modal-addon-info .addon-badge {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.account-selector-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-selector-item {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.account-selector-item[data-selectable="true"]:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    transform: translateX(5px);
}

.account-selector-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f3f4f6;
}

.account-selector-info {
    flex: 1;
}

.account-number {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.account-details {
    font-size: 13px;
    color: #6b7280;
}

.account-reason {
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
    font-style: italic;
}

.account-selector-icon {
    font-size: 24px;
    color: #3b82f6;
}

/* Estilos para Promociones con Tramos Múltiples */
.promotion-card.promotion-tiered {
}

.promotion-card.promotion-tiered:hover {
}

.promotion-status-message {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.promotion-status-message strong {
    font-weight: 600;
    color: #38ef7d;
}

.tiered-progress-container {
    position: relative;
    padding-top: 8px;
    padding-bottom: 0;
}

.tiered-progress-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    height: 8px;
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
}

.tiered-progress-fill {
    background: linear-gradient(90deg, #38ef7d, #11998e);
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tier-milestones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 0;
}

.tier-milestone {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.tier-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.tier-marker {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.tier-milestone.tier-unlocked .tier-marker {
    background: #38ef7d;
    color: white;
    border-color: #38ef7d;
    box-shadow: 0 2px 8px rgba(56, 239, 125, 0.4);
}

.tier-milestone.tier-locked .tier-marker {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.tier-amount {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 0;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    white-space: nowrap;
}

.tier-addons {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    max-width: 200px;
}

.tier-addon-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 12px;
    transition: all 0.2s ease;
}

.tier-addon-item.tier-unlocked {
    background: rgba(56, 239, 125, 0.1);
    border-color: rgba(56, 239, 125, 0.2);
}

.tier-addon-item.tier-locked {
    opacity: 0.6;
}

.tier-addon-item:hover.tier-unlocked {
    background: rgba(56, 239, 125, 0.15);
    border-color: rgba(56, 239, 125, 0.3);
}

.tier-addon-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.tier-addon-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}

.tier-addon-name {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}

/* Etiqueta de límite de uso */
.addon-limit-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(56, 239, 125, 0.2);
    color: #38ef7d;
    border: 1px solid rgba(56, 239, 125, 0.3);
    white-space: nowrap;
}

.addon-limit-label.limit-reached {
    background: rgba(255, 59, 92, 0.2);
    color: #ff3b5c;
    border-color: rgba(255, 59, 92, 0.3);
}

/* Item con límite alcanzado */
.tier-addon-item.addon-limit-reached {
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.02);
}

.tier-addon-item.addon-limit-reached .tier-addon-name {
    opacity: 0.8;
}

/* Botón con límite alcanzado */
.btn-tier-addon.addon-limit-reached {
    background: rgba(56, 239, 125, 0.3) !important;
    color: #38ef7d !important;
    cursor: not-allowed;
    opacity: 0.8;
}

.tier-addon-label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.7;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.btn-tier-addon {
    width: 22px;
    height: 22px;
    font-size: 14px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .promotions-compact-bar {
        padding: 10px 14px;
    }
    
    .promotions-compact-icon {
        font-size: 18px;
    }
    
    .promotions-compact-title {
        font-size: 12px;
    }
    
    .promotions-compact-subtitle {
        font-size: 10px;
    }
    
    .promotions-compact-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .promotions-modal-container {
        max-width: 600px;
    }
    
    /* Sticky promotion bar en tablet/móvil */
    .account-selector-section.full-width.promotion-section {
        position: sticky;
        top: 0;
        z-index: 100;
        background: rgba(17, 24, 39, 0.98);
        backdrop-filter: blur(10px);
        padding: 8px 0;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .promotion-card {
        margin-bottom: 0;
    }
    
    .promotion-header {
        margin-bottom: 8px;
    }
    
    .promotion-name {
        font-size: 12px;
    }
    
    .promotion-icon {
        font-size: 16px;
    }
    
    .promotion-badge {
        font-size: 10px;
        padding: 2px 8px;
    }
    
    .promotion-status-message {
        font-size: 11px;
        padding: 6px 8px;
        margin-bottom: 8px;
    }
    
    .tiered-progress-bar {
        height: 6px;
        margin-bottom: 8px;
    }
    
    .tier-milestones {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .tier-header {
        gap: 6px;
        margin-bottom: 6px;
    }
    
    .tier-marker {
        width: 20px;
        height: 20px;
        font-size: 10px;
        margin-bottom: 0;
    }
    
    .tier-amount {
        font-size: 10px;
        padding: 3px 6px;
        margin-bottom: 0;
    }
    
    .tier-addons {
        gap: 4px;
        max-width: 100%;
    }
    
    .tier-addon-item {
        padding: 6px 8px;
    }
    
    .tier-addon-icon {
        font-size: 12px;
    }
    
    .tier-addon-name {
        font-size: 10px;
    }
    
    .tier-addon-label {
        font-size: 8px;
    }
    
    .btn-tier-addon {
        width: 18px;
        height: 18px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .promotions-compact-bar {
        padding: 8px 12px;
        border-radius: 10px;
    }
    
    .promotions-compact-icon {
        font-size: 16px;
    }
    
    .promotions-compact-title {
        font-size: 11px;
    }
    
    .promotions-compact-subtitle {
        font-size: 9px;
    }
    
    .promotions-compact-badge {
        font-size: 9px;
        padding: 2px 6px;
    }
    
    .promotions-compact-arrow {
        font-size: 14px;
    }
    
    .promotions-modal-container {
        width: 95%;
        max-height: 90vh;
        max-width: 100%;
    }
    
    .promotions-modal-header {
        padding: 16px 18px;
    }
    
    .promotions-modal-title h3 {
        font-size: 16px;
    }
    
    .promotions-modal-title-icon {
        font-size: 20px;
    }
    
    .promotions-modal-body {
        padding: 16px 18px;
    }
    
    .promotion-addon-item {
        padding: 8px 10px;
    }
    
    /* Adaptar los milestones para móvil - diseño horizontal compacto */
    .tier-milestones {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 12px;
    }
    
    .tier-milestone {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        background: rgba(255, 255, 255, 0.03);
        padding: 8px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        flex: 0 1 auto;
        min-width: 0;
    }
    
    .tier-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        margin-bottom: 6px;
        flex-shrink: 0;
    }
    
    .tier-marker {
        width: 24px;
        height: 24px;
        font-size: 11px;
        flex-shrink: 0;
        margin-bottom: 0;
    }
    
    .tier-amount {
        font-size: 10px;
        padding: 3px 6px;
        margin-bottom: 0;
        white-space: nowrap;
    }
    
    .tier-addons {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 100%;
        max-width: 100%;
    }
    
    .tier-addon-item {
        padding: 6px 8px;
        font-size: 11px;
    }
    
    .tier-addon-name {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .tier-addon-badge,
    .tier-addon-percentage {
        font-size: 10px;
        padding: 2px 6px;
        flex-shrink: 0;
    }
    
    .tier-addon-icon {
        font-size: 12px;
        flex-shrink: 0;
    }
    
    /* Hacer la promoción aún más compacta en móvil */
    .account-selector-section.full-width.promotion-section {
        padding: 6px 0;
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .promotion-header {
        margin-bottom: 6px;
    }
    
    .promotion-icon {
        font-size: 14px;
    }
    
    .promotion-name {
        font-size: 11px;
    }
    
    .promotion-badge {
        font-size: 9px;
        padding: 2px 6px;
    }
    
    .promotion-status-message {
        font-size: 10px;
        padding: 5px 8px;
        margin-bottom: 6px;
    }
    
    .tiered-progress-bar {
        height: 5px;
        margin-bottom: 0;
    }
    
    .promotion-progress-bar {
        height: 5px;
        margin-bottom: 0;
    }
}
