/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 6,000+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.12.6.1775147037
Updated: 2026-04-02 16:23:57

*/

/* ============================================
   FACETED SHOP LAYOUT - CATEGORY PAGE
   ============================================ */

/* === Main Layout === */
.faceted-shop-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.shop-breadcrumb {
    padding: 12px 0;
    font-size: 13px;
    color: #555;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.breadcrumb-nav a {
    color: #0066cc;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    margin: 0 6px;
    color: #999;
}

.shop-main-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* === LEFT SIDEBAR === */
.facets-sidebar {
    width: 280px;
    min-width: 280px;
    flex-shrink: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.facets-header {
    background: #1a3a5c;
    color: #fff;
    padding: 14px 16px;
    border-radius: 4px 4px 0 0;
}

.facets-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.facet-group {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e5e5;
}

.facet-group:last-child {
    border-bottom: none;
}

.facet-title {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px 0;
    cursor: default;
}

.facet-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    margin-bottom: 0;
}

.facet-toggle:hover {
    color: #0066cc;
}

.facet-toggle.active {
    margin-bottom: 10px;
}

.toggle-icon {
    font-size: 18px;
    font-weight: bold;
    color: #0066cc;
    line-height: 1;
    width: 20px;
    text-align: center;
}

/* Search Box */
.facet-search-box {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 3px;
    overflow: hidden;
}

.facet-search-input {
    flex: 1;
    border: none;
    padding: 8px 10px;
    font-size: 13px;
    outline: none;
    background: #fff;
    color: #555;
}

.facet-search-input::placeholder {
    color: #aaa;
    font-style: italic;
}

.facet-search-btn {
    background: #d4a843;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.facet-search-btn:hover {
    background: #c29a35;
}

/* Checkbox Options */
.facet-options {
    max-height: 220px;
    overflow-y: auto;
}

.facet-checkbox {
    display: flex;
    align-items: center;
    padding: 4px 0;
    cursor: pointer;
    font-size: 13px;
    gap: 8px;
}

.facet-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
    accent-color: #0066cc;
    flex-shrink: 0;
}

.facet-label {
    flex: 1;
    color: #333;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.facet-count {
    color: #888;
    font-size: 12px;
}

/* Clear Filters */
.clear-all-filters {
    display: inline-block;
    color: #cc0000;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 0;
}

.clear-all-filters:hover {
    text-decoration: underline;
}

/* === RIGHT CONTENT AREA === */
.products-main-content {
    flex: 1;
    min-width: 0;
}

.category-page-title {
    font-size: 32px;
    font-weight: 400;
    color: #222;
    margin: 0 0 16px 0;
    padding-bottom: 0;
    line-height: 1.2;
}

/* === TOOLBAR === */
.products-toolbar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 2px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.toolbar-left {
    white-space: nowrap;
}

.product-count {
    font-size: 14px;
    color: #333;
}

