* {
    caret-color: transparent !important;
    outline: none !important;
    box-sizing: border-box;
}

/* Allow text selection for content */
.content {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    flex: 1;
    padding: 32px 16px;
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.content h1,
.content h2,
.content h3,
.content p,
.content li,
.brand-text,
.brand-text strong,
.brand-text small,
.navbar-menu li,
#cart-modal-title,
#cart-items-list li,
#cart-total,
#cart-empty-msg,
#payment-success-message,
.banner-content,
.explore-btn {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

/* Remove underlines from all links */
a {
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
}

/* Splash Screen Styles */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #111111 0%, #000000 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9998;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: particleFloat 1s ease-out forwards;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-50px) scale(0);
        opacity: 0;
    }
}

.splash-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.08) 0%, rgba(0,0,0,0) 70%);
    animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
    0% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
    100% { opacity: 0.4; transform: scale(1); }
}

.splash-screen.fade-out {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.splash-logo {
    max-width: 280px;
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.2));
    animation: professionalEntrance 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    position: relative;
    margin-bottom: 40px;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.splash-logo::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: radial-gradient(circle at center, rgba(255,255,255,0.08) 0%, transparent 70%);
    animation: professionalGlow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes professionalGlow {
    0% { transform: scale(0.98); opacity: 0.4; }
    50% { transform: scale(1.02); opacity: 0.6; }
    100% { transform: scale(0.98); opacity: 0.4; }
}

@keyframes professionalEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
        filter: blur(5px) drop-shadow(0 0 25px rgba(255, 255, 255, 0.2));
    }
    40% {
        opacity: 0.8;
        transform: translateY(-2px) scale(1.01);
        filter: blur(2px) drop-shadow(0 0 30px rgba(255, 255, 255, 0.25));
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0) drop-shadow(0 0 25px rgba(255, 255, 255, 0.2));
    }
}

/* Loading Bar */
.loading-bar {
    width: 180px;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    margin-top: 25px;
    will-change: transform;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.9),
        rgba(255, 255, 255, 0.7)
    );
    animation: downloading 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    will-change: width;
}

@keyframes downloading {
    0% { width: 0; }
    100% { width: 100%; }
}

/* Add a subtle shine effect */
.splash-screen::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.02) 30%,
        rgba(255, 255, 255, 0.03) 40%,
        transparent 50%
    );
    animation: professionalShine 4s ease-out forwards;
    pointer-events: none;
}

@keyframes professionalShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

body {
    margin: 0;
    background: #fff;
    color: #222;
    font-family: 'Oswald', Arial, sans-serif;
}

html, body {
    height: auto !important;
    min-height: 100%;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    position: relative !important;
    margin: 0;
    padding: 0;
    font-family: 'Cairo', sans-serif;
    background-color: #f5f5f5;
    z-index: 1 !important;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    position: relative !important;
    z-index: 1 !important;
}

.page-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 40px;
    background: #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.7);
    color: #fff;
    position: relative;
    z-index: 1001;
    will-change: transform;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 48px;
    margin-right: 8px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 18px;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 22px;
    letter-spacing: 1px;
}

.brand-text small {
    font-size: 12px;
    color: #ccc;
    margin-top: 2px;
}

.navbar-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
    z-index: 2000;
    background: #000;
}

.navbar-menu li {
    font-size: 18px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    color: #fff;
    padding: 8px 0;
}

.navbar-menu li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s ease;
}

.navbar-menu li:hover::after {
    width: 100%;
}

.navbar-menu li:hover {
    color: #FFD700;
    transform: translateY(-1px);
}

.navbar-menu a {
    color: #fff;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 4px;
}

.navbar-menu a:hover {
    color: #FFD700;
    text-decoration: none !important;
}

.arrow {
    font-size: 13px;
    margin-left: 3px;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-link,
.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s;
    padding: 4px;
}

.user-icon,
.cart-icon {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,0.08));
    transition: transform 0.2s;
    display: block;
}

.user-link:hover .user-icon,
.cart-link:hover .cart-icon {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #FFD700;
    color: #000;
    font-size: 13px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    pointer-events: none;
}

/* RTL support for navbar right */
html[dir="rtl"] .navbar-right {
    flex-direction: row-reverse;
}

html[dir="rtl"] .cart-count {
    right: auto;
    left: -8px;
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 10px 20px;
    }
    .user-icon,
    .cart-icon {
        width: 24px;
        height: 24px;
    }
}

