/*
 Theme Name:   AtelierCox Child
 Theme URI:    https://dev.ateliercox.fr
 Description:  Thème enfant AtelierCox basé sur Storefront
 Author:       AtelierCox
 Template:     storefront
 Version:      1.0.90
 Text Domain:  ateliercox-child
*/

body.single-product .woocommerce-product-gallery .flex-viewport > ul.flex-direction-nav.acox-gallery-nav {
    width: 88px !important;
    height: 40px !important;
    max-width: 88px;
    bottom: 20px !important;
    top: auto !important;
    transform: none !important;
    right: 40px !important;
    left: auto !important;
}

body.single-product .woocommerce-product-gallery .flex-viewport > ul.flex-direction-nav.acox-gallery-nav a {
    background: #fff;
    border-radius: 0 !important;
}

.acox-price-row span.woocommerce-Price-amount.amount span, body.single-product .ac-related-card-price span {
    color: #8FBD46 !important;
}

body.single-product .woocommerce-product-gallery .flex-viewport > ul.flex-direction-nav.acox-gallery-nav a.flex-prev::before, body.single-product .woocommerce-product-gallery .flex-viewport > ul.flex-direction-nav.acox-gallery-nav a.flex-next::before {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

body.single-product .woocommerce-product-gallery .flex-viewport > ul.flex-direction-nav.acox-gallery-nav a.flex-prev::before {
    transform: translate(-50%, -50%) rotate(180deg) !important;
}

.acox-cat__card-price .ac-price-dec, .acox-cat__card-price .ac-price-currency, .acox-mega-nav__product-price .ac-price-dec, .acox-mega-nav__product-price .ac-price-currency, .ac-related-card-price .ac-price-dec, .ac-related-card-price .ac-price-currency, .acox-price-row .ac-price-dec, .acox-price-row .ac-price-currency, .acox-config-price .ac-price-dec, .acox-config-price .ac-price-currency, .acox-sticky-price .ac-price-dec, .acox-sticky-price .ac-price-currency {
    top: -0.70em !important;
}

html body.single-product nav.woocommerce-breadcrumb.storefront-breadcrumb {
    padding: 15px 40px 30px 40px !important;
    font-weight: bold !important;
    color: #524235 !important;
    font-size: 15px !important;
    font-family: 'niveau-grotesk';
}

@media (min-width: 769px) {
    html body.single-product .woocommerce-product-gallery .flex-viewport > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image img {
        width: 100% !important;
        height: 100% !important;
    }
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    height: 10vw !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 24% !important;
    max-width: 24% !important;
    min-width: 24% !important;
}

body.single-product .acox-sticky-inner {
    background: #F5F5F4 !important;
    padding: 0 0 0 40px!important;
}

body.single-product .acox-sticky-link {
    font-size: 15px !important;
    font-weight: bold !important;
    color: #524235 !important;
    filter: grayscale(1);
    padding: 18px 0!important;
    justify-content: start!important;
}

body.single-product .acox-sticky-nav {
    width: 100vw !important;
    box-shadow: none !important;
}

nav.woocommerce-breadcrumb.storefront-breadcrumb {
    font-weight: bold !important;
}

body.single-product div.product, body.single-product div.product.type-product {
    max-width: 100% !important;
    padding: 0!important;
}

.woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images {
    padding: 0 40px;
}

.single-product .summary.entry-summary {
    padding: 0 20px 0 0;
}

body.single-product div.product > .acox-sticky-nav {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.single-product .acox-sticky-link:hover,
body.single-product .acox-sticky-link:focus,
body.single-product .acox-sticky-link:hover
 {
    color: #78A03B !important;
    background: transparent !important;
    filter: grayscale(0);
}

body.single-product .acox-sticky-cart-btn {
    border-radius: inherit;
    height: stretch;
}

a#acox-sticky-cart-btn {
    font-size: 1.1rem;
}

body.single-product .acox-sticky-price {
    font-size: 1.5rem;
    font-weight: 700;
}

html body.single-product .acox-sticky-cart-btn svg {
    width: 30px !important;
    height: 28px !important;
    max-width: none !important;
    max-height: none !important;
}

button.acox-mega-nav__trigger:hover,
.acox-mega-nav__item.is-open .acox-mega-nav__trigger {
    background: transparent;
    color: inherit;
}

svg.acox-mega-nav__chevron {
    stroke: #524235;
}

.acox-mega-nav__panel-inner {
    max-width: 100%;
}

.acox-mega-nav__left {
    flex: 0 0 390px;
    padding: 0 20px;
}

.acox-mega-nav__product-img {
    aspect-ratio: 4 / 4;
    border-radius: 0;
}

.acox-mega-nav__product-img img {
    border-radius: 0;
}

span.acox-mega-nav__product-name {
    font-size: 17px;
    color: #524235;
    font-family: 'niveau-grotesk';
    font-weight: 500;
}

span.acox-mega-nav__product-subcat {
    font-size: 14px;
    color: #524235;
    font-family: 'niveau-grotesk';
}

span.woocommerce-Price-amount.amount bdi {
    font-size: 19px;
    font-family: 'Syne';
}

.acox-mega-nav__product-price .ac-price-dec {
    vertical-align: sub;
    line-height: 2.6;
    margin-left: 4px;
}

span.woocommerce-Price-currencySymbol {
    font-size: 10px;
    line-height: 1.8;
    margin-left: 0px;
}

.woocommerce-breadcrumb .breadcrumb-separator {
    padding: 0 18px;
}

nav.woocommerce-breadcrumb.storefront-breadcrumb a:before {
    display: none;
}

.woocommerce-breadcrumb .breadcrumb-separator::after {
    color: #524235;
    opacity: 1 !important;
    font-size: 10px;
    margin: -4px 0 0 0;
}

html body.single-product .breadcrumb-separator {
    margin: 0 11px !important;
    font-size: 0!important;
    padding: 0 !important;
}

.acox-mega-nav__label {
    font-size: 15px;
    font-weight: 700;
    color: #524235;
    font-family: 'Syne';
}

html body.single-product .woocommerce-breadcrumb a {
    color: #524235 !important;
    font-family: 'niveau-grotesk';
    font-weight: 500;
    font-size: 15px;
}

body.single-product .acox-sticky-cart-btn {
    background: #8FBD46 !important;
}

body.single-product .acox-sticky-link svg {
    filter: brightness(0) !important;
}

body.single-product .acox-sticky-link:hover svg,
body.single-product .acox-sticky-link:focus svg
 {
    filter: brightness(1) !important;
}

body.single-product .acox-title {
    font-size: 30px;
}

body.single-product .acox-price-prefix {
    font-size: 15px;
    color: #524235;
}
.summary.entry-summary span.woocommerce-Price-amount.amount bdi {
    font-size: 40px !important;
    color: #8FBD46;
    font-weight:700;
}

body.single-product .acox-options-heading {
    font-size: 25px;
}

table.variations tbody {
    background: #F5F5F4;
    padding: 15px !important;
    display: block;
}

body.single-product .acox-radio-option, body.single-product .acox-radio-option:last-child {
    border: 2px solid #E5E5E2 !important;
    height: 70px;
}

body.single-product .acox-radio-option.is-selected {
    border: 2px solid #8FBD46 !important;
    border-radius: 0 !important;
    background: none !important;
    padding: 8px 18px !important;
}

table.variations label {
    font-family: 'Syne';
    font-size: 18px;
    font-weight: bold;
    color: #524235 !important;
    background: transparent !important;
}

table:not( .has-background ) th {
    background-color: transparent !important;
}

body.single-product .acox-radio-group {
    gap: 10px !important;
}

.acox-radio-option {
    padding: 8px 18px !important;
}

.acox-radio-label {
    font-size: 17px;
    color: #524235 !important;
}

span.acox-radio-price {
    font-size: 17px;
    font-weight: 400;
    color: #524235;
}

body.single-product .acox-options-section .variations tr {
    border-radius: 0;
    border: none;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image a img, .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    border-radius: 0 !important;
}

.woocommerce-product-gallery__wrapper {
    height: 100%!important;
}

.acox-gallery-nav {
    bottom: 20px !important;
    right: 20px!important;
    top: inherit !important;
    left: inherit !important;
    height: 40px!important;
    width: 88px!important;
    padding: 0!important;
}

.acox-gallery-nav button {
    height: 40px!important;
    width: 40px!important;
    border-radius: 0!important;
    border: none!important;
}

.acox-gallery-nav button:hover {
    background:#F5F5F4!important;
}

ol.acox-gallery-thumbs {
    margin: 0!important;
}

ol.acox-gallery-thumbs li {
    border: 2px solid #E5E5E2 !important;
    border-radius: 0!important;
    padding: 2px!important;
}

ol.acox-gallery-thumbs .is-active {
    border: 2px solid #524235 !important;
}

ol.acox-gallery-thumbs img {
    border-radius: 0 !important;
}

.woocommerce-product-gallery .acox-gallery-thumbs li {
    flex: 0 0 calc((100% - 30px) / 4)!important;
    max-width: calc((100% - 30px) / 4)!important;
    height: 9vw!important;
}

span.acox-config-label {
    font-size: 18px;
    font-family: 'Syne';
    font-weight: bold;
    color: #524235;
}
.acox-config-label small {
    font-size: 15px;
    color: #524235;
    font-family: 'niveau-grotesk';
    font-weight: 500;
}

div#acox-config-price {
    background: transparent;
    padding: 10px 0;
    justify-content: flex-start;
}

