/* ── Velour Theme - Shop / Product Archive Styles ── */
/* Matches design/product-archive.html */


/* ── WooCommerce Reset / Base Overrides ── */
.woocommerce-page .page-title,
.woocommerce .page-title {
    font-family: var(--font-display);
    font-size: 0;
    line-height: 0;
    margin: 0;
    padding: 0;
    height: 0;
    overflow: hidden;
    display: none;
}

/* Hide WooCommerce default onsale badge */
.woocommerce span.onsale {
    display: none !important;
}

/* Reset WooCommerce product list defaults */
.woocommerce .products ul::after,
.woocommerce .products ul::before,
.woocommerce ul.products::after,
.woocommerce ul.products::before {
    content: none;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce ul.products li.product {
    margin: 0 !important;
    padding: 0;
    width: 100% !important;
    float: none !important;
}

.woocommerce ul.products li.product a {
    text-decoration: none;
}

/* WooCommerce notices wrapper */
.woocommerce-notices-wrapper {
    margin-bottom: 16px;
}


/* ── Breadcrumbs ── */
.shop-breadcrumbs {
    background: var(--brand-card);
    border-bottom: 1px solid var(--brand-border);
}

.shop-breadcrumbs .container {
    padding-top: 12px;
    padding-bottom: 12px;
}

.shop-breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--brand-muted);
    padding: 0;
    margin: 0;
}

.shop-breadcrumb-nav a {
    color: var(--brand-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 12px;
}

.shop-breadcrumb-nav a:hover {
    color: var(--brand-dark);
}

.shop-breadcrumb-sep {
    display: inline-flex;
    align-items: center;
    color: var(--brand-muted);
    line-height: 1;
}

.shop-breadcrumb-sep svg {
    display: block;
    width: 10px;
    height: 10px;
}

.shop-breadcrumb-current {
    color: var(--brand-dark);
    font-weight: 500;
    font-size: 12px;
}

/* Legacy breadcrumb styles (used by other pages) */
.shop-breadcrumbs .breadcrumb {
    padding: 0;
    font-size: 12px;
    gap: 8px;
}

.shop-breadcrumbs .breadcrumb a {
    color: var(--brand-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 12px;
}

.shop-breadcrumbs .breadcrumb a:hover {
    color: var(--brand-dark);
}

.shop-breadcrumbs .breadcrumb .sep {
    color: var(--brand-border);
    font-size: 10px;
}

.shop-breadcrumbs .breadcrumb .current {
    color: var(--brand-dark);
    font-weight: 500;
    font-size: 12px;
}


/* ── Shop Archive Wrapper ── */
.shop-archive-wrapper {
    padding-top: 24px;
    padding-bottom: 24px;
}

@media (min-width: 1024px) {
    .shop-archive-wrapper {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* ── Archive Page Header ── */
.archive-page-header {
    margin-bottom: 32px;
}

.archive-page-title {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .archive-page-title {
        font-size: 36px;
    }
}

.archive-page-desc {
    font-size: 14px;
    color: var(--brand-muted);
    margin: 8px 0 0;
    max-width: 672px;
    line-height: 1.6;
}


/* ── Shop Toolbar ── */
.shop-toolbar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--brand-border);
}

@media (min-width: 1024px) {
    .shop-toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
}

.shop-toolbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.shop-result-count {
    font-size: 12px;
    color: var(--brand-muted);
    font-weight: 500;
}

.shop-active-filters {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Active filter chips */
.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(0, 114, 255, 0.1);
    color: var(--brand-sky);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.active-filter-chip .chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--brand-sky);
    cursor: pointer;
    padding: 0;
    margin-left: 2px;
    transition: color var(--transition-fast);
    line-height: 1;
}

.active-filter-chip .chip-remove:hover {
    color: var(--brand-dark);
}

.active-filter-clear {
    background: none;
    border: none;
    color: var(--brand-muted);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    transition: color var(--transition-fast);
    padding: 0;
    font-family: var(--font-sans);
}

.active-filter-clear:hover {
    color: var(--brand-secondary);
}

.shop-toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

@media (min-width: 1024px) {
    .shop-toolbar-right {
        width: auto;
    }
}

/* Filter Toggle Button (Mobile) */
.shop-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--brand-border);
    background: transparent;
    font-size: 14px;
    color: var(--brand-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-sans);
    flex-shrink: 0;
}

