/* =========================
   TOKENS (WOOCOMMERCE ONLY)
   ========================= */

body.woocommerce-page,
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag {
    --creme-woo-text: #1e1919;
    --creme-woo-muted: rgba(30, 25, 25, 0.68);
    --creme-woo-line: rgba(30, 25, 25, 0.1);
    --creme-woo-line-strong: rgba(30, 25, 25, 0.16);
    --creme-woo-soft: #f7f1f3;
    --creme-woo-soft-green: #eef2ea;
    --creme-woo-card: rgba(255, 255, 255, 0.84);
    --creme-woo-shadow: 0 22px 56px rgba(25, 20, 20, 0.08);
    --creme-woo-shadow-hover: 0 28px 68px rgba(25, 20, 20, 0.14);
    --creme-woo-radius-lg: 30px;
    --creme-woo-radius-md: 18px;
}

/* =========================
   PAGE SHELL
   ========================= */

.creme-woo-page {
    padding-top: 140px;
    padding-bottom: 90px;
    background:
        radial-gradient(circle at 10% 0%, rgba(229, 168, 184, 0.22), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(185, 199, 168, 0.2), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.52));
}

.creme-woo-article {
    display: grid;
    gap: 24px;
}

.creme-woo-header {
    max-width: 760px;
}

.creme-woo-header .section-title {
    line-height: 0.9;
}

.creme-woo-card {
    border-radius: var(--creme-woo-radius-lg);
    padding: clamp(22px, 3vw, 36px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76));
    border: 1px solid var(--creme-woo-line);
    box-shadow: var(--creme-woo-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.creme-woo-card .woocommerce,
.creme-woo-card .woocommerce p,
.creme-woo-card .woocommerce li,
.creme-woo-card .woocommerce label,
.creme-woo-card .woocommerce small {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--creme-woo-muted);
}

.creme-woo-card .woocommerce h1,
.creme-woo-card .woocommerce h2,
.creme-woo-card .woocommerce h3,
.creme-woo-card .woocommerce h4 {
    color: var(--creme-woo-text);
    font-family: "Bebas Neue", "Arial Narrow", Arial, sans-serif;
    letter-spacing: 0.03em;
    font-weight: 400;
    text-transform: uppercase;
}

.creme-woo-card .woocommerce a {
    color: var(--creme-woo-text);
}

/* =========================
   FORMS / INPUTS
   ========================= */

.creme-woo-card .woocommerce form .form-row {
    margin-bottom: 14px;
}

.creme-woo-card .woocommerce input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.creme-woo-card .woocommerce textarea,
.creme-woo-card .woocommerce select {
    width: 100%;
    min-height: 50px;
    border-radius: 14px;
    border: 1px solid var(--creme-woo-line-strong);
    padding: 0 15px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--creme-woo-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.creme-woo-card .woocommerce textarea {
    min-height: 120px;
    padding: 14px 15px;
}

.creme-woo-card .woocommerce input:focus,
.creme-woo-card .woocommerce textarea:focus,
.creme-woo-card .woocommerce select:focus {
    outline: none;
    border-color: rgba(213, 145, 166, 0.7);
    box-shadow: 0 0 0 3px rgba(229, 168, 184, 0.25);
}

.creme-woo-card .woocommerce .select2-container .select2-selection--single,
.creme-woo-card .woocommerce .select2-container .select2-selection--multiple {
    min-height: 50px;
    border-radius: 14px;
    border: 1px solid var(--creme-woo-line-strong);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
}

.creme-woo-card .woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px;
    color: var(--creme-woo-text);
    padding-left: 14px;
}

/* =========================
   BUTTONS
   ========================= */

body.woocommerce-page .woocommerce a.button,
body.woocommerce-page .woocommerce button.button,
body.woocommerce-page .woocommerce input.button,
body.woocommerce-page .woocommerce #respond input#submit,
body.post-type-archive-product .woocommerce a.button,
body.tax-product_cat .woocommerce a.button,
body.tax-product_tag .woocommerce a.button {
    border-radius: 999px;
    min-height: 48px;
    padding: 0 24px;
    background: #171414;
    color: #fff;
    border: 1px solid #171414;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: "Bebas Neue", "Arial Narrow", Arial, sans-serif;
    font-size: 0.95rem;
    transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

body.woocommerce-page .woocommerce a.button:hover,
body.woocommerce-page .woocommerce button.button:hover,
body.woocommerce-page .woocommerce input.button:hover,
body.post-type-archive-product .woocommerce a.button:hover,
body.tax-product_cat .woocommerce a.button:hover,
body.tax-product_tag .woocommerce a.button:hover {
    transform: translateY(-2px);
    background: #2d2426;
    border-color: #2d2426;
}

/* =========================
   NOTICES
   ========================= */

body.woocommerce-page .woocommerce-info,
body.woocommerce-page .woocommerce-message,
body.woocommerce-page .woocommerce-error,
body.post-type-archive-product .woocommerce-info,
body.post-type-archive-product .woocommerce-message,
body.post-type-archive-product .woocommerce-error,
body.tax-product_cat .woocommerce-info,
body.tax-product_cat .woocommerce-message,
body.tax-product_cat .woocommerce-error,
body.tax-product_tag .woocommerce-info,
body.tax-product_tag .woocommerce-message,
body.tax-product_tag .woocommerce-error {
    border-radius: 14px;
    border: 1px solid var(--creme-woo-line);
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 247, 0.86));
    box-shadow: 0 10px 26px rgba(24, 18, 18, 0.06);
    color: #3f3838;
}

body.woocommerce-page .woocommerce-error li,
body.woocommerce-page .woocommerce-info li,
body.woocommerce-page .woocommerce-message li {
    color: #3f3838;
}

/* =========================
   MON COMPTE
   ========================= */

.woocommerce-account .creme-woo-card .woocommerce {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 10px;
    margin: 0;
    border-radius: 20px;
    border: 1px solid var(--creme-woo-line);
    background: rgba(255, 255, 255, 0.84);
}

.woocommerce-MyAccount-navigation ul li+li {
    margin-top: 6px;
}

.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 11px 12px;
    border-radius: 12px;
    text-decoration: none;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation a:hover {
    color: var(--creme-woo-text);
    background: rgba(229, 168, 184, 0.2);
}

.woocommerce-MyAccount-content {
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--creme-woo-line);
    background: rgba(255, 255, 255, 0.78);
}

.woocommerce-account .woocommerce-Address,
.woocommerce-account .woocommerce-orders-table,
.woocommerce-account .woocommerce-table {
    border-radius: 14px;
    overflow: hidden;
}

.woocommerce-account:not(.logged-in) .creme-woo-card .woocommerce {
    display: block;
}

.woocommerce-account:not(.logged-in) .u-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.woocommerce-account:not(.logged-in) .u-column1,
.woocommerce-account:not(.logged-in) .u-column2 {
    width: 100%;
    float: none;
    margin: 0;
}

.woocommerce-account:not(.logged-in) form.login,
.woocommerce-account:not(.logged-in) form.register {
    margin: 0;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--creme-woo-line);
    background: rgba(255, 255, 255, 0.86);
}

.woocommerce-account:not(.logged-in) .woocommerce-form-login__rememberme {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
}

.woocommerce-account:not(.logged-in) .woocommerce-form-login__submit,
.woocommerce-account:not(.logged-in) .woocommerce-form-register__submit {
    min-width: 190px;
}

/* =========================
   PANIER
   ========================= */

.woocommerce-cart .creme-woo-card {
    position: relative;
    overflow: hidden;
}

.woocommerce-cart .creme-woo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 0% 0%, rgba(226, 184, 200, 0.2), transparent 34%),
        radial-gradient(circle at 100% 0%, rgba(198, 210, 178, 0.2), transparent 34%);
}

.woocommerce-cart .creme-woo-card>* {
    position: relative;
    z-index: 1;
}

.woocommerce-cart table.shop_table {
    border: 1px solid var(--creme-woo-line);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
    border-color: var(--creme-woo-line);
    padding: 15px;
}

.woocommerce-cart table.shop_table th {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    color: var(--creme-woo-text);
    font-family: "Bebas Neue", "Arial Narrow", Arial, sans-serif;
}

.woocommerce-cart td.product-name a {
    color: var(--creme-woo-text);
    text-decoration: none;
}

.woocommerce-cart td.product-name a:hover {
    text-decoration: underline;
}

.woocommerce-cart .quantity .qty {
    max-width: 92px;
    text-align: center;
    min-height: 42px;
    border-radius: 11px;
}

.woocommerce-cart td.product-remove a {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    line-height: 28px;
    color: #8f5b6d !important;
    background: rgba(229, 168, 184, 0.2);
}

.woocommerce-cart td.product-remove a:hover {
    color: #fff !important;
    background: #8f5b6d;
}

.woocommerce-cart .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.woocommerce-cart .actions .coupon {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.woocommerce-cart .actions .coupon input.input-text {
    min-width: 220px;
}

.woocommerce-cart .cart-collaterals {
    margin-top: 24px;
}

.woocommerce-cart .cart_totals {
    max-width: 480px;
    margin-left: auto;
    padding: 24px;
    border-radius: 18px;
    border: 1px solid var(--creme-woo-line);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.94), rgba(248, 242, 244, 0.9));
    box-shadow: var(--creme-woo-shadow);
}

.woocommerce-cart .wc-proceed-to-checkout .button {
    width: 100%;
    min-height: 52px;
}

.woocommerce-cart .cart-empty {
    margin: 0;
    border-radius: 22px;
    border: 1px solid var(--creme-woo-line);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 249, 246, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 22px 50px rgba(20, 16, 16, 0.08);
    padding: clamp(96px, 12vw, 130px) clamp(20px, 6vw, 52px) clamp(42px, 8vw, 56px) !important;
    text-align: center;
    font-family: "Bebas Neue", "Arial Narrow", Arial, sans-serif;
    font-size: clamp(2rem, 5vw, 3.35rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
    color: var(--creme-woo-text);
}

.woocommerce-cart .cart-empty.woocommerce-info::before {
    top: clamp(34px, 4vw, 48px);
    left: 50%;
    transform: translateX(-50%);
    color: #d7a7b7;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.woocommerce-cart .cart-empty+p {
    display: block;
    margin: 18px auto 0 !important;
    text-align: center;
}

.woocommerce-cart .return-to-shop .button {
    min-width: 250px;
}

/* Produits suggérés dans le panier */
.woocommerce-cart .creme-woo-card .cross-sells,
.woocommerce-cart .creme-woo-card .related.products {
    margin-top: 30px;
}

.woocommerce-cart .creme-woo-card .cross-sells>h2,
.woocommerce-cart .creme-woo-card .related.products>h2 {
    margin-bottom: 16px;
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
}

.woocommerce-cart .creme-woo-card ul.products {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.woocommerce-cart .creme-woo-card ul.products::before,
.woocommerce-cart .creme-woo-card ul.products::after {
    content: none;
}

.woocommerce-cart .creme-woo-card ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--creme-woo-line);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px rgba(20, 16, 16, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.woocommerce-cart .creme-woo-card ul.products li.product:hover {
    transform: translateY(-4px);
    border-color: rgba(196, 145, 161, 0.4);
    box-shadow: 0 20px 40px rgba(20, 16, 16, 0.12);
}

.woocommerce-cart .creme-woo-card ul.products li.product img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 12px;
}

.woocommerce-cart .creme-woo-card ul.products li.product .woocommerce-loop-product__title {
    font-family: "Bebas Neue", "Arial Narrow", Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.08;
    color: var(--creme-woo-text);
    margin-bottom: 10px;
}

/* =========================
   CHECKOUT
   ========================= */

.woocommerce-checkout .creme-woo-card form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 24px;
    align-items: start;
}

