/* ============================================================
   CROMMELINS STAGING — Custom Category Page Styles
   File: assets/css/category-page.css
   ============================================================ */

/* Body scroll-lock when inquiry popup is open */
body.inquiry-open {
    overflow: hidden;
}

/* ----------------------------------------------------------
   GOOGLE FONTS
   ---------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ----------------------------------------------------------
   RESET & BASE
   ---------------------------------------------------------- */
.cat-page-wrapper *,
.cat-page-wrapper *::before,
.cat-page-wrapper *::after {
    box-sizing: border-box;
}

.cat-page-wrapper {

    color: #111111;
}

/* ----------------------------------------------------------
   SECTION 1 — CATEGORY BANNER
   ---------------------------------------------------------- */
.cat-banner-section {
    background: #fff;
    padding: 130px 0 40px !important;
    position: relative;
    overflow: hidden;
}

.cat-banner-inner {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 0 24px;
}

/* Breadcrumbs full width above title & image */
.cat-breadcrumb-nav {
    display: block !important;
    width: 100% !important;
    margin-bottom: 28px !important;
    
}

.cat-breadcrumb-nav .woocommerce-breadcrumb {
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: #555 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cat-breadcrumb-nav .woocommerce-breadcrumb a {
    color: #555 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    transition: color 0.15s ease;
}

.cat-breadcrumb-nav .woocommerce-breadcrumb a:hover {
    color: #F5A623 !important;
}

.cat-breadcrumb-nav .woocommerce-breadcrumb .breadcrumb-separator {
    margin: 0 8px !important;
    color: #888 !important;
    font-weight: 600 !important;
}

.cat-breadcrumb-nav .woocommerce-breadcrumb .breadcrumb-current {
    color: #F5A623 !important;
    font-weight: 700 !important;
}

/* 2-Column Row for Title/Content & Image */
.cat-banner-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    width: 100%;
}

/* Left — Text Column */
.cat-banner-content {
    flex: 0 0 calc(50% - 24px);
    max-width: calc(50% - 24px);
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.cat-banner-title {
    font-size: clamp(28px, 3.8vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    color: #111111;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.cat-banner-title span {
    color: #F5A623;
}

.cat-banner-description {
    font-size: 15px;
    line-height: 1.75;
    color: #555;
    font-weight: 400;
    max-width: 520px;
    margin-bottom: 24px;
}

.cat-banner-description p {
    margin: 0 0 12px 0;
}

.cat-banner-description p:last-child {
    margin-bottom: 0;
}

.cat-banner-cta {
    margin-top: 4px;
}

.cat-banner-btn {
    display: inline-block;
    background: #111111;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.15s ease;
}

.cat-banner-btn:hover {
    background: #F5A623;
    color: #111111 !important;
    transform: translateY(-1px);
}

/* Right — Image Column */
.cat-banner-image {
    flex: 0 0 calc(50% - 24px);
    max-width: calc(50% - 24px);
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.cat-banner-image img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.cat-banner-no-image {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5a623 0%, #f7c04a 50%, #ffd97d 100%);
    border-radius: 14px;
}

.cat-banner-no-image svg {
    width: 80px;
    height: 80px;
    opacity: 0.3;
    fill: #fff;
}

/* ----------------------------------------------------------
   SECTION 2 — SHOP WRAPPER
   ---------------------------------------------------------- */
.cat-shop-section {
    padding: 48px 0 80px;
    background: #fff !important;
}

.cat-shop-inner {
    max-width: 100%;
    margin: 0 auto;
    /*padding: 0 20px;*/
    /*display: flex;*/
    gap: 32px;
    align-items: flex-start;
}
.archive.tax-product_cat .cat-shop-inner{
    /*padding: 0 20px;*/
    display: block;
}
.archive.tax-product_cat .cat-shop-inner.with_filter{
    padding: 0 20px;
    display: flex;
}
.ind-hero-bg{
    border-radius: 32px !important;
    background: none !important;
    width:50% !important;
    flex: 0 0 50% !important;
}
/* ----------------------------------------------------------
   SUB-CATEGORY GRID
   Shown when a main category has child categories.
   ---------------------------------------------------------- */
.cat-subcategory-section {
    width: 100%;
    padding: 0 20px;
    max-width: 1320px;
    margin: 20px auto 48px;
}

.cat-subcategory-header {
    margin-bottom: 32px;
    text-align: left;
}

.cat-subcategory-heading {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 900;
    color: #111111;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    line-height: 1.15;
}

.cat-subcategory-subtext {
    font-size: 15px;
    font-weight: 700;
    color: #111111;
    margin: 0;
   
}

.cat-subcategory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Individual sub-category card */
.cat-subcat-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    text-decoration: none;
    color: #111111;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.cat-subcat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.08);
    border-color: #D1D5DB;
    text-decoration: none;
    color: #111111;
}

/* Image area */
.cat-subcat-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #F3F4F6;
}

.cat-subcat-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.cat-subcat-card:hover .cat-subcat-image img {
    transform: scale(1.04);
}

/* No-image placeholder */
.cat-subcat-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F4F6;
}

.cat-subcat-no-image svg {
    width: 56px;
    height: 56px;
    fill: #CBD5E1;
}

/* Info area */
.cat-subcat-info {
    padding: 20px 16px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    flex: 1;
}

.cat-subcat-name {
    font-size: 15px;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #111111;
    margin: 0 0 16px 0;
    line-height: 1.25;
   
}

/* View Products button */
.cat-subcat-btn {
    display: inline-block;
    padding: 7px 20px;
    font-size: 12.5px;
    font-weight: 700;

    color: #111111;
    background: transparent;
    border: 1.5px solid #111111;
    border-radius: 4px;
    text-align: center;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
}