.shop-filter-toggle:hover {
    border-color: var(--brand-dark);
    color: var(--brand-dark);
}

@media (min-width: 1024px) {
    .shop-filter-toggle {
        display: none;
    }
}

/* Sort Wrapper */
.shop-sort-wrapper {
    flex: 1;
    position: relative;
}

@media (min-width: 1024px) {
    .shop-sort-wrapper {
        flex: none;
    }
}

.shop-sort-wrapper .woocommerce-ordering {
    margin: 0;
}

.shop-sort-wrapper .woocommerce-ordering select {
    width: 100%;
    appearance: none;
    padding: 8px 32px 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--brand-border);
    font-size: 14px;
    color: var(--brand-dark);
    background: var(--brand-card);
    font-family: var(--font-sans);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

@media (min-width: 1024px) {
    .shop-sort-wrapper .woocommerce-ordering select {
        width: auto;
        min-width: 180px;
    }
}

.shop-sort-wrapper .woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--brand-sky);
    box-shadow: 0 0 0 2px rgba(0, 114, 255, 0.25);
}


/* ── Shop Content Layout (Sidebar + Main) ── */
.shop-content-layout {
    display: flex;
    gap: 32px;
}


/* ── Desktop Sidebar ── */
.shop-sidebar {
    display: none;
    width: 224px;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .shop-sidebar {
        display: block;
    }
}

.shop-sidebar-inner {
    position: sticky;
    top: 96px;
}


/* ── Shop Main ── */
.shop-main {
    flex: 1;
    min-width: 0;
}


/* ── Filter Sections (Sidebar & Drawer) ── */
.shop-filter-sections {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.shop-sidebar .shop-filter-sections {
    gap: 0;
}

.filter-section {
    padding: 20px 0;
    border-bottom: 1px solid var(--brand-border);
}

.filter-section:first-child {
    padding-top: 0;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-section-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-bottom: 12px;
    font-family: var(--font-sans);
}

.filter-section-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-dark);
}

.filter-chevron {
    color: var(--brand-muted);
    transition: transform 0.2s ease;
}

.filter-section.open .filter-chevron {
    transform: rotate(180deg);
}

.filter-section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.filter-section.open .filter-section-content {
    max-height: 500px;
}

/* Filter Options (checkboxes) */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--brand-muted);
    transition: color var(--transition-fast);
}

.filter-option:hover {
    color: var(--brand-dark);
}

.filter-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border-color: #d1d5db;
    accent-color: var(--brand-sky);
    cursor: pointer;
}

.filter-option-label {
    flex: 1;
}

.filter-option-count {
    font-size: 10px;
    color: rgba(107, 114, 128, 0.5);
}

/* Size Buttons */
.filter-size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-btn {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--brand-border);
    font-size: 12px;
    font-weight: 500;
    color: var(--brand-dark);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-sans);
}

.size-btn:hover {
    border-color: var(--brand-dark);
}

.size-btn.active {
    background: var(--brand-dark);
    color: #fff;
    border-color: var(--brand-dark);
}

/* Color Swatches */
.filter-color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 5px;
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--brand-border);
    cursor: pointer;
    transition: transform 0.15s ease;
    padding: 0;
    background-clip: content-box;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand-dark);
}


/* ── Mobile Filter Drawer ── */
.filter-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 130;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.filter-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.filter-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    max-width: 384px;
    z-index: 135;
    background: var(--brand-card);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
}

.filter-drawer.open {
    transform: translateX(0);
}

.filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--brand-border);
    position: sticky;
    top: 0;
    background: var(--brand-card);
    z-index: 10;
}

.filter-drawer-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0;
}

.filter-drawer-close {
    background: none;
    border: none;
    color: var(--brand-muted);
    cursor: pointer;
    padding: 4px;
    transition: color var(--transition-fast);
}

.filter-drawer-close:hover {
    color: var(--brand-dark);
}

.filter-drawer-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.filter-drawer-footer {
    display: flex;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid var(--brand-border);
    position: sticky;
    bottom: 0;
    background: var(--brand-card);
}

.filter-drawer-btn-clear {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--brand-border);
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-dark);
    cursor: pointer;
    transition: background var(--transition-fast);
    font-family: var(--font-sans);
}

.filter-drawer-btn-clear:hover {
    background: #f9fafb;
}

