/*
Theme Name: Galerie Asma Child
Theme URI: http://galerieasma.com/
Description: Galerie Asma Child Theme
Author: EesyPlus
Author URI: http://eesyplus.com/
Template: twentytwentyone
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready, PixelPai
Text Domain:  twentytwentyone-child
*/


/**
 * Toggle Search CSS
 * Create this file in your theme directory
 */

.toggle-search-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.search-icon-wrapper {
    cursor: pointer;
    z-index: 100;
    position: relative;
    padding: 8px;
}

.search-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle-icon svg {
    width: 20px;
    height: 20px;
}

.search-form-wrapper {
    position: absolute;
    right: 40px;
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease-in-out;
    opacity: 0;
}

.search-form-wrapper.active {
    width: 250px; /* Adjust this value based on your design */
    opacity: 1;
}

/* Additional styling for Ivory Search form - adjust as needed */
.search-form-wrapper .is-search-form {
    margin: 0;
    padding: 0;
}

.search-form-wrapper .is-search-input {
    border-radius: 4px;
    padding: 8px 10px;
}

/* Hide the Ivory Search submit button if you want to use only the icon */
.search-form-wrapper .is-search-submit {
    display: none;
} 
header#masthead{
    background: #2F2F2F;
    width: 100% !important;
    max-width: 1920px !important;
    padding: 15px 60px 20px !important;
}
footer#colophon{
    background: #2F2F2F;
    width: 100% !important;
    max-width: 1920px !important;
    color: #fff;
    padding: 0 60px;
}
.primary-navigation a{
    color: #FFFFFF !important;
}
.search-toggle-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}
.inquiry-button{
    padding: 10px 40px !important;
    font-size: 16px !important;
    text-transform: uppercase;
    color: #fff !important;
    border:2px solid #fff;
    margin-left: 30px !important;
}
* {
    font-family: "Red Hat Display", sans-serif !important;
}
.is-search-form.is-ajax-search{
    margin-right:-50px;
}
.primary-navigation .current-menu-item > a:first-child:hover, 
.primary-navigation .current_page_item > a:first-child:hover {
    text-decoration: none !important;
    text-decoration-style: unset !important;
}
.has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
    background: transparent !important;
    color: #fff !important;
    font-weight: bold !important;
}
.primary-navigation .current-menu-item > a:first-child, .primary-navigation .current_page_item > a:first-child {
    text-decoration: unset !important;
    font-weight: 800 !important;
}
.site-main {
    padding: 0 !important;
    margin: 0 auto;
}
.wrapper{
    max-width: 1920px;
    margin:0 auto;
}
.footer-logo a{
    text-align: center;
    margin: 80px auto 20px;
    display: block;
}
.footer-logo img{
    margin: 0 auto;
}
.footer-info p{
    font-size: 14px;
    line-height: 18px;
    text-align: center;
}
.footer-social{
    text-align: center;
    padding: 20px;
}
.footer-social a{
    display: inline-block;
    margin: 0 20px;
}
.footer-links{
    float: right;
    margin-top:-20px;
}
.footer-links a{
    font-size: 14px;
    line-height: 18px;
    text-align: right;
    margin-left: 20px;
}
.powered-by {
    margin-top: -50px !important;
    display: block;
}
.powered-by p,
.powered-by a{
    font-size: 14px;
}
.standard-wrap{
    max-width: 1420px;
    margin: 0 auto;
    padding:0 30px;
}
.standard-left p{
    font-size: 18px;
}
.standard-right img{
    width: 100%;
    max-width: 100%;
    max-height: fit-content;  
}

/**
 * CSS for WooCommerce sidebar with categories accordion
 * Add this to your theme's style.css or create a separate CSS file
 */

/* Sidebar styles */
.shop-sidebar {
    padding: 0 15px;
    width: 25%;
}

/* Main content area */
.shop-main {
    padding: 0 15px;
    width: 75%;
}

/* Accordion styles */
.accordion-item {
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
    font-weight: 500;
}

.accordion-header.active {
    font-weight: 700;
}

.accordion-icon {
    font-size: 18px;
    color: #777;
    transition: transform 0.2s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    padding-left: 15px;
    margin-top: 8px;
    display: none;
}

