/* ==========================================================================
   WooCommerce Product Archive — Custom Styles
   Compatible with "Filter Everything" plugin (free version)
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
    --shop-primary:       #3a2ddb;
    --shop-primary-hover: #2e22b8;
    --shop-primary-light: #ededfc;
    --shop-dark:          #1a1a2e;
    --shop-text:          #2c2c3a;
    --shop-text-muted:    #8b8b9e;
    --shop-border:        #e8e8f0;
    --shop-bg:            #f6f6fa;
    --shop-white:         #ffffff;
    --shop-badge-new:     #3a2ddb;
    --shop-badge-promo:   #e63946;
    --shop-badge-best:    #f4a623;
    --shop-radius:        12px;
    --shop-radius-sm:     8px;
    --shop-shadow-card:   0 2px 12px rgba(26, 26, 46, .06);
    --shop-shadow-hover:  0 8px 28px rgba(26, 26, 46, .10);
    --shop-transition:    .25s cubic-bezier(.4, 0, .2, 1);
    --shop-font:          'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --shop-font-heading:  'Clash Display', 'DM Sans', sans-serif;
}

/* ---------- Layout Wrapper ---------- */
.archive-shop-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    max-width: 1360px;
    margin: 0 auto;
    padding: 32px 40px 64px;
    font-family: var(--shop-font);
    color: var(--shop-text);
    background: var(--shop-white);
}

@media (max-width: 1024px) {
    .archive-shop-wrapper {
        grid-template-columns: 1fr;
        padding: 20px 16px 48px;
    }
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */
.shop-sidebar {
    position: sticky;
    top: 32px;
    align-self: start;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    padding-right: 24px;
    border-right: 1px solid var(--shop-border);
    scrollbar-width: thin;
    scrollbar-color: var(--shop-border) transparent;
}

@media (max-width: 1024px) {
    .shop-sidebar {
        position: static;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid var(--shop-border);
        padding-right: 0;
        padding-bottom: 24px;
        margin-bottom: 8px;
    }
}

/* Sidebar Blocks */
.sidebar-block {
    margin-bottom: 28px;
}

.sidebar-block__title {
    font-family: var(--shop-font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--shop-dark);
    margin: 0 0 14px;
    text-transform: none;
}

/* Category List */
.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-list__item {
    margin-bottom: 4px;
}

.category-list__item a {
    display: block;
    padding: 7px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--shop-text);
    text-decoration: none;
    border-radius: var(--shop-radius-sm);
    transition: background var(--shop-transition), color var(--shop-transition);
}

.category-list__item a:hover,
.category-list__item.is-active a {
    color: var(--shop-primary);
    background: var(--shop-primary-light);
    font-weight: 600;
}

/* ---------- Filter Everything Plugin Override Styles ---------- */
.sidebar-filters .wpc-filters-widget-content {
    /* Spacing between filter groups */
}

.sidebar-filters .wpc-filter-title,
.sidebar-filters .widget-title {
    font-family: var(--shop-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--shop-dark);
    margin-bottom: 10px;
    padding-bottom: 0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-filters .wpc-filter-title::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--shop-text-muted);
    border-bottom: 2px solid var(--shop-text-muted);
    transform: rotate(45deg);
    transition: transform var(--shop-transition);
}

.sidebar-filters .wpc-filter-title.opened::after {
    transform: rotate(-135deg);
}

/* Checkbox styling for Filter Everything */
.sidebar-filters .wpc-filters-ul-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-filters .wpc-filters-ul-list li {
    margin-bottom: 6px;
}

.sidebar-filters .wpc-filters-ul-list li label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--shop-text);
    cursor: pointer;
    padding: 4px 0;
    transition: color var(--shop-transition);
}

.sidebar-filters .wpc-filters-ul-list li label:hover {
    color: var(--shop-primary);
}

/* Custom checkbox look */
.sidebar-filters .wpc-filters-ul-list input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid var(--shop-border);
    border-radius: 4px;
    background: var(--shop-white);
    cursor: pointer;
    transition: all var(--shop-transition);
    position: relative;
}

