/* ========================================
   BLOC GENERAL
======================================== */
.page-content--home {
    gap: 0 !important;
}

/* Couleurs du site */
:root {
    --tcg-accent: #abb8c3;       /* Couleur principale */
    --tcg-accent-hover: #d0d8df; /* Couleur au survol */
    --tcg-text: #ffffff;
    --tcg-dark: #000000;
}

/* Liens */
a {
    color: #abb8c3;
}

a:hover {
    color: #d0d8df;
}

/* Boutons principaux PrestaShop */
.btn-primary {
    background-color: #abb8c3;
    border-color: #abb8c3;
    color: #000000;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #d0d8df;
    border-color: #d0d8df;
    color: #000000;
}

/* Boutons secondaires */
.btn-outline-primary {
    color: #abb8c3;
    border-color: #abb8c3;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: #abb8c3;
    border-color: #abb8c3;
    color: #000000;
}

.tcg-category-button {
    background: #000000;
    color: #ffffff;
    border-color: #abb8c3;
}

.tcg-category-button:hover {
    background: #abb8c3;
    color: #000000;
}

@layer bs-base {
    .product-flags .badge:not(.discount) {
        --bs-primary-rgb: 254, 137, 94 !important;
        border: #FE895E !important;
    }
}

/* =========================================================
   MENU PRINCIPAL - LE COLLECTIONNEUR TCG
   ========================================================= */
.ps-mainmenu:is(.ps-mainmenu--desktop) .ps-mainmenu__tree > li .submenu {
    background: #000000;
    color: #ffffff;
}
.ps-mainmenu:is(.ps-mainmenu--desktop) .submenu__left-item.active {
    color: #000000;
}


.ps-mainmenu:is(.ps-mainmenu--desktop) .submenu__row {
    padding: 0 2% !important;
    margin: 0 15% !important;
}

.ps-mainmenu:is(.ps-mainmenu--desktop) .submenu__left {
    border-right: .0625rem solid #000000;
    display: flex;
    flex-direction: row;
    gap: .25rem;
    padding-block: 2.5rem;
    
    flex-wrap: wrap;
    gap: 2rem;
    
    width: 100%;
}

.ps-mainmenu:is(.ps-mainmenu--desktop) .submenu__right {
    border-top: .0625rem solid #ffffff;
}
   
li.ps-mainmenu__tree-item > div > a{
    color: #000000;
}


/* ========================================
   BLOC PRÉSENTATION MAGIC
======================================== */

.magic-presentation {
    width: 100%;
    background: #000;
    border-top: 5px solid #abb8c3;
    padding: 60px 8% 50px;
    box-sizing: border-box;
}

.magic-presentation-content {
    max-width: 1200px;
    margin: 0 auto;
}

.magic-presentation h2 {
    color: #fff;
    margin: 0 0 25px;
    font-size: 32px;
    font-weight: 700;
}

.magic-presentation p {
    color: #fff;
    line-height: 1.7;
    margin: 0;
    font-size: 16px;
}

.magic-presentation em {
    font-style: italic;
}
.container{
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* ========================================
   BLOC PRODUITS ACCUEIL
======================================== */

.section-title {
    display: none !important;
}

.module-products {
    margin: 5% auto !important; 
}

.ps-featuredproducts {
    background-image: url('/img/theme-bd-marvel.png');
    background-size: contain;
    background-position: center;
    background-repeat: repeat;
    padding: 40px 20px;
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {

    .magic-presentation {
        padding: 40px 25px;
    }

    .magic-presentation h2 {
        font-size: 26px;
    }

    .magic-presentation p {
        font-size: 15px;
    }

}

/* ========================================
   BLOCS CATÉGORIES TCG
   ======================================== */

.tcg-categories {
    width: 100%;
    background: #000;
    padding: 30px 15% 80px;
    box-sizing: border-box;
    display: flex;
    gap: 30px;
}

.tcg-category {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    background: #000;
}

.tcg-category-image {
    width: 100%;
    margin: 0 0 20px;
}

.tcg-category-image img {
    display: block;
    width: 100%;
    height: auto;
}

.tcg-category-text {
    margin: 0;
    color: #fff;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
}

.tcg-category-button {
    display: inline-block;
    margin: 30px 0;
    padding: 12px 30px;
    border: 2px solid #abb8c3;
    border-radius: 100px;
    background: #000;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tcg-category-button:hover {
    background: #abb8c3;
    color: #000;
    text-decoration: none;
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 768px) {

    .tcg-categories {
        flex-direction: column;
        padding: 30px 25px 50px;
        gap: 0;
    }

    .tcg-category {
        padding: 30px 0;
    }

    .tcg-category-image {
        margin-bottom: 15px;
    }

    .tcg-category-button {
        margin: 20px 0;
    }
}

/* ========================================
    PRODUITS
   ======================================== */
.module-products, .columns-container {
    max-width: 70%;
    padding: 0 auto;
    margin: 0 auto;
}

.ps-newproducts{
    padding: 5% 0;
}