@media screen and (max-width: 480px) {
    .navbar {
        padding: 8px 16px;
    }
    .user-icon,
    .cart-icon {
        width: 28px;
        height: 28px;
    }
    .cart-count {
        font-size: 12px;
        padding: 1px 5px;
        min-width: 18px;
    }
}

.flag {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* border: 1px solid #fff; */
    margin-right: 4px;
}

.lang, .active-lang, #lang-en, #lang-ar,
#lang-en:focus, #lang-ar:focus,
#lang-en:active, #lang-ar:active,
#lang-en:hover, #lang-ar:hover {
    text-decoration: none !important;
    outline: none !important;
}

.lang {
    font-size: 16px;
    margin-left: 2px;
    letter-spacing: 1px;
    color: #fff;
    cursor: pointer;
}

.active-lang {
    font-weight: bold;
    text-decoration: none;
}

html[dir="rtl"] .navbar {
    flex-direction: row-reverse;
}

html[dir="rtl"] .navbar-left,
html[dir="rtl"] .navbar-right {
    flex-direction: row-reverse;
}

html[dir="rtl"] .navbar-menu {
    flex-direction: row-reverse;
}

html[dir="rtl"] .brand-text {
    text-align: right;
}

.lang, #lang-en, #lang-ar {
    cursor: pointer;
}

#lang-en, #lang-ar {
    user-select: none;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
}

#lang-en:focus, #lang-ar:focus,
#lang-en:active, #lang-ar:active,
#lang-en::-moz-focus-inner, #lang-ar::-moz-focus-inner {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
}

.lang a {
    color: #fff !important;
    text-decoration: none !important;
}
.lang a:hover {
    color: #ccc !important;
    text-decoration: none !important;
}

/* Footer styles */
.footer {
    background: #000;
    padding: 16px 0 6px 0;
    color: #fff;
    text-align: center;
    margin-top: auto;
}

/* Copyright styles */
.copyright {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.copyright p {
    font-size: 14px;
    color: #fff;
    margin: 0;
    user-select: text !important;
    display: block;
    width: 100%;
    text-align: center;
}

/* RTL support for copyright */
html[dir="rtl"] .copyright {
    direction: rtl;
}

html[dir="rtl"] .copyright p {
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}
.footer-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1.5px solid #fff;
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
}
.footer-icon svg {
    width: 12px;
    height: 12px;
}
.social-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.footer-icon:hover {
    background: #222;
    border-color: #FFD700;
}
.footer-payments {
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.payment-icon {
    width: 32px;
    height: 20px;
    background: #fff;
    border-radius: 4px;
    padding: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
    object-fit: contain;
    display: block;
}
@media (max-width: 600px) {
    .footer-social, .footer-payments {
        gap: 2px;
    }
    .footer {
        padding: 8px 0 3px 0;
    }
}

/* Hamburger menu styles */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 12px;
    z-index: 1001;
    background: none;
    border: none;
    border-radius: 8px;
    transition: background 0.2s;
}
.hamburger:focus, .hamburger:hover {
    background: rgba(255,255,255,0.08);
    outline: 2px solid #FFD700;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 3.5px;
    background: #fff;
    margin: 6px 0;
    border-radius: 2px;
    transition: 0.3s;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -7px);
}

