* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #DC2626;
    --primary-dark: #991B1B;
    --secondary: #0A0A0A;
    --secondary-light: #1F1F1F;
    --gold: #D4AF37;
    --white: #FFFFFF;
    --gray-light: #F3F4F6;
    --gray: #6B7280;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #F9FAFB;
    color: var(--secondary);
}

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

/* Top Bar */
.top-bar {
    background: var(--primary);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

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

.contact-info span {
    margin-left: 20px;
}

.contact-info i, .location i {
    margin-left: 5px;
}

/* Main Header */
.main-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

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

.logo a {
    text-decoration: none;
}

.logo h1 {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 15px 30px;
    border-radius: 12px;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.search-bar {
    flex: 1;
    max-width: 600px;
}

.search-bar form {
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-bar input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    outline: none;
    font-size: 16px;
}

.search-bar button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 30px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: var(--primary-dark);
}

.header-actions {
    display: flex;
    gap: 20px;
}

.header-icon {
    color: rgb(29, 27, 27);
    font-size: 24px;
    position: relative;
    transition: color 0.3s;
}

.header-icon:hover {
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    left: -8px;
    background: var(--primary);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Navigation */
.main-nav {
    background: rgba(80, 76, 76, 0);
    backdrop-filter: blur(10px);
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 15px 0;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--gold);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #EF4444 100%);
    padding: 100px 0;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.4);
}

.btn-gold {
    background: var(--gold);
    color: var(--secondary);
}

.btn-gold:hover {
    background: #C5A028;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary);
}

/* Categories */
.categories-section {
    padding: 80px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    transition: transform 0.3s;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-name {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.category-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.category-link:hover {
    color: var(--primary-dark);
}

/* Products */
.products-section {
    padding: 0px 0;
    background: white;
}

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

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--gray-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.product-info {
    padding: 20px;
}

.product-category {
    color: var(--gray);
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.product-name {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary);
}

.product-description {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    margin-bottom: 15px;
}

.old-price {
    text-decoration: line-through;
    color: var(--gray);
    margin-left: 10px;
}

.new-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
}

/* Cart */
.cart-page {
    padding: 60px 0;
}

.empty-cart {
    text-align: center;
    padding: 100px 0;
}

.empty-cart h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 150px 150px 50px;
    gap: 20px;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.item-quantity input {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--gray-light);
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
}

.btn-remove {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 32px;
    cursor: pointer;
    transition: color 0.3s;
}

.btn-remove:hover {
    color: var(--primary-dark);
}

.cart-summary {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.cart-summary h2 {
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-light);
}

.summary-row.total {
    font-size: 20px;
    font-weight: bold;
    border-bottom: none;
    color: var(--primary);
    margin-top: 10px;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 22px;
}

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

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

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
}

.contact-list li {
    color: rgba(255,255,255,0.8);
}

.contact-list i {
    margin-left: 10px;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    
    .search-bar {
        width: 100%;
        max-width: none;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
/* 1. التأسيس والخطوط الفاخرة */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

:root {
    --primary: #494242; /* أحمر مرجاني ناعم جداً */
    --primary-glow: rgba(248, 113, 113, 0.4);
    --bg-soft: #fcfdfe;
    --text-deep: #1e293b;
    --glass: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.05);
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--bg-soft);
    color: var(--text-deep);
    overflow-x: hidden;
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 25px;
}

