:root {
    --kahlo-gold: #DCA54A;
    --kahlo-gold-hover: #D09A40;
    --kahlo-ink: #0F172A;
    --kahlo-text: #4A4A4A;
    --kahlo-cream: #FAF5E5;
    --kahlo-soft: #F0E6C5;
    --kahlo-coffee: #141004;
    --kahlo-plum: #6B3F57;
    --kahlo-rose: #B07A8B;
    --kahlo-white: #FFFFFF;
    --kahlo-border: #DDDDDD;
    --kahlo-footer: #011627;
}

body.single-product.kahlo-product-experience {
    background: var(--kahlo-cream);
    color: var(--kahlo-text);
    font-family: 'Montserrat', sans-serif;
}

body.single-product.kahlo-product-experience.ast-theme-transparent-header #masthead {
    position: relative !important;
    inset: auto !important;
}

.single-product.kahlo-product-experience .ast-primary-header-bar,
.single-product.kahlo-product-experience .main-header-bar {
    background: var(--kahlo-coffee) !important;
    border-bottom: 0 !important;
}

.single-product.kahlo-product-experience .main-header-menu .menu-link,
.single-product.kahlo-product-experience .site-header a,
.single-product.kahlo-product-experience .ast-header-button-1 .ast-custom-button-link,
.single-product.kahlo-product-experience .ast-header-button-1 .ast-custom-button {
    color: #F9F8F8 !important;
}

.single-product.kahlo-product-experience .main-header-menu .menu-item:hover > .menu-link,
.single-product.kahlo-product-experience .main-header-menu .current-menu-item > .menu-link {
    color: var(--kahlo-gold) !important;
}

.single-product.kahlo-product-experience .ast-header-button-1 .ast-custom-button {
    background: transparent !important;
    border: 1px solid #FFFFFF !important;
    color: #FFFFFF !important;
    border-radius: 30px !important;
    padding: 10px 20px !important;
}

.single-product.kahlo-product-experience .ast-header-button-1 .ast-custom-button:hover {
    background: var(--kahlo-plum) !important;
    border-color: var(--kahlo-plum) !important;
}

/* Footer : évite la bande dorée visible en V4 */
body.single-product.kahlo-product-experience .site-footer,
body.single-product.kahlo-product-experience .site-primary-footer-wrap,
body.single-product.kahlo-product-experience .site-below-footer-wrap {
    background-color: var(--kahlo-footer) !important;
}

.kahlo-product-shell {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--kahlo-cream);
}

.kahlo-product-shell *,
.kahlo-product-shell *::before,
.kahlo-product-shell *::after {
    box-sizing: border-box;
}

.kahlo-wrap {
    width: min(1170px, calc(100% - 40px));
    margin-inline: auto;
}

.kahlo-small-heading,
.kahlo-product-type {
    margin-bottom: 10px;
    color: var(--kahlo-gold);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .02em;
}

.kahlo-product-shell h2 {
    margin: 0 !important;
    color: var(--kahlo-ink) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 34px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

/* Hero produit */
.kahlo-product-hero {
    padding: 72px 0 78px;
    background: var(--kahlo-cream);
}

.kahlo-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1fr);
    gap: 58px;
    align-items: center;
}

.kahlo-product-gallery {
    width: 100%;
    max-width: 440px;
    justify-self: center;
}

.kahlo-gallery-caption {
    margin: 0 0 12px;
    color: #8B8178;
    font-size: 11px;
    line-height: 1.4;
}

.kahlo-product-gallery .woocommerce-product-gallery {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

.kahlo-product-gallery .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
}

.kahlo-product-gallery .woocommerce-product-gallery__image {
    overflow: hidden;
}

.kahlo-product-gallery .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    transition: transform .7s cubic-bezier(.2,.65,.25,1);
}

.kahlo-product-gallery .woocommerce-product-gallery__image:hover img {
    transform: scale(1.012);
}

.kahlo-product-gallery .woocommerce-product-gallery__trigger {
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    width: 32px !important;
    height: 32px !important;
    background: rgba(255,255,255,.9) !important;
    border-radius: 50% !important;
}

.kahlo-product-gallery .flex-control-thumbs {
    display: flex !important;
    gap: 9px;
    margin: 10px 0 0 !important;
}

.kahlo-product-gallery .flex-control-thumbs li {
    float: none !important;
    width: 62px !important;
}

.kahlo-product-gallery .flex-control-thumbs img {
    border-radius: 3px;
    opacity: .58;
}

.kahlo-product-gallery .flex-control-thumbs img.flex-active,
.kahlo-product-gallery .flex-control-thumbs img:hover {
    opacity: 1;
}

.kahlo-product-info {
    max-width: 535px;
}

.kahlo-product-title {
    margin: 0 0 12px !important;
    color: var(--kahlo-ink) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 42px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

.kahlo-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: var(--kahlo-text);
    font-size: 13px;
}

.kahlo-rating .star-rating {
    margin: 0;
}

.kahlo-product-price {
    margin: 0 0 20px;
}

.kahlo-product-price .price,
.kahlo-product-price > span,
.kahlo-product-price ins,
.kahlo-product-price bdi {
    color: var(--kahlo-ink) !important;
    font-size: 21px !important;
    line-height: 1.2;
    font-weight: 700 !important;
    text-decoration: none;
}

.kahlo-product-price del,
.kahlo-product-price del bdi {
    color: #8A8A8A !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.kahlo-short-description {
    color: var(--kahlo-text);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 16px;
}

.kahlo-short-description p {
    margin-bottom: 12px;
}

.kahlo-short-description p:last-child {
    margin-bottom: 0;
}

.kahlo-profile-line {
    margin: 0 0 21px;
    color: var(--kahlo-plum);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
}

/* Achat */
.kahlo-buy-zone {
    padding-top: 20px;
    border-top: 1px solid rgba(15,23,42,.12);
}

.kahlo-buy-zone form.cart {
    margin: 0 !important;
}

.kahlo-buy-zone table.variations {
    width: 100%;
    margin: 0 0 14px !important;
    border: 0 !important;
}

.kahlo-buy-zone table.variations tbody,
.kahlo-buy-zone table.variations tr,
.kahlo-buy-zone table.variations th,
.kahlo-buy-zone table.variations td {
    display: block;
    width: 100%;
    border: 0 !important;
    padding: 0 !important;
}

.kahlo-buy-zone table.variations th {
    margin-bottom: 8px;
}

.kahlo-buy-zone table.variations tr + tr {
    margin-top: 13px;
}