.woocommerce-checkout .creme-woo-card #customer_details {
    display: grid;
    gap: 18px;
}

.woocommerce-checkout .creme-woo-card .woocommerce-billing-fields,
.woocommerce-checkout .creme-woo-card .woocommerce-shipping-fields,
.woocommerce-checkout .creme-woo-card .woocommerce-additional-fields {
    padding: 18px;
    border: 1px solid var(--creme-woo-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
}

.woocommerce-checkout .creme-woo-card #order_review_heading,
.woocommerce-checkout .creme-woo-card #order_review {
    margin: 0;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--creme-woo-line);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(248, 242, 244, 0.88));
}

.woocommerce-checkout .creme-woo-card #order_review_heading {
    margin-bottom: 10px;
}

.woocommerce-checkout table.shop_table {
    border: 0;
    border-radius: 0;
    background: transparent;
}

.woocommerce-checkout #payment {
    border-radius: 14px;
    border: 1px solid var(--creme-woo-line);
    background: rgba(255, 255, 255, 0.72);
}

.woocommerce-checkout #payment ul.payment_methods {
    border-color: var(--creme-woo-line);
}

.woocommerce-checkout #payment .place-order {
    margin-top: 12px;
}

.woocommerce-checkout #payment #place_order {
    width: 100%;
    min-height: 52px;
}

/* =========================
   BOUTIQUE / ARCHIVES PRODUITS
   ========================= */

body.post-type-archive-product .woocommerce,
body.tax-product_cat .woocommerce,
body.tax-product_tag .woocommerce {
    width: min(calc(100% - 48px), 1340px);
    margin: 130px auto 80px;
    padding: clamp(20px, 2.6vw, 30px);
    border-radius: var(--creme-woo-radius-lg);
    border: 1px solid var(--creme-woo-line);
    background:
        radial-gradient(circle at 100% 0%, rgba(185, 199, 168, 0.15), transparent 30%),
        radial-gradient(circle at 0% 0%, rgba(229, 168, 184, 0.15), transparent 30%),
        var(--creme-woo-card);
    box-shadow: var(--creme-woo-shadow);
}

body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_tag .woocommerce-result-count,
body.post-type-archive-product .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_tag .woocommerce-ordering {
    margin-bottom: 18px;
}

body.post-type-archive-product .woocommerce ul.products,
body.tax-product_cat .woocommerce ul.products,
body.tax-product_tag .woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body.post-type-archive-product .woocommerce ul.products::before,
body.post-type-archive-product .woocommerce ul.products::after,
body.tax-product_cat .woocommerce ul.products::before,
body.tax-product_cat .woocommerce ul.products::after,
body.tax-product_tag .woocommerce ul.products::before,
body.tax-product_tag .woocommerce ul.products::after {
    content: none;
}

body.post-type-archive-product .woocommerce ul.products li.product,
body.tax-product_cat .woocommerce ul.products li.product,
body.tax-product_tag .woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 14px;
    border-radius: var(--creme-woo-radius-md);
    border: 1px solid var(--creme-woo-line);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px rgba(20, 16, 16, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.post-type-archive-product .woocommerce ul.products li.product:hover,
body.tax-product_cat .woocommerce ul.products li.product:hover,
body.tax-product_tag .woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: var(--creme-woo-shadow-hover);
}

body.post-type-archive-product .woocommerce ul.products li.product img,
body.tax-product_cat .woocommerce ul.products li.product img,
body.tax-product_tag .woocommerce ul.products li.product img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}

body.post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: "Bebas Neue", "Arial Narrow", Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.1;
    color: var(--creme-woo-text);
    letter-spacing: 0.02em;
}

body.post-type-archive-product .woocommerce ul.products li.product .price,
body.tax-product_cat .woocommerce ul.products li.product .price,
body.tax-product_tag .woocommerce ul.products li.product .price {
    color: #665f5f;
    margin-bottom: 10px;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1080px) {
    .woocommerce-account .creme-woo-card .woocommerce {
        grid-template-columns: 1fr;
    }

    .woocommerce-checkout .creme-woo-card form.checkout {
        grid-template-columns: 1fr;
    }

    .woocommerce-checkout .creme-woo-card #order_review_heading,
    .woocommerce-checkout .creme-woo-card #order_review {
        margin-top: 8px;
    }

    body.post-type-archive-product .woocommerce ul.products,
    body.tax-product_cat .woocommerce ul.products,
    body.tax-product_tag .woocommerce ul.products,
    .woocommerce-cart .creme-woo-card ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .woocommerce-account:not(.logged-in) .u-columns {
        grid-template-columns: 1fr;
    }

    .woocommerce-cart .actions .coupon,
    .woocommerce-cart .actions .coupon input.input-text,
    .woocommerce-cart .actions .coupon .button,
    .woocommerce-cart .actions>.button {
        width: 100%;
    }

    .woocommerce-cart .cart_totals {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .creme-woo-page {
        padding-top: 120px;
        padding-bottom: 70px;
    }

    .creme-woo-card {
        border-radius: 22px;
        padding: 18px;
    }

    .woocommerce-cart table.shop_table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .woocommerce-cart .cart-empty {
        border-radius: 18px;
        font-size: clamp(1.6rem, 9vw, 2.5rem);
        padding-top: 92px !important;
    }

    .woocommerce-cart .return-to-shop .button,
    .woocommerce-account:not(.logged-in) .woocommerce-form-login__submit,
    .woocommerce-account:not(.logged-in) .woocommerce-form-register__submit {
        width: 100%;
        min-width: 0;
    }

    body.post-type-archive-product .woocommerce,
    body.tax-product_cat .woocommerce,
    body.tax-product_tag .woocommerce {
        width: min(calc(100% - 20px), 1340px);
        margin-top: 112px;
        margin-bottom: 56px;
        padding: 16px;
        border-radius: 22px;
    }

    body.post-type-archive-product .woocommerce ul.products,
    body.tax-product_cat .woocommerce ul.products,
    body.tax-product_tag .woocommerce ul.products,
    .woocommerce-cart .creme-woo-card ul.products {
        grid-template-columns: 1fr;
    }
}

/* =========================
   BOOST VISUEL V2
   ========================= */

.woocommerce-account .creme-woo-header .section-title,
.woocommerce-cart .creme-woo-header .section-title,
.woocommerce-checkout .creme-woo-header .section-title {
    font-size: clamp(3.1rem, 5vw, 4.9rem);
    letter-spacing: 0.04em;
}

.woocommerce-account .creme-woo-header .eyebrow,
.woocommerce-cart .creme-woo-header .eyebrow,
.woocommerce-checkout .creme-woo-header .eyebrow {
    font-size: 0.82rem;
    letter-spacing: 0.22em;
}

.woocommerce-account .creme-woo-card,
.woocommerce-cart .creme-woo-card,
.woocommerce-checkout .creme-woo-card {
    position: relative;
    isolation: isolate;
    border-radius: 34px;
    background:
        linear-gradient(170deg, rgba(255, 255, 255, 0.95), rgba(251, 247, 248, 0.84)),
        linear-gradient(120deg, rgba(229, 168, 184, 0.1), rgba(185, 199, 168, 0.08));
    box-shadow: 0 36px 84px rgba(22, 16, 18, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.woocommerce-account .creme-woo-card::after,
.woocommerce-cart .creme-woo-card::after,
.woocommerce-checkout .creme-woo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.62);
    mix-blend-mode: screen;
    z-index: 0;
}

.woocommerce-account .creme-woo-card>*,
.woocommerce-cart .creme-woo-card>*,
.woocommerce-checkout .creme-woo-card>* {
    position: relative;
    z-index: 1;
}

/* MON COMPTE (VISITEUR) - STRUCTURE FORCEE ET PLUS PREMIUM */
.woocommerce-account:not(.logged-in) .creme-woo-card {
    padding: clamp(22px, 3vw, 42px);
}

.woocommerce-account:not(.logged-in) .creme-woo-card .woocommerce .u-columns,
.woocommerce-account:not(.logged-in) .creme-woo-card .woocommerce .col2-set {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.woocommerce-account:not(.logged-in) .creme-woo-card .woocommerce .u-column1,
.woocommerce-account:not(.logged-in) .creme-woo-card .woocommerce .u-column2,
.woocommerce-account:not(.logged-in) .creme-woo-card .woocommerce .col-1,
.woocommerce-account:not(.logged-in) .creme-woo-card .woocommerce .col-2 {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.woocommerce-account:not(.logged-in) .creme-woo-card h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 14px;
    line-height: 0.95;
}

.woocommerce-account:not(.logged-in) form.login,
.woocommerce-account:not(.logged-in) form.register {
    min-height: 100%;
    padding: 28px;
    border-radius: 22px;
    border: 1px solid rgba(30, 25, 25, 0.12);
    background:
        radial-gradient(circle at 95% 0%, rgba(229, 168, 184, 0.16), transparent 35%),
        radial-gradient(circle at 0% 100%, rgba(185, 199, 168, 0.14), transparent 40%),
        rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 42px rgba(24, 18, 18, 0.08);
}

.woocommerce-account:not(.logged-in) .woocommerce-form-login .form-row,
.woocommerce-account:not(.logged-in) .woocommerce-form-register .form-row {
    margin-bottom: 16px;
}

.woocommerce-account:not(.logged-in) .woocommerce-form-login__rememberme {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 2px;
}

.woocommerce-account:not(.logged-in) .woocommerce-form-login__rememberme input[type="checkbox"] {
    width: 19px;
    height: 19px;
    accent-color: #5f3e49;
}

.woocommerce-account:not(.logged-in) .woocommerce-LostPassword {
    margin-top: 8px;
}

.woocommerce-account:not(.logged-in) .woocommerce-LostPassword a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.woocommerce-account:not(.logged-in) .woocommerce-form-login__submit,
.woocommerce-account:not(.logged-in) .woocommerce-form-register__submit {
    width: 100%;
    min-height: 52px;
    margin-top: 8px;
}

/* PANIER ET CHECKOUT - BLOCS DROITE STICKY */
.woocommerce-cart .cart_totals,
.woocommerce-checkout .creme-woo-card #order_review_heading,
.woocommerce-checkout .creme-woo-card #order_review {
    position: sticky;
    top: 118px;
}

.woocommerce-checkout .creme-woo-card form.checkout {
    gap: 30px;
}

.woocommerce-checkout .creme-woo-card .woocommerce-billing-fields,
.woocommerce-checkout .creme-woo-card .woocommerce-shipping-fields,
.woocommerce-checkout .creme-woo-card .woocommerce-additional-fields {
    border-radius: 20px;
    box-shadow: 0 14px 36px rgba(24, 18, 18, 0.06);
}

.woocommerce-checkout .creme-woo-card #order_review_heading,
.woocommerce-checkout .creme-woo-card #order_review {
    border-radius: 20px;
    box-shadow: 0 22px 46px rgba(24, 18, 18, 0.1);
}

.woocommerce-checkout .creme-woo-card #order_review_heading {
    font-size: clamp(1.9rem, 2.7vw, 2.6rem);
}

/* LISTING PRODUITS - LOOK PLUS MODE */
body.post-type-archive-product .woocommerce ul.products,
body.tax-product_cat .woocommerce ul.products,
body.tax-product_tag .woocommerce ul.products {
    gap: 20px;
}