.filter-drawer-btn-apply {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: var(--brand-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity var(--transition-fast);
    font-family: var(--font-sans);
}

.filter-drawer-btn-apply:hover {
    opacity: 0.9;
}


/* ── Product Grid ── */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    float: none !important;
}

@media (min-width: 1024px) {
    ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px;
    }
}

/* Override WooCommerce column classes to always use our grid */
ul.products.columns-1,
ul.products.columns-2,
ul.products.columns-3,
ul.products.columns-4,
ul.products.columns-5,
ul.products.columns-6 {
    grid-template-columns: repeat(2, 1fr) !important;
}

@media (min-width: 1024px) {
    ul.products.columns-1,
    ul.products.columns-2,
    ul.products.columns-3,
    ul.products.columns-4,
    ul.products.columns-5,
    ul.products.columns-6 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

ul.products li.product {
    margin: 0 !important;
    padding: 0;
    width: 100% !important;
    float: none !important;
}


/* ── Product Card (.product-card) ── */
.product-card {
    background: var(--brand-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--brand-border);
    position: relative;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}


/* ── Product Card Image ── */
.product-card-img {
    position: relative;
    overflow: hidden;
}

.product-card-img-link {
    display: block;
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f3f4f6;
}

.product-card-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card:hover .product-card-img-link img {
    transform: scale(1.06);
}

/* Second image hover */
.product-card-img-link .secondary-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-card-img-link .secondary-image {
    opacity: 1;
}

/* Product image wrapper */
.product-image-wrapper {
    width: 100%;
    height: 100%;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

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


/* ── Badge ── */
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    font-size: 10px;
    letter-spacing: 0.08em;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    color: #fff;
    line-height: 1;
}

.badge-sale {
    background: var(--brand-secondary);
}

.badge-new {
    background: var(--brand-highlight);
    color: var(--brand-dark);
}


/* ── Wishlist Button ── */
.product-card-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    padding: 0;
}

.product-card-wishlist:hover {
    color: var(--brand-secondary);
}

.product-card-wishlist.active {
    color: var(--brand-secondary);
}

.product-card-wishlist.active svg {
    fill: var(--brand-secondary);
}

/* ── Quick View Icon Button ── */
.product-card-quick-view-icon {
    position: absolute;
    top: 48px;
    right: 10px;
    z-index: 20;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    padding: 0;
    opacity: 1;
}



.product-card-quick-view-icon:hover {
    color: var(--brand-dark);
    background: rgba(255, 255, 255, 0.95);
}

/* Compare Icon Button */
.product-card-compare-icon {
    position: absolute;
    top: 86px;
    right: 10px;
    z-index: 20;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    padding: 0;
}

.product-card-compare-icon:hover {
    color: var(--brand-sky);
    background: rgba(255, 255, 255, 0.95);
}

.product-card-compare-icon.active {
    color: var(--brand-sky);
}

.product-card-compare-icon.active svg {
    fill: var(--brand-sky);
    fill-opacity: 0.2;
}

/* Third-party wishlist buttons */
.product-card .wishlist-btn,
.product-card .tinvwl-product-card-button,
.product-card .woosw-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    padding: 0;
    font-size: 14px;
}

.product-card .wishlist-btn:hover,
.product-card .tinvwl-product-card-button:hover,
.product-card .woosw-btn:hover {
    color: var(--brand-secondary);
}

.product-card .wishlist-btn.active,
.product-card .tinvwl-product-card-button.active,
.product-card .woosw-btn.active {
    color: var(--brand-secondary);
}

.product-card .wishlist-btn svg,
.product-card .tinvwl-product-card-button svg {
    width: 16px;
    height: 16px;
}

/* Compare Button (plugin) */
.product-card .compare-btn {
    position: absolute;
    top: 86px;
    right: 10px;
    z-index: 20;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-muted);
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-4px);
}

.product-card:hover .compare-btn {
    opacity: 1;
    transform: translateY(0);
}

.product-card .compare-btn:hover {
    color: var(--brand-sky);
}


/* ── Quick View Overlay ── */
.product-card-quick-view {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-card-quick-view {
    opacity: 1;
    pointer-events: auto;
}

.quick-view-btn {
    padding: 10px 20px;
    border-radius: 100px;
    background: var(--brand-dark);
    color: #fff;
    border: none;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-sans);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.quick-view-btn:hover {
    background: rgba(17, 24, 39, 0.85);
}

.quick-view-added {
    background: #166534;
    cursor: not-allowed;
}

.quick-view-added:hover {
    background: #166534;
}


/* ── Product Card Info ── */
.product-card-info {
    padding: 12px;
}

@media (min-width: 1024px) {
    .product-card-info {
        padding: 12px 16px 16px;
    }
}

/* Rating */
.product-card-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 4px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 1px;
}

