/* ============================================
   TEKNI-PLI — Boutique / E-commerce
   ============================================ */

/* --- Breadcrumb --- */
.breadcrumb-bar {
    background: var(--light);
    padding: 12px 0;
    margin-top: 80px;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
}
.breadcrumb-bar a { color: var(--primary); }
.breadcrumb-bar .sep { color: var(--medium-gray); margin: 0 8px; }
.breadcrumb-bar span:last-child { color: var(--text); font-weight: 500; }

/* --- Page Hero Small --- */
.page-hero-small { padding: 40px 0 30px; }
.page-hero-small h1 { font-size: 1.8rem; }
.page-hero-small p { font-size: 1rem; }

/* --- Shop Advantages --- */
.shop-advantages {
    padding: 40px 0;
    background: var(--dark);
    color: var(--white);
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.advantage-item {
    text-align: center;
    padding: 20px;
}
.advantage-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(184,134,11,0.15);
    color: var(--primary);
}
.advantage-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary-light);
}
.advantage-item p {
    font-size: 0.8rem;
    color: var(--medium-gray);
    line-height: 1.4;
}

/* --- Categories Grid --- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.category-card {
    display: flex;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}
.category-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.category-visual {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    padding: 30px;
    color: var(--primary);
}
.category-icon-wrap svg { color: var(--primary); }
.category-info {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.category-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text);
}
.category-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
    flex: 1;
}
.category-price {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.category-cta {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}
.category-card:hover .category-cta { text-decoration: underline; }

/* --- Color Selector --- */
.color-selector {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 10px;
}
.color-selector h2 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}
.color-selector-compact { padding: 20px; }
.color-selector-compact h2 { font-size: 1rem; }

.finish-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.finish-tab {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    color: var(--text);
}
.finish-tab:hover { border-color: var(--primary); color: var(--primary); }
.finish-tab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.finish-tab small {
    display: block;
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 2px;
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}
.swatch-group { display: contents; }
.swatch-group[style*="display:none"] { display: none !important; }

.color-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    background: none;
    transition: var(--transition);
}
.color-swatch:hover { border-color: var(--primary-light); }
.color-swatch.selected {
    border-color: var(--primary);
    background: rgba(184,134,11,0.05);
}
.swatch-color {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid var(--border);
    display: block;
}
.swatch-label {
    font-size: 0.65rem;
    color: var(--text-light);
    font-weight: 500;
}

.selected-color-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--light);
    border-radius: var(--radius);
    font-size: 0.9rem;
}
.selected-swatch {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid var(--border);
    display: inline-block;
    flex-shrink: 0;
}
.selected-finish-badge {
    margin-left: auto;
    padding: 3px 10px;
    background: var(--primary);
    color: var(--white);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* --- Products Grid --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}
.product-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-hover);
}
.product-visual {
    background: var(--light);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}
.couvertine-svg {
    width: 100%;
    max-width: 180px;
    color: var(--dark-secondary);
}
.product-info {
    padding: 20px;
    flex: 1;
}
.product-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}
.product-desc {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.4;
}
.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.product-specs span {
    font-size: 0.72rem;
    background: var(--light);
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--text-light);
}
.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.price-ht {
    font-size: 0.85rem;
    color: var(--text-light);
}
.price-ttc {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}
.price-unit {
    font-size: 0.8rem;
    color: var(--text-light);
}
.product-actions {
    padding: 15px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- Quantity Selector --- */
.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--light);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover { background: var(--primary); color: var(--white); }
.qty-input {
    width: 48px;
    height: 36px;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* --- Add to Cart Button --- */
.btn-add-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: var(--radius);
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}
.btn-add-cart:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-add-cart:active { transform: scale(0.98); }
.btn-add-cart.added {
    background: var(--success);
    pointer-events: none;
}

/* --- Accessories Grid --- */
.accessories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.accessory-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.accessory-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}
.accessory-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: var(--radius);
    color: var(--primary);
}
.accessory-info { flex: 1; }
.accessory-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.accessory-info p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 8px;
}
.accessory-color-note {
    display: inline-block;
    font-size: 0.72rem;
    background: rgba(184,134,11,0.1);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 8px;
}
.accessory-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.accessory-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    flex-shrink: 0;
}
.accessory-actions .qty-selector { margin-bottom: 4px; }
.accessory-actions .btn-add-cart { font-size: 0.8rem; padding: 8px 14px; }

/* --- Product Note --- */
.product-note {
    display: flex;
    gap: 15px;
    padding: 20px;
    margin-top: 30px;
    background: rgba(184,134,11,0.05);
    border: 1px solid rgba(184,134,11,0.2);
    border-radius: var(--radius);
    align-items: flex-start;
}
.product-note svg { flex-shrink: 0; color: var(--primary); margin-top: 2px; }
.product-note strong { display: block; margin-bottom: 4px; }
.product-note p { font-size: 0.85rem; color: var(--text-light); margin: 0; }

/* --- Guide Steps --- */
.guide-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.guide-step {
    text-align: center;
    padding: 20px;
}
.guide-step-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}
.guide-step h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text);
}
.guide-step p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-item summary {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--primary);
    transition: var(--transition);
}
.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}
.faq-item summary:hover { background: var(--light); }
.faq-item p {
    padding: 0 20px 16px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Complement Grid --- */
.complement-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.complement-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.complement-card h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text);
}
.complement-card p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 10px;
}
.complement-price {
    display: block;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 8px;
}
.complement-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

/* ═══════════════════════════════════════════════════════
   PANIER
   ═══════════════════════════════════════════════════════ */

