/**
 * AEKE S1 Pro — sections fiche produit + dark.
 * Autonome : fallbacks si les tokens du child theme ne sont pas chargés.
 */

:root {
    --aeke-teal: #00A5B5;
    --aeke-green: #2FC080;
    --aeke-black: #1A1A1A;
    --aeke-text: #707070;
    --aeke-white: #FFFFFF;
    --aeke-font-heading: "Poppins", sans-serif;
    --aeke-font-body: "Inter", sans-serif;
    --aeke-fw-regular: 400;
    --aeke-fw-bold: 700;
    --aeke-content-max: 1222px;
    --aeke-content-gutter: 15px;
}

/* ============================================================
 * Avantages de lancement
 * ============================================================ */
#aeke-product-benefits {
    padding: 72px 0;
}

#aeke-product-benefits .aeke-product__benefits-title,
#aeke-product-benefits .aeke-product__benefits-wrap {
    max-width: var(--aeke-content-max);
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--aeke-content-gutter);
    padding-right: var(--aeke-content-gutter);
}

#aeke-product-benefits .aeke-product__benefits-title .woodmart-title-container {
    font-family: var(--aeke-font-heading);
    font-weight: var(--aeke-fw-bold);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
    color: var(--aeke-teal);
    text-align: center;
    margin: 0 0 48px;
}

#aeke-product-benefits .aeke-product__benefits-wrap.vc_column_text,
#aeke-product-benefits .aeke-product__benefits-wrap > .wpb_wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

#aeke-product-benefits .aeke-product__benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#aeke-product-benefits .aeke-product__benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
    min-width: 0;
}

#aeke-product-benefits .aeke-product__benefit-icon {
    width: 48px;
    height: 48px;
    display: block;
    margin: 0 0 16px;
}

#aeke-product-benefits .aeke-product__benefit-title {
    font-family: var(--aeke-font-heading);
    font-weight: var(--aeke-fw-bold);
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.3;
    color: var(--aeke-black);
    margin: 0 0 8px;
}

#aeke-product-benefits .aeke-product__benefit-desc {
    font-family: var(--aeke-font-body);
    font-weight: var(--aeke-fw-regular);
    font-size: 13px;
    line-height: 1.5;
    color: var(--aeke-text);
    margin: 0;
}

@media (max-width: 991px) {
    #aeke-product-benefits .aeke-product__benefits-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    #aeke-product-benefits .aeke-product__benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
    }

    #aeke-product-benefits .aeke-product__benefits-title .woodmart-title-container {
        margin-bottom: 32px;
    }
}

/* ============================================================
 * Accessoires premium
 * ============================================================ */
#aeke-product-accessories {
    padding: 72px 0 0;
    overflow: hidden;
}

#aeke-product-accessories > .vc_column_container > .vc_column-inner,
#aeke-product-accessories > .wpb_column > .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#aeke-product-accessories .aeke-product__accessories-title {
    max-width: var(--aeke-content-max);
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--aeke-content-gutter);
    padding-right: var(--aeke-content-gutter);
}

#aeke-product-accessories .aeke-product__accessories-title .woodmart-title-container {
    font-family: var(--aeke-font-heading);
    font-weight: var(--aeke-fw-bold);
    font-size: clamp(26px, 3.2vw, 36px);
    line-height: 1.2;
    color: var(--aeke-teal);
    text-align: center;
    margin: 0 0 12px;
}

#aeke-product-accessories .aeke-product__accessories-wrap.vc_column_text,
#aeke-product-accessories .aeke-product__accessories-wrap > .wpb_wrapper {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

#aeke-product-accessories .aeke-product__accessories-subtitle {
    font-family: var(--aeke-font-body);
    font-weight: var(--aeke-fw-regular);
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.45;
    color: var(--aeke-text);
    text-align: center;
    margin: 0 auto 36px;
    max-width: 720px;
    padding-left: var(--aeke-content-gutter);
    padding-right: var(--aeke-content-gutter);
}

#aeke-product-accessories .aeke-product__accessories-figure {
    margin: 0;
    padding: 0;
    line-height: 0;
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

#aeke-product-accessories .aeke-product__accessories-img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    object-fit: cover;
}

@media (max-width: 767px) {
    #aeke-product-accessories {
        padding: 56px 0 0;
    }

    #aeke-product-accessories .aeke-product__accessories-subtitle {
        margin-bottom: 24px;
        font-size: 15px;
    }
}

/* ============================================================
 * Highlights carousel
 * ============================================================ */
#aeke-product-highlights {
    padding: 80px 0 64px;
}

#aeke-product-highlights .aeke-product__highlights-title,
#aeke-product-highlights .aeke-product__highlights-carousel {
    max-width: var(--aeke-content-max);
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--aeke-content-gutter);
    padding-right: var(--aeke-content-gutter);
}

#aeke-product-highlights .aeke-product__highlights-title .woodmart-title-container {
    font-family: var(--aeke-font-heading);
    font-weight: var(--aeke-fw-bold);
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.15;
    color: var(--aeke-teal);
    text-align: center;
    margin: 0 0 48px;
}

#aeke-product-highlights .aeke-product__highlight-card {
    box-shadow: none !important;
    background: transparent !important;
    text-align: left;
    margin: 0;
}

#aeke-product-highlights .aeke-product__highlight-card .info-box-content,
#aeke-product-highlights .aeke-product__highlight-card .info-box-content-wrapper {
    background: transparent !important;
    padding: 0 !important;
}

