/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/
.alpus-aprs-shop-filters-wrapper {
    display: none;
}
.main-banner {
    padding: 0px !important;
}
/* Hide .main-banner on all pages except the homepage */
body:not(.home) .main-banner {
    display: none;
}
.porto-tb-woo-link.porto-tb-quickview.quickview {
    display: none !important;
}

.porto-tb-quickview.quickview {
    display: none !important;
}








.custom-nested-faq-container {
    font-family: sans-serif;
    max-width: 900px;
    margin: 0 auto;
}

/* Parent Category Styling */
.nfaq-parent-group {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background: #fff;
}

.nfaq-parent-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease;
}

.nfaq-parent-toggle:hover {
    background: #fdfdfd;
}

.nfaq-title-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nfaq-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    background-color: #d81b21; /* Red brand color */
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
}

.nfaq-cat-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

/* Child Question Styling */
.nfaq-parent-content {
    display: none;
    padding: 0 20px 20px 20px;
}

.nfaq-child-group {
    border-top: 1px solid #f0f0f0;
}

.nfaq-child-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.nfaq-question {
    font-size: 15px;
    color: #333;
}

.nfaq-child-content {
    display: none;
    padding-bottom: 15px;
    color: #555;
    line-height: 1.6;
    font-size: 14px;
}

/* Icons (Using CSS for basic carets, no FontAwesome required) */
.nfaq-icon {
    position: relative;
    width: 12px;
    height: 12px;
}
.nfaq-icon::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

/* Active States */
.nfaq-parent-group.active > .nfaq-parent-toggle .nfaq-icon::before,
.nfaq-child-group.active > .nfaq-child-toggle .nfaq-icon::before {
    transform: rotate(225deg);
    top: 5px;
}
.nfaq-parent-group.active > .nfaq-parent-toggle .nfaq-icon::before {
    border-color: #d81b21; /* Turns red when open like the image */
}