:root {
    --primary-color: #f68b1e;
    --primary-hover: #dd7d1b;
    --secondary-color: #2c3e50;
    --button-color: #f68b1e;
    --button-hover: #dd7d1b;
    --text-color: #333333;
    --title-color: #1a1a2e;
    --price-color: #f68b1e;
    --old-price-color: #999999;
    --discount-bg: #dc3545;
    --discount-text: #ffffff;
    --bg-body: #f5f7fb;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --border-radius-md: 12px;
    --border-radius-lg: 30px;
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 24px rgba(0,0,0,0.15);
    --image-hover-scale: 1.08;
    --transition-default: all 0.3s ease;
}
.btn-primary {
    background-color: var(--button-color);
    border-color: var(--button-color);
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--button-hover);
    border-color: var(--button-hover);
}
.btn-outline-primary {
    color: var(--button-color);
    border-color: var(--button-color);
}
.btn-outline-primary:hover {
    background-color: var(--button-color);
    border-color: var(--button-color);
}
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: var(--transition-default);
}
.view-all-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}
.product-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-default);
    cursor: pointer;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}
.product-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #fafafa;
}
.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 1rem;
}
.product-card:hover .product-image {
    transform: scale(var(--image-hover-scale));
}
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
}
[dir="rtl"] .product-badge {
    left: auto;
    right: 10px;
}
.badge-custom {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}
.badge-new { background: var(--success); color: white; }
.badge-featured { background: var(--primary-color); color: white; }
.badge-bestseller { background: var(--warning); color: #333; }
.badge-sale { background: var(--danger); color: white; }
.product-content {
    padding: 1rem;
}
.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--title-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-price {
    margin-bottom: 0.5rem;
}
.current-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--price-color);
}
.old-price {
    font-size: 0.85rem;
    color: var(--old-price-color);
    text-decoration: line-through;
    margin-left: 8px;
}
.category-tag {
    font-size: 0.7rem;
    color: #666;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
}
.categories-section {
    padding: 40px 0;
    background: white;
}
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--title-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}
.categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.category-circle-item {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 120px;
}
.category-circle-item:hover {
    transform: translateY(-5px);
}
.category-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.category-circle-item:hover .category-circle {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(246,139,30,0.3);
}
.category-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-circle-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    font-size: 32px;
}
.category-circle-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--title-color);
    margin: 0 0 5px;
}
.category-count {
    font-size: 12px;
    color: #666;
}
.hero-slider {
    margin-bottom: 30px;
    overflow: hidden;
}
.slide-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10%;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    max-width: 500px;
    z-index: 10;
}
[dir="rtl"] .slide-content {
    left: auto;
    right: 10%;
    text-align: right;
}
.slide-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}
.slide-content p {
    font-size: 18px;
    margin-bottom: 25px;
}
.slide-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.slide-btn:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}
.testimonials-section {
    padding: 60px 0;
    background: var(--bg-light);
}
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-default);
    height: 100%;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.testimonial-rating i {
    font-size: 14px;
}
.promo-banner {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 50px;
    border-radius: 24px;
    margin: 40px 20px;
    text-align: center;
    color: white;
}
.promo-banner h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}
.promo-btn {
    display: inline-block;
    padding: 12px 35px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-default);
}
.promo-btn:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), #ff8c42);
    padding: 60px 0;
    margin-top: 50px;
    color: white;
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}
.stat-label {
    font-size: 18px;
    opacity: 0.9;
}
@media (max-width: 768px) {
    .hero-slider .slide-content h2 { font-size: 28px; }
    .hero-slider .slide-content p { font-size: 14px; }
    .section-header h2 { font-size: 24px; }
    .categories-grid { gap: 15px; }
    .category-circle-item { width: 90px; }
    .category-circle { width: 75px; height: 75px; }
    .category-circle-name { font-size: 12px; }
    .stat-number { font-size: 32px; }
    .stat-label { font-size: 14px; }
    .promo-banner h3 { font-size: 24px; }
    .promo-banner { padding: 30px; margin: 20px; }
}
@media (max-width: 576px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-title { font-size: 0.85rem; }
    .current-price { font-size: 1rem; }
}