.cat-subcat-card:hover .cat-subcat-btn {
    background: #111111;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 1200px) {
    .cat-subcategory-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .cat-subcategory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 580px) {
    .cat-subcategory-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .cat-subcategory-header {
        margin-bottom: 24px;
    }
    .cat-subcategory-info {
        padding: 18px 16px 20px;
    }
}

/* ----------------------------------------------------------
   FILTER SIDEBAR
   ---------------------------------------------------------- */
.cat-filter-sidebar {
    flex: 0 0 270px;
    width: 270px;
    position: sticky;
    top: 100px;
}

.filter-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #111111;
    color: #fff;
    border-radius: 10px 10px 0 0;
}

.filter-sidebar-header h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.filter-sidebar-header h4 svg {
    width: 16px;
    height: 16px;
    fill: #F5A623;
}

.filter-clear-all {
    font-size: 12px;
    color: #F5A623;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    display: none;
}

.filter-clear-all.visible {
    display: block;
}

.filter-sidebar-body {
    border: 1px solid #e8e8e0;
    border-top: none;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}

/* Filter Group */
.filter-group {
    border-bottom: 1px solid #f0f0ec;
}

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

.filter-group-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #111111;
    padding: 14px 20px;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    background: #fafaf8;
    transition: background 0.15s;
}

.filter-group-title:hover {
    background: #f5f5f0;
}

.filter-group-title .toggle-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
    fill: #888;
    flex-shrink: 0;
}

.filter-group.collapsed .toggle-arrow {
    transform: rotate(-90deg);
}

.filter-group-content {
    padding: 12px 20px 16px;
    background: #fff;
}

.filter-group.collapsed .filter-group-content {
    display: none;
}

/* Checkboxes */
.filter-checkbox-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 220px;
    overflow-y: auto;
}

.filter-checkbox-list::-webkit-scrollbar {
    width: 4px;
}

.filter-checkbox-list::-webkit-scrollbar-track {
    background: #f5f5f0;
}

.filter-checkbox-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.filter-checkbox-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #444;
    cursor: pointer;
    line-height: 1.3;
    font-weight: 400;
}

.filter-checkbox-item label:hover {
    color: #111111;
}

.filter-checkbox-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s;
    position: relative;
    background: #fff;
}

.filter-checkbox-item input[type="checkbox"]:checked {
    background: #F5A623;
    border-color: #F5A623;
}

.filter-checkbox-item input[type="checkbox"]:checked::after {
    /*content: '';*/
    position: absolute;
    left: 3px;
    top: 0px;
    width: 6px;
    height: 10px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.filter-count {
    margin-left: auto;
    font-size: 11px;
    color: #aaa;
    background: #f5f5f0;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 500;
}

/* ============================================================
   POWER RANGE INPUTS — kW suffix on right side
   ============================================================ */
.power-range-inputs .price-input-wrap {
    position: relative;
}

.power-range-inputs .price-input-wrap input {
    padding: 8px 32px 8px 10px; /* right padding for kW label */
    padding-left: 10px; /* no $ prefix */
}

.power-unit {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: #888;
    font-weight: 600;
    pointer-events: none;
    left: auto;
}

/* Spacing between cat-tree items */
.cat-tree-item + .cat-tree-item {
    margin-top: 6px;
}

/* ============================================================
   HIERARCHICAL CATEGORY TREE
   ============================================================ */

/* Outer scrollable container */
.filter-group-content:has(.filter-cat-tree) {
    padding: 8px 12px 12px;
    max-height: 320px;
    overflow-y: auto;
}

.filter-group-content:has(.filter-cat-tree)::-webkit-scrollbar {
    width: 4px;
}
.filter-group-content:has(.filter-cat-tree)::-webkit-scrollbar-track {
    background: #f5f5f0;
}
.filter-group-content:has(.filter-cat-tree)::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

/* Reset list styles */
.filter-cat-tree,
.filter-cat-subtree {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Indent child levels */
.filter-cat-subtree {
    padding-left: 18px;
    margin-top: 2px;
}

/* Each list item */
.cat-tree-item {
    position: relative;
    margin: 0;
    padding: 0;
}

/* Vertical guide line for children */
.cat-node--has-children > .filter-cat-subtree {
    border-left: 2px solid #f0f0ec;
    margin-left: 7px;
    padding-left: 14px;
}

/* Label row: toggle + checkbox + name + count */
.cat-tree-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444;
    cursor: pointer;
    padding: 5px 4px;
    border-radius: 6px;
    transition: background 0.12s, color 0.12s;
    user-select: none;
    line-height: 1.3;
}

.cat-tree-label:hover {
    background: #faf9f6;
    color: #111111;
}

/* Parent (depth=0) labels are bolder */
.cat-tree-label--parent {
    font-weight: 700;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #111111;
    padding-top: 7px;
    padding-bottom: 5px;
}

.cat-tree-label--parent:hover {
    color: #F5A623;
    background: #fffbf3;
}

/* Active (current category) item */
.cat-node--active > .cat-tree-label {
    color: #F5A623;
    font-weight: 600;
}

.cat-node--active > .cat-tree-label .cat-tree-name {
    color: #F5A623;
}

/* Custom checkbox */
.cat-tree-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    min-width: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s;
    position: relative;
    background: #fff;
    margin: 0;
}

.cat-tree-label input[type="checkbox"]:checked {
    background: #F5A623;
    border-color: #F5A623;
}