.cart-page h1 { margin-bottom: 30px; }

.cart-empty {
    text-align: center;
    padding: 80px 20px;
}
.cart-empty svg { margin: 0 auto 20px; }
.cart-empty h2 { font-size: 1.5rem; margin-bottom: 10px; color: var(--text); }
.cart-empty p { color: var(--text-light); margin-bottom: 20px; }

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

.cart-header-row {
    display: grid;
    grid-template-columns: 3fr 1fr 120px 1fr 40px;
    gap: 10px;
    padding: 12px 16px;
    background: var(--light);
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-item-row {
    display: grid;
    grid-template-columns: 3fr 1fr 120px 1fr 40px;
    gap: 10px;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    align-items: center;
}
.cart-item-row:last-child { border-bottom: none; }

.cart-item-name {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart-item-name .mini-swatch {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}
.cart-item-name strong { font-size: 0.9rem; display: block; }
.cart-item-name small { color: var(--text-light); font-size: 0.78rem; }

.cart-item-price { font-size: 0.9rem; }
.cart-item-total { font-weight: 700; font-size: 0.95rem; color: var(--primary); }

.cart-item-remove {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.cart-item-remove:hover { background: #fee; color: #c00; }

/* --- Summary Box --- */
.summary-box {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.summary-box.sticky { position: sticky; top: 100px; }
.summary-box h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.9rem;
}
.summary-line span:first-child { color: var(--text-light); }

.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 12px 0;
}

.summary-shipping { margin: 15px 0; }
.summary-shipping h4 {
    font-size: 0.85rem;
    margin-bottom: 10px;
    color: var(--text);
}

.shipping-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    cursor: pointer;
    transition: var(--transition);
}
.shipping-option:hover { border-color: var(--primary-light); }
.shipping-option input[type="radio"] { margin-top: 3px; accent-color: var(--primary); }
.shipping-label { display: flex; flex-direction: column; }
.shipping-label strong { font-size: 0.85rem; }
.shipping-label small { color: var(--text-light); font-size: 0.78rem; }
.shipping-delay { color: var(--medium-gray) !important; }

.summary-free-shipping {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--success);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 0;
}

.summary-progress { padding: 8px 0; }
.progress-bar {
    height: 6px;
    background: var(--light-gray);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}
.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0 5px;
    margin-top: 10px;
    border-top: 2px solid var(--dark);
    font-size: 1.15rem;
    font-weight: 700;
}

.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    margin-top: 15px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
}
.btn-checkout:hover { background: var(--primary-dark); color: var(--white); }

.btn-continue-shopping {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: var(--text-light);
    font-size: 0.85rem;
}
.btn-continue-shopping:hover { color: var(--primary); }

/* ═══════════════════════════════════════════════════════
   CHECKOUT / COMMANDE
   ═══════════════════════════════════════════════════════ */

.checkout-page h1 { margin-bottom: 30px; }

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

.checkout-step {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}
.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.step-num {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
}
.step-header h2 { font-size: 1.1rem; margin: 0; }

.customer-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.customer-form .form-group {
    margin-bottom: 15px;
}
.customer-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text);
}
.customer-form input,
.customer-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: var(--transition);
}
.customer-form input:focus,
.customer-form textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(184,134,11,0.1);
}

/* Shipping Options Checkout */
.shipping-options-checkout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.shipping-option-card {
    display: block;
    cursor: pointer;
}
.shipping-option-card input[type="radio"] { display: none; }
.shipping-option-card .option-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.shipping-option-card input:checked + .option-content {
    border-color: var(--primary);
    background: rgba(184,134,11,0.03);
}
.option-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: var(--radius);
    color: var(--primary);
}
.shipping-option-card strong { display: block; font-size: 0.9rem; }
.shipping-option-card small { display: block; font-size: 0.8rem; color: var(--text-light); }

/* Payment Section */
.payment-section { text-align: center; }
.payment-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--light);
    border-radius: var(--radius);
    font-size: 0.85rem;
    margin-bottom: 20px;
}
.paypal-errors {
    padding: 12px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: var(--radius);
    color: #c00;
    font-size: 0.85rem;
    margin-bottom: 15px;
}
.payment-note {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 15px;
}

#paypal-button-container {
    min-height: 60px;
    margin: 20px 0;
}

/* Checkout Summary */
.checkout-items-list {
    max-height: 300px;
    overflow-y: auto;
}
.checkout-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.85rem;
}
.checkout-item:last-child { border-bottom: none; }
.checkout-item-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}
.checkout-item-info .mini-swatch {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}
.checkout-item-info strong { font-size: 0.82rem; }
.checkout-item-info small { display: block; font-size: 0.72rem; color: var(--text-light); }
.checkout-item-qty { color: var(--text-light); font-size: 0.82rem; }
.checkout-item-price { font-weight: 600; font-size: 0.85rem; white-space: nowrap; }

/* ═══════════════════════════════════════════════════════
   CONFIRMATION
   ═══════════════════════════════════════════════════════ */

.confirmation-page { min-height: 80vh; display: flex; align-items: center; }
.confirmation-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.confirmation-icon { margin-bottom: 20px; }
.confirmation-number {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 10px;
}
.confirmation-thanks {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.confirmation-details { text-align: left; margin-bottom: 30px; }
.detail-section {
    background: var(--light);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 15px;
}
.detail-section h3 {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: var(--primary);
}
.detail-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.order-table th {
    text-align: left;
    padding: 8px;
    border-bottom: 2px solid var(--border);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-light);
}
.order-table td { padding: 8px; border-bottom: 1px solid var(--border); }
.order-table small { display: block; color: var(--text-light); font-size: 0.78rem; }

