.home-container {max-width: 1200px; margin: 0 auto; padding: 15px; font-family: "IRANSansXFaNum", sans-serif; color: #222;}
.section-header {position: relative; margin-bottom: 15px;}
.section-header h2 {position: relative; z-index: 1; padding-right: 12px; margin:0; font-size: 28px; font-weight:600; color:#222;}
.section-header h2::before {content: ''; position: absolute; right:0; top:0; width:4px; height:100%; background:#dc3545; z-index:0;}
.lazy-load {opacity:0; transform:translateY(20px); transition:opacity 0.5s ease, transform 0.5s ease;}
.lazy-load.visible {opacity:1; transform:translateY(0);}
.product-categories {margin: 50px 0; padding: 10px; background: transparent; box-shadow: none;}
.categories-slider {margin-top: 20px; margin-bottom: 10px;}
.categories-slider .swiper-slide {display: flex; justify-content: center;}
.category-card {display: flex; flex-direction: column; align-items: center; text-decoration: none; background: none; cursor: pointer; transition: transform 0.3s ease;}
.category-card:hover {transform: translateY(-5px);}
.category-card img {width: 100px; height: 100px; object-fit: cover; border-radius: 50%; border: 3px solid #eee; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: all 0.3s ease;}
.category-card:hover img {border-color: #dc3545; transform: scale(1.08);}
.category-card span {margin-top: 10px; font-size: 15px; font-weight: 600; color: #333; text-align: center; transition: color 0.3s ease;}
.category-card:hover span {color: #dc3545;}
@media (max-width: 768px) {.category-card img {width: 80px; height: 80px;} .category-card span {font-size: 14px;}}
@media (max-width: 480px) {.category-card img {width: 65px; height: 65px;} .category-card span {font-size: 13px;}}
.featured-slider .swiper-slide {display:flex; justify-content:center; margin:0 6px; transition:transform 0.3s, box-shadow 0.3s; min-height:200px;}
.featured-slider .swiper-slide:hover {transform:scale(1.03); box-shadow:0 6px 18px rgba(0,0,0,0.08);}
.featured-products {margin:40px 0; padding:20px; border-radius:12px; background:#fff; box-shadow:0 4px 12px rgba(0,0,0,0.05);}
.featured-products .section-header {display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; margin-bottom:15px;}
.featured-products .view-all-btn {text-decoration:none; background:#dc3545; color:#fff; padding:6px 16px; border-radius:6px; font-weight:500; transition:all 0.3s; margin-top:8px;}
.featured-products .view-all-btn:hover {background:#ff4a4a; box-shadow:0 3px 10px rgba(220,0,69,0.2);}
.latest-slider .swiper-slide {display:flex; justify-content:center; margin:0 6px; transition:transform 0.3s, box-shadow 0.3s; min-height:200px;}
.latest-slider .swiper-slide:hover {transform:scale(1.03); box-shadow:0 6px 18px rgba(0,0,0,0.08);}
.latest-products {margin:40px 0; padding:20px; border-radius:12px; background:#fff; box-shadow:0 4px 12px rgba(0,0,0,0.05);}
.latest-products .section-header {display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; margin-bottom:15px;}
.latest-products .view-all-btn {text-decoration:none; background:#dc3545; color:#fff; padding:6px 16px; border-radius:6px; font-weight:500; transition:all 0.3s; margin-top:8px;}
.latest-products .view-all-btn:hover {background:#ff4a4a; box-shadow:0 3px 10px rgba(220,0,69,0.2);}
@media(max-width:1024px) {.products-grid {grid-template-columns: repeat(3,1fr);} .latest-products .section-header h2, .product-categories .section-header h2, .featured-products .section-header h2 {font-size: 24px;} .latest-products .view-all-btn {font-size: 14px; margin-top:6px;} .home-container {max-width: 100%; margin: 0; padding-left: 10px; padding-right: 10px;} .featured-products {padding: 10px 0;}}
@media(max-width:768px) {.products-grid {grid-template-columns: repeat(2,1fr);} .latest-products .section-header h2, .product-categories .section-header h2, .featured-products .section-header h2 {font-size: 22px;} .latest-products .view-all-btn {font-size: 13px; margin-top:5px;} .home-container {max-width: 100%; margin: 0; padding-left: 8px; padding-right: 8px;} .featured-products {padding: 8px 0; width: 100%;} .latest-products {padding: 10px 0; width: 100%;} .categories-slider .swiper-slide {display: flex; justify-content: center; align-items: center;} .category-card {width: 120px; font-size: 10px; padding: 10px;} .category-card img {width: 80px; height: 80px;}}
@media(max-width:480px) {.products-grid {grid-template-columns: 1fr;} .latest-products .section-header h2, .product-categories .section-header h2, .featured-products .section-header h2 {font-size: 20px;} .latest-products .view-all-btn {font-size: 12px; margin-top:4px;} .home-container {max-width: 100%; margin: 0; padding-left: 5px; padding-right: 5px;} .featured-products {padding: 5px 0; width: 100%;} .latest-products {padding: 10px 0; width: 100%;} .categories-slider .swiper-slide {display: flex; justify-content: center; align-items: center;} .category-card {width: 90px; font-size: 11px; padding: 8px;} .category-card img {width: 70px; height: 70px;} .category-card:hover {transform: none !important; background: #f8f8f8 !important; color: #222 !important; box-shadow: none !important;} .featured-products .swiper-slide:hover, .latest-slider .swiper-slide:hover {transform: none !important; box-shadow: 0 0 0 rgba(0,0,0,0) !important;}}
