/* =============================================================================
   CVC — WooCommerce Custom Styles
   Central Vintage Club · archive produits + cards
   ============================================================================= */

/* ── Variables ─────────────────────────────────────────────────────────────── */
:root {
    --cvc-bg:          #000000;
    --cvc-bg-card:     #060606;
    --cvc-bg-card-h:   #1e1e1e;
    --cvc-bg-filter:   #111111;
    --cvc-border:      #272727;
    --cvc-border-h:    #3a3a3a;
    --cvc-text:        #e8e8e8;
    --cvc-text-muted:  #888888;
    --cvc-text-dim:    #555555;
    --cvc-accent:      #c93c36;
    --cvc-accent-h:    #e04540;
    --cvc-accent-soft: rgba(201, 60, 54, 0.12);
    --cvc-white:       #ffffff;
    --cvc-radius:      10px;
    --cvc-radius-sm:   6px;
    --cvc-transition:  0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --cvc-sidebar-w:   350px;
    --cvc-font:        inherit;
    --cvc-shadow:      0 4px 24px rgba(0,0,0,.45);
    --cvc-shadow-card: 0 2px 16px rgba(0,0,0,.4);

}

/* ── Reset minimal ─────────────────────────────────────────────────────────── */
.cvc-shop-wrap *,
.cvc-shop-wrap *::before,
.cvc-shop-wrap *::after { box-sizing: border-box; }

.cvc-shop-wrap button { cursor: pointer; }

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Layout principal ──────────────────────────────────────────────────────── */
body.woocommerce,
body.woocommerce-page,
body.post-type-archive-product,
body.tax-product_cat {
    background: var(--cvc-bg);
}

/* Supprimer le wrapper par défaut de WooCommerce */
.woocommerce-page .woocommerce,
.woocommerce .woocommerce {
    max-width: none;
    padding: 0;
    margin: 0;
}

.cvc-shop-wrap {
    display: block;
    min-height: 80vh;
    background: var(--cvc-bg);
    color: var(--cvc-text);
    font-family: var(--cvc-font);
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* ── Cercle dégradé rouge ambiance drop ──────────────────────────────────── */
.cvc-circle-glow {
    position: absolute;
    top: -15%;
    right: -10%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: var(--cvc-accent);
    opacity: .12;
    filter: blur(180px);
    pointer-events: none;
    z-index: 0;
}
.cvc-single-wrap { position: relative; overflow: visible; }
.cvc-single-wrap .cvc-circle-glow { display: none; }

/* ── SIDEBAR FILTRES — toujours en overlay, visible via bouton Filtres ──────── */
.cvc-filters {
    background: var(--cvc-bg-filter);
    border-right: 1px solid var(--cvc-border);
    padding: 28px 0 40px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--cvc-sidebar-w);
    max-width: 350px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--cvc-border) transparent;
    z-index: 999;
    box-shadow: var(--cvc-shadow);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cvc-filters.is-open {
    transform: translateX(0);
}

.cvc-filters::-webkit-scrollbar { width: 4px; }
.cvc-filters::-webkit-scrollbar-track { background: transparent; }
.cvc-filters::-webkit-scrollbar-thumb { background: var(--cvc-border); border-radius: 2px; }

.cvc-filters__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 20px;
    border-bottom: 1px solid var(--cvc-border);
    margin-bottom: 8px;
}

.cvc-filters__title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--cvc-white);
}

.cvc-filters__reset {
    background: none;
    border: none;
    padding: 0;
    font-size: 11px;
    color: var(--cvc-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--cvc-transition);
}
.cvc-filters__reset:hover { color: var(--cvc-accent-h); }

/* Blocs accordion */
.cvc-filter-block {
    border-bottom: 1px solid var(--cvc-border);
    padding: 0;
}

.cvc-filter-block__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: none;
    border: none;
    color: var(--cvc-text);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;
    text-align: left;
    transition: color var(--cvc-transition);
}
.cvc-filter-block__toggle:hover { color: var(--cvc-white); }

.cvc-filter-block__label {
    display: block;
    padding: 14px 20px 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cvc-text);
}

.cvc-filter-block__chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform var(--cvc-transition);
    color: var(--cvc-text-muted);
}
.cvc-filter-block.is-open .cvc-filter-block__chevron { transform: rotate(180deg); }

.cvc-filter-block__body {
    padding: 4px 20px 16px;
    display: none;
}
.cvc-filter-block.is-open .cvc-filter-block__body { display: block; }

/* Champ recherche */
.cvc-search-wrap {
    position: relative;
    padding: 4px 20px 16px;
}
.cvc-search-wrap__icon {
    position: absolute;
    left: 32px;
    top: 4px;
    bottom: 16px;
    margin: auto;
    height: 15px;
    width: 15px;
    color: var(--cvc-text-muted);
    pointer-events: none;
}
.cvc-search-wrap__input {
    width: 100%;
    background: var(--cvc-bg-card);
    border: 1px solid var(--cvc-border);
    border-radius: var(--cvc-radius-sm);
    padding: 9px 12px 9px 36px;
    color: var(--cvc-text);
    font-size: 13px;
    outline: none;
    transition: border-color var(--cvc-transition), box-shadow var(--cvc-transition);
}
.cvc-search-wrap__input::placeholder { color: var(--cvc-text-dim); }
.cvc-search-wrap__input:focus {
    border-color: var(--cvc-accent);
    box-shadow: 0 0 0 3px var(--cvc-accent-soft);
}

/* Liste de filtres */
.cvc-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cvc-filter-list__item { display: flex; }
.cvc-filter-reset-brands,
.cvc-filter-reset-types { display: none !important; }

.cvc-filter-list__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 6px 10px;
    border-radius: var(--cvc-radius-sm);
    font-size: 13px;
    color: var(--cvc-text-muted);
    text-decoration: none;
    transition: background var(--cvc-transition), color var(--cvc-transition);
}
.cvc-filter-list__link:hover { background: var(--cvc-bg-card-h); color: var(--cvc-text); }
.cvc-filter-list__item.is-active .cvc-filter-list__link {
    color: var(--cvc-accent);
    background: var(--cvc-accent-soft);
}

.cvc-filter-list__count {
    font-size: 11px;
    color: var(--cvc-text-dim);
    background: var(--cvc-bg-card-h);
    border-radius: 4px;
    padding: 1px 5px;
    min-width: 20px;
    text-align: center;
}

/* Checkbox custom */
.cvc-checkbox {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px 10px 5px 0;
    border-radius: var(--cvc-radius-sm);
    width: 100%;
    transition: background var(--cvc-transition);
}
.cvc-checkbox:hover { background: var(--cvc-bg-card-h); }

/* Masquer l'input natif sans casser le sélecteur adjacent + */
.cvc-checkbox__input {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    margin: 0;
    border: none;
}

.cvc-checkbox__box {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border: 1.5px solid var(--cvc-border-h);
    border-radius: 4px;
    background: transparent;
    transition: border-color var(--cvc-transition), background var(--cvc-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cvc-checkbox__input:checked + .cvc-checkbox__box {
    background: var(--cvc-accent);
    border-color: var(--cvc-accent);
}
.cvc-checkbox__input:checked + .cvc-checkbox__box::after {
    content: '';
    display: block;
    width: 8px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
}
.cvc-checkbox__label {
    font-size: 13px;
    color: var(--cvc-text-muted);
    flex: 1;
}
.cvc-checkbox__input:checked ~ .cvc-checkbox__label { color: var(--cvc-text); }

/* Masquer les inputs natifs radio/checkbox des filtres */
.cvc-checkbox__input.cvc-filter-radio,
.cvc-checkbox__input.cvc-filter-checkbox { display: none; }

/* Noms de drops en majuscules */
.cvc-filter-radio ~ .cvc-checkbox__label { text-transform: uppercase; }

/* Price range */
.cvc-price-range { padding: 8px 0 4px; }

.cvc-price-range__track {
    position: relative;
    height: 4px;
    background: var(--cvc-border-h);
    border-radius: 2px;
    margin-bottom: 16px;
}

.cvc-price-range__fill {
    position: absolute;
    height: 100%;
    background: var(--cvc-accent);
    border-radius: 2px;
    pointer-events: none;
    left: 0%;
    right: 0%;
}

.cvc-price-range__input {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
    left: 0;
}
.cvc-price-range__input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--cvc-white);
    border: 2px solid var(--cvc-accent);
    pointer-events: all;
    cursor: pointer;
    box-shadow: 0 1px 6px rgba(0,0,0,.4);
    transition: transform var(--cvc-transition), box-shadow var(--cvc-transition);
}
.cvc-price-range__input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 4px var(--cvc-accent-soft);
}
.cvc-price-range__input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--cvc-white);
    border: 2px solid var(--cvc-accent);
    pointer-events: all;
    cursor: pointer;
}

.cvc-price-range__labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--cvc-text-muted);
    margin-top: 4px;
}

/* sr-only générique */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

/* ── ZONE PRINCIPALE ───────────────────────────────────────────────────────── */
.cvc-shop-main {
    padding: 28px 32px 60px;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

/* Topbar */
.cvc-shop-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cvc-shop-topbar__left,
.cvc-shop-topbar__right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cvc-shop-topbar__breadcrumb {
    font-size: 13px;
    color: var(--cvc-text-muted);
}
.cvc-shop-topbar__breadcrumb a {
    color: var(--cvc-text-muted);
    text-decoration: none;
}
.cvc-shop-topbar__breadcrumb a:hover { color: var(--cvc-text); }
.cvc-shop-topbar__breadcrumb .sep { margin: 0 6px; }

/* Boutons topbar style SaaS (Filtres, Rechercher, Best-sellers) */
.cvc-topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: var(--cvc-bg-card);
    border: 1px solid var(--cvc-border);
    border-radius: var(--cvc-radius-sm);
    color: var(--cvc-text);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color var(--cvc-transition), background var(--cvc-transition), color var(--cvc-transition);
}
.cvc-topbar-btn i { font-size: 13px; color: var(--cvc-text-muted); transition: color var(--cvc-transition); }
.cvc-topbar-btn:hover {
    border-color: var(--cvc-border-h);
    background: var(--cvc-bg-card-h);
    color: var(--cvc-white);
}
.cvc-topbar-btn:hover i { color: var(--cvc-text); }
.cvc-topbar-btn.is-active {
    border-color: var(--cvc-accent);
    background: var(--cvc-accent-soft);
    color: var(--cvc-white);
}
.cvc-topbar-btn.is-active i { color: var(--cvc-accent); }
.cvc-topbar-btn--disabled,
.cvc-topbar-btn[disabled] {
    opacity: .4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Variante "Tout effacer" — accent rouge discret */
.cvc-topbar-btn--clear {
    color: var(--cvc-accent);
}
.cvc-topbar-btn--clear i { color: var(--cvc-accent); }
.cvc-topbar-btn--clear:hover {
    border-color: var(--cvc-accent);
    color: var(--cvc-accent-h);
}
.cvc-topbar-btn--clear:hover i { color: var(--cvc-accent-h); }

/* Badge count sur le bouton Filtres */
.cvc-topbar-btn__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--cvc-accent);
    color: #fff;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
}

/* Garder la compatibilité avec l'ancien .cvc-filters-toggle (alias) */
.cvc-filters-toggle { display: none; }

/* Barre de recherche inline sous la topbar */
.cvc-search-bar {
    margin-bottom: 16px;
    animation: cvc-search-expand .18s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes cvc-search-expand {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.cvc-search-bar__inner {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--cvc-bg-card);
    border: 1px solid var(--cvc-accent);
    border-radius: var(--cvc-radius-sm);
    box-shadow: 0 0 0 3px var(--cvc-accent-soft);
    overflow: hidden;
    max-width: 380px;
}
.cvc-search-bar__icon {
    position: absolute;
    left: 14px;
    color: var(--cvc-text-muted);
    font-size: 14px;
    pointer-events: none;
}
.cvc-search-bar__input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 11px 12px 11px 40px;
    color: var(--cvc-text);
    font-size: 14px;
}
.cvc-search-bar__input::placeholder { color: var(--cvc-text-dim); }
.cvc-search-bar__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    color: var(--cvc-text-muted);
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0;
    transition: color var(--cvc-transition);
}
.cvc-search-bar__close:hover { color: var(--cvc-accent); }

/* Bouton filtres (toujours visible) */
.cvc-filters-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--cvc-bg-card);
    border: 1px solid var(--cvc-border);
    border-radius: var(--cvc-radius-sm);
    color: var(--cvc-text);
    font-size: 13px;
    font-weight: 500;
    transition: border-color var(--cvc-transition), background var(--cvc-transition);
}
.cvc-filters-toggle svg { width: 16px; height: 16px; }
.cvc-filters-toggle:hover { border-color: var(--cvc-border-h); background: var(--cvc-bg-card-h); }

.cvc-filters-toggle__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--cvc-accent);
    color: #fff;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
}

/* Compteur résultats WooCommerce */
.woocommerce-result-count {
    font-size: 13px;
    color: var(--cvc-text-muted);
    margin: 0;
}

/* Tri WooCommerce — stylisé comme un bouton topbar */
.woocommerce-ordering {
    margin: 0;
    line-height: 1;
}
.woocommerce-ordering .orderby {
    display: inline-flex;
    align-items: center;
    height: 36px;
    background: var(--cvc-bg-card);
    border: 1px solid var(--cvc-border);
    border-radius: var(--cvc-radius-sm);
    color: var(--cvc-text);
    font-size: 13px;
    font-weight: 500;
    padding: 0 32px 0 12px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 13px;
    cursor: pointer;
    transition: border-color var(--cvc-transition), background var(--cvc-transition), color var(--cvc-transition);
    white-space: nowrap;
    vertical-align: middle;
}
.woocommerce-ordering .orderby:hover {
    border-color: var(--cvc-border-h);
    background-color: var(--cvc-bg-card-h);
    color: var(--cvc-white);
}
.woocommerce-ordering .orderby:focus { border-color: var(--cvc-accent); outline: none; }

/* Toggle vue grille/liste */

/* Active filters chips */
.cvc-active-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--cvc-border);
}

