/* --- Shop Header Modernisé --- */
.shop-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    background: linear-gradient(90deg, #232526 0%, #414345 100%);
    padding: 16px 18px;
    /*border-radius: 18px;*/
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.10);
    animation: slideDown 0.5s ease-out;
    margin-bottom: 18px;
    color: #fff;
}

.shop-title {
    font-size: 1.45rem;
    font-weight: 900;
    color: #fff;
    margin: 0 auto;
    flex: 1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    max-width: 340px;
    justify-self: center;
}

.shop-filters {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;
    min-width: 220px;
}

.shop-filters .woocommerce-breadcrumb {
    color: #fff;
    font-size: 0.98rem;
    margin-bottom: 2px;
    opacity: 0.85;
    padding: 0;
}

.shop-filters .woocommerce-breadcrumb a {
    color: #ff8e53;
    text-decoration: underline;
    transition: color 0.2s;
}

.shop-filters .woocommerce-breadcrumb a:hover {
    color: #ff6b6b;
}

.shop-header .woocommerce-result-count {
    margin: 0;
    white-space: nowrap;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.shop-header .woocommerce-ordering {
    min-width: 120px;
    margin: 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 2px 6px;
}

.shop-header .woocommerce-ordering select {
    width: 100%;
    padding: 7px 10px;
    border: none;
    border-radius: 7px;
    background: #222;
    font-size: 0.97rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    appearance: none;
}

.shop-header .woocommerce-ordering select:focus {
    outline: 2px solid #ff6b6b;
    background: #333;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shop-user-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.shop-cart-link,
.shop-account-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 14px;
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8e53 100%);
    border: none;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.98rem;
    transition: all 0.2s;
    position: relative;
    box-shadow: 0 3px 16px rgba(255, 107, 107, 0.13);
    min-width: 38px;
}

.shop-cart-link:hover,
.shop-account-link:hover {
    background: linear-gradient(90deg, #ff8e53 0%, #ff6b6b 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.25);
}

.shop-cart-link .cart-icon,
.shop-account-link .account-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 1.1rem;
    line-height: 1;
    margin-right: 2px;
}

.shop-cart-link .cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 7px;
    background: #fff;
    color: #ff6b6b;
    border-radius: 9px;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    margin-left: 1px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.13);
}

.shop-cart-link:hover .cart-count {
    background: #ff8e53;
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.18);
}

@media (max-width: 900px) {
    .shop-header-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 10px 4px;
    }

    .shop-title {
        font-size: 1.08rem !important;
        max-width: 220px;
    }

    .shop-user-links {
        justify-content: center;
        width: 100%;
        padding-top: 10px;
        border-top: 1.5px solid #e0e0e0;
        gap: 8px;
    }

    .shop-cart-link,
    .shop-account-link {
        font-size: 0.92rem;
        padding: 7px 0;
        max-width: 120px;
    }
}

/* Responsive pour la grille boutique */
@media (max-width: 900px) {
    .woocommerce .products {
        grid-template-columns: 1fr;
        gap: 24px 0;
        padding: 0 8px;
    }

    .woocommerce ul.products li.product {
        min-width: 0;
        padding: 0 0 18px 0;
    }

    .woocommerce ul.products li.product img {
        height: 180px;
    }
}

/* Boutique WooCommerce (liste de produits) - K-Style Theme */

/* Boutique WooCommerce (liste de produits) - K-Style Theme moderne */
:root {
    --woo-primary: var(--primary-gradient-start);
    --woo-secondary: var(--primary-gradient-end);
}

.woocommerce .container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto;
    max-width: 1400px;
    padding: 40px 20px 60px 20px;
}

.woocommerce .products {
    flex: 1 1 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px 30px;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products li.product {
    background: var(--bg-light);
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.2s;
    min-width: 320px;
    max-width: 100%;
    padding: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 16px 48px rgba(255, 107, 107, 0.18);
    transform: translateY(-4px) scale(1.03);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 22px 0 10px 0;
    text-align: center;
    letter-spacing: 0.5px;
}

.woocommerce ul.products li.product .price {
    color: var(--woo-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.woocommerce ul.products li.product .button {
    background: linear-gradient(90deg, var(--woo-primary), var(--woo-secondary));
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 36px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 14px;
    transition: background 0.3s, transform 0.2s;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.10);
}

.woocommerce ul.products li.product .button:hover {
    background: linear-gradient(90deg, var(--woo-secondary), var(--woo-primary));
    transform: translateY(-2px) scale(1.06);
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

/* Responsive : sidebar sous la boutique */
@media (max-width: 1100px) {
    .woocommerce .container {
        flex-direction: column;
        gap: 0;
        padding: 20px 4vw 40px 4vw;
    }

    .woocommerce .products {
        margin-bottom: 40px;
    }
}