.sidebar-filters .wpc-filters-ul-list input[type="checkbox"]:checked {
    background: var(--shop-primary);
    border-color: var(--shop-primary);
}

.sidebar-filters .wpc-filters-ul-list input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid var(--shop-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Price slider override */
.sidebar-filters .wpc-filter-p/* ==========================================================================
   WooCommerce Product Archive — Custom Styles
   Compatible with "Filter Everything" plugin (free version)
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
    --shop-primary:       #3a2ddb;
    --shop-primary-hover: #2e22b8;
    --shop-primary-light: #ededfc;
    --shop-dark:          #1a1a2e;
    --shop-text:          #2c2c3a;
    --shop-text-muted:    #8b8b9e;
    --shop-border:        #e8e8f0;
    --shop-bg:            #f6f6fa;
    --shop-white:         #ffffff;
    --shop-badge-new:     #3a2ddb;
    --shop-badge-promo:   #e63946;
    --shop-badge-best:    #f4a623;
    --shop-radius:        12px;
    --shop-radius-sm:     8px;
    --shop-shadow-card:   0 2px 12px rgba(26, 26, 46, .06);
    --shop-shadow-hover:  0 8px 28px rgba(26, 26, 46, .10);
    --shop-transition:    .25s cubic-bezier(.4, 0, .2, 1);
    --shop-font:          'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --shop-font-heading:  'Clash Display', 'DM Sans', sans-serif;
}

/* ---------- Layout Wrapper ---------- */
.archive-shop-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    max-width: 1360px;
    margin: 0 auto;
    padding: 32px 40px 64px;
    font-family: var(--shop-font);
    color: var(--shop-text);
    background: var(--shop-white);
}

@media (max-width: 1024px) {
    .archive-shop-wrapper {
        grid-template-columns: 1fr;
        padding: 20px 16px 48px;
    }
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */
.shop-sidebar {
    position: sticky;
    top: 32px;
    align-self: start;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    padding-right: 24px;
    border-right: 1px solid var(--shop-border);
    scrollbar-width: thin;
    scrollbar-color: var(--shop-border) transparent;
}

@media (max-width: 1024px) {
    .shop-sidebar {
        position: static;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid var(--shop-border);
        padding-right: 0;
        padding-bottom: 24px;
        margin-bottom: 8px;
    }
}

/* Sidebar Blocks */
.sidebar-block {
    margin-bottom: 28px;
}

.sidebar-block__title {
    font-family: var(--shop-font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--shop-dark);
    margin: 0 0 14px;
    text-transform: none;
}

/* Category List */
.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-list__item {
    margin-bottom: 4px;
}

.category-list__item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--shop-text);
    text-decoration: none;
    border-radius: var(--shop-radius-sm);
    transition: background var(--shop-transition), color var(--shop-transition);
}

.category-list__item a:hover,
.category-list__item.is-active > a {
    color: var(--shop-primary);
    background: var(--shop-primary-light);
    font-weight: 600;
}

/* Chevron icon on parent categories */
.category-list__chevron {
    flex-shrink: 0;
    transition: transform var(--shop-transition);
    opacity: .5;
}

.category-list__item.is-active .category-list__chevron,
.category-list__chevron.is-open {
    transform: rotate(180deg);
    opacity: 1;
}

/* Subcategory list */
.subcategory-list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s cubic-bezier(.4, 0, .2, 1),
                opacity .25s ease;
    opacity: 0;
}

.subcategory-list.is-open {
    max-height: 500px;
    opacity: 1;
    margin-top: 2px;
    margin-bottom: 4px;
}

.subcategory-list__item {
    margin-bottom: 1px;
}

.subcategory-list__item a {
    display: block;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 400;
    color: var(--shop-text-muted);
    text-decoration: none;
    border-radius: var(--shop-radius-sm);
    border-left: 2px solid transparent;
    transition: color var(--shop-transition),
                background var(--shop-transition),
                border-color var(--shop-transition);
}

.subcategory-list__item a:hover {
    color: var(--shop-primary);
    background: var(--shop-primary-light);
}

