/* ================================
   BASE STYLES
   ================================ */

body, body.single-product, body.woocommerce-page, body.woocommerce-cart, body.woocommerce-checkout, body.woocommerce-account {
    background-color: #222;
    color: #cbd5e1;
}

/* ================================
   CATEGORY TABS SECTION (EXISTING)
   ================================ */

.category-tabs-wrapper {
    background: #222;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.category-tabs-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(224, 17, 17, 0.1) 0%, rgba(180, 20, 20, 0.1) 100%);
    opacity: 0.3;
}

.category-tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.section-header p {
    font-size: 1.3rem;
    color: #cbd5e1;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
    padding: 0 20px;
}

.tab-button {
    background: rgba(248, 250, 252, 0.08);
    border: 2px solid rgba(203, 213, 225, 0.15);
    color: #e2e8f0;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 197, 193, 0.1), transparent);
    transition: left 0.5s;
}

.tab-button:hover::before {
    left: 100%;
}

.tab-button:hover {
    background: rgba(248, 250, 252, 0.12);
    border-color: rgba(147, 197, 193, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    color: #f1f5f9;
    text-decoration: none;
}

.tab-button.active {
    background: rgba(107, 142, 144, 0.15);
    color: #93c5c1;
    border-color: #6b8e90;
    box-shadow: 0 8px 25px rgba(107, 142, 144, 0.2);
}

.products-grid {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.products-grid.active {
    display: grid;
}

.product-card {
    background: #333;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    background: #374151;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #6b8e90, #93c5c1);
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(107, 142, 144, 0.3);
}

.product-info {
    padding: 25px;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-title a {
    color: #f8fafc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #93c5c1;
}

.product-description {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6b8e90;
}

.add-to-cart-btn {
    width: 100%;
    background: linear-gradient(135deg, #6b8e90 0%, #5a7577 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s;
}

.add-to-cart-btn:hover::before {
    left: 100%;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(107, 142, 144, 0.3);
    background: linear-gradient(135deg, #93c5c1 0%, #6b8e90 100%);
}

.add-to-cart-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.add-to-cart-btn.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.add-to-cart-btn.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.loading-spinner {
    display: none;
    text-align: center;
    padding: 50px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(203, 213, 225, 0.1);
    border-top: 4px solid #6b8e90;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.loading-text {
    color: #cbd5e1;
    margin-top: 20px;
    font-size: 1.1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-products {
    text-align: center;
    color: #94a3b8;
    font-size: 1.2rem;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

/* ================================
   WOOCOMMERCE GLOBAL STYLES
   ================================ */

/* Wrapper et conteneurs */
body.single-product #wrapper,
body.woocommerce-page #wrapper,
body.woocommerce-cart #wrapper,
body.woocommerce-checkout #wrapper,
body.woocommerce-account #wrapper {
    background-color: #222;
    box-sizing: border-box;
}

body.single-product #wrapper {
    padding-top: 100px !important;
    padding-bottom: 40px !important;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Titres principaux */
.woocommerce h1,
.woocommerce h2,
.woocommerce h3,
.woocommerce h4,
.woocommerce h5,
.woocommerce h6 {
    color: #f8fafc;
}

.woocommerce div.product h1.product_title {
    line-height: 1.2;
    margin-bottom: 25px;
    color: #f8fafc;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Prix */
.woocommerce p.price,
.woocommerce span.price {
    color: #6b8e90 !important;
    font-size: 1.8rem;
    font-weight: 700;
}

.woocommerce p.price span.amount,
.woocommerce span.amount {
    color: #6b8e90 !important;
    font-weight: 700;
}

.woocommerce p.price del span.amount,
.woocommerce span.price del span.amount {
    color: #94a3b8 !important;
    text-decoration: line-through;
    opacity: 0.8;
}

/* Liens */
.woocommerce a {
    color: #93c5c1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce a:hover {
    color: #6b8e90;
    text-decoration: none;
}

/* Descriptions et textes */
.woocommerce .woocommerce-product-details__short-description,
.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce-product-details__short-description p {
    margin-bottom: 25px;
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* ================================
   FICHE PRODUIT DÉTAILLÉE
   ================================ */

.woocommerce div.product {
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 30px;
}

.woocommerce-page div.product form.cart {
    margin-top: 1em;
}

/* Images produit */
.woocommerce div.product div.images {
    margin-bottom: 30px;
}

.woocommerce div.product div.images img {
    border-radius: 0;
    box-shadow: none;
}

/* Variations */
.woocommerce div.product form.cart .variations {
    background: rgba(248, 250, 252, 0.05);
    padding: 25px;
    border-radius: 0;
    border: none;
    margin-bottom: 25px;
}

.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
    color: #cbd5e1;
    border: none;
    padding: 10px 15px;
}

.woocommerce div.product form.cart .variations label {
    color: #f8fafc;
    font-weight: 600;
}

.woocommerce div.product form.cart .variations select {
    background: #222;
    color: #cbd5e1;
    border: 2px solid rgba(203, 213, 225, 0.15);
    border-radius: 8px;
    padding: 12px 15px;
    width: 100%;
    transition: all 0.3s ease;
}

.woocommerce div.product form.cart .variations select:focus {
    border-color: #6b8e90;
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 142, 144, 0.1);
}

/* Quantité */
.woocommerce div.product form.cart .quantity {
    margin-right: 15px;
}

.woocommerce div.product form.cart .quantity input[type="number"] {
    background: #222;
    color: #cbd5e1;
    border: 2px solid rgba(203, 213, 225, 0.15);
    border-radius: 8px;
    padding: 12px 15px;
    width: 80px;
    text-align: center;
    transition: all 0.3s ease;
}

.woocommerce div.product form.cart .quantity input[type="number"]:focus {
    border-color: #6b8e90;
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 142, 144, 0.1);
}

/* Boutons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce button[type="submit"] {
    background: linear-gradient(135deg, #6b8e90 0%, #5a7577 100%);
    color: white !important;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.woocommerce a.button::before,
.woocommerce button.button::before,
.woocommerce input.button::before,
.woocommerce #respond input#submit::before,
.woocommerce button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s;
}

.woocommerce a.button:hover::before,
.woocommerce button.button:hover::before,
.woocommerce input.button:hover::before,
.woocommerce #respond input#submit:hover::before,
.woocommerce button[type="submit"]:hover::before {
    left: 100%;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(107, 142, 144, 0.3);
    background: linear-gradient(135deg, #93c5c1 0%, #6b8e90 100%);
    text-decoration: none;
    color: white !important;
}

/* Bouton ajout panier principal */
.woocommerce div.product form.cart button.single_add_to_cart_button {
    width: 100%;
    background: linear-gradient(135deg, #6b8e90 0%, #5a7577 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
}

.woocommerce div.product form.cart button.single_add_to_cart_button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s;
}

.woocommerce div.product form.cart button.single_add_to_cart_button:hover::before {
    left: 100%;
}

.woocommerce div.product form.cart button.single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(107, 142, 144, 0.3);
    background: linear-gradient(135deg, #93c5c1 0%, #6b8e90 100%);
}

.woocommerce div.product form.cart button.single_add_to_cart_button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.woocommerce div.product form.cart button.single_add_to_cart_button.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.woocommerce div.product form.cart button.single_add_to_cart_button.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Boutons secondaires */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #1e293b !important;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #0f172a !important;
}

/* ================================
   ONGLETS PRODUIT
   ================================ */

.woocommerce div.product .woocommerce-tabs {
    background: #333;
    border-radius: 0;
    overflow: hidden;
    border: none;
    margin-top: 40px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    background: rgba(248, 250, 252, 0.05);
    border-bottom: 2px solid rgba(203, 213, 225, 0.1);
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0;
    background: none;
    border: none;
    border-radius: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: #cbd5e1;
    padding: 20px 30px;
    display: block;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 0;
    background: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #93c5c1;
    background: rgba(107, 142, 144, 0.1);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: rgba(107, 142, 144, 0.1);
}

.woocommerce div.product .woocommerce-tabs .panel {
    padding: 30px;
    color: #cbd5e1;
    background: #333;
}

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

.woocommerce-cart table.cart {
    background: #333;
    border-radius: 15px;
    border: 1px solid rgba(203, 213, 225, 0.08);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td {
    color: #cbd5e1;
    border: 1px solid rgba(203, 213, 225, 0.1);
    padding: 20px 15px;
    vertical-align: middle;
}

.woocommerce-cart table.cart th {
    background: rgba(248, 250, 252, 0.05);
    color: #f8fafc;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-cart table.cart tbody tr {
    background: #333;
}

.woocommerce-cart table.cart tbody tr:nth-child(even) {
    background: rgba(248, 250, 252, 0.02);
}

.woocommerce-cart table.cart tbody tr:hover {
    background: rgba(107, 142, 144, 0.05);
}

/* Totaux panier */
.cart-collaterals .cart_totals {
    background: #333;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(203, 213, 225, 0.08);
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

.cart-collaterals .cart_totals h2 {
    color: #f8fafc;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.cart-collaterals .cart_totals table {
    background: none;
    border: none;
}

.cart-collaterals .cart_totals table th,
.cart-collaterals .cart_totals table td {
    color: #cbd5e1;
    border: 1px solid rgba(203, 213, 225, 0.1);
    padding: 15px;
}

.cart-collaterals .cart_totals table th {
    background: rgba(248, 250, 252, 0.05);
    font-weight: 600;
}

.cart-collaterals .cart_totals .order-total th,
.cart-collaterals .cart_totals .order-total td {
    color: #6b8e90;
    font-weight: 700;
    font-size: 1.2rem;
}

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

.woocommerce-checkout .col2-set,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    background: #333;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(203, 213, 225, 0.08);
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    margin-bottom: 30px;
}

.woocommerce-checkout h3 {
    color: #f8fafc;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.woocommerce-checkout .form-row label {
    color: #f8fafc;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row input[type="password"],
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
    background: #222;
    color: #cbd5e1;
    border: 2px solid rgba(203, 213, 225, 0.15);
    border-radius: 8px;
    padding: 12px 15px;
    width: 100%;
    transition: all 0.3s ease;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
    border-color: #6b8e90;
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 142, 144, 0.1);
}

/* Récapitulatif commande */
.woocommerce-checkout-review-order-table {
    background: none;
    border: none;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    color: #cbd5e1;
    border: 1px solid rgba(203, 213, 225, 0.1);
    padding: 15px;
}

.woocommerce-checkout-review-order-table th {
    background: rgba(248, 250, 252, 0.05);
    color: #f8fafc;
    font-weight: 600;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    color: #6b8e90;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Méthodes de paiement */
.woocommerce-checkout #payment {
    background: rgba(248, 250, 252, 0.02);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(203, 213, 225, 0.1);
}

.woocommerce-checkout #payment ul.payment_methods {
    border: none;
    padding: 0;
    background: none;
}

.woocommerce-checkout #payment ul.payment_methods li {
    background: rgba(248, 250, 252, 0.05);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid rgba(203, 213, 225, 0.1);
}

.woocommerce-checkout #payment ul.payment_methods li label {
    color: #cbd5e1;
    padding: 15px;
    font-weight: 600;
}

.woocommerce-checkout #payment div.payment_box {
    background: rgba(107, 142, 144, 0.05);
    color: #cbd5e1;
    border: 1px solid rgba(107, 142, 144, 0.2);
    border-radius: 8px;
    margin: 10px 0;
}

