/*
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 */
}


/* Force the filled heart icon when the JS class is active */
.single-product .yith-wcwl-add-to-wishlist a.porto-force-filled::before,
.single-product .elementor-widget-porto_cp_wishlist a.porto-force-filled::before {
    content: "\e88a" !important;
}

/* Ensure the SVG is hidden so it doesn't conflict with your font icon */
.single-product .yith-wcwl-add-to-wishlist a.porto-force-filled svg,
.single-product .elementor-widget-porto_cp_wishlist a.porto-force-filled svg {
    display: none !important;
}



.single.single-product .rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-wrapper.rtwpvg-thumbnail-position-bottom .rtwpvg-thumbnail-slider:not(.swiper-initialized).rtwpvg-thumbnail-columns-4 .swiper-slide {
    width: 100% !important;
}


.widget_price_filter .price_slider_amount .button {
    display: none !important;
}

/* Custom Glasses Form - Step Spacing & Alignment Fixes */
.cgf-middle-row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    border-top: 1px solid #eee !important;
    border-bottom: 1px solid #eee !important;
    padding: 20px 0 !important;
    gap: 0 !important;
}

.cgf-step {
    padding: 0 15px !important;
    border-right: 1px solid #eee !important;
    display: flex !important;
    flex-direction: column !important;
}

.cgf-step.cgf-step-4 {
    border-right: none !important;
}

.cgf-step-title {
    margin-bottom: 12px !important;
}

.cgf-radio-group {
    margin-bottom: 15px !important;
}

.cgf-step-note-col {
    padding: 15px 15px 0 15px !important;
    border-right: 1px solid #eee !important;
}

.cgf-step-note-col.cgf-note-4 {
    border-right: none !important;
}

.cgf-step-note {
    font-size: 13px !important;
    color: #000 !important;
    line-height: 1.35 !important;
}

/* Desktop Grid Placement for Row Alignment */
.cgf-step-1 { grid-column: 1 !important; grid-row: 1 !important; }
.cgf-step-2 { grid-column: 2 !important; grid-row: 1 !important; }
.cgf-step-3 { grid-column: 3 !important; grid-row: 1 !important; }
.cgf-step-4 { grid-column: 4 !important; grid-row: 1 !important; }

.cgf-note-1 { grid-column: 1 !important; grid-row: 2 !important; }
.cgf-note-2 { grid-column: 2 !important; grid-row: 2 !important; }
.cgf-note-3 { grid-column: 3 !important; grid-row: 2 !important; }
.cgf-note-4 { grid-column: 4 !important; grid-row: 2 !important; }

/* Points 5, 6, 7 & Submit Button Alignment */
.cgf-bottom-row {
    display: flex !important;
    align-items: stretch !important;
}

.cgf-input-group {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.cgf-input-group input[type="text"],
.cgf-input-group input[type="email"] {
    margin-top: auto !important;
}

.cgf-submit-wrapper {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
}

@media (max-width: 768px) {
    .cgf-middle-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 10px 0 !important;
    }
    .cgf-bottom-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
    }
    
    .cgf-step {
        border-right: none !important;
        padding: 15px 0 5px 0 !important;
    }
    
    .cgf-step-note-col {
        border-right: none !important;
        border-bottom: 1px solid #eee !important;
        padding: 0 0 15px 0 !important;
        margin-bottom: 10px !important;
    }
    .cgf-step-note-col.cgf-note-4 {
        border-bottom: none !important;
        margin-bottom: 0 !important;
    }

    /* Mobile sequential order: Step -> Note */
    .cgf-step-1 { order: 1 !important; }
    .cgf-note-1 { order: 2 !important; }
    .cgf-step-2 { order: 3 !important; }
    .cgf-note-2 { order: 4 !important; }
    .cgf-step-3 { order: 5 !important; }
    .cgf-note-3 { order: 6 !important; }
    .cgf-step-4 { order: 7 !important; }
    .cgf-note-4 { order: 8 !important; }
}

.js-injected-gallery {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 8px !important;
}

@media (max-width: 768px) {
	.cgf-row.cgf-bottom-row {
		gap: 20px !important;
	}
	.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-wrapper .rtwpvg-slider img {
    height: 330px !important;
	}
}
.woocommerce-account .page-content {
    padding: 20px;
}

/* Selected Product Category Filter Styling */
.product-categories li.chosen > a,
.product-categories li.current-cat > a,
.widget_product_categories li.chosen > a,
.widget_product_categories li.current-cat > a,
.widget_categories li.chosen > a,
.widget_categories li.current-cat > a,
.porto-child-cat-filter li.chosen > a,
.porto-child-cat-filter li.current-cat > a {
    color: #d81b21 !important;
    font-weight: 700 !important;
}

.product-categories li.chosen > .count,
.product-categories li.current-cat > .count,
.widget_product_categories li.chosen > .count,
.widget_product_categories li.current-cat > .count,
.widget_categories li.chosen > .count,
.widget_categories li.current-cat > .count,
.porto-child-cat-filter li.chosen > .count,
.porto-child-cat-filter li.current-cat > .count {
    color: #d81b21 !important;
    font-weight: 700 !important;
}


/* Category widget is permanently open with no toggle element */
.widget_product_categories .toggle,
.widget_categories .toggle,
.porto-child-cat-filter .toggle {
    display: none !important;
}

.widget_product_categories .widgettitle,
.widget_product_categories .widget-title,
.widget_categories .widgettitle,
.widget_categories .widget-title,
.porto-child-cat-filter .widgettitle,
.porto-child-cat-filter .widget-title {
    cursor: default !important;
}
@media screen and (min-width: 880px) {
	.on-mob{
		display:none;
	}
}