.star-filled {
    color: var(--brand-highlight);
}

.star-empty {
    color: #e5e7eb;
}

.rating-count {
    font-size: 10px;
    color: var(--brand-muted);
    margin-left: 4px;
}

/* WooCommerce star rating override */
.product-card-info .star-rating {
    display: flex;
    align-items: center;
    gap: 1px;
    margin-bottom: 4px;
    font-size: 12px;
}

.product-card-info .star-rating::before {
    color: var(--brand-highlight);
    font-size: 12px;
}

.product-card-info .star-rating span::before {
    color: var(--brand-highlight);
}

.product-card-info .woocommerce-review-link {
    font-size: 10px;
    color: var(--brand-muted);
    margin-left: 4px;
}

/* Brand */
.product-card-brand {
    font-size: 10px;
    color: var(--brand-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    line-height: 1;
}

/* Product Name */
.product-card-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-dark);
    margin: 4px 0 0;
    line-height: 1.3;
}

.product-card-name a {
    color: var(--brand-dark);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color var(--transition-fast);
}

.product-card-name a:hover {
    color: var(--brand-sky);
}

/* Price */
.product-card-price {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.product-card-price .price {
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-card-price .price del {
    font-size: 12px;
    color: var(--brand-muted);
    text-decoration: line-through;
    opacity: 1;
}

.product-card-price .price ins {
    text-decoration: none;
}

.product-card-price .price ins .woocommerce-Price-amount,
.product-card-price .price > .woocommerce-Price-amount {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-dark);
}

.product-card-price .price del .woocommerce-Price-amount {
    font-weight: 400;
}

/* Sale price color */
.product-card-price .price.sale-price ins .woocommerce-Price-amount,
.product-card[data-on-sale="true"] .product-card-price .price ins .woocommerce-Price-amount {
    color: var(--brand-secondary);
}

/* Saved sale percentage text */
.product-card-price .saved-sale {
    font-size: 11px;
    color: var(--brand-secondary);
    font-weight: 500;
    margin: 4px 0 0;
    width: 100%;
}

/* Color Swatches */
.product-card-colors {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.product-card-colors .color-swatch {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid var(--brand-border);
}


/* ── WooCommerce Pagination ── */
.woocommerce-pagination {
    padding: 56px 0 16px;
    clear: both;
}

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

.woocommerce-pagination ul.page-numbers li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 8px;
    border-radius: 12px;
    border: 1.5px solid var(--brand-border);
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-sans);
    color: var(--brand-dark);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    line-height: 1;
    position: relative;
    outline: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.woocommerce-pagination ul.page-numbers li a:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.2);
}

.woocommerce-pagination ul.page-numbers li a:focus {
    outline: none;
    border-color: var(--brand-sky);
    box-shadow: 0 0 0 3px rgba(0, 114, 255, 0.2);
}

.woocommerce-pagination ul.page-numbers li span.current {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
    cursor: default;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.18);
    transform: scale(1.05);
}

.woocommerce-pagination ul.page-numbers li a.prev,
.woocommerce-pagination ul.page-numbers li a.next {
    font-size: 13px;
    font-weight: 700;
    padding: 0 16px;
    border-radius: 50px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    gap: 4px;
}

.woocommerce-pagination ul.page-numbers li a.prev:hover,
.woocommerce-pagination ul.page-numbers li a.next:hover {
    border-radius: 50px;
}

.woocommerce-pagination ul.page-numbers li span.dots {
    border: none;
    background: transparent;
    min-width: auto;
    height: auto;
    padding: 0 4px;
    box-shadow: none;
    color: var(--brand-dark);
    font-weight: 700;
    letter-spacing: 3px;
    cursor: default;
}


