@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    flex-direction: column;
    letter-spacing: 2px;
    transition: all 0.3s ease;

    background-color: black;
}

header {
    background-color: black;
    top: 0;
    width: 100%;
    height: 51px;
    color: white;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
   
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 999999999999;
    overflow: visible;
    border-bottom: 3px solid #87cefa;
    box-shadow: 0 4px 8px rgba(135, 206, 250, 0.5); /* ظل هيدر أزرق ناعم */
}

.whatsapp-icon {
    border-radius: 50%;
    font-size: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.7); /* ظل أخضر ناعم */
    z-index: 999999999;
    background-color: #25d366;
    padding: 0;
    width: 51px;
    height: 51px;
    line-height: 1;
}
.hidden-h1{
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.search-wrapper {
    position: absolute;
    top: 12px;
    right: 43px;
    z-index: 999;
    transform: translateY(-50%);
}

.header-right {
    position: relative;
    left: 160px;
    display: flex;
    gap: 19px;
    font-size: 17px;
    background-color: rgb(0, 0, 0);
}

.search-input {
    background-color: #ffffff;
    transition: opacity 0.3s ease, transform 0.3s ease, width 0.3s ease;
    position: absolute;
    top: 14px;
    right: 30px;
    transform: translateY(-50%) translateX(0);
    width: 100%;
    opacity: 0;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* ظل خفيف للنص */
    z-index: 999;
}

.search-wrapper.active .search-input {
    width: 287px;
    opacity: 1;
}

.search-results {
    position: absolute;
    top: 35px;
    right: 28px;
    width: 287px;
    background: white;
    color: black;
    max-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ccc;
    z-index: 999;
    opacity: 0;
    border-radius: 10px;
    font-size: 12px;
    pointer-events: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); /* ظل عميق لكن شفاف */
    transition: max-height 0.5s ease, opacity 0.4s ease-in-out;
    z-index: 99999999;
}

.search-results.show {
    max-height: 300px;
    opacity: 1;

    pointer-events: auto;
}

.search-result-item {
    padding: 8px 10px;
    cursor: pointer;
    box-sizing: border-box;
}

.search-result-item:hover {
    background-color: #f0f0f0;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05); /* ظل داخلي خفيف عند التمرير */
}
.cart-panel {
    position: fixed;
    top: 50%;
    right: 0;

    width: 60%;
    max-width: 400px;
    height: 400px;
    background-color: #111;
    color: white;
    border-radius: 20px 0 0 20px;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.7); /* ظل قوي جانبي */
    padding: 20px;
      transform: translateX(100%) translateY(-50%);
    transition: transform 0.6s ease-in-out, opacity 0.4s ease-in-out;
    opacity: 0;
    overflow: auto;
    overflow-x: hidden;
    z-index: 999999999;
   
}

.cart-panel.active {
    transform: translateX(0) translateY(-50%);
    opacity: 1;
    z-index: 9999999;
}

.cart-panel h2 {
    text-align: center;
    margin: 0;
    font-size: 20px;
  border-bottom: 1px solid #87cefa; 
  padding-bottom: 10px;
  margin-bottom: 10px;
   box-shadow: 0 4px 8px rgba(135, 206, 250, 0.5); /* ظل هيدر أزرق ناعم */
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7); /* ظل نص للعناوين */
}

.cart-content {
    margin-top: 30px;
    text-align: left;
    z-index: 9999999;
}
.remove-btn{

  align-self: flex-start; /* يجعل الزر يصعد إلى الأعلى داخل العنصر */
  margin-left: auto; /* يدفعه لليمين */
  background: transparent;
  color: white;
  border: none;
  

  font-weight: bold;
    cursor: pointer;
}
.logo img {
    
    top: 5px;
    height: 40px;
    width: auto;
    pointer-events: none;
    position: absolute;
}

.header-right a i {
    color: white;
    padding: 3px;
}

.menu-icon {
    position: absolute;
    left: 20px;
    font-size: 17px;
    text-decoration: none;
    color: white;
    background-color: rgb(0, 0, 0);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3); /* ظل خفيف على الأيقونة */
}

/* تفعيل الظهور */
.menu-popup.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

/* المحتوى الداخلي */
.menu-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 400px;
    max-width: 90%;
    background-color: #111;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8); /* ظل ثقيل للخلفية */
    transform: translate(-50%, -40%) scale(0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out, transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 9999999;
    padding: 20px 30px;
    display: flex;
 
    flex-direction: column;
}


/* روابط القائمة */
.menu-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-links a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    padding-bottom: 6px;
    border-bottom: 1px solid #87cefa;
    transition: color 0.3s ease;
    text-align: left;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7); /* ظل خفيف للنص */
}

.menu-links a:hover {
    color: #87cefa;
    text-shadow: 0 0 5px #87cefa; /* توهج أزرق عند التحويم */
}

.site-footer {
    background-color: #111;
    color: #fff;
    padding: 15px 0;
    font-size: 10px;
 

}

.footer-content {
    display: flex;
    flex-direction: row;       /* صف أفقي */
    justify-content: center;   /* محاذاة في المنتصف */
    align-items: flex-start;
    width: 100%;
    margin: 0 auto;   
  
    flex-wrap: nowrap;         /* ❌ لا تسمح بالنزول لسطر جديد */
}   

.footer-section  {
    width: 100px;           /* ✅ اجعل لكل عنصر عرضًا محددًا */
    text-align: left;
    
    
}

.footer-section h4 {

    
    color: #87cefa;
    margin-bottom:8px;
    font-size: 10px;
    width: 100px;
    

    
}

.contact-section{

    
    width: 150px;

    
}
.footer-section:not(.contact-section) {
    width: 100px;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.footer-link:hover {
    color: #fff;
}

.footer-link i {
    margin-right: 5px;
}

.about-us {
  margin-top: 51px;
    background-color: #0d0d0d;
  color: #87cefa;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  
}

.about-container {
  max-width: 800px;
  margin: auto;
}

.about-container h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.about-container p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 5px;
  color: #ccc;
}