.cvc-active-filters__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cvc-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: var(--cvc-accent-soft);
    border: 1px solid var(--cvc-accent);
    border-radius: 20px;
    font-size: 12px;
    color: var(--cvc-accent);
    cursor: pointer;
    transition: background var(--cvc-transition);
}
.cvc-chip:hover { background: rgba(201,60,54,.22); }
.cvc-chip svg { width: 12px; height: 12px; }

/* ── PRODUCT GRID ──────────────────────────────────────────────────────────── */

/* Reset total des styles float/width/clearfix injectés par WooCommerce */
.woocommerce ul.products.cvc-product-grid,
.woocommerce-page ul.products.cvc-product-grid {
    display: grid !important;
    float: none !important;
}
.woocommerce ul.products.cvc-product-grid::before,
.woocommerce ul.products.cvc-product-grid::after,
.woocommerce-page ul.products.cvc-product-grid::before,
.woocommerce-page ul.products.cvc-product-grid::after {
    content: none !important;
    display: none !important;
}
.woocommerce ul.products.cvc-product-grid li.product,
.woocommerce-page ul.products.cvc-product-grid li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: none !important;
}

ul.products.cvc-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Vue liste */
ul.products.cvc-product-grid.is-list {
    grid-template-columns: 1fr;
}
ul.products.cvc-product-grid.is-list .cvc-product-card__inner {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
}
ul.products.cvc-product-grid.is-list .cvc-product-card__img-wrap {
    width: 160px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
}
ul.products.cvc-product-grid.is-list .cvc-product-card__body {
    flex: 1;
    padding: 16px 16px 16px 0;
}

/* ── CARD PRODUIT ──────────────────────────────────────────────────────────── */
.cvc-product-card {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    float: none;
}

.cvc-product-card__inner {
    background:
        linear-gradient(var(--cvc-bg-card), var(--cvc-bg-card)) padding-box,
        linear-gradient(to bottom right, rgba(201, 60, 54, 0.45), transparent 60%, transparent) border-box;
    border: 1px solid transparent;
    border-radius: var(--cvc-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--cvc-transition), transform var(--cvc-transition);
    position: relative;
}
.cvc-product-card__inner:hover {
    box-shadow: 0 0 18px rgba(201, 60, 54, 0.35);
    transform: translateY(-3px);
}

/* Stretched link : le titre étend son lien sur tout le body */
.cvc-product-card__title a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}
/* Les éléments interactifs passent au-dessus du stretched link */
.cvc-product-card__img-wrap,
.cvc-product-card__atc,
.cvc-product-card__quick-view,
.cvc-product-card__price,
.cvc-product-card__rating {
    position: relative;
    z-index: 2;
}

/* Note : masquer uniquement le bloc rating sur les cartes */
.cvc-product-card__rating {
    display: none;
}

/* Image */
.cvc-product-card__img-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: #111;
    text-decoration: none;
    flex-shrink: 0;
}

/* Cibler tous les <img> dans le wrapper, quelle que soit la classe WC injectée */
.cvc-product-card__img,
.cvc-product-card__img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center;
    display: block !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cvc-product-card__img-wrap:hover .cvc-product-card__img,
.cvc-product-card__img-wrap:hover img {
    transform: scale(1.06);
}
.cvc-product-card__img--placeholder {
    opacity: .3;
}

/* Overlay hover */
.cvc-product-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 60%);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity var(--cvc-transition), transform var(--cvc-transition);
}
.cvc-product-card__img-wrap:hover .cvc-product-card__overlay,
.cvc-product-card__img-wrap:focus-within .cvc-product-card__overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Bouton Quick Add to Cart (visible en haut à droite de la card) */
.cvc-card-quick-atc {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cvc-border);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: var(--cvc-white);
    cursor: pointer;
    font-size: 14px;
    transition: background var(--cvc-transition), transform var(--cvc-transition), border-color var(--cvc-transition);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.cvc-card-quick-atc:hover {
    background: var(--cvc-accent);
    border-color: var(--cvc-accent);
    transform: scale(1.08);
    color: #fff;
}
.cvc-card-quick-atc.is-loading {
    pointer-events: none;
    opacity: .8;
}
.cvc-card-quick-atc .cvc-btn-spinner {
    width: 14px;
    height: 14px;
    border-width: 2px;
}

.cvc-product-card__atc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 10px 16px;
    background: var(--cvc-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--cvc-radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--cvc-transition), transform var(--cvc-transition) !important;
    box-shadow: 0 2px 10px rgba(201,60,54,.4);
}
.cvc-product-card__atc svg { width: 15px; height: 15px; }
.cvc-product-card__atc:hover {
    background: var(--cvc-accent-h) !important;
    transform: none !important;
}
.cvc-product-card__atc--disabled {
    background: var(--cvc-border-h) !important;
    cursor: not-allowed;
    box-shadow: none;
}

.cvc-product-card__quick-view {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cvc-text);
    transition: background var(--cvc-transition), color var(--cvc-transition);
}
.cvc-product-card__quick-view svg { width: 16px; height: 16px; }
.cvc-product-card__quick-view:hover { background: var(--cvc-accent); color: #fff; }

/* Badges */
.cvc-product-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    z-index: 10;
}

.cvc-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.4;
}
.cvc-badge--sale  { background: var(--cvc-accent); color: #fff; }
.cvc-badge--new   { background: #16a34a; color: #fff; }
.cvc-badge--low   { background: #f5a623; color: #000; }
.cvc-badge--oos   { background: #444; color: #aaa; }
.cvc-badge--drop        { background: var(--cvc-accent); color: #fff; letter-spacing: .08em; }
.cvc-badge--best-seller { background: var(--cvc-accent); color: #fff; }

/* Badge drop en cours sidebar */
.cvc-drop-live {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cvc-accent);
    margin-left: 7px;
    flex-shrink: 0;
    animation: cvc-pulse 1.8s ease-in-out infinite;
}
@keyframes cvc-pulse {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cvc-accent) 60%, transparent); }
    50%       { box-shadow: 0 0 0 5px color-mix(in srgb, var(--cvc-accent) 0%, transparent); }
}

/* Body card */
.cvc-product-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.cvc-product-card__drop {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--cvc-accent);
}

.cvc-product-card__title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
    color: var(--cvc-text);
    letter-spacing: 1px;
}
.cvc-product-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--cvc-transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cvc-product-card__title a:hover { color: var(--cvc-white); }

.cvc-product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
}

.cvc-product-card__price .price,
.cvc-product-card__price .woocommerce-Price-amount,
a.cvc-product-card__price .price,
a.cvc-product-card__price .woocommerce-Price-amount {
    font-size: 15px;
    font-weight: 700;
    color: var(--cvc-white);
    text-decoration: none;
}
a.cvc-product-card__price { text-decoration: none; }
.cvc-product-card__price .price del {
    color: var(--cvc-text-dim);
    font-weight: 400;
    margin-right: 4px;
}
.cvc-product-card__price .price ins {
    text-decoration: none;
    color: var(--cvc-accent);
}

/* Prix min qty sur les cards */
.cvc-product-card__price--minqty {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}
.cvc-card-price-total {
    font-size: 15px;
    font-weight: 700;
    color: var(--cvc-white);
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-shrink: 0;
}
.cvc-card-price-total .woocommerce-Price-amount { font-size: 15px; font-weight: 700; color: var(--cvc-white); }
.cvc-card-price-qty {
    font-size: 13px;
    font-weight: 400;
    font-style: italic;
    color: var(--cvc-white);
    white-space: nowrap;
}
.cvc-card-price-unit {
    font-size: 14px;
    font-weight: 400;
    color: var(--cvc-text-muted);
    text-align: right;
    flex-shrink: 0;
    white-space: nowrap;
}
.cvc-card-price-unit .woocommerce-Price-amount,
.cvc-card-price-unit .price { font-weight: 400; color: var(--cvc-text-muted); }

/* Stars */
.cvc-product-card__rating {
    display: flex;
    gap: 2px;
}
.cvc-product-card__rating .star {
    width: 12px;
    height: 12px;
}
.cvc-product-card__rating .star--filled { fill: #f5a623; stroke: #f5a623; }
.cvc-product-card__rating .star--empty  { fill: none; stroke: var(--cvc-border-h); }

/* ── PAGINATION ────────────────────────────────────────────────────────────── */
.cvc-pagination {
    margin-top: 52px;
    display: flex;
    justify-content: center;
}

/*
 * WooCommerce frontend (woocommerce.css) injecte sur l'ul :
 *   border: 1px solid #cfc8d8 | display: inline-block | white-space: nowrap
 * Et sur les li :
 *   border-right: 1px solid #cfc8d8 | float: left | overflow: hidden
 * On écrase tout via .cvc-pagination comme racine de spécificité.
 */

.cvc-pagination nav.woocommerce-pagination {
    text-align: left;
}

.cvc-pagination nav.woocommerce-pagination ul {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    list-style: none;
    margin: 0 !important;
    padding: 0;
    border: none !important;
    outline: none;
    white-space: normal !important;
    clear: none;
    background: transparent;
}

.cvc-pagination nav.woocommerce-pagination ul li {
    display: flex !important;
    float: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}

/* ── Item de base ─────────────────────────────────────────────────────────── */
.cvc-pagination nav.woocommerce-pagination ul li a,
.cvc-pagination nav.woocommerce-pagination ul li span {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px !important;
    background: var(--cvc-bg-card) !important;
    border: 1px solid var(--cvc-border) !important;
    border-radius: var(--cvc-radius-sm);
    color: var(--cvc-text-muted) !important;
    text-decoration: none;
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    outline: none;
    overflow: hidden;
    transition: all var(--cvc-transition);
}

/* Reflet glassmorphism subtil */
.cvc-pagination nav.woocommerce-pagination ul li a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 55%);
    pointer-events: none;
}

/* ── Hover items numérotés ───────────────────────────────────────────────── */
.cvc-pagination nav.woocommerce-pagination ul li a:hover,
.cvc-pagination nav.woocommerce-pagination ul li a:focus {
    background: var(--cvc-bg-card-h) !important;
    border-color: var(--cvc-border-h) !important;
    color: var(--cvc-text) !important;
    box-shadow: 0 0 0 1px var(--cvc-border-h) inset;
}

/* ── Flèches prev / next ─────────────────────────────────────────────────── */
.cvc-pagination nav.woocommerce-pagination ul li a.prev,
.cvc-pagination nav.woocommerce-pagination ul li a.next {
    font-size: 16px !important;
    color: var(--cvc-text-muted) !important;
}

.cvc-pagination nav.woocommerce-pagination ul li a.prev:hover,
.cvc-pagination nav.woocommerce-pagination ul li a.next:hover {
    background: var(--cvc-accent-soft) !important;
    border-color: var(--cvc-accent) !important;
    color: var(--cvc-accent) !important;
    box-shadow: 0 0 14px rgba(201, 60, 54, 0.2);
}

/* ── Page courante ───────────────────────────────────────────────────────── */
.cvc-pagination nav.woocommerce-pagination ul li span.current {
    background: var(--cvc-accent) !important;
    border-color: var(--cvc-accent) !important;
    color: #fff !important;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: default;
    overflow: visible;
    box-shadow:
        0 0 22px rgba(201, 60, 54, 0.55),
        0 2px 10px rgba(201, 60, 54, 0.30);
}

/* ── NO RESULTS ────────────────────────────────────────────────────────────── */
.cvc-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 80px 20px;
    text-align: center;
    color: var(--cvc-text-muted);
}
.cvc-no-results svg {
    width: 48px;
    height: 48px;
    color: var(--cvc-text-dim);
}
.cvc-no-results p { font-size: 15px; margin: 0; }

.cvc-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--cvc-accent);
    color: #fff;
    text-decoration: none;
    border-radius: var(--cvc-radius-sm);
    font-size: 13px;
    font-weight: 600;
    transition: background var(--cvc-transition);
}

/* Overlay mobile derrière la sidebar */
.cvc-filters-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 998;
    backdrop-filter: blur(2px);
}
.cvc-filters-overlay.is-visible { display: block; }

/* ── État de chargement AJAX ──────────────────────────────────── */
.cvc-shop-main.is-loading #cvc-results {
    opacity: .4;
    pointer-events: none;
    transition: opacity .15s ease;
}
.cvc-shop-main.is-loading .woocommerce-result-count {
    opacity: .4;
    transition: opacity .15s ease;
}

/* Spinner pendant le chargement AJAX — positionné en absolute pour ne pas bouger le layout */
.cvc-shop-topbar {
    position: relative;
}
.cvc-shop-main.is-loading .cvc-shop-topbar::after {
    content: '';
    position: absolute;
    right: 50%;
    top: calc(50% - 8px);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.2);
    border-top-color: var(--cvc-accent, #c93c36);
    border-radius: 50%;
    animation: cvc-spin .6s linear infinite;
}

@keyframes cvc-spin {
    to { transform: rotate(360deg); }
}


/* =============================================================================
   CVC — FICHE PRODUIT (single-product)
   Central Vintage Club · dark SaaS vibe
   ============================================================================= */

/* ── Reset pour la page fiche ──────────────────────────────────────────────── */
body.single-product {
    background: var(--cvc-bg);
    color: var(--cvc-text);
}

body.single-product .woocommerce,
body.single-product .woocommerce-page .woocommerce {
    max-width: none;
    padding: 0;
    margin: 0;
}

/* ── Wrapper global ────────────────────────────────────────────────────────── */
.cvc-single-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 108px 40px 80px; /* 84px header + 24px espace */
    box-sizing: border-box;
}

/* Glow rouge positionné en fixed sur les fiches produit */
body.single-product .cvc-circle-glow {
    position: fixed;
    top: -10%;
    left: -15%;
    width: 900px;
    height: 900px;
    display: block;
    z-index: 0;
    pointer-events: none;
}

/* ── BREADCRUMB ────────────────────────────────────────────────────────────── */
.cvc-single-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.cvc-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cvc-breadcrumb__item {
    font-size: 13px;
    color: var(--cvc-text-muted);
}
.cvc-breadcrumb__item a {
    color: var(--cvc-text-muted);
    text-decoration: none;
    transition: color var(--cvc-transition);
    display: flex;
    align-items: center;
}
.cvc-breadcrumb__item a:hover { color: var(--cvc-text); }
.cvc-breadcrumb__item--sep { color: var(--cvc-text-dim); padding: 0 2px; }
.cvc-breadcrumb__item--current { color: var(--cvc-text); font-weight: 500; }

