/* ================================================
   PYRÉNÉES CANIN - Wishlist Detail View
   Page : module/blockwishlist/view?id_wishlist=X
   Body ID : #view (PrestaShop met juste le nom du controller)
   ================================================ */

/* ---- Masquer breadcrumb et page-header ---- */
body#view #wrapper .breadcrumb,
body#view .page-header {
    display: none !important;
}

/* ---- Full-width layout ---- */
body#view #wrapper {
    padding-top: 0;
    position: relative;
}

body#view #wrapper>.container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

body#view #wrapper>.container>.row {
    margin: 0;
}

body#view #content-wrapper {
    padding: 0;
    max-width: 100%;
    width: 100%;
}

/* ---- Hero via pseudo-element ---- */
body#view #wrapper::before {
    content: '';
    display: block;
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%);
    background-image: url('/img/cms/hero-compte.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

body#view #wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 500px;
    background: rgba(44, 44, 44, 0.3);
    pointer-events: none;
    z-index: 1;
}

/* ---- Container remonté sur le hero ---- */
body#view #wrapper>.container {
    position: relative;
    z-index: 2;
    top: -150px;
}

body[id^="module-psgdpr"] .psgdprinfo17 {
    background: #fafafa !important;
}

.pc-account-modules-grid li {
    list-style: none;
}

/* ---- Card principale #main ---- */
body#view #main {
    max-width: 1000px;
    margin: 0 auto;
    background: #fafafa;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* ================================================
   HEADER : Titre + Compteur + Tri
   ================================================ */

body#view .wishlist-products-container {
    padding: 40px;
}

body#view .wishlist-products-container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 15px;
}

body#view .wishlist-products-container-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: #2c2c2c;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

body#view .wishlist-products-count {
    color: #8AC700;
    font-weight: 600;
    font-size: 20px;
}

/* ---- Tri / Sort ---- */
body#view .sort-by-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

body#view .sort-by-row .sort-by {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    padding: 0;
}

body#view .sort-by-row .products-sort-order {
    padding: 0;
}

body#view .sort-by-row .select-title {
    padding: 10px 18px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #2c2c2c;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

body#view .sort-by-row .select-title:hover {
    border-color: #8AC700;
}

body#view .sort-by-row .select-title i.material-icons {
    color: #8AC700 !important;
    font-size: 20px !important;
}

body#view .sort-by-row .dropdown-menu {
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    overflow: hidden;
    margin-top: 5px;
}

body#view .sort-by-row .dropdown-menu .select-list {
    padding: 10px 20px;
    font-size: 14px;
    color: #2c2c2c;
    transition: all 0.2s ease;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

body#view .sort-by-row .dropdown-menu .select-list:hover {
    background: rgba(138, 199, 0, 0.08);
    color: #8AC700;
}

/* ================================================
   RESET CARD PRESTASHOP
   ================================================ */

body#view #content.page-content.card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* ================================================
   GRILLE PRODUITS
   ================================================ */

body#view .wishlist-products-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

body#view .wishlist-products-item {
    list-style: none;
}

/* ================================================
   CARD PRODUIT (.wishlist-product)
   ================================================ */

body#view .wishlist-product {
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

body#view .wishlist-product:hover {
    border-color: #8AC700;
    box-shadow: 0 12px 30px rgba(138, 199, 0, 0.15);
}

/* ---- Lien produit ---- */
body#view .wishlist-product-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ---- Image produit ---- */
body#view .wishlist-product-image {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

body#view .wishlist-product-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

body#view .wishlist-product:hover .wishlist-product-image img {
    opacity: 0.9;
}

/* Image grisée si rupture */
body#view .wishlist-product-image img.wishlist-product-unavailable {
    filter: grayscale(40%);
    opacity: 0.7;
}

/* ---- Badge rupture sur l'image ---- */
body#view .wishlist-product-image>.wishlist-product-availability {
    position: relative;
    bottom: 0;
    right: 0;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
}

body#view .wishlist-product-image>.wishlist-product-availability i {
    font-size: 14px;
}

/* ================================================
   INFOS PRODUIT (.wishlist-product-right)
   ================================================ */

