/* تعريف الخط الخاص */
@font-face {
    font-family: 'BaderYadawi';
    src: url('fonts/bader.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* --- 1. الألوان --- */
:root {
    --brand-pink: #d91a60;
    --bg-creamy: #f9f7f2;
    --bg-white: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    --price-color: #d91a60;
    --nav-footer-bg: #121212;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-creamy);
    color: var(--text-main);
    overflow-x: hidden;
    padding-bottom: 80px; /* مساحة عشان الزراير العائمة */
}

a { text-decoration: none; color: inherit; }

/* --- 2. شريط التنبيهات --- */
.announcement-bar {
    background-color: var(--brand-pink);
    color: white;
    text-align: center;
    padding: 5px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* --- 3. الهيدر --- */
.navbar {
    background-color: var(--nav-footer-bg);
    padding: 5px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--brand-pink);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: auto; 
    min-height: 60px;
}

.navbar .logo-img {
    height: 60px; 
    width: auto;
    transition: 0.3s;
}
.navbar .logo-img:hover { transform: scale(1.05); }

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    font-weight: 700;
    font-size: 1rem;
    color: white;
    transition: 0.3s;
    position: relative;
    padding: 5px 10px;
    border-radius: 20px;
}

.nav-links a:hover { color: var(--brand-pink); background-color: rgba(255,255,255,0.1); }

/* --- 4. البانر الرئيسي --- */
.hero-section {
    height: 500px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
    border-bottom: 5px solid var(--brand-pink);
}

.mobile-hero-logo {
    display: none; 
    width: 140px; 
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

.hero-title {
    font-family: 'BaderYadawi', 'Aref Ruqaa', serif;
    font-size: 6rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-weight: normal;
    line-height: 1.4;
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ddd;
    max-width: 600px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-btn {
    background-color: var(--brand-pink);
    color: white;
    padding: 12px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
    border: 2px solid var(--brand-pink);
    margin-top: 10px;
    box-shadow: 0 0 15px rgba(217, 26, 96, 0.4);
}
.hero-btn:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-3px);
    border-color: white;
}

/* --- شريط جروب الواتساب --- */
.wa-group-bar {
    background: linear-gradient(90deg, #25D366, #128C7E);
    padding: 15px;
    text-align: center;
    display: block;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    font-weight: 900;
    border-bottom: 3px solid white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.wa-group-bar:hover { filter: brightness(1.1); letter-spacing: 1px; }

.wa-pulse-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    animation: pulse-scale 1.5s infinite ease-in-out;
}

@keyframes pulse-scale {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); text-shadow: 0 0 10px rgba(255,255,255,0.8); }
    100% { transform: scale(1); }
}

.wa-icon-large {
    font-size: 1.5rem;
    background: white;
    color: #25D366;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- 5. العروض --- */
.offers-section {
    padding: 20px 10px;
    text-align: center;
    background-color: white;
    border-bottom: 1px solid #ddd;
}

.offers-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px;
    scroll-behavior: smooth;
}
.offers-container::-webkit-scrollbar { height: 8px; }
.offers-container::-webkit-scrollbar-track { background: #eee; }
.offers-container::-webkit-scrollbar-thumb { background: var(--brand-pink); border-radius: 10px; }

.offer-img {
    height: 250px;
    width: auto;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
}
.offer-img:hover { transform: scale(1.03); border-color: var(--brand-pink); }

/* --- 5.5 سيكشن عروض اليوم --- */
.todays-offers-section {
    padding: 40px 5%;
    background-color: #fff0f6;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.offer-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: red;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* --- 6. الأقسام (Pills Style) --- */
.categories-bar {
    padding: 40px 10px;
    background-color: #f2efe9;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    color: var(--brand-pink);
    margin-bottom: 30px;
    font-weight: bold;
    display: inline-block;
    border-bottom: 3px solid var(--brand-pink);
    padding-bottom: 5px;
}

.cat-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
}

.cat-item {
    cursor: pointer;
    background-color: white;
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid #ddd;
    font-size: 1.1rem;
    font-weight: bold;
    color: #555;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 5px;
}

.cat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(217, 26, 96, 0.2);
    color: var(--brand-pink);
    border-color: var(--brand-pink);
}