#aeke-product-highlights .aeke-product__highlight-card .box-icon-wrapper {
    width: 100%;
}

#aeke-product-highlights .aeke-product__highlight-card .info-box-icon {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 0 18px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
}

#aeke-product-highlights .aeke-product__highlight-card .info-box-icon img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
}

#aeke-product-highlights .aeke-product__highlight-card .info-box-title {
    font-family: var(--aeke-font-heading);
    font-weight: var(--aeke-fw-bold);
    font-size: clamp(14px, 1.25vw, 17px);
    line-height: 1.25;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--aeke-black);
    margin: 0 0 12px;
}

#aeke-product-highlights .aeke-product__highlight-card .info-box-inner,
#aeke-product-highlights .aeke-product__highlight-card .info-box-inner p {
    font-family: var(--aeke-font-body);
    font-weight: var(--aeke-fw-regular);
    font-size: clamp(13px, 1.05vw, 15px);
    line-height: 1.5;
    color: var(--aeke-text);
    margin: 0;
    max-width: 36em;
}

#aeke-product-highlights .aeke-product__highlights-carousel > .wd-carousel-inner {
    display: block;
    position: relative;
    padding-bottom: 56px;
}

#aeke-product-highlights .aeke-product__highlights-carousel .wd-carousel {
    width: 100%;
}

#aeke-product-highlights .aeke-product__highlights-carousel .wd-nav-arrows {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
    transform: none !important;
    inset: auto 0 0 0 !important;
    pointer-events: none;
}

#aeke-product-highlights .aeke-product__highlights-carousel .wd-btn-arrow {
    position: static !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 !important;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    border-radius: 4px;
    background: transparent !important;
    color: #ffffff !important;
    opacity: 1 !important;
    box-shadow: none !important;
    transform: none !important;
    pointer-events: auto;
}

#aeke-product-highlights .aeke-product__highlights-carousel .wd-btn-arrow.wd-disabled {
    opacity: 0.35 !important;
}

#aeke-product-highlights .aeke-product__highlights-carousel .wd-btn-arrow .wd-arrow-inner {
    color: inherit;
}

#aeke-product-highlights .aeke-product__highlights-carousel .wd-nav-scroll {
    position: absolute;
    left: 56px;
    right: 56px;
    bottom: 19px;
    width: auto;
    height: 2px;
    margin: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

#aeke-product-highlights .aeke-product__highlights-carousel .wd-nav-scroll::before,
#aeke-product-highlights .aeke-product__highlights-carousel .wd-nav-scroll::after {
    content: none !important;
}

#aeke-product-highlights .aeke-product__highlights-carousel .wd-nav-scroll .swiper-scrollbar-drag,
#aeke-product-highlights .aeke-product__highlights-carousel .wd-nav-scroll .wd-scrollbar-drag {
    background: #ffffff !important;
    border-radius: 2px;
}

@media (max-width: 767px) {
    #aeke-product-highlights {
        padding: 56px 0 40px;
    }

    #aeke-product-highlights .aeke-product__highlights-title .woodmart-title-container {
        font-size: 24px;
        margin-bottom: 32px;
    }

    #aeke-product-highlights .aeke-product__highlight-card .info-box-icon {
        border-radius: 10px;
    }

    #aeke-product-highlights .aeke-product__highlights-carousel .wd-nav-scroll {
        display: none;
    }
}

/* ============================================================
 * Pack banner full-width
 * ============================================================ */
#aeke-product-pack {
    padding: 0;
    overflow: hidden;
    line-height: 0;
}

#aeke-product-pack > .vc_column_container > .vc_column-inner,
#aeke-product-pack > .wpb_column > .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#aeke-product-pack .aeke-product__pack-wrap.vc_column_text,
#aeke-product-pack .aeke-product__pack-wrap > .wpb_wrapper {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

#aeke-product-pack .aeke-product__pack-figure {
    margin: 0;
    padding: 0;
    line-height: 0;
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

#aeke-product-pack .aeke-product__pack-img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    object-fit: cover;
}

/* ============================================================
 * Dark full (cette fiche)
 * ============================================================ */
body.single-product.aeke-product-dark-full {
    --aeke-product-dark-bg: #0d0e12;
    --aeke-product-dark-bg-alt: #1a1a1e;
    --aeke-product-dark-text: #ffffff;
}

body.single-product.aeke-product-dark-full #aeke-product-benefits .aeke-product__benefits-title .woodmart-title-container,
body.single-product.aeke-product-dark-full #aeke-product-accessories .aeke-product__accessories-title .woodmart-title-container,
body.single-product.aeke-product-dark-full #aeke-product-highlights .aeke-product__highlights-title .woodmart-title-container {
    color: var(--aeke-teal) !important;
}

body.single-product.aeke-product-dark-full #aeke-product-benefits .aeke-product__benefit-title,
body.single-product.aeke-product-dark-full #aeke-product-highlights .aeke-product__highlight-card .info-box-title {
    color: var(--aeke-product-dark-text) !important;
}

body.single-product.aeke-product-dark-full #aeke-product-benefits .aeke-product__benefit-desc,
body.single-product.aeke-product-dark-full #aeke-product-accessories .aeke-product__accessories-subtitle,
body.single-product.aeke-product-dark-full #aeke-product-highlights .aeke-product__highlight-card .info-box-inner,
body.single-product.aeke-product-dark-full #aeke-product-highlights .aeke-product__highlight-card .info-box-inner p {
    color: rgba(255, 255, 255, 0.7) !important;
}