.confirmation-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    background: var(--light);
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.confirmation-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ═══════════════════════════════════════════════════════
   CART BADGE (header)
   ═══════════════════════════════════════════════════════ */

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    transition: var(--transition);
}
.cart-badge:empty,
.cart-badge[data-count="0"] { display: none; }

/* Toast notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 14px 24px;
    background: var(--dark);
    color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}
.toast-notification.show { transform: translateY(0); opacity: 1; }
.toast-notification.success { border-left: 4px solid var(--success); }
.toast-notification.error { border-left: 4px solid #e74c3c; }
.toast-notification a { color: var(--primary-light); font-weight: 600; }

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.btn-primary:hover { background: var(--primary-dark); color: var(--white); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* --- Utility --- */
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.text-muted { color: var(--text-light); }
.bg-light { background: var(--light); }
.section-padding { padding: 60px 0; }
.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 15px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .categories-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .accessories-grid { grid-template-columns: 1fr; }
    .complement-grid { grid-template-columns: repeat(2, 1fr); }
    .guide-steps { grid-template-columns: repeat(2, 1fr); }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .summary-box.sticky { position: static; }
}

@media (max-width: 768px) {
    .breadcrumb-bar { margin-top: 70px; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .category-card { flex-direction: column; }
    .category-visual { flex: none; padding: 20px; }
    .products-grid { grid-template-columns: 1fr; }
    .complement-grid { grid-template-columns: 1fr; }
    .guide-steps { grid-template-columns: 1fr; gap: 20px; }
    .cart-header-row { display: none; }
    .cart-item-row {
        grid-template-columns: 1fr auto;
        gap: 8px;
    }
    .shipping-options-checkout { grid-template-columns: 1fr; }
    .detail-columns { grid-template-columns: 1fr; }
    .customer-form .form-row { grid-template-columns: 1fr; }
    .accessory-card { flex-direction: column; text-align: center; }
    .accessory-actions { align-items: center; width: 100%; }
    .accessory-actions .btn-add-cart { width: 100%; }
    .toast-notification { left: 15px; right: 15px; bottom: 15px; }
}

@media (max-width: 480px) {
    .advantages-grid { grid-template-columns: 1fr; }
    .color-selector { padding: 15px; }
    .swatch-color { width: 28px; height: 28px; }
    .finish-tabs { gap: 4px; }
    .finish-tab { padding: 6px 10px; font-size: 0.78rem; }
    .confirmation-actions { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════
   CONFIGURATEUR COUVERTINES — PREMIUM DARK THEME
══════════════════════════════════════════════════════════ */

/* Variables texte héro (fond clair) */
:root {
    --text-main: #1a1a1a;
    --text-secondary: #4a5568;
    --text-muted: #718096;
}

/* ─── Boutons utilitaires ─── */
.btn-gold {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184,134,11,0.4);
}
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* BREADCRUMB */
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary); }

