/*
 Theme Name: Astra Child
 Theme URI: https://golnooshgallery.ir
 Description: Child Theme for Astra
 Author: Hamid Tolou
 Template: astra
 Version: 1.0
 Text Domain: astra-child
*/

/*
 Theme Name: Astra Child
 ...
*/
/*====================================================
    1. Variables
====================================================*/


/*====================================================
    2. General
====================================================*/


/*====================================================
    3. Header
====================================================*/
/*.site-header {*/
/*    background: #fff;*/
    /*border-bottom: 1px solid #eee;*/
/*    box-shadow: 0 2px 8px rgba(0,0,0,.05);*/
/*}*/
/*.site-navigation a {*/
/*    padding: 0 18px;*/
/*    font-weight: 600;*/
/*}*/

/*.site-navigation a:hover {*/
/*    color: #d98b1d;*/
/*}*/
/*.ast-site-identity {*/
/*    padding: 0;*/
/*    margin: 0;*/
/*}*/

/*.ast-builder-grid-row {*/
/*    min-height: 72px;*/
/*}*/

/*.custom-logo-link img {*/
/*    max-height: 56px;*/
/*    width: auto;*/
/*}*/
/*.ast-menu-hover-style-underline .menu-link:before,*/
/*.ast-menu-hover-style-underline .menu-link:after{*/

/*    display:none !important;*/

/*    content:none !important;*/

/*}*/
/*version 2*/
.custom-logo{
    transition:
        transform .35s ease;
}
.site-branding:hover .custom-logo{
    transform:scale(1.04);
}
.main-header-menu .menu-link:hover{
    color:#F4A62A;
     transform:translateY(-2px);
    font-weight:700;
    transform:translateY(-2px);

}
.main-header-menu .menu-link{
    font-size:16px;
    font-weight:600;
    color:#444;
    transition:all .25s ease;
    transition:
        color .30s ease,
        transform .30s ease;
    position:relative;
}
.main-header-menu > .menu-item{
    margin:0 10px;
}

.main-header-menu .menu-link{
    position:relative;
}

#masthead .ast-above-header-bar{

    background:#ffffff;
    border-bottom:1px solid #f3f3f3;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}


/*.site-header{*/
/*    background:rgba(255,255,255,.82);*/
/*    backdrop-filter:blur(12px);*/
/*    box-shadow:*/
/*        0 2px 14px rgba(0,0,0,.05);*/

/*     transition:*/
/*        all .45s cubic-bezier(.22,.61,.36,1);*/

/*}*/

.main-header-menu .menu-link::after{
    content:"";

    position:absolute;

    bottom:-10px;

    left:50%;

    width:0;

    height:3px;

    border-radius:10px;

    background:#F4A62A;

    transition:all .35s ease;

    transform:translateX(-50%);

}
.main-header-menu li:hover .menu-link::after{

    width:45%;

}
.main-header-menu .menu-link:hover::after{
    width:100%;
}

.main-header-menu .menu-link:hover{

    transform:translateY(-2px);

}

.main-header-menu > li{
    margin:0 10px;
}

.current-menu-item .menu-link::after{
    width:45% !important;
}

/*.site-header.scrolled{*/
/*    margin-top:12px;*/
/*    width:96%;*/
/*    max-width:1380px;*/
/*    left:50%;*/
/*    transform:translateX(-50%);*/
/*    border-radius:18px;*/
/*   box-shadow:*/

/*        0 8px 20px rgba(0,0,0,.05),*/

/*        0 18px 45px rgba(0,0,0,.08);*/

/*}*/
/*.custom-logo{*/

/*    transition:*/
/*        transform .4s ease;*/

/*}*/

/*.site-header.scrolled .custom-logo{*/

/*    transform:scale(.88);*/

/*}*/
/*.ast-above-header-bar{*/

/*    transition:*/
/*        padding .35s ease;*/

/*}*/

/*.site-header.scrolled .ast-above-header-bar{*/

/*    padding-top:8px;*/

/*    padding-bottom:8px;*/

/*}*/

/*.site-header.scrolled::before{*/

/*    content:"";*/

/*    position:absolute;*/

/*    top:0;*/

/*    right:0;*/

/*    width:100%;*/

/*    height:3px;*/

/*    background:linear-gradient(*/
/*        90deg,*/
/*        #F4A62A,*/
/*        #F8C85A*/
/*    );*/

/*    border-radius:18px 18px 0 0;*/

/*}*/

.site-header{

    background:#fff;

    box-shadow:
        0 3px 18px rgba(0,0,0,.05);

    transition:
        box-shadow .35s ease,
        background .35s ease;

}
.ast-above-header-bar{

    transition:
        padding .35s ease;

    padding-top:18px;

    padding-bottom:18px;

}