.kahlo-buy-zone table.variations label {
    color: var(--kahlo-ink);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

/* Le select WooCommerce reste dans le DOM mais les boutons deviennent l'UI */
.kahlo-buy-zone select.kahlo-select-enhanced {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.kahlo-variation-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.kahlo-variation-pill {
    min-width: 82px;
    min-height: 42px;
    padding: 9px 17px !important;
    border: 1px solid rgba(15,23,42,.20) !important;
    border-radius: 30px !important;
    background: transparent !important;
    color: var(--kahlo-ink) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: .2s ease;
}

.kahlo-variation-pill:hover {
    border-color: var(--kahlo-plum) !important;
    color: var(--kahlo-plum) !important;
}

.kahlo-variation-pill.is-active {
    border-color: var(--kahlo-plum) !important;
    background: var(--kahlo-plum) !important;
    color: #FFFFFF !important;
}

.kahlo-buy-zone .reset_variations {
    display: inline-block;
    margin-top: 8px;
    color: var(--kahlo-gold) !important;
    font-size: 11px;
}

.kahlo-choice-note {
    min-height: 18px;
    margin-top: 8px;
    color: #81776F;
    font-size: 11px;
    line-height: 1.5;
}

.kahlo-buy-zone .woocommerce-variation-description {
    color: var(--kahlo-text);
    font-size: 13px;
    line-height: 1.6;
}

.kahlo-buy-zone .woocommerce-variation-price {
    margin: 8px 0 12px;
}

.kahlo-buy-zone .stock {
    margin: 8px 0 12px;
    color: var(--kahlo-text);
    font-size: 13px;
    font-weight: 700;
}

.kahlo-buy-zone .woocommerce-variation-add-to-cart,
.kahlo-buy-zone form.cart:not(.variations_form) {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.kahlo-buy-zone .quantity {
    display: inline-flex !important;
    align-items: stretch;
    height: 44px;
    border: 1px solid var(--kahlo-border);
    border-radius: 30px;
    background: #FFFFFF;
    overflow: hidden;
    margin: 0 !important;
}

.kahlo-buy-zone .quantity .qty {
    width: 40px !important;
    min-height: 42px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--kahlo-ink) !important;
    box-shadow: none !important;
    text-align: center;
    -moz-appearance: textfield;
}

.kahlo-buy-zone .quantity .qty::-webkit-outer-spin-button,
.kahlo-buy-zone .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.kahlo-qty-btn {
    width: 33px;
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--kahlo-ink) !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    cursor: pointer;
}

.kahlo-qty-btn:hover {
    color: var(--kahlo-plum) !important;
}

.kahlo-buy-zone .single_add_to_cart_button {
    min-height: 44px !important;
    flex: 1 1 220px;
    padding: 10px 20px !important;
    border: 1px solid var(--kahlo-plum) !important;
    border-radius: 30px !important;
    background: var(--kahlo-plum) !important;
    color: #FFFFFF !important;
    font-family: inherit !important;
    font-size: 15px !important;
    line-height: 1em !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    transition: .2s ease;
}

.kahlo-buy-zone .single_add_to_cart_button:hover,
.kahlo-buy-zone .single_add_to_cart_button:focus {
    background: var(--kahlo-rose) !important;
    border-color: var(--kahlo-rose) !important;
    color: #FFFFFF !important;
}

.kahlo-buy-zone .single_add_to_cart_button.disabled {
    opacity: .46 !important;
}

.kahlo-reassurance {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 17px;
    margin-top: 16px;
    color: #777;
    font-size: 11px;
    line-height: 1.5;
}

.kahlo-reassurance span {
    position: relative;
    padding-left: 11px;
}

.kahlo-reassurance span::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--kahlo-gold);
}

/* Signature sensorielle */
.kahlo-sensory-section {
    padding: 72px 0;
    background: #FFFFFF;
    border-top: 1px solid rgba(0,0,0,.07);
    border-bottom: 1px solid rgba(0,0,0,.07);
}

.kahlo-sensory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.kahlo-fingerprint h2 {
    margin-bottom: 24px !important;
}

.kahlo-fingerprint-visual {
    max-width: 470px;
}

.kahlo-fingerprint-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.kahlo-fingerprint-guide {
    fill: none;
    stroke: rgba(15,23,42,.10);
    stroke-width: 1;
}

.kahlo-fingerprint-path {
    fill: none;
    stroke: var(--kahlo-gold);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 1.2s cubic-bezier(.2,.7,.2,1);
}

.kahlo-fingerprint-point {
    fill: var(--kahlo-plum);
    opacity: 0;
    transition: opacity .3s ease .55s;
}

.kahlo-sensory-section.is-inview .kahlo-fingerprint-path {
    stroke-dashoffset: 0;
}

.kahlo-sensory-section.is-inview .kahlo-fingerprint-point {
    opacity: 1;
}

.kahlo-fingerprint-labels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: -3px;
    color: var(--kahlo-text);
    font-size: 12px;
}

.kahlo-fingerprint-labels span:nth-child(2) {
    text-align: center;
}

.kahlo-fingerprint-labels span:nth-child(3) {
    text-align: right;
}

.kahlo-fingerprint-labels strong {
    color: var(--kahlo-ink);
    font-weight: 700;
}

.kahlo-stage-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(15,23,42,.12);
}

.kahlo-stage-tab,
.kahlo-ritual-tab {
    position: relative;
    padding: 0 0 10px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #7A726C !important;
    font-family: inherit !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.kahlo-stage-tab::after,
.kahlo-ritual-tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -1px;
    height: 2px;
    background: var(--kahlo-plum);
    transition: right .25s ease;
}

.kahlo-stage-tab.is-active,
.kahlo-ritual-tab.is-active {
    color: var(--kahlo-ink) !important;
}

.kahlo-stage-tab.is-active::after,
.kahlo-ritual-tab.is-active::after {
    right: 0;
}

.kahlo-stage-panel {
    max-width: 480px;
    min-height: 80px;
    color: var(--kahlo-ink);
    font-size: 22px;
    line-height: 1.45;
    font-weight: 600;
}

/* Story */
.kahlo-story-section {
    padding: 84px 0;
    background: var(--kahlo-cream);
}

.kahlo-story-grid {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 58px;
    align-items: start;
}

.kahlo-story-copy {
    color: var(--kahlo-text);
    font-size: 15px;
    line-height: 1.8;
}

.kahlo-story-copy-inner {
    position: relative;
    max-height: 245px;
    overflow: hidden;
    transition: max-height .45s ease;
}

.kahlo-story-copy.is-expanded .kahlo-story-copy-inner {
    max-height: 1600px;
}

.kahlo-story-copy-inner::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 64px;
    background: linear-gradient(to bottom, rgba(250,245,229,0), var(--kahlo-cream));
    pointer-events: none;
    transition: opacity .2s ease;
}

.kahlo-story-copy.is-expanded .kahlo-story-copy-inner::after {
    opacity: 0;
}

.kahlo-story-copy-inner > * {
    margin-top: 0;
    margin-bottom: 17px;
}

.kahlo-story-copy-inner > *:last-child {
    margin-bottom: 0;
}

.kahlo-story-toggle {
    margin-top: 14px;
    padding: 0 0 4px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--kahlo-plum) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--kahlo-plum) !important;
    font-family: inherit !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}

/* Repères */
.kahlo-details-section {
    padding: 76px 0;
    background: #FFFFFF;
}

.kahlo-details-heading {
    margin-bottom: 34px;
}

.kahlo-details-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    border-top: 1px solid rgba(0,0,0,.10);
    border-bottom: 1px solid rgba(0,0,0,.10);
}

.kahlo-detail {
    min-height: 104px;
    padding: 22px 22px 22px 0;
}

.kahlo-detail + .kahlo-detail {
    border-left: 1px solid rgba(0,0,0,.10);
    padding-left: 22px;
}

.kahlo-detail span {
    display: block;
    margin-bottom: 12px;
    color: #81776F;
    font-size: 12px;
    line-height: 1.4;
}

.kahlo-detail strong {
    display: block;
    color: var(--kahlo-ink);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}

/* Rituel interactif */
.kahlo-ritual-section {
    padding: 82px 0;
    background: var(--kahlo-cream);
    border-top: 1px solid rgba(15,23,42,.09);
    border-bottom: 1px solid rgba(15,23,42,.09);
}

.kahlo-ritual-grid {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 58px;
    align-items: start;
}

.kahlo-ritual-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(15,23,42,.12);
}

.kahlo-ritual-panel {
    min-height: 70px;
    max-width: 520px;
    color: var(--kahlo-ink);
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
}

.kahlo-ritual-note {
    margin-top: 18px;
    color: #81776F;
    font-size: 12px;
    line-height: 1.6;
}

/* Produits associés */
.kahlo-related-section {
    padding: 78px 0 90px;
    background: #FFFFFF;
}

.kahlo-related-heading {
    margin-bottom: 34px;
}

.kahlo-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 42px;
}

.kahlo-related-grid.is-single {
    grid-template-columns: 1fr;
}

.kahlo-related-item {
    display: grid;
    grid-template-columns: minmax(190px, .68fr) 1fr;
    gap: 32px;
    align-items: center;
    max-width: 760px;
}

.kahlo-related-grid:not(.is-single) .kahlo-related-item {
    grid-template-columns: 170px 1fr;
    gap: 22px;
}

.kahlo-related-image {
    display: block;
    overflow: hidden;
    border-radius: 6px;
    background: #FFFFFF;
}

.kahlo-related-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform .55s ease;
}