.cat-tree-label input[type="checkbox"]:checked::after {
    /*content: '';*/
    position: absolute;
    left: 2px;
    top: -1px;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* Category name text */
.cat-tree-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Toggle arrow button */
.cat-tree-toggle {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 4px;
    transition: background 0.12s, transform 0.2s;
    flex-shrink: 0;
    order: -1; /* before label */
}

.cat-tree-toggle:hover {
    background: #f0f0ec;
}

.cat-tree-toggle svg {
    width: 14px;
    height: 14px;
    fill: #aaa;
    transition: transform 0.2s;
    pointer-events: none;
}

/* Collapsed state */
.cat-node--has-children.cat-node--collapsed > .filter-cat-subtree {
    display: none;
}

.cat-node--has-children.cat-node--collapsed > .cat-tree-label .cat-tree-toggle svg,
.cat-node--has-children.cat-node--collapsed > .cat-tree-toggle svg {
    transform: rotate(-90deg);
}

/* Separator between top-level items */
.filter-cat-tree > .cat-tree-item + .cat-tree-item {
    border-top: 1px solid #f5f5f0;
    margin-top: 2px;
    padding-top: 2px;
}



/* Price Range */
.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.price-input-wrap {
    flex: 1;
    position: relative;
}

.price-input-wrap span {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #888;
    font-weight: 600;
}

.price-input-wrap input {
    width: 100%;
    padding: 8px 10px 8px 24px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    color: #111111;
  
    outline: none;
    transition: border-color 0.15s;
}

.price-input-wrap input:focus {
    border-color: #F5A623;
}

.price-range-sep {
    font-size: 13px;
    color: #aaa;
    flex-shrink: 0;
}

.price-range-slider {
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #F5A623 0%, #F5A623 50%, #e0e0e0 50%, #e0e0e0 100%);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    margin: 4px 0 12px;
}

.price-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #F5A623;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(245,166,35,0.4);
    border: 2px solid #fff;
}

/* Apply buttons hidden — filtering is now automatic on slider/input change */
.filter-apply-btn {
    display: none;
}

/* Find Dealer dark card in filter sidebar */
.filter-sidebar-find-dealer {
    margin-top: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    overflow: hidden;
}

/* Override Montserrat from widget CSS → use Inter to match category page */
.filter-sidebar-find-dealer .crom-fdw-heading,
.filter-sidebar-find-dealer .crom-fdw-subtext,
.filter-sidebar-find-dealer .crom-fdw-input,
.filter-sidebar-find-dealer .crom-fdw-btn {
/*     font-family: 'Inter', sans-serif !important; */
}

/* Ensure heading padding is tighter inside sidebar */
.filter-sidebar-find-dealer .crom-fdw-heading {
    font-size: 17px !important;
    margin-bottom: 8px !important;
}

/* Input wrap: fill full width */
.filter-sidebar-find-dealer .crom-fdw-input-wrap {
    width: 100%;
    box-sizing: border-box;
}

/* Input: fill full width */
.filter-sidebar-find-dealer .crom-fdw-input {
    width: 100% !important;
    min-width: 0 !important;
}

/* Button: fill full width */
.filter-sidebar-find-dealer .crom-fdw-btn {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ----------------------------------------------------------
   PRODUCT AREA (RIGHT COLUMN)
   ---------------------------------------------------------- */
.cat-products-area {
    flex: 1;
    min-width: 0;
}

/* Top Bar: sort + layout toggle */
.products-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 20px 0;
    border-bottom: 2px solid #f0f0ec;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.products-result-count {
    font-size: 14px;
    color: #888;
    font-weight: 400;
}

.products-result-count strong {
    color: #111111;
    font-weight: 700;
}

.topbar-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Sort Dropdown */
.sort-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-select-wrap label {
    font-size: 13px;
    color: #888;
    font-weight: 500;
    white-space: nowrap;
}

.sort-select-wrap select {
    padding: 9px 36px 9px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #111111;
   
    appearance: none;
    -webkit-appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E") no-repeat right 12px center;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
    min-width: 180px;
}

.sort-select-wrap select:focus {
    border-color: #F5A623;
}

/* Layout Toggle */
.layout-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f5f5f0;
    border-radius: 8px;
    padding: 4px;
}

.layout-btn {
    padding: 6px 10px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    color: #aaa;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.layout-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.layout-btn.active {
    background: #fff;
    color: #F5A623;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.layout-btn:hover:not(.active) {
    color: #555;
}

/* ----------------------------------------------------------
   FEATURED PRODUCT (First Product — Full Width)
   ---------------------------------------------------------- */
.product-featured-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    position: relative;
    transition: box-shadow 0.25s, border-color 0.25s;
}

.product-featured-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: #D1D5DB;
}

.product-featured-image {
    flex: 0 0 40%;
    max-width: 40%;
    position: relative;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-featured-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 320px;
    padding: 30px;
}

.product-featured-image img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.product-featured-card:hover .product-featured-image img {
    transform: scale(1.03);
}

.product-featured-card .featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #111111;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    border-radius: 6px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-featured-info {
    flex: 1;
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-featured-title {
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 500;
    font-style: italic;
    color: #111111;
    line-height: 1.15;
    margin: 0 0 8px 0;
    text-decoration: none;
    display: block;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    transition: color 0.15s ease;
}

.product-featured-title:hover {
    color: #F5A623;
}

.product-featured-model {
    font-size: 13px;
    font-weight: 700;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 14px;
}

.product-featured-excerpt {
    font-size: 14.5px;
    line-height: 1.65;
    color: #111111;
    margin-bottom: 20px;
    max-width: 580px;
}

.featured-specs-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: #F8F9FA;
    border-radius: 10px;
    padding: 14px 20px;
    margin-bottom: 24px;
    max-width: 580px;
}

