/**
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
*/



h1 a,
h2 a,
h3 a,
h4 a {
  font-family: inherit !important;
}

h1.woocommerce-products-header__title.page-title {
  font-size: 40px;
  font-weight: bold;
}

.ast-theme-transparent-header #masthead {
  position: relative !important;
}

.site-logo-img img {
  filter: none !important;
}

aside.header-widget-area.widget-area.site-header-focus-item.header-widget-area-inner
  p {
  margin: 0;
  padding: 15px 0;
}

.woocommerce-js ul.products li.product a img {
  height: 300px !important;
  object-fit: contain;
  padding: 15px;
  background-color: #fff !important;
  margin-bottom: 0;
}

.eael-woo-product-carousel-container.preset-1
  .product-details-wrap
  .product-details {
  width: 100% !important;
}

.woocommerce-Tabs-panel--description table th {
    background-color: #efefef !important;
    text-align: right !important;
}

.woocommerce-Tabs-panel--description table caption {
    font-size: 26px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}


.product-details-wrap {
  flex-direction: column;
  justify-content: initial !important;
  align-items: initial !important;
}

.eael-woo-product-carousel-container.preset-1
  .product-details-wrap
  .eael-product-price {
  width: 100%;
  text-align: right;
  color: #0075be;
  font-size: 18px !important;
}

/* === WooCommerce Form Elements - Modern Style === */

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
  font-size: 1rem;
  appearance: none;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: #0073aa;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15);
  outline: none;
}

/* Label styling */
.woocommerce form .form-row label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

/* Required fields indicator */
.woocommerce form .form-row .required {
  color: red;
  margin-left: 4px;
}

.checkout-button.button.alt.wc-forward {
    display: none !important;
}

.checkout-button.checkout-button-ovverride.button.alt.wc-forward {
    letter-spacing: 0;
    display: block !important;
    font-family: inherit;
}

.eael-onsale.outofstock.sale-preset-5 {
  font-size:0px !important;
}

.eael-onsale.outofstock.sale-preset-5:after {
  content:'نفذت';
  font-size:14px !important;
  font-weight:bold;
}

.woocommerce .woocommerce-ordering {
    margin-bottom: 0 !important;
}

