/* 🚫 ZERO POPUP ENVIRONMENT */
.popup, .modal, .overlay, .notification, .alert-box, .toast,
[class*="popup"], [class*="modal"], [class*="overlay"], [class*="notification"] {
    display: none !important;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    direction: ltr;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #2c3e50;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #D4AF37, #25D366, #C8102E);
    z-index: 9999;
    transition: width 0.2s ease;
}

.top-banner {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 50%, #B8860B 100%);
    color: #1B2951;
    padding: 12px 0;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.banner-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.header {
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #2c3e50;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1B2951;
    line-height: 1;
    margin-bottom: 3px;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: #D4AF37;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
    align-items: center;
}

.nav-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
    transform: translateY(-2px);
}

.nav-link:focus {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

.arabic-link {
    background: linear-gradient(135deg, #C8102E 0%, #8B0000 100%) !important;
    color: white !important;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    box-shadow: 0 2px 8px rgba(200, 16, 46, 0.3);
    border: 2px solid transparent;
}

.arabic-link:hover {
    background: linear-gradient(135deg, #8B0000 0%, #C8102E 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.5);
    color: white !important;
    border-color: #D4AF37;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-tool {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c3e50;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 18px;
}

.header-tool:hover {
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    color: #1B2951;
    transform: translateY(-2px);
}

.header-tool:focus {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

/* 🛒 ENHANCED CHECKOUT BUTTON STYLING */
.checkout-btn {
    background: linear-gradient(135deg, #25D366, #20B358) !important;
    color: white !important;
    width: auto !important;
    padding: 12px 24px !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3) !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px !important;
    min-width: auto !important;
}

.checkout-btn:hover {
    background: linear-gradient(135deg, #20B358, #1fa34d) !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5) !important;
}

.checkout-btn:focus {
    outline: 3px solid rgba(37, 211, 102, 0.5) !important;
    outline-offset: 2px !important;
}

.cart-counter {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: bold;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.mobile-menu-toggle {
    display: none;
}

.hero {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 80px 0;
    position: relative;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1B2951;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-title span {
    color: #D4AF37;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 18px 36px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: white;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #1B2951;
    border: 2px solid #D4AF37;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn-primary:focus,
.btn-secondary:focus {
    outline: 3px solid rgba(212, 175, 55, 0.5);
    outline-offset: 2px;
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.section {
    padding: 80px 0;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: #1B2951;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.view-all-link {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 12px 24px;
    border: 2px solid #D4AF37;
    border-radius: 25px;
    background: transparent;
}

.view-all-link:hover {
    background: #D4AF37;
    color: white;
    transform: translateY(-2px);
}

.view-all-link:focus {
    outline: 2px solid #1B2951;
    outline-offset: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(212, 175, 55, 0.1);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.product-card:focus-within {
    outline: 3px solid rgba(212, 175, 55, 0.6);
    outline-offset: 2px;
}

.product-image-container {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-title {
    font-size: 1.2rem;
    margin: 15px 0;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.4;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #25D366;
    margin-top: 15px;
}

.view-more-container {
    text-align: center;
    margin: 50px 0;
    padding: 20px;
}

.view-more-button {
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.view-more-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #B8860B, #D4AF37);
}

.view-more-button:focus {
    outline: 3px solid rgba(212, 175, 55, 0.5);
    outline-offset: 2px;
}

.loading-message {
    text-align: center;
    padding: 80px 20px;
    font-size: 1.2rem;
    color: #D4AF37;
    background: #f8f9fa;
    border-radius: 15px;
    margin: 20px 0;
    grid-column: 1 / -1;
}

.footer {
    background: #1B2951;
    color: white;
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #D4AF37;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin: 12px 0;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-section a:hover {
    color: #D4AF37;
}

.footer-section a:focus {
    color: #D4AF37;
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
    border-radius: 4px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #D4AF37;
    color: #1B2951;
    transform: translateY(-3px);
}

.social-link:focus {
    outline: 2px solid #D4AF37;
    outline-offset: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #B8860B, #D4AF37);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.back-to-top:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    body {
        scroll-behavior: auto;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-text {
        font-size: 0.8rem;
        gap: 5px;
    }
    
    .checkout-btn {
        padding: 10px 18px !important;
        font-size: 14px !important;
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}