.featured-spec-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.featured-spec-item .spec-label {
    font-size: 10.5px;
    font-weight: 700;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-spec-item .spec-val {
    font-size: 13.5px;
    font-weight: 700;
    color: #111111;
    line-height: 1.25;
}

.product-featured-price {
    margin-bottom: 20px;
}

.product-featured-price .price {
    font-size: 24px;
    font-weight: 500;
    color: #111111;
}

.product-featured-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-featured-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 28px;
    background: #fff;
    color: #111111 !important;
    border: 1.5px solid #111111;
    border-radius: 3px;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-featured-view:hover {
    background: #111111;
    color: #fff !important;
}

.btn-featured-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 28px;
    background: #000;
    color: #fff !important;
    border: 1.5px solid #000;
    border-radius: 3px;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-featured-quote:hover {
    background: #F5A623;
    border-color: #F5A623;
    color: #111111 !important;
}

@media (max-width: 900px) {
    .product-featured-card {
        flex-direction: column;
    }
    .product-featured-image {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .product-featured-info {
        padding: 24px 20px;
    }
    .featured-specs-box {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .featured-specs-box {
        grid-template-columns: 1fr;
    }
    .product-featured-actions {
        flex-direction: column;
    }
    .btn-featured-view,
    .btn-featured-quote {
        width: 100%;
    }
}

/* ----------------------------------------------------------
   PRODUCTS GRID (3 Column)
   ---------------------------------------------------------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-grid-card {
    background: #fff;
    border: 1px solid #e8e8e0;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.25s, border-color 0.25s, transform 0.2s;
    display: flex;
    flex-direction: column;
}

.product-grid-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
    border-color: #F5A623;
    transform: translateY(-3px);
}

.product-grid-image {
    position: relative;
    background: #FFFFFF;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.product-grid-image a {
    display: block;
    height: 100%;
}

.product-grid-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 16px;
    transition: transform 0.3s ease;
}

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

.product-grid-sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.product-grid-info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-grid-title {
    font-size: 14.5px;
    font-weight: 500;
    font-style: italic;
    color: #111111;
    line-height: 1.25;
    margin: 0 0 6px 0;
    text-decoration: none;
    display: block;
    text-transform: uppercase;
    transition: color 0.15s;
}

.product-grid-title:hover {
    color: #F5A623;
}

.product-grid-sku {
    font-size: 11.5px;
    color: #6B7280;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-grid-excerpt {
    font-size: 12.5px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-grid-price {
    margin-bottom: 14px;
}

.product-grid-price .price {
    font-size: 18px;
    font-weight: 500;
    font-style: italic;
    color: #F5A623;
}

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

.product-grid-price .price del {
    font-size: 13px;
    color: #bbb;
    font-weight: 400;
    margin-right: 4px;
}

.product-grid-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    width: 100%;
}

.product-grid-actions .btn-view-details,
.product-grid-actions .btn-add-quote,
.product-grid-actions .btn-add-to-cart,
.product-grid-actions .btn-out-of-stock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    
    text-decoration: none !important;
    cursor: pointer;
    line-height: 1.3;
    transition: all 0.2s ease;
    box-sizing: border-box;
    text-align: center;
}

.product-grid-actions .btn-view-details svg,
.product-grid-actions .btn-add-quote svg,
.product-grid-actions .btn-add-to-cart svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

/* View Details Button (Top: White with Dark Border) */
.product-grid-actions .btn-view-details {
    background: #ffffff;
    color: #111111 !important;
    border: 1.5px solid #111111;
}

.product-grid-actions .btn-view-details:hover {
    background: #111111;
    color: #ffffff !important;
    border-color: #111111;
}

.product-grid-actions .btn-view-details:hover svg {
    fill: #ffffff;
}

/* Add to Quote Button (Bottom: Dark Navy/Black Button) */
.product-grid-actions .btn-add-quote {
    background: #111111;
    color: #ffffff !important;
    border: 1.5px solid #111111;
}

.product-grid-actions .btn-add-quote:hover {
    background: #F5A623;
    border-color: #F5A623;
    color: #111111 !important;
}

/* Add to Cart Button (Bottom: Dealer/Admin) */
.product-grid-actions .btn-add-to-cart {
    background: #111111;
    color: #ffffff !important;
    border: 1.5px solid #111111;
}

.product-grid-actions .btn-add-to-cart:hover {
    background: #F5A623;
    border-color: #F5A623;
    color: #111111 !important;
}

.product-grid-actions .btn-out-of-stock {
    background: #F3F4F6;
    color: #9CA3AF;
    border: 1px solid #E5E7EB;
    cursor: not-allowed;
}

/* ----------------------------------------------------------
   LIST VIEW
   ---------------------------------------------------------- */
.products-area-wrap.list-view .products-grid {
    grid-template-columns: 1fr;
}

.products-area-wrap.list-view .product-grid-card {
    flex-direction: row;
    align-items: stretch;
}

.products-area-wrap.list-view .product-grid-image {
    flex: 0 0 220px;
    width: 220px;
    aspect-ratio: auto;
}

.products-area-wrap.list-view .product-grid-info {
    padding: 20px 24px;
}

.products-area-wrap.list-view .product-grid-title {
    font-size: 16px;
}

.products-area-wrap.list-view .product-grid-excerpt {
    -webkit-line-clamp: 3;
}

/* ----------------------------------------------------------
   LOADING OVERLAY
   ---------------------------------------------------------- */
.products-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 12px;
}

.products-loading-overlay.active {
    display: flex;
}

.loading-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid #f0f0ec;
    border-top-color: #F5A623;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

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

.products-area-wrap {
    position: relative;
}

/* ----------------------------------------------------------
   PAGINATION
   ---------------------------------------------------------- */
.cat-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cat-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    transition: all 0.15s;
    background: #fff;

}

.cat-pagination .page-numbers:hover,
.cat-pagination .page-numbers.current {
    background: #F5A623;
    border-color: #F5A623;
    color: #fff;
}

.cat-pagination .page-numbers.dots {
    border: none;
    background: none;
    pointer-events: none;
    color: #aaa;
}

.cat-pagination .prev,
.cat-pagination .next {
    width: auto;
    padding: 0 16px;
    font-size: 13px;
}

/* ----------------------------------------------------------
   NO PRODUCTS FOUND
   ---------------------------------------------------------- */
.cat-no-products {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.cat-no-products svg {
    width: 60px;
    height: 60px;
    fill: #ddd;
    margin-bottom: 16px;
}

.cat-no-products h3 {
    font-size: 18px;
    font-weight: 500;
    color: #111111;
    margin: 0 0 8px;
}

.cat-no-products p {
    font-size: 14px;
    margin: 0;
}

/* ----------------------------------------------------------
   ACTIVE FILTER TAGS
   ---------------------------------------------------------- */
.active-filters-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #fff4de;
    border: 1px solid #F5A623;
    border-radius: 20px;
    font-size: 12.5px;
    color: #111111;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.active-filter-tag:hover {
    background: #ffe4a8;
}

.active-filter-tag .remove-tag {
    font-size: 14px;
    line-height: 1;
    color: #F5A623;
    font-weight: 500;
}

.active-filter-label {
    font-size: 12.5px;
    color: #888;
    font-weight: 500;
}

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .cat-banner-inner {
        flex-direction: column;
    }

    .cat-banner-content,
    .cat-banner-image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .cat-banner-content {
        padding: 36px 20px 28px;
        order: 2;
    }

    .cat-banner-image {
        min-height: 240px;
        order: 1;
    }

    .cat-banner-image::before {
        display: none;
    }

    .cat-shop-inner {
        flex-direction: column;
    }

    .cat-filter-sidebar {
        width: 100%;
        flex: none;
        position: static;
    }

    .filter-sidebar-body {
        display: none;
    }

    .filter-sidebar-header {
        border-radius: 10px;
        cursor: pointer;
    }

    .filter-sidebar-header.open + .filter-sidebar-body {
        display: block;
    }

    .filter-sidebar-cta {
        display: none;
    }

    .product-featured-card {
        flex-direction: column;
    }

    .product-featured-image,
    .product-featured-info {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .product-featured-image a {
        min-height: 220px;
    }

    .product-featured-info {
        padding: 24px;
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .products-area-wrap.list-view .product-grid-card {
        flex-direction: column;
    }

    .products-area-wrap.list-view .product-grid-image {
        flex: none;
        width: 100%;
        aspect-ratio: 4/3;
    }
}

/* ----------------------------------------------------------
   WOOCOMMERCE OVERRIDE — hide default wrappers on this page
   ---------------------------------------------------------- */
.tax-product_cat .woocommerce-notices-wrapper,
.tax-product_cat #woocommerce_before_main_content {
    display: none !important;
}

/* ----------------------------------------------------------
   ADD TO CART BUTTON (privileged buyers)
   ---------------------------------------------------------- */
.btn-add-to-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    
    transition: all 0.2s;
    position: relative;
}