html body.single-product .acox-cta-box {
    display: flex !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0!important;
    margin: 18px 0 !important;
    background: #524235 !important;
    color: #fff !important;
    overflow: hidden !important;
}

html body.single-product .acox-cta-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 36px 40px;
    flex: 1 1 auto;
}

html body.single-product .acox-cta-content h3 {
    color: #fff !important;
    font-family: 'Syne', sans-serif;
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    margin: 0 !important;
}

html body.single-product .acox-cta-content p {
    color: rgba(255,255,255,0.9) !important;
    font-size: 17px !important;
    line-height: 1.5;
    margin: 0 !important;
    max-width: 420px;
}

html body.single-product .acox-cta-link {
    color: #8FBD46 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    align-self: flex-start;
    transition: color .2s;
    margin-top: 4px;
}

html body.single-product .acox-cta-link:hover {
    color: #6b8e23 !important;
}

html body.single-product .acox-cta-image {
    flex: 0 0 40%;
    overflow: hidden;
}

html body.single-product .acox-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.acox-gallery-prev svg,
.acox-gallery-next svg {
    width: 16.414px;
    height: 15.414px;
}

.acox-gallery-prev svg {
    transform: scaleX(-1);
}

.acox-cta-box a.acox-cta-link {
    background: transparent !important;
    padding: 0 !important;
}