/* ================================
   COMPTE CLIENT
   ================================ */

.woocommerce-account .woocommerce-MyAccount-navigation {
    background: #333;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(203, 213, 225, 0.08);
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    margin-bottom: 30px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin-bottom: 10px;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    color: #cbd5e1;
    padding: 15px 20px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: rgba(107, 142, 144, 0.15);
    color: #93c5c1;
    transform: translateX(5px);
}

.woocommerce-account .woocommerce-MyAccount-content {
    background: #333;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(203, 213, 225, 0.08);
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

/* Tableaux commandes */
.woocommerce-account table.my_account_orders {
    background: none;
    border: none;
}

.woocommerce-account table.my_account_orders th,
.woocommerce-account table.my_account_orders td {
    color: #cbd5e1;
    border: 1px solid rgba(203, 213, 225, 0.1);
    padding: 15px;
}

.woocommerce-account table.my_account_orders th {
    background: rgba(248, 250, 252, 0.05);
    color: #f8fafc;
    font-weight: 600;
}

.woocommerce-account table.my_account_orders tbody tr:nth-child(even) {
    background: rgba(248, 250, 252, 0.02);
}

/* ================================
   FORMULAIRES
   ================================ */

.woocommerce form .form-row {
    margin-bottom: 20px;
}

.woocommerce form .form-row label {
    color: #f8fafc;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.woocommerce form .form-row label .required {
    color: #ef4444;
    font-weight: 700;
}

.woocommerce form .form-row input[type="text"],
.woocommerce form .form-row input[type="email"],
.woocommerce form .form-row input[type="tel"],
.woocommerce form .form-row input[type="password"],
.woocommerce form .form-row input[type="url"],
.woocommerce form .form-row input[type="number"],
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    background: #222;
    color: #cbd5e1;
    border: 2px solid rgba(203, 213, 225, 0.15);
    border-radius: 8px;
    padding: 12px 15px;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.woocommerce form .form-row input:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: #6b8e90;
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 142, 144, 0.1);
    background: #2a2a2a;
}