.btn-add-to-cart svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.btn-add-to-cart:hover {
    background: linear-gradient(135deg, #219a52 0%, #27ae60 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39,174,96,0.35);
    color: #fff;
}

.btn-add-to-cart.loading::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* Privileged price display in grid card */
.product-grid-price .price,
.product-featured-price .price {
    color: #111111;
    font-weight: 500;
}

/* ----------------------------------------------------------
   INQUIRY POPUP OVERLAY
   ---------------------------------------------------------- */
.inquiry-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 20, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 20px;
}

.inquiry-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ----------------------------------------------------------
   INQUIRY POPUP BOX
   ---------------------------------------------------------- */
.inquiry-popup {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px;
    position: relative;
    box-shadow: 0 24px 80px rgba(0,0,0,0.25);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

#inquiry-hs-form-wrap {
    width: 100%;
    min-height: 480px;
}

#inquiry-hs-form-wrap iframe {
    width: 100% !important;
    border: none !important;
}

.inquiry-overlay.open .inquiry-popup {
    transform: translateY(0) scale(1);
}

.inquiry-popup::-webkit-scrollbar {
    width: 4px;
}

.inquiry-popup::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 2px;
}

/* Close Button */
.inquiry-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, transform 0.15s;
    color: #555;
}

.inquiry-popup-close:hover {
    background: #ffe4a8;
    color: #F5A623;
    transform: scale(1.1);
}

.inquiry-popup-close svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Popup Header */
.inquiry-popup-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding-right: 40px;
}

.inquiry-popup-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #F5A623 0%, #ffd97d 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inquiry-popup-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.inquiry-popup-title {
    font-size: 20px;
    font-weight: 500;
    color: #111111;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.inquiry-popup-subtitle {
    font-size: 13.5px;
    color: #888;
    margin: 0;
}

/* Product Info Banner */
.inquiry-product-info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fff4de 0%, #fff8ec 100%);
    border: 1px solid #fde8b0;
    border-radius: 10px;
    margin-bottom: 24px;
}

.inquiry-product-info svg {
    width: 28px;
    height: 28px;
    fill: #F5A623;
    flex-shrink: 0;
}

.inquiry-product-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #aaa;
    margin-bottom: 2px;
}

.inquiry-product-name {
    font-size: 15px;
    font-weight: 700;
    color: #111111;
    line-height: 1.3;
}

.inquiry-product-sku {
    font-size: 12px;
    color: #888;
    font-weight: 500;
    margin-top: 2px;
}