html body.single-product .acox-delivery-box {
    border: 1px solid #E5E5E2 !important;
    border-radius: 0px !important;
}

.acox-config-amount {
    margin-left: 4vw!important;
}

body.single-product .acox-config-amount .woocommerce-Price-amount {
    font-size: 3vw !important;
    color: #8FBD46 !important;
    font-family: 'Syne';
}

html body .acox-options-section .single_add_to_cart_button,
html body .woocommerce div.product form.cart .single_add_to_cart_button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    height: 60px !important;
    background: #8FBD46 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    font-family: 'Syne' !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 16px 24px !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

html body .acox-options-section .single_add_to_cart_button:hover,
html body .woocommerce div.product form.cart .single_add_to_cart_button:hover {
    background: #78A03B !important;
}

body.single-product .ac-related-section, body.single-product .ac-categories-section {
    max-width: 100%!important;
    padding: 0 40px!important;
}

.acox-collapse-body p {
    font-size: 17px!important;
    font-family: 'niveau-grotesk';
    color: #524235!important;
}

body.single-product .acox-collapse-title {
    font-size: 25px!important;
    font-family: 'Syne';
}

span.acox-collapse-icon {
    display: flex;
}

.acox-charac-card {
    background: #F5F5F4 !important;
    border-radius: 0 !important;
    border: none !important;
}