.toolbar-center,
.toolbar-show {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.toolbar-center label,
.toolbar-show label {
    font-size: 14px;
    color: #555;
    font-weight: 400;
}

.toolbar-select {
    padding: 6px 30px 6px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    font-size: 13px;
    cursor: pointer;
    appearance: auto;
    min-width: 140px;
}

.toolbar-select-small {
    min-width: 60px;
    padding: 6px 10px;
}

/* View Toggle Buttons */
.toolbar-views {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.view-label {
    font-size: 14px;
    color: #555;
    margin-right: 6px;
}

.view-btn {
    background: none;
    border: 2px solid transparent;
    padding: 4px 6px;
    cursor: pointer;
    color: #aaa;
    border-radius: 3px;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.view-btn:hover {
    color: #555;
}

.view-btn.active {
    color: #0066cc;
    border-color: #0066cc;
}

/* Toolbar Pagination */
.toolbar-pagination {
    display: flex;
    align-items: center;
    gap: 6px;
}

.page-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 3px;
    text-decoration: none;
    color: #0066cc;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.2s;
}

.page-arrow:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.page-of {
    font-size: 13px;
    color: #555;
}

/* ============================================
   PRODUCT ITEMS - LIST VIEW
   ============================================ */
.products-container.view-list .product-item {
    display: flex;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #e8e8e8;
    gap: 20px;
}

.products-container.view-list .product-image {
    width: 120px;
    min-width: 120px;
    text-align: center;
}

.products-container.view-list .product-image img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.products-container.view-list .product-info {
    flex: 1;
    min-width: 0;
}

.products-container.view-list .product-title {
    margin: 0 0 10px 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
}

.products-container.view-list .product-title a {
    color: #0066cc;
    text-decoration: none;
}

.products-container.view-list .product-title a:hover {
    text-decoration: underline;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-sku,
.product-mfgr {
    font-size: 13px;
    color: #555;
}

.products-container.view-list .product-price-section {
    width: 200px;
    min-width: 200px;
    text-align: left;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}

.product-price .woocommerce-Price-amount {
    font-size: 22px;
    font-weight: 700;
    color: #222;
}

.price-unit {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.stock-warning {
    font-size: 12px;
    color: #cc0000;
    line-height: 1.4;
}

.stock-icon {
    color: #cc0000;
    margin-right: 2px;
}

.stock-available {
    font-size: 12px;
    color: #27ae60;
}

.stock-icon-green {
    color: #27ae60;
    margin-right: 2px;
}

/* Product Actions */
.products-container.view-list .product-actions {
    width: 220px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 3px;
    overflow: hidden;
}

.qty-btn {
    background: #f5f5f5;
    border: none;
    width: 32px;
    height: 34px;
    font-size: 16px;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #e0e0e0;
}

.qty-input {
    width: 45px;
    height: 34px;
    text-align: center;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    font-size: 14px;
    outline: none;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.add-to-cart-btn {
    display: inline-block;
    background: #d4a843;
    color: #fff;
    padding: 10px 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 3px;
    text-align: center;
    transition: background 0.2s;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    min-width: 140px;
}

.add-to-cart-btn:hover {
    background: #c29a35;
    color: #fff;
}

.product-extra-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
}

.compare-label {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: #555;
}

.compare-checkbox {
    margin: 0;
}

.product-group-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}

.product-group-link:hover {
    text-decoration: underline;
}

/* ============================================
   GRID VIEW - MEDIUM (2-3 columns)
   ============================================ */
.products-container.view-grid-medium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 20px;
}

.products-container.view-grid-medium .product-item {
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 16px;
    background: #fff;
    transition: box-shadow 0.2s;
}

.products-container.view-grid-medium .product-item:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.products-container.view-grid-medium .product-image {
    text-align: center;
    margin-bottom: 12px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-container.view-grid-medium .product-image img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.products-container.view-grid-medium .product-info {
    margin-bottom: 12px;
}

.products-container.view-grid-medium .product-title {
    font-size: 13px;
    font-weight: 400;
    margin: 0 0 8px 0;
    line-height: 1.4;
    min-height: 36px;
}

.products-container.view-grid-medium .product-title a {
    color: #0066cc;
    text-decoration: none;
}

.products-container.view-grid-medium .product-title a:hover {
    text-decoration: underline;
}

.products-container.view-grid-medium .product-price-section {
    margin-bottom: 12px;
}

.products-container.view-grid-medium .product-price {
    font-size: 18px;
}

.products-container.view-grid-medium .product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.products-container.view-grid-medium .quantity-wrapper {
    align-self: stretch;
    justify-content: center;
}

.products-container.view-grid-medium .add-to-cart-btn {
    width: 100%;
    text-align: center;
}

.products-container.view-grid-medium .product-extra-actions {
    justify-content: space-between;
    font-size: 11px;
}

/* ============================================
   GRID VIEW - SMALL (4-5 columns)
   ============================================ */
.products-container.view-grid-small {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-top: 20px;
}

.products-container.view-grid-small .product-item {
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px;
    background: #fff;
    transition: box-shadow 0.2s;
}

.products-container.view-grid-small .product-item:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.products-container.view-grid-small .product-image {
    text-align: center;
    margin-bottom: 10px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-container.view-grid-small .product-image img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.products-container.view-grid-small .product-info {
    margin-bottom: 8px;
}

.products-container.view-grid-small .product-title {
    font-size: 12px;
    font-weight: 400;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.products-container.view-grid-small .product-title a {
    color: #0066cc;
    text-decoration: none;
}

.products-container.view-grid-small .product-price-section {
    margin-bottom: 8px;
}

.products-container.view-grid-small .product-price {
    font-size: 16px;
}

.products-container.view-grid-small .product-meta {
    font-size: 11px;
}

.products-container.view-grid-small .product-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
}

.products-container.view-grid-small .add-to-cart-btn {
    width: 100%;
    text-align: center;
    padding: 8px 10px;
    font-size: 12px;
    min-width: auto;
}

.products-container.view-grid-small .product-extra-actions {
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
}

.products-container.view-grid-small .quantity-wrapper {
    align-self: stretch;
    justify-content: center;
}

.products-container.view-grid-small .qty-btn {
    width: 26px;
    height: 28px;
    font-size: 14px;
}

.products-container.view-grid-small .qty-input {
    width: 35px;
    height: 28px;
    font-size: 12px;
}

/* ============================================
   NO RESULTS PAGE
   ============================================ */
.no-results-found {
    text-align: center;
    padding: 60px 20px;
}

.no-results-icon {
    margin-bottom: 20px;
}

.no-results-found h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.no-results-found p {
    font-size: 15px;
    color: #666;
    max-width: 500px;
    margin: 0 auto 10px;
}

.no-results-suggestions {
    text-align: left;
    max-width: 400px;
    margin: 24px auto;
    background: #f9f9f9;
    padding: 20px 24px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.no-results-suggestions h4 {
    margin: 0 0 10px 0;
    font-size: 15px;
    color: #333;
}

.no-results-suggestions ul {
    margin: 0;
    padding-left: 20px;
}

.no-results-suggestions li {
    font-size: 13px;
    color: #555;
    padding: 3px 0;
}

.back-to-category-btn {
    display: inline-block;
    background: #1a3a5c;
    color: #fff;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-top: 16px;
    transition: background 0.2s;
}

.back-to-category-btn:hover {
    background: #0f2840;
    color: #fff;
}

/* ============================================
   BOTTOM PAGINATION
   ============================================ */
.bottom-pagination {
    display: flex;
    justify-content: center;
    padding: 24px 0;
    gap: 4px;
}

.bottom-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    text-decoration: none;
    color: #0066cc;
    font-size: 14px;
    transition: all 0.2s;
}

.bottom-pagination .page-numbers.current {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.bottom-pagination .page-numbers:hover:not(.current) {
    background: #f0f0f0;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

/* Mobile filter toggle button */
.mobile-filter-toggle {
    display: none;
    width: 100%;
    padding: 12px;
    background: #1a3a5c;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 16px;
    text-align: center;
}

.mobile-filter-close {
    display: none;
}

@media (max-width: 1024px) {
    .products-container.view-grid-medium {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-container.view-grid-small {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-container.view-list .product-item {
        flex-wrap: wrap;
    }
    
    .products-container.view-list .product-price-section {
        width: auto;
        min-width: auto;
    }
    
    .products-container.view-list .product-actions {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        padding-top: 10px;
        border-top: 1px solid #f0f0f0;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .shop-main-layout {
        flex-direction: column;
    }
    
    .mobile-filter-toggle {
        display: block;
    }
    
    .facets-sidebar {
        width: 100%;
        min-width: 100%;
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        max-height: 100vh;
        z-index: 9999;
        border-radius: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .facets-sidebar.mobile-open {
        left: 0;
    }
    
    .mobile-filter-close {
        display: block;
        position: absolute;
        top: 12px;
        right: 12px;
        background: none;
        border: none;
        color: #fff;
        font-size: 24px;
        cursor: pointer;
        z-index: 10;
    }
    
    .facets-header {
        position: relative;
    }
    
    .mobile-filter-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }
    
    .mobile-filter-overlay.active {
        display: block;
    }
    
    .products-toolbar {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .toolbar-views {
        margin-left: 0;
    }
    
    .toolbar-pagination {
        width: 100%;
        justify-content: center;
    }
    
    .products-container.view-grid-medium {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-container.view-grid-small {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-container.view-list .product-item {
        flex-direction: column;
    }
    
    .products-container.view-list .product-image {
        width: 100%;
        min-width: unset;
    }
    
    .products-container.view-list .product-price-section {
        width: 100%;
        min-width: unset;
    }
    
    .products-container.view-list .product-actions {
        width: 100%;
        min-width: unset;
        align-items: stretch;
        flex-direction: column;
    }
    
    .quantity-wrapper {
        justify-content: center;
    }
    
    .product-extra-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .category-page-title {
        font-size: 24px;
    }
    
    .products-container.view-grid-medium,
    .products-container.view-grid-small {
        grid-template-columns: 1fr;
    }
    
    .toolbar-center,
    .toolbar-show {
        width: 100%;
    }
    
    .toolbar-select {
        flex: 1;
    }
}