.cvc-back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--cvc-text-muted);
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid var(--cvc-border);
    border-radius: var(--cvc-radius-sm);
    transition: all var(--cvc-transition);
    white-space: nowrap;
}
.cvc-back-link:hover {
    border-color: var(--cvc-border-h);
    color: var(--cvc-text);
    background: var(--cvc-bg-card);
}

/* ── LAYOUT 2 COLONNES ─────────────────────────────────────────────────────── */
.cvc-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 60px;
}

/* ── GALERIE ───────────────────────────────────────────────────────────────── */
.cvc-product-gallery {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2;
}

.cvc-product-info {
    position: relative;
    z-index: 1;
}

/* Image principale */
.cvc-gallery-main {
    position: relative;
    background: var(--cvc-bg-card);
    border: 1px solid var(--cvc-border);
    border-radius: 14px;
    overflow: hidden;
}

.cvc-gallery-main__zoom {
    display: block;
    width: 100%;
    text-decoration: none;
}

.cvc-gallery-main__img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.cvc-gallery-main__img.is-fading {
    opacity: 0;
    transform: scale(1.03);
}

/* Vidéo principale */
.cvc-gallery-main__video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

.cvc-gallery-main__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cvc-text-dim);
}

.cvc-gallery-main__img--placeholder {
    opacity: .3;
    border-radius: 14px;
}

/* Bouton zoom */
.cvc-gallery-main__zoom-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cvc-text-muted);
    cursor: pointer;
    transition: all var(--cvc-transition);
    z-index: 3;
}
.cvc-gallery-main__zoom-btn:hover {
    background: var(--cvc-accent);
    border-color: var(--cvc-accent);
    color: #fff;
}

/* Badges galerie */
.cvc-gallery-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 3;
}

/* Thumbnails */
.cvc-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--cvc-border) transparent;
    padding-bottom: 2px;
}
.cvc-gallery-thumbs::-webkit-scrollbar { height: 3px; }
.cvc-gallery-thumbs::-webkit-scrollbar-thumb { background: var(--cvc-border); border-radius: 2px; }

.cvc-gallery-thumb {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--cvc-border);
    background: var(--cvc-bg-card);
    cursor: pointer;
    padding: 0;
    transition: border-color var(--cvc-transition), transform var(--cvc-transition);
}
.cvc-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.cvc-gallery-thumb:hover { border-color: var(--cvc-border-h); transform: translateY(-2px); }
.cvc-gallery-thumb.is-active { border-color: var(--cvc-accent); }

/* Thumbnail vidéo */
.cvc-gallery-thumb--video {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cvc-bg-card);
}
.cvc-thumb-play-icon {
    color: var(--cvc-text-muted);
    font-size: 20px;
    transition: color var(--cvc-transition);
}
.cvc-gallery-thumb--video:hover .cvc-thumb-play-icon,
.cvc-gallery-thumb--video.is-active .cvc-thumb-play-icon {
    color: var(--cvc-accent);
}

/* Dots (mobile only) */
.cvc-gallery-dots {
    display: none;
    justify-content: center;
    gap: 6px;
    padding: 4px 0;
}
.cvc-gallery-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cvc-border-h);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background var(--cvc-transition), transform var(--cvc-transition);
}
.cvc-gallery-dot.is-active {
    background: var(--cvc-accent);
    transform: scale(1.3);
}

/* ── LIGHTBOX ──────────────────────────────────────────────────────────────── */
.cvc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,.92);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cvc-lightbox[hidden] { display: none; }

.cvc-lightbox__img-wrap {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cvc-lightbox__img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    transition: opacity 0.2s ease;
}

.cvc-lightbox__close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cvc-text);
    cursor: pointer;
    transition: all var(--cvc-transition);
}
.cvc-lightbox__close:hover { background: var(--cvc-accent); border-color: var(--cvc-accent); }

.cvc-lightbox__nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cvc-text);
    cursor: pointer;
    transition: all var(--cvc-transition);
}
.cvc-lightbox__nav:hover { background: var(--cvc-accent); border-color: var(--cvc-accent); }
.cvc-lightbox__nav--prev { left: 24px; }
.cvc-lightbox__nav--next { right: 24px; }

.cvc-lightbox__counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    color: var(--cvc-text-muted);
    background: rgba(0,0,0,.5);
    padding: 4px 12px;
    border-radius: 20px;
}

/* ── INFOS PRODUIT ─────────────────────────────────────────────────────────── */
.cvc-product-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Tags */
.cvc-product-info__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cvc-product-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all var(--cvc-transition);
}
.cvc-product-tag--drop {
    background: var(--cvc-accent-soft);
    border: 1px solid rgba(201,60,54,.3);
    color: var(--cvc-accent);
}
.cvc-product-tag--drop:hover {
    background: rgba(201,60,54,.22);
    color: var(--cvc-accent-h);
}
.cvc-product-tag--brand {
    background: rgba(255,255,255,.06);
    border: 1px solid var(--cvc-border);
    color: var(--cvc-text-muted);
}
.cvc-product-tag--brand:hover { border-color: var(--cvc-border-h); color: var(--cvc-text); }
.cvc-product-tag--type {
    background: rgba(37,99,235,.12);
    border: 1px solid rgba(37,99,235,.25);
    color: #60a5fa;
}

/* Titre */
.cvc-product-info__title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 1px;
    color: var(--cvc-white);
    margin: 0;
}

/* Prix */
.cvc-product-info__price .price,
.cvc-product-info__price .woocommerce-Price-amount {
    font-size: 26px;
    font-weight: 800;
    color: var(--cvc-white);
    letter-spacing: -.02em;
}
.cvc-product-info__price .price del {
    font-size: 18px;
    font-weight: 400;
    color: var(--cvc-text-dim);
    margin-right: 6px;
}
.cvc-product-info__price .price ins {
    text-decoration: none;
    color: var(--cvc-accent);
}

/* Description inline */
.cvc-product-info__description {
    font-size: 14px;
    line-height: 1.7;
    color: var(--cvc-text-muted);
    border-top: 1px solid var(--cvc-border);
    padding-top: 20px;
    margin-top: 4px;
}
.cvc-product-info__description p { margin: 0 0 10px; }
.cvc-product-info__description p:last-child { margin-bottom: 0; }

/* Étoiles */
.cvc-product-info__rating {
    display: flex;
    align-items: center;
    gap: 4px;
}
.cvc-product-info__rating .star { flex-shrink: 0; }
.cvc-product-info__rating .star--filled { fill: #f5a623; stroke: #f5a623; }
.cvc-product-info__rating .star--empty  { fill: none; stroke: var(--cvc-border-h); }
.cvc-product-info__rating-count {
    font-size: 12px;
    color: var(--cvc-text-muted);
    margin-left: 4px;
}

/* Description courte */
.cvc-product-info__short-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--cvc-text-muted);
}
.cvc-product-info__short-desc p { margin: 0 0 6px; }

/* Divider */
.cvc-product-info__divider {
    height: 1px;
    background: var(--cvc-border);
    margin: 0;
}

/* Stock status */
.cvc-product-info__stock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

/* Bloc "drop en cours" mis en avant */
.cvc-product-info__stock--live {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid var(--cvc-accent);
    border-radius: var(--cvc-radius-sm);
    background: color-mix(in srgb, var(--cvc-accent) 10%, transparent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--cvc-accent);
}

.cvc-stock-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: cvc-pulse 1.6s ease infinite;
}
.cvc-product-info__stock--live .cvc-stock-dot {
    width: 10px;
    height: 10px;
}
.cvc-stock-dot--ok       { background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
.cvc-stock-dot--low      { background: #f59e0b; box-shadow: 0 0 0 0 rgba(245,158,11,.4); }
.cvc-stock-dot--oos      { background: var(--cvc-text-dim); animation: none; }
.cvc-stock-dot--live     { background: var(--cvc-accent); box-shadow: 0 0 0 0 rgba(220,38,38,.5); }
.cvc-stock-dot--upcoming { background: #f59e0b; box-shadow: 0 0 0 0 rgba(245,158,11,.4); animation: none; }

/* Bouton ATC désactivé */
.cvc-atc-disabled {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
    border-radius: 999px !important;
}

@keyframes cvc-pulse {
    0%  { box-shadow: 0 0 0 0 currentColor; }
    60% { box-shadow: 0 0 0 5px transparent; }
    100%{ box-shadow: 0 0 0 0 transparent; }
}

.cvc-stock-label { color: var(--cvc-text-muted); }
.cvc-stock-label--low { color: #f59e0b; }
.cvc-stock-label--oos { color: var(--cvc-text-dim); }

/* ── FORMULAIRE ADD TO CART (WooCommerce overrides) ─────────────────────────
   On cible .variations_form (variable) et .cart (simple)
   ─────────────────────────────────────────────────────────────────────────── */
.cvc-product-form .variations_form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Produit simple : qty + bouton côte à côte */
.cvc-product-form .cart {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 10px;
}

/* Masquer le tableau natif WC et reconstruire un layout propre */
.cvc-product-form .variations {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.cvc-product-form .variations tbody { display: contents; }

.cvc-product-form .variations tr {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cvc-product-form .variations .label {
    display: block;
}

.cvc-product-form .variations .label label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--cvc-text-muted);
    display: block;
}

/* Le select natif WC sera caché par JS et remplacé par des pills.
   On le garde visible en fallback si JS est absent */
.cvc-product-form .variations .value select {
    width: 100%;
    background: var(--cvc-bg-card);
    border: 1px solid var(--cvc-border);
    border-radius: var(--cvc-radius-sm);
    color: var(--cvc-text);
    font-size: 14px;
    padding: 10px 36px 10px 12px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    cursor: pointer;
    transition: border-color var(--cvc-transition);
}
.cvc-product-form .variations .value select:focus { border-color: var(--cvc-accent); box-shadow: 0 0 0 3px var(--cvc-accent-soft); }

/* Lien "effacer" natif WC */
.cvc-product-form .reset_variations {
    font-size: 11px;
    color: var(--cvc-text-dim);
    text-decoration: underline;
    text-underline-offset: 2px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--cvc-transition);
    align-self: flex-start;
}
.cvc-product-form .reset_variations[style*="visibility: visible"],
.cvc-product-form .reset_variations:not([style]) {
    opacity: 1;
    pointer-events: auto;
}

/* Pills de variation (injectées par JS) */
.cvc-variation-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cvc-variation-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 40px;
    padding: 0 12px;
    background: var(--cvc-bg-card);
    border: 1.5px solid var(--cvc-border);
    border-radius: var(--cvc-radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--cvc-text-muted);
    cursor: pointer;
    user-select: none;
    transition: all var(--cvc-transition);
}
.cvc-variation-pill:hover {
    border-color: var(--cvc-border-h);
    color: var(--cvc-text);
    background: var(--cvc-bg-card-h);
}
.cvc-variation-pill.is-active {
    background: var(--cvc-accent-soft);
    border-color: var(--cvc-accent);
    color: var(--cvc-accent);
    font-weight: 700;
}
.cvc-variation-pill.is-disabled {
    opacity: .35;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Pill couleur (carré avec fond coloré) */
.cvc-variation-pill--color {
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0;
    border-radius: 50%;
    overflow: hidden;
}
.cvc-variation-pill--color span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.cvc-variation-pill--color.is-active {
    box-shadow: 0 0 0 3px var(--cvc-accent);
    border-color: var(--cvc-white);
}

/* Info variation sélectionnée */
.woocommerce-variation-description p,
.woocommerce-variation.single_variation {
    font-size: 13px;
    color: var(--cvc-text-muted);
}

/* Stock variation */
.woocommerce-variation-availability .stock {
    font-size: 12px;
    font-weight: 600;
}
.woocommerce-variation-availability .in-stock { color: #22c55e; }
.woocommerce-variation-availability .out-of-stock { color: var(--cvc-text-dim); }

/* Prix variable */
.woocommerce-variation-price .price,
.woocommerce-variation-price .woocommerce-Price-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--cvc-white);
}

/* Boutons ajout + quantité */
.cvc-product-form .variations_button,
.cvc-product-form .woocommerce-variation-add-to-cart {
    display: flex;
    gap: 10px;
    align-items: stretch;
    flex-wrap: wrap;
}

/* Quantity stepper */
.cvc-product-form .quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--cvc-border);
    border-radius: var(--cvc-radius-sm);
    overflow: hidden;
    background: var(--cvc-bg-card);
    flex-shrink: 0;
    width: auto;
}

.cvc-product-form .quantity .qty {
    width: 54px;
    height: 50px;
    text-align: center;
    background: transparent;
    border: none;
    color: var(--cvc-text);
    font-size: 15px;
    font-weight: 600;
    outline: none;
    -moz-appearance: textfield;
}
.cvc-product-form .quantity .qty::-webkit-outer-spin-button,
.cvc-product-form .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Boutons +/- injectés par JS */
.cvc-qty-btn {
    width: 40px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--cvc-text-muted);
    cursor: pointer;
    font-size: 18px;
    transition: all var(--cvc-transition);
    flex-shrink: 0;
}
.cvc-qty-btn:hover { background: var(--cvc-bg-card-h); color: var(--cvc-white); }

/* Hint quantité minimale */
.cvc-min-qty-hint {
    display: block;
    flex-basis: 100%;
    order: 10;
    font-size: 12px;
    color: var(--cvc-text-muted);
    margin-top: -4px;
}

/* Bouton ATC principal */
.cvc-product-form .single_add_to_cart_button,
.cvc-product-form button[type="submit"].button {
    flex: 1;
    min-height: 50px;
    padding: 0 28px;
    background: var(--cvc-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: .02em;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    transition: background var(--cvc-transition), transform var(--cvc-transition), box-shadow var(--cvc-transition) !important;
    box-shadow: 0 4px 20px rgba(201,60,54,.35);
    text-decoration: none;
    white-space: nowrap;
}
.cvc-product-form .single_add_to_cart_button:hover,
.cvc-product-form button[type="submit"].button:hover {
    background: var(--cvc-accent-h) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 24px rgba(201,60,54,.5) !important;
}
.cvc-product-form .single_add_to_cart_button:disabled,
.cvc-product-form .single_add_to_cart_button.disabled {
    background: var(--cvc-bg-card-h) !important;
    color: var(--cvc-text-dim) !important;
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
}

/* Loading state */
.cvc-product-form .single_add_to_cart_button.loading {
    pointer-events: none;
    opacity: .7;
}
.cvc-product-form .single_add_to_cart_button.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cvc-spin .6s linear infinite;
}
.cvc-product-form .single_add_to_cart_button.added::after {
    content: ' ✓';
}

