/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 26 2026 | 16:18:54 */
/*
 * Custom WooCommerce Archive Styles
 * File: assets/css/cwa-archive.css
 * (Add to your child theme and enqueue via functions.php)
 */


span.woocommerce-Price-amount.amount bdi {
    color: var(--primary);
}

.cwa-atc-btn.button {
    letter-spacing: 0;
    padding: 12px 20px;
}

.cwa-atc-btn.button:hover {
    background: var(--third);
}

main#cwa-main {
    border: 1px solid #e2e2e2;
    padding: 20px;
    border-radius: 12px;
}
div#cwa-results-header label {
    width: 90px;
}

div#cwa-table-wrap {
    border: none;
    border-radius: 0 !important;
}

/* ── Layout ─────────────────────────────────────────── */
#cwa-wrap {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    max-width: 1280px;
    margin: 24px auto;
    padding: 0 16px;
    font-family: inherit;
}

/* ── Sidebar ─────────────────────────────────────────── */
#cwa-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e2e2e2;
    overflow: hidden;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

#cwa-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary);
    color: #fff;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 1;
}

.cwa-clear-btn {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.8);
    border-radius: 3px;
    padding: 2px 8px;
    text-decoration: none;
    transition: background 0.15s;
}
.cwa-clear-btn:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.cwa-filter-group {
    padding: 12px 14px 8px;
    border-bottom: 1px solid #efefef;
}
.cwa-filter-group:last-of-type { border-bottom: none; }

.cwa-filter-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #444;
    margin-bottom: 8px;
}

.cwa-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cwa-filter-list li {
    margin-bottom: 6px;
}
.cwa-filter-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
}
.cwa-filter-list input[type="checkbox"] {
    accent-color: var(--primary);
    width: 14px;
    height: 14px;
    cursor: pointer;
    flex-shrink: 0;
}

.cwa-price-range {
    display: flex;
    align-items: center;
    gap: 6px;
}
.cwa-price-range input[type="number"] {
    width: 72px;
    padding: 5px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}
.cwa-price-range span { color: #888; font-size: 13px; }

.cwa-apply-btn {
    display: block;
    width: calc(100% - 28px);
    margin: 12px 14px 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 9px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.cwa-apply-btn:hover { background: #aa0000; }

/* ── Main ─────────────────────────────────────────── */
#cwa-main {
    flex: 1;
    min-width: 0;
}

#cwa-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.cwa-results-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.cwa-orderby-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
}
.cwa-orderby-wrap select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 13px;
    color: #333;
    background: #fff;
    cursor: pointer;
}

/* ── Table wrap ─────────────────────────────────────── */
#cwa-table-wrap {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e2e2;
    overflow: hidden;
}

/* ── Table ─────────────────────────────────────────── */
#cwa-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

#cwa-table thead tr {
    background: #fafafa;
}
#cwa-table thead th {
    padding: 11px 14px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #777;
    border-bottom: 1px solid #ebebeb;
    white-space: nowrap;
}

.cwa-row {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.12s;
}
.cwa-row:last-child { border-bottom: none; }
.cwa-row:hover { background: #fafafa; }

#cwa-table td {
    padding: 14px 14px;
    vertical-align: middle;
    color: #333;
}

/* Columns */
.cwa-col-warehouse {
    min-width: 140px;
    font-size: 13px;
    color: #555;
}
.cwa-col-warehouse a {
    color: #444;
    text-decoration: none;
    font-weight: 500;
}
.cwa-col-warehouse a:hover { color: var(--primary); }

.cwa-col-stock {
    text-align: center;
    font-size: 13px;
    color: #444;
    white-space: nowrap;
}

.cwa-col-price {
    white-space: nowrap;
    font-weight: 600;
    color: #1a1a1a;
}

.cwa-col-image { width: 72px; }
.cwa-thumb {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
    border-radius: 4px;
    border: 1px solid #f0f0f0;
}

.cwa-col-part { min-width: 180px; }

.cwa-part-link {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
}
.cwa-part-link:hover { text-decoration: underline; }

.cwa-meta {
    color: #777;
    font-size: 11.5px;
    margin-top: 3px;
    line-height: 1.4;
}
.cwa-excerpt { font-style: italic; }

.cwa-col-moq {
    font-size: 12.5px;
    color: #444;
    white-space: nowrap;
    min-width: 110px;
}
.cwa-spq { color: var(--primary); font-weight: 500; }

.cwa-col-action { white-space: nowrap; }

/* Badges */
.cwa-badge {
    display: inline-block;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    margin-top: 5px;
}
.cwa-badge--bestseller {
    background: #fff8e1;
    color: #a07800;
    border: 1px solid #f0d060;
}

/* Login link (inside price cell) */
.cwa-login-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
}
.cwa-login-link:hover { text-decoration: underline; }

/* Login button (action cell) */
.cwa-login-btn {
    display: inline-block;
    background: var(--primary);
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.15s;
}
.cwa-login-btn:hover { background: #aa0000; }

/* Add to cart button */
.cwa-atc-btn.button {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}
.cwa-atc-btn.button:hover { background: #aa0000; color: #fff; }

/* No results */
.cwa-no-results {
    padding: 48px 24px;
    text-align: center;
    color: #777;
}
.cwa-no-results a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* Pagination */
#cwa-pagination {
    display: flex;
    justify-content: center;
    padding: 14px 0 18px;
    gap: 4px;
    flex-wrap: wrap;
}
#cwa-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: #444;
    text-decoration: none;
    padding: 0 8px;
    transition: all 0.12s;
}
#cwa-pagination .page-numbers:hover,
#cwa-pagination .page-numbers.current {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
    #cwa-wrap { flex-direction: column; }
    #cwa-sidebar {
        width: 100%;
        position: static;
        max-height: none;
    }
    #cwa-table thead { display: none; }
    #cwa-table td {
        display: block;
        padding: 6px 14px;
    }
    #cwa-table td::before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: #888;
        font-size: 11px;
    }
    .cwa-row { display: block; padding: 10px 0; }
}