.cat-item.active {
    background-color: var(--brand-pink);
    color: white;
    border-color: var(--brand-pink);
    box-shadow: 0 5px 15px rgba(217, 26, 96, 0.4);
    transform: scale(1.05);
}

/* --- 7. المنتجات --- */
.products-section {
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 500px;
}

.search-container {
    text-align: center;
    margin-bottom: 30px;
}
.search-input {
    width: 90%;
    max-width: 500px;
    padding: 15px 20px;
    border-radius: 30px;
    border: 2px solid #ddd;
    background: white;
    color: #333;
    font-size: 1.1rem;
    outline: none;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.search-input:focus { border-color: var(--brand-pink); box-shadow: 0 3px 15px rgba(217, 26, 96, 0.2); }

/* --- بانر القسم --- */
.category-banner {
    position: relative;
    width: 100%;
    height: 160px;
    margin-top: 40px;
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.category-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    transition: 0.5s;
}
.category-banner:hover img { transform: scale(1.05); }
.category-banner h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3.5rem; 
    font-weight: normal;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    width: 100%;
    text-align: center;
    font-family: 'BaderYadawi', 'Aref Ruqaa', serif;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    justify-content: center;
}

.product-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #eee;
    display: flex; flex-direction: column;
    position: relative;
}
.product-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--brand-pink);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
    background-color: #f9f9f9;
}
.product-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: 0.6s;
}
.product-card:hover .product-img { transform: scale(1.1); }

.product-info { padding: 12px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; }

.product-title {
    font-size: 1.1rem; margin-bottom: 5px;
    color: var(--text-main); font-weight: bold;
}
.product-desc {
    font-size: 0.85rem; color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.3;
}
.product-price {
    font-size: 1.3rem; color: var(--price-color);
    font-weight: 900; margin-bottom: 10px; margin-top: auto;
}

