/**
 * FES Tickets — Styles frontend pour le programme / schedule
 */

/* ─── Espace entre les événements (rows du schedule) ─── */
.schedule-layout3 .schedule-content .table {
    border-collapse: separate;
    border-spacing: 0 12px;
}

.schedule-layout3 .schedule-content .table tbody tr {
    margin-bottom: 12px;
}

.schedule-layout3 .schedule-content .table tbody tr td {
    border-top: none;
    border-bottom: 2px solid rgba(0,0,0,.05);
    padding-top: 15px;
    padding-bottom: 15px;
}

/* ─── Boutons Cat A / Cat B : couleur identique (jaune doré) ─── */
.fes-buy-btn.btn-fill.color-yellow,
.fes-buy-col .fes-buy-btn {
    background: #fad03b !important;
    color: #1A1A2E !important;
    transition: all .3s ease;
}

.fes-buy-col .fes-buy-btn:hover {
    background: #e5bc2e !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(250, 208, 59, .35);
}

/* ─── Espace entre boutons (Cat A / Cat B) ─── */
.fes-buy-col > div {
    gap: 10px !important;
}

/* ─── Boutons du bas (Voir tout le programme + Acheter Pass Festival) ─── */
.fes-bottom-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.fes-bottom-buttons .loadmore-four-item {
    margin: 0 !important;
}

/* ─── Icône login dans le menu ─── */
.menu-item-login-icon a {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ══════════════════════════════════════════════════════════
   PAGE PROGRAMME V2 — Style Festival Music Pro
   ══════════════════════════════════════════════════════════ */

.fes-programme-v2 { max-width: 1200px; margin: 0 auto; }

/* ─── En-tête du jour ─── */
.fes-day-header {
    margin: 40px 0 20px;
    text-align: center;
}
.fes-day-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #1A1A2E 0%, #4c1864 100%);
    padding: 12px 32px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(76, 24, 100, .3);
}
.fes-day-num {
    color: #fad03b;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.fes-day-date {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

/* ─── Grille des spectacles ─── */
.fes-schedule-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 10px;
}

/* ─── Carte spectacle ─── */
.fes-show-card {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    align-items: center;
    gap: 24px;
    background: #fff;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    border: 1px solid rgba(76, 24, 100, .08);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.fes-show-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #fad03b, #4c1864);
    border-radius: 4px 0 0 4px;
}
.fes-show-card:hover {
    box-shadow: 0 8px 30px rgba(76, 24, 100, .12);
    transform: translateY(-2px);
}
.fes-show-card.fes-multi-artists {
    grid-template-columns: 200px 1fr auto;
}

/* ─── Bloc artiste solo ─── */
.fes-artist-solo {
    width: 110px; height: 110px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    border: 3px solid #fad03b;
    position: relative;
}
.fes-artist-solo img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── Placeholder sans photo ─── */
.fes-artist-placeholder {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4c1864, #1A1A2E);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fad03b;
}
.fes-placeholder-icon {
    font-size: 36px;
    color: #fad03b;
}

/* ─── Initiales artiste ─── */
.fes-artist-initials {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #4c1864, #1A1A2E);
    color: #fad03b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
}

/* ─── Fusion multi-artistes ─── */
.fes-artists-fusion {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    padding-left: 10px;
}
.fes-artists-fusion-row{ display:flex; align-items:center; }
.fes-fusion-item {
    width: 72px; height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    position: relative;
    flex-shrink: 0;
    margin-left: -18px;
    transition: transform .3s ease;
}
.fes-fusion-item:first-child { margin-left: 0; }
.fes-fusion-item:hover { transform: scale(1.15); z-index: 20 !important; }
.fes-fusion-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
/* pointer cursor to indicate clickable */
.fes-fusion-item img, .fes-artist-solo img { cursor: pointer; }
/* Positions artistiques selon nombre */
.fes-artists-5 .fes-fusion-item,
.fes-artists-4 .fes-fusion-item { width: 60px; height: 60px; margin-left: -16px; }
.fes-artists-5 .fes-fusion-item:first-child,
.fes-artists-4 .fes-fusion-item:first-child { margin-left: 0; }
.fes-artists-3 .fes-fusion-item { width: 68px; height: 68px; }