.kahlo-related-image:hover img {
    transform: scale(1.025);
}

.kahlo-related-contrast {
    margin-bottom: 8px;
    color: var(--kahlo-plum);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 700;
}

.kahlo-related-body h3 {
    margin: 0 0 8px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 26px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}

.kahlo-related-body h3 a {
    color: var(--kahlo-ink) !important;
    text-decoration: none !important;
}

.kahlo-related-price {
    margin-bottom: 16px;
    color: var(--kahlo-text);
    font-size: 14px;
    font-weight: 700;
}

.kahlo-related-price del {
    opacity: .5;
}

.kahlo-related-link {
    display: inline-block;
    padding: 9px 18px;
    border: 1px solid var(--kahlo-plum);
    border-radius: 30px;
    background: var(--kahlo-plum);
    color: #FFFFFF !important;
    font-size: 14px;
    line-height: 1em;
    font-weight: 700;
    text-decoration: none !important;
}

.kahlo-related-link:hover,
.kahlo-related-link:focus {
    background: var(--kahlo-rose);
    border-color: var(--kahlo-rose);
    color: #FFFFFF !important;
}

/* Notices WooCommerce */
.kahlo-product-shell .woocommerce-error,
.kahlo-product-shell .woocommerce-message,
.kahlo-product-shell .woocommerce-info {
    width: min(1170px, calc(100% - 40px));
    margin: 20px auto 0 !important;
    border-radius: 0;
}

/* Révélations très discrètes */
.kahlo-reveal {
    opacity: 1;
    transform: none;
}

html.kahlo-motion-ready .kahlo-reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .55s ease, transform .55s ease;
}

html.kahlo-motion-ready .kahlo-reveal.is-inview {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html.kahlo-motion-ready .kahlo-reveal,
    .kahlo-fingerprint-path,
    .kahlo-fingerprint-point,
    .kahlo-product-gallery .woocommerce-product-gallery__image img,
    .kahlo-related-image img {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        stroke-dashoffset: 0 !important;
    }
}

/* Tablette */
@media (max-width: 921px) {
    .kahlo-wrap,
    .kahlo-product-shell .woocommerce-error,
    .kahlo-product-shell .woocommerce-message,
    .kahlo-product-shell .woocommerce-info {
        width: min(100% - 50px, 1024px);
    }

    .kahlo-product-hero {
        padding: 64px 0;
    }

    .kahlo-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .kahlo-product-title {
        font-size: 36px !important;
    }

    .kahlo-product-shell h2 {
        font-size: 32px !important;
    }

    .kahlo-sensory-grid,
    .kahlo-story-grid,
    .kahlo-ritual-grid {
        gap: 40px;
    }

    .kahlo-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kahlo-detail:nth-child(3) {
        border-left: 0;
        border-top: 1px solid rgba(0,0,0,.10);
        padding-left: 0;
    }

    .kahlo-detail:nth-child(4) {
        border-top: 1px solid rgba(0,0,0,.10);
    }

    .kahlo-related-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .kahlo-wrap,
    .kahlo-product-shell .woocommerce-error,
    .kahlo-product-shell .woocommerce-message,
    .kahlo-product-shell .woocommerce-info {
        width: calc(100% - 40px);
    }

    .kahlo-product-hero {
        padding: 46px 0 54px;
    }

    .kahlo-hero-grid,
    .kahlo-sensory-grid,
    .kahlo-story-grid,
    .kahlo-ritual-grid {
        grid-template-columns: 1fr;
    }

    .kahlo-hero-grid {
        gap: 34px;
    }

    .kahlo-product-gallery {
        max-width: 420px;
    }

    .kahlo-product-title {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    .kahlo-product-shell h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .kahlo-short-description,
    .kahlo-story-copy {
        font-size: 14px;
    }

    .kahlo-product-price .price,
    .kahlo-product-price > span,
    .kahlo-product-price ins,
    .kahlo-product-price bdi {
        font-size: 20px !important;
    }

    .kahlo-buy-zone .woocommerce-variation-add-to-cart,
    .kahlo-buy-zone form.cart:not(.variations_form) {
        align-items: stretch;
    }

    .kahlo-buy-zone .quantity {
        flex: 0 0 118px;
    }

    .kahlo-buy-zone .single_add_to_cart_button {
        flex: 1 1 100%;
        width: 100%;
    }

    .kahlo-reassurance {
        display: grid;
        gap: 4px;
    }

    .kahlo-sensory-section,
    .kahlo-story-section,
    .kahlo-details-section,
    .kahlo-ritual-section,
    .kahlo-related-section {
        padding: 58px 0;
    }

    .kahlo-sensory-grid,
    .kahlo-story-grid,
    .kahlo-ritual-grid {
        gap: 30px;
    }

    .kahlo-stage-panel,
    .kahlo-ritual-panel {
        min-height: 0;
        font-size: 18px;
    }

    .kahlo-stage-tabs,
    .kahlo-ritual-tabs {
        gap: 18px;
    }

    .kahlo-fingerprint-labels {
        font-size: 11px;
        gap: 8px;
    }

    .kahlo-details-heading,
    .kahlo-related-heading {
        margin-bottom: 26px;
    }

    .kahlo-details-grid {
        grid-template-columns: 1fr;
        border-bottom: 0;
    }

    .kahlo-detail,
    .kahlo-detail + .kahlo-detail,
    .kahlo-detail:nth-child(3),
    .kahlo-detail:nth-child(4) {
        min-height: 0;
        padding: 18px 0;
        border-left: 0;
        border-top: 1px solid rgba(0,0,0,.10);
    }

    .kahlo-detail:first-child {
        border-top: 0;
    }

    .kahlo-detail span {
        margin-bottom: 7px;
    }

    .kahlo-related-item,
    .kahlo-related-grid:not(.is-single) .kahlo-related-item {
        grid-template-columns: 110px 1fr;
        gap: 18px;
        align-items: start;
    }

    .kahlo-related-body h3 {
        font-size: 20px !important;
    }

    .kahlo-related-link {
        padding: 9px 15px;
        font-size: 13px;
    }
}


/* =========================================================
   V6 - EXPÉRIENCE KAHLO
   Plus éditoriale, plus immersive, sans changer la grammaire du site
   ========================================================= */

.kahlo-index {
    display: inline-block;
    min-width: 28px;
    margin-right: 8px;
    color: inherit;
    opacity: .62;
    font-variant-numeric: tabular-nums;
}

/* Hero : plus calme, moins "fiche e-commerce" */
.kahlo-product-hero {
    padding-top: 64px;
    padding-bottom: 72px;
}

.kahlo-product-gallery {
    max-width: 430px;
    perspective: 900px;
}

.kahlo-product-gallery .woocommerce-product-gallery {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform .18s ease-out;
}

.kahlo-product-info {
    max-width: 510px;
}

.kahlo-product-title {
    font-size: 40px !important;
}

.kahlo-profile-line {
    color: var(--kahlo-text);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .01em;
}

.kahlo-profile-line::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 1px;
    margin: 0 8px 3px 0;
    background: var(--kahlo-gold);
}

/* Immersion : la section sensorielle devient un vrai moment de rupture */
.kahlo-sensory-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 88px 0 92px;
    background:
        radial-gradient(circle at 16% 18%, rgba(220,165,74,.13), transparent 30%),
        radial-gradient(circle at 86% 74%, rgba(107,63,87,.18), transparent 34%),
        var(--kahlo-coffee);
    border: 0;
}

.kahlo-sensory-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 420px;
    height: 420px;
    right: -170px;
    top: -190px;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 50%;
    box-shadow:
        0 0 0 52px rgba(255,255,255,.018),
        0 0 0 104px rgba(255,255,255,.012);
}

.kahlo-sensory-section .kahlo-small-heading {
    color: var(--kahlo-gold);
}

.kahlo-sensory-section h2 {
    color: #FFFFFF !important;
}

.kahlo-sensory-grid {
    gap: 82px;
}

.kahlo-fingerprint-svg {
    margin-top: 8px;
}

.kahlo-fingerprint-guide {
    stroke: rgba(255,255,255,.13);
}