.woocommerce form .form-row .input-text:invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Checkboxes et radios */
.woocommerce form .form-row input[type="checkbox"],
.woocommerce form .form-row input[type="radio"] {
    width: auto;
    margin-right: 10px;
    accent-color: #6b8e90;
}

.woocommerce form .form-row .checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce form .form-row .checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

/* ================================
   MESSAGES ET NOTIFICATIONS
   ================================ */

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 20px 25px;
    margin-bottom: 25px;
    border-radius: 12px;
    border-left: 5px solid;
    position: relative;
    font-weight: 600;
}

.woocommerce .woocommerce-message,
.woocommerce-message {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: #10b981;
    color: #10b981;
}

.woocommerce .woocommerce-info,
.woocommerce-info {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: #3b82f6;
    color: #3b82f6;
}

.woocommerce .woocommerce-error,
.woocommerce-error {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: #ef4444;
    color: #ef4444;
}

.woocommerce .woocommerce-message a,
.woocommerce .woocommerce-info a,
.woocommerce .woocommerce-error a,
.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
    color: inherit;
    text-decoration: underline;
    font-weight: 700;
}

/* Messages de validation */
.woocommerce ul.woocommerce-error,
.woocommerce .woocommerce-NoticeGroup .woocommerce-error,
.woocommerce .woocommerce-notices-wrapper .woocommerce-error {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.woocommerce ul.woocommerce-error li,
.woocommerce .woocommerce-error li {
    background: rgba(239, 68, 68, 0.1);
    border-left: 5px solid #ef4444;
    color: #ef4444;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-weight: 600;
}

/* ================================
   PAGINATION
   ================================ */

.woocommerce nav.woocommerce-pagination {
    text-align: center;
    margin: 40px 0;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
    margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: block;
    padding: 12px 18px;
    background: rgba(248, 250, 252, 0.08);
    color: #cbd5e1;
    border: 2px solid rgba(203, 213, 225, 0.15);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: rgba(107, 142, 144, 0.15);
    border-color: #6b8e90;
    color: #93c5c1;
    transform: translateY(-2px);
}

/* ================================
   BREADCRUMBS
   ================================ */

.woocommerce .woocommerce-breadcrumb {
    background: rgba(248, 250, 252, 0.05);
    padding: 15px 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    border: 1px solid rgba(203, 213, 225, 0.1);
}

.woocommerce .woocommerce-breadcrumb a {
    color: #93c5c1;
    text-decoration: none;
    font-weight: 600;
}

.woocommerce .woocommerce-breadcrumb a:hover {
    color: #6b8e90;
    text-decoration: underline;
}

/* ================================
   RATINGS ET REVIEWS
   ================================ */

.woocommerce .star-rating {
    color: #fbbf24;
    font-size: 1.2em;
}

.woocommerce .star-rating::before {
    color: rgba(203, 213, 225, 0.3);
}

.woocommerce .star-rating span::before {
    color: #fbbf24;
}

.woocommerce #reviews {
    background: #333;
    padding: 30px;
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin-top: 30px;
}