body.post-type-archive-product .woocommerce ul.products li.product,
body.tax-product_cat .woocommerce ul.products li.product,
body.tax-product_tag .woocommerce ul.products li.product {
    border-radius: 20px;
    padding: 16px;
}

body.post-type-archive-product .woocommerce ul.products li.product .button,
body.tax-product_cat .woocommerce ul.products li.product .button,
body.tax-product_tag .woocommerce ul.products li.product .button {
    width: 100%;
}

@media (max-width: 1180px) {

    .woocommerce-cart .cart_totals,
    .woocommerce-checkout .creme-woo-card #order_review_heading,
    .woocommerce-checkout .creme-woo-card #order_review {
        position: static;
    }
}

@media (max-width: 860px) {

    .woocommerce-account:not(.logged-in) .creme-woo-card .woocommerce .u-columns,
    .woocommerce-account:not(.logged-in) .creme-woo-card .woocommerce .col2-set {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .woocommerce-account:not(.logged-in) form.login,
    .woocommerce-account:not(.logged-in) form.register {
        padding: 20px;
        border-radius: 18px;
    }
}

/* =========================
   FIX STRUCTURE CUSTOMER LOGIN
   ========================= */

.woocommerce-account .creme-woo-card .woocommerce>.woocommerce-notices-wrapper:empty {
    display: none;
}

.woocommerce-account .creme-woo-card .woocommerce>#customer_login {
    width: 100%;
    clear: both;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
    margin: 0;
}

.woocommerce-account .creme-woo-card .woocommerce>#customer_login::before,
.woocommerce-account .creme-woo-card .woocommerce>#customer_login::after {
    content: none !important;
    display: none !important;
}

.woocommerce-account .creme-woo-card .woocommerce>#customer_login>.u-column1,
.woocommerce-account .creme-woo-card .woocommerce>#customer_login>.u-column2,
.woocommerce-account .creme-woo-card .woocommerce>#customer_login>.col-1,
.woocommerce-account .creme-woo-card .woocommerce>#customer_login>.col-2 {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    grid-column: auto;
}

.woocommerce-account .creme-woo-card .woocommerce>#customer_login form.login,
.woocommerce-account .creme-woo-card .woocommerce>#customer_login form.register {
    min-height: 100%;
}

.woocommerce-account .creme-woo-card .woocommerce>#customer_login .form-row {
    width: 100% !important;
}

.woocommerce-account .creme-woo-card .woocommerce>#customer_login .woocommerce-form-login__submit,
.woocommerce-account .creme-woo-card .woocommerce>#customer_login .woocommerce-form-register__submit {
    width: 100%;
}