.kahlo-fingerprint-path {
    stroke: var(--kahlo-gold);
    stroke-width: 3.4;
}

.kahlo-fingerprint-point {
    fill: var(--kahlo-rose);
}

.kahlo-fingerprint-labels {
    color: rgba(255,255,255,.66);
}

.kahlo-fingerprint-labels strong {
    color: #FFFFFF;
}

.kahlo-cup-journey {
    padding-left: 2px;
}

.kahlo-sensory-section .kahlo-stage-tabs {
    border-bottom-color: rgba(255,255,255,.16);
}

.kahlo-sensory-section .kahlo-stage-tab {
    color: rgba(255,255,255,.55) !important;
}

.kahlo-sensory-section .kahlo-stage-tab.is-active {
    color: #FFFFFF !important;
}

.kahlo-sensory-section .kahlo-stage-tab::after {
    background: var(--kahlo-gold);
}

.kahlo-sensory-section .kahlo-stage-panel {
    color: #FFFFFF;
    font-size: 21px;
    line-height: 1.5;
    font-weight: 600;
}

/* Story : plus éditorial, moins de sensation de "bloc" */
.kahlo-story-section {
    padding: 94px 0 88px;
}

.kahlo-story-grid {
    grid-template-columns: 39% 61%;
    gap: 72px;
}

.kahlo-story-copy-inner {
    max-height: 220px;
}

.kahlo-story-toggle {
    color: var(--kahlo-plum) !important;
}

/* Repères : on garde la respiration, mais on élimine l'effet tableau */
.kahlo-details-section {
    padding: 72px 0 76px;
}

.kahlo-details-grid {
    border-top: 1px solid rgba(15,23,42,.12);
    border-bottom: 0;
}

.kahlo-detail {
    padding-top: 24px;
    padding-bottom: 10px;
}

.kahlo-detail + .kahlo-detail {
    border-left-color: rgba(15,23,42,.10);
}

/* Rituel : interaction volontairement simple, comme une dégustation guidée */
.kahlo-ritual-section {
    position: relative;
    padding: 88px 0 94px;
    background: var(--kahlo-soft);
    border: 0;
}

.kahlo-ritual-section::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: min(1170px, calc(100% - 40px));
    height: 1px;
    transform: translateX(-50%);
    background: rgba(15,23,42,.10);
}

.kahlo-ritual-grid {
    grid-template-columns: 39% 61%;
    gap: 72px;
}

.kahlo-ritual-tabs {
    border-bottom-color: rgba(15,23,42,.16);
}

.kahlo-ritual-panel {
    max-width: 500px;
    font-size: 19px;
}

/* Produit opposé : plus éditorial, plus de carte blanche */
.kahlo-related-section {
    padding: 94px 0 105px;
    background: var(--kahlo-cream);
}

.kahlo-related-heading {
    margin-bottom: 40px;
}

.kahlo-related-grid {
    gap: 48px;
}

.kahlo-related-item {
    position: relative;
    max-width: 850px;
    grid-template-columns: 280px 1fr;
    gap: 46px;
}

.kahlo-related-grid:not(.is-single) .kahlo-related-item {
    grid-template-columns: 190px 1fr;
}

.kahlo-related-image {
    border-radius: 4px;
}

.kahlo-related-contrast {
    color: var(--kahlo-text);
    font-weight: 600;
}

.kahlo-related-body h3 {
    font-size: 28px !important;
}

.kahlo-related-link {
    background: transparent;
    color: var(--kahlo-plum) !important;
    border-color: var(--kahlo-plum);
}

.kahlo-related-link:hover,
.kahlo-related-link:focus {
    color: #FFFFFF !important;
}

/* Barre d'achat contextuelle : utile, discrète, uniquement après le hero */
.kahlo-float-buy {
    position: fixed;
    z-index: 999;
    left: 50%;
    bottom: 18px;
    width: min(720px, calc(100% - 34px));
    transform: translate(-50%, calc(100% + 44px));
    opacity: 0;
    pointer-events: none;
    transition: transform .32s cubic-bezier(.2,.75,.2,1), opacity .24s ease;
}

.kahlo-float-buy.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.kahlo-float-buy-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 62px;
    padding: 9px 10px 9px 20px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 36px;
    background: rgba(20,16,4,.96);
    box-shadow: 0 16px 46px rgba(0,0,0,.22);
    backdrop-filter: blur(12px);
}

.kahlo-float-copy {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.kahlo-float-copy strong {
    overflow: hidden;
    color: #FFFFFF;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.kahlo-float-copy span,
.kahlo-float-copy .price,
.kahlo-float-copy bdi {
    color: rgba(255,255,255,.68) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
}

.kahlo-float-action {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 19px !important;
    border: 1px solid var(--kahlo-plum) !important;
    border-radius: 30px !important;
    background: var(--kahlo-plum) !important;
    color: #FFFFFF !important;
    font-family: inherit !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
}

.kahlo-float-action:hover {
    background: var(--kahlo-rose) !important;
    border-color: var(--kahlo-rose) !important;
}

/* Fin : le footer reste entièrement bleu nuit */
body.single-product.kahlo-product-experience .site-footer {
    position: relative;
    z-index: 2;
}

@media (max-width: 921px) {
    .kahlo-sensory-grid,
    .kahlo-story-grid,
    .kahlo-ritual-grid {
        gap: 46px;
    }

    .kahlo-related-item {
        grid-template-columns: 220px 1fr;
    }
}

@media (max-width: 767px) {
    .kahlo-product-title {
        font-size: 28px !important;
    }

    .kahlo-sensory-section {
        padding: 66px 0 70px;
    }

    .kahlo-sensory-section::before {
        width: 280px;
        height: 280px;
        right: -150px;
        top: -130px;
    }

    .kahlo-sensory-grid,
    .kahlo-story-grid,
    .kahlo-ritual-grid {
        gap: 32px;
    }

    .kahlo-story-section,
    .kahlo-ritual-section,
    .kahlo-related-section {
        padding-top: 62px;
        padding-bottom: 66px;
    }

    .kahlo-related-item,
    .kahlo-related-grid:not(.is-single) .kahlo-related-item {
        grid-template-columns: 118px 1fr;
        gap: 18px;
    }

    .kahlo-related-body h3 {
        font-size: 20px !important;
    }

    .kahlo-float-buy {
        bottom: 10px;
        width: calc(100% - 20px);
    }

    .kahlo-float-buy-inner {
        min-height: 56px;
        padding: 7px 7px 7px 14px;
    }

    .kahlo-float-copy span {
        display: none;
    }

    .kahlo-float-action {
        min-height: 40px;
        padding: 9px 14px !important;
        font-size: 12px !important;
    }
}


/* =========================================================
   V7 - "EXPÉRIENCE DÉGUSTATION"
   Une page plus vivante, sans devenir démonstrative
   ========================================================= */

/* Le CTA d'expérience reste secondaire par rapport à l'achat */
.kahlo-taste-launch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--kahlo-ink) !important;
    font-family: inherit !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.kahlo-taste-launch::after {
    content: "↗";
    display: inline-grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border: 1px solid rgba(15,23,42,.22);
    border-radius: 50%;
    color: var(--kahlo-plum);
    font-size: 12px;
    transition: .2s ease;
}

.kahlo-taste-launch:hover::after {
    border-color: var(--kahlo-plum);
    background: var(--kahlo-plum);
    color: #fff;
    transform: translate(1px,-1px);
}

.kahlo-taste-launch-kicker {
    color: var(--kahlo-gold);
    font-size: 11px;
    font-weight: 700;
}

/* Corrige le rendu PDF/browser de la section sensorielle :
   aucune masse dorée, uniquement des tracés subtils */
.kahlo-sensory-section {
    background: var(--kahlo-coffee) !important;
}

.kahlo-sensory-section::before {
    width: 360px;
    height: 360px;
    right: -110px;
    top: -125px;
    border: 1px solid rgba(220,165,74,.13);
    background: transparent !important;
    box-shadow:
        0 0 0 48px rgba(220,165,74,.035),
        0 0 0 96px rgba(220,165,74,.018);
}

.kahlo-sensory-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: -110px;
    bottom: -150px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255,255,255,.045);
    border-radius: 50%;
    background: transparent;
    box-shadow:
        0 0 0 44px rgba(255,255,255,.018),
        0 0 0 88px rgba(255,255,255,.010);
}