.subcategory-item {
    margin: 5px 0;
    font-size: 14px;
}

.subcategory-item a {
    color: #555;
    text-decoration: none;
    font-size: 20px;
}

.subcategory-item a:hover {
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 768px) {
    .shop-container {
        flex-direction: column;
    }
    
    .shop-sidebar,
    .shop-main {
        width: 100%;
    }
    
    .shop-sidebar {
        margin-bottom: 30px;
    }
}

.woocommerce-breadcrumb{
    display: none;
}

.onsale {
    position: absolute;
    top: 20px;
    right: unset;
    left: 0;
    background: #C2A2AD;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.02em;
    z-index: 1;
    border-radius: unset;
    text-align: center;
    padding: 0px 25px !important;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 18px !important;
    height: 50px;
}

        /* Container for positioning cart icon over image */
        .product-image-container {
            position: relative;
            width: 100%;
            display: block;
        }
        
        /* Add to cart icon styling */
        .custom-add-to-cart {
            position: absolute;
            bottom: 20px;
            right: 20px;
            z-index: 10;
            background-color: #E8E8E8;
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            transition: all 0.2s ease;
        }
        
        .custom-add-to-cart:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        }
        
        .custom-add-to-cart a {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            background: transparent !important;
            padding: 0 !important;
            margin: 0 !important;
            border: none !important;
            width: 100%;
            height: 100%;
        }
        
        .custom-add-to-cart .cart-icon {
            width: 22px;
            height: 20px;
            display: block;
        }
        
        /* Fix positioning for WooCommerce elements */
        .woocommerce ul.products li.product .woocommerce-loop-product__title {
            padding-top: 15px;
        }
        
        /* Hide default buttons */
        .woocommerce ul.products li.product .button {
            display: none;
        }
        .custom-add-to-cart .woocommerce-LoopProduct-link.woocommerce-loop-product__link{
            display: none !important;
        }
        span.woocommerce-Price-amount.amount {
            font-weight: bold;
        }

/* Reverse the order of product image and summary on single product page */
.single-product div.product {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Place product summary (content) on the left */
.single-product div.product div.summary {
    float: left;
    order: 1;
    width: 48%;
    clear: none;
    margin-right: 0;
    padding-right: 30px;
    box-sizing: border-box;
}

/* Place product images on the right */
.single-product div.product div.images {
    float: right;
    order: 2;
    width: 48%;
    clear: none;
    margin-left: auto;
    text-align: right;
}

/* Right align the image within its container */
.single-product div.product div.images img {
    margin-left: auto;
    width: 100%;
}

/* Right align the image gallery thumbnails */
.single-product div.product div.images .flex-control-thumbs {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.single-product div.product div.images .flex-control-thumbs li {
    float: none;
}

/* Ensure any full-width elements come after both columns */
.single-product .woocommerce-tabs, 
.single-product section.related,
.single-product section.upsells {
    width: 100%;
    order: 3;
    clear: both;
}

/* Mobile responsiveness - stack on smaller screens */
@media (max-width: 768px) {
    .single-product div.product div.summary,
    .single-product div.product div.images {
        width: 100%;
        float: none;
    }
    
    .single-product div.product div.summary {
        order: 2;
        padding-right: 0;
    }
    
    .single-product div.product div.images {
        order: 1;
        text-align: center;
    }
    
    .single-product div.product div.images img {
        margin: 0 auto;
    }
    
    .single-product div.product div.images .flex-control-thumbs {
        justify-content: center;
    }
}

.single-product span.onsale{
    display: none;
}
.single-product div.product div.images .flex-control-thumbs {
    justify-content: flex-start;
}
.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
        margin: 0 14px 1.6em 0 !important;
}
.onsale+.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    top: 20px;
    right: 20px;
}

/* Style the quantity wrapper */
.woocommerce div.product form.cart div.quantity {
    float: none;
    margin: 0 0 20px 0;
    display: inline-flex;
    border: 2px solid #000;
    border-radius: 0;
    overflow: hidden;
    width: auto;
    min-width: 100px;
    height: 60px;
}

