:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-blue: #0077CC;
    --color-dark-gray: #1a1a1a;
    --color-light-gray: #f5f5f5;
    --bg-color: #ffffff;
    --text-color: #000000;
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.05);

    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-arabic: 'Cairo', system-ui, -apple-system, sans-serif;

    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

main {
    animation: fadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 12px;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
}

.btn-primary:hover {
    background-color: var(--color-blue);
    border-color: var(--color-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 204, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: transform var(--transition-smooth);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

.nav-icons {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.cart-icon {
    position: relative;
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-blue);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #ffffff 0%, #f4f6f9 100%);
    position: relative;
    padding-top: 80px;
}

.hero .container {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    z-index: 10;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--color-black);
}

.hero-content p {
    font-size: 1.4rem !important;
    color: #555;
    margin: 0 auto 50px auto !important;
    max-width: 600px !important;
}

.hero-content .btn-primary {
    padding: 18px 50px;
    font-size: 1.2rem;
    border-radius: 50px;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-content .btn-primary:hover {
    transform: translateY(-8px) scale(1.05);
    background-color: var(--color-blue);
    border-color: var(--color-blue);
    box-shadow: 0 15px 40px rgba(0, 119, 204, 0.3);
}

@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.1rem !important;
    }

    .hero-content .btn-primary {
        padding: 15px 40px;
        font-size: 1rem;
    }
}

/* Footer */
footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

/* Category Grid */
.category-section {
    padding: var(--spacing-xl) 0;
    background: #fdfdfd;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.category-card {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

.category-card:hover::after {
    background: rgba(0, 0, 0, 0);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: transform var(--transition-fast);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Forms */
input,
select,
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--card-bg);
    color: var(--text-color);
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

input:focus {
    border-color: var(--color-blue);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 119, 204, 0.1);
}

/* Fix Chrome Autofill Yellow Background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: inherit !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    nav {
        height: 80px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        border-top: 1px solid var(--border-color);
        z-index: 1000;
    }

    nav.active .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: block !important;
        width: 30px;
        height: 20px;
        cursor: pointer;
        background: none;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        padding: 0;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--text-color);
        margin-bottom: 6px;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border-radius: 2px;
    }

    .mobile-menu-btn span:last-child {
        margin-bottom: 0;
    }

    .mobile-menu-btn.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-btn.open span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .mobile-menu-btn.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    body.rtl .mobile-menu-btn {
        right: 15px;
        left: auto;
    }

    .nav-icons {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        gap: 15px;
        z-index: 10;
    }

    body.rtl .nav-icons {
        left: 15px;
        right: auto;
    }

    .logo {
        margin: 0;
        padding: 0 60px;
        text-align: center;
        z-index: 5;
    }

    .product-card {
        margin-bottom: 15px;
    }

    .featured-grid,
    .category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .product-img {
        height: 150px !important;
    }

    .product-info {
        padding: 10px !important;
    }

    .product-info h3 {
        font-size: 0.9rem !important;
    }

    .category-card {
        height: 120px !important;
        font-size: 1.1rem !important;
    }

    /* Cart Responsive */
    .cart-table thead {
        display: none;
    }

    .cart-table tr {
        display: block;
        margin-bottom: 1.5rem;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        padding: 1rem;
        border-radius: 8px;
    }

    .cart-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .cart-table td:last-child {
        border-bottom: none;
    }

    .cart-table td::before {
        content: attr(data-label);
        font-weight: 700;
    }
}

/* RTL Support */
body.rtl {
    direction: rtl;
    text-align: right;
    font-family: var(--font-arabic);
}

body.rtl .cart-count {
    right: auto;
    left: -8px;
}

body.rtl .whatsapp-float {
    right: auto;
    left: 30px;
}