form.woocommerce-ordering + .products {
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.woocommerce .woocommerce-ordering select {
    width: 100%;
    min-width: 200px;
}

/* Buttons */
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button {
  color: #fff;
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:hover {
  background-color: #005d8f;
}

/* Error messages */
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
  border: 1px solid transparent;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.woocommerce .woocommerce-error {
  border-color: #e74c3c;
  background: #fdecea;
  color: #c0392b;
}

.woocommerce .woocommerce-message {
  border-color: #2ecc71;
  background: #eafaf1;
  color: #27ae60;
}

.woocommerce .woocommerce-info {
  border-color: #3498db;
  background: #eaf4fd;
  color: #2980b9;
}

/* === Cart Table Styling === */

.woocommerce-cart table.cart {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: middle;
}

.woocommerce-cart table.cart th {
  background-color: #f8f8f8;
  font-weight: 600;
  color: #333;
}

.woocommerce-cart table.cart td.product-thumbnail img {
  max-width: 60px;
  border-radius: 8px;
}

/* Product name/link */
.woocommerce-cart table.cart td.product-name a {
  color: #0073aa;
  text-decoration: none;
  font-weight: 600;
}
.woocommerce-cart table.cart td.product-name a:hover {
  text-decoration: underline;
}

/* Quantity input */
.woocommerce-cart table.cart input.qty {
  width: 60px;
  padding: 0.5rem;
  text-align: center;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* Remove icon/button */
.woocommerce-cart table.cart a.remove {
  color: #e74c3c;
  font-size: 1.25rem;
  transition: color 0.3s;
}
.woocommerce-cart table.cart a.remove:hover {
  color: #c0392b;
}

/* === Cart Totals Section === */

.cart-collaterals {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.woocommerce-cart .cart_totals {
  width: 100%;
  max-width: 400px;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
}

.woocommerce-cart .cart_totals h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #222;
}

.woocommerce-cart .cart_totals table {
  width: 100%;
  border: none;
}

.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
  padding: 0.75rem 0;
  border: none;
}

/* === Update & Checkout Buttons === */

.woocommerce .actions .button,
.woocommerce .cart_totals .checkout-button {
  background-color: var(--e-global-color-astglobalcolor1) !important;
  color: #fff;
  padding: 0.75rem 1.5rem !important;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.woocommerce .actions .button:hover,
.woocommerce .cart_totals .checkout-button:hover {
  background-color: #005d8f;
}

/* Coupon input */
.woocommerce-cart .coupon input.input-text {
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-right: 0.5rem;
  width: 200px;
}

.woocommerce-cart .coupon label {
  font-weight: 500;
  margin-bottom: 0.25rem;
  display: inline-block;
}

/* Responsive layout */
@media (max-width: 768px) {
  .cart-collaterals {
    flex-direction: column;
  }

  .woocommerce-cart table.cart th,
  .woocommerce-cart table.cart td {
    padding: 0.75rem;
  }
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  li.mega-menu-column-standard
  li.mega-menu-item
  > a.mega-menu-link,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  li.mega-menu-column
  > ul.mega-sub-menu
  > li.mega-menu-item
  li.mega-menu-item
  > a.mega-menu-link {
  color: #666;
  font-size: 16px !important;
  text-align: right !important;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  li.mega-menu-column-standard
  > a.mega-menu-link,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  li.mega-menu-column
  > ul.mega-sub-menu
  > li.mega-menu-item
  > a.mega-menu-link {
  text-align: right !important;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  li.mega-menu-megamenu
  > ul.mega-sub-menu
  > li.mega-menu-row
  .mega-menu-column {
  float: right !important;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  li.mega-menu-column-standard,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  li.mega-menu-column
  > ul.mega-sub-menu
  > li.mega-menu-item {
  float: right !important;
}

ul.mega-sub-menu ul.mega-sub-menu ul.mega-sub-menu ul.mega-sub-menu li {
  width: 50% !important;
  float: right !important;
}

#mega-menu-primary * {
  text-align: right !important;
}
/*
header.entry-header {
  text-align: center;
  padding: 90px 0 !important;
  margin: 0 !important;
  background-color: #0084d6;
}
*/
header.entry-header h1 {
  margin: 0;
  color: #fff;
  font-weight: bold;
}

.ast-separate-container .ast-woocommerce-container {
  background-color: transparent !important;
  padding: 0 !important;
}

.woocommerce-no-products-found .woocommerce-info,
.cart-empty.woocommerce-info {
  border: none;
  background-color: transparent;
  font-size: 22px;
  font-weight: bold;
  color: #000;
  margin: 0;
  padding: 0 !important;
}

.woocommerce-no-products-found .woocommerce-info:before,
.woocommerce-no-products-found .woocommerce-info:after,
.cart-empty.woocommerce-info:before,
.cart-empty.woocommerce-info:after {
  content: none !important;
}

.woocommerce-no-products-found,
.cart-empty.woocommerce-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
}

.cart-empty.woocommerce-info:before {
  content: "" !important;
  height: 300px;
  display: block;
  width: 300px;
  margin: auto;
  position: static;
  background-image: url(images/empty-cart.png);
  background-repeat: no-repeat;
  margin-bottom: 0;
  background-size: contain;
  transform: translate(0, 0) !important;
}

p.return-to-shop a {
  font-size: 16px !important;
  font-family: inherit !important;
  padding: 15px !important;
}
p.return-to-shop {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.woocommerce .woocommerce-message {
  border-color: var(--ast-global-color-0);
  background: #f5fbff;
  color: var(--ast-global-color-0);
  display: flex;
  align-items: center;
  padding-right: 55px;
}

.woocommerce .woocommerce-message .button.wc-forward {
  margin-right: auto;
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
  top: 50%;
  transform: translateY(-50%);
}

/* .archive div#content, .single div#content  {
    padding: 15px;
} */

section.related.products {
  padding-top: 50px !important;
  clear: both;
  border-top: 1px solid #eee;
  float: none;
}

section.related.products > h2 {
  font-size: 30px;
}

.astra-shop-summary-wrap span.price {
  font-size: 18px !important;
  color: var(--ast-global-color-0) !important;
}

.astra-shop-summary-wrap {
  padding: 15px;
}

li.ast-grid-common-col,
li.ast-article-single {
  box-shadow: 0 0 7px #5553;
  border-radius: 15px;
  overflow: hidden;
}

.yith-wcwl-add-to-wishlist #yith-wcwl-icon-heart-outline {
  margin: 0;
  width: 20px;
}

.add-to-wishlist-before_image .yith-wcwl-add-to-wishlist {
  top: 20px;
  right: 10px;
  left: auto !important;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
  border-radius: 64px;
  width: 2em;
  height: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.eael-product-carousel {
  border: none !important;
  margin: 0 !important;
  background-color: #fff !important;
  box-shadow: none !important;
  border-radius: 10px !important;
}

.woocommerce.swiper.eael-woo-product-carousel {
  padding: 5px !important;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  li.mega-menu-megamenu
  > ul.mega-sub-menu
  > li.mega-menu-row {
  max-width: 1400px !important;
  float: none !important;
  margin: 0 auto !important;
  padding: 5px 0 !important;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  li.mega-menu-column-standard
  > a.mega-menu-link,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  li.mega-menu-column
  > ul.mega-sub-menu
  > li.mega-menu-item
  > a.mega-menu-link {
  margin-bottom: 10px !important;
}

mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-flyout
  ul.mega-sub-menu
  li.mega-menu-item
  a.mega-menu-link {
  padding: 3px 20px !important;
  line-height: 30px !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  font-size: 1em !important;
  line-height: 1 !important;
  background-color: var(--e-global-color-astglobalcolor1) !important;
}

.dgwt-wcas-search-wrapp {
  max-width: none !important;
}

.account-widget {
  display: flex;
  gap: 10px;
  margin-top: -5px;
}

.account-widget a {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 7px;
}

.remove-inline-margins * {
  margin: 0;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:hover,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link:focus {
  font-weight: bold !important;
}

.woocommerce-js div.product div.summary .single-product-category,
.single-product.woocommerce-js .woocommerce-breadcrumb {
  display: none !important;
}

body .woocommerce-MyAccount-navigation-link.is-active a {
  background-color: #0075be !important;
}
.woocommerce-MyAccount-navigation-link.is-active a {
  color: #fff !important;
}

header.woocommerce-Address-title.title .edit {
  margin-right: auto;
}

header.woocommerce-Address-title.title h2 {
  margin: 0;
  font-size: 18px;
}

header.woocommerce-Address-title.title {
  display: flex;
  align-items: center;
}


.woocommerce-error li {
    padding-right: 30px !important;
}

header#masthead p {
    margin: 0 !important;
}
#masthead .elementor-widget-container p {
    margin: 0 !important;
}

@media (max-width: 544px) {
  .single-product div#content {
    padding: 20px;
  }

  .woocommerce-js div.product .woocommerce-tabs {
    padding-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .woocommerce #content div.product .woocommerce-tabs ul.tabs li a,
  .woocommerce-page #content div.product .woocommerce-tabs ul.tabs li a {
    font-size: 18px;
    font-weight: bold;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li.active:before,
  .woocommerce
    div.ast-product-tabs-layout-vertical
    .woocommerce-tabs
    ul.tabs
    li:hover::before {
    display: none !important;
  }

  .woocommerce-js div.product div.summary {
    margin-bottom: 0 !important;
}

.woocommerce-js div.product form.cart {
    margin-bottom: 30px !important;
}


/* 
#wpgs-gallery.wcgs-woocommerce-product-gallery .wcgs-carousel {
    height: 600px !important;
} */

.woocommerce-js div.product form.cart .button.single_add_to_cart_button {
    padding: 18px 20px !important;
    font-size: 18px !important;
    background-color: var(--e-global-color-astglobalcolor0)  !important;
}


  .ast-container .woocommerce ul.products:not(.elementor-grid),
  .woocommerce-page ul.products:not(.elementor-grid),
  .woocommerce.mobile-columns-2 ul.products:not(.elementor-grid),
  .woocommerce-page.mobile-columns-2 ul.products:not(.elementor-grid) {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }

  .ast-header-search form.search-form .search-field,
  .ast-header-search
    .ast-dropdown-active.ast-search-menu-icon.slide-search
    input.search-field {
    width: auto;
  }
  .ast-container,
  .ast-container-fluid {
    padding-right: 0;
    padding-left: 0;
  }

  h1.woocommerce-products-header__title.page-title {
    font-size: 26px;
    margin-bottom: 50px;
  }
}

@media (max-width: 921px) {
  .woocommerce-MyAccount-content {
    padding-top: 30px;
  }

  .account-widget a span {
    display: none;
  }

  .eael-woo-product-carousel-container .swiper-container .swiper-button-next,
  .eael-woo-product-carousel-container.swiper-container-wrap
    .swiper-button-next {
    right: -15px;
  }

  .eael-woo-product-carousel-container .swiper-container .swiper-button-prev,
  .eael-woo-product-carousel-container.swiper-container-wrap
    .swiper-button-prev {
    left: -15px;
  }

  .ast-header-account-wrap {
    margin: 0 !important;
    padding: 15px !important;
  }

  #mega-menu-wrap-primary {
    display: none !important;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-header {
    position: absolute;
    left: 0;
    top: 0;
  }

  .ast-builder-layout-element.site-header-focus-item.ast-header-account {
    padding: 0 !important;
  }

  .ast-header-break-point
    .ast-builder-menu-2
    .main-header-menu
    .menu-item
    > .menu-link {
    padding: 10px 15px !important;
  }

  .ast-header-break-point
    .ast-builder-menu-2
    .menu-item.menu-item-has-children
    > .ast-menu-toggle {
    top: 0px;
    right: auto;
    left: 0;
    height: 56px;
  }

  .ast-builder-menu-2 .main-header-menu,
  .ast-header-break-point .ast-builder-menu-2 .main-header-menu {
    margin-top: 0;
  }

  .main-header-menu .menu-item {
    position: relative;
    background-color: #fff !important;
  }

  .woocommerce-no-products-found,
  .wc-empty-cart-message {
    min-height: auto;
    margin-bottom: 30px;
  }
}

@media (max-width: 544px) {
  .ast-desktop .ast-primary-header-bar.main-header-bar,
  .ast-header-break-point #masthead .ast-primary-header-bar.main-header-bar {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  #mobile-menu {
    position: static;
  }

  #mobile-menu
    nav.hfe-nav-menu__layout-horizontal.hfe-nav-menu__submenu-arrow.hfe-dropdown.menu-is-active {
    width: 100% !important;
    left: 0 !important;
    background: #fff !important;
  }

  .hfe-active-menu .hfe-nav-menu-icon > * {
    display: none !important;
  }
  .hfe-active-menu .hfe-nav-menu-icon {
    position: relative;
    width: 30px;
    height: 30px;
    cursor: pointer;
  }

  .hfe-active-menu .hfe-nav-menu-icon::before,
  .hfe-active-menu .hfe-nav-menu-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px; /* line length (slightly smaller than box) */
    height: 2.5px; /* stroke thickness */
    background-color: black;
    transform-origin: center;
  }

  .hfe-active-menu .hfe-nav-menu-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .hfe-active-menu .hfe-nav-menu-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}