.site-header.scrolled .ast-above-header-bar{

    padding-top:10px;

    padding-bottom:10px;

}
.custom-logo{

    transition:
        transform .35s ease;

    transform-origin:right center;

}

.site-header.scrolled .custom-logo{

    transform:scale(.88);

}
.main-header-menu .menu-link{

    transition:
        color .30s ease,
        transform .30s ease;

}

.main-header-menu .menu-link:hover{

    transform:translateY(-2px);

}
.current-menu-item > a{

    font-weight:700;

}

/*====================================================
    4. WooCommerce
====================================================*/
@media (max-width: 767px) {

    .woocommerce ul.products{
        display:block;
    }

    .woocommerce ul.products li.product-category{
        width:100% !important;
        max-width:100% !important;
        margin:0 0 24px 0 !important;
        float:none !important;
        clear:both;
    }

}
/* =========================================
   Product Categories
========================================= */
.category-riyazi{
    --category-color:#F4A62A;
    --category-light:#FFF6E9;
}

.category-farsi{
    --category-color:#4EA5FF;
    --category-light:#EEF7FF;
}

.category-oloom{
    --category-color:#43AA8B;
    --category-light:#EDF8F4;
}

.category-gift{
    --category-color:#8D65C5;
    --category-light:#F5F0FC;
}

.category-learning{
    --category-color:#FF6723;
    --category-light:#FFF1EA;
}
.category-classdesign{
    --category-color:#81C784;
    --category-light:#EDF8EE;
}
/*.category-classdesign{*/
/*    --category-color:#FF8A65;*/
/*    --category-light:#FFF1EC;*/
/*}*/

.category-numbers{
    --category-color:#5C6BC0;
    --category-light:#EEF0FB;
}

/* Card */
.product-category{
    border-radius:22px;
    overflow:hidden;
    background:#fff;
    transition:all .35s ease;
    /*box-shadow:0 8px 22px rgba(0,0,0,.06);*/
    border:1px solid #f3f3f3;
    position:relative;
    min-height:520px;
    display: flex;
   
     
    
}
/*.woocommerce ul.products  li.product{*/
/*   box-shadow:none !important;*/
/*    0 8px 20px rgba(0,0,0,.06),*/
/*    0 2px 6px rgba(0,0,0,.04) !important;*/
/*}*/

.product-category{
   box-shadow:
    0 6px 14px rgba(0,0,0,.06),
    0 2px 5px rgba(0,0,0,.04) !important;
}

.product-category:hover{
  box-shadow:
    0 10px 22px rgba(0,0,0,.08),
    0 4px 10px rgba(0,0,0,.03) !important;
}
/*ul.products li.product-category::before{*/

/*    content:"";*/

/*    position:absolute;*/

/*    top:0;*/
/*    left:0;*/

/*    width:100%;*/
/*    height:6px;*/

    /*background:linear-gradient(*/
    /*    90deg,*/
    /*    #F4A62A,*/
    /*    #F6C25B*/
    /*);*/

/*    z-index:10;*/

/*}*/
.product-category:hover::before{

    width:130px;

}
.product-category:hover{

    transform:translateY(-8px);

    box-shadow:0 22px 40px rgba(0,0,0,.14);

}

.product-category::before{
    background:var(--category-color);
}

.product-category:hover .golnoosh-category-link::after{
    transform:translateX(-5px);
}

/*.golnoosh-category-link{*/
/*   display:inline-flex;*/
/*    align-items:center;*/
/*    justify-content:center;*/
/*    margin-top:auto;*/
/*    padding:10px 18px;*/
/*    border:2px solid #63A541;*/
/*    border-radius:30px;*/
/*    color:#63A541;*/
/*    font-size:15px;*/
/*    font-weight:700;*/
/*    transition:all .35s ease;*/
/*    width:fit-content;*/
/*    align-self:center;*/
/*    box-shadow: 0 6px 14px rgba(99,165,65,.18);*/
/*}*/
.golnoosh-category-link{
    font-size:15px;
    font-weight:600;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 18px;
    margin-top:auto;
    border-radius:20px;
    border:2px solid var(--category-color);
    color:var(--category-color);
    background:white;
    transition:
        background .30s ease,
        color .30s ease,
        border-color .30s ease,
        box-shadow .30s ease;

}
/*.golnoosh-category-link:hover{*/
/*    box-shadow:0 10px 20px rgba(99,165,65,.28);*/
/*}*/
.product-category:hover .golnoosh-category-link{
    background:var(--category-light);
    border-color:var(--category-color);
    color:var(--category-color);
    box-shadow:0 6px 16px rgba(0,0,0,.08);
}
.golnoosh-arrow{
    color:inherit;
    margin-right:6px;
    margin-left:6px;
    transition:transform .30s ease;
}
.product-category:hover .golnoosh-arrow{

    transform:translateX(4px);

}
ul.products li.product-category::before{
    content:"";
    position:absolute;
    top:0;
    right:20px;
    width:110px;
    height:10px;
    border-radius:0 0 14px 14px;
    /*transition:.35s;*/
    z-index:20;
}
/*.golnoosh-category-link::after{*/

