:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8f8;
    --bg-dark: #1a1a2e;
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --text-muted: #999;
    --accent: #c9a96e;
    --accent-dark: #b8944f;
    --accent-light: #f5ede0;
    --border: #e8e8e8;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-ar: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    --font-en: 'Inter', 'Segoe UI', Tahoma, sans-serif;
}

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

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

html[dir="rtl"] {
    font-family: var(--font-ar);
}

html[dir="ltr"] {
    font-family: var(--font-en);
}

body {
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    border: 2px solid #25d366;
}

.btn-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

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

.logo-icon svg {
    width: 38px;
    height: 38px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bg-dark);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-list a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}

.nav-list a:hover {
    color: var(--accent);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

html[dir="rtl"] .nav-list a::after {
    right: 0;
    left: auto;
}

.nav-list a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle {
    padding: 6px 14px;
    border: 2px solid var(--border);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.lang-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.cart-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-secondary);
    transition: all var(--transition);
}

.cart-btn:hover {
    background: var(--accent-light);
}

.cart-icon {
    width: 20px;
    height: 20px;
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--bg-dark);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/hero-suit.jpg') center/cover no-repeat;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.6) 50%, rgba(26,26,46,0.4) 100%);
}

html[dir="rtl"] .hero-overlay {
    background: linear-gradient(225deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.6) 50%, rgba(26,26,46,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: #fff;
}

.hero-tag {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(201,169,110,0.2);
    border: 1px solid var(--accent);
    border-radius: 20px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 28px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.hero-image {
    position: relative;
}

.hero-image-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 3/4;
}

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

.hero-image-badge {
    position: absolute;
    top: 20px;
    left: -20px;
    padding: 10px 20px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

html[dir="rtl"] .hero-image-badge {
    left: auto;
    right: -20px;
}

/* Section */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-light);
    border-radius: 20px;
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
}

/* Categories */
.categories {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.category-card {
    text-align: center;
    background: var(--bg-primary);
    border-radius: var(--radius);
    padding: 28px 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--border);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.category-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 16px;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-img img {
    transform: scale(1.08);
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.category-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Products */
.products {
    padding: 100px 0;
}

.products-toolbar {
    margin-bottom: 36px;
}

.filter-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 10px 22px;
    border: 1.5px solid var(--border);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
    background: transparent;
}

.filter-tag:hover,
.filter-tag.active {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

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

.product-card {
    background: var(--bg-primary);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--border);
}

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

.product-img {
    position: relative;
    aspect-ratio: 3/4;
    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.06);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-badge.new {
    background: #1a1a2e;
    color: #fff;
}

.product-badge.sale {
    background: #e74c3c;
    color: #fff;
}

html[dir="rtl"] .product-badge {
    left: auto;
    right: 12px;
}

.product-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.product-wishlist:hover {
    background: var(--accent);
    color: #fff;
}

html[dir="rtl"] .product-wishlist {
    right: auto;
    left: 12px;
}

.product-wishlist svg {
    width: 18px;
    height: 18px;
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-colors {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
}

.color-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border);
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-current {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-old {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-add {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.product-add:hover {
    background: var(--accent-dark);
    transform: scale(1.1);
}

.product-add svg {
    width: 18px;
    height: 18px;
}

/* About */
.about {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--bg-primary);
    border-radius: var(--radius);
    padding: 20px 28px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

html[dir="rtl"] .about-badge {
    left: auto;
    right: 24px;
}

.about-badge-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.about-badge-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.about-content .section-tag {
    display: block;
    margin-bottom: 12px;
}

.about-content .section-title {
    text-align: start;
    margin-bottom: 16px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

.about-features {
    list-style: none;
    display: grid;
    gap: 14px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.95rem;
}

.about-features svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

/* CTA */
.cta {
    padding: 80px 0;
    background: var(--bg-dark);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: linear-gradient(135deg, rgba(201,169,110,0.15), rgba(201,169,110,0.05));
    border: 1px solid rgba(201,169,110,0.3);
    border-radius: var(--radius-lg);
    padding: 48px 56px;
}

html[dir="rtl"] .cta-inner {
    background: linear-gradient(225deg, rgba(201,169,110,0.15), rgba(201,169,110,0.05));
}

.cta-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.cta-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

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

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform var(--transition);
    display: flex;
    flex-direction: column;
}

html[dir="rtl"] .cart-sidebar {
    right: auto;
    left: 0;
    transform: translateX(-100%);
}

.cart-sidebar.open {
    transform: translateX(0);
}

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

.cart-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.cart-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    transition: all var(--transition);
}

.cart-close:hover {
    background: var(--accent-light);
}

.cart-close svg {
    width: 18px;
    height: 18px;
}

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

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.cart-empty svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.cart-empty p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.cart-empty span {
    font-size: 0.85rem;
}

.cart-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-img {
    width: 72px;
    height: 90px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-item-price {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

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

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition);
}

.qty-btn:hover {
    background: var(--accent-light);
}

.qty-val {
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition);
}

.cart-item-remove:hover {
    color: #e74c3c;
    background: #fef0f0;
}

.cart-item-remove svg {
    width: 16px;
    height: 16px;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.cart-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}

/* Float WhatsApp */
.float-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: all var(--transition);
}

html[dir="rtl"] .float-wa {
    right: auto;
    left: 24px;
}

.float-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

.float-wa svg {
    width: 28px;
    height: 28px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 36px 32px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        padding: 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        transition: transform var(--transition);
    }
    
    .nav.open {
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-list a {
        font-size: 1rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}