/* Hide default browser arrows for number input */
.woocommerce .quantity input::-webkit-outer-spin-button,
.woocommerce .quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.woocommerce .quantity input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}

/* Style the input field */
.woocommerce .quantity .qty {
    width: 50px;
    border: none;
    padding: 0;
    height: 100%;
    text-align: center;
    font-size: 16px;
    margin: 0;
    background: transparent;
}

/* Create and style the minus and plus buttons */
.woocommerce .quantity {
    position: relative;
}

.woocommerce .quantity:before,
.woocommerce .quantity:after {
    content: "-";
    position: absolute;
    width: 25px;
    height: 100%;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.2s;
    user-select: none;
}

.woocommerce .quantity:before {
    content: "-";
    left: 0;
}

.woocommerce .quantity:after {
    content: "+";
    right: 0;
}

.woocommerce .quantity:hover:before,
.woocommerce .quantity:hover:after {
    background-color: #f5f5f5;
}

/* Make the input inside the box */
.woocommerce div.product form.cart div.quantity input {
    border: none;
    box-shadow: none;
    outline: none;
}

/* Add padding to the input to account for the buttons */
.woocommerce .quantity .qty {
    padding: 0 45px;
}
.woocommerce div.product form.cart div.quantity input {
    border: none;
    box-shadow: none;
    outline: none;
    color: #000;
    font-size: 20px;
    text-align: center;
    margin: 0 auto;
}
.product_meta .sku_wrapper,
.product_meta .posted_in,
.product_meta .tagged_as{
    display: block;
}

.product_meta span.sku_wrapper,
.product_meta span.posted_in,
.product_meta span.tagged_as{
    font-weight: bold;
}

.product_meta span.sku_wrapper .sku{
    font-weight: normal;
}
.product_meta span.posted_in a{
    font-weight: normal;
}
.product_meta span.tagged_as a{
    font-weight: normal;
}

.wp-block-woocommerce-cart-order-summary-block{
    display: none;
}

div.is-ajax-search-details,
div.is-ajax-search-result {
    background: #2F2F2F;
}

.simplebar-content-wrapper {
    background: #EDE8E2;
}

.is-ajax-search-details, .is-ajax-search-details *, .is-ajax-search-result, .is-ajax-search-result * {
    background: #EDE8E2 !important;
}
.is-ajax-search-details .product.woocommerce.add_to_cart_inline a {
    background: #2F2F2F !important;
    padding: 10px 15px;
}
.is-ajax-search-details .input-text.qty.text{
    border:2px solid #2F2F2F !important;
    padding:5px 10px !important;
}

.is-ajax-search-details .is-ajax-woocommerce-actions .quantity:before{
    display:none !important;
}
.is-ajax-search-details .is-ajax-woocommerce-actions .quantity:after{
    display:none !important;
}
.primary-navigation .primary-menu-container > ul > .menu-item > a {
    font-size: 14px !important;
    padding: 0 25px !important;
}
.single-product.singular .entry-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom:0;
    padding-bottom:0;
 }

 span.woocommerce-Price-amount.amount bdi{
    font-weight: bold;
    font-size: 26px;
}