.subcategory-list__item.is-active a {
    color: var(--shop-primary);
    font-weight: 600;
    border-left-color: var(--shop-primary);
    background: var(--shop-primary-light);
}

/* ---------- Filter Everything Plugin Override Styles ---------- */
.sidebar-filters .wpc-filters-widget-content {
    /* Spacing between filter groups */
}

.sidebar-filters .wpc-filter-title,
.sidebar-filters .widget-title {
    font-family: var(--shop-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--shop-dark);
    margin-bottom: 10px;
    padding-bottom: 0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-filters .wpc-filter-title::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--shop-text-muted);
    border-bottom: 2px solid var(--shop-text-muted);
    transform: rotate(45deg);
    transition: transform var(--shop-transition);
}

.sidebar-filters .wpc-filter-title.opened::after {
    transform: rotate(-135deg);
}

/* Checkbox styling for Filter Everything */
.sidebar-filters .wpc-filters-ul-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-filters .wpc-filters-ul-list li {
    margin-bottom: 6px;
}

.sidebar-filters .wpc-filters-ul-list li label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--shop-text);
    cursor: pointer;
    padding: 4px 0;
    transition: color var(--shop-transition);
}

.sidebar-filters .wpc-filters-ul-list li label:hover {
    color: var(--shop-primary);
}

/* Custom checkbox look */
.sidebar-filters .wpc-filters-ul-list input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid var(--shop-border);
    border-radius: 4px;
    background: var(--shop-white);
    cursor: pointer;
    transition: all var(--shop-transition);
    position: relative;
}

.sidebar-filters .wpc-filters-ul-list input[type="checkbox"]:checked {
    background: var(--shop-primary);
    border-color: var(--shop-primary);
}

.sidebar-filters .wpc-filters-ul-list input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid var(--shop-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Price slider override */
.sidebar-filters .wpc-filter-price-slider .ui-slider {
    background: var(--shop-border);
    height: 4px;
    border: none;
    border-radius: 4px;
}

.sidebar-filters .wpc-filter-price-slider .ui-slider .ui-slider-range {
    background: var(--shop-primary);
}

.sidebar-filters .wpc-filter-price-slider .ui-slider .ui-slider-handle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--shop-white);
    border: 3px solid var(--shop-primary);
    top: -8px;
    cursor: grab;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
}

/* Filter Apply / Reset buttons */
.sidebar-filters .wpc-filters-apply-button,
.sidebar-filters button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--shop-font);
    color: var(--shop-white);
    background: var(--shop-primary);
    border: none;
    border-radius: var(--shop-radius-sm);
    cursor: pointer;
    transition: background var(--shop-transition), transform var(--shop-transition);
}

.sidebar-filters .wpc-filters-apply-button:hover,
.sidebar-filters button[type="submit"]:hover {
    background: var(--shop-primary-hover);
    transform: translateY(-1px);
}

.sidebar-filters .wpc-filters-reset-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--shop-text-muted);
    background: transparent;
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius-sm);
    cursor: pointer;
    transition: all var(--shop-transition);
    margin-left: 8px;
}

.sidebar-filters .wpc-filters-reset-button:hover {
    border-color: var(--shop-primary);
    color: var(--shop-primary);
}

/* Color swatches (if Filter Everything outputs color terms) */
.sidebar-filters .wpc-filter-color-list .wpc-filter-color-item {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--shop-border);
    cursor: pointer;
    transition: transform var(--shop-transition), box-shadow var(--shop-transition);
}

.sidebar-filters .wpc-filter-color-list .wpc-filter-color-item:hover,
.sidebar-filters .wpc-filter-color-list .wpc-filter-color-item.checked {
    transform: scale(1.15);
    box-shadow: 0 0 0 3px var(--shop-primary-light);
    border-color: var(--shop-primary);
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */

/* Breadcrumbs */
.shop-breadcrumbs {
    margin-bottom: 8px;
}

.breadcrumbs-list,
.woocommerce-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: var(--shop-text-muted);
}

.breadcrumbs-list__item + .breadcrumbs-list__item::before,
.woocommerce-breadcrumb a + span::before {
    content: '›';
    margin-right: 4px;
    color: var(--shop-text-muted);
}

