/*
Theme Name: Main-Child-Theme
Author: Monaam
Description: Your description goes here
Version: 1.0
Template: blocksy

This is the child theme for Blocksy theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* Layout  */
html > body {
  position: relative;
  background-color: transparent;
  isolation: isolate;
}

html > body::before {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  background: url(https://alomranm.com/wp-content/uploads/2026/09/123.png)
    center / contain repeat-y;
  z-index: -1;
  opacity: 0.15;
}

/*
header 
 #M-header-container
   |_ .M-contact-Btn
     |_ .M-header-btn
     |_ .M-header-search 
     |_ .M-header-sailo
*/
#M-header-container .M-header-search button {
  margin-right: 10px;
}
#M-header-container .M-header-btn span.xpro-elementor-button-media {
  margin-inline: 10px;
}

#M-header-container .M-header-sailo ul li {
  width: 150px;
  height: 40px;
}
#M-header-container .M-header-sailo ul li a {
  justify-content: center;
  padding: 0px;
}
#M-header-container .M-header-sailo li a:hover {
  font-weight: 600;
}
.M-header-btn {
  display: flex;
}
button.xpro-elementor-search-button-close {
  background: #ff4040;
  border-radius: 50%;
  cursor: pointer;
}
.xpro-elementor-search-button-close:after,
.xpro-elementor-search-button-close:before {
  background: #ffffff;
  height: 4px;
}
.xi-hamburger::before {
  font-size: 30px;
  font-weight: 900;
}
/*
Footer
 .M-fotter-socialMedia
 .M-footer-important-menue
*/

.M-fotter-socialMedia span a {
  background: transparent !important;
  color: #fff;
  border: 1px solid #fff;
  transition: 0.3s;
}

.M-fotter-socialMedia span a:hover {
  background-color: #c59435 !important;
  border-color: #c59435;
}

.M-footer-important-menue ul {
  display: flex !important;
  flex-direction: column;
}

.M-footer-important-menue div#ekit-megamenu-important-url {
  height: fit-content;
}

div#ekit-megamenu-categories ul#menu-categories {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
}

div#ekit-megamenu-categories ul#menu-categories > li {
  width: 100% !important;
}

.M-footer-grid {
  max-height: 600px;
}
.M-footer-paymethod {
  grid-column: 8;
  grid-row: 2;
}
ul#menu-main-menu-4,
ul#menu-important-url {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  position: unset !important;
  display: block;
}

/*
 Hero Banner
  #M-heroBanner
  |_ .xpro-hero-slider-slide-content-area 
*/
#M-header-btns-container {
  width: fit-content;
}
#M-heroBanner .xpro-hero-slider-slide-content-area {
  position: relative;
  background: linear-gradient(90deg, #ffffff70 -11%, transparent 77%);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(3px);
}

#M-heroBanner div.xpro-hero-slider-slide-content-area::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  padding: 3px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

#M-heroBanner .xpro-hero-slider-slide-content-area * {
  text-align: center;
  margin-inline: auto;
  align-items: center;
  justify-content: center;
}

#M-heroBanner .xpro-hero-slider-button-primary {
  display: flex;
  flex-direction: row-reverse;
}

#M-heroBanner .xpro-hero-slider-button-primary *,
#M-heroBanner .xpro-hero-slider-button-secondary * {
  margin: 0;
}

#M-heroBanner span.xpro-hero-slider-button-media {
  height: fit-content;
  line-height: normal;
}

#M-heroBanner span.xpro-hero-slider-button-media svg {
  width: 20px;
  height: 20px;
  fill: currentColor !important;
  margin-bottom: -5px;
}

.eael-product-wrap .add_to_cart_button {
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
  margin: 0 !important;
}
.xpro-hero-slider-slide-button-wrapper a {
  max-height: 50px;
}
#M-heroBanner .swiper-pagination {
  background: #00000082;
  backdrop-filter: blur(5px);
  margin-bottom: -5px;
}

#M-heroBanner .swiper-pagination span.swiper-pagination-bullet {
  background: #fff;
}
#M-heroBanner .swiper-pagination span.swiper-pagination-bullet-active {
  background: #c59435;
}
@media (max-width: 1024px) {
  #M-heroBanner .xpro-hero-slider-slide-content-area {
    margin-left: 80px;
  }
}
@media (max-width: 769px) {
  #M-heroBanner .xpro-hero-slider-slide-content-area {
    background: linear-gradient(180deg, #ffffff70 -11%, transparent 77%);
    margin-inline: auto;
  }
  #M-heroBanner div.xpro-hero-slider-slide-content-area::before {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0)
    );
  }
  .xpro-hero-slider-slide-button-wrapper {
    display: flex;
    flex-wrap: wrap;
  }
  .xpro-hero-slider-slide-button-wrapper a {
    width: 100% !important;
  }
}
/* Who Us */
div#M-whoUs {
  max-height: 500px;
}

div#M-whoUs #M-whous-bages {
  margin-bottom: -87px;
  max-height: 160px;
  position: relative;
  top: 100px;
  left: -180px;
}

div#M-whoUs #M-whoUs-Content {
  top: 100px;
}
/* === Contact Form === */
#contact-form .custom-form-container {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  direction: rtl;
  font-family: sans-serif;
}

#contact-form .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

#contact-form .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#contact-form .form-group.full-width {
  margin-bottom: 15px;
}

#contact-form .form-group label {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  text-align: right;
}

#contact-form input[type="text"],
#contact-form input[type="tel"],
#contact-form input[type="email"],
#contact-form select,
#contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  background-color: #fff;
  box-sizing: border-box;
  text-align: right;
  color: #666;
}

#contact-form ::placeholder {
  color: #bbb;
  opacity: 1;
}

#contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://w3.org' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 15px center;
  background-size: 15px;
  padding-left: 40px;
}

#contact-form textarea {
  height: 100px;
  resize: vertical;
}

#contact-form .form-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

#contact-form .btn-register {
  width: 100%;
  background-color: #001f4d;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s ease;
}

#contact-form .btn-register:hover {
  background-color: #001333;
}

#contact-form .btn-call {
  display: block;
  width: 100%;
  background-color: #c5933a;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.3s ease;
}

#contact-form .btn-call:hover {
  background-color: #aa7d2f;
}

@media (max-width: 600px) {
  #contact-form .form-row {
    flex-direction: column;
    gap: 15px;
  }
}

/***********/
li.product {
  box-shadow: 0 0 15px -10px #000 !important;
  padding: 10px !important;
  border-radius: 10px !important;
}