/* Form Fields */
.inquiry-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.inquiry-field {
    margin-bottom: 16px;
}

.inquiry-field:last-of-type {
    margin-bottom: 0;
}

.inquiry-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 7px;
}

.inquiry-field label .req {
    color: #F5A623;
}

.inquiry-field input,
.inquiry-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e8e8e0;
    border-radius: 8px;
    font-size: 14px;
  
    color: #111111;
    background: #fafaf8;
    outline: none;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    resize: vertical;
}

.inquiry-field input:focus,
.inquiry-field textarea:focus {
    border-color: #F5A623;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(245,166,35,0.12);
}

.inquiry-field input.error,
.inquiry-field textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
}

/* Error Message */
.inquiry-form-error {
    background: #fff5f5;
    border: 1px solid #fcc;
    border-radius: 8px;
    color: #e74c3c;
    font-size: 13px;
    padding: 10px 14px;
    margin: 16px 0 0;
    font-weight: 500;
}

/* Form Actions */
.inquiry-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0ec;
}

.inquiry-btn-cancel {
    padding: 11px 22px;
    background: #f5f5f0;
    color: #555;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
   
    transition: all 0.15s;
}

.inquiry-btn-cancel:hover {
    background: #e8e8e0;
    color: #111111;
}

.inquiry-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 28px;
    background: linear-gradient(135deg, #F5A623 0%, #e0960e 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(245,166,35,0.35);
}

.inquiry-btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #e0960e 0%, #c87d0a 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(245,166,35,0.45);
}

.inquiry-btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.inquiry-btn-submit .btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* Success State */
.inquiry-success {
    text-align: center;
    padding: 20px 0 10px;
}

.inquiry-success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(39,174,96,0.3);
}

.inquiry-success-icon svg {
    width: 36px;
    height: 36px;
    fill: #fff;
}

.inquiry-success h3 {
    font-size: 22px;
    font-weight: 800;
    color: #111111;
    margin: 0 0 8px;
}

.inquiry-success p {
    font-size: 14.5px;
    color: #888;
    margin: 0 0 24px;
    line-height: 1.6;
}

.inquiry-btn-done {
    padding: 11px 36px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;

    transition: all 0.2s;
}

