/* Container générique */
.admin-lab-comparator {
    font-size: 12px;
    line-height: 1.4;
}

.admin-lab-comparator__title {
    text-transform: uppercase;
    font-size: 1.2em;
    margin: 0 0 0.5em 0;
}

/* ===== CLASSIC LAYOUT ===== */

.admin-lab-comparator-classic {
    display: flex;
}

.admin-lab-comparator-classic__poster {
    margin-right: 10px;
}

.admin-lab-comparator-classic__poster-img {
    max-width: 140px;
    height: auto;
    display: block;
}

.admin-lab-comparator-classic__meta {
    font-size: 12px;
}

.admin-lab-comparator-meta-line {
    margin: 0 0 3px 0 !important;
}

.admin-lab-comparator-meta-line--release {
    text-transform: uppercase;
}

.admin-lab-comparator-meta-label {
    text-transform: uppercase;
}

/* Offres (3 lignes avec bouton "acheter") */

.admin-lab-comparator-classic__offers {
    margin-top: 0.75em;
    margin-bottom: 1em;
}

.admin-lab-comparator-offer-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5em;
}

.admin-lab-comparator-offer-line__left {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.admin-lab-comparator-offer-line__text {
    font-size: 12px;
}

/* Placeholder logo boutique - à surcharger par store */
.admin-lab-comparator-store-logo {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #ddd;
    border-radius: 3px;
}

/* Exemples (à ajuster si tu veux des logos réels)
.admin-lab-comparator-store-logo--instant-gaming { background-image:url(...); }
*/

.admin-lab-comparator-offer-line__buy-btn {
    padding: 0.3em 0.7em;
    font-size: 11px;
    text-transform: uppercase;
    background-color: #4B577D;
    color: #fff;
    border-radius: 3px;
    text-decoration: none;
    border: none;
    display: inline-block;
}

/* Bouton "Voir tous les prix" */

.admin-lab-comparator-classic__all-prices {
    margin-top: 0.75em;
}

.admin-lab-comparator-all-prices-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.95em;
    background-color: #4B577D;
    border: none;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
}

/* ===== BANNER LAYOUT ===== */

.admin-lab-comparator-banner {
    position: relative;
    display: block;
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    text-decoration: none !important;
    color: inherit;
}

.admin-lab-comparator-banner * {
    pointer-events: none; /* Permet le clic sur toute la surface */
}

/* Overlay dégradé sombre */
.admin-lab-comparator-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.25) 40%,
        rgba(0, 0, 0, 0.25) 60%,
        rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 1;
}

.admin-lab-comparator-banner__inner {
    position: relative;
    z-index: 2;
    height: 100%;
}

/* Logo centré */

.admin-lab-comparator-banner__logo {
    position: absolute;
    width: 140px;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Colonnes gauche/droite */

.admin-lab-comparator-banner__columns {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 100%;
    padding-left: 2.5em;
    padding-right: 2.5em;
}

.admin-lab-comparator-banner__left,
.admin-lab-comparator-banner__right {
    display: flex;
    align-items: center;
}

/* Bloc prix */

.admin-lab-comparator-banner-price {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.admin-lab-comparator-banner-price__badge {
    position: absolute;
    top: -22px;
    right: -30px;
    background-color: #ffbf3b !important;
    border: 1px solid #e49f15 !important;
    padding: 0.1em 0.5em;
    color: var(--e-global-color-2f4091b) !important;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1em;
    border-radius: 4px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.admin-lab-comparator-banner-price__current {
    background-color: #4B577D;
    border: none;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.8em;
    padding: 0.1em 0.5em;
    line-height: 1.2;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

/* Bouton CTA bannière */

.admin-lab-comparator-banner__cta-btn {
    margin: 0 !important;
    background-color: #ffbf3b !important;
    border: 1px solid #e49f15 !important;
    border: none;
    border-radius: 15px;
    color: var(--e-global-color-2f4091b) !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    padding: 0.75em 1.5em;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}