.breadcrumbs-list a,
.woocommerce-breadcrumb a {
    color: var(--shop-text-muted);
    text-decoration: none;
    transition: color var(--shop-transition);
}

.breadcrumbs-list a:hover,
.woocommerce-breadcrumb a:hover {
    color: var(--shop-primary);
}

/* Shop Header */
.shop-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.shop-header__title {
    font-family: var(--shop-font-heading);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--shop-dark);
    margin: 0;
    line-height: 1.15;
}

.shop-header__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* Active filters (chips rendered by Filter Everything) */
.active-filters,
.wpc-filter-chips-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wpc-filter-chips-list .wpc-filter-chip,
.active-filters .filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--shop-primary);
    background: var(--shop-primary-light);
    border: 1px solid transparent;
    border-radius: 20px;
    cursor: default;
    transition: background var(--shop-transition);
}

.wpc-filter-chips-list .wpc-filter-chip .wpc-filter-chip-remove,
.active-filters .filter-tag__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 14px;
    line-height: 1;
    color: var(--shop-primary);
    cursor: pointer;
    border-radius: 50%;
    transition: background var(--shop-transition);
}

.wpc-filter-chips-list .wpc-filter-chip .wpc-filter-chip-remove:hover {
    background: rgba(58, 45, 219, .15);
}

/* WooCommerce ordering select */
.shop-sort .woocommerce-ordering {
    position: relative;
}

.shop-sort .woocommerce-ordering select,
.shop-sort select {
    appearance: none;
    -webkit-appearance: none;
    padding: 9px 36px 9px 14px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--shop-font);
    color: var(--shop-text);
    background: var(--shop-white);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius-sm);
    cursor: pointer;
    transition: border-color var(--shop-transition);
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%238b8b9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.shop-sort .woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--shop-primary);
}

/* Result Count */
.shop-result-count,
.woocommerce-result-count {
    font-size: 13px;
    color: var(--shop-text-muted);
    margin-bottom: 20px;
}

/* ==========================================================================
   PRODUCT GRID
   ========================================================================== */
.products,
ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 900px) {
    .products,
    ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 540px) {
    .products,
    ul.products {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ---------- Product Card ---------- */
.product-card,
li.product {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-card__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--shop-white);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius);
    overflow: hidden;
    transition: box-shadow var(--shop-transition), transform var(--shop-transition);
}

.product-card__inner:hover {
    box-shadow: var(--shop-shadow-hover);
    transform: translateY(-3px);
}

/* Image */
.product-card__image-wrap {
    position: relative;
    aspect-ratio: 1 / 1.05;
    background: var(--shop-bg);
    overflow: hidden;
}

.product-card__image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.product-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.25, .46, .45, .94);
}

.product-card__inner:hover .product-card__image-wrap img {
    transform: scale(1.06);
}

/* Badge */
.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--shop-white);
    border-radius: 6px;
    z-index: 2;
    line-height: 1.5;
}

.product-card__badge--nouveau {
    background: var(--shop-badge-new);
}

.product-card__badge--promo {
    background: var(--shop-badge-promo);
}

.product-card__badge--best-seller {
    background: var(--shop-badge-best);
}

/* Also support WooCommerce default sale badge */
.product-card .onsale,
li.product .onsale {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--shop-white);
    background: var(--shop-badge-promo);
    border-radius: 6px;
    z-index: 2;
    line-height: 1.5;
    margin: 0;
    min-width: auto;
    min-height: auto;
}

/* Wishlist */
.product-card__wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--shop-white);
    border: 1px solid var(--shop-border);
    border-radius: 50%;
    cursor: pointer;
    color: var(--shop-text-muted);
    transition: all var(--shop-transition);
    z-index: 2;
    padding: 0;
}

.product-card__wishlist:hover {
    color: var(--shop-badge-promo);
    border-color: var(--shop-badge-promo);
    background: #fef2f2;
}

.product-card__wishlist.is-wishlisted {
    color: var(--shop-badge-promo);
    background: #fef2f2;
    border-color: var(--shop-badge-promo);
}