@media (max-width: 860px) {
    .woocommerce-account .creme-woo-card .woocommerce>#customer_login {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* =========================
   FIX STRUCTURE MY ACCOUNT LOGGED-IN
   ========================= */

.woocommerce-account.logged-in .creme-woo-card .woocommerce {
    display: grid !important;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    width: 100%;
}

.woocommerce-account.logged-in .creme-woo-card .woocommerce>.woocommerce-MyAccount-navigation,
.woocommerce-account.logged-in .creme-woo-card .woocommerce>.woocommerce-MyAccount-content {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    float: none !important;
    margin: 0 !important;
    clear: none !important;
}

.woocommerce-account.logged-in .creme-woo-card .woocommerce>.woocommerce-MyAccount-navigation {
    position: sticky;
    top: 118px;
}

.woocommerce-account.logged-in .creme-woo-card .woocommerce>.woocommerce-MyAccount-content {
    padding: clamp(20px, 2.5vw, 34px);
    border-radius: 22px;
    border: 1px solid rgba(30, 25, 25, 0.12);
    background:
        radial-gradient(circle at 100% 0%, rgba(229, 168, 184, 0.12), transparent 36%),
        radial-gradient(circle at 0% 100%, rgba(185, 199, 168, 0.11), transparent 40%),
        rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 40px rgba(24, 18, 18, 0.08);
}

.woocommerce-account.logged-in .creme-woo-card .woocommerce>.woocommerce-MyAccount-content> :first-child {
    margin-top: 0;
}

.woocommerce-account.logged-in .creme-woo-card .woocommerce>.woocommerce-MyAccount-content p {
    max-width: 68ch;
    line-height: 1.75;
}

.woocommerce-account.logged-in .creme-woo-card .woocommerce>.woocommerce-MyAccount-content .woocommerce-notices-wrapper:empty {
    display: none;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul {
    padding: 12px;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li+li {
    margin-top: 8px;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 14px;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li.is-active a {
    background: linear-gradient(135deg, rgba(229, 168, 184, 0.34), rgba(229, 168, 184, 0.16));
    box-shadow: inset 0 0 0 1px rgba(180, 121, 139, 0.2);
}

@media (max-width: 1180px) {
    .woocommerce-account.logged-in .creme-woo-card .woocommerce>.woocommerce-MyAccount-navigation {
        position: static;
    }
}

@media (max-width: 980px) {
    .woocommerce-account.logged-in .creme-woo-card .woocommerce {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* =========================
   FORCE LAYOUT ACCOUNT CONNECTE (ENDPOINTS)
   ========================= */

body.woocommerce-account.logged-in .creme-woo-page .creme-woo-card.entry-content>.woocommerce {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 28px !important;
    width: 100% !important;
}

body.woocommerce-account.logged-in .creme-woo-page .creme-woo-card.entry-content>.woocommerce>.woocommerce-MyAccount-navigation {
    order: 1 !important;
    flex: 0 0 300px !important;
    width: 300px !important;
    min-width: 260px !important;
    max-width: 320px !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
}

body.woocommerce-account.logged-in .creme-woo-page .creme-woo-card.entry-content>.woocommerce>.woocommerce-MyAccount-content {
    order: 2 !important;
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    display: block !important;
}

body.woocommerce-account.logged-in .creme-woo-page .creme-woo-card.entry-content>.woocommerce>.woocommerce-MyAccount-content form,
body.woocommerce-account.logged-in .creme-woo-page .creme-woo-card.entry-content>.woocommerce>.woocommerce-MyAccount-content .woocommerce-EditAccountForm {
    width: 100% !important;
    max-width: none !important;
}

@media (max-width: 980px) {
    body.woocommerce-account.logged-in .creme-woo-page .creme-woo-card.entry-content>.woocommerce {
        flex-direction: column !important;
        gap: 16px !important;
    }

    body.woocommerce-account.logged-in .creme-woo-page .creme-woo-card.entry-content>.woocommerce>.woocommerce-MyAccount-navigation,
    body.woocommerce-account.logged-in .creme-woo-page .creme-woo-card.entry-content>.woocommerce>.woocommerce-MyAccount-content {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        flex: 1 1 auto !important;
    }
}

/* =========================
   POLISH V5 - ESPACE CLIENT PREMIUM
   ========================= */

body.woocommerce-account.logged-in .creme-woo-page .creme-woo-card.entry-content {
    padding: clamp(18px, 2vw, 28px);
    border-radius: 34px;
}

body.woocommerce-account.logged-in .creme-woo-page .creme-woo-card.entry-content>.woocommerce>.woocommerce-MyAccount-navigation ul {
    padding: 14px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(229, 168, 184, 0.16), transparent 42%),
        rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 14px 32px rgba(21, 16, 17, 0.06);
}

body.woocommerce-account.logged-in .creme-woo-page .creme-woo-card.entry-content>.woocommerce>.woocommerce-MyAccount-navigation ul a {
    position: relative;
    overflow: hidden;
    min-height: 48px;
    border-radius: 14px;
    font-size: 1rem;
    color: #2d2526;
    transition: transform 0.18s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

body.woocommerce-account.logged-in .creme-woo-page .creme-woo-card.entry-content>.woocommerce>.woocommerce-MyAccount-navigation ul a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 999px;
    background: transparent;
}

body.woocommerce-account.logged-in .creme-woo-page .creme-woo-card.entry-content>.woocommerce>.woocommerce-MyAccount-navigation li.is-active a {
    color: #221b1d;
    background: linear-gradient(135deg, rgba(229, 168, 184, 0.35), rgba(229, 168, 184, 0.12));
    box-shadow: inset 0 0 0 1px rgba(186, 130, 146, 0.22);
}

body.woocommerce-account.logged-in .creme-woo-page .creme-woo-card.entry-content>.woocommerce>.woocommerce-MyAccount-navigation li.is-active a::before {
    background: #8f5b6d;
}

body.woocommerce-account.logged-in .creme-woo-page .creme-woo-card.entry-content>.woocommerce>.woocommerce-MyAccount-navigation ul a:hover {
    transform: translateX(2px);
    background: rgba(229, 168, 184, 0.16);
}

body.woocommerce-account.logged-in .creme-woo-page .creme-woo-card.entry-content>.woocommerce>.woocommerce-MyAccount-content {
    border-radius: 24px;
    padding: clamp(20px, 2.2vw, 34px);
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 0.95;
    margin-bottom: 14px;
}

body.woocommerce-account .woocommerce-MyAccount-content p {
    color: rgba(37, 31, 33, 0.82);
}

/* Tables du compte (commandes / téléchargements) */
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table {
    border: 1px solid rgba(30, 25, 25, 0.12);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.86);
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table th {
    padding: 14px 12px;
    font-family: "Bebas Neue", "Arial Narrow", Arial, sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #211a1c;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table td {
    padding: 14px 12px;
    border-color: rgba(30, 25, 25, 0.1);
}

/* Etat vide téléchargements / messages */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error::before {
    font-family: WooCommerce !important;
    color: #a46c7f;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 80px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button {
    margin-left: auto;
    margin-top: 0;
    white-space: nowrap;
}

/* Formulaire edit-account */
body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .form-row-wide,
body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm fieldset,
body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .clear,
body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .form-row:not(.form-row-first):not(.form-row-last) {
    grid-column: 1 / -1;
    width: 100% !important;
}

body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .form-row-first,
body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .form-row-last {
    width: 100% !important;
    float: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm fieldset {
    margin: 6px 0 4px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(30, 25, 25, 0.14);
    background:
        radial-gradient(circle at 100% 0%, rgba(229, 168, 184, 0.09), transparent 40%),
        rgba(255, 255, 255, 0.86);
}

body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm fieldset legend {
    padding: 0 10px;
    margin-left: 2px;
    font-family: "Bebas Neue", "Arial Narrow", Arial, sans-serif;
    letter-spacing: 0.05em;
    color: #1d1719;
    background: #fff;
}

body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .button {
    min-height: 52px;
    min-width: 320px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-form-row .password-input {
    display: block;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-form-row .show-password-input {
    right: 14px;
}

@media (max-width: 980px) {
    body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {

    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,
    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding-right: 12px !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button,
    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button,
    body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .button {
        width: 100%;
        min-width: 0;
        margin-left: 0;
    }
}

/* =========================
   V6 - PREMIUM READABILITY PASS
   ========================= */

body.woocommerce-account .creme-woo-page .creme-woo-card.entry-content>.woocommerce>.woocommerce-MyAccount-content {
    background:
        radial-gradient(circle at 100% 0%, rgba(229, 168, 184, 0.1), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(30, 25, 25, 0.11);
    box-shadow: 0 16px 34px rgba(21, 16, 17, 0.07);
}

/* Boutons compte client - plus premium, plus lisibles */
body.woocommerce-account .creme-woo-page .woocommerce a.button,
body.woocommerce-account .creme-woo-page .woocommerce button.button,
body.woocommerce-account .creme-woo-page .woocommerce input.button,
body.woocommerce-account .creme-woo-page .woocommerce .button {
    min-height: 52px;
    padding: 0 24px;
    border-radius: 14px;
    border: 1px solid #211a1c;
    background: linear-gradient(135deg, #171414, #3b2a31);
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    box-shadow: 0 10px 24px rgba(22, 16, 18, 0.22);
    transition: transform 0.2s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

body.woocommerce-account .creme-woo-page .woocommerce a.button:hover,
body.woocommerce-account .creme-woo-page .woocommerce button.button:hover,
body.woocommerce-account .creme-woo-page .woocommerce input.button:hover,
body.woocommerce-account .creme-woo-page .woocommerce .button:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #2a1f23, #5a3d47);
    border-color: #5a3d47;
    box-shadow: 0 14px 30px rgba(22, 16, 18, 0.26);
}

/* Liens de contenu */
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button) {
    color: #7a4c5d;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* Notices / états vides */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error {
    position: relative;
    padding: 18px 20px 18px 58px !important;
    border-radius: 16px;
    border: 1px solid rgba(122, 76, 93, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(249, 241, 244, 0.9));
    box-shadow: 0 8px 22px rgba(22, 16, 18, 0.07);
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #a46c7f;
    background: rgba(229, 168, 184, 0.18);
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button {
    margin-left: auto;
    min-width: 220px;
}

/* Typo lisibilité */
body.woocommerce-account .woocommerce-MyAccount-content p,
body.woocommerce-account .woocommerce-MyAccount-content li {
    font-size: 1.03rem;
    line-height: 1.7;
    color: rgba(33, 27, 29, 0.86);
}

/* Formulaires compte */
body.woocommerce-account .woocommerce-MyAccount-content form label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 1.03rem;
    font-weight: 600;
    color: #2a2224;
}

body.woocommerce-account .woocommerce-MyAccount-content input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="text"] {
    min-height: 56px;
    border-radius: 16px;
    border: 1px solid rgba(30, 25, 25, 0.14);
    background: rgba(255, 255, 255, 0.95);
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-form-row .show-password-input {
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
}

body.woocommerce-account .woocommerce-MyAccount-content #account_display_name_description {
    display: block;
    margin-top: 8px;
    color: rgba(63, 54, 57, 0.78);
}

body.woocommerce-account .woocommerce-MyAccount-content #account_display_name_description em {
    font-style: normal;
}

body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm fieldset {
    margin-top: 8px;
    padding: 22px 18px 18px;
    border-radius: 18px;
    border: 1px solid rgba(122, 76, 93, 0.2);
    background:
        radial-gradient(circle at 100% 0%, rgba(229, 168, 184, 0.11), transparent 40%),
        rgba(255, 255, 255, 0.94);
}

body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm fieldset legend {
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #241d20;
    background: #fff;
}

body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm button[name="save_account_details"] {
    min-width: 320px;
}

/* Adresses */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 14px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(30, 25, 25, 0.12);
    background: rgba(255, 255, 255, 0.94);
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2 {
    margin: 0;
    font-size: 2rem;
    line-height: 0.96;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title .edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(229, 168, 184, 0.2);
    color: #5a3d47;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address address {
    font-style: normal;
    color: rgba(54, 46, 49, 0.84);
}

/* Commandes */
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table .button {
    min-height: 40px;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 0.88rem;
}

@media (max-width: 980px) {
    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {

    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,
    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error {
        padding: 14px 14px 14px 46px !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before,
    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message::before,
    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error::before {
        left: 16px;
        width: 11px;
        height: 11px;
    }

    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button,
    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button,
    body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm button[name="save_account_details"] {
        width: 100%;
        min-width: 0;
    }
}

/* =========================
   V7 - FINITIONS PRO (ACCOUNT)
   ========================= */

/* Boutons: plus propres et constants */
body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content button.button,
body.woocommerce-account .woocommerce-MyAccount-content input.button {
    border-radius: 12px;
    min-height: 50px;
    padding: 0 20px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button {
    min-width: 240px;
    justify-content: center;
}

/* Bloc informations compte */
body.woocommerce-account .woocommerce-MyAccount-content>p:first-of-type {
    font-size: 1.08rem;
    margin-bottom: 10px;
}

body.woocommerce-account .woocommerce-MyAccount-content>p {
    max-width: 74ch;
}

/* Form edit-account: meilleure hiérarchie */
body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm label {
    font-size: 1.06rem;
    font-weight: 700;
}

body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm input[type="email"],
body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm input[type="password"],
body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm input[type="text"] {
    min-height: 58px;
    border-radius: 14px;
}

body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm #account_display_name_description {
    font-size: 0.98rem;
    line-height: 1.6;
}

body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm fieldset {
    margin-top: 12px;
    padding: 22px 20px 18px;
}

body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm fieldset legend {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* ADRESSES: corrige le casse du lien et la mise en page */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.col2-set.addresses {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row;
    gap: 18px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.col2-set.addresses::before,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.col2-set.addresses::after {
    content: none !important;
    display: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .u-column1,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .u-column2,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .col-1,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .col-2 {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.col2-set.addresses>.u-column1.col-1.woocommerce-Address {
    grid-column: 1;
    grid-row: 1;
}

body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.col2-set.addresses>.u-column2.col-2.woocommerce-Address {
    grid-column: 2;
    grid-row: 1;
}

body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.col2-set.addresses>.woocommerce-Address {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 230px;
    padding: 20px;
    border-radius: 16px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 6px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2 {
    margin: 0;
    font-size: clamp(2rem, 2.7vw, 2.6rem);
    line-height: 0.95;
    letter-spacing: 0.03em;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title .edit {
    width: auto;
    max-width: 100%;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address address {
    margin: 0;
    font-size: 1.03rem;
    line-height: 1.7;
}

/* Tableau commandes */
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th {
    background: rgba(229, 168, 184, 0.12);
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody tr:hover {
    background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1100px) {

    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
    body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses {
        grid-template-columns: 1fr;
    }

    body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.col2-set.addresses,
    body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.col2-set.addresses>.u-column1.col-1.woocommerce-Address,
    body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.col2-set.addresses>.u-column2.col-2.woocommerce-Address {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address {
        min-height: 0;
    }
}

@media (max-width: 760px) {

    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button,
    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button,
    body.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm button[name="save_account_details"] {
        width: 100%;
        min-width: 0;
    }
}

/* =========================
   V8 - ACCOUNT LUXE CLEAN
   ========================= */

body.woocommerce-account .creme-woo-page .creme-woo-card.entry-content>.woocommerce {
    gap: 30px !important;
}

/* Navigation gauche */
body.woocommerce-account .creme-woo-page .woocommerce-MyAccount-navigation ul {
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(141, 98, 113, 0.18);
    background:
        radial-gradient(circle at 100% 0%, rgba(229, 168, 184, 0.16), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    box-shadow: 0 14px 30px rgba(22, 16, 18, 0.06);
}

body.woocommerce-account .creme-woo-page .woocommerce-MyAccount-navigation ul li+li {
    margin-top: 10px;
}

body.woocommerce-account .creme-woo-page .woocommerce-MyAccount-navigation ul a {
    min-height: 54px;
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 1.08rem;
    font-weight: 500;
    color: #2b2325;
}

body.woocommerce-account .creme-woo-page .woocommerce-MyAccount-navigation li.is-active a {
    background: linear-gradient(135deg, rgba(229, 168, 184, 0.32), rgba(229, 168, 184, 0.12));
    box-shadow: inset 3px 0 0 #9b667a, inset 0 0 0 1px rgba(188, 133, 149, 0.22);
}

/* Contenu droite */
body.woocommerce-account .creme-woo-page .woocommerce-MyAccount-content {
    border-radius: 24px;
    padding: clamp(24px, 2.5vw, 36px);
    border: 1px solid rgba(141, 98, 113, 0.14);
    background:
        radial-gradient(circle at 100% 0%, rgba(229, 168, 184, 0.1), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.91));
}

/* Etats vides Commandes / Téléchargements */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 18px;
    row-gap: 10px;
    padding: 22px 24px !important;
    border-radius: 18px;
    border: 1px solid rgba(151, 104, 120, 0.2);
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.97), rgba(250, 243, 246, 0.92));
    box-shadow: 0 10px 24px rgba(22, 16, 18, 0.07);
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message::before {
    position: static;
    transform: none;
    width: 14px;
    height: 14px;
    border-width: 3px;
    border-color: #a66a80;
    background: transparent;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button {
    grid-column: 3;
    margin: 0;
    min-height: 52px;
    min-width: 260px;
    padding: 0 24px;
    border-radius: 14px;
    border: 1px solid #2a1f23;
    background: linear-gradient(135deg, #171414, #3e2b33);
    color: #fff;
    font-family: "Bebas Neue", "Arial Narrow", Arial, sans-serif;
    font-size: 1.55rem;
    letter-spacing: 0.04em;
    text-transform: none;
    box-shadow: 0 12px 28px rgba(19, 14, 16, 0.2);
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #2b1f24, #5f414b);
}

/* Adresse: meilleure lisibilité des titres */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2 {
    font-size: clamp(2.1rem, 2.8vw, 2.8rem);
    letter-spacing: 0.035em;
}

/* Responsive */
@media (max-width: 900px) {

    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message {
        grid-template-columns: 16px minmax(0, 1fr);
    }

    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button,
    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
    }
}

/* =========================
   V9 - CTA TUNING (COMMANDES / DOWNLOADS)
   ========================= */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button {
    min-height: 50px;
    min-width: 250px;
    padding: 0 22px;
    border-radius: 12px;
    border: 1px solid #312328;
    background: linear-gradient(135deg, #1d1719, #47313a);
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.04rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button:hover {
    background: linear-gradient(135deg, #2c1f24, #654652);
    border-color: #654652;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info {
    margin-top: 6px;
}

/* =========================
   V10 - CTA FIX (VERTICAL ALIGN + STYLE)
   ========================= */

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button.wc-forward,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button.wc-forward,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button.wc-forward.button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle;
    line-height: 1 !important;
    min-height: 56px;
    padding: 0 30px 1px;
    border-radius: 16px;
    border: 1px solid #2e2126;
    background: linear-gradient(135deg, #1a1517, #42303a);
    color: #fff !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    box-shadow: 0 10px 22px rgba(22, 16, 18, 0.16);
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button.wc-forward:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button.wc-forward:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button.wc-forward.button:hover {
    background: linear-gradient(135deg, #2a1e23, #5c424e);
    border-color: #5c424e;
    transform: translateY(-1px);
}

/* Payment methods: harmoniser le CTA avec Downloads */
body.woocommerce-account .woocommerce-MyAccount-content>a.button[href*="add-payment-method"] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin: 14px 0 0 auto;
    line-height: 1 !important;
    min-height: 56px;
    min-width: 260px;
    padding: 0 30px 1px;
    border-radius: 16px;
    border: 1px solid #2e2126;
    background: linear-gradient(135deg, #1a1517, #42303a);
    color: #fff !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    box-shadow: 0 10px 22px rgba(22, 16, 18, 0.16);
}

body.woocommerce-account .woocommerce-MyAccount-content>a.button[href*="add-payment-method"]:hover {
    background: linear-gradient(135deg, #2a1e23, #5c424e);
    border-color: #5c424e;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    body.woocommerce-account .woocommerce-MyAccount-content>a.button[href*="add-payment-method"] {
        width: 100%;
        min-width: 0;
        margin-top: 12px;
    }
}

/* =========================
   V11 - PANIER (WOO BLOCKS)
   ========================= */

body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wp-block-woocommerce-cart * {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: var(--creme-text-line-uniform, 1.6);
    color: rgba(31, 25, 27, 0.88);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-sidebar-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 430px);
    gap: 26px;
    align-items: start;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__sidebar {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart table.wc-block-cart-items {
    border: 1px solid rgba(30, 25, 25, 0.12);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-items__header th {
    padding: 14px 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    letter-spacing: 0.01em;
    font-weight: 700;
    text-transform: uppercase;
    color: #221c1e;
    background: rgba(229, 168, 184, 0.1);
    border-bottom: 1px solid rgba(30, 25, 25, 0.12);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-items__row td {
    padding: 16px 12px;
    border-bottom: 1px solid rgba(30, 25, 25, 0.12);
    vertical-align: middle;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-name {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    letter-spacing: 0.01em;
    line-height: 1.35;
    font-weight: 700;
    color: #1d1719;
    text-decoration: none;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__prices .wc-block-components-product-price__value,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price__value {
    font-size: 1rem;
    font-weight: 700;
    color: #2a2224;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-quantity-selector {
    border: 1px solid rgba(30, 25, 25, 0.2);
    border-radius: 12px;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.98);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-quantity-selector__button,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-quantity-selector__input {
    min-height: 42px;
    font-size: 1rem;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__remove-link {
    color: #8e5c6e;
    opacity: 1;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__remove-link:hover {
    color: #5d3f4b;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__sidebar {
    padding: 16px;
    border: 1px solid rgba(30, 25, 25, 0.12);
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(252, 247, 249, 0.9));
    box-shadow: 0 14px 30px rgba(21, 16, 17, 0.08);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__totals-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem !important;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #211a1c;
    margin-bottom: 12px;
    white-space: nowrap;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-panel__button {
    min-height: 44px;
    border-radius: 10px;
    padding: 8px 10px;
    font-weight: 600;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-item__label,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-item__value {
    font-size: 1rem !important;
    font-weight: 700;
    color: #231d1f;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__submit-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    min-height: 54px;
    padding: 0 24px !important;
    border-radius: 14px;
    border: 1px solid #2d2126;
    background: linear-gradient(135deg, #1a1517, #47313a) !important;
    box-shadow: 0 12px 26px rgba(20, 15, 16, 0.18);
    text-decoration: none;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    line-height: 1 !important;
    transform: translateY(1px);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.04rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    color: #fff;
    white-space: nowrap;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__submit-button:hover {
    background: linear-gradient(135deg, #2c1f24, #654652) !important;
    border-color: #654652;
    transform: translateY(-1px);
}

@media (max-width: 1080px) {
    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-sidebar-layout {
        grid-template-columns: 1fr;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__totals-title {
        white-space: normal;
    }
}

/* =========================
   V12 - CART POLISH + RESPONSIVE
   ========================= */

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__main {
    padding: 16px;
    border: 1px solid rgba(30, 25, 25, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__sidebar {
    position: sticky;
    top: 130px;
}

body.admin-bar.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__sidebar {
    top: 164px;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
    row-gap: 8px;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__prices {
    grid-column: 1;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__quantity {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 2px;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__total {
    white-space: nowrap;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-panel__button-icon {
    opacity: 0.8;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-quantity-selector__button {
    color: #3d3135;
    font-weight: 700;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-quantity-selector__input {
    font-weight: 700;
    color: #231d1f;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-item {
    padding: 10px 0;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-item__label {
    opacity: 0.88;
}

/* =========================
   CART/CHECKOUT - COMPOSITION META
   ========================= */

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-items__row td {
    vertical-align: top;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__product {
    min-width: 0;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__wrap {
    align-items: start;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-name,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
    display: block;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    line-height: 1.32;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-metadata,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details {
    grid-column: 1 / -1;
    margin-top: 8px;
    min-width: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-metadata,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-details {
    margin-top: 8px;
    min-width: 0;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-product-details {
    list-style: none;
    padding: 10px 12px;
    border: 1px solid rgba(30, 25, 25, 0.14);
    border-radius: 12px;
    background: rgba(248, 242, 244, 0.72);
    display: grid;
    gap: 6px;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details li,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-product-details li {
    margin: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    align-items: start;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details__name,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-product-details__name {
    font-weight: 700;
    color: #271f22;
    white-space: nowrap;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details__value,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-product-details__value {
    color: #403739;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details li>span:last-child,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-product-details li>span:last-child {
    color: #403739;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

@media (max-width: 1200px) {
    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-sidebar-layout {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
        gap: 20px;
    }
}

@media (max-width: 980px) {
    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-sidebar-layout {
        grid-template-columns: 1fr;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__sidebar,
    body.admin-bar.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__sidebar {
        position: static;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__main,
    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__sidebar {
        padding: 14px;
        border-radius: 14px;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__submit-button {
        min-height: 52px;
    }
}

@media (max-width: 760px) {
    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-items__header {
        display: none;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart table.wc-block-cart-items {
        border-radius: 14px;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-items__row {
        display: grid;
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 10px 12px;
        padding: 12px;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-items__row td {
        padding: 0;
        border: 0;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__image {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__product {
        grid-column: 2;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__total {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 8px;
        margin-top: 2px;
        border-top: 1px solid rgba(30, 25, 25, 0.12);
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__total::before {
        content: "Total";
        font-weight: 700;
        color: #2a2224;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__quantity {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-quantity-selector {
        min-width: 140px;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details li,
    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-product-details li {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details__name,
    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-product-details__name {
        white-space: normal;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-item__label,
    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-item__value,
    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text {
        font-size: 1rem !important;
    }
}

@media (max-width: 560px) {

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__main,
    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__sidebar {
        padding: 12px;
        border-radius: 12px;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__remove-link svg {
        width: 22px;
        height: 22px;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__submit-button {
        min-height: 50px;
        border-radius: 12px;
    }
}

/* =========================
   V12B - EMPTY CART PREMIUM
   ========================= */

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
    width: min(1180px, 100%);
    margin-inline: auto;
    text-align: center;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
    margin: 6px 0 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(2rem, 2.9vw, 2.85rem) !important;
    font-weight: 800;
    color: #221b1d;
    letter-spacing: 0;
    line-height: 1.05;
    text-transform: none;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title.with-empty-cart-icon {
    padding-top: 0 !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
    content: none !important;
    display: none !important;
}

/* Supprime "Nouveau dans la boutique" + séparateur pointillé */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block>.wp-block-heading.has-text-align-center:not(.wc-block-cart__empty-cart__title),
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block>.wp-block-separator.is-style-dots {
    display: none !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
    margin: 8px 0 0;
    padding: 0;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    display: grid;
    grid-template-rows: auto auto auto auto;
    gap: 10px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(30, 25, 25, 0.1);
    background:
        radial-gradient(circle at 100% 0%, rgba(229, 168, 184, 0.08), transparent 40%),
        rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 34px rgba(22, 16, 17, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product:hover {
    transform: translateY(-4px);
    border-color: rgba(182, 126, 143, 0.34);
    box-shadow: 0 24px 44px rgba(22, 16, 17, 0.14);
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link {
    text-decoration: none;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
    margin-top: 6px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #201a1c;
    line-height: 1.05;
    text-transform: none;
    letter-spacing: 0;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    color: #3a3134;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart {
    margin-top: 2px;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link.add_to_cart_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    min-height: 52px;
    padding: 0 20px !important;
    border-radius: 14px;
    border: 1px solid #2d2126;
    background: linear-gradient(135deg, #1a1517, #47313a) !important;
    box-shadow: 0 12px 24px rgba(20, 15, 16, 0.18);
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.04rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.01em;
    line-height: 1 !important;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link.add_to_cart_button:hover {
    background: linear-gradient(135deg, #2c1f24, #654652) !important;
    border-color: #654652;
    transform: translateY(-1px);
    color: #fff !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link.add_to_cart_button:link,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link.add_to_cart_button:visited,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link.add_to_cart_button:active,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link.add_to_cart_button:focus {
    color: #fff !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .added_to_cart {
    display: none !important;
}

@media (max-width: 1080px) {
    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 700px) {
    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
        padding: 12px;
        border-radius: 16px;
    }

    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
        font-size: 1.75rem;
    }

    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link.add_to_cart_button {
        min-height: 50px;
        border-radius: 12px;
    }
}

/* =========================
   V13 - CHECKOUT (WOO BLOCKS)
   ========================= */

body.woocommerce-checkout .wp-block-woocommerce-checkout {
    width: 100%;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 430px);
    gap: clamp(18px, 2.3vw, 30px);
    align-items: start;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: clamp(16px, 2vw, 24px);
    border: 1px solid rgba(30, 25, 25, 0.12);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(229, 168, 184, 0.08), transparent 35%),
        radial-gradient(circle at 0% 100%, rgba(185, 199, 168, 0.08), transparent 40%),
        rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 36px rgba(21, 16, 17, 0.08);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
    position: sticky;
    top: 130px;
    justify-self: stretch;
    align-self: start;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__sidebar>*,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary {
    width: 100% !important;
    max-width: none !important;
}

/* Woo Blocks rend 2 résumés (sidebar + fill-wrapper) selon la taille.
   On force une seule version visible pour éviter le doublon mobile. */
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout.is-large .checkout-order-summary-block-fill-wrapper {
    display: none !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout.is-small .wc-block-checkout__sidebar {
    display: none !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout.is-small .checkout-order-summary-block-fill-wrapper {
    display: block !important;
    width: 100%;
    margin-bottom: 14px;
}

body.admin-bar.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
    top: 164px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-step {
    margin-bottom: 14px;
    padding: clamp(14px, 1.6vw, 20px);
    border: 1px solid rgba(30, 25, 25, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-step:last-child {
    margin-bottom: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-step__heading {
    margin-bottom: 12px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
    font-family: "Bebas Neue", "Arial Narrow", Arial, sans-serif;
    font-size: clamp(2rem, 2.9vw, 2.8rem);
    line-height: 0.95;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #1d1719;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-step__content,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-step__content p,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-step__content label,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-step__content span,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-order-summary__content,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-order-summary__content p,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-order-summary__content span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #3f383a;
    letter-spacing: 0;
    text-transform: none;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-text-input,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-blocks-components-select__container {
    border: 1px solid rgba(30, 25, 25, 0.2);
    border-radius: 14px;
    min-height: 52px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-blocks-components-select__select {
    min-height: 52px;
    border: 0 !important;
    background: transparent !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #251f21;
    letter-spacing: 0;
    text-transform: none;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-blocks-components-select__label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    line-height: 1.2;
    color: rgba(40, 33, 35, 0.74);
    letter-spacing: 0.01em;
    text-transform: none;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-text-input:focus-within,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-blocks-components-select__container:focus-within {
    border-color: rgba(208, 144, 164, 0.7);
    box-shadow: 0 0 0 3px rgba(229, 168, 184, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkbox__input {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid rgba(95, 62, 73, 0.5);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__no-payment-methods-notice {
    border: 1px solid rgba(170, 92, 115, 0.3);
    border-radius: 14px;
    background: rgba(255, 245, 247, 0.88);
    color: #6f4251;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-order-summary__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(30, 25, 25, 0.12);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-order-summary__title-price {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #251f21;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item {
    display: flex;
    width: 100%;
    gap: 10px;
    align-items: start;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__image {
    width: 56px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__quantity {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    font-size: 0.75rem;
    top: -8px;
    right: -8px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description {
    min-width: 0;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__total-price {
    margin-left: auto;
    white-space: nowrap;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__total-price {
    font-size: 1rem;
    font-weight: 700;
    color: #231d1f;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-panel__button {
    min-height: 48px;
    padding: 10px 8px;
    border-radius: 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    color: #2a2325;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__actions_row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.98rem;
    color: #4c3d42;
    text-decoration: none;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto;
    min-width: 280px;
    min-height: 56px;
    padding: 0 28px !important;
    border-radius: 14px;
    border: 1px solid #2d2126;
    background: linear-gradient(135deg, #1a1517, #47313a) !important;
    box-shadow: 0 12px 24px rgba(20, 15, 16, 0.18);
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button .wc-block-components-button__text,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button__text {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    margin: 0;
    line-height: 1 !important;
    transform: none !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.01em;
    color: #fff;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
    background: linear-gradient(135deg, #2c1f24, #654652) !important;
    border-color: #654652;
    transform: translateY(-1px);
}

@media (max-width: 1200px) {
    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 380px);
        gap: 20px;
    }
}

@media (max-width: 980px) {
    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
        grid-template-columns: 1fr;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__sidebar,
    body.admin-bar.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
        position: static;
        top: auto;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__main,
    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
        border-radius: 16px;
        padding: 16px;
    }
}

@media (max-width: 760px) {

    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__main,
    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
        padding: 14px;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-step {
        border-radius: 14px;
        padding: 13px;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-step__title,
    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
        font-size: clamp(1.7rem, 8vw, 2.3rem);
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__actions_row {
        flex-direction: column;
        align-items: stretch;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-return-to-cart-button,
    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item {
        gap: 8px;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__image {
        width: 48px;
    }
}

@media (max-width: 560px) {

    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-step__content,
    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-step__content p,
    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-step__content label,
    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-order-summary__content,
    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-panel__button,
    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-totals-item__label,
    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-totals-item__value {
        font-size: 0.96rem;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button {
        min-height: 52px;
        border-radius: 12px;
    }
}

/* =========================
   V14 - MOBILE PANIER/CHECKOUT POLISH
   ========================= */

@media (max-width: 760px) {
    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__main {
        padding-bottom: calc(116px + env(safe-area-inset-bottom, 0px));
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-items__row {
        border: 1px solid rgba(30, 25, 25, 0.11);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 8px 20px rgba(20, 15, 16, 0.06);
        margin-bottom: 10px;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__image {
        align-self: start;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__image img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 12px;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__wrap {
        row-gap: 10px;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__quantity {
        margin-top: 0;
        gap: 8px;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-quantity-selector {
        min-width: 126px;
        max-width: 160px;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__remove-link {
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        padding: 0 6px;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details {
        margin-top: 6px;
        padding: 8px 10px;
        border-radius: 10px;
        gap: 4px;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details__name {
        font-size: 0.84rem;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details__value,
    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details li>span:last-child {
        font-size: 0.95rem;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__submit-container--sticky {
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid rgba(30, 25, 25, 0.12);
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: saturate(120%) blur(8px);
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__submit-button {
        min-height: 54px;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-details {
        margin-top: 6px;
        padding: 8px 10px;
        border-radius: 10px;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-details__value,
    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-details li>span:last-child {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }
}

@media (max-width: 560px) {
    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-items__row {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 8px 10px;
        padding: 10px;
        border-radius: 14px;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-name {
        font-size: 1.06rem;
        line-height: 1.28;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__total {
        padding-top: 8px;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details__value,
    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details li>span:last-child,
    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-details__value,
    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-details li>span:last-child {
        -webkit-line-clamp: 2;
    }
}

/* =========================
   V15 - COMPOSITION UX REFINEMENT
   ========================= */

/* Base meta */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details {
    border-color: rgba(30, 25, 25, 0.12);
    background: rgba(250, 246, 248, 0.72);
    padding: 9px 11px;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details__name {
    font-size: 0.86rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    opacity: 0.84;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details__value,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details li>span:last-child {
    font-size: 1.01rem;
}

/* Checkout summary: base container must not constrain accordion width */
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-details {
    width: 100%;
    margin-top: 6px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    display: block;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-details>span {
    display: block;
    width: 100%;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-metadata,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-details,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-details>span[data-creme-composition-accordion-ready="accordion"],
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-details>span[data-creme-composition-accordion-ready="accordion"] .wc-block-components-product-details__value,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description .creme-composition-accordion {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-metadata {
    display: block;
}

/* Accordion composition (panier + checkout + fallback classique) */
body.woocommerce-cart .wp-block-woocommerce-cart .creme-composition-accordion,
body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-accordion,
body.woocommerce-page .woocommerce .creme-composition-accordion {
    display: block;
    width: 100%;
    border: 1px solid rgba(45, 35, 39, 0.14);
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(249, 244, 246, 0.84));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 6px 16px rgba(24, 18, 19, 0.05);
    overflow: hidden;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details>span[data-creme-composition-accordion-ready="accordion"] {
    display: block !important;
    width: 100%;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details>span[data-creme-composition-accordion-ready="accordion"] .wc-block-components-product-details__name {
    display: none;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details>span[data-creme-composition-accordion-ready="accordion"]>span[aria-hidden="true"] {
    display: none;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details>span[data-creme-composition-accordion-ready="accordion"] .wc-block-components-product-details__value {
    display: block !important;
    width: 100%;
    overflow: visible;
    white-space: normal;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
}

body.woocommerce-cart .wp-block-woocommerce-cart .creme-composition-accordion summary,
body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-accordion summary,
body.woocommerce-page .woocommerce .creme-composition-accordion summary {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    padding: 10px 12px 11px;
}

body.woocommerce-cart .wp-block-woocommerce-cart .creme-composition-accordion summary::-webkit-details-marker,
body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-accordion summary::-webkit-details-marker,
body.woocommerce-page .woocommerce .creme-composition-accordion summary::-webkit-details-marker {
    display: none;
}

body.woocommerce-cart .wp-block-woocommerce-cart .creme-composition-accordion summary::after,
body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-accordion summary::after,
body.woocommerce-page .woocommerce .creme-composition-accordion summary::after {
    content: "⌄";
    margin-left: auto;
    font-weight: 700;
    font-size: 1.05rem;
    color: #3b3134;
    line-height: 1;
    transition: transform 0.2s ease;
}

body.woocommerce-cart .wp-block-woocommerce-cart .creme-composition-accordion[open] summary::after,
body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-accordion[open] summary::after,
body.woocommerce-page .woocommerce .creme-composition-accordion[open] summary::after {
    transform: rotate(180deg);
}

body.woocommerce-cart .wp-block-woocommerce-cart .creme-composition-accordion-head,
body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-accordion-head,
body.woocommerce-page .woocommerce .creme-composition-accordion-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    max-width: 100%;
}

body.woocommerce-cart .wp-block-woocommerce-cart .creme-composition-accordion-label,
body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-accordion-label,
body.woocommerce-page .woocommerce .creme-composition-accordion-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #30282b;
    opacity: 0.72;
    white-space: nowrap;
}

body.woocommerce-cart .wp-block-woocommerce-cart .creme-composition-accordion-meta,
body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-accordion-meta,
body.woocommerce-page .woocommerce .creme-composition-accordion-meta {
    font-size: 0.98rem;
    font-weight: 700;
    color: #32282c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

body.woocommerce-cart .wp-block-woocommerce-cart .creme-composition-accordion-content,
body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-accordion-content,
body.woocommerce-page .woocommerce .creme-composition-accordion-content {
    padding: 10px 12px 12px;
    border-top: 1px dashed rgba(30, 25, 25, 0.13);
}

body.woocommerce-cart .wp-block-woocommerce-cart .creme-composition-accordion-list,
body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-accordion-list,
body.woocommerce-page .woocommerce .creme-composition-accordion-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
}

body.woocommerce-cart .wp-block-woocommerce-cart .creme-composition-accordion-list li,
body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-accordion-list li,
body.woocommerce-page .woocommerce .creme-composition-accordion-list li {
    margin: 0;
    padding: 6px 8px;
    border: 1px solid rgba(30, 25, 25, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.94rem;
    line-height: 1.3;
    color: #43393c;
}

body.woocommerce-cart .wp-block-woocommerce-cart .creme-composition-item-name,
body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-item-name,
body.woocommerce-page .woocommerce .creme-composition-item-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

body.woocommerce-cart .wp-block-woocommerce-cart .creme-composition-item-qty,
body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-item-qty,
body.woocommerce-page .woocommerce .creme-composition-item-qty {
    flex: 0 0 auto;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #2f272a;
    background: rgba(229, 168, 184, 0.24);
    border: 1px solid rgba(120, 86, 98, 0.16);
    border-radius: 999px;
    padding: 2px 8px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-accordion-list li {
    font-size: 0.9rem;
}

body.woocommerce-cart .wp-block-woocommerce-cart .creme-composition-accordion-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-accordion-content {
    max-height: 176px;
    overflow-y: auto;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-accordion-content::-webkit-scrollbar {
    width: 8px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-accordion-content::-webkit-scrollbar-thumb {
    background: rgba(93, 73, 80, 0.25);
    border-radius: 999px;
}

@media (max-width: 760px) {
    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__quantity {
        justify-content: space-between;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__total {
        margin-top: 0;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details__value,
    body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details li>span:last-child {
        font-size: 0.94rem;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .creme-composition-accordion summary,
    body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-accordion summary,
    body.woocommerce-page .woocommerce .creme-composition-accordion summary {
        padding: 9px 10px;
        gap: 8px;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .creme-composition-accordion-meta,
    body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-accordion-meta,
    body.woocommerce-page .woocommerce .creme-composition-accordion-meta {
        font-size: 0.88rem;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .creme-composition-accordion-content,
    body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-accordion-content,
    body.woocommerce-page .woocommerce .creme-composition-accordion-content {
        padding: 8px 10px 10px;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .creme-composition-accordion-list {
        grid-template-columns: 1fr;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart .creme-composition-accordion-list li,
    body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-accordion-list li,
    body.woocommerce-page .woocommerce .creme-composition-accordion-list li {
        font-size: 0.88rem;
        padding: 6px 7px;
    }
}

/* Checkout summary: classic composition text (no accordion) */
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item.creme-has-composition-text .wc-block-components-order-summary-item__description .wc-block-components-product-metadata,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item.creme-has-composition-text .wc-block-components-order-summary-item__description .wc-block-components-product-details {
    align-self: stretch;
    width: 100% !important;
    max-width: none !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item.creme-has-composition-text .wc-block-components-order-summary-item__description .wc-block-components-product-details {
    margin-top: 6px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item .wc-block-components-product-details>span.creme-composition-text-row {
    display: block !important;
    width: 100%;
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(48, 36, 41, 0.14);
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(249, 244, 246, 0.84));
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item .wc-block-components-product-details>span.creme-composition-text-row .wc-block-components-product-details__name {
    display: block;
    margin: 0 0 6px;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #31272b;
    opacity: 0.72;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item .wc-block-components-product-details>span.creme-composition-text-row>span[aria-hidden="true"] {
    display: none;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item .wc-block-components-product-details>span.creme-composition-text-row .wc-block-components-product-details__value {
    display: block !important;
    width: 100%;
    margin: 0;
    font-size: 0.96rem;
    font-weight: 500;
    line-height: 1.5;
    color: #3f3539;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
    -webkit-line-clamp: unset;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-text-meta,
body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-text-list {
    display: block;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-text-meta {
    font-weight: 700;
    color: #31272b;
    margin-bottom: 2px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-composition-text-list {
    color: #4a3f43;
}

@media (max-width: 760px) {
    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item .wc-block-components-product-details>span.creme-composition-text-row {
        margin-top: 7px;
        padding: 9px 10px;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item .wc-block-components-product-details>span.creme-composition-text-row .wc-block-components-product-details__value {
        font-size: 0.92rem;
        line-height: 1.42;
    }
}

/* =========================
   V16 - CHECKOUT STEPPER + PAYMENT PREVIEW
   ========================= */

body.woocommerce-checkout .wp-block-woocommerce-checkout.creme-checkout-enhanced {
    --creme-step-line: rgba(48, 36, 41, 0.16);
    --creme-step-accent: #2e2228;
    --creme-step-soft: rgba(229, 168, 184, 0.25);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-checkout-progress {
    margin: 0 0 14px;
    padding: 10px;
    border: 1px solid var(--creme-step-line);
    border-radius: 16px;
    background:
        radial-gradient(circle at 100% 0%, rgba(229, 168, 184, 0.12), transparent 36%),
        radial-gradient(circle at 0% 100%, rgba(185, 199, 168, 0.12), transparent 40%),
        rgba(255, 255, 255, 0.9);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-checkout-progress__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-checkout-progress__item {
    min-width: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-checkout-progress__button {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--creme-step-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-checkout-progress__button:hover {
    border-color: rgba(108, 78, 88, 0.44);
    transform: translateY(-1px);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-checkout-progress__number {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(78, 58, 66, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #3b2f34;
    background: rgba(255, 255, 255, 0.82);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-checkout-progress__label {
    min-width: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #35282d;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-checkout-progress__item.is-active .creme-checkout-progress__button {
    border-color: rgba(96, 66, 78, 0.48);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.94), rgba(250, 242, 246, 0.86));
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-checkout-progress__item.is-active .creme-checkout-progress__number {
    color: #fff;
    border-color: #2f2328;
    background: linear-gradient(135deg, #2f2328, #5a3f49);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-checkout-progress__item.is-done .creme-checkout-progress__button {
    border-color: rgba(80, 109, 83, 0.4);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.94), rgba(237, 245, 236, 0.82));
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-checkout-progress__item.is-done .creme-checkout-progress__number {
    border-color: rgba(72, 107, 74, 0.48);
    color: #355238;
    background: rgba(233, 244, 231, 0.88);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-checkout-step-hidden {
    display: none !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-step.creme-checkout-step-active {
    border-color: rgba(99, 72, 82, 0.34);
    box-shadow: 0 12px 28px rgba(25, 18, 21, 0.08);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-step-controls {
    display: none;
    margin: 10px 0 16px;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-step-controls.is-active {
    display: flex;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-step-button {
    appearance: none;
    border: 1px solid #2f2328;
    border-radius: 999px;
    min-height: 46px;
    padding: 0 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-step-button.is-primary {
    color: #fff;
    border-color: #2f2328;
    background: linear-gradient(135deg, #1a1517, #47313a);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-step-button.is-primary:hover {
    transform: translateY(-1px);
    border-color: #654652;
    background: linear-gradient(135deg, #2c1f24, #654652);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-step-button.is-ghost {
    color: #2f2328;
    border-color: rgba(47, 35, 40, 0.35);
    background: rgba(255, 255, 255, 0.84);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-step-button.is-ghost:hover {
    transform: translateY(-1px);
    border-color: rgba(47, 35, 40, 0.58);
    background: rgba(255, 255, 255, 0.96);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview {
    position: relative;
    overflow: hidden;
    margin: 0 0 14px;
    padding: 16px 16px 14px;
    border-radius: 16px;
    border: 1px solid rgba(126, 98, 108, 0.45);
    background:
        radial-gradient(circle at 100% 0%, rgba(229, 168, 184, 0.38), transparent 42%),
        radial-gradient(circle at 0% 100%, rgba(185, 199, 168, 0.26), transparent 46%),
        linear-gradient(140deg, #20181c, #3f2d36 55%, #564049);
    box-shadow: 0 16px 32px rgba(16, 11, 13, 0.26);
    color: #fff;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview.is-hidden {
    display: none !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview__chip {
    width: 36px;
    height: 26px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: linear-gradient(150deg, rgba(246, 233, 191, 0.94), rgba(201, 175, 123, 0.9));
    margin-bottom: 16px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview__number {
    font-family: "Bebas Neue", "Arial Narrow", Arial, sans-serif;
    font-size: clamp(1.35rem, 2.6vw, 1.7rem);
    letter-spacing: 0.11em;
    line-height: 1;
    margin-bottom: 14px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview__meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: end;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview__meta-label {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.76;
    margin-bottom: 3px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview__meta-value {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.93rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-cart-items-block .wc-block-components-order-summary__content {
    max-height: min(52vh, 560px);
    overflow-y: auto;
    padding-right: 6px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-cart-items-block .wc-block-components-order-summary__content::-webkit-scrollbar {
    width: 8px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-cart-items-block .wc-block-components-order-summary__content::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(92, 70, 78, 0.28);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 10px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description {
    min-width: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item .creme-composition-text-list {
    max-height: 5.4em;
    overflow: auto;
    padding-right: 4px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item .creme-composition-text-list::-webkit-scrollbar {
    width: 6px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item .creme-composition-text-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(90, 70, 77, 0.24);
}

@media (max-width: 980px) {
    body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-checkout-progress__list {
        grid-template-columns: 1fr;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-checkout-progress__button {
        min-height: 48px;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-cart-items-block .wc-block-components-order-summary__content {
        max-height: 44vh;
    }
}

@media (max-width: 760px) {
    body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-step-controls.is-active {
        flex-direction: column;
        align-items: stretch;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-step-button {
        width: 100%;
        min-height: 50px;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview {
        padding: 14px 13px 12px;
        border-radius: 14px;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview__number {
        font-size: clamp(1.15rem, 7vw, 1.45rem);
        letter-spacing: 0.08em;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview__meta {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview__holder {
        grid-column: 1 / -1;
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__total-price {
        grid-column: 2;
        justify-self: end;
    }
}

/* =========================
   V17 - CHECKOUT FULL VIEW (NO STEPS)
   ========================= */

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-checkout-progress,
body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-step-controls {
    display: none !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-checkout-step-hidden {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-step {
    margin-bottom: 16px;
    border-radius: 20px;
    border-color: rgba(48, 36, 41, 0.14);
    box-shadow: 0 10px 24px rgba(22, 16, 18, 0.06);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-checkout-step__heading {
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(48, 36, 41, 0.1);
}

/* =========================
   V18 - PAYMENT CARD PREVIEW + PREMIUM PAYMENT UI
   ========================= */

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview {
    margin: 0 0 16px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview__secure {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview__brand {
    font-family: "Bebas Neue", "Arial Narrow", Arial, sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.16em;
    opacity: 0.9;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview.is-filled {
    border-color: rgba(170, 206, 170, 0.5);
    box-shadow: 0 16px 32px rgba(16, 11, 13, 0.26), 0 0 0 1px rgba(170, 206, 170, 0.26) inset;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview.is-filled .creme-card-preview__secure {
    border-color: rgba(170, 206, 170, 0.6);
    background: rgba(170, 206, 170, 0.2);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout #payment-method .wc-block-components-checkout-step__content {
    display: grid;
    gap: 12px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-radio-control-accordion-option {
    border: 1px solid rgba(48, 36, 41, 0.12);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.76);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-radio-control-accordion-content {
    padding: 8px 12px 12px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wcstripe-payment-element {
    border: 1px solid rgba(48, 36, 41, 0.14);
    border-radius: 12px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.86);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__terms {
    margin-top: 4px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(48, 36, 41, 0.12);
    background: rgba(255, 255, 255, 0.72);
}

/* =========================
   V19 - CARD PREVIEW LEGIBILITY
   ========================= */

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview {
    position: relative;
    overflow: hidden;
    padding: 18px 18px 16px;
    border-radius: 18px;
    border: 1px solid rgba(185, 147, 162, 0.46);
    background:
        radial-gradient(circle at 90% -20%, rgba(220, 164, 186, 0.42), transparent 42%),
        radial-gradient(circle at 0% 100%, rgba(199, 188, 155, 0.2), transparent 44%),
        linear-gradient(132deg, #130f13 0%, #2a1f27 45%, #513948 100%);
    box-shadow: 0 18px 40px rgba(16, 11, 13, 0.35);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.07), transparent 32%);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview>* {
    position: relative;
    z-index: 1;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview,
body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview * {
    color: #ffffff !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview__secure {
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.14);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview__brand {
    font-size: 1.16rem;
    opacity: 0.97;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview__chip {
    margin-bottom: 14px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview__number {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview__meta-label {
    font-size: 0.68rem;
    opacity: 0.9;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout .creme-card-preview__meta-value {
    font-size: 1.06rem;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}


/* =========================
   V24 - CLASSIC CART LUXURY REBUILD
   ========================= */

body.woocommerce-cart {
    --creme-cart-ink: #221b1f;
    --creme-cart-muted: rgba(43, 35, 39, 0.74);
    --creme-cart-line: rgba(50, 38, 44, 0.14);
    --creme-cart-soft: rgba(233, 187, 201, 0.18);
    --creme-cart-accent: #c47499;
    --creme-cart-btn-dark: #181316;
    --creme-cart-btn-dark-2: #2d1f26;
    --creme-cart-shadow: 0 20px 44px rgba(24, 17, 20, 0.1);
}

body.woocommerce-cart .creme-woo-page {
    padding-top: 190px;
}

body.woocommerce-cart .creme-woo-header {
    max-width: 840px;
}

body.woocommerce-cart .creme-woo-header .section-title {
    margin-bottom: 14px;
}

body.woocommerce-cart .creme-woo-header .section-description {
    max-width: 68ch;
    line-height: 1.56;
    color: var(--creme-cart-muted);
}

body.woocommerce-cart .creme-woo-card {
    border-radius: 34px;
    padding: clamp(20px, 2.2vw, 30px);
}

body.woocommerce-cart .creme-woo-card .woocommerce-notices-wrapper {
    margin-bottom: 16px;
}

body.woocommerce-cart .creme-woo-card .woocommerce-message {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(95, 145, 78, 0.44);
    border-left: 4px solid rgba(95, 145, 78, 0.86);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(243, 250, 240, 0.9));
    box-shadow: 0 10px 22px rgba(22, 16, 18, 0.08);
    color: var(--creme-cart-ink);
}

body.woocommerce-cart .creme-woo-card .woocommerce-message::before {
    color: #5d8f49;
}

body.woocommerce-cart .creme-woo-card.entry-content>.woocommerce {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
    gap: clamp(22px, 2.2vw, 34px);
    align-items: start;
}

body.woocommerce-cart .creme-woo-card.entry-content>.woocommerce>form.woocommerce-cart-form,
body.woocommerce-cart .creme-woo-card.entry-content>.woocommerce>.cart-collaterals {
    float: none !important;
    width: 100% !important;
    clear: both !important;
    margin: 0;
    min-width: 0;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form {
    text-align: left;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents {
    width: 100%;
    table-layout: auto !important;
    border: 1px solid var(--creme-cart-line);
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents thead th {
    padding: 15px 14px;
    border-bottom: 1px solid var(--creme-cart-line);
    background: linear-gradient(150deg, rgba(241, 231, 236, 0.92), rgba(253, 249, 251, 0.86));
    color: rgba(30, 24, 27, 0.9);
    font-family: "Bebas Neue", "Arial Narrow", Arial, sans-serif;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item {
    display: table-row !important;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item>td {
    display: table-cell !important;
    padding: 18px 14px !important;
    border-top: 1px solid rgba(50, 38, 44, 0.1);
    vertical-align: middle;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item:first-child>td {
    border-top: 0;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents th.product-remove,
body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents th.product-thumbnail,
body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents th.product-name,
body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents th.product-price,
body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents th.product-quantity,
body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents th.product-subtotal,
body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents td.product-remove,
body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents td.product-thumbnail,
body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents td.product-name,
body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents td.product-price,
body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents td.product-quantity,
body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents td.product-subtotal {
    visibility: visible !important;
    opacity: 1 !important;
}

@media (min-width: 901px) {
    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents td::before {
        display: none !important;
        content: none !important;
    }
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form td.product-remove {
    width: 52px;
    text-align: center;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form td.product-remove a.remove {
    width: 34px;
    height: 34px;
    line-height: 31px;
    border-radius: 999px;
    border: 1px solid rgba(199, 143, 164, 0.34);
    color: #8f5b6e !important;
    background: rgba(237, 202, 215, 0.22);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form td.product-remove a.remove:hover {
    transform: scale(1.04);
    color: #fff !important;
    background: #8f5b6e;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form td.product-thumbnail {
    width: 116px;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form td.product-thumbnail a {
    display: inline-block;
    width: 88px;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form td.product-thumbnail img {
    width: 88px !important;
    height: 88px !important;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 14px 24px rgba(20, 15, 17, 0.12);
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form td.product-name {
    min-width: 300px;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form .product-name>a {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--creme-cart-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form .product-name>a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form .product-name .variation {
    margin: 0;
    padding: 12px 13px;
    border: 1px solid rgba(50, 38, 44, 0.12);
    border-radius: 14px;
    background: linear-gradient(152deg, rgba(255, 255, 255, 0.9), rgba(248, 242, 246, 0.9));
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form .product-name .variation dt,
body.woocommerce-cart .creme-woo-card .woocommerce-cart-form .product-name .variation dd,
body.woocommerce-cart .creme-woo-card .woocommerce-cart-form .product-name .variation dd p {
    display: inline;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form .product-name .variation dt {
    font-weight: 700;
    margin-right: 6px;
    color: #261f23;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form .product-name .variation dd,
body.woocommerce-cart .creme-woo-card .woocommerce-cart-form .product-name .variation dd p {
    color: rgba(46, 36, 41, 0.9);
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form td.product-price,
body.woocommerce-cart .creme-woo-card .woocommerce-cart-form td.product-subtotal {
    width: 128px;
    text-align: right;
    white-space: nowrap;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form td.product-price .amount,
body.woocommerce-cart .creme-woo-card .woocommerce-cart-form td.product-subtotal .amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #241d20;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form td.product-quantity {
    width: 124px;
    text-align: center;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form .quantity .qty {
    width: 100%;
    max-width: 100px;
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(50, 38, 44, 0.16);
    background: rgba(255, 255, 255, 0.94);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    color: var(--creme-cart-ink);
}

/* Premium button system */
body.woocommerce-cart .creme-woo-card .woocommerce a.button,
body.woocommerce-cart .creme-woo-card .woocommerce button.button,
body.woocommerce-cart .creme-woo-card .woocommerce input.button,
body.woocommerce-cart .creme-woo-card .woocommerce .checkout-button,
body.woocommerce-cart .creme-woo-card .woocommerce-message .button.wc-forward {
    appearance: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 14px;
    border: 1px solid rgba(22, 17, 19, 0.95);
    background: linear-gradient(145deg, var(--creme-cart-btn-dark), var(--creme-cart-btn-dark-2));
    box-shadow: 0 10px 20px rgba(15, 11, 13, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    font-family: "Bebas Neue", "Arial Narrow", Arial, sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

body.woocommerce-cart .creme-woo-card .woocommerce a.button:hover,
body.woocommerce-cart .creme-woo-card .woocommerce button.button:hover,
body.woocommerce-cart .creme-woo-card .woocommerce input.button:hover,
body.woocommerce-cart .creme-woo-card .woocommerce .checkout-button:hover,
body.woocommerce-cart .creme-woo-card .woocommerce-message .button.wc-forward:hover {
    transform: translateY(-1px);
    border-color: #4d343f;
    background: linear-gradient(145deg, #251b20, #4a333e);
    box-shadow: 0 14px 24px rgba(15, 11, 13, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body.woocommerce-cart .creme-woo-card .woocommerce a.button:focus-visible,
body.woocommerce-cart .creme-woo-card .woocommerce button.button:focus-visible,
body.woocommerce-cart .creme-woo-card .woocommerce input.button:focus-visible,
body.woocommerce-cart .creme-woo-card .woocommerce .checkout-button:focus-visible,
body.woocommerce-cart .creme-woo-card .woocommerce-message .button.wc-forward:focus-visible {
    outline: 2px solid rgba(195, 117, 153, 0.76);
    outline-offset: 2px;
}

body.woocommerce-cart .creme-woo-card .woocommerce button.button[disabled],
body.woocommerce-cart .creme-woo-card .woocommerce input.button[disabled] {
    cursor: not-allowed;
    opacity: 0.45;
    box-shadow: none;
    transform: none;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form tr>td.actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 14px;
    align-items: end;
    padding: 18px 14px !important;
    border-top: 1px solid var(--creme-cart-line);
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form tr>td.actions .coupon {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin: 0;
    grid-column: 1;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form tr>td.actions .coupon input.input-text {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(50, 38, 44, 0.16);
    background: rgba(255, 255, 255, 0.94);
    color: var(--creme-cart-ink);
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form tr>td.actions .coupon input.input-text::placeholder {
    color: rgba(45, 35, 40, 0.52);
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form tr>td.actions .coupon .button {
    min-width: 234px;
}

body.woocommerce-cart .creme-woo-card .woocommerce-cart-form tr>td.actions>.button[name="update_cart"] {
    grid-column: 2;
    min-width: 218px;
}

body.woocommerce-cart .creme-woo-card .cart-collaterals {
    margin-top: 0;
}

body.woocommerce-cart .creme-woo-card .cart_totals {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid var(--creme-cart-line);
    background:
        radial-gradient(circle at 100% 0%, rgba(233, 187, 201, 0.16), transparent 42%),
        radial-gradient(circle at 0% 100%, rgba(191, 205, 173, 0.13), transparent 44%),
        linear-gradient(150deg, rgba(255, 255, 255, 0.97), rgba(249, 244, 247, 0.93));
    box-shadow: var(--creme-cart-shadow);
    position: sticky;
    top: 122px;
}

body.admin-bar.woocommerce-cart .creme-woo-card .cart_totals {
    top: 154px;
}

body.woocommerce-cart .creme-woo-card .cart_totals>h2 {
    margin-bottom: 14px;
    color: var(--creme-cart-ink);
    font-size: clamp(2rem, 2.7vw, 2.9rem);
    line-height: 0.95;
}

body.woocommerce-cart .creme-woo-card .cart_totals table.shop_table {
    border-radius: 16px;
    border: 1px solid var(--creme-cart-line);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
}

body.woocommerce-cart .creme-woo-card .cart_totals table.shop_table th,
body.woocommerce-cart .creme-woo-card .cart_totals table.shop_table td {
    padding: 14px;
}

body.woocommerce-cart .creme-woo-card .cart_totals table.shop_table th {
    width: 42%;
}

body.woocommerce-cart .creme-woo-card ul#shipping_method {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

body.woocommerce-cart .creme-woo-card ul#shipping_method li {
    margin: 0;
    list-style: none;
}

body.woocommerce-cart .creme-woo-card ul#shipping_method li input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

body.woocommerce-cart .creme-woo-card ul#shipping_method li label {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(50, 38, 44, 0.16);
    background: rgba(255, 255, 255, 0.92);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.woocommerce-cart .creme-woo-card ul#shipping_method li input[type="radio"]:checked+label {
    border-color: rgba(203, 121, 156, 0.7);
    box-shadow: 0 0 0 2px rgba(233, 187, 201, 0.24);
    background: rgba(255, 247, 251, 0.96);
}

body.woocommerce-cart .creme-woo-card .woocommerce-shipping-destination {
    margin: 10px 0 0;
    font-size: 0.94rem;
    color: var(--creme-cart-muted);
}

body.woocommerce-cart .creme-woo-card .shipping-calculator-button {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #241c1f;
    font-weight: 700;
    text-decoration: none;
}

body.woocommerce-cart .creme-woo-card .shipping-calculator-button:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.woocommerce-cart .creme-woo-card .wc-proceed-to-checkout {
    margin-top: 18px;
}

body.woocommerce-cart .creme-woo-card .wc-proceed-to-checkout .checkout-button {
    width: 100%;
    min-height: 58px;
    border-radius: 16px;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
}

@media (max-width: 1240px) {
    body.woocommerce-cart .creme-woo-card.entry-content>.woocommerce {
        grid-template-columns: 1fr;
    }

    body.woocommerce-cart .creme-woo-card .cart_totals,
    body.admin-bar.woocommerce-cart .creme-woo-card .cart_totals {
        position: static;
        top: auto;
    }
}

@media (max-width: 900px) {
    body.woocommerce-cart .creme-woo-page {
        padding-top: 150px;
    }

    body.woocommerce-cart .creme-woo-card {
        padding: 16px;
        border-radius: 24px;
    }

    body.woocommerce-cart .creme-woo-card .woocommerce-message {
        padding: 12px;
    }

    body.woocommerce-cart .creme-woo-card .woocommerce-message .button.wc-forward {
        width: 100%;
    }

    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents thead {
        display: none;
    }

    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item {
        display: block !important;
        margin: 0 0 12px;
        padding: 12px;
        border: 1px solid var(--creme-cart-line);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 10px 20px rgba(22, 16, 18, 0.08);
    }

    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item>td {
        display: block !important;
        width: 100% !important;
        padding: 8px 0 !important;
        border: 0 !important;
        text-align: right;
    }

    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item>td::before {
        content: attr(data-title) ": ";
        float: left;
        font-size: 0.82rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: rgba(46, 36, 41, 0.72);
    }

    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item>td.product-remove,
    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item>td.product-thumbnail,
    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item>td.product-name,
    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item>td.actions {
        text-align: left;
    }

    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item>td.product-remove::before,
    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item>td.product-thumbnail::before,
    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item>td.product-name::before,
    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form table.shop_table.woocommerce-cart-form__contents tr.woocommerce-cart-form__cart-item>td.actions::before {
        display: none;
    }

    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form td.product-thumbnail a {
        width: 84px;
    }

    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form td.product-thumbnail img {
        width: 84px !important;
        height: 84px !important;
    }

    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form tr>td.actions {
        grid-template-columns: 1fr;
    }

    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form tr>td.actions .coupon {
        grid-template-columns: 1fr;
    }

    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form tr>td.actions .coupon .button,
    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form tr>td.actions>.button[name="update_cart"] {
        width: 100%;
        min-width: 0;
    }

    body.woocommerce-cart .creme-woo-card .wc-proceed-to-checkout .checkout-button {
        min-height: 56px;
    }
}

@media (max-width: 560px) {
    body.woocommerce-cart .creme-woo-page {
        padding-top: 136px;
    }

    body.woocommerce-cart .creme-woo-header .section-title {
        font-size: clamp(2.8rem, 14vw, 4rem);
    }

    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form .product-name .variation dt,
    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form .product-name .variation dd,
    body.woocommerce-cart .creme-woo-card .woocommerce-cart-form .product-name .variation dd p {
        font-size: 0.95rem;
    }
}