/* Masquer texte WC sur le bouton loading */
.cvc-product-form .single_add_to_cart_button.loading .cvc-atc-text { display: none; }

/* ── LOADER AJAX (is-loading) ──────────────────────────────────────────────── */
.cvc-product-form .single_add_to_cart_button.is-loading {
    pointer-events: none;
}
.cvc-btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cvc-spin .6s linear infinite;
}

/* ── MODAL ATC ──────────────────────────────────────────────────────────────── */
body.cvc-modal-open { overflow: hidden; }

.cvc-atc-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: cvc-modal-fade .18s ease;
}

.cvc-atc-modal__inner {
    width: 100%;
    max-width: 500px;
    background: var(--cvc-bg-card);
    border: 1px solid var(--cvc-border);
    border-radius: var(--cvc-radius) var(--cvc-radius) 0 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: cvc-panel-up .22s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes cvc-panel-up {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
@keyframes cvc-panel-scale {
    from { transform: scale(.96) translateY(8px); opacity: 0; }
    to   { transform: scale(1)   translateY(0);   opacity: 1; }
}

/* Header */
.cvc-atc-modal__header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cvc-atc-modal__check {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(34, 197, 94, .14);
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cvc-atc-modal__check--error {
    background: rgba(239, 68, 68, .14);
    color: #ef4444;
}
/* Message erreur min qty */
.cvc-min-qty-modal__msg {
    margin: 0;
    color: var(--cvc-text-muted);
    font-size: 14px;
    line-height: 1.5;
}
.cvc-atc-modal__title {
    flex: 1;
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--cvc-text);
    margin: 0;
    line-height: 1.2;
    letter-spacing: 3px;
}
.cvc-atc-modal__close {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: var(--cvc-text-dim);
    cursor: pointer;
    border-radius: 50%;
    padding: 0;
    transition: background var(--cvc-transition), color var(--cvc-transition);
}
.cvc-atc-modal__close:hover {
    background: var(--cvc-bg-card-h);
    color: var(--cvc-text);
}

/* Aperçu produit */
.cvc-atc-modal__product {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: var(--cvc-bg-card-h);
    border: 1px solid var(--cvc-border);
    border-radius: var(--cvc-radius-sm);
}
.cvc-atc-modal__img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.cvc-atc-modal__product-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.cvc-atc-modal__product-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--cvc-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cvc-atc-modal__product-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.cvc-atc-modal__product-price {
    font-size: 15px;
    color: var(--cvc-text-muted);
}
.cvc-atc-modal__product-price ins { text-decoration: none; font-weight: 700; }
.cvc-atc-modal__sep {
    font-size: 12px;
    color: var(--cvc-border-h);
}
.cvc-atc-modal__product-qty {
    font-size: 16px;
    color: var(--cvc-text-muted);
}
.cvc-atc-modal__cart-total {
    font-size: 15px;
    color: var(--cvc-text-muted);
    margin-top: 2px;
}
.cvc-atc-modal__cart-total strong {
    color: var(--cvc-text);
    font-weight: 700;
}

/* Boutons */
.cvc-atc-modal__actions {
    display: flex;
    gap: 8px;
}
.cvc-atc-modal__btn {
    flex: 1;
    padding: 11px 14px;
    border-radius: var(--cvc-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background var(--cvc-transition), color var(--cvc-transition),
                border-color var(--cvc-transition), box-shadow var(--cvc-transition);
    border: 1px solid transparent;
    line-height: 1.2;
}
.cvc-atc-modal__btn--ghost {
    background: transparent;
    border-color: var(--cvc-border-h);
    color: var(--cvc-text-muted);
}
.cvc-atc-modal__btn--ghost:hover {
    background: var(--cvc-bg-card-h);
    color: var(--cvc-text);
}
.cvc-atc-modal__btn--primary {
    background: var(--cvc-accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(201,60,54,.3);
}
.cvc-atc-modal__btn--primary:hover {
    background: var(--cvc-accent-h);
    box-shadow: 0 6px 18px rgba(201,60,54,.45);
    color: #fff;
    transform: translateY(-1px);
}

/* ── MÉTA PRODUIT ──────────────────────────────────────────────────────────── */
.cvc-product-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.cvc-product-meta__row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
}

.cvc-product-meta__row dt {
    flex-shrink: 0;
    min-width: 90px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--cvc-text-dim);
}

.cvc-product-meta__row dd {
    margin: 0;
    color: var(--cvc-text-muted);
}
.cvc-product-meta__row dd a {
    color: var(--cvc-text-muted);
    text-decoration: none;
    border-bottom: 1px dashed var(--cvc-border-h);
    transition: color var(--cvc-transition);
}
.cvc-product-meta__row dd a:hover { color: var(--cvc-text); }

.cvc-product-meta__row--drop {
    align-items: flex-start;
}
.cvc-product-meta__drop-desc {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--cvc-text-dim);
    line-height: 1.5;
}

.cvc-drop-desc__preview {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cvc-drop-desc__preview.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
}
.cvc-drop-desc__preview p { margin: 0 0 4px; }
.cvc-drop-desc__preview p:last-child { margin: 0; }

.cvc-drop-desc__toggle {
    display: inline-block;
    margin-top: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--cvc-accent, #c93c36);
    text-decoration: none;
    border-bottom: none !important;
    transition: opacity var(--cvc-transition);
}
.cvc-drop-desc__toggle:hover {
    color: var(--cvc-accent, #c93c36) !important;
    opacity: .75;
}

/* ── TRUST BADGES ──────────────────────────────────────────────────────────── */
.cvc-trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 16px;
    background: rgba(255,255,255,.025);
    border: 1px solid var(--cvc-border);
    border-radius: var(--cvc-radius);
}

.cvc-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--cvc-text-muted);
}
.cvc-trust-badge svg { flex-shrink: 0; color: var(--cvc-text-dim); }

/* ── TABS ──────────────────────────────────────────────────────────────────── */
.cvc-product-tabs-section {
    margin-bottom: 60px;
    border: 1px solid var(--cvc-border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--cvc-bg-card);
}

.cvc-tabs {
    display: flex;
    border-bottom: 1px solid var(--cvc-border);
    padding: 0 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.cvc-tabs::-webkit-scrollbar { display: none; }

.cvc-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 16px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--cvc-text-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;
    cursor: pointer;
    white-space: nowrap;
    transition: color var(--cvc-transition), border-color var(--cvc-transition);
    margin-bottom: -1px;
}
.cvc-tab:hover { color: var(--cvc-text); }
.cvc-tab.is-active {
    color: var(--cvc-white);
    border-bottom-color: var(--cvc-accent);
}

.cvc-tab__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--cvc-bg-card-h);
    border: 1px solid var(--cvc-border);
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
    color: var(--cvc-text-muted);
}
.cvc-tab.is-active .cvc-tab__badge {
    background: var(--cvc-accent-soft);
    border-color: rgba(201,60,54,.3);
    color: var(--cvc-accent);
}

.cvc-tab-panel {
    padding: 32px;
}
.cvc-tab-panel[hidden] { display: none; }

.cvc-tab-panel__content {
    font-size: 14px;
    line-height: 1.7;
    color: var(--cvc-text-muted);
    max-width: 72ch;
}
.cvc-tab-panel__content p { margin: 0 0 12px; }
.cvc-tab-panel__content p:last-child { margin-bottom: 0; }
.cvc-tab-panel__content h2,
.cvc-tab-panel__content h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--cvc-text);
    margin: 20px 0 8px;
}
.cvc-tab-panel__content ul,
.cvc-tab-panel__content ol {
    padding-left: 20px;
    margin: 0 0 12px;
}
.cvc-tab-panel__content li { margin-bottom: 4px; }
.cvc-tab-panel__content a { color: var(--cvc-accent); text-decoration: none; }
.cvc-tab-panel__content a:hover { text-decoration: underline; }

.cvc-tab-panel__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    text-align: center;
    color: var(--cvc-text-dim);
    font-size: 14px;
}

/* Tableau attributs */
.cvc-attr-table {
    width: 100%;
    border-collapse: collapse;
}
.cvc-attr-table tr { border-bottom: 1px solid var(--cvc-border); }
.cvc-attr-table tr:last-child { border-bottom: none; }
.cvc-attr-table th {
    padding: 12px 20px 12px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--cvc-text-dim);
    text-align: left;
    width: 180px;
    vertical-align: top;
}
.cvc-attr-table td {
    padding: 12px 0;
    font-size: 13px;
    color: var(--cvc-text-muted);
}

/* Reviews WooCommerce (override minimal) */
#reviews #comments { color: var(--cvc-text-muted); }
#reviews #comments .woocommerce-Reviews-title { display: none; }
#reviews .comment-form-rating a,
#reviews .comment-form-rating .stars { color: #f5a623; }

/* ── PRODUITS LIÉS ─────────────────────────────────────────────────────────── */
.cvc-related-products__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.cvc-related-products__title {
    font-size: 28px;
    font-weight: 800;
    color: var(--cvc-white);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

.cvc-related-products__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    position: relative;
    transition: background-color .3s ease, color .3s ease;
}
.cvc-related-products__link::before {
    position: absolute;
    content: "";
    inset: 0;
    padding: 1px;
    border-radius: 50px;
    background-image: linear-gradient(280.36deg, transparent 20.42%, rgba(201, 60, 54, 0.4) 84.24%), linear-gradient(0deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.cvc-related-products__link:hover {
    background-color: var(--cvc-accent, #c93c36);
    color: #ffffff;
}

.cvc-related-grid {
    grid-template-columns: repeat(4, 1fr);
}


/* ═══════════════════════════════════════════════════════════════════════════
   CVC — PAGE PANIER — WooCommerce Cart Block
═══════════════════════════════════════════════════════════════════════════ */

/* ── Wrapper général ────────────────────────────────────────────────────── */
.wp-block-woocommerce-cart {
    max-width: 1160px !important;
    margin: 0 auto !important;
    padding: 48px 24px 80px !important;
    background: transparent !important;
    color: var(--cvc-text) !important;
    font-family: inherit !important;
}

/* Layout deux colonnes — force flex même quand le bloc estime être "small" */
.wc-block-components-sidebar-layout.wc-block-cart {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    gap: 28px !important;
    align-items: start !important;
    width: 100% !important;
}
.wc-block-components-main.wc-block-cart__main {
    flex: 1 1 0% !important;
    min-width: 0 !important;
}
.wc-block-components-sidebar.wc-block-cart__sidebar {
    flex: 0 0 340px !important;
    width: 340px !important;
    min-width: 0 !important;
}

/* ── Table items ─────────────────────────────────────────────────────────── */
table.wc-block-cart-items {
    background: var(--cvc-bg-card) !important;
    border: 1px solid var(--cvc-border) !important;
    border-radius: var(--cvc-radius) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    width: 100% !important;
}

/* En-tête — on masque le thead entier, la structure est évidente visuellement */
table.wc-block-cart-items thead {
    display: none !important;
}

/* Rangées produit */
table.wc-block-cart-items tbody tr.wc-block-cart-items__row {
    border-bottom: 1px solid var(--cvc-border) !important;
    transition: background var(--cvc-transition) !important;
}
table.wc-block-cart-items tbody tr.wc-block-cart-items__row:last-child {
    border-bottom: none !important;
}
table.wc-block-cart-items tbody tr.wc-block-cart-items__row:hover {
    background: rgba(255,255,255,.025) !important;
}
table.wc-block-cart-items tbody td {
    padding: 16px !important;
    vertical-align: middle !important;
    border: none !important;
}

/* Image */
td.wc-block-cart-item__image {
    width: 110px !important;
    padding: 12px 8px 12px 16px !important;
}
td.wc-block-cart-item__image img {
    width: 90px !important;
    height: 90px !important;
    object-fit: cover !important;
    border-radius: var(--cvc-radius-sm) !important;
    border: 1px solid var(--cvc-border) !important;
    display: block !important;
}

/* Nom produit */
a.wc-block-components-product-name {
    color: var(--cvc-text) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    transition: color var(--cvc-transition) !important;
    display: block !important;
    margin-bottom: 4px !important;
}
a.wc-block-components-product-name:hover {
    color: var(--cvc-accent) !important;
}

/* Prix dans la ligne */
.wc-block-cart-item__prices .wc-block-formatted-money-amount {
    font-size: 16px !important;
    color: var(--cvc-text-muted) !important;
}

/* Description masquée, mais attributs (Taille/Couleur) visibles */
.wc-block-components-product-metadata__description {
    display: none !important;
}
.wc-block-components-product-details {
    display: block !important;
    text-align: left !important;
    font-size: 12px !important;
    color: var(--cvc-text-muted) !important;
    margin-top: 4px !important;
}
.wc-block-components-product-details__name {
    font-weight: 600 !important;
    color: var(--cvc-text-dim) !important;
}
.wc-block-components-product-details > span {
    display: block !important;
    margin-bottom: 3px !important;
}
.wc-block-components-product-details span[aria-hidden] {
    display: none !important;
}

/* Total colonne droite */
td.wc-block-cart-item__total .wc-block-formatted-money-amount {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--cvc-text) !important;
}

/* ── Sélecteur de quantité ───────────────────────────────────────────────── */
.wc-block-cart-item__quantity {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 10px !important;
}

.wc-block-components-quantity-selector {
    display: inline-flex !important;
    align-items: center !important;
    background: var(--cvc-bg-card-h) !important;
    border: 1px solid var(--cvc-border) !important;
    border-radius: var(--cvc-radius-sm) !important;
    overflow: hidden !important;
    height: 34px !important;
}

.wc-block-components-quantity-selector__input {
    width: 40px !important;
    text-align: center !important;
    background: transparent !important;
    border: none !important;
    color: var(--cvc-text) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    height: 100% !important;
    padding: 0 !important;
    -moz-appearance: textfield !important;
    outline: none !important;
    box-shadow: none !important;
}
.wc-block-components-quantity-selector__input::-webkit-inner-spin-button,
.wc-block-components-quantity-selector__input::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
}

.wc-block-components-quantity-selector__button {
    width: 28px !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    color: var(--cvc-text-muted) !important;
    font-size: 16px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background var(--cvc-transition), color var(--cvc-transition) !important;
    padding: 0 !important;
    line-height: 1 !important;
}
.wc-block-components-quantity-selector__button:hover {
    background: var(--cvc-bg-card) !important;
    color: var(--cvc-text) !important;
}

/* ── Bouton supprimer ────────────────────────────────────────────────────── */
button.wc-block-cart-item__remove-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: none !important;
    color: var(--cvc-text-dim) !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: background var(--cvc-transition), color var(--cvc-transition) !important;
}
button.wc-block-cart-item__remove-link:hover {
    background: rgba(201,60,54,.15) !important;
    color: var(--cvc-accent) !important;
}
button.wc-block-cart-item__remove-link svg {
    width: 15px !important;
    height: 15px !important;
    fill: currentColor !important;
}

