header{ position: sticky; z-index: 1000; top: 0; background-color: #ebebeba2; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); /* لبعض المتصفحات */ display: flex; justify-content: center; align-items: center; padding: 10px 0; gap: 0px; } .logo{ display: block; width: 30px; margin: 0 30px; } header a { text-decoration: none; color: #3b3b3b; font-size: 12px; font-weight: 600; margin: 0 30px; 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: #ebebeb; 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; } .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: 30px; cursor: pointer; color: red; } /* 📱 موبايل */ @media (max-width: 768px) { .a-nav { display: none; } .contenar{ margin: 0 20px; } .menu-btn { display: block; } } /* ===== موبايل ===== */ @media (max-width: 470px){ header{ display: flex; justify-content: space-between; align-items: center; padding: 5px 3% ; } .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; } .logo{ width: 35px; margin: 0 10px; } .menu-btn{ background: none; position: static; z-index: 1000; border: none; cursor: pointer; padding: 5px; } .dropdown-container{ padding: 45px 10px 10px 10px; display: flex; justify-content: flex-start; align-items: flex-start; } .close-btn{ position: absolute; top: 10px; right: 20px; color: red; font-size: 25px; } }

  /* تحسينات للهيدر */
        .cart-count {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #0071e3;
            color: white;
            font-size: 11px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .cart {
            position: relative;
        }