body#view .wishlist-product-right {
    padding: 20px 22px 12px;
    flex: 1;
}

/* Titre */
body#view .wishlist-product-title {
    font-size: 15px;
    font-weight: 700;
    color: #2c2c2c;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Prix */
body#view .wishlist-product-price {
    font-size: 20px;
    font-weight: 700;
    color: #8AC700;
    margin: 0 0 14px 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

/* Prix barré (ancien prix) */
body#view .wishlist-product-price .wishlist-product-price-promo {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
    order: -1;
}

/* ---- Combinaisons / Déclinaisons ---- */
body#view .wishlist-product-combinations {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 0 0;
    border-top: 1px solid #f0f0f0;
}

body#view .wishlist-product-combinations-text {
    font-size: 12px;
    color: #888;
    margin: 0;
    flex: 1;
    line-height: 1.5;
}

body#view .wishlist-product-combinations-text span {
    color: #aaa;
}

/* Bouton éditer combinaison (icône crayon) */
body#view .wishlist-product-combinations>a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(138, 199, 0, 0.08);
    color: #8AC700;
    transition: all 0.3s ease;
    flex-shrink: 0;
    text-decoration: none;
}

body#view .wishlist-product-combinations>a:hover {
    background: #8AC700;
    color: white;
}

body#view .wishlist-product-combinations>a i {
    font-size: 16px;
}

/* ================================================
   BOTTOM : Ajouter au panier + Supprimer
   ================================================ */

body#view .wishlist-product-bottom {
    padding: 14px 22px 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

/* Bouton Ajouter au panier */
body#view .wishlist-product-bottom .wishlist-product-addtocart {
    flex: 1;
    padding: 12px 16px;
    background: linear-gradient(135deg, #8AC700 0%, #A0CE4D 100%);
    color: white !important;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

body#view .wishlist-product-bottom .wishlist-product-addtocart:hover {
    background: linear-gradient(135deg, #A0CE4D 0%, #8AC700 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(138, 199, 0, 0.3);
}

/* Désactivé (rupture de stock) */
body#view .wishlist-product-bottom .wishlist-product-addtocart:disabled,
body#view .wishlist-product-bottom .wishlist-product-addtocart[disabled] {
    background: #ddd !important;
    color: #999 !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.7;
}

/* Bouton Supprimer (icône poubelle) */
body#view .wishlist-product-bottom .wishlist-button-add {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0;
    z-index: 5;
    top: 45px;
}

body#view .wishlist-product-bottom .wishlist-button-add:hover {
    background: #ffebee;
    border-color: #ef5350;
    color: #d32f2f;
}

body#view .wishlist-product-bottom .wishlist-button-add i {
    font-size: 20px;
}

/* ---- Disponibilité responsive (doublon masqué) ---- */
body#view .wishlist-product-availability-responsive {
    display: none;
}

/* ================================================
   ÉTAT VIDE
   ================================================ */

body#view .wishlist-list-empty {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    font-size: 16px;
    font-style: italic;
}

/* ================================================
   PAGINATION
   ================================================ */

body#view .wishlist-pagination.pagination {
    padding: 20px 40px 10px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

body#view .wishlist-pagination a,
body#view .wishlist-pagination button {
    padding: 8px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
}

body#view .wishlist-pagination a:hover,
body#view .wishlist-pagination button:hover,
body#view .wishlist-pagination .current {
    background: #8AC700;
    border-color: #8AC700;
    color: white;
}

/* ================================================
   FOOTER : Liens retour
   ================================================ */

body#view .wishlist-footer-links {
    padding: 25px 40px;
    background: #f9f9f9;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: center;
    gap: 30px;
}

body#view .wishlist-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

body#view .wishlist-footer-links a:hover {
    color: #8AC700;
}

