/* Filter UI box */
.cpf-wrap {
    background: #0b1220;
    padding: 20px;
    border-radius: 10px;
    color: #e5e7eb;
    max-width: 420px;
}

.cpf-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.cpf-field label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 4px;
    color: #9ca3af;
}

.cpf-field select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #374151;
    background: #020617;
    color: #e5e7eb;
    font-size: 14px;
}

.cpf-field select:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.cpf-btn {
    width: 100%;
    padding: 10px 14px;
    border-radius: 6px;
    border: none;
    background: #22c55e;
    color: #022c22;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.cpf-btn:hover {
    background: #16a34a;
}

/* 4-column WooCommerce grid */
ul.products.columns-4 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Remove default margins */
ul.products li.product {
    margin: 0 !important;
}

/* Tablet */
@media (max-width: 1024px) {
    ul.products.columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

/* Small mobile */
@media (max-width: 480px) {
    ul.products.columns-4 {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Layout wrapper: sidebar + products */
.cpf-type-layout {
    display: flex;
    gap: 30px;
}

/* LEFT SIDEBAR */
.cpf-type-sidebar {
    width: 260px;
    background: #020617;
    padding: 18px;
    border-radius: 10px;
    color: #e5e7eb;
}

.cpf-filter-box {
    margin-bottom: 20px;
}

.cpf-filter-box h3 {
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #9ca3af;
}

.cpf-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cpf-checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    background: #0b1220;
    cursor: pointer;
    font-size: 13px;
}

.cpf-checkbox-item input[type="checkbox"] {
    accent-color: #22c55e;
}

.cpf-checkbox-item span {
    color: #e5e7eb;
}

/* Apply button */
.cpf-filter-apply {
    margin-top: 10px;
    width: 100%;
}

/* RIGHT SIDE PRODUCTS */
.cpf-type-products {
    flex: 1;
}

/* 4-column WooCommerce grid */
ul.products.columns-4 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Remove default margins */
ul.products li.product {
    margin: 0 !important;
}

/* Responsive: sidebar stack on mobile */
@media (max-width: 900px) {
    .cpf-type-layout {
        flex-direction: column;
    }

    .cpf-type-sidebar {
        width: 100%;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    ul.products.columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

/* Small mobile: 1 column */
@media (max-width: 480px) {
    ul.products.columns-4 {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* -----------------------------------------
   RESPONSIVE FILTER BEHAVIOR (FINAL)
------------------------------------------ */

/* MOBILE (max-width: 768px)
   → Sidebar hide
   → Dropdown filter show
*/
@media (max-width: 768px) {

    /* Hide sidebar filter */
    .cpf-type-sidebar {
        display: none !important;
    }

    /* Show dropdown filter */
    .cpf-wrap {
        display: block !important;
        margin-bottom: 20px;
    }

    /* Products full width */
    .cpf-type-products {
        width: 100% !important;
    }
}

/* DESKTOP (min-width: 769px)
   → Sidebar show
   → Dropdown filter also show (as you requested)
*/
@media (min-width: 769px) {

    /* Show sidebar filter */
    .cpf-type-sidebar {
        display: block !important;
    }

    /* Show dropdown filter everywhere */
    .cpf-wrap {
        display: block !important;
        margin-bottom: 20px;
    }
}
.enquiry-btn {
    display: inline-block;
    background: #22c55e;
    color: #022c22;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    transition: .25s ease;
}

.enquiry-btn:hover {
    background: #16a34a;
    color: #fff;
}