.woocommerce #reviews h2 {
    color: #f8fafc;
    margin-bottom: 25px;
}

.woocommerce #reviews .comment {
    background: rgba(248, 250, 252, 0.02);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(203, 213, 225, 0.1);
    margin-bottom: 20px;
}

.woocommerce #reviews .comment .meta {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.woocommerce #reviews .comment .description p {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

/* Formulaire de review */
.woocommerce #review_form #respond {
    background: rgba(248, 250, 252, 0.02);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(203, 213, 225, 0.1);
    margin-top: 30px;
}

.woocommerce #review_form #respond h3 {
    color: #f8fafc;
    margin-bottom: 20px;
}

.woocommerce #review_form #respond .comment-form-rating {
    margin-bottom: 20px;
}

.woocommerce #review_form #respond .comment-form-rating label {
    color: #f8fafc;
    font-weight: 600;
}

/* ================================
   WIDGETS WOOCOMMERCE
   ================================ */

.widget.woocommerce {
    background: #333;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(203, 213, 225, 0.08);
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    margin-bottom: 30px;
}

.widget.woocommerce .widget-title {
    color: #f8fafc;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(107, 142, 144, 0.2);
}

.widget.woocommerce ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget.woocommerce ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(203, 213, 225, 0.1);
}

.widget.woocommerce ul li:last-child {
    border-bottom: none;
}