/* ── WooCommerce Notices ── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
}

.woocommerce-message {
    background: rgba(0, 168, 107, 0.08);
    border: 1px solid rgba(0, 168, 107, 0.2);
    color: var(--brand-accent);
}

.woocommerce-info {
    background: rgba(0, 114, 255, 0.08);
    border: 1px solid rgba(0, 114, 255, 0.2);
    color: var(--brand-sky);
}

.woocommerce-error {
    background: rgba(255, 61, 129, 0.08);
    border: 1px solid rgba(255, 61, 129, 0.2);
    color: var(--brand-secondary);
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none;
}

.woocommerce-message a.restore-item,
.woocommerce-message a.button {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: var(--brand-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    margin-left: 8px;
    transition: opacity var(--transition-fast);
}

.woocommerce-message a.restore-item:hover,
.woocommerce-message a.button:hover {
    opacity: 0.85;
}


/* ── No Products Found ── */
.woocommerce-info.woocommerce-no-products-found {
    text-align: center;
    padding: 60px 24px;
    background: var(--brand-card);
    border: 1px solid var(--brand-border);
    border-radius: 16px;
}

.no-products-found-inner {
    max-width: 400px;
    margin: 0 auto;
}

.no-products-found-inner svg {
    width: 48px;
    height: 48px;
    color: var(--brand-muted);
    margin-bottom: 16px;
}

.no-products-found-inner h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0 0 8px;
}

.no-products-found-inner p {
    font-size: 14px;
    color: var(--brand-muted);
    margin: 0 0 24px;
}

.no-products-found-inner .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    background: var(--brand-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.no-products-found-inner .btn-primary:hover {
    opacity: 0.85;
}


/* ── Result Count ── */
.woocommerce-result-count {
    font-size: 13px;
    color: var(--brand-muted);
    margin: 0;
}


/* ── Empty State ── */
.empty-state {
    text-align: center;
    padding: 80px 24px;
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--brand-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--brand-muted);
}

.empty-state-icon svg {
    width: 28px;
    height: 28px;
}

.empty-state h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0 0 8px;
}

.empty-state p {
    font-size: 14px;
    color: var(--brand-muted);
    max-width: 400px;
    margin: 0 auto 24px;
}


/* ── Animations ── */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* ── Responsive ── */
@media (max-width: 1023px) {
    .shop-content-layout {
        flex-direction: column;
    }

    .shop-sidebar {
        display: none;
    }
}

@media (max-width: 767px) {
    .shop-archive-wrapper {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .archive-page-header {
        margin-bottom: 24px;
    }

    .archive-page-title {
        font-size: 24px;
    }

    .shop-toolbar {
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    .product-card-info {
        padding: 10px 12px 12px;
    }

    .product-card-name {
        font-size: 13px;
    }

    .product-card-price .price ins .woocommerce-Price-amount,
    .product-card-price .price > .woocommerce-Price-amount {
        font-size: 13px;
    }

    .woocommerce-pagination {
        padding: 40px 0 12px;
    }

    .woocommerce-pagination ul.page-numbers {
        gap: 4px;
    }

    .woocommerce-pagination ul.page-numbers li a,
    .woocommerce-pagination ul.page-numbers li span {
        min-width: 38px;
        height: 38px;
        font-size: 13px;
        border-radius: 10px;
    }

    .woocommerce-pagination ul.page-numbers li a.prev,
    .woocommerce-pagination ul.page-numbers li a.next {
        padding: 0 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    ul.products {
        gap: 8px;
    }

    .product-badge {
        top: 6px;
        left: 6px;
        font-size: 9px;
        padding: 2px 6px;
    }

    .product-card-wishlist {
        width: 28px;
        height: 28px;
        top: 6px;
        right: 6px;
    }

    .product-card .wishlist-btn,
    .product-card .tinvwl-product-card-button,
    .product-card .woosw-btn {
        width: 28px;
        height: 28px;
        top: 6px;
        right: 6px;
    }

    .product-card .compare-btn {
        top: 72px;
        right: 6px;
        width: 28px;
        height: 28px;
    }

    .product-card-compare-icon {
        top: 72px;
        right: 6px;
        width: 28px;
        height: 28px;
    }

    .product-card-quick-view-icon {
        top: 40px;
        right: 6px;
        width: 28px;
        height: 28px;
    }

    .product-card-brand {
        font-size: 9px;
    }

    .product-card-name {
        font-size: 12px;
    }

    .product-card-price .price ins .woocommerce-Price-amount,
    .product-card-price .price > .woocommerce-Price-amount {
        font-size: 12px;
    }

    .product-card-price .price del {
        font-size: 11px;
    }

    .quick-view-btn {
        font-size: 11px;
        padding: 8px 16px;
    }
}