/* ── Sidebar totaux ──────────────────────────────────────────────────────── */
.wc-block-components-sidebar.wc-block-cart__sidebar > * {
    background: var(--cvc-bg-card) !important;
    border: 1px solid var(--cvc-border) !important;
    border-radius: var(--cvc-radius) !important;
    padding: 24px !important;
}
.wc-block-components-sidebar.wc-block-cart__sidebar {
    position: sticky !important;
    top: 100px !important;
}

/* Titre "Total panier" */
h2.wc-block-cart__totals-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    color: var(--cvc-text-dim) !important;
    margin: 0 0 20px !important;
    border: none !important;
}

/* Ligne total */
.wc-block-components-totals-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--cvc-border) !important;
}
.wc-block-components-totals-item:last-child { border-bottom: none !important; }

.wc-block-components-totals-item__label {
    font-size: 16px !important;
    color: var(--cvc-text-muted) !important;
}
.wc-block-components-totals-item__value .wc-block-formatted-money-amount {
    font-size: 16px !important;
    color: var(--cvc-text-muted) !important;
}

/* Total final */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--cvc-text) !important;
}
.wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--cvc-text) !important;
}

/* Coupon (accordéon) */
.wc-block-components-totals-coupon.wc-block-components-panel {
    border: 1px solid var(--cvc-border) !important;
    border-radius: var(--cvc-radius-sm) !important;
    margin-bottom: 8px !important;
    overflow: hidden !important;
    padding-left: 10px !important;
    background-color: var(--cvc-bg-card-h) !important;
}
.wc-block-components-panel__button {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 10px 14px !important;
    background: var(--cvc-bg-card-h) !important;
    color: var(--cvc-text-muted) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    border: none !important;
    width: 100% !important;
    transition: color var(--cvc-transition) !important;
    margin-bottom: 0 !important;
}
.wc-block-components-panel__button:hover { color: var(--cvc-text) !important; }
.wc-block-components-panel__button svg { fill: currentColor !important; width: 16px !important; height: 16px !important; }

/* Panneau ouvert du coupon */
.wc-block-components-totals-coupon__form {
    padding: 12px !important;
    background: var(--cvc-bg-card-h) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}
.wc-block-components-totals-coupon__form .wc-block-components-text-input {
    flex: 1 !important;
    margin: 0 !important;
    width: 100% !important;
}
.wc-block-components-totals-coupon__form .wc-block-components-text-input input,
.wc-block-components-totals-coupon__form input[type="text"] {
    background: var(--cvc-bg) !important;
    border: 1px solid var(--cvc-border-h) !important;
    border-radius: var(--cvc-radius-sm) !important;
    color: var(--cvc-text) !important;
    font-size: 14px !important;
    padding: 18px 12px 6px !important;
    height: 50px !important;
    line-height: 1.4 !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color var(--cvc-transition) !important;
    width: 100% !important;
}
.wc-block-components-totals-coupon__form .wc-block-components-text-input input:focus,
.wc-block-components-totals-coupon__form input[type="text"]:focus {
    border-color: var(--cvc-accent) !important;
}
/* Label flottant */
.wc-block-components-totals-coupon__form .wc-block-components-text-input label {
    color: var(--cvc-text-dim) !important;
    font-size: 11px !important;
    top: 8px !important;
    background: transparent !important;
}
/* Bouton Appliquer — pleine largeur en dessous */
.wc-block-components-totals-coupon__form .wc-block-components-button {
    width: 100% !important;
    height: 38px !important;
    padding: 0 14px !important;
    background: transparent !important;
    border: 1px solid var(--cvc-border-h) !important;
    border-radius: var(--cvc-radius-sm) !important;
    color: var(--cvc-text-muted) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background var(--cvc-transition), color var(--cvc-transition), border-color var(--cvc-transition) !important;
    align-self: unset !important;
}
.wc-block-components-totals-coupon__form .wc-block-components-button:hover {
    background: var(--cvc-bg-card) !important;
    color: var(--cvc-text) !important;
    border-color: var(--cvc-text-dim) !important;
}

/* Bloc options de paiement vide — masqué */
.wc-block-cart__payment-options:empty { display: none !important; }
.wc-block-cart__payment-options { min-height: 0 !important; }

/* ── Bouton Valider la commande ──────────────────────────────────────────── */
.wc-block-cart__submit-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 15px 24px !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    transition: background var(--cvc-transition), color var(--cvc-transition) !important;
    letter-spacing: .01em !important;
    border: none !important;
    margin-top: 16px !important;
    cursor: pointer !important;
    position: relative !important;
    box-shadow: none !important;
}
/* Bordure dégradé via ::before + mask-composite */
.wc-block-cart__submit-button::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    padding: 1px !important;
    border-radius: 50px !important;
    background-image: linear-gradient(280.36deg, transparent 20%, rgba(201, 60, 54, 0.7) 84%) !important;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
    -webkit-mask-composite: xor !important;
    mask-composite: exclude !important;
    pointer-events: none !important;
}
.wc-block-cart__submit-button:hover {
    background: var(--cvc-accent) !important;
    color: #fff !important;
    transform: none !important;
    box-shadow: none !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   CVC — PAGE COMMANDE — WooCommerce Checkout Block
═══════════════════════════════════════════════════════════════════════════ */

/* ── Wrapper général ────────────────────────────────────────────────────── */
.wp-block-woocommerce-checkout {
    max-width: 1160px !important;
    margin: 0 auto !important;
    padding: 48px 24px 80px !important;
    background: transparent !important;
    color: var(--cvc-text) !important;
    font-family: inherit !important;
}

/* Layout deux colonnes */
.wc-block-components-sidebar-layout.wc-block-checkout {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    gap: 28px !important;
    align-items: start !important;
    width: 100% !important;
}
.wc-block-checkout__main {
    flex: 1 1 0% !important;
    min-width: 0 !important;
}
.wc-block-checkout__sidebar {
    flex: 0 0 340px !important;
    width: 340px !important;
    min-width: 0 !important;
    position: sticky !important;
    top: 100px !important;
}

/* ── Étapes (steps) ─────────────────────────────────────────────────────── */
.wc-block-components-checkout-step {
    background: var(--cvc-bg-card) !important;
    border: 1px solid var(--cvc-border) !important;
    border-radius: var(--cvc-radius) !important;
    padding: 24px !important;
    margin-bottom: 16px !important;
}

.wc-block-components-checkout-step__heading-container {
    margin-bottom: 20px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid var(--cvc-border) !important;
}

.wc-block-components-checkout-step__title {
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
    color: var(--cvc-text) !important;
    margin: 0 !important;
}

.wc-block-components-address-card address .wc-block-components-address-card__address-section--secondary {
    color: white !important;
}

.wc-block-components-checkout-step__description {
    font-size: 12px !important;
    color: var(--cvc-text-dim) !important;
    margin-top: 4px !important;
}

/* Numéro d'étape */
.wc-block-components-checkout-step--with-step-number
.wc-block-components-checkout-step__heading-container::before {
    background: var(--cvc-accent) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    border-radius: 50% !important;
}

/* ── Inputs texte ───────────────────────────────────────────────────────── */
.wc-block-components-text-input,
.wc-block-components-country-input,
.wc-block-components-state-input,
.wc-block-components-select {
    margin-bottom: 8px !important;
}

/* Label classique au-dessus de l'input (pas dans les selects pays/état) */
.wc-block-components-text-input > label,
.wc-block-components-text-input .wc-block-components-text-input__wrapper > label {
    display: block !important;
    position: static !important;
    transform: none !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
    color: var(--cvc-text-dim) !important;
    margin-bottom: 6px !important;
    margin-top: 0 !important;
    cursor: default !important;
}

/* Input natif */
.wc-block-components-text-input {
    position: relative !important;
    white-space: normal !important;
    line-height: normal !important;
}
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input input[type="password"],
.wc-block-components-text-input input[type="number"],
.wc-block-components-country-input input,
.wc-block-components-state-input input {
    background: var(--cvc-bg-card-h) !important;
    border: 1px solid var(--cvc-border) !important;
    border-radius: var(--cvc-radius-sm) !important;
    color: var(--cvc-text) !important;
    font-size: 14px !important;
    font-family: inherit !important;
    padding: 10px 14px !important;
    height: 44px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color var(--cvc-transition), background var(--cvc-transition) !important;
    width: 100% !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Placeholder textarea */
.wp-block-woocommerce-checkout textarea::placeholder,
.wc-blocks-components-textarea textarea::placeholder,
.wc-block-components-textarea textarea::placeholder {
    color: var(--cvc-text-muted) !important;
    opacity: 1 !important;
}

/* Textarea — sélecteur large pour couvrir tous les cas */
.wp-block-woocommerce-checkout textarea,
.wc-blocks-components-textarea textarea,
.wc-block-components-textarea textarea {
    background: var(--cvc-bg-card-h) !important;
    border: 1px solid var(--cvc-border) !important;
    border-radius: var(--cvc-radius-sm) !important;
    color: var(--cvc-text) !important;
    font-size: 14px !important;
    font-family: inherit !important;
    padding: 10px 14px !important;
    height: auto !important;
    min-height: 90px !important;
    resize: vertical !important;
    outline: none !important;
    width: 100% !important;
}

/* Focus */
.wc-block-components-text-input input:focus,
.wc-block-components-text-input input:focus-visible,
.wc-block-components-textarea textarea:focus,
.wc-blocks-components-textarea textarea:focus,
.wp-block-woocommerce-checkout textarea:focus,
.wc-block-components-country-input input:focus,
.wc-block-components-state-input input:focus {
    border-color: var(--cvc-accent) !important;
    background: var(--cvc-bg-card) !important;
    box-shadow: 0 0 0 3px rgba(201,60,54,.1) !important;
    outline: none !important;
}

/* Select custom WC Blocks (wc-blocks-components-select avec 's') */
.wc-blocks-components-select,
.wc-blocks-components-select__container {
    background: var(--cvc-bg-card-h) !important;
    border: 1px solid var(--cvc-border) !important;
    border-radius: var(--cvc-radius-sm) !important;
    color: var(--cvc-text) !important;
}
.wc-blocks-components-select__select {
    background: var(--cvc-bg-card-h) !important;
    background-color: var(--cvc-bg-card-h) !important;
    border: none !important;
    color: var(--cvc-text) !important;
    font-size: 14px !important;
    font-family: inherit !important;
    padding: 18px 14px 6px !important;
    height: 52px !important;
    cursor: pointer !important;
    width: 100% !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    outline: none !important;
}
.wc-blocks-components-select__select:focus {
    outline: none !important;
    box-shadow: none !important;
}
.wc-blocks-components-select__container:focus-within {
    border-color: var(--cvc-accent) !important;
    box-shadow: 0 0 0 3px rgba(201,60,54,.1) !important;
}
.wc-blocks-components-select__label {
    position: absolute !important;
    top: 8px !important;
    left: 14px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;
    color: var(--cvc-text-dim) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}
.wc-blocks-components-select__expand {
    fill: var(--cvc-text-dim) !important;
}
.wc-blocks-components-select__select option {
    background: var(--cvc-bg-card) !important;
    color: var(--cvc-text) !important;
}

/* Validation error */
.wc-block-components-validation-error {
    font-size: 11px !important;
    color: var(--cvc-accent) !important;
    margin-top: 4px !important;
}
.wc-block-components-validation-error p {
    margin: 0 !important;
}

/* Erreur sur l'input */
.wc-block-components-text-input.has-error input {
    border-color: var(--cvc-accent) !important;
}

/* ── Checkbox ────────────────────────────────────────────────────────────── */
.wc-block-components-checkbox label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    font-size: 13px !important;
    color: var(--cvc-text-muted) !important;
}
.wc-block-components-checkbox__input[type="checkbox"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    border: 1px solid var(--cvc-border-h) !important;
    border-radius: 4px !important;
    background: var(--cvc-bg-card-h) !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    position: relative !important;
    margin: 0 !important;
    transition: border-color var(--cvc-transition), background var(--cvc-transition) !important;
}
.wc-block-components-checkbox__input[type="checkbox"]:checked {
    background: var(--cvc-accent) !important;
    border-color: var(--cvc-accent) !important;
}
.wc-block-components-checkbox__input[type="checkbox"]:checked::after {
    content: '' !important;
    position: absolute !important;
    left: 5px !important;
    top: 2px !important;
    width: 5px !important;
    height: 9px !important;
    border: 2px solid #fff !important;
    border-top: none !important;
    border-left: none !important;
    transform: rotate(40deg) !important;
    display: block !important;
}
/* Masquer le SVG checkmark natif de WC */
.wc-block-components-checkbox .wc-block-components-checkbox__mark {
    display: none !important;
}

/* ── Radio (modes de livraison, paiement) ────────────────────────────────── */

/* Supprimer la bordure pseudo-élément injectée par WC Blocks */
.wc-block-components-radio-control--highlight-checked::after {
    display: none !important;
}
/* Masquer logos cartes Stripe */
.wc-block-components-radio-control__label .e575mz50 {
    display: none !important;
}

/* WC Blocks met background:#fff sur l'input → on passe en fond sombre + bord thème */
.wc-block-components-radio-control__input {
    background: var(--cvc-bg-card-h) !important;
    border-color: var(--cvc-border-h) !important;
    border-width: 1px !important;
}
/* Point intérieur coché : accent au lieu de noir */
.wc-block-components-radio-control__input:checked {
    border-color: var(--cvc-accent) !important;
    border-width: 1px !important;
}
.wc-block-components-radio-control__input:checked::before {
    background: var(--cvc-accent) !important;
}

/* Accordéon : option sélectionnée avec bordure accent */
.wc-block-components-radio-control-accordion-option {
    border: 1px solid var(--cvc-border) !important;
    box-shadow: none !important;
    transition: border-color var(--cvc-transition) !important;
}
.wc-block-components-radio-control-accordion-option--checked-option-highlighted {
    border-color: var(--cvc-accent) !important;
}

.wc-block-components-radio-control .wc-block-components-radio-control__input,
.wp-block-woocommerce-checkout .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control .wc-block-components-radio-control__input {
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-45%) !important;
    position: absolute !important;
}