/* Product Cards */
.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-img {
    height: 250px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-price {
    color: var(--color-blue);
    font-weight: 700;
    font-size: 1.2rem;
    display: block;
    margin: 5px 0;
}

/* Responsive Utils */
.hide-desktop {
    display: none !important;
}

@media (max-width: 768px) {
    .hide-desktop {
        display: block !important;
    }

    .hide-mobile {
        display: none !important;
    }
}/ *   T o a s t   N o t i f i c a t i o n s   * /  
 . t o a s t - c o n t a i n e r   {  
         p o s i t i o n :   f i x e d ;  
         t o p :   2 0 p x ;  
         r i g h t :   2 0 p x ;  
         z - i n d e x :   9 9 9 9 9 ;  
         d i s p l a y :   f l e x ;  
         f l e x - d i r e c t i o n :   c o l u m n ;  
         g a p :   1 0 p x ;  
 }  
  
 b o d y . r t l   . t o a s t - c o n t a i n e r   {  
         r i g h t :   a u t o ;  
         l e f t :   2 0 p x ;  
 }  
  
 . t o a s t   {  
         b a c k g r o u n d :   w h i t e ;  
         p a d d i n g :   1 5 p x   2 5 p x ;  
         b o r d e r - r a d i u s :   8 p x ;  
         b o x - s h a d o w :   0   5 p x   1 5 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 5 ) ;  
         d i s p l a y :   f l e x ;  
         a l i g n - i t e m s :   c e n t e r ;  
         g a p :   1 5 p x ;  
         m i n - w i d t h :   3 0 0 p x ;  
         t r a n s f o r m :   t r a n s l a t e X ( 1 2 0 % ) ;  
         t r a n s i t i o n :   t r a n s f o r m   0 . 4 s   c u b i c - b e z i e r ( 0 . 1 7 5 ,   0 . 8 8 5 ,   0 . 3 2 ,   1 . 2 7 5 ) ;  
         b o r d e r - l e f t :   5 p x   s o l i d   # 3 3 3 ;  
 }  
  
 b o d y . r t l   . t o a s t   {  
         b o r d e r - l e f t :   n o n e ;  
         b o r d e r - r i g h t :   5 p x   s o l i d   # 3 3 3 ;  
         t r a n s f o r m :   t r a n s l a t e X ( - 1 2 0 % ) ;  
 }  
  
 . t o a s t . s h o w   {  
         t r a n s f o r m :   t r a n s l a t e X ( 0 )   ! i m p o r t a n t ;  
 }  
  
 . t o a s t - i c o n   {  
         f o n t - s i z e :   1 . 2 r e m ;  
 }  
  
 . t o a s t - s u c c e s s   {  
         b o r d e r - c o l o r :   # 2 e c c 7 1   ! i m p o r t a n t ;  
 }  
  
 . t o a s t - s u c c e s s   . t o a s t - i c o n   {  
         c o l o r :   # 2 e c c 7 1 ;  
 }  
  
 . t o a s t - e r r o r   {  
         b o r d e r - c o l o r :   # e 7 4 c 3 c   ! i m p o r t a n t ;  
 }  
  
 . t o a s t - e r r o r   . t o a s t - i c o n   {  
         c o l o r :   # e 7 4 c 3 c ;  
 }  
  
 . t o a s t - i n f o   {  
         b o r d e r - c o l o r :   # 3 4 9 8 d b   ! i m p o r t a n t ;  
 }  
  
 . t o a s t - i n f o   . t o a s t - i c o n   {  
         c o l o r :   # 3 4 9 8 d b ;  
 }  
  
 . t o a s t - c o n t e n t   {  
         f l e x :   1 ;  
 }  
  
 . t o a s t - t i t l e   {  
         f o n t - w e i g h t :   7 0 0 ;  
         m a r g i n - b o t t o m :   2 p x ;  
         f o n t - s i z e :   0 . 9 5 r e m ;  
 }  
  
 . t o a s t - m e s s a g e   {  
         c o l o r :   # 6 6 6 ;  
         f o n t - s i z e :   0 . 8 5 r e m ;  
 }  
 