/* ============================================================ */
/*  SINGLE PRODUIT - THEME STYLE (TWENTYTWENTYFIVE CHILD)      */
/* ============================================================ */

/* Wrapper principal a ajouter sur le Group parent */
body.single-product .mc-single-product-page {
    max-width: min(var(--mc-container), calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(34px, 4.2vw, 64px) 0 92px;
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--mc-text);
    position: relative;
    isolation: isolate;
}

body.single-product .mc-single-product-page::before,
body.single-product .mc-single-product-page::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

body.single-product .mc-single-product-page::before {
    top: clamp(34px, 4vw, 70px);
    right: clamp(-88px, -4vw, -18px);
    width: clamp(170px, 20vw, 280px);
    aspect-ratio: 1 / 1;
    background: radial-gradient(circle at center, rgba(255, 228, 234, 0.78) 0 68%, rgba(255, 228, 234, 0) 100%);
}

body.single-product .mc-single-product-page::after {
    top: clamp(520px, 50vw, 760px);
    left: clamp(-90px, -4vw, -20px);
    width: clamp(180px, 22vw, 310px);
    aspect-ratio: 1 / 1;
    background: radial-gradient(circle at center, rgba(201, 74, 106, 0.12) 0 70%, rgba(201, 74, 106, 0) 100%);
}

/* Notices */
body.single-product .mc-single-product-page .wc-block-components-notice-banner,
body.single-product .mc-single-product-page .woocommerce-message,
body.single-product .mc-single-product-page .woocommerce-info,
body.single-product .mc-single-product-page .woocommerce-error {
    border-radius: 14px;
    border: 1px solid rgba(217, 204, 191, 0.8);
    background: #fff;
    box-shadow: 0 10px 22px rgba(29, 23, 23, 0.06);
}

/* Bloc principal 2 colonnes */
body.single-product .mc-single-product-main {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(22px, 3vw, 42px);
    align-items: start;
    margin: 0 0 30px;
}

/* Colonne galerie */
body.single-product .mc-single-product-gallery-col .wp-block-woocommerce-product-gallery,
body.single-product .mc-single-product-gallery-col .wp-block-woocommerce-product-image-gallery,
body.single-product .mc-single-product-gallery-col .wc-block-product-gallery {
    position: sticky;
    top: calc(var(--mc-header-height-desktop) + 20px);
    padding: clamp(12px, 1.7vw, 18px);
    border: 1px solid rgba(217, 204, 191, 0.78);
    border-radius: 24px;
    background:
        radial-gradient(circle at 84% 14%, rgba(201, 74, 106, 0.1) 0%, rgba(201, 74, 106, 0) 34%),
        linear-gradient(175deg, #fffaf4 0%, #f8eee3 100%);
    box-shadow: 0 16px 32px rgba(29, 23, 23, 0.1);
}

body.single-product .mc-single-product-gallery-col .wp-block-woocommerce-product-gallery img,
body.single-product .mc-single-product-gallery-col .wp-block-woocommerce-product-image-gallery img,
body.single-product .mc-single-product-gallery-col .wc-block-product-gallery img {
    border-radius: 16px;
}

/* Colonne infos produit */
body.single-product .mc-single-product-summary-col {
    padding: clamp(20px, 2.3vw, 28px);
    border: 1px solid rgba(217, 204, 191, 0.82);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 250, 244, 0.94) 0%, #ffffff 100%);
    box-shadow: 0 14px 26px rgba(29, 23, 23, 0.07);
}

body.single-product .mc-single-product-summary-col > * {
    margin-top: 0;
    margin-bottom: 0;
}

body.single-product .mc-single-product-summary-col > * + * {
    margin-top: clamp(12px, 1.5vw, 18px);
}

body.single-product .mc-single-product-summary-col .wp-block-woocommerce-product-title {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 2.8vw, 2.7rem);
    font-style: italic;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
    color: var(--mc-text);
}