@media screen and (max-width: 1024px) {
    .hamburger {
        display: block;
    }
    
    .navbar-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #000;
        padding: 80px 20px 20px;
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        display: block;
    }
    
    .navbar-menu.active {
        left: 0;
    }
    
    .navbar-menu li {
        display: block;
        margin: 15px 0;
        text-align: left;
    }
    
    .navbar-menu a {
        color: #fff;
        font-size: 18px;
        padding: 10px 0;
        display: block;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

/* RTL Support */
html[dir="rtl"] .navbar-menu {
    left: auto;
    right: -100%;
}

html[dir="rtl"] .navbar-menu.active {
    left: auto;
    right: 0;
}

html[dir="rtl"] .navbar-menu li {
    text-align: right;
}

@media screen and (max-width: 768px) {
    .logo {
        height: 38px;
    }
    .brand-text {
        font-size: 15px;
    }
    .brand-text strong {
        font-size: 17px;
    }
    .flag {
        width: 28px;
        height: 28px;
    }
    .navbar {
        padding: 10px;
    }
    .content {
        padding: 16px 10px;
    }
}
@media screen and (max-width: 480px) {
    .logo {
        height: 38px;
    }
    .brand-text {
        font-size: 12px;
    }
    .brand-text strong {
        font-size: 14px;
    }
    .flag {
        width: 28px;
        height: 28px;
    }
    .navbar {
        padding: 8px;
    }
    .navbar-menu {
        width: 70%;
        max-width: 220px;
        padding: 60px 10px 10px;
    }
    .navbar-menu li {
        font-size: 15px;
        padding: 10px 0;
    }
    .content {
        padding: 12px 8px;
    }
}

/* Center content and improve padding for mobile */
.content {
    flex: 1;
    padding: 32px 16px;
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

/* Prevent horizontal scroll */
body, html {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

html[dir="rtl"] .navbar-menu {
    flex-direction: row-reverse;
}

@media screen and (max-width: 1024px) {
    .navbar-menu,
    html[dir="rtl"] .navbar-menu {
        flex-direction: column !important;
    }
}

/* Optimize images */
img {
    max-width: 100%;
    height: auto;
    content-visibility: auto;
}

/* Optimize animations */
@keyframes professionalEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes downloading {
    0% { width: 0; }
    100% { width: 100%; }
}

/* Optimize footer for mobile */
.footer {
    background: #000;
    padding: 16px 0 6px 0;
    color: #fff;
    text-align: center;
    margin-top: auto;
}

/* User Dropdown Styles */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1000;
    overflow: hidden;
    margin-top: 8px;
}

.dropdown-item {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 14px;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
    color: #FFD700;
}

.dropdown-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    filter: none;
    color: #666;
    transition: color 0.2s;
    flex-shrink: 0;
}

.dropdown-item:hover .dropdown-icon {
    color: #FFD700;
}

/* RTL support for dropdown items */
html[dir="rtl"] .dropdown-item {
    text-align: right;
}

html[dir="rtl"] .dropdown-icon {
    margin-right: 0;
    margin-left: 12px;
}

html[dir="rtl"] .user-dropdown-content {
    right: auto;
    left: 0;
}

/* Media Queries for User Dropdown */
@media screen and (max-width: 768px) {
    .user-dropdown-content {
        min-width: 160px;
    }
    
    .dropdown-item {
        padding: 8px 12px;
    }
    
    .dropdown-icon {
        width: 18px;
        height: 18px;
    }
}

@media screen and (max-width: 480px) {
    .user-dropdown-content {
        min-width: 140px;
    }
    
    .dropdown-item {
        padding: 6px 10px;
    }
    
    .dropdown-icon {
        width: 16px;
        height: 16px;
    }
}

/* Additional RTL mobile support */
@media screen and (max-width: 768px) {
    html[dir="rtl"] .user-dropdown-content {
        min-width: 180px;
    }
}

@media screen and (max-width: 480px) {
    html[dir="rtl"] .user-dropdown-content {
        min-width: 160px;
    }
}

/* Optimize page wrapper */
/* .page-wrapper {
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
} */

.page-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Optimize content area */
.content {
    flex: 1;
    padding: 32px 16px;
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

/* Prevent horizontal scroll */
body, html {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Optimize RTL support */
html[dir="rtl"] .navbar {
    flex-direction: row-reverse;
}

/* Optimize mobile styles */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 10px;
    }
    
    .logo {
        height: 38px;
    }
    
    .content {
        padding: 16px 10px;
    }
}

@media screen and (max-width: 480px) {
    .navbar {
        padding: 8px;
    }
    
    .logo {
        height: 38px;
    }
    
    .content {
        padding: 12px 8px;
    }
}

/* Cart Styles */
.cart-link {
    position: relative;
    display: inline-block;
    margin-right: 12px;
    vertical-align: middle;
    text-decoration: none;
}
.cart-icon {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,0.08));
    transition: transform 0.2s;
}
.cart-link:hover .cart-icon {
    transform: scale(1.1);
}
.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #FFD700;
    color: #000;
    font-size: 13px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    pointer-events: none;
}

.cart-modal {
    display: none;
    position: fixed;
    z-index: 20000;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}