.inquiry-btn-done:hover {
    background: linear-gradient(135deg, #219a52 0%, #27ae60 100%);
    transform: translateY(-1px);
}

/* ----------------------------------------------------------
   INQUIRY POPUP — RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 560px) {
    .inquiry-popup {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .inquiry-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .inquiry-popup-header {
        flex-direction: column;
        gap: 12px;
    }

    .inquiry-form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .inquiry-btn-cancel,
    .inquiry-btn-submit {
        width: 100%;
        justify-content: center;
    }
}


/* ============================================================
   AJAX ADD TO CART — BUTTON STATES
   ============================================================ */
.crommelins-cat-add-to-cart {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    position: relative;
}

.cat-btn-icon,
.cat-btn-spinner,
.cat-btn-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cat-btn-icon svg,
.cat-btn-spinner svg,
.cat-btn-check svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

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

.cat-spin {
    animation: crommelins-cat-spin 0.8s linear infinite;
    display: block;
}

.crommelins-cat-add-to-cart.cat-loading {
    opacity: 0.75;
    cursor: not-allowed;
    pointer-events: none;
}

.crommelins-cat-add-to-cart.cat-added {
    background: #27ae60 !important;
    border-color: #27ae60 !important;
}

.crommelins-cat-add-to-cart.cat-added:hover {
    background: #219a52 !important;
    box-shadow: 0 4px 14px rgba(39, 174, 96, 0.35) !important;
}

/* ============================================================
   TOAST NOTIFICATIONS — CATEGORY PAGE
   ============================================================ */
#crommelins-cat-toast-wrap {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.crommelins-cat-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #111111;
    color: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 500;
    max-width: 340px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
    pointer-events: all;
    transform: translateX(20px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    line-height: 1.4;
    border-left: 4px solid transparent;
}

.crommelins-cat-toast.is-visible {
    transform: translateX(0);
    opacity: 1;
}

.crommelins-cat-toast--success { border-left-color: #27ae60; }
.crommelins-cat-toast--error   { border-left-color: #e74c3c; }

.crommelins-cat-toast--success svg { width: 20px; height: 20px; fill: #27ae60; flex-shrink: 0; }
.crommelins-cat-toast--error svg   { width: 20px; height: 20px; fill: #e74c3c; flex-shrink: 0; }

.crommelins-cat-toast span { flex: 1; }

.crommelins-cat-toast a {
    color: #F5A623;
    text-decoration: none;
    font-weight: 700;
}

.crommelins-cat-toast a:hover { text-decoration: underline; }

.crommelins-cat-toast-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0 0 0 6px;
    flex-shrink: 0;
    transition: color 0.15s;
}

.crommelins-cat-toast-close:hover { color: #fff; }

@media (max-width: 480px) {
    #crommelins-cat-toast-wrap {
        bottom: 16px;
        right: 16px;
        left: 16px;
    }
    .crommelins-cat-toast { max-width: 100%; }
}

/* ========================================================
   POWER OUTPUT (kVA) FILTER — Custom Screenshot Design
   ======================================================== */
.filter-group--kva {
    margin-bottom: 24px;
}

.filter-group--kva .filter-group-title {
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #111111 !important;
    margin-bottom: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: default !important;
}

.filter-group--kva .filter-group-title .toggle-arrow {
    display: none !important;
}

/* Hide number inputs & separator */
.filter-group--kva .kva-range-inputs,
.filter-group--kva .power-range-inputs {
    display: none !important;
}

/* Range Slider Track */
#kva-max-slider.price-range-slider,
.filter-group--kva input[type="range"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 100% !important;
    height: 6px !important;
    border-radius: 999px !important;
    background: #DDE0E5;
    outline: none !important;
    cursor: pointer !important;
    margin: 6px 0 10px !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Chrome / Safari / Edge Thumb */
#kva-max-slider.price-range-slider::-webkit-slider-thumb,
.filter-group--kva input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 2.5px solid #111111 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: transform 0.1s ease;
}

#kva-max-slider.price-range-slider::-webkit-slider-thumb:hover,
.filter-group--kva input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

/* Firefox Thumb */
#kva-max-slider.price-range-slider::-moz-range-thumb,
.filter-group--kva input[type="range"]::-moz-range-thumb {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 2.5px solid #111111 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

/* Firefox Track */
#kva-max-slider.price-range-slider::-moz-range-track,
.filter-group--kva input[type="range"]::-moz-range-track {
    height: 6px !important;
    border-radius: 999px !important;
    background: transparent !important;
}

/* Min & Max value labels under slider */
.kva-slider-values {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 6px !important;
    
}

.kva-slider-values .kva-val-min,
.kva-slider-values .kva-val-max {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.2px !important;
}

/* Hide Apply Button */
.filter-group--kva .kva-apply-btn,
.filter-group--kva .filter-apply-btn {
    display: none !important;
}

@media (max-width: 767px) {
    .product-featured-title{
        font-size: 30px;
        font-weight: 500;
    }
    .crommelins-pd-title{
        font-size: 24px;
        font-weight: 500;
    }
    .cat-banner-section{
        padding: 0px 0 40px !important;
    }
}


/* ============================================================
   CATEGORY FEATURE SECTIONS + FAQ ACCORDION
   Moved from industry-page.css. Rendered by taxonomy-product-cat.php
   on every product category page.
   ============================================================ */

.cat-section-title {
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 400;
    color: #111111;
    line-height: 1.2;
    margin: 0 0 8px 0;
    letter-spacing: -0.4px;
}

.cat-feature-section {
    padding: 72px 0;
    background: #F5A623;
}

.cat-feature-section p{
    font-size: 18px;
    color: #111111;
}

.cat-feature-section.cat-feature-alt {
    background: #111111;
}

.cat-feature-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 64px;
}

.cat-feature-inner.cat-feature-reverse {
    flex-direction: row-reverse;
}

.cat-feature-text {
    flex: 1;
}

.cat-feature-section.cat-feature-alt .cat-feature-text .cat-section-title {
    color: #fff;
}

.cat-feature-section.cat-feature-alt .cat-feature-text .cat-feature-desc {
    color: rgba(255,255,255,0.75);
}

.cat-feature-section.cat-feature-alt .cat-section-label {
    color: #111111;
}

.cat-feature-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.cat-feature-desc p {
    margin: 0 0 12px;
}

.cat-feature-desc p:last-child {
    margin-bottom: 0;
}

.cat-feature-image {
    flex: 0 0 48%;
    max-width: 48%;
    border-radius: 32px;
    overflow: hidden;
    /*box-shadow: 0 12px 48px rgba(0,0,0,0.14);*/
}

.cat-feature-image img {
    width: 100%;
    display: block;
    /*aspect-ratio: 4/3;*/
    object-fit: cover;
    object-position: center;
}

.cat-faq-section {
    padding: 72px 0;
    background: #F5A800;
}

.cat-faq-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.cat-faq-heading-col {
    flex: 0 0 320px;
    max-width: 320px;
}

.cat-faq-big-title {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 400;
    color: #111111;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.5px;
}

.cat-faq-big-title span {
    /*display: block;*/
    color: #fff;
}

.cat-faq-list-col {
    flex: 1;
    min-width: 0;
}

.cat-faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}

.cat-faq-item.open {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.cat-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #111111;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
    transition: color 0.15s;
}

.cat-faq-question:hover {
    color: #F5A800;
}

.cat-faq-item.open .cat-faq-question {
    color: #F5A800;
}

.cat-faq-icon {
    width: 28px;
    height: 28px;
    background: #f5f5f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.3s;
}

.cat-faq-icon svg {
    width: 14px;
    height: 14px;
    fill: #111111;
    transition: fill 0.2s;
}

.cat-faq-item.open .cat-faq-icon {
    background: #F5A800;
    transform: rotate(45deg);
}

.cat-faq-item.open .cat-faq-icon svg {
    fill: #fff;
}

.cat-faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0,1,0,1);
}

.cat-faq-item.open .cat-faq-answer {
    max-height: 600px;
    transition: max-height 0.5s ease-in-out;
}

.cat-faq-answer-inner {
    padding: 0 24px 22px;
    font-size: 14px;
    line-height: 1.75;
    color: #555;
}

.cat-faq-answer-inner p {
    margin: 0 0 10px;
}

.cat-faq-answer-inner p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1100px) {
    .cat-faq-inner {
            gap: 40px;
        }
    .cat-faq-heading-col {
            flex: 0 0 240px;
            max-width: 240px;
        }
    .cat-feature-section p{
            font-size: 18px;
        }
}

@media (max-width: 992px) {
    .cat-feature-inner {
            flex-direction: column !important;
            gap: 36px;
        }
    .cat-feature-image {
            flex: none;
            max-width: 100%;
            width: 100%;
        }
    .cat-faq-inner {
            flex-direction: column;
            gap: 36px;
        }
    .cat-faq-heading-col {
            flex: none;
            max-width: 100%;
            position: static;
        }
    .cat-faq-inner,
        .cat-dealer-inner {
            padding: 0 24px;
        }
}