body.single-product .acox-charac-value {
    font-family: 'niveau-grotesk'!important;
    font-size: 20px!important;
    font-weight: 500!important;
}

body.single-product .acox-charac-table tr.acox-row-odd {
    background: #F5F5F4 !important;
    border-bottom: 0 !important;
}

table:not( .has-background ) tbody tr:nth-child(2n) td, fieldset, fieldset legend {
    background-color: transparent !important;
}

body.single-product .acox-charac-table .acox-td-label {
    font-weight: 500!important;
    font-family: 'niveau-grotesk'!important;
    font-size: 17px!important;
    border: 0 !important;
    padding: 9px 16px!important;
}

body.single-product .acox-charac-table tr.acox-row-even,
body.single-product .acox-charac-table .acox-td-value {
    border: 0 !important;
}

body.single-product .acox-charac-table .acox-td-value {
    color: #524235!important;
    font-weight: 400!important;
    font-family: 'niveau-grotesk'!important;
    font-size: 17px!important;
}

.ac-categories-section h2 {
    font-size: 30px!important;
    color: #524235!important;
    font-weight: bold!important;
}

section.ac-categories-section {
    border: none;
}

body.single-product .ac-cat-card img {
    height: 216px!important;
    border-radius: 0!important;
    background: transparent!important;
    border: none!important;
    padding: 0!important;
}

body.single-product .ac-cat-card {
    padding: 0!important;
    border: none!important;
    background: transparent!important;
    text-align: left!important;
}

body.single-product .ac-cat-card span {
    font-size: 15px!important;
    text-transform: inherit!important;
    font-weight: bold!important;
}

.ac-cat-grid {
    display: grid!important;
    grid-template-columns: repeat(6, 1fr)!important;
    gap: 16px!important;
}

/* Icône PDF devant les liens de documentation */
body.single-product .acox-doc-link::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
    background: url('https://dev.ateliercox.fr/wp-content/uploads/2026/09/pdf.svg') no-repeat center center;
    background-size: contain;
}

li.acox-doc-item a {
    font-size: 17px;
    font-family: 'niveau-grotesk';
    color: #524235;
}

li.acox-doc-item {
    border: 0 !important;
    padding: 0;
}

ul.acox-doc-list {
    margin: 0;
    border: none;
    gap: 12px;
}

a.ac-related-card {
    border-radius: 0 !important;
}

body.single-product .ac-related-card img {
    border-radius: 0;
    height: 16vw;
}

span.ac-related-card-cat {
    font-size: 15px;
    text-transform: none;
    font-family: 'niveau-grotesk';
    color: #524235;
}

span.ac-related-card-name {
    font-size: 19px !important;
    line-height: 1.2 !important;
}

span.ac-related-card-price {
    margin-top: 40px !important;
    display: block;
}

body.single-product .ac-cat-card:hover,
body.single-product .ac-related-card:hover {
    box-shadow: none !important;
}

span.acox-cat__card-dimensions img {
    width: 19px !important;
    height: 19px !important;
    margin-right: 5px;
}

span.acox-cat__card-dimensions {
    font-size: 15px;
    font-family: 'niveau-grotesk';
    color: #524235;
    font-weight: 500;
}

/* Galerie produit : 4 vignettes max + overlay +N */
.woocommerce-product-gallery .acox-gallery-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 0;
    list-style: none;
}