/*    content:"←";*/

/*    margin-right:8px;*/

/*    transition:.35s;*/

/*}*/
/*.golnoosh-arrow{*/

/*    display:inline-block;*/
/*    margin-right:8px;*/
/*    margin-left:8px;*/
/*    transition:.35s;*/

/*}*/

.product-category:hover .golnoosh-arrow{

    transform:translateX(5px);

}

/*ul.products li.product-category img{*/

/*    transition:transform .45s ease;*/

/*}*/
/*ul.products li.product-category:hover img{*/

/*    transform:scale(1.06);*/

/*}*/
/*ul.products li.product-category h2{*/
/*    font-size:41px;*/
/*    font-weight:700;*/
/*    line-height:1.35;*/
/*    color:#333;*/
/*}*/

.golnoosh-category-image{
    overflow:hidden;
    /*aspect-ratio: 1 / 1;*/
    /*overflow:hidden;*/
    height:260px;
    padding:12px;
    object-fit:cover;
    border-radius:18px 18px 0 0;
}
.woocommerce ul.products li.product-category .golnoosh-category-image img{
     box-shadow:
     /*0 4px 10px rgba(0,0,0,.06);*/
       0 4px 10px rgba(0,0,0,.06),
    0 2px 5px rgba(0,0,0,.03)
}

/*.woocommerce ul.products li.product-category .golnoosh-category-image:hover img{*/
/*    transform:scale(1.0);*/
/*}*/

.woocommerce ul.products li.product-category:hover  .golnoosh-category-image img{
    transform:scale(1) ;
}

ul.products li.product-category .golnoosh-category-image img{
    border-radius:20px;
    width:100%;
    display:block;
    flex:0 0 auto;
    /*transition:.4s;*/
  
}

.golnoosh-category-content{
    padding:24px;
    display:flex;
    flex-direction:column;
    flex:1;
    /*text-align:center;*/
}

.golnoosh-category-title{
    font-size:21px;
    font-weight:700;
    line-height:1.35;
    margin:15px 0px 8px;
    color:#3F3F3F;
}

.golnoosh-category-description{
    color:#6E756F ;
    font-size:15px;
    line-height:1.8;
    font-weight:400;
    text-align:center;
    min-height:55px;
    margin:8px 0 20px;
}

/* remove astra's overlay*/
ul.products li.product-category .woocommerce-loop-category__title {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 15px 0 6px 0 !important;
    text-align:center;
    font-size:22px;
    font-weight:700;
    color:#2F2F2F;
    line-height:1.4;
}

/* Whole card is clickable */
ul.products li.product-category > a{
    display:flex;
    flex-direction:column;
    /*height:100%;*/
    flex: 1;
    text-decoration:none;
}

/*.category-riyazi .golnoosh-category-link{*/
/*    color:#F4A62A;*/
/*    border:2px solid #F4A62A;*/
/*    background:#fff;*/
/*    transition:*/
/*        background .30s ease,*/
/*        color .30s ease,*/
/*        border-color .30s ease,*/
/*        box-shadow .30s ease;*/
/*}*/
/*.category-riyazi .golnoosh-category-link:hover{*/
/*    background:#F4A62A;*/
/*    color:#fff;*/
/*}*/
/*.category-riyazi:hover .golnoosh-category-link{*/
/*    background:#FFF6E9;*/
/*    color:#F4A62A;*/
/*    border-color:#F4A62A;*/
/*    box-shadow:0 6px 16px rgba(244,166,42,.18);*/
/*}*/
/*.category-riyazi .golnoosh-arrow{*/
/*    display:inline-block;*/
/*    margin-right:6px;*/
/*    transition:transform .30s ease;*/
/*}*/
/*.category-riyazi:hover .golnoosh-arrow{*/
/*    transform:translateX(4px);*/
/*}*/

/*.category-farsi .golnoosh-category-link{*/
/*    color:#4EA5FF;*/
/*    border-color:#4EA5FF;*/
/*}*/
/*.category-farsi .golnoosh-category-link:hover{*/
/*    color:#fff;*/
/*    background:#4EA5FF;*/
/*}*/
/*.category-farsi:hover .golnoosh-category-link{*/
/*    color:#fff;*/
/*    background:#4EA5FF;*/
/*}*/




