/**
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
*/



/*====== Start Style Homepage ======*/


/*====== End Style Homepage ======*/

.blur-background {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  backdrop-filter: blur(15px);
}


/*=================== Header Start Style ================*/
@media(max-width:767px){
  
  .site-header.header-scroll-before{
padding-right:0px!important;

}



.header-col.hcol-2{
width:20%!important; padding:10px 15px 5px 15px!important;

}

.header-col.hcol-3{
width: 50%!important;
}



.header-col.hcol-4 {
  width: 0%!important;
}

.header-col.hcol-5{
width: 51%!important;

}
  
  
}

/*=================== Header End End ================*/




.header-container {
  padding: 15px 0px;
}



/* ==================== الهيدر (الخلفية والتموضع) ==================== */
.header-scroll-before {
position: relative;
z-index: 1000;
width: 100%;
background-color: #0B1728 !important; /* تغيير لون الخلفية */
transition: all 0.3s; /* تأثير انتقالي سلس */
}

.sticky {
position: fixed;
top: 0;
left: 0;
}

/* ==================== الأعمدة (يمكن تنسيقها أكثر حسب الحاجة) ==================== */
/* هنا اكتفينا بالتنسيق inline في header.php */

/* ==================== القائمة الجانبية (Sidebar Menu) ==================== */
@media(max-width:767px){
.customSidebar {
    height: 100%;

  width: 72% !important;
  position: fixed;
z-index: 2;
top: 0;
right: 0;
background-color: #0000003b !important;
overflow-x: hidden;
transition: transform 0.5s ease;
transform: translateX(100%);
padding-top: 10px;
overflow-y: auto;
margin: 10px;
border-radius: 20px;
}
#customMenuIcon span {
  display: none;
}
}

.customSidebar {
height: 100%;
width: 30%; /* عرض ثابت للقائمة */
position: fixed;
z-index: 2;
top: 0;
right: 0;
background-color: #0B1728;
overflow-x: hidden;
transition: transform 0.5s ease;
transform: translateX(100%); /* حالة افتراضية: مخفية */
padding-top: 10px;
overflow-y: auto; 
}

.customHeader {
padding: 10px;
text-align: right;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
direction: rtl;
margin-top: 0px !important;
background-color: #0B1728;
border-bottom: 1px solid #818181;
}

.customHeader h2 {
margin-right: 0.5rem;
text-align: right;
margin-bottom: 0px !important;
font-size: 1rem;
font-family: 'cairo', sans-serif;
color: #ffffff;
font-weight: 700;
}

.customHeader button {
background-color: #fff0;
font-size: 1.1rem;
padding-top: 6px;
padding-left: 10px;
cursor: pointer;
color: #fff;
border: none;
}

#customMenuIcon {
cursor: pointer;
direction: rtl;
font-family: 'cairo', sans-serif;
color: #fff;
font-size: 20px;
text-align: right;
}

.customMenuItems {
list-style-type: none;
padding: 0px 0px 40px;
margin: 15px;
direction: rtl;
}

.customMenuItems li {
cursor: pointer;
padding: 10px 10px;
text-align: right;
color: #fff !important;
font-size: 16px;
font-family: 'Cairo', sans-serif;
font-weight: 700;
border-bottom: 1px solid #c9c9c96e;
}

.customMenuItems li img {
width: 40px;
height: 40px;
border-radius: 50px;
vertical-align: middle;
margin-left: 10px;
}

#tapContent {
display: none;
margin: 15px;
direction: rtl;
color: #fff !important;
font-size: 16px;
font-family: 'Cairo', sans-serif;
font-weight: 700;
padding-bottom: 20px;
}
#tapContent ul {
list-style-type: none;
margin: 15px;
cursor: pointer;
color: #fff !important;
font-size: 16px;
font-family: 'Cairo', sans-serif;
font-weight: 700;
padding-bottom: 20px;
}
#tapContent ul li {
padding: 10px 25px 10px 0px;
text-align: right;
border-bottom: 1px solid #c9c9c96e;
}

.back-side {
background-color: #fff0;
border: 1px solid #fff;
border-radius: 5px;
font-family: 'cairo', sans-serif;
font-size: 17px !important;
margin-left: 20px;
margin-top: 22px;
padding: 13px 30px;
cursor: pointer;
}
.back-side:hover {
background-color: #F3F4F6;
color: #0B1728;
border-color: #0B1728;
}

.all-button-social {
position: relative;
bottom: 20px;
width: 100%;
text-align: center;
}

/* خلفية بلورية منفصلة للقائمة الجانبية */
#blurBackgroundMenu {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgb(0 0 0 / 34%);
backdrop-filter: blur(15px);
z-index: 15;
display: none;
}

/* ==================== البحث (Search Popup) ==================== */
.search-div-icon {
text-align: right;
}
.search-icon {
color: #fff !important;
cursor: pointer;
}
.search-popup {
display: none;
}
.all-form {
position: fixed;
top: 20%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #0B1728;
padding: 10px 20px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
z-index: 1000;
justify-content: center;
align-items: center;
direction: rtl;
border-radius: 0.375rem;
width: 700px;
border-color: #0f1e33;
height: 60px;
}

.search-form {
display: flex;
align-items: center;
}
.all-form input {
flex: 1;
margin: 0px 0px 0px 10px;
}
.search-icon-popup {
color: #9ca3af;
}
.close {
cursor: pointer;
text-align: center;
margin-right: 10px;
color: #f87171;
}
.all-form .fas {
margin-bottom: 0px !important;
}
.input-search {
width: 600px !important;
font-family: 'cairo', sans-serif;
font-size: 15px;
color: #fff !important;
background-color: #0B1728 !important;
border: none !important;
}