/* 2. الهيدر الزجاجي (Floating Glass Header) */
.main-header {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.logo h1 {
    font-weight: 800;
    font-size: 24px;
    background: linear-gradient(135deg, #1e293b 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

/* 3. شريط البحث (Smart Neumorphic Search) */
.search-bar form {
    background: #f1f5f9;
    border-radius: 20px;
    padding: 4px;
    border: 1px solid transparent;
}

.search-bar form:focus-within {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.search-bar input {
    background: transparent;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-family: 'Cairo';
}

/* 4. قسم الهيرو (Cinematic & Soft) */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at top right, #fff5f5 0%, #fcfdfe 100%);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary-glow);
    filter: blur(100px);
    border-radius: 50%;
    z-index: 0;
    top: -100px;
    right: -100px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-deep);
    position: relative;
    z-index: 1;
}

/* 5. بطاقات الأقسام (Minimalist Floating) */
.category-card {
    background: #fff;
    border-radius: 32px;
    padding: 40px;
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.category-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.08);
}

.category-icon {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, #fff 0%, #fecaca 100%);
    border-radius: 24px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(248, 113, 113, 0.15);
}

/* 6. بطاقة المنتج (The Art Piece) */
.product-card {
    background: #fff;
    border-radius: 28px;
    padding: 12px;
    border: 1px solid #f8fafc;
    box-shadow: var(--shadow-soft);
}

.product-image {
    border-radius: 22px;
    overflow: hidden;
    height: 320px;
    background: #f8fafc;
}

.product-image img {
    transition: transform 0.8s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1) rotate(2deg);
}

.new-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-deep);
}

.btn-primary {
    background: var(--text-deep);
    color: #fff;
    border-radius: 18px;
    padding: 14px 28px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(30, 41, 59, 0.2);
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--primary-glow);
}

/* 7. الفوتر الهادئ */
.main-footer {
    background: #fff;
    border-top: 1px solid #f1f5f9;
    padding: 80px 0 30px;
}

.footer-section h3 {
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-deep);
}
.main-slider {
    width: 100%;
    height: 85vh; /* ارتفاع السلايدر */
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 100%;
}

.slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.slide-text h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slide-text p {
    font-size: 1.4rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* زر السلايدر الأنيق */
.btn-main-slider {
    display: inline-block;
    padding: 15px 45px;
    background: #fff;
    color: #1a2b3c;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.btn-main-slider:hover {
    transform: translateY(-5px);
    background: #f87171; /* لون ناعم عند التمرير */
    color: #fff;
}

/* تخصيص ألوان أزرار التنقل */
.swiper-button-next, .swiper-button-prev {
    color: #fff !important;
    transform: scale(0.7);
}

.swiper-pagination-bullet-active {
    background: #fff !important;
}
/* تغيير خط الموقع بالكامل ليكون متناسق مع الناف بار */
body, p, span, div {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* خطوط نظام عصرية */
    font-weight: 500; /* سمك الخط ليكون واضح */
    line-height: 1.6;
}

/* لو حابب تخصص الخط للعناوين فقط */
h1, h2, h3 {
    font-family: 'Arial', sans-serif;
    text-transform: uppercase; /* لجعل العناوين احترافية مثل القوائم */
}
.product-info{
   height: 200px; 
}
/* تنسيق قسم الـ Glimpse */
.glimpse-section {
    padding: 40px 0;
    background-color: #fff;
}

.glimpse-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.glimpse-row {
    display: flex;
    width: 100%;
    height: 400px; /* ارتفاع ثابت لكل صف */
}

.glimpse-row.reverse {
    flex-direction: row-reverse;
}

.glimpse-text-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: #fff;
}

.glimpse-text-box.dark-teal {
    background-color: #1a3a3a; /* اللون الزيتي/التيل الغامق كما في الصورة */
}

.glimpse-text-box.centered {
    align-items: center;
    text-align: center;
}

.glimpse-image-box {
    flex: 1;
    overflow: hidden;
}

.glimpse-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.glimpse-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.btn-shop-now {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-shop-now:hover {
    background: #fff;
    color: #1a3a3a;
}

/* قسم الاشتراك */
.subscribe-section {
    text-align: center;
    padding: 80px 20px;
    background-color: #fff;
}

.subscribe-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.subscribe-subtitle {
    font-size: 0.9rem;
    color: #888;
}

/* التوافق مع الموبايل */
@media (max-width: 768px) {
    .glimpse-row, .glimpse-row.reverse {
        flex-direction: column;
        height: auto;
    }
    .glimpse-text-box {
        padding: 40px 20px;
    }
    .glimpse-image-box {
        height: 300px;
    }
    .glimpse-title {
        font-size: 1.8rem;
    }
}