.fes-artists-names {
    font-size: 11px;
    color: #666;
    margin-top: 6px;
    text-align: center;
    line-height: 1.3;
    max-width: 200px;
}

/* artist names displayed under meta */
.fes-show-artist-multi{
    font-size:13px;
    color:#666;
    margin-top:6px;
}

/* Lightbox for artist images */
.fes-artist-lightbox{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.75);z-index:99999}
.fes-artist-lightbox img{max-width:90%;max-height:90%;border-radius:10px;box-shadow:0 8px 40px rgba(0,0,0,.6)}
.fes-artist-lightbox .close{position:absolute;top:18px;right:24px;color:#fff;font-size:28px;cursor:pointer}
.fes-artist-lightbox-caption{position:absolute;bottom:36px;left:50%;transform:translateX(-50%);color:#fff;font-size:18px;padding:8px 14px;background:rgba(0,0,0,.5);border-radius:6px;max-width:90%;text-align:center}

/* ─── Infos spectacle ─── */
.fes-show-info {
    min-width: 0;
}
.fes-show-title {
    font-size: 17px;
    font-weight: 700;
    color: #1A1A2E;
    margin: 0 0 8px;
    line-height: 1.3;
}
.fes-show-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 6px;
}
.fes-meta-time,
.fes-meta-venue {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #555;
    font-weight: 500;
}
.fes-meta-venue { color: #4c1864; }
.fes-show-artist-name {
    font-size: 13px;
    color: #888;
    font-style: italic;
    margin-top: 2px;
}

/* ─── Boutons achat Programme ─── */
.fes-show-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}
.fes-ticket-btn {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    border-radius: 8px;
    white-space: nowrap;
    transition: all .3s ease;
    letter-spacing: .3px;
}
.fes-btn-cat-a {
    background: #fad03b;
    color: #1A1A2E !important;
    box-shadow: 0 2px 8px rgba(250, 208, 59, .3);
}
.fes-btn-cat-b {
    background: #1A1A2E;
    color: #fad03b !important;
    border: 2px solid #fad03b;
}
.fes-btn-single {
    background: #fad03b;
    color: #1A1A2E !important;
    box-shadow: 0 2px 8px rgba(250, 208, 59, .3);
}
.fes-ticket-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 208, 59, .4);
}
.fes-btn-cat-b:hover {
    background: #fad03b;
    color: #1A1A2E !important;
}

/* ─── Footer Programme ─── */
.fes-programme-footer {
    text-align: center;
    padding: 40px 0 20px;
}
.fes-pass-btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 50px;
    letter-spacing: .5px;
    transition: all .3s ease;
}
.fes-pass-btn-primary {
    background: linear-gradient(135deg, #1A1A2E 0%, #4c1864 100%);
    color: #fad03b !important;
    border: 2px solid #fad03b;
    box-shadow: 0 4px 20px rgba(76, 24, 100, .3);
}
.fes-pass-btn-primary:hover {
    background: #fad03b;
    color: #1A1A2E !important;
    box-shadow: 0 8px 30px rgba(250, 208, 59, .4);
    transform: translateY(-2px);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .fes-show-card,
    .fes-show-card.fes-multi-artists {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px 16px;
        gap: 16px;
    }
    .fes-artists-block { display: flex; justify-content: center; flex-direction: column; align-items: center; }
    .fes-artist-solo { width: 90px; height: 90px; }
    .fes-artists-fusion { justify-content: center; padding-left: 0; }
    .fes-artists-names { max-width: 100%; }
    .fes-show-meta { justify-content: center; }
    .fes-show-actions { flex-direction: row; justify-content: center; flex-wrap: wrap; }
    .fes-day-badge { flex-direction: column; gap: 4px; padding: 10px 24px; }
}

.menu-item-login-icon .fes-login-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fad03b;
    color: #1A1A2E;
    font-size: 16px;
    transition: all .3s ease;
}

.menu-item-login-icon:hover .fes-login-icon {
    background: #1A1A2E;
    color: #fad03b;
}

/* ─── Style tabs Jour ─── */
.schedule-layout3 .schedule-nav li a {
    transition: all .3s ease;
}

.schedule-layout3 .schedule-nav li a .day-number {
    font-weight: 700;
}