/* ─── HERO ─── */
.couv-hero { padding: 3rem 0 4rem; background: linear-gradient(180deg, #FAFAF8 0%, #F3F0EB 100%); }
.couv-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

/* Info héro droite */
.couv-hero-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0.5rem;
}

/* Visuel SVG — Premium */
.couv-visual-wrap { display: flex; flex-direction: column; gap: 1rem; }
.couv-visual { position: relative; border-radius: 20px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.08);
    background: #E8E3DC; }
.couv-svg { width: 100%; height: auto; display: block; }
.couv-logo-overlay { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
    opacity: 0.12; pointer-events: none; }
.couv-logo-img { height: 38px; filter: grayscale(1) brightness(0); }

/* SVG animations */
.couv-reflect-anim {
    animation: reflectSweep 6s ease-in-out infinite;
}
@keyframes reflectSweep {
    0%, 100% { opacity: 0; transform: translateX(-60%); }
    45% { opacity: 0; }
    50% { opacity: 0.6; }
    55% { opacity: 0; transform: translateX(60%); }
}
.couv-badge-float {
    transition: opacity 0.3s ease;
}
.couv-badge-engrave {
    animation: fadeIn 0.8s ease 0.3s both;
}
.couv-dim-group {
    animation: fadeIn 0.8s ease 0.5s both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Mini-matière sous visuel */
.couv-mini-mat { display: flex; gap: 0.75rem; }
.mini-mat-card { display: flex; align-items: center; gap: 0.6rem; flex: 1;
    background: #fff; border: 2px solid var(--border); border-radius: 12px;
    padding: 0.75rem 1rem; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.mini-mat-card:hover { border-color: var(--primary-light); transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(184,134,11,0.12); }
.mini-mat-card.active { border-color: var(--primary); background: rgba(184,134,11,0.06);
    box-shadow: 0 0 0 4px rgba(184,134,11,0.08); }
.mini-mat-card strong { display: block; font-size: 0.84rem; color: var(--text-main); line-height: 1.2; }
.mini-mat-card small { display: block; font-size: 0.72rem; color: var(--text-muted); }
.mini-mat-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.mini-mat-icon.alu   { background: rgba(184,134,11,0.12); color: #B8860B; }
.mini-mat-icon.acier { background: rgba(108,117,125,0.12); color: #6C757D; }

/* Info héro (droite) */
.couv-badge-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.couv-badge-made { display: inline-flex; align-items: center; gap: 0.3rem;
    background: #ecf5e9; color: #2d7d32; font-size: 0.78rem; font-weight: 600;
    padding: 0.35rem 0.75rem; border-radius: 20px; }
.couv-badge-new  { display: inline-flex; align-items: center; gap: 0.3rem;
    background: linear-gradient(135deg, rgba(184,134,11,0.1), rgba(212,168,75,0.12));
    color: var(--primary); font-size: 0.78rem;
    font-weight: 700; padding: 0.35rem 0.75rem; border-radius: 20px;
    letter-spacing: 0.5px; border: 1px solid rgba(184,134,11,0.15); }
.couv-title { font-size: 2.6rem; font-weight: 800; line-height: 1.05;
    color: var(--text-main); margin-bottom: 0.9rem; letter-spacing: -0.5px; }
.couv-title span { color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; }
.couv-subtitle { color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; font-size: 1rem; }
.couv-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.5rem; }
.couv-spec { display: flex; align-items: center; gap: 0.7rem;
    background: #fff; border: 1px solid var(--border); padding: 0.8rem 1rem;
    border-radius: 12px; transition: all 0.25s; }
.couv-spec:hover { border-color: var(--primary-light); transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.couv-spec-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
    background: rgba(184,134,11,0.08); color: var(--primary); }
.couv-spec strong { display: block; font-size: 0.88rem; line-height: 1.2; }
.couv-spec small { font-size: 0.76rem; color: var(--text-muted); }
.couv-price-teaser { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 1.4rem;
    font-size: 0.95rem; color: var(--text-secondary); }
.couv-price-teaser strong { font-size: 2rem; color: var(--primary); font-weight: 800;
    text-shadow: 0 1px 2px rgba(184,134,11,0.15); }
.couv-price-teaser em { font-size: 0.85rem; color: var(--text-muted); font-style: normal; }
.couv-cta { width: 100%; gap: 0.75rem; font-size: 1.05rem; padding: 1rem 1.5rem;
    box-shadow: 0 4px 16px rgba(184,134,11,0.3); }
.couv-cta:hover { box-shadow: 0 8px 24px rgba(184,134,11,0.4); transform: translateY(-1px); }
.couv-link-mesure { display: block; text-align: center; margin-top: 0.85rem;
    color: var(--text-muted); font-size: 0.85rem; text-decoration: none;
    transition: color 0.2s; }
.couv-link-mesure:hover { color: var(--primary); }

/* ═══════════════════════════════════════════════════════
   CONFIGURATEUR — THÈME SOMBRE PREMIUM (inspiré modèle)
══════════════════════════════════════════════════════════ */
.configurateur-section {
    background: linear-gradient(175deg, #0f172a 0%, #162033 35%, #1a2540 65%, #0f172a 100%);
    padding: 3.5rem 0 5rem;
    position: relative;
    overflow: hidden;
}
.configurateur-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--primary-light), var(--primary), transparent);
}
.configurateur-section::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(184,134,11,0.06) 0%, transparent 50%);
    pointer-events: none;
}
.conf-container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 1; }

/* ═══ STEPPER PREMIUM ═══ */
.conf-stepper {
    display: flex; align-items: center; justify-content: center; gap: 0;
    margin-bottom: 3rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px; padding: 0.4rem 0.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.conf-step {
    display: flex; align-items: center; gap: 0.55rem;
    padding: 0.7rem 1.3rem; border-radius: 12px; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(255,255,255,0.4); font-size: 0.88rem; font-weight: 600;
    position: relative; user-select: none;
}
.conf-step:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7); }
.conf-step.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    box-shadow: 0 4px 16px rgba(184,134,11,0.4);
}
.conf-step.done {
    background: rgba(184,134,11,0.12); color: var(--primary-light);
}
.step-num {
    width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center;
    font-size: 0.78rem; font-weight: 800; flex-shrink: 0;
    background: rgba(255,255,255,0.08); color: currentColor;
    transition: all 0.3s;
}
.conf-step.active .step-num { background: rgba(255,255,255,0.25); color: #fff; }
.conf-step.done .step-num   { background: var(--primary); color: #fff; }
.step-label { white-space: nowrap; }
.step-check { display: none; }
.conf-step.done .step-check { display: flex; }
.conf-step.done .step-num   { display: none; }
.conf-step-line {
    width: 32px; height: 2px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

/* ═══ PANELS ═══ */
.conf-panel {
    animation: panelFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes panelFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}
.conf-panel-header { text-align: center; margin-bottom: 2.5rem; }
.conf-title {
    font-size: 1.7rem; font-weight: 800; margin-bottom: 0.5rem;
    color: #fff; letter-spacing: -0.3px;
}
.conf-subtitle {
    color: rgba(255,255,255,0.45); font-size: 0.92rem;
    margin-bottom: 0; line-height: 1.6; max-width: 600px; margin-left: auto; margin-right: auto;
}
.conf-panel .conf-title { color: #fff; }

/* ═══ BOUTONS CONFIGURATEUR ═══ */
.conf-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; border-radius: 12px; font-weight: 700;
    font-size: 0.92rem; border: none; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}
.conf-btn-next {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    box-shadow: 0 4px 16px rgba(184,134,11,0.35);
}
.conf-btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184,134,11,0.45);
}
.conf-btn-back {
    background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.1);
}
.conf-btn-back:hover {
    background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85);
}
.conf-btn-sm { padding: 0.55rem 1rem; font-size: 0.82rem; }
.conf-btn-cart {
    width: 100%; justify-content: center; padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), #D4A84B);
    color: #fff; font-size: 1.05rem;
    box-shadow: 0 6px 20px rgba(184,134,11,0.4);
    border: none; border-radius: 14px; cursor: pointer; font-weight: 800;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.conf-btn-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(184,134,11,0.55);
}