.product-card__wishlist.is-wishlisted svg {
    fill: var(--shop-badge-promo);
}

/* Info section */
.product-card__info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 14px 16px 16px;
}

.product-card__title-link {
    text-decoration: none;
    color: inherit;
}

.product-card__title {
    font-family: var(--shop-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--shop-dark);
    margin: 0 0 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--shop-transition);
}

.product-card__title-link:hover .product-card__title {
    color: var(--shop-primary);
}

/* Bottom row: price + ATC */
.product-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-card__price,
.product-card__price .price {
    font-size: 16px;
    font-weight: 700;
    color: var(--shop-dark);
}

.product-card__price del,
.product-card__price .price del {
    font-size: 13px;
    font-weight: 400;
    color: var(--shop-text-muted);
    margin-left: 6px;
}

.product-card__price ins,
.product-card__price .price ins {
    text-decoration: none;
    font-weight: 700;
}

/* Add to Cart button — scoped to archive layout only */
.archive-shop-wrapper .product-card__atc,
.archive-shop-wrapper .product-card__atc-wrap a,
.archive-shop-wrapper .product-card a.add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--shop-primary);
    color: var(--shop-white);
    border: none;
    border-radius: var(--shop-radius-sm);
    cursor: pointer;
    transition: background var(--shop-transition), transform var(--shop-transition);
    flex-shrink: 0;
    text-decoration: none;
    font-size: 0;
    padding: 0;
    line-height: 1;
}

.archive-shop-wrapper .product-card__atc:hover,
.archive-shop-wrapper .product-card__atc-wrap a:hover,
.archive-shop-wrapper .product-card a.add_to_cart_button:hover {
    background: var(--shop-primary-hover);
    transform: scale(1.08);
}

/* SVG icon inside the ATC button */
.archive-shop-wrapper .product-card__atc-wrap a svg,
.archive-shop-wrapper .product-card__atc svg {
    width: 18px;
    height: 18px;
    stroke: var(--shop-white);
    flex-shrink: 0;
}

/* Loading state */
.archive-shop-wrapper .product-card__atc.loading,
.archive-shop-wrapper .product-card__atc-wrap a.loading {
    pointer-events: none;
    opacity: .7;
}

.archive-shop-wrapper .product-card__atc.loading::after,
.archive-shop-wrapper .product-card__atc-wrap a.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: var(--shop-white);
    border-radius: 50%;
    animation: spin .5s linear infinite;
}

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

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.shop-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.shop-pagination ul,
.shop-pagination .page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.shop-pagination li {
    list-style: none;
}

.shop-pagination a,
.shop-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--shop-text);
    background: var(--shop-white);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius-sm);
    text-decoration: none;
    transition: all var(--shop-transition);
}

.shop-pagination a:hover {
    border-color: var(--shop-primary);
    color: var(--shop-primary);
    background: var(--shop-primary-light);
}

.shop-pagination span.current,
.shop-pagination .page-numbers.current {
    background: var(--shop-primary);
    color: var(--shop-white);
    border-color: var(--shop-primary);
    font-weight: 700;
}

.shop-pagination .prev,
.shop-pagination .next {
    font-weight: 500;
    color: var(--shop-text-muted);
}

.shop-pagination .dots {
    border: none;
    background: transparent;
    color: var(--shop-text-muted);
    min-width: auto;
    padding: 0 4px;
}

/* ==========================================================================
   NO RESULTS
   ========================================================================== */
.shop-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
}

.shop-no-results p {
    font-size: 16px;
    color: var(--shop-text-muted);
}

/* ==========================================================================
   MOBILE FILTER TOGGLE (optional progressive enhancement)
   ========================================================================== */
