
:root {
    --primary: #2c3e50;
    --accent: #e67e22;
    --white: #ffffff;
    --gray: #f4f4f4;
    --text: #333;
}


* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', sans-serif; background-color: var(--gray); direction: rtl; }


/* Navbar */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.logo { font-size: 1.6rem; font-weight: bold; color: var(--primary); }
.logo span { color: var(--accent); }
.nav-controls { display: flex; align-items: center; gap: 20px; }
.cart-icon-wrapper { position: relative; cursor: pointer; font-size: 1.4rem; color: var(--primary); }
#cart-count { position: absolute; top: -8px; right: -10px; background: #e74c3c; color: white; font-size: 0.7rem; padding: 2px 6px; border-radius: 50%; }
.menu-toggle { font-size: 1.5rem; cursor: pointer; color: var(--primary); }


/* Side Menu */
.side-menu { position: fixed; top: 0; right: -280px; width: 280px; height: 100%; background: var(--primary); z-index: 1001; transition: 0.4s; padding-top: 60px; }
.side-menu.active { right: 0; }
.close-btn { position: absolute; top: 20px; left: 20px; font-size: 2.2rem; color: white; cursor: pointer; }
.menu-links { list-style: none; padding: 20px; }
.menu-links li { margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.menu-links a { text-decoration: none; color: white; display: block; font-size: 1.1rem; }


/* Page Header */
.page-header { text-align: center; padding: 60px 20px; background: var(--white); margin-bottom: 40px; }
.page-header h1 { color: var(--primary); font-size: 2.5rem; }
.page-header p { color: #777; margin-top: 10px; }


/* Products Grid */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; padding: 0 5% 60px; max-width: 1400px; margin: 0 auto; }
.product-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; position: relative; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.product-image { width: 100%; height: 250px; object-fit: cover; }
.product-info { padding: 20px; text-align: center; }
.product-info h3 { color: var(--primary); margin-bottom: 10px; }
.product-price { color: var(--accent); font-size: 1.3rem; font-weight: bold; margin-bottom: 15px; display: block; }
.btn-add-cart { width: 100%; padding: 12px; background: var(--primary); color: white; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-add-cart:hover { background: var(--accent); }