body#view .wishlist-footer-links a i.material-icons {
    font-size: 18px;
    color: #8AC700;
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 768px) {

    body#view #wrapper::before {
        height: 300px;
    }

    body#view #wrapper::after {
        height: 300px;
    }

    body#view #main {
        border-radius: 12px;
        margin: 0 10px;
    }

    body#view .wishlist-products-container {
        padding: 25px 20px;
    }

    body#view .wishlist-products-container-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-bottom: 20px;
    }

    body#view .wishlist-products-container-header h1 {
        font-size: 22px;
    }

    body#view .sort-by-row {
        width: 100%;
    }

    body#view .sort-by-row .products-sort-order {
        flex: 1;
    }

    body#view .wishlist-products-list {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body#view .wishlist-product-image img {
        height: 200px;
    }

    body#view .wishlist-product-right {
        padding: 16px 18px 10px;
    }

    body#view .wishlist-product-bottom {
        padding: 12px 18px 16px;
    }

    body#view .wishlist-pagination.pagination {
        padding: 15px 20px 5px;
    }

    body#view .wishlist-footer-links {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        align-items: center;
    }

    body#view .wishlist-footer-links a {
        color: #2c2c2c !important;
    }
}

@media (max-width: 480px) {

    body#view .wishlist-product-price {
        font-size: 18px;
    }

    body#view .wishlist-product-bottom .wishlist-product-addtocart {
        font-size: 12px;
        padding: 10px 12px;
    }

    body#view .wishlist-product-bottom .wishlist-button-add {
        width: 38px;
        height: 38px;
    }
}

/* ================================================
   PYRÉNÉES CANIN - Blog Comments
   Page : module/ets_blog/comments
   Body ID : #module-ets_blog-comments
   ================================================ */

/* ---- Masquer breadcrumb et page-header ---- */
body[id^="module-ets_blog"] #wrapper .breadcrumb,
body[id^="module-ets_blog"] .page-header {
    display: none !important;
}

/* ---- Full-width layout ---- */
body[id^="module-ets_blog"] #wrapper {
    padding-top: 0;
    position: relative;
}

body[id^="module-ets_blog"] #wrapper>.container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

body[id^="module-ets_blog"] #wrapper>.container>.row {
    margin: 0;
}

body[id^="module-ets_blog"] #content-wrapper {
    padding: 0;
    max-width: 100%;
    width: 100%;
}

/* ---- Hero via pseudo-element ---- */
body[id^="module-ets_blog"] #wrapper::before {
    content: '';
    display: block;
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%);
    background-image: url('/img/cms/hero-compte.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

body[id^="module-ets_blog"] #wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 500px;
    background: rgba(44, 44, 44, 0.3);
    pointer-events: none;
    z-index: 1;
}

/* ---- Container remonté sur le hero ---- */
body[id^="module-ets_blog"] #wrapper>.container {
    position: relative;
    z-index: 2;
    top: -80px;
}

/* ---- Card principale #main ---- */
body[id^="module-ets_blog"] #main {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* ---- Reset PrestaShop ---- */
body[id^="module-ets_blog"] #content {
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    margin-bottom: 0;
}

/* ================================================
   PANEL : Container du tableau
   ================================================ */

body[id^="module-ets_blog"] .ets-blog-wrapper-form-managament {
    padding: 0;
}

body[id^="module-ets_blog"] .ets_blog-panel {
    border: none;
    box-shadow: none;
    margin: 0;
}

/* ---- Titre "Comments" ---- */
body[id^="module-ets_blog"] .panel-heading {
    font-size: 24px;
    font-weight: 700;
    color: #2c2c2c;
    padding: 35px 40px 25px;
    margin: 0;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

body[id^="module-ets_blog"] .panel-heading::before {
    content: '💬';
    font-size: 22px;
}

body[id^="module-ets_blog"] .panel-heading-action {
    display: none;
}

/* ================================================
   TABLE
   ================================================ */

body[id^="module-ets_blog"] .table-responsive {
    padding: 30px 40px 40px;
}

body[id^="module-ets_blog"] .table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e5e5e5;
}