.price del span.woocommerce-Price-amount.amount bdi{
    font-weight: normal;
    font-size: 16px;
    margin-right:   20px;
}
.woocommerce-product-details__short-description p{
    font-size: 16px;
    line-height: 20px;
    font-weight: normal;
}
.woocommerce-product-details__short-description{
    margin-bottom:  60px !important;
}
.singular .entry-title {
    font-size: 32px !important;
    font-weight: 400 !important;
    margin-top: 50px !important;
}
.singular .entry-header {
    border: none !important;
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
}
.woocommerce-cart .entry-content .wp-block-heading.has-text-align-center,
.woocommerce-cart .entry-content .wc-block-grid.wp-block-product-new.wp-block-woocommerce-product-new.wc-block-product-new{
    display: none !important;
}
.woocommerce-cart .entry-content .wp-block-heading.has-text-align-center.with-empty-cart-icon.wc-block-cart__empty-cart__title{
    display: block !important;
}
.woocommerce-cart .wc-block-components-main.wc-block-cart__main.wp-block-woocommerce-cart-items-block {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}
.woocommerce-cart .wc-block-components-sidebar {
    width: 100% !important;
}
body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) {
    width: 240px;
    background: transparent;
    border: 2px solid #2F2F2F;
    font-size: 18px !important;
}
.woocommerce-cart .is-large.wc-block-cart .wc-block-components-sidebar {
    text-align: right;
}
.woocommerce-cart .wc-block-cart-item__wrap{
    position: relative;
}
.woocommerce-cart .wc-block-cart-item__quantity{
    position: absolute;
    top: 0;
    right: 0;   
}
.woocommerce-checkout .wp-block-woocommerce-checkout{
    margin: 0 auto !important;
}
.wpcf7-form input.wpcf7-text,
.wpcf7-form textarea.wpcf7-textarea{
    background: transparent !important;
    width: 100%;
    max-width: 440px;
    border: 1px solid #2F2F2F !important;
}
.wpcf7-form input.wpcf7-number{
    background: transparent !important;
    width: 100%;
    max-width: 440px;
    border: 1px solid #2F2F2F !important;
}
.wpcf7-form input.wpcf7-text{
    margin-bottom: 20px;
}
.wpcf7-form{
    margin-bottom: 40px;
}
.woocommerce-checkout input{
    background: transparent !important;
}
.woocommerce-checkout #shipping-country{
    background: transparent !important;
}
.wc-block-checkout__add-note .wc-block-components-textarea {
    background: transparent !important;
    border: 1px solid #2F2F2F;
}
.wc-blocks-components-select .wc-blocks-components-select__container {
    background: transparent !important;
}

.woocommerce-pagination {
    text-align: right;
}


/* Base styles */
.shop-container {
    position: relative;
    width: 100%;
    margin-top: 50px !important;
}
.shop-main{
    margin: 0;
    padding: 0; 
}

/* Accordion styles */
.accordion-header.active {
    font-weight: bold;
}

.accordion-icon {
    font-size: 18px;
    line-height: 1;
}

.woocommerce-cart .wc-block-components-product-metadata{
    display: none;
}

/* Responsive styles */
@media (max-width: 1080px) {
    .burger-menu-toggle {
        display: flex;
        align-items: center;
        background-color: #f7f7f7;
        border-radius: 4px;
        margin-bottom: 15px;
        position: relative;
        z-index: 101; /* Higher than the sidebar */
        margin-top: 50px !important;
    }
    
    .shop-container {
        display: block;
    }
    
    .shop-sidebar {
        display: none; /* Hidden by default on mobile */
        width: 100%;
        position: absolute; /* Position absolutely to overlay content */
        top: 100%; /* Position right below the burger menu */
        left: 0;
        z-index: 100;
        background-color: white;
        padding: 15px;
        border: 1px solid #eee;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .shop-main {
        width: 100%; /* Full width on mobile */
    }
}

@media (min-width: 1080px) {
    .burger-menu-toggle {
        display: none; /* Hide burger on desktop */
    }
    
    .shop-container {
        display: flex;
    }
    
    .shop-sidebar {
        display: block !important; /* Always show sidebar on desktop */
        width: 25%;
        padding-right: 1.5rem;
    }
    
    .shop-main {
        width: 75%;
    }
}
@media (max-width: 1080px) {
    header.site-header{
        display: none;
    }
    #wprmenu_bar .menu_title{
        max-width: 200px;

    }
    #wprmenu_bar .menu_title img{
        max-width: 100%;
        height: auto !important;
    }
     #wprmenu_bar{
        width: 100% !important;
    }
    .footer-info p {
        font-size: 12px;
        line-height: 16px;
        text-align: center;
    }
    .footer-links {
        float: none;
        margin-top: 10px;
        text-align: center;
    }
    .footer-links a {
        text-align: center;
        margin-left: 10px;
        margin-right: 10px;
    }
    .powered-by {
        margin-top: 0 !important;
        display: block;
        text-align: center;
    }
}

@media only screen and (max-width: 768px) {
    .woocommerce .onsale, 
    .woocommerce-page .onsale {
        right:unset !important; 
    }

    .woocommerce-cart .wc-block-cart-item__quantity {
        position: relative;
        top: unset;
        right: unset;
    }
}