/* --- تعديل الأزرار (أضف للسلة + شير) --- */
.action-row {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.add-to-cart-btn {
    flex-grow: 1;
    padding: 10px;
    background-color: transparent;
    border: 2px solid var(--brand-pink);
    color: var(--brand-pink);
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    display: flex; align-items: center; justify-content: center; gap: 5px;
    font-size: 0.9rem;
}
.add-to-cart-btn:hover { background-color: var(--brand-pink); color: white; }

/* زرار الشير الجديد */
.share-btn {
    width: 40px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
    display: flex; align-items: center; justify-content: center;
}
.share-btn:hover {
    background-color: #25D366;
    color: white;
    border-color: #25D366;
}

/* --- 8. سيكشن الفيديوهات --- */
.reels-section {
    padding: 30px 10px;
    background-color: var(--bg-white);
    text-align: center;
    border-top: 1px solid #eee;
}
.reels-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 15px;
}
.reels-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px;
    scroll-behavior: smooth;
}
.reels-container::-webkit-scrollbar { height: 6px; }
.reels-container::-webkit-scrollbar-track { background: #f1f1f1; }
.reels-container::-webkit-scrollbar-thumb { background: #4267B2; border-radius: 10px; }

.reel-card {
    position: relative;
    min-width: 160px;
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
    text-decoration: none;
}
.reel-card:hover { transform: scale(1.03); }
.reel-thumb { width: 100%; height: 100%; object-fit: cover; }
.reel-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.8));
    display: flex; justify-content: center; align-items: center;
}
.play-icon { font-size: 2.5rem; color: white; opacity: 0.9; transition: 0.3s; }
.reel-card:hover .play-icon { transform: scale(1.2); color: var(--brand-pink); }
.reel-info { position: absolute; bottom: 10px; right: 10px; text-align: right; color: white; }
.reel-views { font-size: 0.8rem; opacity: 0.8; }
.reel-title { font-size: 0.9rem; font-weight: bold; margin-bottom: 2px; }
.platform-icon {
    position: absolute; top: 10px; left: 10px; background: white;
    border-radius: 50%; width: 25px; height: 25px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; color: #4267B2;
}
.follow-page-btn {
    background-color: #4267B2; color: white; padding: 10px 25px;
    border-radius: 30px; font-weight: bold; display: inline-flex;
    align-items: center; gap: 10px; transition: 0.3s; margin-top: 20px;
}
.follow-page-btn:hover { background-color: #365899; box-shadow: 0 5px 15px rgba(66, 103, 178, 0.3); }

/* --- 9. سيكشن آراء العملاء --- */
.reviews-section {
    padding: 40px 10px;
    background-color: #f2efe9;
    text-align: center;
    border-top: 1px solid #eee;
}
.reviews-grid {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 10px;
    scroll-behavior: smooth;
    justify-content: flex-start;
}
.reviews-grid::-webkit-scrollbar { height: 8px; }
.reviews-grid::-webkit-scrollbar-track { background: #eee; }
.reviews-grid::-webkit-scrollbar-thumb { background: var(--brand-pink); border-radius: 10px; }

.review-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    min-width: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    position: relative;
    flex-shrink: 0;
}
.review-text { font-style: italic; color: #555; margin-bottom: 15px; line-height: 1.6; }
.review-stars { color: #ffc107; margin-bottom: 10px; }
.review-name { font-weight: bold; color: var(--brand-pink); font-family: sans-serif; }
.quote-icon {
    font-size: 2rem; color: #eee; position: absolute; top: 10px; right: 15px;
}

/* --- 10. شركاء النجاح --- */
.brands-section {
    padding: 40px 20px;
    text-align: center;
    background-color: white;
    border-top: 1px solid #eee;
}
.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}
.brand-card {
    background-color: white;
    width: 120px;
    height: 120px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    transition: 0.3s;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.brand-card:hover { transform: scale(1.1); box-shadow: 0 5px 20px rgba(0,0,0,0.1); border-color: var(--brand-pink); }
.brand-img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* --- سيكشن تحميل التطبيق --- */
.app-section {
    background: linear-gradient(135deg, #121212 0%, #2c2c2c 100%);
    color: white;
    padding: 50px 20px;
    text-align: center;
    border-top: 5px solid var(--brand-pink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.app-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--brand-pink);
    font-family: 'BaderYadawi', 'Aref Ruqaa', serif;
}

.app-content p {
    font-size: 1.2rem;
    color: #ddd;
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.6;
}

.store-btn {
    background-color: white;
    color: #333;
    padding: 12px 35px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    border: 2px solid white;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.store-btn:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(217, 26, 96, 0.2);
}

.store-icon {
    font-size: 2.5rem;
    color: #00865f; /* لون أندرويد الأخضر */
    transition: 0.3s;
}
.store-btn:hover .store-icon { color: white; }

.btn-text { text-align: left; }
.btn-text span { display: block; font-size: 0.85rem; color: #555; }
.store-btn:hover .btn-text span { color: #ddd; }
.btn-text strong { font-size: 1.4rem; font-weight: 900; }

/* --- Floating Buttons --- */
.cart-icon-float {
    position: fixed; bottom: 30px; right: 30px; background-color: var(--brand-pink);
    color: white; width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; cursor: pointer; box-shadow: 0 5px 15px rgba(217, 26, 96, 0.4);
    z-index: 2000; transition: 0.3s;
}
.cart-icon-float:hover { transform: scale(1.1); }
.cart-count {
    position: absolute; top: -5px; left: -5px; background-color: white;
    color: var(--brand-pink); border-radius: 50%; width: 25px; height: 25px;
    font-size: 0.9rem; font-weight: bold; display: flex; align-items: center;
    justify-content: center; border: 2px solid var(--brand-pink);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: 0.2s;
}
.whatsapp-float {
    position: fixed; bottom: 30px; left: 30px; background-color: #25D366;
    color: white; width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; z-index: 2000; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transition: 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); background-color: #1ebc57; }

#scrollTopBtn {
    display: none; position: fixed; bottom: 100px; right: 37px;
    z-index: 1999; border: none; outline: none; background-color: #333;
    color: white; cursor: pointer; width: 45px; height: 45px;
    border-radius: 50%; font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: 0.3s;
    align-items: center; justify-content: center;
}
#scrollTopBtn:hover { background-color: var(--brand-pink); transform: translateY(-3px); }

/* --- Cart Modal & Controls --- */
.cart-modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5); z-index: 2001; justify-content: center;
    align-items: center; backdrop-filter: blur(3px);
}
.cart-content {
    background-color: white; width: 90%; max-width: 500px; border-radius: 15px;
    padding: 20px; position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    max-height: 80vh; display: flex; flex-direction: column; color: #333;
}
.close-cart { position: absolute; top: 10px; left: 15px; font-size: 1.5rem; cursor: pointer; color: #777; }
.cart-title { text-align: center; border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 15px; color: var(--brand-pink); }
.cart-items-list { overflow-y: auto; flex-grow: 1; margin-bottom: 15px; }

.cart-item-row { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 10px 0; border-bottom: 1px solid #eee; 
}
.cart-item-info { display: flex; flex-direction: column; gap: 5px; }
.cart-item-name { font-size: 1rem; color: #333; font-weight: bold; }
.cart-item-price { color: var(--brand-pink); font-size: 0.9rem; }

.qty-controls {
    display: flex; align-items: center; gap: 10px; background-color: #f8f8f8;
    padding: 5px 10px; border-radius: 20px; border: 1px solid #eee;
}
.qty-btn {
    background: none; border: none; cursor: pointer; font-size: 1.1rem; 
    color: #555; width: 25px; height: 25px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: 0.2s;
}
.qty-btn:hover { background-color: #ddd; color: black; }
.qty-num { font-weight: bold; font-size: 1rem; min-width: 20px; text-align: center; }
.remove-item { color: #aaa; cursor: pointer; margin-right: 10px; font-size: 0.9rem; transition: 0.3s; }
.remove-item:hover { color: red; }

.cart-total { font-size: 1.3rem; text-align: center; margin-bottom: 15px; font-weight: bold; color: #333; background: #f9f9f9; padding: 10px; border-radius: 10px; }
.checkout-btn {
    background-color: #25D366; color: white; border: none; padding: 15px;
    width: 100%; border-radius: 10px; font-size: 1.1rem; font-weight: bold;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.checkout-btn:hover { background-color: #1ebc57; }

/* --- Toast Notification --- */
#toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 50px;
    padding: 12px;
    position: fixed;
    z-index: 3000;
    left: 50%;
    bottom: 30px;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
#toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
@-webkit-keyframes fadein { from {bottom: 0; opacity: 0;} to {bottom: 30px; opacity: 1;} }
@keyframes fadein { from {bottom: 0; opacity: 0;} to {bottom: 30px; opacity: 1;} }
@-webkit-keyframes fadeout { from {bottom: 30px; opacity: 1;} to {bottom: 0; opacity: 0;} }
@keyframes fadeout { from {bottom: 30px; opacity: 1;} to {bottom: 0; opacity: 0;} }

/* --- Footer --- */
footer {
    background-color: var(--nav-footer-bg); padding: 50px 20px; margin-top: 0;
    border-top: 5px solid var(--brand-pink); text-align: center; color: white;
}
footer .logo-img { height: 250px; width: auto; margin-bottom: 20px; }
.social-icons { margin: 30px 0; display: flex; justify-content: center; gap: 25px; }
.social-link {
    width: 50px; height: 50px; background-color: #222; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: white;
    font-size: 1.4rem; transition: 0.4s; border: 1px solid #333;
}
.social-link:hover {
    background-color: var(--brand-pink); transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 0 20px var(--brand-pink); border-color: var(--brand-pink);
}

/* --- Highlight Animation (Deep Link) --- */
.highlight-product {
    animation: flash-focus 2s ease-in-out infinite;
    border: 3px solid var(--brand-pink) !important;
    box-shadow: 0 0 30px rgba(217, 26, 96, 0.6) !important;
    z-index: 100;
}
@keyframes flash-focus {
    0% { transform: scale(1); border-color: var(--brand-pink); }
    50% { transform: scale(1.05); border-color: yellow; }
    100% { transform: scale(1); border-color: var(--brand-pink); }
}

/* --- تحسينات الموبايل (النسخة المحسنة v2 - مع نقل اللوجو) --- */
@media (max-width: 768px) {
    /* 1. إخفاء اللوجو من النافبار عشان المساحة */
    .navbar .logo { 
        display: none; 
    }
    .navbar {
        padding: 10px 0;
        background-color: #121212;
        border-bottom: 1px solid #333;
        justify-content: center;
    }

    /* 2. إظهار اللوجو في البانر */
    .mobile-hero-logo {
        display: block; 
        margin: 0 auto 15px;
    }

    /* 3. شريط اللينكات */
    .nav-links { 
        width: 100%; 
        overflow-x: auto; 
        display: flex; 
        gap: 12px; 
        padding-bottom: 5px; 
        justify-content: flex-start; 
        scrollbar-width: none; 
        padding-left: 10px; 
        padding-right: 10px;
    }
    .nav-links::-webkit-scrollbar { display: none; }
    
    .nav-links a { 
        font-size: 0.85rem; 
        white-space: nowrap; 
        background: #222; 
        color: white;
        border: 1px solid #444;
        padding: 8px 18px; 
        border-radius: 50px; 
        flex-shrink: 0;
        font-weight: bold;
    }
    
    /* 4. تظبيط البانر والكتابة */
    .hero-section { 
        height: 480px; /* زيادة الطول عشان اللوجو */
        background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.9)), url('images/hero-bg.jpg');
        background-size: cover;
        background-position: center;
        padding: 20px;
        justify-content: center;
    }
    
    .hero-title { 
        font-size: 2.5rem; 
        line-height: 1.2; 
        margin-top: 0; 
        text-shadow: 0 0 20px black; 
    }
    
    .hero-desc { 
        font-size: 1rem; 
        width: 100%; 
        margin: 15px auto; 
        line-height: 1.5; 
        color: #ddd;
        font-weight: 500;
    }
    
    .hero-btn { 
        margin-top: 10px; 
        font-size: 1.1rem; 
        padding: 12px 40px; 
        width: 100%; 
    }

    /* تظبيط باقي العناصر */
    .offers-section { padding: 20px 5px; }
    .offer-img { height: 180px; width: auto; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } 
    .product-img-wrapper { height: 140px; }
    .add-to-cart-btn { padding: 8px; font-size: 0.8rem; }
    footer .logo-img { height: 150px; }
    .brand-card { width: 90px; height: 90px; }
    
    /* أزرار العائمة */
    .cart-icon-float { bottom: 25px; right: 20px; width: 60px; height: 60px; font-size: 1.5rem; }
    .whatsapp-float { bottom: 25px; left: 20px; width: 60px; height: 60px; font-size: 2rem; }
    
    /* شريط الواتس */
    .wa-group-bar { font-size: 0.95rem; padding: 15px; line-height: 1.4; }
    .wa-icon-large { width: 30px; height: 30px; font-size: 1.2rem; }
}
/* تنسيق الأيقونة البديلة */
.placeholder-icon {
    width: 100%;
    height: 100%;
    background-color: #f8f8f8; /* خلفية رصاصي فاتح */
    display: none; /* مخفية افتراضياً */
    align-items: center;
    justify-content: center;
    font-size: 3rem; /* حجم الشوكة والسكينة */
    color: #d1d1d1;  /* لون هادي */
    transition: 0.3s;
}

/* لما الكارت يتعمل عليه هوفر، الأيقونة تلمع */
.product-card:hover .placeholder-icon {
    background-color: #eee;
    color: #bbb;
}
/* تنسيق خانات البيانات في السلة */
.user-data-form {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px dashed #eee;
}

.form-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    transition: 0.3s;
    outline: none;
    background-color: #fcfcfc;
}

.form-input:focus {
    border-color: var(--brand-pink);
    box-shadow: 0 0 8px rgba(217, 26, 96, 0.1);
    background-color: white;
}

textarea.form-input {
    resize: none;
    height: 80px;
}
/* --- Skeleton Loader (الشاشة الانتظارية) --- */
.skeleton {
    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    border-radius: 15px;
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
    min-height: 280px; /* نفس طول كارت المنتج */
    border: 1px solid #e0e0e0;
}

@keyframes shine {
    to { background-position-x: -200%; }
}