body.single-product .mc-single-product-summary-col .wc-block-components-product-rating,
body.single-product .mc-single-product-summary-col .wc-block-components-review-list-item__rating {
    color: var(--mc-berry);
}

body.single-product .mc-single-product-summary-col .wp-block-woocommerce-product-price,
body.single-product .mc-single-product-summary-col .wc-block-components-product-price {
    color: var(--mc-berry-dark);
    font-size: clamp(1.45rem, 2vw, 1.95rem);
    font-weight: 800;
    line-height: 1.1;
}

body.single-product .mc-single-product-summary-col .wp-block-woocommerce-product-summary,
body.single-product .mc-single-product-summary-col .wp-block-woocommerce-product-summary p {
    color: var(--mc-text-soft);
    font-size: 0.98rem;
    line-height: 1.68;
}

/* Add to cart */
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) {
    --mc-single-control-height: 46px;
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(217, 204, 191, 0.56);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 249, 243, 0.92) 0%, rgba(255, 255, 255, 0.9) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) form,
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .cart {
    margin: 0;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .variations {
    width: 100%;
    margin: 0 0 12px;
    border-collapse: separate;
    border-spacing: 0 8px;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .variations tbody {
    display: block;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .variations tr {
    display: grid;
    grid-template-columns: 132px minmax(0, 360px);
    gap: 12px;
    align-items: center;
    justify-content: start;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .variations th,
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .variations td {
    display: flex;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    line-height: 1;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .variations label {
    margin: 0;
    color: var(--mc-text);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .variations select {
    width: 100%;
    max-width: 360px;
    height: var(--mc-single-control-height);
    margin: 0;
    padding: 0 40px 0 16px;
    border: 1px solid var(--mc-border-soft);
    border-radius: var(--mc-radius-pill);
    background-color: #fff;
    color: var(--mc-text);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.1;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(29, 23, 23, 0.04);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%235E514E'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .variations select:hover,
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .variations select:focus-visible {
    border-color: var(--mc-berry);
    background-color: #fffdfb;
    box-shadow: 0 0 0 3px rgba(183, 15, 63, 0.11), 0 8px 18px rgba(29, 23, 23, 0.04);
    outline: none;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .variations select option {
    color: var(--mc-text);
    background-color: #fffaf4;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .mc-variation-enhanced .variations select[data-mc-variation-enhanced="1"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .mc-variation-panel {
    position: relative;
    width: 100%;
    max-width: 360px;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .mc-variation-current {
    width: 100%;
    min-height: var(--mc-single-control-height);
    margin: 0;
    padding: 0 40px 0 16px;
    border: 1px solid var(--mc-border-soft);
    border-radius: var(--mc-radius-pill);
    background: #fff;
    color: var(--mc-text);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    position: relative;
    box-shadow: 0 8px 18px rgba(29, 23, 23, 0.04);
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .mc-variation-current::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 10px;
    height: 6px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%235E514E'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .mc-variation-current:hover,
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .mc-variation-current:focus-visible,
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .mc-variation-panel.is-open .mc-variation-current {
    border-color: var(--mc-berry);
    background-color: #fffdfb;
    box-shadow: 0 0 0 3px rgba(183, 15, 63, 0.11), 0 8px 18px rgba(29, 23, 23, 0.04);
    outline: none;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .mc-variation-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 80;
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 7px;
    list-style: none;
    border: 1px solid var(--mc-border-soft);
    border-radius: 14px;
    background: #fffaf4;
    box-shadow: 0 12px 24px rgba(29, 23, 23, 0.12);
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .mc-variation-menu[hidden] {
    display: none !important;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .mc-variation-option {
    position: relative;
    width: 100%;
    min-height: 34px;
    padding: 7px 10px 7px 32px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--mc-text);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .mc-variation-option::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 6px;
    height: 11px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    opacity: 0;
    transform: translateY(-60%) rotate(45deg);
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .mc-variation-option:hover,
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .mc-variation-option:focus-visible {
    background: #f7e8ed;
    color: var(--mc-berry-dark);
    outline: none;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .mc-variation-option.is-selected {
    background: rgba(183, 15, 63, 0.14);
    color: var(--mc-berry-dark);
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .mc-variation-option.is-selected::before {
    opacity: 1;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .mc-variation-option:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .reset_variations {
    display: inline-flex;
    margin-top: 8px;
    color: var(--mc-text-soft);
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .reset_variations:hover {
    color: var(--mc-berry);
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .single_variation_wrap .woocommerce-variation-add-to-cart,
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) form.cart:not(.variations_form) {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .quantity {
    margin: 0;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .quantity .qty,
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) input.qty,
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) input[type="number"].qty {
    width: 66px;
    height: var(--mc-single-control-height);
    margin: 0;
    padding: 0 10px;
    border: 1px solid var(--mc-border-soft);
    border-radius: 16px;
    background: #fff;
    color: var(--mc-text);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    box-shadow: 0 8px 18px rgba(29, 23, 23, 0.04);
    appearance: textfield;
    -moz-appearance: textfield;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .quantity .qty::-webkit-outer-spin-button,
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .quantity .qty::-webkit-inner-spin-button,
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) input.qty::-webkit-outer-spin-button,
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) input.qty::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .quantity .qty:hover,
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .quantity .qty:focus-visible,
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) input.qty:hover,
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) input.qty:focus-visible {
    border-color: var(--mc-berry);
    background-color: #fffdfb;
    box-shadow: 0 0 0 3px rgba(183, 15, 63, 0.11), 0 8px 18px rgba(29, 23, 23, 0.04);
    outline: none;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .wc-block-components-quantity-selector {
    border: 1px solid var(--mc-border-soft);
    border-radius: 16px;
    min-height: var(--mc-single-control-height);
    background: #fff;
    box-shadow: 0 8px 18px rgba(29, 23, 23, 0.04);
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .wc-block-components-quantity-selector:hover,
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .wc-block-components-quantity-selector:focus-within {
    border-color: var(--mc-berry);
    background-color: #fffdfb;
    box-shadow: 0 0 0 3px rgba(183, 15, 63, 0.11), 0 8px 18px rgba(29, 23, 23, 0.04);
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .single_add_to_cart_button,
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) button[type="submit"],
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .wp-element-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 300px;
    min-height: var(--mc-single-control-height);
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.44);
    border-radius: var(--mc-radius-pill);
    background: linear-gradient(180deg, #bf1548 0%, #b70f3f 100%);
    box-shadow: 0 9px 20px rgba(183, 15, 63, 0.26);
    color: #fff;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .single_add_to_cart_button:hover,
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) button[type="submit"]:hover,
body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .wp-element-button:hover {
    background: var(--mc-berry-dark);
    box-shadow: 0 12px 24px rgba(183, 15, 63, 0.34);
}

/* Meta produit (Row interne a classer) */
body.single-product .mc-single-product-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 2px;
}

body.single-product .mc-single-product-meta-row > * {
    margin: 0;
}

body.single-product .mc-single-product-meta-row :is(.wp-block-woocommerce-product-sku, .wp-block-woocommerce-product-categories, .wp-block-woocommerce-product-tags, .wp-block-woocommerce-product-attributes, .wp-block-woocommerce-product-terms, .wp-block-post-terms) {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid rgba(217, 204, 191, 0.78);
    border-radius: 11px;
    background: rgba(255, 250, 244, 0.92);
    color: var(--mc-text-soft);
    font-size: 0.78rem;
    line-height: 1.25;
}

body.single-product .mc-single-product-meta-row a {
    color: var(--mc-berry-dark);
    text-decoration: none;
    font-weight: 600;
}

body.single-product .mc-single-product-meta-row a:hover {
    color: var(--mc-berry);
}

/* Details produit */
body.single-product .mc-single-product-details,
body.single-product .mc-single-product-page .wp-block-woocommerce-product-details {
    margin-top: 8px;
    padding: clamp(18px, 2.2vw, 26px);
    border: 1px solid rgba(217, 204, 191, 0.78);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(29, 23, 23, 0.06);
}

body.single-product .mc-single-product-page .wp-block-woocommerce-product-details summary {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mc-text);
}

/* Ingredients, allergenes et traces */
body.single-product .wcbi-product-infos,
body.single-product .wcbi-product-infos * {
    box-sizing: border-box;
}

body.single-product .wcbi-product-infos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
    align-items: start;
    gap: 14px;
    margin: clamp(14px, 1.8vw, 22px) 0 0;
    padding: clamp(14px, 1.8vw, 18px);
    border: 1px solid rgba(217, 204, 191, 0.72);
    border-radius: 18px;
    background:
        radial-gradient(circle at 96% 0%, rgba(201, 74, 106, 0.1) 0%, rgba(201, 74, 106, 0) 34%),
        linear-gradient(180deg, rgba(255, 250, 244, 0.96) 0%, rgba(255, 255, 255, 0.94) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 22px rgba(29, 23, 23, 0.05);
    color: var(--mc-text);
    font-family: 'DM Sans', system-ui, sans-serif;
}

body.single-product .wcbi-product-infos__title {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--mc-text);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.22rem, 1.7vw, 1.52rem);
    font-style: italic;
    font-weight: 700;
    line-height: 1.12;
}

body.single-product .wcbi-product-infos__section {
    display: grid;
    align-content: start;
    align-items: start;
    gap: 12px;
    min-width: 0;
    margin: 0;
    padding: 13px;
    border: 1px solid rgba(232, 221, 210, 0.82);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
}

body.single-product .wcbi-product-infos__title + .wcbi-product-infos__section,
body.single-product .wcbi-product-infos__section + .wcbi-product-infos__section {
    margin-top: 0;
}

body.single-product .wcbi-product-infos__section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--mc-text);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

body.single-product .wcbi-product-infos__section-title::before {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--mc-berry);
    box-shadow: 0 0 0 4px rgba(183, 15, 63, 0.1);
}

body.single-product .wcbi-product-infos__list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.single-product .wcbi-product-infos .wcbi-product-infos__section .wcbi-product-infos__list > li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 36px;
    margin: 0;
    padding: 7px 13px;
    border: 1px solid rgba(217, 204, 191, 0.86);
    border-radius: 999px;
    background: #fff;
    color: var(--mc-text-soft);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 6px 14px rgba(29, 23, 23, 0.035);
}

body.single-product .wcbi-product-infos__section:nth-of-type(2) .wcbi-product-infos__list > li {
    border-color: rgba(183, 15, 63, 0.24);
    background: rgba(247, 232, 237, 0.76);
    color: var(--mc-berry-dark);
}

body.single-product .wcbi-product-infos__section:nth-of-type(3) .wcbi-product-infos__list > li {
    border-color: rgba(217, 204, 191, 0.9);
    background: rgba(255, 250, 244, 0.96);
}

/* Produits similaires */
body.single-product .mc-single-related {
    margin-top: clamp(34px, 4vw, 52px);
}

body.single-product .mc-single-related > h2,
body.single-product .mc-single-related .wp-block-heading {
    margin: 0 0 14px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.45rem, 2.2vw, 1.95rem);
    font-style: italic;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--mc-text);
}

/* Si tu mets `mc-shop-card` sur le bloc "Modele de produit", on re-utilise la DA boutique */
body.single-product .mc-single-related ul.wc-block-product-template.mc-shop-card {
    margin-top: 8px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    padding: 0 !important;
    list-style: none !important;
}

body.single-product .mc-single-related ul.wc-block-product-template.mc-shop-card > li.wc-block-product {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
}

/* Fallback: sans classe image, on n'applique pas le mode absolu */
body.single-product .mc-single-related ul.wc-block-product-template.mc-shop-card li.wc-block-product .wc-block-components-product-image:not(.mc-shop-card-image),
body.single-product .mc-single-related ul.wc-block-product-template.mc-shop-card li.wc-block-product .wc-block-grid__product-image:not(.mc-shop-card-image) {
    position: static !important;
    inset: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1 !important;
}

body.single-product .mc-single-related ul.wc-block-product-template.mc-shop-card li.wc-block-product .wc-block-components-product-image:not(.mc-shop-card-image) img,
body.single-product .mc-single-related ul.wc-block-product-template.mc-shop-card li.wc-block-product .wc-block-grid__product-image:not(.mc-shop-card-image) img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: cover !important;
    border-radius: 14px !important;
    box-shadow: none !important;
}

/* Sur la page single, l'inner container Woo doit rester visible */
body.single-product .mc-single-related ul.wc-block-product-template.mc-shop-card .wc-block-components-product-image__inner-container {
    display: block !important;
}

@media (max-width: 1024px) {
    body.single-product .mc-single-product-main {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.single-product .mc-single-product-gallery-col .wp-block-woocommerce-product-gallery,
    body.single-product .mc-single-product-gallery-col .wp-block-woocommerce-product-image-gallery,
    body.single-product .mc-single-product-gallery-col .wc-block-product-gallery {
        position: static;
    }

    body.single-product .mc-single-related ul.wc-block-product-template.mc-shop-card {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    body.single-product .mc-single-product-page {
        max-width: calc(100% - 24px);
        padding: 26px 0 68px;
    }

    body.single-product .mc-single-product-page::before {
        width: clamp(120px, 36vw, 170px);
        right: clamp(-50px, -12vw, -14px);
    }

    body.single-product .mc-single-product-page::after {
        width: clamp(130px, 36vw, 190px);
        left: clamp(-52px, -12vw, -12px);
        top: clamp(610px, 118vw, 860px);
    }

    body.single-product .mc-single-product-page .wc-block-breadcrumbs,
    body.single-product .mc-single-product-page .wp-block-breadcrumbs,
    body.single-product .mc-single-product-page .woocommerce-breadcrumb {
        width: 100%;
        font-size: 0.76rem;
    }

    body.single-product .mc-single-product-summary-col {
        padding: 16px;
        border-radius: 16px;
    }

    body.single-product .mc-single-product-summary-col .wp-block-woocommerce-product-title {
        font-size: clamp(1.6rem, 8.5vw, 2rem);
    }

    body.single-product .wcbi-product-infos {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
        border-radius: 16px;
    }

    body.single-product .wcbi-product-infos__title {
        font-size: 1.24rem;
    }

    body.single-product .wcbi-product-infos__section {
        gap: 8px;
        padding: 12px;
        border-radius: 13px;
    }

    body.single-product .wcbi-product-infos__list {
        gap: 6px;
    }

    body.single-product .wcbi-product-infos .wcbi-product-infos__section .wcbi-product-infos__list > li {
        height: auto;
        min-height: 32px;
        padding: 6px 10px;
        font-size: 0.8rem;
        white-space: normal;
    }

    body.single-product .mc-single-related ul.wc-block-product-template.mc-shop-card {
        gap: 12px !important;
    }
}

@media (max-width: 560px) {
    body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) {
        --mc-single-control-height: 44px;
        padding: 10px;
    }

    body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .variations tr {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .variations label {
        white-space: normal;
    }

    body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .single_variation_wrap .woocommerce-variation-add-to-cart,
    body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) form.cart:not(.variations_form) {
        align-items: stretch;
        gap: 10px;
    }

    body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .quantity .qty,
    body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) input.qty,
    body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) input[type="number"].qty {
        width: 68px;
    }

    body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .single_add_to_cart_button,
    body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) button[type="submit"],
    body.single-product .mc-single-product-summary-col :is(.wp-block-woocommerce-add-to-cart-with-options, .wp-block-woocommerce-add-to-cart-form) .wp-element-button {
        flex-basis: calc(100% - 78px);
        min-width: 0;
        padding-inline: 18px;
    }

    body.single-product .mc-single-related ul.wc-block-product-template.mc-shop-card {
        grid-template-columns: 1fr !important;
    }
}
