/* =============================================
   باريزو - BARESO
   Main Stylesheet
   ============================================= */

/* CSS Variables */
:root {
    --primary: #F5A800;
    --primary-dark: #D98E00;
    --primary-light: #FFBF33;
    --secondary: #FFD700;
    --secondary-dark: #E6C200;
    --accent: #2C3E50;
    --text-dark: #1a1a2e;
    --text-medium: #4a4a6a;
    --text-light: #8888aa;
    --bg-light: #FFFBEE;
    --bg-white: #ffffff;
    --border: #e8ddb5;
    --shadow-sm: 0 2px 10px rgba(245,168,0,0.08);
    --shadow-md: 0 8px 30px rgba(245,168,0,0.15);
    --shadow-lg: 0 20px 60px rgba(245,168,0,0.2);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-ar: 'Tajawal', sans-serif;
    --font-en: 'Inter', sans-serif;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-ar);
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

body.en {
    font-family: var(--font-en);
    direction: ltr;
    text-align: left;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

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

/* Language Toggle */
body.ar .en { display: none !important; }
body.en .ar { display: none !important; }
body .en { display: none; }
body .ar { display: inline; }

.ar-only { display: inline; }
.en-only { display: none; }
body.en .ar-only { display: none; }
body.en .en-only { display: inline; }

/* =============================================
   HEADER
   ============================================= */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--accent) 0%, #1a252f 100%);
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-info a {
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.contact-info a:hover { color: var(--secondary); }
.contact-info i { color: var(--secondary); }

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Switcher */
.language-switcher button {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}

.language-switcher button:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Social Links (top bar) */
.top-bar .social-links {
    display: flex;
    gap: 10px;
}

.top-bar .social-links a {
    color: rgba(255,255,255,0.7);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    font-size: 12px;
    transition: var(--transition);
}

.top-bar .social-links a:hover {
    color: white;
    background: var(--primary);
    transform: translateY(-2px);
}

/* Main Nav */
.main-nav {
    background: var(--bg-white);
    padding: 10px 0;
}

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

/* Logo */
.logo a {
    display: flex;
    align-items: center;
}

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

.logo-ar {
    font-size: 26px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo-en {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 4px;
    font-family: var(--font-en);
}

.nav-logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
}

.nav-logo-img:hover {
    transform: scale(1.05);
}

/* Nav Menu */
.nav-menu ul {
    display: flex;
    gap: 5px;
    align-items: center;
}

.nav-menu ul li a {
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: var(--primary);
    background: rgba(255,107,0,0.08);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-actions button,
.nav-actions a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 16px;
    transition: var(--transition);
    background: transparent;
    position: relative;
}

.nav-actions button:hover,
.nav-actions a:hover {
    color: var(--primary);
    background: rgba(255,107,0,0.08);
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -2px;
    left: -2px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 1;
}

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

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    padding: 20px;
}

.search-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.search-container {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 600px;
    background: white;
    padding: 12px 16px;
    border-radius: var(--radius-full);
    align-items: center;
}

.search-container input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    background: none;
    font-family: inherit;
}

.search-container button {
    color: var(--primary);
    font-size: 18px;
    padding: 5px 10px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(255,107,0,0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,107,0,0.45);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-white {
    border-color: rgba(255,255,255,0.7);
    color: white;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-slide {
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #E69B00 0%, #F5B800 35%, #FFD000 65%, #FFE44D 100%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-slide .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-content {
    color: white;
}

/* Quality Badges */
.quality-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.quality-badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 7px;
}

.quality-badge i { color: var(--secondary); }

.hero-title {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero-subtitle {
    font-size: clamp(15px, 2vw, 19px);
    opacity: 0.92;
    margin-bottom: 35px;
    color: rgba(255,255,255,0.95);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Hero Image / Floating Products */
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-showcase {
    position: relative;
    width: 380px;
    height: 380px;
}

.hero-circle {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.25);
    animation: rotateSlow 20s linear infinite;
}

.hero-circle::before {
    content: '';
    position: absolute;
    inset: 15px;
    border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.2);
}

.floating-product {
    position: absolute;
    font-size: 60px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
    animation: float 4s ease-in-out infinite;
}

.product-1 { 
    top: 50%; right: 50%; 
    transform: translate(50%, -50%); 
    font-size: 90px; 
    animation: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ====== HERO LOGO ====== */
.product-showcase {
    direction: ltr;
}

.hero-logo-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatLogo 3.5s ease-in-out infinite;
}

.hero-logo-img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 8px 30px rgba(0,0,0,0.45));
    mix-blend-mode: multiply;
}

@keyframes floatLogo {
    0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
    50%       { transform: translate(-50%, -50%) translateY(-14px); }
}

.product-2 { top: 8%;  right: 8%;  font-size: 48px; animation-delay: 0.5s; }
.product-3 { bottom: 10%; left: 8%;  font-size: 52px; animation-delay: 1.5s; }
.product-4 { top: 15%;  left: 5%;  font-size: 44px; animation-delay: 1s;   }
.product-5 { bottom: 12%; right: 5%; font-size: 46px; animation-delay: 2s;   }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-mouse {
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 14px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.features {
    padding: 70px 0;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    text-align: center;
    padding: 35px 25px;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
    color: white;
    box-shadow: 0 8px 25px rgba(255,107,0,0.3);
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: rgba(255,107,0,0.1);
    color: var(--primary);
    padding: 5px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-medium);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* =============================================
   PRODUCTS CAROUSEL SECTION
   ============================================= */
.products-carousel-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.products-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.products-carousel {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
}

/* Carousel Loading */
.carousel-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    gap: 15px;
    color: var(--text-medium);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,107,0,0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Carousel Buttons */
.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border);
    color: var(--text-dark);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--primary);
}