/* Nav */
.conf-nav-row { display: flex; align-items: center; justify-content: space-between; margin-top: 2.5rem; gap: 1rem; }

/* ═══ ÉTAPE 1 : MATIÈRE — Cartes glass-morphism ═══ */
.mat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 0.5rem; }
.mat-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px; padding: 0; cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
    backdrop-filter: blur(8px);
}
.mat-card-glow {
    position: absolute; inset: 0; border-radius: 20px; opacity: 0;
    background: radial-gradient(ellipse at 50% 10%, rgba(184,134,11,0.12) 0%, transparent 70%);
    transition: opacity 0.4s;
    pointer-events: none;
}
.mat-card-inner { padding: 1.75rem; position: relative; z-index: 1; }
.mat-card:hover {
    border-color: rgba(184,134,11,0.3);
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 20px rgba(184,134,11,0.08);
}
.mat-card:hover .mat-card-glow { opacity: 1; }
.mat-card.selected {
    border-color: rgba(184,134,11,0.5);
    box-shadow: 0 0 0 3px rgba(184,134,11,0.15), 0 12px 40px rgba(0,0,0,0.3),
                0 0 30px rgba(184,134,11,0.1);
}
.mat-card.selected .mat-card-glow { opacity: 1; }
.mat-card::before {
    content:''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0); transition: transform 0.3s; transform-origin: left;
}
.mat-card.selected::before { transform: scaleX(1); }
.mat-card-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; }
.mat-icon {
    width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
    background: rgba(255,255,255,0.06); color: var(--mat-color, #B8860B);
    border: 1px solid rgba(255,255,255,0.06);
}
.mat-ep-pill {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.78rem; font-weight: 700;
    color: rgba(255,255,255,0.5); white-space: nowrap;
}
.mat-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.5rem; color: #fff; }
.mat-desc { font-size: 0.87rem; color: rgba(255,255,255,0.45); line-height: 1.6; margin-bottom: 1rem; }
.mat-avantages { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.mat-avantages li {
    display: flex; align-items: center; gap: 0.45rem;
    font-size: 0.85rem; color: rgba(255,255,255,0.55);
}
.mat-avantages svg { color: #4ade80; flex-shrink: 0; }
.mat-price-range {
    background: rgba(184,134,11,0.08); border: 1px solid rgba(184,134,11,0.15);
    border-radius: 12px; padding: 0.85rem 1rem; margin-bottom: 0.5rem;
}
.mat-price-range span { display: block; font-size: 0.87rem; color: rgba(255,255,255,0.6); }
.mat-price-range strong { color: var(--primary-light); font-size: 1.15rem; }
.mat-price-range small { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.mat-selected-check {
    display: none; align-items: center; gap: 0.4rem;
    color: var(--primary-light); font-weight: 700; font-size: 0.85rem; margin-top: 0.5rem;
}
.mat-card.selected .mat-selected-check { display: flex; }

/* ═══ ÉTAPE 2 : COULEUR ═══ */
.conf-finish-tabs {
    display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap;
}
.conf-finish-tab {
    padding: 0.6rem 1.2rem; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.5);
    font-size: 0.85rem; font-weight: 600; cursor: pointer;
    transition: all 0.25s; display: flex; align-items: center; gap: 0.3rem;
}
.conf-finish-tab:hover { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); }
.conf-finish-tab.active {
    background: linear-gradient(135deg, rgba(184,134,11,0.15), rgba(184,134,11,0.08));
    border-color: rgba(184,134,11,0.4); color: var(--primary-light);
}
.conf-finish-tab small { font-size: 0.7rem; opacity: 0.7; }

.conf-color-swatches {
    display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
}
.conf-color-swatches .swatch-group {
    display: contents;
}
.conf-color-swatches .color-swatch {
    width: 58px; display: flex; flex-direction: column; align-items: center; gap: 4px;
    background: rgba(255,255,255,0.04); border: 2px solid transparent;
    border-radius: 10px; padding: 6px 4px 5px; cursor: pointer;
    transition: all 0.25s; position: relative;
}
.conf-color-swatches .color-swatch:hover {
    background: rgba(255,255,255,0.08); transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.conf-color-swatches .color-swatch.selected {
    border-color: var(--primary); background: rgba(184,134,11,0.1);
    box-shadow: 0 0 16px rgba(184,134,11,0.25);
}
.conf-color-swatches .swatch-color {
    width: 36px; height: 36px; border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.15);
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.2), 0 2px 4px rgba(0,0,0,0.3);
}
.conf-color-swatches .swatch-code {
    font-size: 0.65rem; color: rgba(255,255,255,0.4); font-weight: 600;
}

.conf-selected-color {
    display: flex; align-items: center; gap: 1rem;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px; padding: 1rem 1.25rem;
    backdrop-filter: blur(8px);
}
.conf-selected-color .selected-swatch {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.conf-selected-color strong { color: #fff; font-size: 0.92rem; display: block; }
.conf-selected-color small { color: rgba(255,255,255,0.4); font-size: 0.8rem; display: block; margin-top: 2px; }
.sel-coeff-info {
    font-size: 0.78rem; color: rgba(255,255,255,0.4);
    margin-left: auto; white-space: nowrap;
    background: rgba(255,255,255,0.06); padding: 0.3rem 0.75rem; border-radius: 20px;
}
.swatch-code { display: block; font-size: 0.68rem; color: rgba(255,255,255,0.4);
    text-align: center; margin-top: 2px; font-weight: 600; }

/* ═══ ÉTAPE 3 : LARGEUR — Cartes profil couvertine ═══ */
.width-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 0.5rem; }
.width-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 0; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden; position: relative;
    backdrop-filter: blur(6px);
}
.width-card:hover {
    border-color: rgba(184,134,11,0.3); transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.3), 0 0 12px rgba(184,134,11,0.08);
}
.width-card.selected {
    border-color: rgba(184,134,11,0.5);
    box-shadow: 0 0 0 3px rgba(184,134,11,0.15), 0 8px 28px rgba(0,0,0,0.3);
}
.width-profile { background: rgba(255,255,255,0.02); border-bottom: 1px solid rgba(255,255,255,0.05); }
.width-profile svg { width: 100%; height: auto; display: block; }
.width-card.selected .profile-fill { fill: var(--primary) !important; }
.width-info { padding: 0.85rem 1rem; }
.width-info strong { display: block; font-size: 0.92rem; font-weight: 700; margin-bottom: 0.15rem; color: #fff; }
.width-info small { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.35); margin-bottom: 0.5rem; }
.width-price { display: flex; flex-direction: column; gap: 2px; }
.width-price .price-ht  { font-weight: 800; font-size: 0.92rem; color: var(--primary-light); }
.width-price .price-ttc { font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.width-check {
    position: absolute; top: 8px; right: 8px; width: 24px; height: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff; border-radius: 50%;
    display: none; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(184,134,11,0.4);
}
.width-card.selected .width-check { display: flex; }

/* ═══ ÉTAPE 4 : QUANTITÉ / RÉCAP ═══ */
.conf-panel-final { }
.conf-final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }

/* Panneaux étape 4 */
.conf-summary-panel,
.conf-qty-panel {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(8px);
}
.conf-summary-panel .conf-title,
.conf-qty-panel .conf-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Récap config — Glass */
.conf-recap {
    display: flex; flex-direction: column; gap: 0;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; overflow: hidden; margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(8px);
}
.recap-row {
    display: grid; grid-template-columns: 80px 1fr auto; align-items: center;
    gap: 0.75rem; padding: 0.9rem 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.recap-row:last-child { border-bottom: none; }
.recap-label { font-size: 0.78rem; font-weight: 700; color: rgba(255,255,255,0.35);
    text-transform: uppercase; letter-spacing: 0.5px; }
.recap-val { font-size: 0.92rem; font-weight: 600; color: #fff; }
.recap-color-wrap { display: flex; align-items: center; gap: 0.5rem; }
.recap-swatch { width: 20px; height: 20px; border-radius: 5px; flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.2); box-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.recap-edit {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem; padding: 0.3rem 0.65rem; border-radius: 8px;
    cursor: pointer; white-space: nowrap; transition: all 0.25s;
}
.recap-edit:hover { border-color: var(--primary); color: var(--primary-light);
    background: rgba(184,134,11,0.1); }

/* Mini-visuel récap */
.recap-visual {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px; padding: 1.5rem; text-align: center;
}
.recap-couv-bar { display: flex; flex-direction: column; align-items: stretch; margin-bottom: 0.5rem; }
.rcb-top   { height: 18px; border-radius: 4px 4px 0 0; transition: background 0.3s;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.15); }
.rcb-front { height: 30px; border-radius: 0 0 4px 4px; opacity: 0.7; transition: background 0.3s; }
.recap-visual-label { font-size: 0.75rem; color: rgba(255,255,255,0.3); margin-top: 0.5rem; }

/* Quantité */
.qty-form { margin-bottom: 1.5rem; }
.qty-ml-label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.7); }
.qty-ml-wrap { display: flex; align-items: center; gap: 0.6rem; }
.qty-btn {
    width: 46px; height: 46px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06); font-size: 1.3rem; font-weight: 700;
    cursor: pointer; display: grid; place-items: center;
    color: rgba(255,255,255,0.6); transition: all 0.25s;
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary-light);
    background: rgba(184,134,11,0.1); }
.qty-ml-input-wrap { position: relative; flex: 1; }
.qty-ml-input {
    width: 100%; padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px; font-size: 1.25rem; font-weight: 700; text-align: center;
    color: #fff; outline: none; transition: all 0.25s;
    background: rgba(255,255,255,0.04);
}
.qty-ml-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(184,134,11,0.15); }
.qty-ml-unit { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
    font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.35); pointer-events: none; }
.qty-ml-hint {
    display: flex; align-items: center; gap: 0.4rem; margin-top: 0.6rem;
    font-size: 0.8rem; color: rgba(255,255,255,0.35);
}
.qty-ml-hint svg { color: rgba(184,134,11,0.6); }