@media (max-width: 1024px) {
    .shop-sidebar {
        display: none;
    }

    .shop-sidebar.is-open {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100vh;
        z-index: 1000;
        background: var(--shop-white);
        padding: 24px;
        box-shadow: 4px 0 24px rgba(0,0,0,.12);
        overflow-y: auto;
        border-right: none;
    }

    .mobile-filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        font-size: 14px;
        font-weight: 600;
        font-family: var(--shop-font);
        color: var(--shop-white);
        background: var(--shop-primary);
        border: none;
        border-radius: var(--shop-radius-sm);
        cursor: pointer;
        margin-bottom: 16px;
    }

    .mobile-filter-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.35);
        z-index: 999;
    }

    .mobile-filter-overlay.is-active {
        display: block;
    }

    .mobile-filter-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background: transparent;
        border: 1px solid var(--shop-border);
        border-radius: 50%;
        font-size: 18px;
        cursor: pointer;
        margin-bottom: 16px;
        margin-left: auto;
    }
}

@media (min-width: 1025px) {
    .mobile-filter-toggle,
    .mobile-filter-overlay,
    .mobile-filter-close {
        display: none !important;
    }
}

/* ==========================================================================
   WOOCOMMERCE OVERRIDES — clean up default WC styles
   ========================================================================== */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products li.product .price {
    color: var(--shop-dark);
    font-size: 16px;
}

/* Hide default WC button text ONLY inside our custom archive layout */
.archive-shop-wrapper .product-card__atc-wrap .button,
.archive-shop-wrapper ul.products li.product .button {
    font-size: 0;
}

.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
    float: none;
    margin: 0;
}

/* Remove default star rating margin if present */
.woocommerce ul.products li.product .star-rating {
    display: none;
}rice-slider .ui-slider {
    background: var(--shop-border);
    height: 4px;
    border: none;
    border-radius: 4px;
}

.sidebar-filters .wpc-filter-price-slider .ui-slider .ui-slider-range {
    background: var(--shop-primary);
}

.sidebar-filters .wpc-filter-price-slider .ui-slider .ui-slider-handle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--shop-white);
    border: 3px solid var(--shop-primary);
    top: -8px;
    cursor: grab;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
}

/* Filter Apply / Reset buttons */
.sidebar-filters .wpc-filters-apply-button,
.sidebar-filters button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--shop-font);
    color: var(--shop-white);
    background: var(--shop-primary);
    border: none;
    border-radius: var(--shop-radius-sm);
    cursor: pointer;
    transition: background var(--shop-transition), transform var(--shop-transition);
}

.sidebar-filters .wpc-filters-apply-button:hover,
.sidebar-filters button[type="submit"]:hover {
    background: var(--shop-primary-hover);
    transform: translateY(-1px);
}

.sidebar-filters .wpc-filters-reset-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--shop-text-muted);
    background: transparent;
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius-sm);
    cursor: pointer;
    transition: all var(--shop-transition);
    margin-left: 8px;
}

.sidebar-filters .wpc-filters-reset-button:hover {
    border-color: var(--shop-primary);
    color: var(--shop-primary);
}

/* Color swatches (if Filter Everything outputs color terms) */
.sidebar-filters .wpc-filter-color-list .wpc-filter-color-item {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--shop-border);
    cursor: pointer;
    transition: transform var(--shop-transition), box-shadow var(--shop-transition);
}

.sidebar-filters .wpc-filter-color-list .wpc-filter-color-item:hover,
.sidebar-filters .wpc-filter-color-list .wpc-filter-color-item.checked {
    transform: scale(1.15);
    box-shadow: 0 0 0 3px var(--shop-primary-light);
    border-color: var(--shop-primary);
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */

/* Breadcrumbs */
.shop-breadcrumbs {
    margin-bottom: 8px;
}

.breadcrumbs-list,
.woocommerce-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: var(--shop-text-muted);
}

.breadcrumbs-list__item + .breadcrumbs-list__item::before,
.woocommerce-breadcrumb a + span::before {
    content: '›';
    margin-right: 4px;
    color: var(--shop-text-muted);
}

.breadcrumbs-list a,
.woocommerce-breadcrumb a {
    color: var(--shop-text-muted);
    text-decoration: none;
    transition: color var(--shop-transition);
}

.breadcrumbs-list a:hover,
.woocommerce-breadcrumb a:hover {
    color: var(--shop-primary);
}