ol.acox-gallery-thumbs li {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

ol.acox-gallery-thumbs li img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

ol.acox-gallery-thumbs .acox-more-thumbs .acox-more-count {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    color: #524235;
    font-family: 'niveau-grotesk', sans-serif;
    font-size: 22px;
    font-weight: 600;
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 768px) {
    .woocommerce-product-gallery .acox-gallery-thumbs {
        gap: 6px;
    }
    ol.acox-gallery-thumbs .acox-more-thumbs .acox-more-count {
        font-size: 18px;
    }
}
/* cache refresh */


/* Conseils — fallback global versionné pour la page shortcode */
body.page-id-2349 .entry-header { display:none !important; }
body.page-id-2349 .entry-content { margin:0 !important; }
body.page-id-2349 .site-main > article.page { margin:0 !important; padding:0 !important; }
body.page-id-2349 .ac-conseils-wrapper { max-width:1200px; padding:42px 32px 80px; }
body.page-id-2349 .ac-conseils-breadcrumb { margin-bottom:18px; }
body.page-id-2349 .ac-conseils-title { color:#524235; font-size:clamp(30px,3vw,42px); line-height:1.15; letter-spacing:-.02em; margin-bottom:16px; }
body.page-id-2349 .ac-conseils-intro { max-width:760px; color:#625950; font-size:16px; margin-bottom:44px; }
body.page-id-2349 .ac-conseils-section { grid-template-columns:minmax(210px,260px) minmax(0,1fr); gap:42px; margin-bottom:56px; }
body.page-id-2349 .ac-conseils-guide-card { border:1px solid #e7e5de; box-shadow:0 8px 22px rgba(82,66,53,.06); }
body.page-id-2349 .ac-conseils-guide-card-img[src*="placeholder.jpg"] { opacity:0; }
body.page-id-2349 .ac-conseils-guide-card:has(.ac-conseils-guide-card-img[src*="placeholder.jpg"]) { background:linear-gradient(135deg,#f3f3ed 0%,#e8eadf 100%); }
body.page-id-2349 .ac-conseils-grid-item { padding:0 0 12px; border-radius:8px; overflow:hidden; background:#f5f5f0; }
body.page-id-2349 .ac-conseils-grid-item-img[src*="placeholder.jpg"] { opacity:0; }
body.page-id-2349 .ac-conseils-grid-item-label { display:block; padding:0 12px; }
@media (max-width:768px){ body.page-id-2349 .ac-conseils-wrapper{padding:28px 18px 56px;} body.page-id-2349 .ac-conseils-section{grid-template-columns:1fr;gap:22px;} body.page-id-2349 .ac-conseils-guide-card{display:grid;grid-template-columns:140px minmax(0,1fr);} body.page-id-2349 .ac-conseils-guide-card-img{height:100%;min-height:132px;} }

/* Images de règles Odoo : rendu rectangulaire et recadré */
body.single-product .woocommerce-product-gallery .acox-image-rule-preview {
    overflow: hidden !important;
}

body.single-product .woocommerce-product-gallery .acox-image-rule-preview img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    display: block !important;
}


/* Recettage — animations CTA alignées sur les maquettes
 * Aucun déplacement ni ombre ajoutée artificiellement : les CTA conservent
 * uniquement les transitions d'état prévues par leurs styles de base.
 */
body .elementor-widget-button .elementor-button,
body .acox-options-section .single_add_to_cart_button,
body .woocommerce div.product form.cart .single_add_to_cart_button,
body #acox-sticky-cart-btn,
body .acox-cat__card-cta,
body .acox-expert-card__cta,
body .acox-expert-card__panel a,
body .acox-cta-link,
body .acox-cat__filter-clear,
body .acox-cat__filter-reset {
    transition: background-color .22s ease, color .22s ease, border-color .22s ease, fill .22s ease, opacity .22s ease !important;
}

@media (hover: hover) and (pointer: fine) {
    body .elementor-widget-button .elementor-button:hover,
    body .acox-options-section .single_add_to_cart_button:hover:not(:disabled),
    body .woocommerce div.product form.cart .single_add_to_cart_button:hover:not(:disabled),
    body #acox-sticky-cart-btn:hover,
    body .acox-cat__card-cta:hover,
    body .acox-expert-card__cta:hover,
    body .acox-expert-card__panel a:hover,
    body .acox-cta-link:hover,
    body .acox-cat__filter-clear:hover,
    body .acox-cat__filter-reset:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

body .elementor-widget-button .elementor-button:active,
body .acox-options-section .single_add_to_cart_button:active:not(:disabled),
body .woocommerce div.product form.cart .single_add_to_cart_button:active:not(:disabled),
body #acox-sticky-cart-btn:active,
body .acox-cat__card-cta:active,
body .acox-expert-card__cta:active,
body .acox-expert-card__panel a:active,
body .acox-cta-link:active,
body .acox-cat__filter-clear:active,
body .acox-cat__filter-reset:active {
    transform: none !important;
    box-shadow: none !important;
}

body .elementor-widget-button .elementor-button:focus-visible,
body .acox-options-section .single_add_to_cart_button:focus-visible,
body .woocommerce div.product form.cart .single_add_to_cart_button:focus-visible,
body #acox-sticky-cart-btn:focus-visible,
body .acox-cat__card-cta:focus-visible,
body .acox-expert-card__cta:focus-visible,
body .acox-expert-card__panel a:focus-visible,
body .acox-cta-link:focus-visible,
body .acox-cat__filter-clear:focus-visible,
body .acox-cat__filter-reset:focus-visible {
    outline: 2px solid #8FBD46;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    body .elementor-widget-button .elementor-button,
    body .acox-options-section .single_add_to_cart_button,
    body .woocommerce div.product form.cart .single_add_to_cart_button,
    body #acox-sticky-cart-btn,
    body .acox-cat__card-cta,
    body .acox-expert-card__cta,
    body .acox-expert-card__panel a,
    body .acox-cta-link,
    body .acox-cat__filter-clear,
    body .acox-cat__filter-reset {
        transition: none !important;
    }
}


/* Recettage — structure commune de la fiche produit */
body.single-product div.product > .acox-product-main {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 0 40px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
body.single-product div.product > .acox-product-main > .woocommerce-product-gallery,
body.single-product div.product > .acox-product-main > .summary.entry-summary {
    flex: 1 1 calc(50% - 20px) !important;
    width: calc(50% - 20px) !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
}
body.single-product div.product > .acox-product-main > .storefront-product-pagination {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
@media (max-width: 768px) {
    body.single-product div.product > .acox-product-main > .woocommerce-product-gallery,
    body.single-product div.product > .acox-product-main > .summary.entry-summary {
        flex-basis: 100% !important;
        width: 100% !important;
    }
}


/* Correctif — conserver la galerie produit sticky après le wrapper commun */
@media (min-width: 769px) {
    body.single-product div.product > .acox-product-main > .woocommerce-product-gallery {
        position: sticky !important;
        top: 80px !important;
        align-self: flex-start !important;
        z-index: 1 !important;
        flex: 0 0 calc(52% - 30px) !important;
        width: calc(52% - 30px) !important;
        max-width: calc(52% - 30px) !important;
    }
}
@media (max-width: 768px) {
    body.single-product div.product > .acox-product-main > .woocommerce-product-gallery {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}


/* Correctif — conserver deux colonnes réelles dans le wrapper produit sticky */
@media (min-width: 769px) {
    body.single-product div.product > .acox-product-main {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        gap: 0 60px !important;
    }
    body.single-product div.product > .acox-product-main > .woocommerce-product-gallery {
        flex: 0 0 calc(52% - 30px) !important;
        width: calc(52% - 30px) !important;
        max-width: calc(52% - 30px) !important;
        box-sizing: border-box !important;
    }
    body.single-product div.product > .acox-product-main > .summary.entry-summary {
        flex: 0 0 calc(48% - 30px) !important;
        width: calc(48% - 30px) !important;
        max-width: calc(48% - 30px) !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    body.single-product div.product > .acox-product-main > .storefront-product-pagination {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}
@media (max-width: 768px) {
    body.single-product div.product > .acox-product-main {
        gap: 20px 0 !important;
    }
}