/* Calcul prix — Glass */
.price-calc-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 1.3rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}
.pcb-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.55rem 0; border-bottom: 1px dashed rgba(255,255,255,0.06);
    font-size: 0.9rem; color: rgba(255,255,255,0.5);
}
.pcb-row strong { color: rgba(255,255,255,0.8); }
.pcb-row:last-child { border-bottom: none; }
.pcb-subtotal { font-weight: 600; padding-top: 0.65rem; }
.pcb-subtotal strong { color: #fff; }
.pcb-total-row {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 0.5rem; padding-top: 0.85rem;
    border-top: 2px solid rgba(184,134,11,0.5);
    font-size: 1.2rem; font-weight: 800; color: var(--primary-light);
}

.conf-panier-link {
    display: flex; align-items: center; gap: 0.4rem; justify-content: center;
    margin-top: 0.85rem; color: rgba(255,255,255,0.35);
    font-size: 0.85rem; text-decoration: none; transition: color 0.2s;
}
.conf-panier-link:hover { color: var(--primary-light); }

/* ─── AVANTAGES ─── */
.couv-avantages { background: linear-gradient(180deg, #0f172a, #162033);
    padding: 5rem 0; position: relative; }
.couv-avantages::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184,134,11,0.3), transparent); }
.couv-avantages .section-title { color: #fff; }
.avantages-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.avantage-card {
    background: rgba(255,255,255,0.04); border-radius: 18px; padding: 2rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(6px);
}
.avantage-card:hover {
    transform: translateY(-4px);
    border-color: rgba(184,134,11,0.2);
    box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}
.av-icon {
    width: 60px; height: 60px; border-radius: 16px;
    background: rgba(184,134,11,0.1); border: 1px solid rgba(184,134,11,0.15);
    display: grid; place-items: center; margin: 0 auto 1rem;
    color: var(--primary-light);
}
.avantage-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: #fff; }
.avantage-card p  { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.65; }

/* ─── CTA SUR MESURE ─── */
.couv-mesure-cta { background: linear-gradient(135deg, var(--primary), #D4A84B); padding: 3.5rem 0; }
.mesure-cta-inner { display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; flex-wrap: wrap; }
.couv-mesure-cta h2 { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 0.3rem; }
.couv-mesure-cta p  { color: rgba(255,255,255,0.82); font-size: 0.95rem; }
.couv-mesure-cta .btn-gold { background: #fff; color: var(--primary); font-weight: 700;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.couv-mesure-cta .btn-gold:hover { background: #f8f3e6; transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* ═══ RESPONSIVE CONFIGURATEUR ═══ */
@media (max-width: 1024px) {
    .couv-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .couv-hero-info { text-align: center; }
    .couv-hero-info .couv-badge-row { justify-content: center; }
    .couv-hero-info .couv-specs-grid { max-width: 500px; margin-left: auto; margin-right: auto; }
    .width-cards { grid-template-columns: repeat(2, 1fr); }
    .avantages-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .conf-final-grid { grid-template-columns: 1fr; gap: 2rem; }
    .conf-summary-panel, .conf-qty-panel { padding: 1.5rem; }
}
@media (max-width: 768px) {
    .couv-title { font-size: 2.1rem; }
    .mat-cards { grid-template-columns: 1fr; }
    .conf-stepper { gap: 0; overflow-x: auto; padding: 0.35rem; }
    .step-label { display: none; }
    .conf-step { padding: 0.6rem 0.85rem; }
    .conf-step-line { width: 16px; }
    .width-cards { grid-template-columns: repeat(2, 1fr); }
    .avantages-grid-4 { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .mesure-cta-inner { flex-direction: column; text-align: center; }
    .couv-specs-grid { grid-template-columns: 1fr; }
    .conf-container { padding: 0 1rem; }
    .couv-mini-mat { flex-direction: column; }
    .conf-color-swatches .color-swatch { width: 50px; }
    .conf-finish-tabs { gap: 0.35rem; }
    .conf-finish-tab { padding: 0.5rem 0.8rem; font-size: 0.78rem; }
    .conf-summary-panel, .conf-qty-panel { padding: 1.25rem; border-radius: 16px; }
}
@media (max-width: 480px) {
    .couv-hero { padding: 2rem 0 3rem; }
    .couv-title { font-size: 1.8rem; }
    .width-cards { grid-template-columns: 1fr; }
    .avantages-grid-4 { grid-template-columns: 1fr; }
    .conf-stepper { justify-content: flex-start; }
    .conf-step { padding: 0.5rem 0.65rem; font-size: 0.82rem; }
    .conf-container { padding: 0 0.75rem; }
    .mat-card-inner { padding: 1.25rem; }
    .conf-color-swatches { padding: 1rem; }
    .conf-title { font-size: 1.35rem; }
}

/* ─── Spinner & états bouton ─── */
.btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spinBtn 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}
@keyframes spinBtn {
    to { transform: rotate(360deg); }
}
.conf-btn-cart.loading {
    pointer-events: none;
    opacity: 0.85;
}
.conf-btn-cart.success {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    box-shadow: 0 4px 20px rgba(34,197,94,0.35);
}

/* ─── Hero SVG animation d'entrée ─── */
.couv-hero-svg {
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

/* ═══════════════════════════════════════════════════════
   ÉTAPE 3 — PROFIL (retombées + gouttes d'eau)
   ═══════════════════════════════════════════════════════ */
.conf-section-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.8rem;
}
.conf-profile-config {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
    margin-top: 1.5rem;
    align-items: start;
}
.conf-profile-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

/* Retombées */
.retombee-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    padding: 1rem 1.2rem;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
}
.retombee-input-group label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 500;
}
.retombee-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.retombee-val-wrap {
    position: relative;
    flex: 1;
}
.retombee-input {
    width: 100%;
    padding: 0.6rem 2.2rem 0.6rem 0.7rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}
.retombee-input::-webkit-inner-spin-button,
.retombee-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.retombee-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(184,134,11,0.15);
}
.retombee-unit {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    pointer-events: none;
    font-weight: 500;
}
.qty-btn-sm {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
.qty-btn-sm:hover {
    background: rgba(184,134,11,0.15);
    border-color: var(--primary);
    color: var(--primary);
}

/* Gouttes d'eau */
.goutte-options {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    padding: 0.5rem 0 0;
}
.goutte-opt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
    min-width: 95px;
    flex: 1;
}
.goutte-opt:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-1px);
}
.goutte-opt.selected {
    background: rgba(184,134,11,0.12);
    border-color: var(--primary);
    color: #D4AF37;
    box-shadow: 0 0 12px rgba(184,134,11,0.15);
}
.goutte-icon { line-height: 0; }
.goutte-icon svg { display: block; }