label.wc-block-components-radio-control__option .wc-block-components-radio-control__option-layout {
    flex: 1 !important;
}

.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
    box-shadow: none !important;
    border: 1px solid var(--cvc-accent) !important;
}

.wc-block-components-radio-control-accordion-content {
    padding: 14px !important;
    border-top: 1px solid var(--cvc-border) !important;
    background: var(--cvc-bg-card) !important;
    font-size: 13px !important;
    color: var(--cvc-text-muted) !important;
}




/* ── Récapitulatif commande (sidebar) ────────────────────────────────────── */
.wc-block-components-checkout-order-summary__title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 16px 20px !important;
    background: var(--cvc-bg-card) !important;
    border: 1px solid var(--cvc-border) !important;
    border-radius: var(--cvc-radius) var(--cvc-radius) 0 0 !important;
    cursor: pointer !important;
    transition: background var(--cvc-transition) !important;
}
.wc-block-components-checkout-order-summary__title:hover {
    background: var(--cvc-bg-card-h) !important;
}
.wc-block-components-checkout-order-summary__title-text {
    flex: 1 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    color: var(--cvc-text-dim) !important;
    margin: 0 !important;
}
.wc-block-components-checkout-order-summary__title-price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--cvc-text) !important;
    white-space: nowrap !important;
}
.wc-block-components-checkout-order-summary__title-icon svg {
    fill: var(--cvc-text-dim) !important;
    display: block !important;
}

.wc-block-components-checkout-order-summary__content {
    background: var(--cvc-bg-card) !important;
    border: 1px solid var(--cvc-border) !important;
    border-top: none !important;
    border-radius: 0 0 var(--cvc-radius) var(--cvc-radius) !important;
    padding: 0 20px 20px !important;
}

/* ── Items produit dans le récap ─────────────────────────────────────────── */
.wc-block-components-order-summary-item {
    display: flex !important;
    gap: 14px !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid var(--cvc-border) !important;
    align-items: flex-start !important;
}
.wc-block-components-order-summary-item:last-child {
    border-bottom: none !important;
}

/* Image + badge quantité */
.wc-block-components-order-summary-item__image {
    position: relative !important;
    flex-shrink: 0 !important;
    width: 28px !important;
    height: 28px !important;
}
.wc-block-components-order-summary-item__image img {
    display: none !important;
}
.wc-block-components-order-summary-item__quantity {
    position: static !important;
    min-width: 26px !important;
    height: 26px !important;
    padding: 0 6px !important;
    background: var(--cvc-accent) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transform: unset !important;  
}

.wc-block-components-order-summary {
    padding: 0 !important;
}

/* Description : nom + prix unitaire */
.wc-block-components-order-summary-item__description {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}
.wc-block-components-product-name {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--cvc-text) !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    letter-spacing: 1px !important;
}
.wc-block-components-order-summary-item__individual-prices,
.wc-block-components-order-summary-item__individual-price {
    font-size: 12px !important;
    color: var(--cvc-text-muted) !important;
}
.wc-block-components-product-metadata {
    font-size: 11px !important;
    color: var(--cvc-text-dim) !important;
}
.wc-block-components-product-metadata p { margin: 0 !important; }

/* Prix total de la ligne */
.wc-block-components-order-summary-item__total-price {
    flex-shrink: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--cvc-text) !important;
    white-space: nowrap !important;
    padding-top: 2px !important;
}

/* ── Coupon panel ────────────────────────────────────────────────────────── */
.wc-block-components-panel__button {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 12px 0 !important;
    background: none !important;
    border: none !important;
    border-top: 1px solid var(--cvc-border) !important;
    color: var(--cvc-text-muted) !important;
    font-size: 13px !important;
    font-family: inherit !important;
    cursor: pointer !important;
    transition: color var(--cvc-transition) !important;
}
.wc-block-components-panel__button:hover { color: var(--cvc-text) !important; }
.wc-block-components-panel__button-icon { fill: currentColor !important; }

/* ── Totaux sidebar ──────────────────────────────────────────────────────── */
.wc-block-components-totals-wrapper {
    padding: 0 !important;
}
.wc-block-checkout__sidebar .wc-block-components-totals-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--cvc-border) !important;
}
.wc-block-checkout__sidebar .wc-block-components-totals-item:last-child {
    border-bottom: none !important;
}
.wc-block-checkout__sidebar .wc-block-components-totals-item__label {
    font-size: 13px !important;
    color: var(--cvc-text-muted) !important;
}
.wc-block-checkout__sidebar .wc-block-components-totals-item__value {
    font-size: 13px !important;
    color: var(--cvc-text-muted) !important;
}
.wc-block-checkout__sidebar .wc-block-components-totals-footer-item {
    padding: 14px 0 4px !important;
    border-top: 1px solid var(--cvc-border-h) !important;
    border-bottom: none !important;
    margin-top: 4px !important;
}
.wc-block-checkout__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-checkout__sidebar .wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount,
.wc-block-checkout__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--cvc-text) !important;
}

/* ── Bouton "Passer la commande" ──────────────────────────────────────────── */
.wc-block-components-checkout-place-order-button {
    width: 100% !important;
    padding: 15px 24px !important;
    background: var(--cvc-accent) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    border: none !important;
    cursor: pointer !important;
    position: relative !important;
    transition: background var(--cvc-transition) !important;
    margin-top: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    letter-spacing: .01em !important;
    box-shadow: none !important;
}
.wc-block-components-checkout-place-order-button::before {
    display: none !important;
}
.wc-block-components-checkout-place-order-button:hover {
    background: var(--cvc-accent-h) !important;
    color: #fff !important;
}

/* Bouton retour panier */
.wc-block-components-checkout-return-to-cart-button {
    display: none !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    color: var(--cvc-text-dim) !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: color var(--cvc-transition) !important;
    margin-top: 12px !important;
}
.wc-block-components-checkout-return-to-cart-button:hover {
    color: var(--cvc-text-muted) !important;
}

/* ── Ligne actions (boutons) ─────────────────────────────────────────────── */
.wc-block-checkout__actions_row {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    align-items: stretch !important;
    padding-top: 8px !important;
}

/* ── Notice coupon + chips ───────────────────────────────────────────────── */
.wc-block-components-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(201,60,54,.12) !important;
    border: 1px solid rgba(201,60,54,.3) !important;
    border-radius: 50px !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--cvc-accent) !important;
}
.wc-block-components-chip__remove {
    background: none !important;
    border: none !important;
    color: var(--cvc-accent) !important;
    cursor: pointer !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* ── Notices / Alertes WooCommerce ───────────────────────────────────────── */

/* Base commune */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-NoticeGroup .woocommerce-message,
.woocommerce-NoticeGroup .woocommerce-error,
.woocommerce-NoticeGroup .woocommerce-info,
.wc-block-components-notices-wrapper .wc-block-components-notice,
.cvc-sub-page .woocommerce-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--cvc-bg-card) !important;
    border: 1px solid var(--cvc-border-h) !important;
    border-left: 4px solid var(--cvc-border-h) !important;
    border-top: none !important;
    border-radius: var(--cvc-radius-sm) !important;
    color: var(--cvc-text) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    padding: 14px 16px !important;
    margin: 0 0 14px !important;
    list-style: none !important;
}

/* Message succès — vert */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-NoticeGroup .woocommerce-message,
.cvc-sub-page .woocommerce-message {
    border-left-color: #3a9d5d !important;
}

.woocommerce-notices-wrapper .woocommerce-message::before,
.woocommerce-NoticeGroup .woocommerce-message::before,
.cvc-sub-page .woocommerce-message::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    background-color: #3a9d5d;
    border-radius: 50%;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Erreur — rouge */
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-NoticeGroup .woocommerce-error {
    border-left-color: var(--cvc-accent) !important;
}

.woocommerce-notices-wrapper .woocommerce-error::before,
.woocommerce-NoticeGroup .woocommerce-error::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    background-color: var(--cvc-accent);
    border-radius: 50%;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center/13px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* Info — bleu */
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-NoticeGroup .woocommerce-info {
    border-left-color: #3b82f6 !important;
}

.woocommerce-notices-wrapper .woocommerce-info::before,
.woocommerce-NoticeGroup .woocommerce-info::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    background-color: #3b82f6;
    border-radius: 50%;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E") center/14px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Lien éventuel dans la notice (ex: "Voir le panier") */
.woocommerce-notices-wrapper .woocommerce-message a,
.woocommerce-notices-wrapper .woocommerce-error a,
.woocommerce-notices-wrapper .woocommerce-info a,
.woocommerce-NoticeGroup .woocommerce-message a,
.woocommerce-NoticeGroup .woocommerce-error a,
.woocommerce-NoticeGroup .woocommerce-info a {
    color: var(--cvc-text-muted) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.woocommerce-notices-wrapper .woocommerce-message a:hover,
.woocommerce-notices-wrapper .woocommerce-error a:hover,
.woocommerce-notices-wrapper .woocommerce-info a:hover,
.woocommerce-NoticeGroup .woocommerce-message a:hover,
.woocommerce-NoticeGroup .woocommerce-error a:hover,
.woocommerce-NoticeGroup .woocommerce-info a:hover {
    color: var(--cvc-text) !important;
}

.wc-block-components-totals-footer-item-tax.cvc-deposits-tax-line {
    text-align:right !important;
    color: var(--cvc-text-muted) !important;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title {
    margin-top: 0px !important; 
}

/* ── Panier vide — suppression du bloc "Nouveau dans la boutique" ──────────── */
/* Masque le séparateur dots et le titre "Nouveau dans la boutique"              */
/* Le bloc woocommerce/product-new est remplacé par PHP (inc/woocommerce.php)   */
.wp-block-woocommerce-empty-cart-block .wp-block-separator.is-style-dots,
.wp-block-woocommerce-empty-cart-block h2.has-text-align-center:not(.wc-block-cart__empty-cart__title) {
    display: none !important;
}

/* ── Compte à rebours dans le panier vide ──────────────────────────────────── */
.cvc-empty-cart-countdown {
    text-align: center;
    padding: 40px 20px 20px;
}

.cvc-empty-cart-countdown__title {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--cvc-text, #e8e8e8);
    margin: 0 0 24px;
}

.cvc-empty-cart-countdown__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.cvc-empty-cart-btn {
    display: inline-block;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    padding: 15px 36px;
    text-align: center;
    transition: all 0.5s ease-out;
    position: relative;
    color: #ffffff;
    text-decoration: none;
    background-color: transparent;
}

.cvc-empty-cart-btn::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    inset: 0;
    padding: 2px;
    border-radius: 50px;
    background-image: linear-gradient(280.36deg, transparent 20.42%, rgba(201, 60, 54, 0.6) 84.24%), linear-gradient(0deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.cvc-empty-cart-btn:hover {
    background-color: #c93c36;
    color: #ffffff;
    transition: all 0.5s ease-out;
}

.wc-block-cart__empty-cart__title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--cvc-text) !important;
    margin: 0 0 16px !important;
    letter-spacing: 1px;
}

/* =============================================================================
   PAGE MON COMPTE — Formulaires Login / Register (invité)
   ============================================================================= */

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
    border: 1px solid #c93c36 !important;
}

/* ── Wrapper 2 colonnes ──────────────────────────────────────────────────────── */
#customer_login.col2-set {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
    max-width: 960px;
    margin: 0 auto;
    width: 100% !important;
}

/* Reset des floats WooCommerce natifs ──────────────────────────────────────── */
#customer_login.col2-set::before,
#customer_login.col2-set::after {
    display: none !important;
}

#customer_login .col-1,
#customer_login .col-2 {
    float: none !important;
    width: 100% !important;
}

/* ── Chaque colonne = card ───────────────────────────────────────────────────── */
#customer_login .u-column1,
#customer_login .u-column2 {
    background: var(--cvc-bg-card);
    border: 1px solid var(--cvc-border);
    border-radius: var(--cvc-radius);
    padding: 32px 36px;
}

/* ── Titres ──────────────────────────────────────────────────────────────────── */
#customer_login h2 {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    color: var(--cvc-text-dim) !important;
    margin: 0 0 24px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid var(--cvc-border) !important;
}

/* ── Labels ──────────────────────────────────────────────────────────────────── */
#customer_login label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--cvc-text-dim);
    margin-bottom: 7px;
}

#customer_login .required {
    color: var(--cvc-accent) !important;
}

/* ── Champs texte ────────────────────────────────────────────────────────────── */
#customer_login .woocommerce-Input--text,
#customer_login input[type="text"],
#customer_login input[type="email"],
#customer_login input[type="password"] {
    display: block;
    width: 100%;
    background: var(--cvc-bg-card-h) !important;
    border: 1px solid var(--cvc-border) !important;
    border-radius: var(--cvc-radius-sm) !important;
    color: var(--cvc-text) !important;
    font-size: 15px !important;
    padding: 12px 16px !important;
    outline: none;
    transition: border-color var(--cvc-transition), box-shadow var(--cvc-transition);
    box-sizing: border-box;
}