/*====================================================
    5. Product Cards
====================================================*/
.woocommerce ul.products li.product {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    transition: all .3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,.15);
}
.ast-woocommerce-container{
    padding:0px 8px 0px 8px;
}

/* فاصله داخلی کل بخش متن محصول */
.woocommerce ul.products li.product .astra-shop-summary-wrap {
    padding: 14px 16px;
}

/* عنوان محصول */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 6px 0 10px 0;
    line-height: 1.6;
    font-size: 15px;
}
.woocommerce ul.products li.product .astra-shop-summary-wrap {
    padding: 14px 16px;
}
/* Product Content Padding */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .star-rating,
.woocommerce ul.products li.product .button {
    margin-left: 15px;
    margin-right: 15px;
}
/* کارت محصول حرفه‌ای‌تر */
.woocommerce ul.products li.product {
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
}

/* افکت هاور (خیلی مهم برای مدرن شدن سایت) */
.woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.woocommerce ul.products li.product .astra-shop-summary-wrap {
    padding: 14px 16px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
    margin-top:15px;
}

/* تصویر محصولات */
.woocommerce ul.products li.product img{
    width:100%;
    height:300px;
    object-fit:cover;
    transition:.35s;
}
/* افکت روی تصویر */
.woocommerce ul.products li.product:hover img{
    transform:scale(1.05);
}

/* کل قسمت اطلاعات محصول */
.astra-shop-summary-wrap{

    padding:18px !important;

    display:flex;
    flex-direction:column;

    justify-content:space-between;

    flex-grow:1;
}
.woocommerce-loop-product__title{

    min-height:52px;

    line-height:1.7;

    font-size:16px;

    font-weight:600;
}
.price{

    margin-top:10px;

    margin-bottom:15px;

    font-weight:bold;

    color:#444;
}
.button{

    width:100%;

    border-radius:12px;

    padding:12px;
}

.star-rating{

    min-height:22px;

    margin:8px auto;

}
/*====================================================
    6. Buttons
====================================================*/
/* دکمه خرید */
.woocommerce ul.products li.product .button {
    margin-top: 10px;
    margin-bottom:15px;
	 display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    min-height:44px;
}

.button {
    border-radius: 30px !important;
}
/*====================================================
    7. Footer
====================================================*/

.site-footer{
    border-top:1px solid #D79B2E55;
    box-shadow:
        0 -10px 35px rgba(0,0,0,.08);
    padding-top:55px;
    padding-bottom:35px;
    background:#FAF6EF;        
}
.golnoosh-footer-description{

    font-size:15px;

    color:#444;

    line-height:1.9;

    max-width:520px;

    margin:auto;

}
.site-footer a{

    color:#5A4A3F;

    font-weight:600;

    transition:.3s;

}
.site-footer a:hover{

    color:#D79B2E;
    transform:translateY(-3px);

}
.widget widget_media_image{
    text-align:center;
}
.ahfb-svg-iconset{
    /*transform:translateY(-10px);*/
    width:42px;
    height:42px;
    border-radius:50%;
    align-items:center;
    justify-content:center;
    display:flex;
}
/*.site-footer .footer-social-inner-wrap a{*/
    /*display:flex;*/
/*    justify-content:center;*/
/*    align-items:center;*/
/*}*/
.golnoosh-followme{
    font-size:16px;
font-weight:600;
color:#6A5A4A;
}
.golnoosh-footer-description{
      line-height:1.8;
}
/*====================================================
    8. Responsive
====================================================*/

.gold-divider-r{
    height:3px;
    width:220px;
    margin:40px auto;
    background:linear-gradient(
        to right,
        transparent,
        #d4a24d
    );
    border-radius:3px;
}

.gold-divider-l{
    height:3px;
    width:220px;
    margin:40px auto;
    background:linear-gradient(
        to left,
        transparent,
        #d4a24d
    );
    border-radius:3px;
}



.golnoosh-social-section {
    text-align: center;
}

.golnoosh-social-title {
    margin: 0 0 10px 0;
    font-weight: 600;
}

.golnoosh-social-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.bale-icon{
    transform: translateX(-2px);
}
.golnoosh-social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0e6c5;
    transition: transform 0.25s ease,
                background-color 0.25s ease;
}

.golnoosh-social-icons svg,
.golnoosh-social-icons img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.golnoosh-social-icons svg {
    fill: #7a6a5a;
}

.golnoosh-social-icons a:hover {
    transform: translateY(-3px);
    background: #dba44bc9;
}

.golnoosh-social-icons a:hover svg {
    fill: #c88719;
}