/* La signature graphique devient plus lisible */
.kahlo-fingerprint-visual {
    max-width: 500px;
}

.kahlo-fingerprint-path {
    stroke-width: 2.6;
}

.kahlo-fingerprint-point {
    r: 3.5px;
}

.kahlo-sensory-section .kahlo-stage-panel {
    max-width: 430px;
    font-size: 20px;
}

/* Plus aucun "grand rectangle blanc" au milieu de la page */
.kahlo-details-section {
    position: relative;
    background: var(--kahlo-cream) !important;
}

.kahlo-details-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1170px, calc(100% - 40px));
    height: 1px;
    transform: translateX(-50%);
    background: rgba(15,23,42,.10);
}

.kahlo-details-grid {
    border-top-color: rgba(15,23,42,.12);
}

.kahlo-ritual-section {
    background: var(--kahlo-soft);
}

.kahlo-related-section {
    background: var(--kahlo-cream);
}

/* Un peu plus de rythme entre les sections éditoriales */
.kahlo-story-section {
    padding-bottom: 80px;
}

.kahlo-details-section {
    padding-top: 68px;
    padding-bottom: 76px;
}

/* =========================================================
   MODE DÉGUSTATION : une expérience optionnelle plein écran
   ========================================================= */

html.kahlo-taste-open,
html.kahlo-taste-open body {
    overflow: hidden !important;
}

.kahlo-taste-modal[hidden] {
    display: none !important;
}

.kahlo-taste-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}

.kahlo-taste-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8,7,4,.82);
    backdrop-filter: blur(9px);
}

.kahlo-taste-dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    min-height: 590px;
    overflow: hidden;
    padding: 48px 52px 34px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.018), rgba(255,255,255,0)),
        var(--kahlo-coffee);
    box-shadow: 0 36px 100px rgba(0,0,0,.42);
    color: #fff;
}

.kahlo-taste-dialog::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 0 49.9%, rgba(255,255,255,.035) 50%, transparent 50.1%),
        linear-gradient(0deg, transparent 0 49.9%, rgba(255,255,255,.022) 50%, transparent 50.1%);
    background-size: 110px 110px;
    opacity: .32;
}

.kahlo-taste-close {
    position: absolute;
    z-index: 4;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
}

.kahlo-taste-close:hover {
    border-color: var(--kahlo-gold) !important;
    color: var(--kahlo-gold) !important;
}

.kahlo-taste-dialog-top {
    position: relative;
    z-index: 2;
    max-width: 520px;
}

.kahlo-taste-dialog-top h2 {
    margin-bottom: 8px !important;
    color: #fff !important;
}

.kahlo-taste-dialog-top p {
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: 13px;
}

.kahlo-taste-scene {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: center;
    min-height: 330px;
    margin-top: 18px;
}

.kahlo-taste-orbit {
    position: relative;
    width: 260px;
    height: 260px;
    justify-self: center;
}

.kahlo-taste-orbit span {
    position: absolute;
    inset: 50%;
    border: 1px solid rgba(220,165,74,.22);
    border-radius: 50%;
    transform: translate(-50%,-50%);
}

.kahlo-taste-orbit span:nth-child(1) {
    width: 92px;
    height: 92px;
    background: rgba(220,165,74,.08);
}

.kahlo-taste-orbit span:nth-child(2) {
    width: 168px;
    height: 168px;
}

.kahlo-taste-orbit span:nth-child(3) {
    width: 250px;
    height: 250px;
    border-color: rgba(255,255,255,.07);
}

.kahlo-taste-scene:not([hidden]) .kahlo-taste-orbit span:nth-child(1) {
    animation: kahloTastePulse 2.4s ease-in-out infinite;
}

@keyframes kahloTastePulse {
    0%,100% { transform: translate(-50%,-50%) scale(.96); opacity: .65; }
    50% { transform: translate(-50%,-50%) scale(1.04); opacity: 1; }
}

.kahlo-taste-scene-copy {
    position: relative;
    padding-left: 34px;
}

.kahlo-taste-number {
    display: block;
    margin-bottom: 26px;
    color: var(--kahlo-gold);
    font-size: 12px;
    font-weight: 700;
}

.kahlo-taste-stage {
    display: block;
    margin-bottom: 10px;
    color: rgba(255,255,255,.54);
    font-size: 13px;
    font-weight: 600;
}

.kahlo-taste-scene-copy strong {
    display: block;
    max-width: 440px;
    color: #fff;
    font-size: 30px;
    line-height: 1.35;
    font-weight: 700;
}

.kahlo-taste-controls {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.09);
}

.kahlo-taste-dots {
    display: flex;
    gap: 9px;
}

.kahlo-taste-dots button {
    width: 26px;
    height: 4px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,.16) !important;
}

.kahlo-taste-dots button.is-active {
    background: var(--kahlo-gold) !important;
}

.kahlo-taste-next {
    padding: 9px 17px !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 30px !important;
    background: transparent !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
}

.kahlo-taste-next:hover {
    border-color: var(--kahlo-gold) !important;
    color: var(--kahlo-gold) !important;
}

@media (prefers-reduced-motion: reduce) {
    .kahlo-taste-orbit span {
        animation: none !important;
    }
}

@media (max-width: 767px) {
    .kahlo-taste-modal {
        padding: 10px;
    }

    .kahlo-taste-dialog {
        min-height: min(720px, calc(100vh - 20px));
        padding: 38px 22px 22px;
        border-radius: 9px;
    }

    .kahlo-taste-dialog-top {
        padding-right: 34px;
    }

    .kahlo-taste-dialog-top h2 {
        font-size: 24px !important;
    }

    .kahlo-taste-scene {
        grid-template-columns: 1fr;
        min-height: 430px;
        align-content: center;
        margin-top: 0;
    }

    .kahlo-taste-orbit {
        width: 190px;
        height: 190px;
    }

    .kahlo-taste-orbit span:nth-child(1) {
        width: 72px;
        height: 72px;
    }

    .kahlo-taste-orbit span:nth-child(2) {
        width: 126px;
        height: 126px;
    }

    .kahlo-taste-orbit span:nth-child(3) {
        width: 186px;
        height: 186px;
    }

    .kahlo-taste-scene-copy {
        padding-left: 0;
        padding-top: 18px;
        text-align: center;
    }

    .kahlo-taste-number {
        margin-bottom: 12px;
    }

    .kahlo-taste-scene-copy strong {
        margin-inline: auto;
        font-size: 22px;
    }
}


/* =========================================================
   V8 — DÉGUSTATION INLINE + RESPONSIVE FLUIDE
   ========================================================= */

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

.kahlo-product-shell {
    overflow-x: clip;
}

.kahlo-product-shell img,
.kahlo-product-shell svg,
.kahlo-product-shell video,
.kahlo-product-shell iframe {
    max-width: 100%;
}

.kahlo-product-shell :where(.kahlo-wrap, .kahlo-hero-grid, .kahlo-product-info, .kahlo-product-gallery,
.kahlo-sensory-grid, .kahlo-story-grid, .kahlo-details-grid, .kahlo-ritual-grid, .kahlo-related-grid,
.kahlo-related-item, .kahlo-related-body, .kahlo-cup-journey, .kahlo-fingerprint) {
    min-width: 0;
}

.kahlo-wrap {
    width: min(1170px, calc(100% - clamp(32px, 5vw, 80px)));
}

.kahlo-product-title,
.kahlo-product-shell h2,
.kahlo-related-body h3 {
    overflow-wrap: anywhere;
}

.kahlo-product-title {
    font-size: clamp(28px, 3.15vw, 40px) !important;
}

.kahlo-product-shell h2 {
    font-size: clamp(24px, 2.7vw, 34px) !important;
}