#customer_login .woocommerce-Input--text:focus,
#customer_login input[type="text"]:focus,
#customer_login input[type="email"]:focus,
#customer_login input[type="password"]:focus {
    border-color: var(--cvc-border-h) !important;
    box-shadow: 0 0 0 3px var(--cvc-accent-soft) !important;
}

/* ── Rows (espacement entre champs) ─────────────────────────────────────────── */
#customer_login .woocommerce-form-row {
    margin: 0 0 16px !important;
    padding: 0 !important;
}

/* ── Forcer l'alignement gauche sur toutes les form-rows ────────────────────── */
#customer_login .form-row {
    text-align: left !important;
}

#customer_login .form-row::before {
    display: none !important;
}

/* ── Checkbox + bouton submit sur la même ligne ──────────────────────────────── */
#customer_login .form-row:has(.woocommerce-form-login__submit) {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px !important;
}

/* ── Label checkbox "Se souvenir de moi" ────────────────────────────────────── */
#customer_login .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--cvc-text-muted);
    cursor: pointer;
}

#customer_login .woocommerce-form__input-checkbox {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    border: 1px solid var(--cvc-border-h) !important;
    border-radius: 4px !important;
    background: var(--cvc-bg-card-h) !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    position: relative !important;
    margin: 0 !important;
    transition: border-color var(--cvc-transition), background var(--cvc-transition) !important;
}

#customer_login .woocommerce-form__input-checkbox:checked {
    background: var(--cvc-accent) !important;
    border-color: var(--cvc-accent) !important;
}

#customer_login .woocommerce-form__input-checkbox:checked::after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 4px !important;
    height: 8px !important;
    border: 2px solid #fff !important;
    border-top: none !important;
    border-left: none !important;
    transform: translate(-50%, -60%) rotate(40deg) !important;
    display: block !important;
}

/* ── Boutons submit ──────────────────────────────────────────────────────────── */
#customer_login .woocommerce-form-login__submit,
#customer_login .woocommerce-form-register__submit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 28px !important;
    background: var(--cvc-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--cvc-transition), box-shadow var(--cvc-transition), transform var(--cvc-transition);
    box-shadow: 0 2px 12px rgba(201, 60, 54, .3);
    white-space: nowrap;
}

#customer_login .woocommerce-form-login__submit:hover,
#customer_login .woocommerce-form-register__submit:hover {
    background: var(--cvc-accent-h) !important;
    box-shadow: 0 4px 18px rgba(201, 60, 54, .45) !important;
    transform: translateY(-1px);
}

/* ── Lien mot de passe perdu ─────────────────────────────────────────────────── */
#customer_login .woocommerce-LostPassword {
    margin-top: 14px !important;
}

#customer_login .woocommerce-LostPassword a {
    font-size: 13px;
    color: var(--cvc-accent) !important;
    text-decoration: none;
    transition: color var(--cvc-transition);
}

#customer_login .woocommerce-LostPassword a:hover {
    color: var(--cvc-accent-h) !important;
    text-decoration: underline;
}

/* ── Texte RGPD (formulaire inscription) ─────────────────────────────────────── */
#customer_login .woocommerce-privacy-policy-text {
    font-size: 12px;
    color: var(--cvc-text-dim);
    line-height: 1.6;
    margin: 0 0 16px;
}

#customer_login .woocommerce-privacy-policy-text a {
    color: var(--cvc-accent);
    text-decoration: none;
}

#customer_login .woocommerce-privacy-policy-text a:hover {
    text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════════════════════════
   CVC — PAGE CONFIRMATION DE COMMANDE (order-received)
═══════════════════════════════════════════════════════════════════════════ */

/* ── Layout général ─────────────────────────────────────────────────────── */
.woocommerce-order-received .woocommerce {
    max-width: 860px !important;
    margin: 0 auto !important;
    padding: 0 24px 60px !important;
}

/* ── Bannière de confirmation ────────────────────────────────────────────── */
.woocommerce-thankyou-order-received {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 16px 20px !important;
    background: var(--cvc-bg-card) !important;
    border: 1px solid rgba(34, 197, 94, .2) !important;
    border-left: 4px solid #22c55e !important;
    border-top: none !important;
    border-radius: var(--cvc-radius-sm) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--cvc-text) !important;
    margin-bottom: 28px !important;
}

.woocommerce-thankyou-order-received::before {
    content: '' !important;
    flex-shrink: 0 !important;
    width: 22px !important;
    height: 22px !important;
    background-color: #22c55e !important;
    border-radius: 50% !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/15px no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/15px no-repeat !important;
}

/* ── Barre de stats commande ─────────────────────────────────────────────── */
ul.woocommerce-order-overview {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 1px !important;
    background: var(--cvc-border) !important;
    border: 1px solid var(--cvc-border) !important;
    border-radius: var(--cvc-radius) !important;
    overflow: hidden !important;
    list-style: none !important;
    margin: 0 0 32px !important;
    padding: 0 !important;
}

/* Les pseudo-éléments clearfix deviennent des grid items → on les masque */
ul.woocommerce-order-overview::before,
ul.woocommerce-order-overview::after {
    display: none !important;
}

/* Ligne 1 : n° commande + date (2 items × 3 colonnes) */
ul.woocommerce-order-overview li:nth-child(1),
ul.woocommerce-order-overview li:nth-child(2) {
    grid-column: span 3 !important;
}

/* Ligne 2 : email + total + paiement (3 items × 2 colonnes) */
ul.woocommerce-order-overview li:nth-child(3),
ul.woocommerce-order-overview li:nth-child(4),
ul.woocommerce-order-overview li:nth-child(5) {
    grid-column: span 2 !important;
}

ul.woocommerce-order-overview li {
    background: var(--cvc-bg-card) !important;
    padding: 16px 18px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
    color: var(--cvc-text-dim) !important;
    border-right-color: var(--cvc-accent) !important;
}

ul.woocommerce-order-overview li strong {
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--cvc-text) !important;
}

/* ── Section articles (.cvc-order-section) ───────────────────────────────── */
.cvc-order-section {
    background: var(--cvc-bg-card) !important;
    border: 1px solid var(--cvc-border) !important;
    border-radius: var(--cvc-radius) !important;
    overflow: hidden !important;
    margin-bottom: 24px !important;
}

/* Header : "Articles" à gauche, drop + count à droite */
.cvc-section-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 20px !important;
    border-bottom: 1px solid var(--cvc-border) !important;
}

.cvc-section-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    color: var(--cvc-text-dim) !important;
}

.cvc-section-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.cvc-order-drop-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: var(--cvc-accent) !important;
}

.cvc-section-count {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--cvc-text-dim) !important;
}

/* ── Table produits ──────────────────────────────────────────────────────── */
table.woocommerce-table--order-details {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

table.woocommerce-table--order-details thead th {
    padding: 12px 20px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
    color: var(--cvc-text-dim) !important;
    border-bottom: 1px solid var(--cvc-border) !important;
    text-align: left !important;
    background: none !important;
}

table.woocommerce-table--order-details thead th.product-total {
    text-align: right !important;
}

table.woocommerce-table--order-details tbody tr {
    border-bottom: 1px solid var(--cvc-border) !important;
}

table.woocommerce-table--order-details tbody td {
    padding: 16px 20px !important;
    vertical-align: middle !important;
    font-size: 14px !important;
    color: var(--cvc-text-muted) !important;
    background: none !important;
}

/* Cellule produit */
td.woocommerce-table__product-name {
    display: table-cell !important;
}

td.woocommerce-table__product-name .wc-item-meta,
td.woocommerce-table__product-name > .woocommerce-table__product-link {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.woocommerce-table__product-name a img {
    width: 52px !important;
    height: 52px !important;
    object-fit: cover !important;
    border-radius: var(--cvc-radius-sm) !important;
    border: 1px solid var(--cvc-border) !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.woocommerce-table__product-name a:not(:has(img)) {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--cvc-text) !important;
    text-decoration: none !important;
}

.woocommerce-table__product-name a:not(:has(img)):hover {
    color: var(--cvc-accent) !important;
}

/* Cellule produit : image à gauche, nom+qty à droite */
.cvc-order-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.cvc-order-item__thumb {
    flex-shrink: 0 !important;
}

.cvc-order-item__img {
    width: 52px !important;
    height: 52px !important;
    object-fit: cover !important;
    border-radius: var(--cvc-radius-sm) !important;
    border: 1px solid var(--cvc-border) !important;
    display: block !important;
}

.cvc-order-item__info {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
}

.cvc-order-item__name a,
.cvc-order-item__name {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--cvc-text) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.cvc-order-item__name a:hover {
    color: var(--cvc-accent) !important;
}

.cvc-order-item__qty {
    font-size: 13px !important;
    color: var(--cvc-text-dim) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* Prix total ligne */
table.woocommerce-table--order-details .product-total {
    text-align: right !important;
    font-weight: 600 !important;
    color: var(--cvc-text) !important;
    white-space: nowrap !important;
}

/* État livraison */
table.woocommerce-table--order-details .product-shipment {
    color: var(--cvc-text-dim) !important;
    font-size: 13px !important;
}

/* ── Tfoot ───────────────────────────────────────────────────────────────── */
table.woocommerce-table--order-details tfoot tr {
    border-top: 1px solid var(--cvc-border) !important;
}

table.woocommerce-table--order-details tfoot th,
table.woocommerce-table--order-details tfoot td {
    padding: 10px 20px !important;
    font-size: 13px !important;
    color: var(--cvc-text-muted) !important;
    background: none !important;
    border: none !important;
}

table.woocommerce-table--order-details tfoot th {
    text-align: left !important;
    font-weight: 600 !important;
}

table.woocommerce-table--order-details tfoot td {
    text-align: right !important;
}

/* Ligne total — mise en avant */
table.woocommerce-table--order-details tfoot .order-total-order_total th,
table.woocommerce-table--order-details tfoot .order-total-order_total td {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    border-top: 1px solid var(--cvc-border-h) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--cvc-text) !important;
}

/* Lignes acompte / solde */
table.woocommerce-table--order-details tfoot .order-total-cvc-deposit th,
table.woocommerce-table--order-details tfoot .order-total-cvc-deposit td,
table.woocommerce-table--order-details tfoot .order-total-cvc-balance th,
table.woocommerce-table--order-details tfoot .order-total-cvc-balance td {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border-top: 1px dashed var(--cvc-border) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--cvc-text-dim) !important;
}
table.woocommerce-table--order-details tfoot .order-total-cvc-balance th,
table.woocommerce-table--order-details tfoot .order-total-cvc-balance td {
    color: var(--cvc-accent) !important;
}

/* TVA incluse */
.woocommerce-table--order-details .includes_tax {
    display: block !important;
    font-size: 11px !important;
    color: var(--cvc-text-dim) !important;
    margin-top: 2px !important;
    font-weight: 400 !important;
}

/* ── Section adresses (.cvc-addresses-grid) ─────────────────────────────── */
.woocommerce-customer-details {
    margin-top: 8px !important;
}

.cvc-addresses-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
}

.cvc-addresses-grid--two {
    grid-template-columns: 1fr 1fr !important;
}

.cvc-address-block {
    background: var(--cvc-bg-card) !important;
    border: 1px solid var(--cvc-border) !important;
    border-radius: var(--cvc-radius) !important;
    overflow: hidden !important;
}

.cvc-address-block .woocommerce-column__title {
    padding: 14px 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;
    color: var(--cvc-text) !important;
    border-bottom: 1px solid var(--cvc-border) !important;
}

.cvc-address-block address {
    padding: 16px 20px !important;
    font-style: normal !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: var(--cvc-text-muted) !important;
}

.cvc-address-block address p {
    margin: 0 !important;
    font-size: 13px !important;
    color: var(--cvc-text-dim) !important;
}

/* ══ MODALE BUDGET DÉPASSÉ ══════════════════════════════════════════════════ */

.cvc-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: cvc-modal-fade .18s ease;
}
.cvc-modal-overlay[hidden] { display: none !important; }

.cvc-modal-box {
    position: relative;
    background: var(--cvc-bg-card);
    border: 1px solid var(--cvc-border-h);
    border-radius: var(--cvc-radius);
    width: 100%;
    max-width: 440px;
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    animation: cvc-panel-scale .22s cubic-bezier(0.4, 0, 0.2, 1);
}

.cvc-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--cvc-text-dim);
    padding: 4px;
    line-height: 0;
    transition: color .15s;
}
.cvc-modal-close:hover { color: var(--cvc-text); }

/* Icône warning */
.cvc-budget-modal__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(201, 60, 54, .12);
    color: var(--cvc-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cvc-budget-modal__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--cvc-text);
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0;
    text-transform: none;
}

.cvc-budget-modal__text {
    font-size: 14px;
    color: var(--cvc-text-muted);
    line-height: 1.6;
    margin: 0;
}
.cvc-budget-modal__text strong {
    color: var(--cvc-text);
    font-weight: 600;
}

.cvc-budget-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 4px;
}

.cvc-budget-modal__btn-confirm {
    width: 100%;
    padding: 13px 20px;
    background: var(--cvc-accent);
    color: #fff;
    border: none;
    border-radius: var(--cvc-radius);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .15s;
}
.cvc-budget-modal__btn-confirm:hover { opacity: .88; }