/* ---- En-tête tableau ---- */
body[id^="module-ets_blog"] .table thead tr:first-child th {
    background: linear-gradient(135deg, #8AC700 0%, #A0CE4D 100%);
    color: white;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    padding: 14px 16px;
    border: none;
    white-space: nowrap;
}

body[id^="module-ets_blog"] .table thead tr:first-child th .title_box {
    color: white;
}

body[id^="module-ets_blog"] .table thead tr:first-child th .soft a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

body[id^="module-ets_blog"] .table thead tr:first-child th .soft a:hover,
body[id^="module-ets_blog"] .table thead tr:first-child th .soft a.active {
    color: white;
}

/* ---- Ligne filtres ---- */
body[id^="module-ets_blog"] .table thead tr.filter th {
    background: #fafafa;
    padding: 12px 10px;
    border-bottom: 2px solid #e5e5e5;
}

body[id^="module-ets_blog"] .table thead tr.filter input.filter {
    padding: 9px 14px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 13px;
    transition: all 0.3s ease;
    width: 100%;
    background: white;
    box-sizing: border-box;
}

body[id^="module-ets_blog"] .table thead tr.filter input.filter:focus {
    border-color: #8AC700;
    outline: none;
    box-shadow: 0 0 0 3px rgba(138, 199, 0, 0.12);
}

body[id^="module-ets_blog"] .table thead tr.filter select {
    padding: 9px 14px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 13px;
    transition: all 0.3s ease;
    width: 100%;
    background: white;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238AC700' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

body[id^="module-ets_blog"] .table thead tr.filter select:focus {
    border-color: #8AC700;
    outline: none;
    box-shadow: 0 0 0 3px rgba(138, 199, 0, 0.12);
}

/* ---- Bouton Filter ---- */
body[id^="module-ets_blog"] .table thead tr.filter .btn {
    background: linear-gradient(135deg, #8AC700 0%, #A0CE4D 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 9px 18px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

body[id^="module-ets_blog"] .table thead tr.filter .btn:hover {
    background: linear-gradient(135deg, #A0CE4D 0%, #8AC700 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(138, 199, 0, 0.3);
}

body[id^="module-ets_blog"] .table thead tr.filter .btn i {
    font-size: 14px;
}

/* ---- Corps du tableau ---- */
body[id^="module-ets_blog"] .table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #555;
    vertical-align: middle;
}

body[id^="module-ets_blog"] .table tbody tr:hover td {
    background: rgba(138, 199, 0, 0.03);
}

body[id^="module-ets_blog"] .table tbody tr:last-child td {
    border-bottom: none;
}

/* ---- État vide ---- */
body[id^="module-ets_blog"] .list-empty {
    background: transparent;
}

body[id^="module-ets_blog"] .list-empty td {
    padding: 0 !important;
    border: none !important;
}

body[id^="module-ets_blog"] .list-empty-msg {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

body[id^="module-ets_blog"] .list-empty-icon {
    font-size: 40px;
    color: #8AC700;
}

/* ================================================
   FOOTER : Liens retour
   ================================================ */

body[id^="module-ets_blog"] .page-footer {
    padding: 25px 40px;
    background: #f9f9f9;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: center;
    gap: 30px;
}

body[id^="module-ets_blog"] .page-footer a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

body[id^="module-ets_blog"] .page-footer a:hover {
    color: #8AC700;
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 768px) {

    body[id^="module-ets_blog"] #wrapper::before {
        height: 300px;
    }

    body[id^="module-ets_blog"] #wrapper::after {
        height: 300px;
    }

    body[id^="module-ets_blog"] #main {
        border-radius: 12px;
        margin: 0 10px;
    }

    body[id^="module-ets_blog"] .panel-heading {
        font-size: 20px;
        padding: 25px 20px 20px;
    }

    body[id^="module-ets_blog"] .table-responsive {
        padding: 20px 15px 25px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body[id^="module-ets_blog"] .table {
        min-width: 600px;
    }

    body[id^="module-ets_blog"] .page-footer {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        align-items: center;
    }

    body[id^="module-ets_blog"] .page-footer a {
        color: #2c2c2c !important;
    }
}

/* ================================================
   PYRÉNÉES CANIN — checkout.css
   Pages : Panier (cart) + Commande (checkout)
   + Confirmation de commande
   Style : hero sombre, cards blanches, accent #8AC700
   ================================================ */

/* ============================================
   COMMUN : Masquer breadcrumb, full-width
   ============================================ */

body#cart #wrapper .breadcrumb,
body#cart .page-header,
body#checkout #wrapper .breadcrumb,
body#checkout .page-header,
body#order-confirmation #wrapper .breadcrumb,
body#order-confirmation .page-header {
    display: none !important;
}

body#cart #wrapper,
body#checkout #wrapper,
body#order-confirmation #wrapper {
    padding-top: 0;
}

body#cart #wrapper .container,
body#checkout #wrapper .container,
body#order-confirmation #wrapper .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

body#cart #wrapper .container>.row,
body#checkout #wrapper .container>.row,
body#order-confirmation #wrapper .container>.row {
    margin: 0;
}