.cart-modal-content {
    font-family: 'Tajawal', 'Cairo', 'Oswald', Arial, sans-serif;
    background: #fff;
    color: #222;
    border-radius: 16px;
    padding: 32px 28px 24px 28px;
    min-width: 320px;
    max-width: 95vw;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.cart-modal-close {
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: none;
    outline: none;
    position: absolute;
    top: 18px;
    right: 24px;
    z-index: 10;
    padding: 0;
}
.cart-modal-close:hover,
.cart-modal-close:focus {
    background: none;
    transform: scale(1.1);
}

#cart-modal-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
    text-align: inherit;
}

#cart-items-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    text-align: inherit;
}

#cart-items-list li {
    padding: 12px 0 8px 0;
    border-bottom: 1.5px solid #f2f2f2;
    font-size: 1.08rem;
    color: #222;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

#cart-total {
    margin: 22px 0 12px 0;
    font-weight: bold;
    font-size: 1.15rem;
    text-align: inherit;
    border-top: 1.5px solid #eee;
    padding-top: 12px;
}

#cart-empty-msg {
    color: #888;
    margin-top: 24px;
    text-align: center;
    font-size: 1.1rem;
}

.proceed-payment-btn {
    width: 100%;
    background: #FFD700;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 15px 0;
    font-size: 1.15rem;
    font-weight: bold;
    margin-top: 18px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    letter-spacing: 0.5px;
    text-align: center;
}
.proceed-payment-btn:hover {
    background: #ffe066;
    color: #222;
    box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}
.proceed-payment-btn:active {
    background: #ffe066;
    color: #222;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.cancel-btn {
    width: 100%;
    background: #f2f2f2;
    color: #666;
    border: none;
    border-radius: 8px;
    padding: 15px 0;
    font-size: 1.15rem;
    font-weight: bold;
    margin-top: 12px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    letter-spacing: 0.5px;
    text-align: center;
}
.cancel-btn:hover {
    background: #e6e6e6;
    color: #333;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.cancel-btn:active {
    background: #e6e6e6;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* RTL Support for Modal */
html[dir="rtl"] .cart-modal-content {
    text-align: right;
}
html[dir="ltr"] .cart-modal-content {
    text-align: left;
}
html[dir="rtl"] .cart-modal-close {
    right: unset;
    left: 24px;
}

.remove-cart-item {
    background: none;
    border: none;
    color: #bbb;
    font-size: 1.2em;
    margin-left: 12px;
    margin-right: 0;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
    padding: 6px;
    border-radius: 50%;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    box-shadow: none;
}
.remove-cart-item svg {
    display: block;
    pointer-events: none;
}
.remove-cart-item:hover, .remove-cart-item:focus {
    color: #fff;
    background: #222;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
html[dir="rtl"] .remove-cart-item {
    margin-left: 0;
    margin-right: 12px;
}
#cart-items-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

/* Payment spinner overlay */
.payment-overlay {
    display: none;
    position: fixed;
    z-index: 30000;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(255,255,255,0.7);
    justify-content: center;
    align-items: center;
}
.payment-overlay.active {
    display: flex;
}
.payment-spinner {
    border: 4px solid #eee;
    border-top: 4px solid #FFD700;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.payment-success-modal {
    display: none;
    position: fixed;
    z-index: 40000;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.25);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}
.payment-success-modal.active {
    display: flex;
}
.payment-success-content {
    background: #fff;
    color: #222;
    border-radius: 20px;
    padding: 44px 36px 32px 36px;
    min-width: 320px;
    max-width: 92vw;
    box-shadow: 0 16px 48px rgba(0,0,0,0.22), 0 2px 8px rgba(255,215,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
    animation: popIn 0.35s cubic-bezier(.4,2,.6,1);
}
.payment-success-check {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #FFD700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(255,215,0,0.12);
}
.payment-success-check svg {
    width: 32px;
    height: 32px;
    color: #fff;
    display: block;
}
.payment-success-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 26px;
    font-weight: bold;
    color: #bbb;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    background: none;
    border: none;
    border-radius: 50%;
    padding: 2px 8px;
    line-height: 1;
}
.payment-success-close:hover {
    color: #fff;
    background: #FFD700;
}
#payment-success-message {
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 2px;
    color: #222;
    letter-spacing: 0.2px;
}
@media (max-width: 500px) {
    .payment-success-content {
        min-width: 0;
        padding: 24px 8px 16px 8px;
    }
    .payment-success-close {
        right: 6px;
        top: 6px;
    }
}
@keyframes popIn {
    0% { transform: scale(0.85); opacity: 0; }
    80% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Banner Styles */
.banner, .banner-image, body, .content, .page-wrapper {
    background: #fff !important;
}

.banner {
    padding: 0;
    margin: 0;
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    position: relative;
}

.banner-image {
    display: block;
    width: 100vw;
    max-width: 100vw;
    height: auto;
    min-height: unset;
    object-fit: unset;
    background: #fff !important;
    margin: 0 auto;
    padding: 0;
}

@media (max-width: 767px) {
    .banner-image {
        min-height: 180px;
    }
}

.banner-content {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
    width: 100%;
    padding: 0 20px;
}

.explore-btn {
    background: #FFD700;
    color: #000;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    margin: 0 auto;
    white-space: nowrap;
    position: relative;
    z-index: 3;
}

.explore-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Large Desktop */
@media screen and (min-width: 1440px) {
    .banner {
        height: 700px;
    }
    .banner-content {
        top: 25%;
    }
    .explore-btn {
        padding: 20px 50px;
        font-size: 1.4rem;
    }
    .scroll-indicator {
        bottom: 40px;
    }
    .scroll-arrow {
        width: 45px;
        height: 45px;
    }
}

/* Desktop */
@media screen and (min-width: 1024px) and (max-width: 1439px) {
    .banner {
        height: 600px;
    }
    .banner-content {
        top: 25%;
    }
    .explore-btn {
        padding: 18px 45px;
        font-size: 1.3rem;
    }
    .scroll-indicator {
        bottom: 35px;
    }
    .scroll-arrow {
        width: 40px;
        height: 40px;
    }
}

/* Tablet Landscape */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .banner {
        height: 450px;
    }
    .banner-content {
        top: 20%;
    }
    .explore-btn {
        padding: 15px 35px;
        font-size: 1.2rem;
    }
    .scroll-indicator {
        bottom: 25px;
    }
    .scroll-arrow {
        width: 35px;
        height: 35px;
    }
}