/* Shop Header */
.shop-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.shop-header__title {
    font-family: var(--shop-font-heading);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--shop-dark);
    margin: 0;
    line-height: 1.15;
}

.shop-header__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* Active filters (chips rendered by Filter Everything) */
.active-filters,
.wpc-filter-chips-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wpc-filter-chips-list .wpc-filter-chip,
.active-filters .filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--shop-primary);
    background: var(--shop-primary-light);
    border: 1px solid transparent;
    border-radius: 20px;
    cursor: default;
    transition: background var(--shop-transition);
}

.wpc-filter-chips-list .wpc-filter-chip .wpc-filter-chip-remove,
.active-filters .filter-tag__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 14px;
    line-height: 1;
    color: var(--shop-primary);
    cursor: pointer;
    border-radius: 50%;
    transition: background var(--shop-transition);
}

.wpc-filter-chips-list .wpc-filter-chip .wpc-filter-chip-remove:hover {
    background: rgba(58, 45, 219, .15);
}

/* WooCommerce ordering select */
.shop-sort .woocommerce-ordering {
    position: relative;
}

.shop-sort .woocommerce-ordering select,
.shop-sort select {
    appearance: none;
    -webkit-appearance: none;
    padding: 9px 36px 9px 14px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--shop-font);
    color: var(--shop-text);
    background: var(--shop-white);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius-sm);
    cursor: pointer;
    transition: border-color var(--shop-transition);
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%238b8b9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.shop-sort .woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--shop-primary);
}

/* Result Count */
.shop-result-count,
.woocommerce-result-count {
    font-size: 13px;
    color: var(--shop-text-muted);
    margin-bottom: 20px;
}

/* ==========================================================================
   PRODUCT GRID
   ========================================================================== */
.products,
ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 900px) {
    .products,
    ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 540px) {
    .products,
    ul.products {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ---------- Product Card ---------- */
.product-card,
li.product {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-card__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--shop-white);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius);
    overflow: hidden;
    transition: box-shadow var(--shop-transition), transform var(--shop-transition);
}

.product-card__inner:hover {
    box-shadow: var(--shop-shadow-hover);
    transform: translateY(-3px);
}

/* Image */
.product-card__image-wrap {
    position: relative;
    aspect-ratio: 1 / 1.05;
    background: var(--shop-bg);
    overflow: hidden;
}

.product-card__image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.product-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.25, .46, .45, .94);
}

.product-card__inner:hover .product-card__image-wrap img {
    transform: scale(1.06);
}

/* Badge */
.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--shop-white);
    border-radius: 6px;
    z-index: 2;
    line-height: 1.5;
}

.product-card__badge--nouveau {
    background: var(--shop-badge-new);
}

.product-card__badge--promo {
    background: var(--shop-badge-promo);
}

.product-card__badge--best-seller {
    background: var(--shop-badge-best);
}

/* Also support WooCommerce default sale badge */
.product-card .onsale,
li.product .onsale {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--shop-white);
    background: var(--shop-badge-promo);
    border-radius: 6px;
    z-index: 2;
    line-height: 1.5;
    margin: 0;
    min-width: auto;
    min-height: auto;
}

/* Wishlist */
.product-card__wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--shop-white);
    border: 1px solid var(--shop-border);
    border-radius: 50%;
    cursor: pointer;
    color: var(--shop-text-muted);
    transition: all var(--shop-transition);
    z-index: 2;
    padding: 0;
}

.product-card__wishlist:hover {
    color: var(--shop-badge-promo);
    border-color: var(--shop-badge-promo);
    background: #fef2f2;
}

.product-card__wishlist.is-wishlisted {
    color: var(--shop-badge-promo);
    background: #fef2f2;
    border-color: var(--shop-badge-promo);
}

.product-card__wishlist.is-wishlisted svg {
    fill: var(--shop-badge-promo);
}

/* Info section */
.product-card__info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 14px 16px 16px;
}

.product-card__title-link {
    text-decoration: none;
    color: inherit;
}

.product-card__title {
    font-family: var(--shop-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--shop-dark);
    margin: 0 0 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--shop-transition);
}