body#cart #content-wrapper,
body#checkout #content-wrapper,
body#order-confirmation #content-wrapper {
    padding: 0;
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
    width: 100%;
}

body#cart #main .page-content,
body#checkout #main .page-content,
body#order-confirmation #main .page-content {
    margin-bottom: 0;
}

body#cart #content,
body#checkout #content,
body#order-confirmation #content {
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}


/* ============================================
   SECTION 1 : PAGE PANIER (cart)
   ============================================ */

.pc-cart-page {
    padding: 0;
    margin: 0;
}

/* ---- Hero ---- */
.pc-cart-hero {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%);
    background-image: url('/img/cms/hero-compte.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -80px;
}

.pc-cart-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 44, 44, 0.3);
    backdrop-filter: blur(0px);
}

.pc-cart-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.pc-cart-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pc-cart-subtitle {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.9;
    color: #FAF6F1;
}

/* ---- Container ---- */
.pc-cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px 20px;
    position: relative;
    z-index: 3;
}

/* ---- Products Card (gauche) ---- */
.pc-cart-products-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-bottom: 20px;
}

.pc-cart-products-card .card-block {
    padding: 0rem 0rem .5rem;
    background: linear-gradient(135deg, #A0CE4D 0%, #FAF6F1 100%);
}

.pc-cart-products-card .card-block h1 {
    font-size: 24px;
    font-weight: 700;
    color: #2c2c2c;
    margin: 0;
}

.pc-cart-products-card .separator {
    margin: 0;
    border: none;
    border-top: 2px solid #e5e5e5;
}

/* ---- Produits dans le panier ---- */
.pc-cart-products-card .cart-items {
    padding: 0;
}

.pc-cart-products-card .cart-item {
    padding: 25px 40px;
    border-bottom: 2px solid #f0f0f0;
    transition: background 0.3s ease;
}

.pc-cart-products-card .cart-item:hover {
    background: #fafafa;
}

.pc-cart-products-card .cart-item:last-child {
    border-bottom: none;
}

/* Image produit panier */
.pc-cart-products-card .cart-item .product-line-grid .product-line-grid-left img {
    border-radius: 10px;
    border: 2px solid #f0f0f0;
    transition: border-color 0.3s ease;
}

.pc-cart-products-card .cart-item:hover .product-line-grid .product-line-grid-left img {
    border-color: #8AC700;
}

/* Nom produit */
.pc-cart-products-card .product-line-info a {
    color: #2c2c2c;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.pc-cart-products-card .product-line-info a:hover {
    color: #8AC700;
}

/* Prix produit */
.pc-cart-products-card .product-price {
    font-size: 18px;
    font-weight: 700;
    color: #8AC700;
}

/* Quantité — input */
.pc-cart-products-card .qty input[type="number"],
.pc-cart-products-card .js-cart-line-product-quantity {
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: #2c2c2c;
    transition: border-color 0.3s ease;
    width: 60px;
    padding: 6px;
}

.pc-cart-products-card .qty input[type="number"]:focus,
.pc-cart-products-card .js-cart-line-product-quantity:focus {
    border-color: #8AC700;
    outline: none;
    box-shadow: 0 0 0 3px rgba(138, 199, 0, 0.12);
}

/* Boutons +/- quantité */
.pc-cart-products-card .input-group-btn-vertical .btn,
.pc-cart-products-card .bootstrap-touchspin .btn {
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    color: #2c2c2c;
    transition: all 0.3s ease;
}

.pc-cart-products-card .input-group-btn-vertical .btn:hover,
.pc-cart-products-card .bootstrap-touchspin .btn:hover {
    background: #8AC700;
    border-color: #8AC700;
    color: white;
}

/* Bouton supprimer */
.pc-cart-products-card .remove-from-cart,
.pc-cart-products-card .cart-line-product-actions .remove-from-cart {
    color: #ccc;
    transition: all 0.3s ease;
}

.pc-cart-products-card .remove-from-cart:hover,
.pc-cart-products-card .cart-line-product-actions .remove-from-cart:hover {
    color: #d32f2f;
}

/* ---- Continue Shopping ---- */
.pc-continue-shopping {
    padding: 25px 40px;
    background: #fafafa;
    border-top: 2px solid #f0f0f0;
}

.pc-back-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pc-back-shop:hover {
    color: #8AC700;
    transform: translateX(-5px);
}

.pc-back-shop i {
    font-size: 18px;
    color: #8AC700;
}

/* ---- Summary Card (droite) ---- */
.pc-cart-summary-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    top: 20px;
}