/* Tablet Portrait */
@media screen and (min-width: 481px) and (max-width: 767px) {
    .banner {
        height: 350px;
    }
    .banner-content {
        top: 15%;
    }
    .explore-btn {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
    .scroll-indicator {
        bottom: 20px;
    }
    .scroll-arrow {
        width: 30px;
        height: 30px;
    }
}

/* Mobile */
@media screen and (max-width: 480px) {
    .banner {
        height: 300px;
    }
    .banner-content {
        top: 10%;
        padding: 0 15px;
    }
    .explore-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
    .scroll-indicator {
        bottom: 15px;
    }
    .scroll-arrow {
        width: 25px;
        height: 25px;
    }
}

/* Scroll Indicator Styles */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 10px;
    backdrop-filter: blur(4px);
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
    display: block;
}

.scroll-indicator:hover {
    background: rgba(0, 0, 0, 0.5);
}

.scroll-indicator:hover .scroll-arrow {
    transform: translateY(5px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* RTL Support for Banner */
html[dir="rtl"] .banner-content {
    direction: rtl;
}

html[dir="rtl"] .explore-btn {
    letter-spacing: 0;
}

@media screen and (max-width: 480px) {
  .banner-spacer {
    background: transparent !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: none !important;
  }
}

/* Responsive banner and spacer heights */
@media screen and (min-width: 1025px) {
  .banner {
    height: 600px;
  }
  .banner-spacer {
    height: 600px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .banner {
    height: 400px;
  }
  .banner-spacer {
    height: 400px;
  }
}
@media screen and (max-width: 767px) {
  .banner {
    height: 250px;
  }
  .banner-spacer {
    height: 250px;
  }
  .page-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
}

/* Payment Choice Modal Styles */
.payment-choice-modal {
    display: none;
    position: fixed;
    z-index: 40000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.25);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.payment-choice-modal.active {
    display: flex;
}

.payment-choice-content {
    background: #fff;
    color: #222;
    border-radius: 20px;
    padding: 44px 36px 32px 36px;
    min-width: 320px;
    max-width: 92vw;
    box-shadow: 0 16px 48px rgba(0,0,0,0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
    animation: popIn 0.35s cubic-bezier(.4,2,.6,1);
}

.payment-choice-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
}

.payment-choice-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 24px;
}

.payment-choice-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 280px;
}

.payment-choice-btn {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
}

.signin-btn {
    background: #FFD700;
    color: #000;
}

.signin-btn:hover {
    background: #ffe066;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.signup-btn {
    background: #222;
    color: #fff;
}

.signup-btn:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.payment-choice-btn.cancel-btn {
    background: #f2f2f2;
    color: #666;
}

.payment-choice-btn.cancel-btn:hover {
    background: #e6e6e6;
    color: #333;
}

/* RTL Support for Payment Choice Modal */
html[dir="rtl"] .payment-choice-content {
    text-align: center;
}

html[dir="rtl"] .payment-choice-btn {
    direction: rtl;
}

@media (max-width: 500px) {
    .payment-choice-content {
        padding: 32px 24px 24px 24px;
    }
    
    .payment-choice-content h3 {
        font-size: 1.3rem;
    }
    
    .payment-choice-content p {
        font-size: 1rem;
    }
    
    .payment-choice-btn {
        padding: 12px 0;
        font-size: 1rem;
    }
}

/* Custom Notification Styles */
.custom-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #FFD700;
    color: #000;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    max-width: 300px;
    text-align: center;
}