.search-result-item {
display: flex;
align-items: center;
padding: 10px;
border-bottom: 1px solid #0f1e33;
}
.search-result-item img {
width: 50px;
margin-right: 10px;
}
.search-result-item .product-name {
color: #fff;
text-align: right;
padding: 0px 11px;
}
.search-result-item .product-price {
margin-right: 10px;
}
.no-results {
text-align: center;
padding: 61px;
border: 1px solid #f87171;
}

/* خلفية بلورية خاصة بالبحث */
#blurBackgroundSearch {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.6);
z-index: 999;
backdrop-filter: blur(15px);
}

/* تكييف العرض للموبايل */
@media (max-width:767px) {
.all-form {
  width: 330px !important;
}

}

/* ==================== السلة (Cart Sidebar) ==================== */
.cart-icon {
display: flex;
align-items: center;
cursor: pointer;
direction: rtl;
color: #fff;
gap: 10px;
font-family: 'Cairo', sans-serif;
justify-content: flex-end;
      margin-left: 35px;
}
.cart-total {
font-size: 16px;
margin-left: 10px;
font-weight: bold;
}
.cart-sidebar {
position: fixed;
left: 0;
top: 0;
bottom: 0;
width: 35%;
background-color: #0b1728;
box-shadow: 2px 0 5px rgba(0,0,0,0.5);
transform: translateX(-100%);
transition: transform 0.3s ease;
padding: 0px;
z-index: 1000;
display: flex;
flex-direction: column;
direction: rtl;
}
.cart-sidebar.open {
transform: translateX(0);
width: 35%;
}
.cart-sidebar-header {
text-align: center;
margin-bottom: 15px;
font-size: 18px;
font-weight: bold;
font-family: 'Cairo', sans-serif;
color: #fff;
margin-top: 20px;
}
.cart-items {
display: flex;
flex-direction: column;
flex-grow: 1;
max-height: 400px;
overflow-y: auto;
padding: 20px;
}
.cart-item {
display: flex;
align-items: center;
margin-bottom: 10px;
gap: 25px;
width: 95%;
}
.cart-item img {
object-fit: cover;
width: 80px;
height: 80px;
margin-right: 20px;
border-radius: 0px;
}
.all-details-cart {
color: #fff;
text-align: right;
font-family: 'Cairo', sans-serif;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
margin: 0px 3px 0px 22px;
width: 60%;
}
.cart-item-details {
flex-grow: 1;
}
.cart-item-controls {
display: flex;
align-items: center;
background-color: #2c3e50;
padding: 5px 10px;
border-radius: 5px;
gap: 10px;
direction: ltr;
margin-top: 5px;
}
.cart-item-controls button {
background-color: #34495e;
color: #fff;
border: none;
padding: 5px 10px;
border-radius: 3px;
cursor: pointer;
transition: background-color 0.3s ease;
font-size: 16px;
}
.cart-item-controls button:hover {
background-color: #1abc9c;
}
.cart-item-controls span.quantity {
font-size: 16px;
color: #fff;
min-width: 20px;
text-align: center;
}
i.fa-solid.fa-trash-can {
color: #fff;
cursor: pointer;
font-size: 18px;
}
.cart-summary {
background-color: #050d18;
margin-top: 20px;
}
.coupon {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
}
#coupon-input {
background-color: transparent;
height: 44px;
border-top: 2px solid;
border-right: 2px solid;
border-bottom: 2px solid;
border-left: none;
border-image: linear-gradient(135deg, #0b48a4, #4285f4) 1;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
padding: 0 10px;
color: #fff;
outline: none;
font-family: cairo;
}
button.btn.apply_coupon {
background: linear-gradient(135deg, #0b48a4, #4285f4);
font-family: 'Cairo';
font-size: 14px;
font-weight: 600;
border-bottom-right-radius: 0px;
border-top-right-radius: 0px;
color: #fff;
border: none;
cursor: pointer;
padding: 0 20px;
}

.summary-row {
display: flex;
justify-content: space-between;
font-weight: bold;
margin: 10px 0;
color: #eee;
font-family: 'Cairo';
font-size: 14px;
padding: 0px 22px 0px 25px;
}
.summary-row .price-amount {
font-size: 16px;
font-weight: bold;
color: #387ae5; 
}
.summary-row.discount-row .price-amount {
color: #e74c3c;
}
button.checkout-btn {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
background: linear-gradient(135deg, #0b48a4, #4285f4);
color: #fff;
padding: 20px;
border: none;
font-size: 16px;
cursor: pointer;
font-family: 'Cairo';
font-weight: 600;
direction: ltr;
gap: 10px;
}
.price-before-sale {
color: rgb(255,95,95);
text-decoration: line-through;
margin-left: 10px;
}
.sale-price {
color: #fff;
font-weight: bold;
}
.regular-price {
color: #fff;
font-weight: bold;
text-decoration: none !important;
}
@media (max-width:768px) {
.cart-sidebar.open {
  transform: translateX(0);
  width: 77%;
}
.cart-sidebar {
  width: 100%;
}
.cart-item img {
  width: 60px;
  height: 60px;
  margin-right: 10px;
}
.all-details-cart {
  width: 70%;
}
input#coupon-input {
  height: 38px;
}
}

/***************************************
*        FOOTER GLOBAL STYLES 
***************************************/

@media (max-width:767px) {
.row2 {
  flex-direction: column;
}


.col1 {
  width: 100% !important;
  text-align: center;
}

.col2 {
  width: 100% !important;
  text-align: center !important;
  padding: 23px 0px !important;
}

.col3 {
  width: 100% !important;
  justify-items: center !important;
}


.col1 {
  width: 100% !important;
  padding: 0px !important;
  text-align: center !important;
}

.payment-icons img {
  margin-top: 10px;
}
}