.cvc-budget-modal__btn-cancel {
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    color: var(--cvc-text-dim);
    border: 1px solid var(--cvc-border-h);
    border-radius: var(--cvc-radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .15s, color .15s;
}
.cvc-budget-modal__btn-cancel:hover {
    border-color: var(--cvc-border-h);
    color: var(--cvc-text);
}

/* Bouton "Budget atteint" */
.cart button.cvc-btn-budget-reached,
.cart button.cvc-btn-budget-reached:hover {
    background: var(--cvc-border-h) !important;
    color: var(--cvc-text-dim) !important;
    cursor: not-allowed !important;
    opacity: .7 !important;
    pointer-events: none !important;
}

.wc-block-components-totals-wrapper {
    border:none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PANIER — Barre budget mensuel
   ═══════════════════════════════════════════════════════════════════════════ */

.cvc-cart-budget {
    background: var(--cvc-bg-card);
    border: 1px solid var(--cvc-border);
    border-radius: var(--cvc-radius);
    padding: 18px 20px 16px;
    margin-bottom: 20px;
    transition: border-color .2s;
}
.cvc-cart-budget--exceeded {
    border-color: var(--cvc-accent);
}
.cvc-cart-budget__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.cvc-cart-budget__title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--cvc-text-dim);
}
.cvc-cart-budget__badge {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 20px;
    background: var(--cvc-border);
    color: var(--cvc-text-dim);
}
.cvc-cart-budget__badge--warn   { background: rgba(245,158,11,.13); color: #b45309; }
.cvc-cart-budget__badge--danger { background: rgba(201,60,54,.13);  color: var(--cvc-accent); }
.cvc-cart-budget__badge--unlimited { background: var(--cvc-accent-soft); color: var(--cvc-accent); gap: 4px; }
.cvc-cart-budget__meter {
    height: 16px;
    background: rgba(255,255,255,.04);
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 2px 5px rgba(0,0,0,.45);
    overflow: hidden;
    margin-bottom: 10px;
}
.cvc-cart-budget__fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cvc-accent) 0%, var(--cvc-accent-h) 100%);
    transition: width .9s cubic-bezier(.4,0,.2,1);
    position: relative;
    min-width: 0;
    box-shadow: 0 0 12px rgba(201,60,54,.5), inset 0 1px 0 rgba(255,255,255,.18);
}
.cvc-cart-budget__fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.22));
    border-radius: 0 2px 2px 0;
}
.cvc-cart-budget__fill--warn   {
    background: linear-gradient(90deg, var(--cvc-accent) 0%, var(--cvc-accent-h) 100%);
    box-shadow: 0 0 12px rgba(201,60,54,.5), inset 0 1px 0 rgba(255,255,255,.18);
}
.cvc-cart-budget__fill--danger {
    background: linear-gradient(90deg, var(--cvc-accent) 0%, var(--cvc-accent-h) 100%);
    box-shadow: 0 0 12px rgba(201,60,54,.5), inset 0 1px 0 rgba(255,255,255,.18);
}
.cvc-cart-budget__foot {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}
.cvc-cart-budget__foot-item {
    display: flex;
    align-items: baseline;
    gap: 5px;
}
.cvc-cart-budget__foot-item--accent .cvc-budget-foot__amount,
.cvc-cart-budget__foot-item--accent .cvc-budget-foot__amount .woocommerce-Price-amount,
.cvc-cart-budget__foot-item--accent .cvc-budget-foot__amount .woocommerce-Price-currencySymbol {
    color: var(--cvc-accent);
}
.cvc-budget-foot__amount {
    font-size: 13px;
    font-weight: 700;
    color: var(--cvc-text);
}
.cvc-budget-foot__tag {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--cvc-text-dim);
}
.cvc-cart-budget__alert {
    margin: 10px 0 0;
    padding: 8px 12px;
    background: rgba(201,60,54,.08);
    border-left: 3px solid var(--cvc-accent);
    border-radius: 0 var(--cvc-radius) var(--cvc-radius) 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--cvc-accent);
}
.cvc-cart-budget__alert[hidden] { display: none; }

/* ── Bouton "Je modifie mon abonnement" ──────────────────────────────────── */
.cvc-cart-budget__upgrade-btn {
    display: block;
    margin-top: 10px;
    padding: 10px 18px;
    background: transparent;
    color: var(--cvc-text-dim);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    transition: background var(--cvc-transition), color var(--cvc-transition), border-color var(--cvc-transition);
    letter-spacing: .02em;
    cursor: pointer;
}
.cvc-cart-budget__upgrade-btn:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--cvc-text);
    border-color: rgba(255, 255, 255, 0.35);
}
.cvc-cart-budget__upgrade-btn[hidden] { display: none; }

/* ───────────────────────────────────────────────────────────────────────────
   AVIS PRODUITS (natif WooCommerce, look CVC)
   ─────────────────────────────────────────────────────────────────────────── */

/* Rating cliquable sur la fiche produit */
.cvc-product-info__rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity var(--cvc-transition);
}
.cvc-product-info__rating:hover { opacity: .85; }
.cvc-product-info__rating .star--filled { color: #f5b800; }
.cvc-product-info__rating .star--empty  { color: rgba(255, 255, 255, .25); }
.cvc-product-info__rating--empty .star--empty { color: rgba(255, 255, 255, .2); }
.cvc-product-info__rating-count {
    margin-left: 6px;
    font-size: 13px;
    color: var(--cvc-text-muted, rgba(255, 255, 255, .6));
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .2);
    text-underline-offset: 3px;
}

/* Section avis */
.cvc-product-reviews {
    margin: 48px 0 32px;
    padding: 32px;
    background: var(--cvc-surface, rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    scroll-margin-top: 100px;
}
.cvc-product-reviews__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.cvc-product-reviews__title {
    font-size: 30px;
    margin: 0;
    color: var(--cvc-text, #fff);
    letter-spacing: 1px;
}
.cvc-product-reviews__summary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}
.cvc-product-reviews__stars .fa-star.fa-solid    { color: #f5b800; }
.cvc-product-reviews__stars .fa-star.fa-regular  { color: rgba(255, 255, 255, .25); }
.cvc-product-reviews__avg {
    font-weight: 700;
    font-size: 16px;
    color: var(--cvc-text, #fff);
}
.cvc-product-reviews__count {
    color: var(--cvc-text-muted, rgba(255, 255, 255, .6));
}

/* Styling du template natif woocommerce/single-product-reviews.php */
.cvc-product-reviews__body #reviews,
.cvc-product-reviews__body #comments {
    margin: 0;
    padding: 0;
}
.cvc-product-reviews__body #reviews .woocommerce-Reviews-title,
.cvc-product-reviews__body #comments > h2 { display: none; }
.cvc-product-reviews__body .commentlist {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cvc-product-reviews__body .commentlist li.review,
.cvc-product-reviews__body .commentlist li.comment {
    list-style: none;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    position: relative;
}
.cvc-product-reviews__body .commentlist li .avatar {
    display: none;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text {
    border: 1px solid #c93c36;
    border-radius: 16px;
    padding: 18px 24px;
}
.cvc-product-reviews__body .comment-text { border: 1px solid #c93c36; border-radius: 16px; padding: 18px 24px; }
.cvc-product-reviews__body .meta {
    font-size: 13px;
    color: var(--cvc-text-muted, rgba(255, 255, 255, .6));
    margin-bottom: 6px;
}
.cvc-product-reviews__body .meta strong { color: var(--cvc-text, #fff); font-size: 14px; }
.cvc-product-reviews__body .star-rating {
    font-size: 13px;
    margin-bottom: 6px;
    color: #f5b800;
}
.cvc-product-reviews__body .description p { margin: 6px 0 0; line-height: 1.55; }
.cvc-product-reviews__body .woocommerce-noreviews,
.cvc-product-reviews__body p.no-comments {
    padding: 16px;
    background: rgba(255, 255, 255, .02);
    border: 1px dashed rgba(255, 255, 255, .08);
    border-radius: 10px;
    color: var(--cvc-text-muted, rgba(255, 255, 255, .7));
    margin: 0 0 20px;
}

/* Formulaire d'avis */
.cvc-product-reviews__body #review_form_wrapper {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.cvc-product-reviews__body #review_form_wrapper #review_form #respond {
    padding: 24px;
}

.cvc-product-reviews__body #review_form #reply-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
    display: block;
    color: var(--cvc-text, #fff);
}
.cvc-product-reviews__body .comment-form,
.cvc-product-reviews__body #commentform {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cvc-product-reviews__body .comment-form-rating label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}
.cvc-product-reviews__body .stars a {
    color: rgba(255, 255, 255, .25);
    font-size: 20px;
    text-decoration: none;
    margin-right: 4px;
    transition: color var(--cvc-transition);
}
.cvc-product-reviews__body .stars a:hover,
.cvc-product-reviews__body .stars.selected a.active,
.cvc-product-reviews__body .stars.selected a.active ~ a,
.cvc-product-reviews__body .stars:hover a { color: #f5b800; }
.cvc-product-reviews__body .stars.selected a:not(.active) ~ a { color: rgba(255, 255, 255, .25); }
.cvc-product-reviews__body .comment-form-comment label,
.cvc-product-reviews__body .comment-form-author label,
.cvc-product-reviews__body .comment-form-email label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}
.cvc-product-reviews__body textarea,
.cvc-product-reviews__body input[type="text"],
.cvc-product-reviews__body input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    color: var(--cvc-text, #fff);
    font-family: inherit;
    font-size: 14px;
    transition: border-color var(--cvc-transition), background var(--cvc-transition);
}
.cvc-product-reviews__body textarea:focus,
.cvc-product-reviews__body input[type="text"]:focus,
.cvc-product-reviews__body input[type="email"]:focus {
    outline: none;
    border-color: rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .06);
}
.cvc-product-reviews__body textarea { min-height: 120px; resize: vertical; }
.woocommerce #review_form #respond .form-submit {
    position: relative;
    display: inline-block;
    border-radius: 999px;
    align-self: flex-start;
}
.woocommerce #review_form #respond .form-submit::before {
    position: absolute;
    content: '';
    inset: 0;
    padding: 2px;
    border-radius: 999px;
    background-image: linear-gradient(280.36deg, transparent 20.42%, rgba(201, 60, 54, 0.6) 84.24%), linear-gradient(0deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}
.woocommerce #review_form #respond .form-submit input {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: transparent;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: background-color 0.5s ease-out;
}
.woocommerce #review_form #respond .form-submit input:hover {
    background-color: #c93c36;
}
.cvc-product-reviews__body .must-log-in,
.cvc-product-reviews__body .woocommerce-verification-required {
    padding: 16px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    font-size: 14px;
    margin: 0;
}
.cvc-product-reviews__body .must-log-in a,
.cvc-product-reviews__body .woocommerce-verification-required a {
    color: var(--cvc-accent, #fff);
    font-weight: 600;
}

/* CTA "laisser un avis" dans Mon compte → view-order */
.cvc-review-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--cvc-text, #fff);
    background: rgba(245, 184, 0, .12);
    border: 1px solid rgba(245, 184, 0, .35);
    border-radius: 999px;
    text-decoration: none;
    transition: background var(--cvc-transition), border-color var(--cvc-transition);
    width: fit-content;
}
.cvc-review-cta:hover {
    background: rgba(245, 184, 0, .22);
    border-color: rgba(245, 184, 0, .6);
    color: var(--cvc-text, #fff);
}
.cvc-review-cta .fa-star { color: #f5b800; }
.cvc-review-done {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--cvc-text-muted, rgba(255, 255, 255, .6));
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    width: fit-content;
}
.cvc-review-done .fa-check { color: #4ade80; }

@media (max-width: 720px) {
    .cvc-product-reviews { padding: 20px; margin: 32px 0; }
    .cvc-product-reviews__header { flex-direction: column; align-items: flex-start; }
    .woocommerce #reviews #comments ol.commentlist li .comment-text,
    .cvc-product-reviews__body .comment-text { padding: 14px 16px; }
}

/* ── Formulaire d'inscription /mon-compte : case politique de confidentialité ─ */
.cvc-register-privacy-row { margin-top: 8px !important; }

.cvc-register-privacy-label {
    display: flex !important;
    align-items: center;
    gap: 7px;
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--cvc-text-muted) !important;
    cursor: pointer;
    margin-bottom: 0 !important;
    line-height: 1.4;
    white-space: normal;
}

.cvc-register-privacy-label input[type="checkbox"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    border: 1px solid var(--cvc-border-h) !important;
    border-radius: 4px !important;
    background: var(--cvc-bg-card-h) !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    position: relative !important;
    margin: 0 !important;
    transition: border-color var(--cvc-transition), background var(--cvc-transition) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.cvc-register-privacy-label input[type="checkbox"]:checked {
    background: var(--cvc-accent) !important;
    border-color: var(--cvc-accent) !important;
}

.cvc-register-privacy-label input[type="checkbox"]:checked::after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 4px !important;
    height: 8px !important;
    border: 2px solid #fff !important;
    border-top: none !important;
    border-left: none !important;
    transform: translate(-50%, -60%) rotate(40deg) !important;
    display: block !important;
}

.cvc-register-privacy-label a {
    color: var(--cvc-accent);
    text-decoration: underline;
}

/* ── Masquer la phrase vie privée/CGV native du Block Checkout (remplacée par notre case) ─ */
.wc-block-checkout__terms {
    display: none !important;
}

/* Masquer le message d'erreur inline de la case CGV/vie privée (WooCommerce bloque la soumission) */
label[for="order-cvc-namespace-terms-accepted"] .wc-block-components-validation-error {
    display: none !important;
}

/* ── Masquer "Informations complémentaires" page confirmation ──────────────── */
.wc-block-order-confirmation-additional-fields-wrapper {
    display: none !important;
}

/* ── Notice virement bancaire — page confirmation commande ─────────────────── */
.cvc-bacs-notice {
    border-left: 4px solid var(--cvc-accent);
    background: rgba(201, 60, 54, 0.06);
    padding: 18px 22px;
    margin: 24px 0 0;
    border-radius: 3px;
}
.cvc-bacs-notice p {
    margin: 0 0 10px;
}
.cvc-bacs-notice p:last-child {
    margin-bottom: 0;
}
.cvc-bacs-notice__iban {
    font-family: monospace;
    font-size: 1.05em;
}

/* ─── Map suivi import (view-order) ──────────────────────────────────────── */

.cvc-order-map-section {
    margin-top: 2rem;
}

.cvc-order-map-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: 100%;
    padding: .85rem 2rem;
    background: var(--cvc-accent);
    color: #fff !important;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--cvc-transition);
    box-shadow: 0 2px 10px rgba(201, 60, 54, .4);
    margin-bottom: 1.5rem;
}

.cvc-order-map-toggle:hover {
    background: var(--cvc-accent-h);
    color: #fff !important;
}

.cvc-order-map {
    width: 100%;
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    margin-bottom: 2rem;
}

/* Icône bateau personnalisée */
.cvc-map-boat-icon {
    background: transparent !important;
    border: none !important;
}

.cvc-map-boat-icon__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(224, 69, 64, .15);
    border: 2px solid #e04540;
    border-radius: 50%;
    color: #e04540;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .45);
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.cvc-map-boat-icon__wrapper:hover {
    background: rgba(224, 69, 64, .3);
    transform: scale(1.1);
}