.widget.woocommerce ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget.woocommerce ul li a:hover {
    color: #93c5c1;
}

/* Widget panier */
.widget_shopping_cart .cart_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_shopping_cart .cart_list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(203, 213, 225, 0.1);
}

.widget_shopping_cart .cart_list li img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.widget_shopping_cart .cart_list li a {
    color: #cbd5e1;
    text-decoration: none;
    flex: 1;
}

.widget_shopping_cart .cart_list li .quantity {
    color: #6b8e90;
    font-weight: 600;
}

.widget_shopping_cart .total {
    text-align: center;
    padding: 20px 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #6b8e90;
    border-top: 2px solid rgba(107, 142, 144, 0.2);
    margin-top: 20px;
}

/* ================================
   FILTRES PRODUITS
   ================================ */

.woocommerce-ordering,
.woocommerce-result-count {
    color: #cbd5e1;
    margin-bottom: 25px;
}

.woocommerce-ordering select {
    background: #222;
    color: #cbd5e1;
    border: 2px solid rgba(203, 213, 225, 0.15);
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.woocommerce-ordering select:focus {
    border-color: #6b8e90;
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 142, 144, 0.1);
}

/* Widget filtres prix */
.widget_price_filter .price_slider_wrapper {
    background: rgba(248, 250, 252, 0.02);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(203, 213, 225, 0.1);
    margin-bottom: 20px;
}

.widget_price_filter .price_slider {
    height: 8px;
    background: rgba(203, 213, 225, 0.2);
    border-radius: 4px;
    position: relative;
    margin: 20px 0;
}