.kahlo-stage-panel {
    font-size: clamp(18px, 2vw, 20px);
}

.kahlo-short-description,
.kahlo-story-copy {
    font-size: clamp(14px, 1.4vw, 15px);
}

.kahlo-product-hero {
    padding-block: clamp(42px, 6vw, 68px) clamp(50px, 6vw, 74px);
}

.kahlo-hero-grid {
    grid-template-columns: minmax(0, .9fr) minmax(340px, 1fr);
    gap: clamp(34px, 5vw, 60px);
}

.kahlo-product-gallery {
    width: 100%;
    max-width: min(430px, 100%);
}

.kahlo-product-info {
    width: 100%;
}

.kahlo-product-gallery .woocommerce-product-gallery__wrapper,
.kahlo-product-gallery .woocommerce-product-gallery__image,
.kahlo-product-gallery .woocommerce-product-gallery__image a {
    width: 100%;
}

/* CTA de dégustation */
.kahlo-taste-launch {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-bottom: 20px;
    min-height: 38px;
}

.kahlo-taste-launch:focus-visible {
    outline: 2px solid var(--kahlo-gold);
    outline-offset: 4px;
}

/* Intro sensorielle */
.kahlo-sensory-intro {
    margin: 10px 0 0;
    color: rgba(255,255,255,.58);
    font-size: 13px;
    line-height: 1.6;
}

/* Progression dégustation */
.kahlo-taste-progress {
    position: relative;
    width: 100%;
    height: 2px;
    margin: 0 0 20px;
    overflow: hidden;
    background: rgba(255,255,255,.12);
}

.kahlo-taste-progress-fill {
    display: block;
    width: 33.333%;
    height: 100%;
    background: var(--kahlo-gold);
    transform-origin: left center;
    transition: width .42s cubic-bezier(.2,.7,.2,1);
}

.kahlo-stage-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 0;
    margin-bottom: 22px;
    border-bottom: 0;
}

.kahlo-stage-tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 0;
    min-height: 50px;
    padding: 8px 10px 10px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.14) !important;
    text-align: left;
}

.kahlo-stage-tab span {
    color: var(--kahlo-gold);
    font-size: 10px;
    font-weight: 700;
    opacity: .82;
}

.kahlo-stage-tab::after {
    bottom: -1px;
}

.kahlo-stage-panel {
    position: relative;
    min-height: 92px;
    opacity: 0;
    transform: translateY(8px);
}

.kahlo-stage-panel.is-active {
    opacity: 1;
    transform: none;
    transition: opacity .34s ease, transform .34s ease;
}

.kahlo-stage-replay {
    margin-top: 18px;
    padding: 0 0 4px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--kahlo-gold) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--kahlo-gold) !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

/* Grilles fluides */
.kahlo-sensory-grid,
.kahlo-story-grid,
.kahlo-ritual-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(38px, 6vw, 82px);
}

.kahlo-related-item {
    max-width: 860px;
    grid-template-columns: minmax(180px, 280px) minmax(0,1fr);
    gap: clamp(22px, 4vw, 46px);
}

.kahlo-details-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Achat : aucune casse aux petites largeurs */
.kahlo-buy-zone .woocommerce-variation-add-to-cart,
.kahlo-buy-zone form.cart:not(.variations_form) {
    width: 100%;
}

.kahlo-buy-zone .single_add_to_cart_button {
    min-width: 0;
}

.kahlo-variation-pills {
    width: 100%;
}

.kahlo-variation-pill {
    flex: 0 1 auto;
    min-width: 76px;
}

.kahlo-reassurance {
    row-gap: 5px;
}

/* Barre flottante : safe-area iPhone */
.kahlo-float-buy {
    bottom: max(12px, env(safe-area-inset-bottom));
}

.kahlo-float-buy-inner {
    max-width: 100%;
}

/* Large desktop */
@media (min-width: 1400px) {
    .kahlo-product-hero {
        padding-top: 72px;
        padding-bottom: 78px;
    }

    .kahlo-product-gallery {
        max-width: 450px;
    }
}

/* Desktop moyen / laptop */
@media (max-width: 1180px) {
    .kahlo-hero-grid {
        grid-template-columns: minmax(0, .92fr) minmax(330px, 1fr);
        gap: 42px;
    }

    .kahlo-product-gallery {
        max-width: 400px;
    }

    .kahlo-sensory-grid,
    .kahlo-story-grid,
    .kahlo-ritual-grid {
        gap: 46px;
    }
}

/* Tablette paysage / petits laptops */
@media (max-width: 980px) {
    .kahlo-wrap {
        width: min(100% - 48px, 900px);
    }

    .kahlo-hero-grid {
        grid-template-columns: minmax(0, .88fr) minmax(300px, 1fr);
        gap: 32px;
    }

    .kahlo-product-gallery {
        max-width: 360px;
    }

    .kahlo-sensory-grid,
    .kahlo-story-grid,
    .kahlo-ritual-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .kahlo-details-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .kahlo-detail:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }

    .kahlo-detail:nth-child(n+3) {
        border-top: 1px solid rgba(15,23,42,.10);
    }

    .kahlo-related-item {
        grid-template-columns: 210px minmax(0,1fr);
    }
}

/* Passage en une colonne avant que ça devienne serré */
@media (max-width: 820px) {
    .kahlo-wrap {
        width: calc(100% - 40px);
    }

    .kahlo-hero-grid,
    .kahlo-sensory-grid,
    .kahlo-story-grid,
    .kahlo-ritual-grid {
        grid-template-columns: 1fr;
    }

    .kahlo-product-gallery {
        max-width: min(480px, 100%);
        justify-self: center;
    }

    .kahlo-product-info {
        max-width: 620px;
        justify-self: center;
    }

    .kahlo-sensory-grid,
    .kahlo-story-grid,
    .kahlo-ritual-grid {
        gap: 32px;
    }

    .kahlo-cup-journey,
    .kahlo-fingerprint,
    .kahlo-story-copy,
    .kahlo-ritual-interaction {
        max-width: 620px;
    }

    .kahlo-fingerprint {
        width: 100%;
    }

    .kahlo-related-item {
        grid-template-columns: 170px minmax(0,1fr);
    }
}