.view-all-products {
    text-align: center;
    margin-top: 35px;
}

/* =============================================
   PRODUCT CARDS
   ============================================= */
.products-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255,107,0,0.2);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    color: white;
}

.product-badge.bestseller { background: var(--primary); }
.product-badge.new { background: #22c55e; }
.product-badge.sale { background: #ef4444; }

.product-image {
    height: 220px;
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.product-card:hover .product-img {
    transform: scale(1.06);
}

.product-placeholder {
    font-size: 80px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
    transition: var(--transition);
}

.product-card:hover .product-placeholder {
    transform: scale(1.1) rotate(-5deg);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: white;
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    font-family: inherit;
}

.quick-view-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
}

.product-description {
    font-size: 13px;
    color: var(--text-medium);
    margin-bottom: 12px;
    line-height: 1.6;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--secondary);
}

.product-rating span {
    color: var(--text-light);
    margin-right: 5px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.product-price {
    display: none;
}

.product-price del {
    display: none;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
    font-family: inherit;
    width: 100%;
    white-space: nowrap;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,0,0.4);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

/* =============================================
   STATS SECTION
   ============================================= */
.stats-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--accent) 0%, #1a252f 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,107,0,0.15) 0%, transparent 70%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    color: white;
    padding: 30px 20px;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}

.stat-item:last-child::after { display: none; }

.stat-number {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* =============================================
   NEWSLETTER
   ============================================= */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #E69B00 0%, #F5B800 50%, #FFD000 100%);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
}

.newsletter::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter-icon {
    font-size: 50px;
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
    display: none;
}

.newsletter-text {
    flex: 1;
    min-width: 250px;
}

.newsletter-text h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
}

.newsletter-text p {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    min-width: 350px;
    flex: 1;
    max-width: 480px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: var(--radius-full);
    border: none;
    outline: none;
    font-size: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    font-family: inherit;
}

.newsletter-form .btn {
    flex-shrink: 0;
    background: var(--accent);
    box-shadow: none;
}

.newsletter-form .btn:hover {
    background: #1a252f;
    transform: translateY(-2px);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--accent);
    color: rgba(255,255,255,0.8);
    padding-top: 70px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    line-height: 1;
}

.footer-logo .logo-ar {
    font-size: 28px;
    font-weight: 900;
    color: var(--secondary);
}

.footer-logo .logo-en {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    letter-spacing: 4px;
    font-family: var(--font-en);
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.65);
}

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

.footer .social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer .social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-section h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

body.en .footer-section h4::after {
    right: auto;
    left: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-section ul li a:hover {
    color: var(--secondary);
    padding-right: 5px;
}

body.en .footer-section ul li a:hover {
    padding-right: 0;
    padding-left: 5px;
}

/* Contact List */
.contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    align-items: flex-start;
}

.contact-list i {
    color: var(--secondary);
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    flex-wrap: wrap;
    gap: 15px;
}

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

.footer-links a {
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
    font-size: 13px;
}

.footer-links a:hover { color: var(--secondary); }

.admin-link {
    color: var(--secondary) !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* =============================================
   CART SIDEBAR
   ============================================= */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: white;
    z-index: 1500;
    box-shadow: -10px 0 50px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.en .cart-sidebar {
    right: auto;
    left: -400px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-sidebar.open { right: 0; }
body.en .cart-sidebar.open { right: auto; left: 0; }

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-light);
}

.cart-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.close-cart {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border);
    color: var(--text-dark);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-cart:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 15px;
    color: var(--text-light);
    text-align: center;
    padding: 40px;
}

.empty-cart i {
    font-size: 50px;
    opacity: 0.3;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.cart-item-emoji {
    font-size: 40px;
    background: var(--bg-light);
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 15px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.cart-item-controls button {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 1px solid var(--border);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-item-controls button:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.cart-item-qty {
    font-weight: 700;
    font-size: 15px;
    min-width: 20px;
    text-align: center;
}

.remove-item {
    color: #ef4444;
    font-size: 15px;
    transition: var(--transition);
    margin-right: auto;
}

.remove-item:hover { transform: scale(1.2); }

.cart-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--border);
    background: var(--bg-light);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 17px;
    font-weight: 700;
}

.cart-total span:last-child {
    color: var(--primary);
    font-size: 20px;
}

/* =============================================
   OVERLAY
   ============================================= */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    backdrop-filter: blur(3px);
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* =============================================
   TOAST NOTIFICATION
   ============================================= */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-dark);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    z-index: 3000;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast i { color: #22c55e; font-size: 16px; }

/* =============================================
   PAGE HERO (for inner pages)
   ============================================= */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 70px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.page-hero h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.page-hero p {
    font-size: 17px;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 15px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.8;
    flex-wrap: wrap;
}

.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb span { opacity: 0.6; }

/* Utilities */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.p-20 { padding: 20px; }