.pc-summary-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #8AC700 0%, #A0CE4D 100%);
}

.pc-summary-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Lignes totaux */
.pc-cart-summary-card .cart-summary-line {
    padding: 15px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.pc-cart-summary-card .cart-summary-line .label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.pc-cart-summary-card .cart-summary-line .value {
    font-size: 16px;
    color: #2c2c2c;
    font-weight: 700;
}

.pc-cart-summary-card .cart-summary-line.cart-total {
    background: #fafafa;
    padding: 20px 30px;
    border-bottom: none;
}

.pc-cart-summary-card .cart-summary-line.cart-total .label {
    font-size: 18px;
    color: #2c2c2c;
}

.pc-cart-summary-card .cart-summary-line.cart-total .value {
    font-size: 24px;
    color: #8AC700;
}

/* Code promo */
.pc-cart-summary-card .block-promo .promo-code {
    padding: 15px 30px;
}

.pc-cart-summary-card .block-promo input {
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.pc-cart-summary-card .block-promo input:focus {
    border-color: #8AC700;
    outline: none;
    box-shadow: 0 0 0 3px rgba(138, 199, 0, 0.12);
}

.pc-cart-summary-card .block-promo .btn {
    background: linear-gradient(135deg, #8AC700 0%, #A0CE4D 100%);
    border: none;
    color: white;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pc-cart-summary-card .block-promo .btn:hover {
    background: linear-gradient(135deg, #A0CE4D 0%, #8AC700 100%);
}

/* Bouton Commander */
.pc-cart-summary-card .checkout {
    padding: 30px;
    background: white;
}

.pc-cart-summary-card .checkout .btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #8AC700 0%, #A0CE4D 100%);
    color: white !important;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pc-cart-summary-card .checkout .btn:hover {
    background: linear-gradient(135deg, #A0CE4D 0%, #8AC700 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(138, 199, 0, 0.4);
}

/* Réassurance */
.pc-reassurance {
    margin-top: 20px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


/* ============================================
   SECTION 2 : PAGE COMMANDE (checkout)
   ============================================ */

.pc-checkout-page {
    padding: 0;
    margin: 0;
}

/* ---- Hero ---- */
.pc-checkout-hero {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%);
    background-image: url('/img/cms/hero-compte.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -80px;
}

.pc-checkout-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 44, 44, 0.3);
    backdrop-filter: blur(0px);
}

.pc-checkout-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.pc-checkout-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pc-checkout-subtitle {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.9;
    color: #FAF6F1;
}

/* ---- Container ---- */
.pc-checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px 20px;
    position: relative;
    z-index: 3;
}

/* ---- Étapes (stepper) ---- */
.pc-checkout-container .checkout-step {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.pc-checkout-container .checkout-step.-current {
    border-color: #8AC700;
    box-shadow: 0 20px 60px rgba(138, 199, 0, 0.12);
}

.pc-checkout-container .checkout-step.-complete {
    border-color: #e5e5e5;
}

/* ---- Header des étapes ---- */
.pc-checkout-container .checkout-step .step-title {
    padding: 25px 30px;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #2c2c2c;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pc-checkout-container .checkout-step.-current .step-title {
    background: linear-gradient(135deg, #A0CE4D 0%, #A0CE4D 100%);
    border-radius: 20px;
    color: #2c2c2c;
}

.pc-checkout-container .checkout-step.-complete .step-title {
    background: #fafafa;
    color: #888;
}

/* Numéro de l'étape */
.pc-checkout-container .checkout-step .step-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: #e5e5e5;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.pc-checkout-container .checkout-step.-current .step-number {
    background: #8AC700;
    color: white;
}

.pc-checkout-container .checkout-step.-complete .step-number {
    background: #8AC700;
    color: white;
}

/* Icône check sur étape complétée */
.pc-checkout-container .checkout-step.-complete .step-number::after {
    content: '✓';
}

/* ---- Contenu des étapes ---- */
.pc-checkout-container .checkout-step .content {
    padding: 30px;
}

/* ---- Formulaires dans les étapes ---- */
.pc-checkout-container .checkout-step input[type="text"],
.pc-checkout-container .checkout-step input[type="email"],
.pc-checkout-container .checkout-step input[type="tel"],
.pc-checkout-container .checkout-step input[type="password"],
.pc-checkout-container .checkout-step select,
.pc-checkout-container .checkout-step textarea {
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #2c2c2c;
    transition: all 0.3s ease;
    background: white;
}

.pc-checkout-container .checkout-step input:focus,
.pc-checkout-container .checkout-step select:focus,
.pc-checkout-container .checkout-step textarea:focus {
    border-color: #8AC700;
    outline: none;
    box-shadow: 0 0 0 3px rgba(138, 199, 0, 0.12);
}

a {
    background-color: #fff0;
    -webkit-text-decoration-skip: objects;
    color: white;
    text-decoration: none;
}

/* Labels */
.pc-checkout-container .checkout-step label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

/* ---- Boutons dans les étapes ---- */
.pc-checkout-container .checkout-step .btn-primary,
.pc-checkout-container .checkout-step .continue {
    background: linear-gradient(135deg, #8AC700 0%, #A0CE4D 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 14px 30px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pc-checkout-container .checkout-step .btn-primary:hover,
.pc-checkout-container .checkout-step .continue:hover {
    background: linear-gradient(135deg, #A0CE4D 0%, #8AC700 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(138, 199, 0, 0.3);
}

/* ---- Adresses ---- */
.pc-checkout-container .address-item {
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    background: white;
}

.pc-checkout-container .address-item.selected,
.pc-checkout-container .address-item:hover {
    border-color: #8AC700;
    box-shadow: 0 4px 16px rgba(138, 199, 0, 0.12);
}

/* ---- Options de livraison ---- */
.pc-checkout-container .delivery-option {
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    background: white;
}

.pc-checkout-container .delivery-option:hover {
    border-color: #8AC700;
}

.pc-checkout-container .delivery-option.selected,
.pc-checkout-container .delivery-option input:checked~* {
    border-color: #8AC700;
    background: rgba(138, 199, 0, 0.03);
}

/* Radio & Checkbox verts */
.pc-checkout-container input[type="radio"]:checked {
    accent-color: #8AC700;
}

.pc-checkout-container input[type="checkbox"]:checked {
    accent-color: #8AC700;
}

/* ---- Options de paiement ---- */
.pc-checkout-container .payment-option {
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    background: white;
}

.pc-checkout-container .payment-option:hover {
    border-color: #8AC700;
}

/* ---- Résumé commande (sidebar droite) ---- */
.pc-checkout-summary-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    top: 20px;
}

.pc-checkout-summary-card .pc-summary-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #8AC700 0%, #A0CE4D 100%);
}

.pc-checkout-summary-card .pc-summary-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Produits dans le résumé */
.pc-checkout-summary-card .cart-summary-products {
    padding: 10px 10px;
}

.pc-checkout-summary-card .media-body {
    font-size: 14px;
    color: #555;
}

.pc-checkout-summary-card .media-body .product-name {
    font-weight: 700;
    color: #2c2c2c;
}

.pc-checkout-summary-card .media-body .product-price {
    color: #8AC700;
    font-weight: 700;
}

/* Totaux résumé checkout */
.pc-checkout-summary-card .cart-summary-line {
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
}

.pc-checkout-summary-card .cart-summary-line .label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.pc-checkout-summary-card .cart-summary-line .value {
    font-size: 16px;
    color: #2c2c2c;
    font-weight: 700;
}

.pc-checkout-summary-card .cart-summary-line.cart-total {
    background: #fafafa;
    padding: 20px 30px;
    border-top: 2px solid #f0f0f0;
}

.pc-checkout-summary-card .cart-summary-line.cart-total .label {
    font-size: 18px;
    color: #2c2c2c;
}

.pc-checkout-summary-card .cart-summary-line.cart-total .value {
    font-size: 24px;
    color: #8AC700;
}

/* Bouton final "Commander" */
.pc-checkout-container #payment-confirmation .btn,
.pc-checkout-container .ps-shown-by-js .btn-primary {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #8AC700 0%, #A0CE4D 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pc-checkout-container #payment-confirmation .btn:hover,
.pc-checkout-container .ps-shown-by-js .btn-primary:hover {
    background: linear-gradient(135deg, #A0CE4D 0%, #8AC700 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(138, 199, 0, 0.4);
}

/* Conditions */
.pc-checkout-container #conditions-to-approve label {
    font-size: 13px;
    color: #555;
}

.pc-checkout-container #conditions-to-approve a {
    color: #8AC700;
    font-weight: 600;
}


/* ============================================
   SECTION 3 : CONFIRMATION DE COMMANDE
   ============================================ */

.pc-confirmation-page {
    padding: 0;
    margin: 0;
}

.pc-confirmation-hero {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%);
    background-image: url('/img/cms/hero-compte.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -80px;
}

.pc-confirmation-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 44, 44, 0.3);
}

.pc-confirmation-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.pc-confirmation-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pc-confirmation-subtitle {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.9;
    color: #FAF6F1;
}

.pc-confirmation-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 80px 20px;
    position: relative;
    z-index: 3;
}

.pc-confirmation-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.pc-confirmation-card-header {
    background: linear-gradient(135deg, #8AC700 0%, #A0CE4D 100%);
    padding: 40px;
    text-align: center;
    color: white;
}

.pc-confirmation-card-header .check-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.pc-confirmation-card-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.pc-confirmation-card-header p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

.pc-confirmation-card-body {
    padding: 40px;
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {

    .pc-cart-summary-card,
    .pc-checkout-summary-card {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {

    .pc-cart-hero,
    .pc-checkout-hero,
    .pc-confirmation-hero {
        height: 250px;
        margin-bottom: -60px;
    }

    .pc-cart-title,
    .pc-checkout-title,
    .pc-confirmation-title {
        font-size: 28px;
    }

    .pc-cart-subtitle,
    .pc-checkout-subtitle,
    .pc-confirmation-subtitle {
        font-size: 14px;
    }

    .pc-cart-products-card .card-block {
        padding: 20px;
    }

    .pc-continue-shopping {
        padding: 20px;
    }

    .pc-cart-products-card .cart-item {
        padding: 20px;
    }

    .pc-cart-summary-card .cart-summary-line,
    .pc-checkout-summary-card .cart-summary-line {
        padding: 12px 20px;
    }

    .pc-cart-summary-card .checkout {
        padding: 20px;
    }

    .pc-checkout-container .checkout-step .step-title {
        padding: 20px;
        font-size: 16px;
    }

    .pc-checkout-container .checkout-step .content {
        padding: 20px;
    }

    .pc-confirmation-card-header {
        padding: 30px 20px;
    }

    .pc-confirmation-card-header h2 {
        font-size: 22px;
    }

    .pc-confirmation-card-body {
        padding: 25px 20px;
    }
}