/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* تخصيص تصنيف المنتجات  */
/* الكارد الأساسي */
.woocommerce ul.products li.product-category {
  background: #F6F1EB;
  border-radius: 22px;
  text-align: center;
  transition: all 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(212,175,55,0.12);
  overflow: hidden;
  position: relative;
}

/* تأثير خفيف داخلي (Luxury feel) */
.woocommerce ul.products li.product-category::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* الصورة */
.woocommerce ul.products li.product-category img {
  border-radius: 18px;
  margin-bottom: 12px;
  transition: transform 0.5s ease;
}

.woocommerce ul.products li.product-category h2 {
  font-size: 15px;
  font-weight: 500;
  color: #57493C;
  letter-spacing: 0.5px;

  /* 👇 الخط الجديد */
  font-family: "Cairo", sans-serif;

  transition: all 0.3s ease;
}
/* إزالة العدد */
.woocommerce ul.products li.product-category .count {
  display: none !important;

}

/* Hover effect */
.woocommerce ul.products li.product-category:hover {
  transform: translateY(-8px) scale(1);

  /* 👇 الشادو الجديد بلونك */
  box-shadow: 
    0 15px 35px rgba(87, 73, 60, 0.18),
    0 5px 15px rgba(87, 73, 60, 0.08);

  border-color: rgba(87, 73, 60, 0.25);
}

/* تفعيل الإضاءة */
.woocommerce ul.products li.product-category:hover::before {
  opacity: 1;
}

/* تكبير الصورة */
.woocommerce ul.products li.product-category:hover img {
  transform: scale(1.08);
}

تحسين العنوان عند الهوفر
.woocommerce ul.products li.product-category:hover h2 {
  color: #3E332A;
  letter-spacing: 1px;
}


/* تخصيص تصنيف المنتجات  */



/* تخصيص شكل المنتجات ي الموقع  */

.woocommerce ul.products li.product {
    background: #fff;
    border-radius: 22px;
    padding: 10px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid #f5f5f5;
    transition: .3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
}

.woocommerce ul.products li.product img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 10px;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
    min-height: auto;
    font-family: "Cairo", sans-serif;
}

.woocommerce ul.products li.product .price {
    font-size: 16px;
    font-weight: 700;
    color: #d4a64a;
    margin-bottom: 8px;
}

.woocommerce ul.products li.product .star-rating {
    margin-bottom: 8px;
    font-size: 12px;
}

.woocommerce ul.products li.product .button {
    width: 100%;
    border-radius: 14px;
    padding: 10px;
    font-size: 13px;
    margin-top: 4px;
    background: #D4AF37;
    color: #fff;
}

.woocommerce ul.products li.product .button:hover {
    background: #C9A24D;
}

@media (max-width:768px){

    .woocommerce ul.products {
        grid-template-columns: repeat(2,1fr);
        gap: 12px;
    }

    .woocommerce ul.products li.product {
        padding: 8px;
        border-radius: 16px;
    }

}
/* تخصيص شكل المنتجات ي الموقع  */


 /* توحيد  حجم صور منتجات  في صفحة المنتج الواحد بحيث اا الصورة طولية تنقص   */
 /* و لما ينضغط  عليها تظهر بحجمها الطبعيعي 
 (lightbox) */

.single-product div.product .woocommerce-product-gallery__image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}
 /* توحيد  حجم صور منتجات  في صفحة المنتج الواحد بحيث اا الصورة طولية تنقص   */
 /* و لما ينضغط  عليها تظهر بحجمها الطبعيعي 
 (lightbox) */
/* تخخصيص للمنتجات دون التاثير على التصنيفات  */
/* .woocommerce ul.products:not(.product-categories) {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

@media (max-width:768px){

    .woocommerce ul.products:not(.product-categories) {
        grid-template-columns: repeat(2,1fr);
        gap:12px;
    }

} */

/* تخخصيص للمنتجات دون التاثير على التصنيفات  */



/*اظهار العنوان في  صفحة المنتج الواحد */
/* Force show WooCommerce product title */
.single-product .woocommerce div.product .product_title,
.single-product .woocommerce-page div.product .product_title,
.single-product h1.product_title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/*اظهار العنوان في  صفحة المنتج الواحد */