/* Mobile standard */
@media (max-width: 640px) {
    .kahlo-wrap,
    .kahlo-product-shell .woocommerce-error,
    .kahlo-product-shell .woocommerce-message,
    .kahlo-product-shell .woocommerce-info {
        width: calc(100% - 32px);
    }

    .kahlo-product-hero {
        padding-top: 34px;
        padding-bottom: 46px;
    }

    .kahlo-product-gallery {
        max-width: 100%;
    }

    .kahlo-product-info {
        max-width: 100%;
    }

    .kahlo-product-title {
        line-height: 1.15 !important;
    }

    .kahlo-short-description {
        line-height: 1.65;
    }

    .kahlo-buy-zone {
        padding-top: 18px;
    }

    .kahlo-variation-pills {
        gap: 8px;
    }

    .kahlo-variation-pill {
        min-height: 44px;
        padding: 10px 16px !important;
    }

    .kahlo-buy-zone .woocommerce-variation-add-to-cart,
    .kahlo-buy-zone form.cart:not(.variations_form) {
        display: grid;
        grid-template-columns: 118px minmax(0,1fr);
        gap: 10px;
    }

    .kahlo-buy-zone .quantity {
        width: 118px;
    }

    .kahlo-buy-zone .single_add_to_cart_button {
        width: 100%;
        min-height: 44px !important;
    }

    .kahlo-reassurance {
        display: grid;
        grid-template-columns: 1fr;
    }

    .kahlo-sensory-section {
        padding: 56px 0 60px;
    }

    .kahlo-stage-tabs {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .kahlo-stage-tab {
        padding-right: 6px !important;
        font-size: 12px !important;
    }

    .kahlo-stage-panel {
        min-height: 78px;
    }

    .kahlo-story-section,
    .kahlo-details-section,
    .kahlo-ritual-section,
    .kahlo-related-section {
        padding-top: 54px;
        padding-bottom: 58px;
    }

    .kahlo-details-grid {
        grid-template-columns: 1fr;
        border-bottom: 0;
    }

    .kahlo-detail,
    .kahlo-detail + .kahlo-detail,
    .kahlo-detail:nth-child(3),
    .kahlo-detail:nth-child(4) {
        min-height: 0;
        padding: 16px 0;
        border-left: 0;
        border-top: 1px solid rgba(15,23,42,.10);
    }

    .kahlo-detail:first-child {
        border-top: 0;
    }

    .kahlo-ritual-tabs {
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .kahlo-ritual-tabs::-webkit-scrollbar {
        display: none;
    }

    .kahlo-ritual-tab {
        flex: 0 0 auto;
        min-width: max-content;
        min-height: 44px;
    }

    .kahlo-related-item,
    .kahlo-related-grid:not(.is-single) .kahlo-related-item {
        grid-template-columns: 112px minmax(0,1fr);
        gap: 16px;
    }

    .kahlo-related-body h3 {
        font-size: 19px !important;
    }

    .kahlo-float-buy {
        width: calc(100% - 16px);
        bottom: max(8px, env(safe-area-inset-bottom));
    }

    .kahlo-float-buy-inner {
        min-height: 54px;
        padding: 7px 7px 7px 13px;
        gap: 10px;
    }

    .kahlo-float-copy strong {
        font-size: 12px;
    }

    .kahlo-float-action {
        min-height: 40px;
        padding-inline: 14px !important;
        white-space: nowrap;
    }
}

/* Petit mobile */
@media (max-width: 480px) {
    .kahlo-wrap {
        width: calc(100% - 28px);
    }

    .kahlo-product-title {
        font-size: clamp(26px, 8vw, 30px) !important;
    }

    .kahlo-product-shell h2 {
        font-size: clamp(22px, 7vw, 26px) !important;
    }

    .kahlo-product-price .price,
    .kahlo-product-price > span,
    .kahlo-product-price ins,
    .kahlo-product-price bdi {
        font-size: 19px !important;
    }

    .kahlo-taste-launch {
        align-items: flex-start;
    }

    .kahlo-stage-tabs {
        gap: 4px;
    }

    .kahlo-stage-tab {
        min-height: 48px;
        padding-right: 4px !important;
        font-size: 11px !important;
    }

    .kahlo-fingerprint-labels {
        font-size: 10px;
    }

    .kahlo-related-item,
    .kahlo-related-grid:not(.is-single) .kahlo-related-item {
        grid-template-columns: 96px minmax(0,1fr);
        gap: 14px;
    }

    .kahlo-related-contrast {
        font-size: 11px;
    }

    .kahlo-related-price {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .kahlo-related-link {
        padding: 8px 12px;
        font-size: 12px;
    }

    .kahlo-float-copy span {
        display: none;
    }

    .kahlo-float-action {
        font-size: 11px !important;
        padding-inline: 12px !important;
    }
}

/* Très petits téléphones */
@media (max-width: 380px) {
    .kahlo-wrap {
        width: calc(100% - 24px);
    }

    .kahlo-buy-zone .woocommerce-variation-add-to-cart,
    .kahlo-buy-zone form.cart:not(.variations_form) {
        grid-template-columns: 1fr;
    }

    .kahlo-buy-zone .quantity {
        width: 118px;
    }

    .kahlo-buy-zone .single_add_to_cart_button {
        grid-column: 1 / -1;
    }

    .kahlo-stage-tabs {
        grid-template-columns: 1fr;
    }

    .kahlo-stage-tab {
        min-height: 42px;
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .kahlo-fingerprint-labels {
        grid-template-columns: 1fr;
        gap: 4px;
        margin-top: 10px;
    }

    .kahlo-fingerprint-labels span,
    .kahlo-fingerprint-labels span:nth-child(2),
    .kahlo-fingerprint-labels span:nth-child(3) {
        text-align: left;
    }

    .kahlo-related-item,
    .kahlo-related-grid:not(.is-single) .kahlo-related-item {
        grid-template-columns: 82px minmax(0,1fr);
        gap: 12px;
    }

    .kahlo-float-buy-inner {
        padding-left: 10px;
    }

    .kahlo-float-copy {
        display: none;
    }

    .kahlo-float-action {
        width: 100%;
    }
}

/* Mobile paysage / faible hauteur */
@media (max-height: 520px) and (orientation: landscape) {
    .kahlo-product-hero,
    .kahlo-sensory-section,
    .kahlo-story-section,
    .kahlo-details-section,
    .kahlo-ritual-section,
    .kahlo-related-section {
        padding-top: 36px;
        padding-bottom: 40px;
    }

    .kahlo-float-buy {
        bottom: 6px;
    }
}

/* Accessibilité / zoom */
@media (prefers-reduced-motion: reduce) {
    .kahlo-stage-panel,
    .kahlo-taste-progress-fill {
        transition: none !important;
    }
}

.kahlo-sensory-section {
    transition: box-shadow .35s ease;
}

.kahlo-sensory-section.kahlo-guided-focus {
    box-shadow: inset 0 0 0 1px rgba(220,165,74,.30);
}


/* =========================================================
   V9 — DIRECTION ÉDITORIALE, PLUS HUMAINE
   Objectif : moins de "concept UI", plus de vraie marque.
   ========================================================= */

/* 1) Moins d'effets décoratifs gratuits */
html.kahlo-motion-ready .kahlo-reveal,
.kahlo-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.kahlo-product-gallery .woocommerce-product-gallery {
    transform: none !important;
    transition: none !important;
}

.kahlo-product-gallery .woocommerce-product-gallery__image:hover img,
.kahlo-related-image:hover img {
    transform: none !important;
}

/* 2) Typographie plus éditoriale, moins démonstrative */
.kahlo-small-heading,
.kahlo-product-type {
    margin-bottom: 9px;
    color: var(--kahlo-gold);
    font-size: 11px;
    line-height: 1.45;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: none;
}

.kahlo-product-title {
    font-size: clamp(28px, 3vw, 38px) !important;
    line-height: 1.12 !important;
}

.kahlo-product-shell h2 {
    font-size: clamp(23px, 2.35vw, 31px) !important;
    line-height: 1.25 !important;
}

.kahlo-short-description,
.kahlo-story-copy {
    max-width: 68ch;
}

/* 3) Hero : pas de mise en scène artificielle */
.kahlo-product-hero {
    padding-block: clamp(38px, 5vw, 60px) clamp(46px, 5.5vw, 66px);
}

.kahlo-hero-grid {
    gap: clamp(30px, 4.3vw, 52px);
}

.kahlo-product-gallery {
    max-width: 410px;
}

.kahlo-profile-line {
    color: var(--kahlo-text);
    font-size: 12px;
    font-weight: 500;
}

.kahlo-profile-line::before {
    width: 14px;
}

/* 4) Le lien dégustation ressemble à une décision éditoriale, pas à une feature IA */
.kahlo-taste-launch {
    margin: 0 0 18px;
    min-height: 0;
    gap: 7px;
    padding: 0 0 3px !important;
    border-bottom: 1px solid rgba(107,63,87,.45) !important;
    color: var(--kahlo-plum) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.kahlo-taste-launch::after {
    content: "→";
    width: auto;
    height: auto;
    border: 0 !important;
    border-radius: 0 !important;
    color: inherit;
    font-size: 13px;
    background: transparent !important;
    transform: none !important;
}

.kahlo-taste-launch:hover {
    border-color: var(--kahlo-plum) !important;
}

/* 5) La section sensorielle devient un aplat franc, sans halos / cercles / gradients */
.kahlo-sensory-section {
    padding: clamp(58px, 7vw, 84px) 0;
    background: var(--kahlo-coffee) !important;
    border: 0;
}

.kahlo-sensory-section::before,
.kahlo-sensory-section::after {
    display: none !important;
    content: none !important;
}

.kahlo-sensory-grid {
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    gap: clamp(42px, 6vw, 76px);
}

.kahlo-fingerprint h2 {
    margin-bottom: 18px !important;
}

.kahlo-fingerprint-path {
    stroke-width: 2.2;
}

.kahlo-fingerprint-point {
    fill: var(--kahlo-gold);
}

.kahlo-fingerprint-guide {
    stroke: rgba(255,255,255,.10);
}

.kahlo-fingerprint-labels {
    color: rgba(255,255,255,.55);
    font-size: 10px;
}

.kahlo-fingerprint-labels strong {
    font-weight: 600;
}

/* 6) Dégustation inline : moins de "widget", plus de texte */
.kahlo-taste-progress {
    height: 1px;
    margin-bottom: 18px;
    background: rgba(255,255,255,.10);
}

.kahlo-taste-progress-fill {
    background: var(--kahlo-gold);
}

.kahlo-stage-tabs {
    gap: 18px;
    grid-template-columns: repeat(3, max-content);
    justify-content: start;
    margin-bottom: 24px;
}

.kahlo-stage-tab {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
    min-height: 0;
    padding: 0 0 8px !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
    white-space: nowrap;
}

.kahlo-stage-tab span {
    font-size: 9px;
    opacity: .55;
}

.kahlo-stage-panel {
    max-width: 520px;
    min-height: 72px;
    color: #fff;
    font-size: clamp(18px, 1.8vw, 20px);
    line-height: 1.48;
    font-weight: 600;
}

/* 7) Story : pas de grand effet, juste un bon rythme */
.kahlo-story-section {
    padding: clamp(58px, 7vw, 82px) 0;
}

.kahlo-story-grid {
    grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
    gap: clamp(42px, 6vw, 70px);
}

.kahlo-story-copy-inner {
    max-height: 210px;
}

.kahlo-story-copy-inner::after {
    height: 48px;
}

/* 8) "En bref" : plus comme une fiche de torréfacteur, moins comme 4 cards */
.kahlo-details-section {
    padding: clamp(52px, 6vw, 70px) 0;
    background: var(--kahlo-cream) !important;
}

.kahlo-details-section::before {
    background: rgba(15,23,42,.12);
}

.kahlo-details-heading {
    margin-bottom: 22px;
}

.kahlo-details-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    border-top: 1px solid rgba(15,23,42,.12);
    border-bottom: 1px solid rgba(15,23,42,.12);
}

.kahlo-detail,
.kahlo-detail + .kahlo-detail,
.kahlo-detail:nth-child(3),
.kahlo-detail:nth-child(4) {
    min-height: 0;
    padding: 18px 0;
    border-left: 0;
    border-top: 0;
}

.kahlo-detail:nth-child(odd) {
    padding-right: 26px;
}

.kahlo-detail:nth-child(even) {
    padding-left: 26px;
    border-left: 1px solid rgba(15,23,42,.10);
}

.kahlo-detail:nth-child(n+3) {
    border-top: 1px solid rgba(15,23,42,.10);
}

.kahlo-detail span {
    margin-bottom: 5px;
    color: #80776f;
    font-size: 10px;
}

.kahlo-detail strong {
    font-size: 14px;
    line-height: 1.45;
}

/* 9) Préparation : suppression de l'effet "feature section" */
.kahlo-ritual-section {
    padding: clamp(58px, 7vw, 80px) 0;
    background: var(--kahlo-soft);
}

.kahlo-ritual-section::after {
    display: none;
}

.kahlo-ritual-grid {
    grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
    gap: clamp(42px, 6vw, 70px);
}

.kahlo-ritual-tabs {
    margin-bottom: 20px;
}

.kahlo-ritual-tab {
    font-size: 12px !important;
}

.kahlo-ritual-panel {
    max-width: 540px;
    min-height: 58px;
    font-size: clamp(17px, 1.7vw, 19px);
    line-height: 1.5;
}

/* 10) Produit associé : vraie mise en page éditoriale, pas une "card recommandée" */
.kahlo-related-section {
    padding: clamp(62px, 7vw, 86px) 0 clamp(72px, 8vw, 98px);
    background: var(--kahlo-cream);
}

.kahlo-related-heading {
    margin-bottom: 30px;
}

.kahlo-related-item {
    max-width: 760px;
    grid-template-columns: minmax(150px, 230px) minmax(0,1fr);
    gap: clamp(24px, 4vw, 40px);
}

.kahlo-related-image {
    border-radius: 2px;
}

.kahlo-related-contrast {
    max-width: 40ch;
    color: #81776f;
    font-size: 11px;
    font-weight: 500;
}

.kahlo-related-body h3 {
    font-size: clamp(19px, 2vw, 25px) !important;
}

.kahlo-related-link {
    padding: 0 0 3px;
    border: 0;
    border-bottom: 1px solid var(--kahlo-plum);
    border-radius: 0;
    background: transparent;
    color: var(--kahlo-plum) !important;
    font-size: 12px;
}

.kahlo-related-link:hover,
.kahlo-related-link:focus {
    background: transparent;
    color: var(--kahlo-rose) !important;
    border-color: var(--kahlo-rose);
}

/* 11) Achat flottant : utile mais discret, sans effet "app glassmorphism" */
.kahlo-float-buy {
    width: min(620px, calc(100% - 30px));
}

.kahlo-float-buy-inner {
    min-height: 54px;
    padding: 8px 9px 8px 16px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    background: var(--kahlo-coffee);
    box-shadow: 0 10px 30px rgba(0,0,0,.16);
    backdrop-filter: none;
}

.kahlo-float-action {
    min-height: 38px;
    padding: 9px 15px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
}

/* 12) Boutons produit : plus proches du vrai site, moins "design system généré" */
.kahlo-variation-pill {
    min-width: 72px;
    min-height: 40px;
    padding: 9px 15px !important;
    border-radius: 4px !important;
}

.kahlo-buy-zone .quantity {
    border-radius: 4px;
}

.kahlo-buy-zone .single_add_to_cart_button {
    border-radius: 4px !important;
}

/* 13) Responsive éditorial */
@media (max-width: 820px) {
    .kahlo-sensory-grid,
    .kahlo-story-grid,
    .kahlo-ritual-grid {
        grid-template-columns: 1fr;
    }

    .kahlo-stage-tabs {
        grid-template-columns: repeat(3, max-content);
        overflow-x: auto;
        scrollbar-width: none;
    }

    .kahlo-stage-tabs::-webkit-scrollbar {
        display: none;
    }

    .kahlo-details-grid {
        grid-template-columns: 1fr;
    }

    .kahlo-detail,
    .kahlo-detail:nth-child(odd),
    .kahlo-detail:nth-child(even),
    .kahlo-detail:nth-child(n+3) {
        padding: 15px 0;
        border-left: 0;
        border-top: 1px solid rgba(15,23,42,.10);
    }

    .kahlo-detail:first-child {
        border-top: 0;
    }
}

@media (max-width: 640px) {
    .kahlo-product-gallery {
        max-width: 100%;
    }

    .kahlo-stage-tabs {
        gap: 14px;
    }

    .kahlo-stage-panel {
        min-height: 68px;
    }

    .kahlo-related-item,
    .kahlo-related-grid:not(.is-single) .kahlo-related-item {
        grid-template-columns: 104px minmax(0,1fr);
        gap: 16px;
    }

    .kahlo-float-buy {
        width: calc(100% - 14px);
    }

    .kahlo-float-buy-inner {
        border-radius: 6px;
    }
}

@media (max-width: 380px) {
    .kahlo-stage-tabs {
        grid-template-columns: 1fr;
        overflow: visible;
        gap: 0;
    }

    .kahlo-stage-tab {
        width: 100%;
        justify-content: flex-start;
        padding: 9px 0 !important;
    }

    .kahlo-related-item,
    .kahlo-related-grid:not(.is-single) .kahlo-related-item {
        grid-template-columns: 88px minmax(0,1fr);
    }
}


/* V9.1 — rendu image produit haute définition, sans changement de design */
.kahlo-product-gallery .woocommerce-product-gallery__image img,
.kahlo-related-image img {
    image-rendering: auto;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