@media (max-width: 768px) {
    .cat-feature-section p{
            font-size: 16px;
        }
    .cat-applications,
        .cat-feature-section,
        .cat-popular-section,
        .cat-faq-section,
        .cat-dealer-section {
            padding: 48px 0;
        }
}

@media (max-width: 480px) {
    .cat-faq-question {
            font-size: 13.5px;
            padding: 16px 18px;
        }
    .cat-faq-answer-inner {
            padding: 0 18px 18px;
        }
}

/* ============================================================
   OVERRIDES PORTED FROM ADDITIONAL CSS (Customiser)
   Kept last so they win, matching the previous load order.
   ============================================================ */

.cat-faq-inner {
  flex-direction: column;
  gap: 3rem;
}

.cat-faq-inner .cat-faq-heading-col {
  max-width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  flex: auto;
}

.cat-faq-inner .cat-faq-list-col {
  margin: auto;
}

@media (max-width: 1024px) {
    .cat-feature-section .cat-feature-inner:nth-child(2n+2) {
      flex-direction: column !important;
    }
    .cat-feature-section .cat-feature-inner {
      flex-direction: column-reverse !important;
    }
}

/* ============================================================
   CATEGORY PAGE SECTIONS (ACF flexible content)
   Layouts: image_text | card_grid | rich_text
   Themes:  white | light | orange | navy
   ============================================================ */

.cat-banner-tagline {
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 600;
    color: #F5A623;
    line-height: 1.35;
    margin: 0 0 16px;
}

.cat-sec { padding: 72px 0; }
.cat-sec-compact { padding: 56px 0; }

.cat-sec-inner { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.cat-sec-title {
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.4px;
    margin: 0 0 18px;
}

.cat-sec-title-center { text-align: center; margin-bottom: 44px; }

.cat-sec-copy { font-size: 17px; line-height: 1.65; }
.cat-sec-copy p { margin: 0 0 12px; }
.cat-sec-copy p:last-child { margin-bottom: 0; }

/* ---- Themes ---- */
.cat-sec-white  { background: #ffffff; }
.cat-sec-light  { background: #F7F7F9; }
.cat-sec-orange { background: #F5A623; }
.cat-sec-navy   { background: #111111; }

.cat-sec-white .cat-sec-title,
.cat-sec-light .cat-sec-title,
.cat-sec-orange .cat-sec-title { color: #111111; }
.cat-sec-navy .cat-sec-title { color: #ffffff; }

.cat-sec-white .cat-sec-copy,
.cat-sec-light .cat-sec-copy { color: #111111; }
.cat-sec-orange .cat-sec-copy { color: #111111; }
.cat-sec-navy .cat-sec-copy { color: rgba(255, 255, 255, 0.8); }

/* ---- Image + Text ---- */
.cat-it-inner { display: flex; align-items: center; flex-direction: row-reverse; gap: 64px; }
.cat-it-inner.cat-it-flip { flex-direction: row; }

.cat-it-image { flex: 0 0 46%; max-width: 46%; }
.cat-it-image img { width: 100%; height: auto; display: block; border-radius: 14px; }
.cat-sec-compact .cat-it-inner { gap: 48px; }
.cat-sec-compact .cat-it-image { flex: 0 0 38%; max-width: 38%; }

.cat-it-text { flex: 1 1 auto; }

/* ---- Buttons ---- */
.cat-sec-btn {
    display: inline-block;
    margin-top: 22px;
    padding: 13px 30px;
    background: #F5A623;
    color: #111111;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}
.cat-sec-btn:hover { background: #e0941a; color: #111111; }
.cat-sec-orange .cat-sec-btn { background: #111111; color: #ffffff; }
.cat-sec-orange .cat-sec-btn:hover { background: #111111; color: #ffffff; }

/* ---- Card Grid ---- */
.cat-cg-grid { display: grid; gap: 24px; }
.cat-cg-cols-2 { grid-template-columns: repeat(2, 1fr); }
.cat-cg-cols-3 { grid-template-columns: repeat(3, 1fr); }
.cat-cg-cols-4 { grid-template-columns: repeat(4, 1fr); }

.cat-cg-card { border-radius: 14px; padding: 28px 24px; }
.cat-cg-card-title { font-size: 19px; line-height: 1.3; margin: 0 0 10px; color: #111111; }
.cat-cg-card-text { font-size: 15px; line-height: 1.6; margin: 0; color: #111111; }

.cat-sec-white .cat-cg-card { background: #F7F7F9; border-top: 3px solid #F5A623; }
.cat-sec-light .cat-cg-card { background: #ffffff; border-top: 3px solid #F5A623; }
.cat-sec-orange .cat-cg-card { background: #ffffff; border-top: 3px solid #111111; }
.cat-sec-navy .cat-cg-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.cat-sec-navy .cat-cg-card-title { color: #F5A623; }
.cat-sec-navy .cat-cg-card-text { color: rgba(255, 255, 255, 0.78); }

/* ---- Rich Text ---- */
.cat-rt-inner { max-width: 900px; }
.cat-rt-center .cat-rt-inner { margin: 0 auto; text-align: center; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .cat-cg-cols-4 { grid-template-columns: repeat(2, 1fr); }
    .cat-cg-cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .cat-it-inner,
    .cat-it-inner.cat-it-flip { flex-direction: column; gap: 28px; }
    .cat-it-image,
    .cat-sec-compact .cat-it-image { flex: 0 0 100%; max-width: 100%; }
}

@media (max-width: 600px) {
    .cat-cg-cols-2,
    .cat-cg-cols-3,
    .cat-cg-cols-4 { grid-template-columns: 1fr; }
    .cat-sec { padding: 48px 0; }
    .cat-sec-compact { padding: 40px 0; }
    .cat-sec-title-center { margin-bottom: 32px; }
}

