/*
Theme Name: Reboot Child Theme
Template: reboot
Theme URI: https://reboot.axiomthemes.com/
Description: Reboot Child Theme
Author: Axiomthemes
Author URI: https://axiomthemes.com/
Version: 1.0.0
Tested up to: 6.7
Requires at least: 5.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: reboot
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

.child-category-button:contains("All") {
    display: none !important;
}

.cat-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
	padding-bottom: 50px;
}

button.cat-filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  background: #f7f9fc;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #222;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 1px transparent;
}

button.cat-filter-btn:hover {
	background: #eef3ff;
	transform: translateY(-2px);
}

button.cat-filter-btn.active {
	background: #eef3ff;
	border: 2px solid #22174e;
	box-shadow: 0 0 0 1px #22174e;
}


div#cat-filter-products {
	display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    flex-direction: row;
    width: 100%;
    gap: 15px;
}

ul.products {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: center;
    align-items: center;
    gap: 15px;
}

li.product {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: center;
    align-items: center;
    gap: 15px;
}
/* إذا حبيت responsive: على الشاشات الصغيرة */
@media (max-width: 1200px) {
    #cat-filter-products ul.products li.product {
           flex: 0 0 calc(25% - 20px); /* 4 عناصر بالصف */
			box-sizing: border-box;
			min-width: calc(25% - 20px); /* هذا السطر مهم! */
			max-width: calc(25% - 20px);
    }
}

@media (max-width: 768px) {
    #cat-filter-products ul.products li.product {
        width: calc(50% - 10px); /* 2 منتجات في الصف */
    }
}

@media (max-width: 480px) {
    #cat-filter-products ul.products li.product {
        width: 100%; /* 1 منتج في الصف */
    }
}

h2.woocommerce-loop-product__title {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
}

a.shop_cart.icon-shopping-cart.button.add_to_cart_button.product_type_simple.product_in_stock.ajax_add_to_cart
Specificity: (0,7,1)
 {
    font-size: .7REM;
}

/* شاشات متوسطة (تابلت مثلاً) */
@media (max-width: 992px) {
  h2.woocommerce-loop-product__title {
    font-size: 1.1rem;
  }
}

/* شاشات صغيرة (موبايل أفقي أو صغير) */
@media (max-width: 768px) {
  h2.woocommerce-loop-product__title {
    font-size: 1rem;
  }
}

/* شاشات صغيرة جداً (موبايل عمودي صغير) */
@media (max-width: 480px) {
  h2.woocommerce-loop-product__title {
    font-size: 0.9rem;
  }
}

ul.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* خلي العناصر تصطف من اليسار */
    gap: 20px;
    padding: 0;
    margin: 0 auto;
    list-style: none;
    max-width: 1400px; /* اختياري لتحديد عرض الحاوية */
}

/* كل عنصر منتج */
ul.products li.product {
           flex: 0 0 calc(25% - 20px); /* 4 عناصر بالصف */
			box-sizing: border-box;
			min-width: calc(25% - 20px); /* هذا السطر مهم! */
			max-width: calc(25% - 20px);
}

/* للأجهزة اللوحية */
@media (max-width: 1024px) {
    ul.products li.product {
            flex: 0 0 calc(25% - 20px); /* 4 عناصر بالصف */
			box-sizing: border-box;
			min-width: calc(25% - 20px); /* هذا السطر مهم! */
			max-width: calc(25% - 20px);
    }
}

/* للأجهزة الصغيرة (موبايل أفقي) */
@media (max-width: 768px) {
    ul.products li.product {
        flex: 0 0 calc(50% - 20px); /* 2 منتج بالصف */
    }
}

/* للموبايلات الصغيرة جدًا */
@media (max-width: 480px) {
    ul.products li.product {
        flex: 0 0 100%; /* منتج واحد بالصف */
    }
}


.quantity.inited {
    display: flex;
    align-items: center;
}

.woo-actions-inner br {
	display: none;
}

a.checkout-button.button.alt.wc-forward br {
	display: none;
}