/* ==========================================================================
   DELITBEE PROMOTIONS - FRONTEND STYLES
   ========================================================================== */

.delitbee-promotions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 16px;
    width: 100%;
}

.promotion-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.promotion-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.promotion-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.promotion-header {
    padding: 24px 24px 12px 24px;
}

.promotion-header h3 {
    font-family: var(--e-global-typography-primary-font-family, inherit);
    font-weight: var(--e-global-typography-primary-font-weight, 600);
    font-size: 1.5rem;
    margin: 0;
    color: inherit;
    line-height: 1.3;
}

.promotion-body {
    padding: 0 24px 24px 24px;
}

.promotion-coupon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--e-global-color-primary, #FFD200);
    color: var(--e-global-color-5dbcd7b, #000);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: var(--e-global-typography-primary-font-family, inherit);
}

.promotion-coupon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.promotion-subtitle {
    font-family: var(--e-global-typography-text-font-family, inherit);
    color: var(--e-global-color-text, #7A7A7A);
    line-height: 1.6;
    margin: 12px 0 0 0;
    font-size: 0.95rem;
}

.promotion-subtitle span {
    font-weight: 600;
    color: var(--e-global-color-ac93fd8, #000);
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .delitbee-promotions {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .delitbee-promotions {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .promotion-header {
        padding: 20px 20px 10px 20px;
    }
    
    .promotion-header h3 {
        font-size: 1.3rem;
    }
    
    .promotion-body {
        padding: 0 20px 20px 20px;
    }
    
    .promotion-coupon {
        padding: 8px 14px;
        font-size: 1rem;
    }
    
    .promotion-subtitle {
        font-size: 0.9rem;
    }
}

/* Animación */
.promotion-item {
    animation: fadeInUp 0.4s ease-out;
}

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