/* Promociones - Estilos */
.promos-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.promos-hero {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

/* Video hero */
.promos-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.promos-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(26,22,13,0.55), rgba(26,22,13,0.88));
    z-index: 1;
}

.promos-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 3rem 2rem;
    width: 100%;
}

.promos-hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    max-width: 48rem;
}

.promos-hero-accent {
    color: var(--primary);
    font-style: italic;
}

.promos-hero-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 36rem;
}

@media (min-width: 640px) {
    .promos-hero-title {
        font-size: 3.5rem;
    }
}

.promos-active {
    margin: 3rem 0;
}

.promos-active-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.promos-active-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.promos-active-header p {
    color: var(--text-dim);
}

.promo-featured {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 2rem;
}

.promo-featured-img {
    height: 16rem;
    width: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.5s;
}

.promo-featured:hover .promo-featured-img {
    filter: grayscale(0);
}

.promo-featured-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.promo-featured-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.promo-featured-header h4 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
}

.promo-featured-desc {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.promo-countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: var(--accent-dark);
}

.countdown-value {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary);
}

.countdown-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    opacity: 0.6;
}

.promo-featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.promo-price-current {
    font-size: 1.5rem;
    font-weight: 900;
}

.promo-price-old {
    font-size: 0.875rem;
    color: var(--text-dim);
    text-decoration: line-through;
}

@media (min-width: 1024px) {
    .promo-featured {
        flex-direction: row;
    }

    .promo-featured-img {
        width: 40%;
        height: auto;
    }
}

.promos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.promo-small {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.promo-small-img {
    height: 12rem;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.promo-small-badge {
    display: inline-block;
    margin: 1rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    font-size: 0.625rem;
    font-weight: 700;
    color: white;
}

.promo-small-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.promo-small-body h4 {
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.promo-small-body p {
    color: var(--text-dim);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.promo-small-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--primary-border);
}

.promo-small-offer {
    color: var(--primary);
    font-weight: 700;
}

.promo-small-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

@media (min-width: 768px) {
    .promos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.promos-newsletter {
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--primary), #ffda6b);
    padding: 2rem;
    color: var(--bg-dark);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin-top: 3rem;
}

.promos-newsletter-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.promos-newsletter-text h3 {
    font-size: 1.875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.promos-newsletter-text p {
    margin-top: 0.5rem;
    font-weight: 500;
    opacity: 0.8;
}

.promos-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 24rem;
}

.promos-newsletter-form .form-input {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--bg-dark);
}

.promos-newsletter-form .form-input::placeholder {
    color: rgba(26, 22, 13, 0.5);
}

.promos-newsletter-btn {
    background: var(--bg-dark);
    color: var(--primary);
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 700;
    transition: background 0.3s;
}

.promos-newsletter-btn:hover {
    background: black;
}

@media (min-width: 640px) {
    .promos-newsletter-form {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .promos-newsletter-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Sección Experimentos Anteriores */
.promos-past {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(238, 189, 43, 0.1);
}

.promos-past-header {
    margin-bottom: 2rem;
}

.promos-past-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-muted, #888);
    letter-spacing: -0.02em;
}

.promos-past-header p {
    color: var(--text-dim, #555);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Grid en modo pasado — sin columna featured */
.promos-grid--past {
    filter: grayscale(60%);
}

/* Card expirada */
.promo-card--expired {
    opacity: 0.75;
    pointer-events: none;
    /* bloquea hover/click en toda la card */
}

/* Overlay de "No disponible" sobre la imagen */
.promo-expired-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.promo-expired-overlay .material-symbols-outlined {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Fecha de vencimiento */
.promo-expired-date {
    font-size: 0.7rem;
    color: var(--text-dim, #666);
    margin-top: 0.25rem;
}

/* Aseguramos que la img tenga position relative para el overlay */
.promo-small-img {
    position: relative;
}

/* ── Recurrencia ── */
.promo-recurring-label,
.promo-recurring-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: .04em;
}

.promo-recurring-label .material-symbols-outlined,
.promo-recurring-tag .material-symbols-outlined {
    font-size: 16px;
}

/* ── Countdown pequeño en cards del grid ── */
.promo-countdown--small {
    gap: .4rem !important;
    margin-bottom: .65rem;
}

.promo-countdown--small .countdown-item {
    min-width: 32px;
    padding: .35rem .2rem !important;
}

.promo-countdown--small .countdown-value {
    font-size: .9rem !important;
}

.promo-countdown--small .countdown-label {
    font-size: .5rem !important;
}

.c3d-card-local-badge,
.promo-local-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
}

.c3d-card-local-badge .material-symbols-outlined,
.promo-local-badge .material-symbols-outlined {
    font-size: 14px;
}

.promo-local-badge--small {
    font-size: 10px;
    padding: 4px 10px;
}