@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
        font-family: "Zain", sans-serif;

}

body {
    font-family: "Zain", sans-serif;
    font-weight: 300;
    font-style: normal;
    background-color: #ffffff;
    color: #333;
}

header{
  position: sticky;
  z-index: 1000;
  top: 0;
  background-color: rgba(235, 235, 235, 0.637);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* لبعض المتصفحات */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}


.logo{
  display: block;
  width: 30px;
    margin: 0 30px;

}

header a {
  text-decoration: none;
  color: #3b3b3b;
  font-size: 12px;
  font-weight: 600;
  margin: 0 20px;
  transition: 0.8s ease;
}

header a:hover{
  color: #000;
}


.a-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.a-nav a,
.mnu-mobile a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

.menu-btn {
  display: none;
}

.icon {
  overflow: visible;
}

.line {
  stroke: #6d6d6d;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform .3s ease, opacity .2s ease;
  transform-origin: center;
}

/* عند الفتح */
.menu-btn.active .line1 {
  transform: translateY(3px) rotate(45deg);
}

.menu-btn.active .line2 {
  transform: translateY(-3px) rotate(-45deg);
}
/* منيو الموبايل */
.mnu-mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  padding: 40px;

  display: flex;
  flex-direction: column;
  gap: 15px;

  /* الحالة المقفولة */
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;

  transition: transform .4s ease, opacity .4s ease;
  z-index: 999;
}
.mnu-mobile a {
  font-size: 18px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

/* الحالة المفتوحة */
.mnu-mobile.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


/* 📱 موبايل */
@media (max-width: 768px) {
  .a-nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }
}

.fa-solid.fa-bag-shopping{
  font-size: 20px;
  margin: 0 10px;
  color: #3b3b3b;
  transition: 0.8s ease;
}


.logo-ic-fo-ri{
  display: none;
  width: 25px;
  height: 25px;
  rotate: 90deg;
}

.dropdown-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 15px 150px;
  border: 1px solid #ddd;
  background-color: #fff;
  position: relative;
  text-align: center;
}


/* النص تحت الزر */
.tex-dropdown {
  font-size: 12px;
  font-weight: 400;
  color: #555;
  text-align: center;
}

/* اختيار البلد والزر جنب بعض */
.select-and-button {
  display: flex;
  gap: 10px;
  align-items: center;
}

select {
  padding: 7px 10px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

button#continue-btn {
  padding: 7px 15px;
  background-color: #00060c;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: .3s ease;
}

button#continue-btn:hover {
  background-color: #4b4b4b;
}

.close-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 20px;
}

.product-card {
  background: #f5f5f7;
  border-radius: 10px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 350px;
}

.product-card img {
  max-width: 45%;
}

.product-card .text {
  max-width: 45%;
}

.product-card h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.buttons a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  margin-right: 10px;
  border: 1px solid #0071e3;
  color: #0071e3;
  transition: .4s ease;
}

.buttons a:hover {
  background: #0071e3;
  color: #fff;
}


.brand-footer {
  margin-top: 50px;
  background: #f5f5f7;
  padding: 30px;
  font-family: Arial, sans-serif;
  color: #333;
  direction: rtl;
}

.footer-note {
  font-size: 12px;
  color: #666;
  margin-bottom: 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  text-decoration: none;
  font-size: 13px;
  color: #555;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-col .more {
  font-size: 13px;
  color: #0071e3;
}

.footer-bottom {
  border-top: 1px solid #ddd;
  margin-top: 30px;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 12px;
}

.footer-links a {
  margin-left: 15px;
  color: #555;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.contact-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-list i {
  font-size: 15px;
  color: #555;
  transition: 0.3s;
}

.contact-list a:hover i {
  color: #0071e3;
}

/* 📱 موبايل */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

/* ===== موبايل ===== */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    padding: 20px 0;
  }

  .product-card {
    border-radius: 20px 20px 0 0;
    flex-direction: column;
    text-align: center;
  }

  .product-card img,
  .product-card .text {
    max-width: 100%;
  }

  .product-card img {
    width: 70%;
    margin-top: 20px;
  }


}

/* ===== استايل الموبايل ===== */
@media (max-width: 470px){
  .a-nav{
    display: none;
  }
  .dropdown-container {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
  }

  .tex-dropdown {
    margin-bottom: 15px;
  }

  .select-and-button {
    width: 100%;
    justify-content: flex-start; /* الاختيارات والزر جنب بعض */
  }

  select, button#continue-btn {
    width: auto; /* يفضل جنب بعض بدون ملء الشاشة */
  }
}


@media (max-width: 470px){
  header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 10px 2px 30px;
  }

  .show-a-head{
    display: none;
    position: absolute;
    top: 60px;
    right: 0px;
    background-color: rgba(235, 235, 235, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* لبعض المتصفحات */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1001;
  }

  .cart{
    font-size: 20px;
    margin: 0;
    color: #3b3b3b;
    transition: 0.8s ease;
  }
  .a-header {
    font-size: 12px;
    margin: 10px 0px 0 210px ;
    gap: 20px;
    align-items: center;
  }

.buttons a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 20px 20px 0px 20px;
  text-decoration: none;
  font-size: 14px;
  margin-right: 10px;
  border: 1px solid #0071e3;
  color: #0071e3;
  transition: .4s ease;
}

  .logo{
    width: 25px;
    margin: 0;
  }

  .menu-btn{
  background: none;
  position: static;
  z-index: 1000;
  border: none;
  cursor: pointer;
  padding: 5px;
  }

}