/* ====================================
   BREADCRUMB
   ==================================== */

.breadcrumb {
    background: #f5f5f5;
    padding: 12px 20px;
    font-size: 12px;
    color: #666;
}

.breadcrumb a {
    color: #147a83;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 6px;
    color: #999;
}

@media (min-width: 768px) {
    .breadcrumb {
        padding: 14px 40px;
        font-size: 13px;
    }
}

@media (min-width: 1024px) {
    .breadcrumb {
        padding: 14px 60px;
    }
}


/* ====================================
   SECTION PRODUIT (MOBILE)
   ==================================== */

.product-section {
    background: #ffffff;
    padding: 24px 20px;
}

.product-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1200px;
    margin: auto;
}


/* ====================================
   GALERIE (MOBILE)
   ==================================== */

.product-gallery {
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
    border: 2px solid #147a83;
    border-radius: 12px;
    padding: 16px;
}

.gallery-main {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.gallery-main img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    transition: opacity 0.25s ease;
}

.gallery-thumbs {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
}

.thumb {
    width: 64px;
    height: 64px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
    flex-shrink: 0;
}

.thumb.active {
    border-color: #147a83;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

/* TABLETTE : miniatures à gauche */
@media (min-width: 768px) {

    .product-gallery {
        flex-direction: row;
        min-height: 360px;
    }

    .gallery-thumbs {
        flex-direction: column;
        justify-content: flex-start;
    }

    .gallery-main {
        flex: 1;
        min-height: 320px;
    }

    .gallery-main img {
        max-height: 340px;
    }

    .thumb {
        width: 72px;
        height: 72px;
    }
}

@media (min-width: 1024px) {
    .gallery-main img {
        max-height: 400px;
    }

    .thumb {
        width: 80px;
        height: 80px;
    }
}


/* ====================================
   FICHE PRODUIT (MOBILE)
   ==================================== */

.product-info {
    border: 2px solid #147a83;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Titre */
.product-info h1 {
    font-family: "Saira", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0d1f24;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
}

/* Marque + avis */
.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.product-meta a {
    font-size: 15px;
    font-weight: 600;
    color: #147a83;
    text-decoration: none;
}

.product-meta a:hover {
    text-decoration: underline;
}

.product-reviews {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.stars {
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Specs */
.product-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.pspec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #444;
}

.pspec i {
    color: #147a83;
    font-size: 16px;
    width: 18px;
    text-align: center;
}

/* Prix + Alma */
.product-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.product-price-big {
    font-family: "Saira", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #0d1f24;
}

.alma-box {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 8px 14px;
    text-align: center;
}

.alma-options {
    display: flex;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #0d1f24;
    margin-bottom: 3px;
}

.alma-detail {
    font-size: 11px;
    color: #888;
}

/* Panier + quantité */
.product-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-cart {
    flex: 1;
    min-width: 160px;
    background: #147a83;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-cart:hover {
    transform: scale(1.03);
    background: #0f5f66;
}

.qty-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: 40px;
}

.qty-value {
    font-family: "Saira", sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 6px 0;
    text-align: center;
    width: 100%;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.qty-btn {
    width: 100%;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 700;
    color: #444;
    cursor: pointer;
    padding: 4px 0;
    transition: background 0.15s;
    text-align: center;
}

.qty-btn:hover {
    background: #f0f0f0;
}

/* TABLETTE */
@media (min-width: 768px) {
    .product-info h1 {
        font-size: 24px;
    }

    .product-price-big {
        font-size: 36px;
    }
}

@media (min-width: 1024px) {
    .product-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 30px;
    }

    .product-gallery {
        flex: 1;
    }

    .product-info {
        flex: 1;
    }

    .product-info h1 {
        font-size: 26px;
    }
}


/* ====================================
   DESCRIPTION ACCORDÉON (MOBILE)
   ==================================== */

.accordion-section {
    background: #f5f5f5;
    padding: 24px 20px;
}

.accordion-wrap {
    max-width: 1200px;
    margin: auto;
    border: 2px solid #0d1f24;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    background: #fff;
    font-family: "Saira", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0d1f24;
    user-select: none;
}

.accordion-header i {
    font-size: 18px;
    color: #555;
    transition: transform 0.3s;
}

.accordion-header.open i {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    font-size: 14px;
    color: #444;
    line-height: 1.8;
}

.accordion-body.active {
    max-height: 600px;
    padding: 0 24px 24px 24px;
}

.accordion-body p {
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .accordion-section {
        padding: 40px;
    }

    .accordion-header {
        font-size: 22px;
    }

    .accordion-body {
        font-size: 15px;
    }
}

@media (min-width: 1024px) {
    .accordion-section {
        padding: 60px;
    }
}


/* ====================================
   AVIS CLIENTS (MOBILE)
   ==================================== */

.reviews-section {
    background: #ffffff;
    padding: 40px 20px;
}

.reviews-section h2 {
    font-family: "Saira", sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #0d1f24;
    margin-bottom: 6px;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.reviews-score {
    font-family: "Saira", sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #0d1f24;
    line-height: 1;
}

.reviews-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reviews-meta .stars {
    font-size: 20px;
}

.reviews-meta span {
    font-size: 13px;
    color: #888;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.review-card {
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    padding: 18px;
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 6px;
}

.reviewer-name {
    font-family: "Saira", sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #0d1f24;
}

.review-date {
    font-size: 12px;
    color: #aaa;
}

.review-stars {
    color: #f59e0b;
    font-size: 13px;
    margin-bottom: 6px;
}

.review-text {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .reviews-section {
        padding: 60px 40px;
    }

    .reviews-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .reviews-section h2 {
        font-size: 30px;
    }
}

@media (min-width: 1024px) {
    .reviews-section {
        padding: 80px 60px;
    }

    .reviews-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .reviews-section h2 {
        font-size: 34px;
    }
}


/* ====================================
   PRODUITS SIMILAIRES (MOBILE)
   ==================================== */

.similar-section {
    background: #f5f5f5;
    padding: 40px 20px;
    margin-bottom: 40px;
    margin-top: 40px;
}

.similar-section h2 {
    font-family: "Saira", sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #147a83;
    margin-bottom: 24px;
    text-align: center;
}

.similar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

/* Réutilise les classes .product-card de trottinettes.css */
.similar-section .product-card {
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s;
    display: block;
    text-decoration: none;
    color: inherit;
}

.similar-section .product-card:hover {
    box-shadow: 0 8px 28px rgba(20, 122, 131, 0.12);
    border-color: #147a83;
}

.similar-section .product-img img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 16px;
    background: #f9f9f9;
    display: block;
    transition: transform 0.3s;
}

.similar-section .product-card:hover .product-img img {
    transform: scale(1.04);
}

.similar-section .product-body {
    padding: 16px;
}

.similar-section .product-body h3 {
    font-family: "Saira", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #0d1f24;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.similar-section .product-brand {
    font-size: 13px;
    font-weight: 600;
    color: #147a83;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 12px;
}

.similar-section .product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.similar-section .product-price {
    font-family: "Saira", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0d1f24;
}

.btn-voir {
    display: inline-block;
    padding: 8px 18px;
    background: #147a83;
    color: white;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    transition: background 0.2s;
}

.btn-voir:hover {
    background: #0f5f66;
}

@media (min-width: 768px) {
    .similar-section {
        padding: 60px 40px;
    }

    .similar-grid {
        grid-template-columns: 1fr 1fr;
    }

    .similar-section h2 {
        font-size: 30px;
    }
}

@media (min-width: 1024px) {
    .similar-section {
        padding: 80px 60px;
    }

    .similar-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .similar-section h2 {
        font-size: 34px;
    }
}

/* Mention frais Alma */
.alma-frais {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
    font-style: italic;
}

/* ====================================
   MASQUER WIDGET ALMA NATIF
   ==================================== */
.alma-box,
.alma-widget,
[class*="alma-widget"],
[id*="alma-widget"],
.alma-eligibility-overview,
.alma-product-eligibility,
#alma-widget-container,
.alma-checkout-widget {
    display: none !important;
}