/* Aperçu profil SVG */
.conf-profile-preview {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 80px;
}
.profile-preview-box {
    background: linear-gradient(145deg, #0b1120 0%, #0f172a 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.profile-svg {
    width: 100%;
    max-height: 220px;
}
.profile-preview-note {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    text-align: center;
    margin-top: 0.7rem;
    font-style: italic;
}

/* ═══════════════════════════════════════════════════════
   ÉTAPE 4 — LONGUEURS (décomposition)
   ═══════════════════════════════════════════════════════ */
.length-table {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 1rem;
}
.length-header {
    display: grid;
    grid-template-columns: 65px 24px 1fr 110px 36px;
    gap: 0.5rem;
    align-items: center;
    padding: 0 0.3rem 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 0.6rem;
}
.length-header span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.3);
    font-weight: 600;
}
.length-line {
    display: grid;
    grid-template-columns: 65px 24px 1fr 110px 36px;
    gap: 0.5rem;
    align-items: center;
    padding: 0.35rem 0.3rem;
    border-radius: 8px;
    transition: background 0.2s;
}
.length-line:hover { background: rgba(255,255,255,0.03); }
.ll-qty, .ll-len {
    width: 100%;
    padding: 0.5rem 0.4rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}
.ll-qty::-webkit-inner-spin-button,
.ll-qty::-webkit-outer-spin-button,
.ll-len::-webkit-inner-spin-button,
.ll-len::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ll-qty:focus, .ll-len:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(184,134,11,0.12);
}
.ll-sep {
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-weight: 600;
    font-size: 0.85rem;
}
.ll-unit {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    position: absolute;
    right: 0.5rem;
    pointer-events: none;
}
.ll-sub {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    text-align: right;
    font-weight: 500;
}
.ll-del {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.15);
    color: rgba(239,68,68,0.6);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.ll-del:hover {
    background: rgba(239,68,68,0.18);
    border-color: rgba(239,68,68,0.4);
    color: #ef4444;
}
.ll-del-ph { width: 30px; }
.conf-btn-add-line {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.8rem;
    padding: 0.55rem 1rem;
    background: rgba(184,134,11,0.08);
    border: 1px dashed rgba(184,134,11,0.25);
    border-radius: 8px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    justify-content: center;
}
.conf-btn-add-line:hover {
    background: rgba(184,134,11,0.15);
    border-color: var(--primary);
}
.length-total-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    background: rgba(184,134,11,0.06);
    border: 1px solid rgba(184,134,11,0.15);
    border-radius: 10px;
}
.ltb-pieces {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}
.ltb-pieces svg { color: rgba(255,255,255,0.3); }
.ltb-ml {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
}
.ltb-ml strong {
    color: #D4AF37;
    font-size: 1.15rem;
}

/* ═══════════════════════════════════════════════════════
   ÉTAPE 5 — ACCESSOIRES
   ═══════════════════════════════════════════════════════ */
.acc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.acc-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    transition: border-color 0.2s;
}
.acc-card:hover { border-color: rgba(255,255,255,0.12); }
.acc-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(184,134,11,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
}
.acc-info h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}
.acc-info p {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.3;
}
.acc-reco {
    color: rgba(184,134,11,0.7) !important;
    font-size: 0.76rem !important;
}
.acc-unit-price {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
}
.acc-qty-wrap {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.acc-qty-input {
    width: 52px;
    padding: 0.4rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}
.acc-qty-input::-webkit-inner-spin-button,
.acc-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.acc-qty-input:focus { outline: none; border-color: var(--primary); }
.acc-line-total {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-align: right;
    margin-top: auto;
}
.acc-total-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.2rem;
    padding: 0.8rem 1rem;
    background: rgba(184,134,11,0.06);
    border: 1px solid rgba(184,134,11,0.15);
    border-radius: 10px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.6);
}
.acc-total-bar strong {
    color: #D4AF37;
    font-size: 1.05rem;
}

/* ═══════════════════════════════════════════════════════
   ÉTAPE 6 — RÉCAP ÉTENDU
   ═══════════════════════════════════════════════════════ */
.recap-sub-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.35);
    font-weight: 600;
    margin: 1rem 0 0.4rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.recap-length-row, .recap-acc-row {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}
.recap-length-row span:last-child,
.recap-acc-row span:last-child {
    font-weight: 600;
    color: rgba(255,255,255,0.65);
}
.pcb-row.pcb-subtotal {
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE NOUVELLES SECTIONS
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .conf-profile-config {
        grid-template-columns: 1fr;
    }
    .conf-profile-preview {
        position: static;
    }
    .acc-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .retombee-grid {
        grid-template-columns: 1fr;
    }
    .goutte-options {
        flex-direction: column;
    }
    .goutte-opt { width: 100%; flex-direction: row; justify-content: center; }
    .length-header,
    .length-line {
        grid-template-columns: 50px 20px 1fr 80px 32px;
        gap: 0.3rem;
    }
    .ll-sub { font-size: 0.75rem; }
    .conf-stepper {
        gap: 0.3rem;
    }
    .step-label { font-size: 0.6rem; }
    .step-num { width: 26px; height: 26px; font-size: 0.7rem; }
}
@media (max-width: 480px) {
    .length-header,
    .length-line {
        grid-template-columns: 45px 16px 1fr 70px 28px;
    }
    .conf-profile-config { gap: 1rem; }
}

/* ─── Panneau transition ─── */
.conf-panel {
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