.widget_price_filter .ui-slider-range {
    background: linear-gradient(135deg, #6b8e90, #93c5c1);
    height: 100%;
    border-radius: 4px;
}

.widget_price_filter .ui-slider-handle {
    background: #6b8e90;
    border: 3px solid white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(107, 142, 144, 0.3);
}

.widget_price_filter .price_slider_amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.widget_price_filter .price_slider_amount input {
    background: #222;
    color: #cbd5e1;
    border: 2px solid rgba(203, 213, 225, 0.15);
    border-radius: 6px;
    padding: 8px 12px;
    width: 80px;
    text-align: center;
}

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

@media (max-width: 768px) {
    .category-tabs-wrapper {
        padding: 60px 0;
    }
    
    .section-header h1 {
        font-size: 2.5rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    .category-tabs {
        gap: 8px;
        padding: 0 10px;
    }
    
    .tab-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
   
    .product-info {
        padding: 20px;
    }
    
    .product-title {
        font-size: 1.2rem;
    }
    
    /* Responsive WooCommerce */
    body.single-product #wrapper,
    body.woocommerce-page #wrapper,
    body.woocommerce-cart #wrapper,
    body.woocommerce-checkout #wrapper,
    body.woocommerce-account #wrapper {
        padding: 80px 1rem 20px 1rem;
    }
    
    .woocommerce div.product,
    .cart-collaterals .cart_totals,
    .woocommerce-checkout .col2-set,
    .woocommerce-checkout #order_review,
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content,
    .widget.woocommerce,
    .woocommerce #reviews {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .woocommerce div.product h1.product_title {
        font-size: 2rem;
    }
    
    .woocommerce p.price,
    .woocommerce span.price {
        font-size: 1.5rem;
    }
    
    .woocommerce a.button,
    .woocommerce button.button,
    .woocommerce input.button,
    .woocommerce div.product form.cart button.single_add_to_cart_button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 {
        width: 100%;
        float: none;
        margin-bottom: 30px;
    }
    
    .woocommerce-cart table.cart th,
    .woocommerce-cart table.cart td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }
    
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100%;
        float: none;
    }
}

@media (max-width: 480px) {
    .section-header h1 {
        font-size: 2rem;
    }
    
    .tab-button {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .woocommerce div.product h1.product_title {
        font-size: 1.8rem;
    }
    
    .woocommerce div.product,
    .cart-collaterals .cart_totals,
    .woocommerce-checkout .col2-set,
    .woocommerce-checkout #order_review {
        padding: 15px;
    }
    
    .woocommerce div.product form.cart .variations {
        padding: 15px;
    }
    
    .woocommerce nav.woocommerce-pagination ul li a,
    .woocommerce nav.woocommerce-pagination ul li span {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

/* ================================
   ANIMATIONS FADEUP (EXISTING)
   ================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

/* Animation pour les éléments WooCommerce */
.woocommerce div.product,
.cart-collaterals .cart_totals,
.woocommerce-checkout .col2-set,
.woocommerce-checkout #order_review {
    animation: fadeInUp 0.6s ease forwards;
}

/* ================================
   AMÉLIORATION PERFORMANCE
   ================================ */

/* Optimisation des transitions */
*,
*::before,
*::after {
    box-sizing: border-box;
}

.woocommerce a,
.woocommerce button,
.woocommerce input,
.tab-button,
.product-card {
    will-change: transform;
}

/* Préchargement des images */
.product-image img,
.woocommerce div.product div.images img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ================================
   DARK THEME OVERRIDES SPÉCIFIQUES
   ================================ */

/* Override pour les éléments WordPress/WooCommerce par défaut */
.woocommerce,
.woocommerce-page {
    background-color: #222 !important;
}

.woocommerce *,
.woocommerce-page * {
    box-sizing: border-box;
}

/* Correction des couleurs de texte héritées */
.woocommerce p,
.woocommerce li,
.woocommerce div:not(.product-badge),
.woocommerce td,
.woocommerce th {
    color: #cbd5e1;
}

.woocommerce span:not(.amount){
    padding-left: 5px;
}

/* Ensure proper text colors for form elements */
.woocommerce ::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.woocommerce ::-webkit-input-placeholder {
    color: #94a3b8;
}

.woocommerce ::-moz-placeholder {
    color: #94a3b8;
    opacity: 1;
}

.woocommerce :-ms-input-placeholder {
    color: #94a3b8;
}

/* Alignement quantité et bouton ajouter au panier */
.woocommerce div.product form.cart {
    display: flex;
    align-items: center;
}

.woocommerce div.product form.cart .quantity {
    margin-right: 15px;
    flex-shrink: 0;
}

.woocommerce div.product form.cart .quantity input[type="number"] {
    height: 53px;
    padding: 15px;
    font-size: 1.1rem;
}

.woocommerce div.product form.cart button.single_add_to_cart_button {
    flex: 1;
    width: auto;
    height: 53px;
    margin-top: 0;
    padding: 15px 25px;
}