.product-card__title-link:hover .product-card__title {
    color: var(--shop-primary);
}

/* Bottom row: price + ATC */
.product-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-card__price,
.product-card__price .price {
    font-size: 16px;
    font-weight: 700;
    color: var(--shop-dark);
}

.product-card__price del,
.product-card__price .price del {
    font-size: 13px;
    font-weight: 400;
    color: var(--shop-text-muted);
    margin-left: 6px;
}

.product-card__price ins,
.product-card__price .price ins {
    text-decoration: none;
    font-weight: 700;
}

/* Add to Cart button */
.product-card__atc,
.product-card a.add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--shop-primary);
    color: var(--shop-white);
    border: none;
    border-radius: var(--shop-radius-sm);
    cursor: pointer;
    transition: background var(--shop-transition), transform var(--shop-transition);
    flex-shrink: 0;
    text-decoration: none;
    font-size: 0;
    padding: 0;
}

.product-card__atc:hover,
.product-card a.add_to_cart_button:hover {
    background: var(--shop-primary-hover);
    transform: scale(1.08);
}

.product-card__atc.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: var(--shop-white);
    border-radius: 50%;
    animation: spin .5s linear infinite;
}

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

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.shop-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.shop-pagination ul,
.shop-pagination .page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.shop-pagination li {
    list-style: none;
}

.shop-pagination a,
.shop-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--shop-text);
    background: var(--shop-white);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius-sm);
    text-decoration: none;
    transition: all var(--shop-transition);
}

.shop-pagination a:hover {
    border-color: var(--shop-primary);
    color: var(--shop-primary);
    background: var(--shop-primary-light);
}

.shop-pagination span.current,
.shop-pagination .page-numbers.current {
    background: var(--shop-primary);
    color: var(--shop-white);
    border-color: var(--shop-primary);
    font-weight: 700;
}

.shop-pagination .prev,
.shop-pagination .next {
    font-weight: 500;
    color: var(--shop-text-muted);
}

.shop-pagination .dots {
    border: none;
    background: transparent;
    color: var(--shop-text-muted);
    min-width: auto;
    padding: 0 4px;
}

/* ==========================================================================
   NO RESULTS
   ========================================================================== */
.shop-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
}

.shop-no-results p {
    font-size: 16px;
    color: var(--shop-text-muted);
}

/* ==========================================================================
   MOBILE FILTER TOGGLE (optional progressive enhancement)
   ========================================================================== */
@media (max-width: 1024px) {
    .shop-sidebar {
        display: none;
    }

    .shop-sidebar.is-open {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100vh;
        z-index: 1000;
        background: var(--shop-white);
        padding: 24px;
        box-shadow: 4px 0 24px rgba(0,0,0,.12);
        overflow-y: auto;
        border-right: none;
    }

    .mobile-filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        font-size: 14px;
        font-weight: 600;
        font-family: var(--shop-font);
        color: var(--shop-white);
        background: var(--shop-primary);
        border: none;
        border-radius: var(--shop-radius-sm);
        cursor: pointer;
        margin-bottom: 16px;
    }

    .mobile-filter-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.35);
        z-index: 999;
    }

    .mobile-filter-overlay.is-active {
        display: block;
    }

    .mobile-filter-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background: transparent;
        border: 1px solid var(--shop-border);
        border-radius: 50%;
        font-size: 18px;
        cursor: pointer;
        margin-bottom: 16px;
        margin-left: auto;
    }
}

@media (min-width: 1025px) {
    .mobile-filter-toggle,
    .mobile-filter-overlay,
    .mobile-filter-close {
        display: none !important;
    }
}

/* ==========================================================================
   WOOCOMMERCE OVERRIDES — clean up default WC styles
   ========================================================================== */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products li.product .price {
    color: var(--shop-dark);
    font-size: 16px;
}

.woocommerce ul.products li.product .button {
    /* hide default WC button text — we use icon */
    font-size: 0;
}

.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
    float: none;
    margin: 0;
}

/* Remove default star rating margin if present */
.woocommerce ul.products li.product .star-rating {
    display: none;
}