.custom-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* RTL Support for Notification */
html[dir="rtl"] .custom-notification {
    right: auto;
    left: 24px;
}

@media screen and (max-width: 768px) {
    .custom-notification {
        bottom: 16px;
        right: 16px;
        left: 16px;
        max-width: calc(100% - 32px);
        font-size: 14px;
        padding: 12px 20px;
    }
    
    html[dir="rtl"] .custom-notification {
        right: 16px;
        left: 16px;
    }
}

/* Keep navigation and other elements non-selectable */
.navbar,
.navbar *,
.footer,
.footer *,
.cart-modal,
.cart-modal *,
.payment-overlay,
.payment-overlay *,
.payment-success-modal,
.payment-success-modal *,
.payment-choice-modal,
.payment-choice-modal *,
.whatsapp-float,
.whatsapp-float *,
.user-dropdown,
.user-dropdown *,
.hamburger,
.hamburger *,
.splash-screen,
.splash-screen *,
.banner,
.banner-image,
.scroll-indicator,
.scroll-indicator * {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Arabic content styling */
#home-desc-ar {
    text-align: right;
    direction: rtl;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    line-height: 1.8;
    color: #333;
}

#home-title-ar {
    color: #000;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 3px solid #000;
    padding-bottom: 15px;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

#home-desc-ar p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-align: justify;
    line-height: 1.8;
}

#home-desc-ar h3 {
    color: #FFD700;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 30px 0 20px 0;
    text-align: right;
    border-right: 3px solid #FFD700;
    padding-right: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#home-desc-ar h3:not(:has(img)) {
    gap: 0;
}

#home-desc-ar h3 img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    filter: brightness(0) sepia(1) saturate(10000%) hue-rotate(0deg);
}

#home-desc-ar ul {
    text-align: right;
    margin: 20px 0 30px 0;
    padding-right: 25px;
}

#home-desc-ar li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
    padding-right: 30px;
}

#home-desc-ar li:before {
    content: "✓";
    color: #FFD700;
    font-weight: bold;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.3rem;
}

/* English content styling */
#home-title {
    color: #000;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 3px solid #000;
    padding-bottom: 15px;
}

#home-desc {
    text-align: left;
    line-height: 1.8;
    color: #333;
}

#home-desc p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-align: justify;
    line-height: 1.8;
}

#home-desc h3 {
    color: #FFD700;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 30px 0 20px 0;
    text-align: left;
    border-left: 3px solid #FFD700;
    padding-left: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#home-desc h3:not(:has(img)) {
    gap: 0;
}

#home-desc h3 img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    filter: brightness(0);
}

#home-desc ul {
    text-align: left;
    margin: 20px 0 30px 0;
    padding-left: 25px;
}

#home-desc li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
    padding-left: 30px;
}

#home-desc li:before {
    content: "✓";
    color: #FFD700;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.3rem;
}

/* Responsive adjustments for English content */
@media screen and (max-width: 768px) {
    #home-title {
        font-size: 1.6rem;
    }
    #home-desc h3 {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    #home-title {
        font-size: 1.4rem;
    }
    #home-desc h3 {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .lang, .active-lang, #lang-en, #lang-ar {
        font-size: 18px;
    }
}

.location-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFD700;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
    margin-top: 8px;
    border: 1px solid transparent;
}
.location-link:hover {
    background: #FFD700;
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    text-decoration: none;
}
.location-link img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    filter: brightness(0) sepia(1) saturate(10000%) hue-rotate(0deg);
}
