.top-banner-container {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.top-banner-link {
    display: block;
    width: 100%;
    text-align: center;
}

.top-banner-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    height: 450px;
    margin-bottom: 40px;
}

.slider-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.slider-item.active {
    opacity: 1;
    z-index: 2;
}

.slider-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: right;
    padding: 60px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    max-width: 600px;
    margin-right: 100px;
}

.slider-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slider-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 40px 0;
}

.category-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: #333;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    color: #667eea;
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    font-size: 2rem;
    color: white;
}

.category-item img.category-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.category-name {
    font-weight: 600;
    font-size: 1rem;
}

.category-showcase-section {
    background: linear-gradient(180deg, #0f172a 0%, #0f172a 55%, #f5f7fb 55%);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.category-showcase-section .section-title {
    color: #fff;
}

.category-showcase-card {
    display: block;
    background: #fff;
    border-radius: 24px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
}

.category-showcase-media {
    border-radius: 18px;
    overflow: hidden;
    background: #f1f5f9;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.category-showcase-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-showcase-placeholder {
    font-size: 4rem;
    color: #cbd5f5;
}

.category-showcase-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.products-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.product-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    margin-top: auto;
    padding-top: 15px;
}

.price-current {
    font-size: 1.3rem;
    font-weight: bold;
    color: #667eea;
}

.price-old {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

.add-to-cart-btn {
    width: 100%;
    margin-top: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.add-to-cart-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* بخش شگفت انگیز روزانه */
.daily-deals-section {
    background: #0a0e27 !important;
    color: white !important;
    padding: 40px 0 !important;
    margin-top: 60px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: 100% !important;
    overflow: hidden !important;
}

.daily-deals-wrapper {
    display: flex !important;
    gap: 20px !important;
    width: 100% !important;
    padding: 0 15px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

.daily-deals-content {
    flex: 1 !important;
    min-width: 0 !important;
}

.daily-deals-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 25px !important;
    padding: 0 10px !important;
}

.daily-deals-title {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: white !important;
    margin: 0 !important;
}

.deal-timer-wrapper {
    display: flex;
    align-items: center;
}

.deal-timer {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: white !important;
    background: rgba(255, 107, 157, 0.2) !important;
    padding: 8px 15px !important;
    border-radius: 8px !important;
    font-family: 'Courier New', monospace !important;
}

.daily-deals-carousel-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.daily-deals-carousel {
    display: flex !important;
    gap: 15px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    flex: 1 !important;
    padding: 10px 0 !important;
}

.daily-deals-carousel::-webkit-scrollbar {
    display: none;
}

.daily-deal-card {
    background: white !important;
    border-radius: 12px !important;
    padding: 0 !important;
    min-width: 200px !important;
    max-width: 200px !important;
    position: relative !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
    flex-shrink: 0 !important;
}

.daily-deal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.deal-card-header {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%) !important;
    padding: 8px 12px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-radius: 12px 12px 0 0 !important;
}

.deal-timer-small {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    font-family: 'Courier New', monospace;
}

.deal-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.deal-card-image {
    padding: 15px;
    text-align: center;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deal-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.deal-card-body {
    padding: 0 15px 15px;
}

.deal-product-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 40px;
}

.deal-product-name a {
    color: #333;
    text-decoration: none;
}

.deal-product-name a:hover {
    color: #ff6b9d;
}

.deal-price-section {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.deal-discount-badge {
    background: #ff6b9d;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.deal-price-old {
    color: #999;
    text-decoration: line-through;
    font-size: 0.85rem;
}

.deal-price-new {
    color: #333;
    font-weight: 700;
    font-size: 1rem;
}

.deal-add-cart-btn {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.deal-add-cart-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.carousel-nav-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    flex-shrink: 0 !important;
    position: absolute !important;
    z-index: 10 !important;
}

.carousel-nav-btn.prev-btn {
    right: -20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.carousel-nav-btn.next-btn {
    left: -20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.carousel-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.daily-deals-banner {
    width: 280px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.banner-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.banner-image {
    margin: 20px 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.banner-link {
    color: white;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: auto;
}

.banner-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4);
    color: white;
}

@media (max-width: 992px) {
    .daily-deals-wrapper {
        flex-direction: column;
    }
    
    .daily-deals-banner {
        width: 100%;
        margin-top: 20px;
    }
    
    .daily-deals-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .carousel-nav-btn.prev-btn,
    .carousel-nav-btn.next-btn {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .daily-deal-card {
        min-width: 160px;
        max-width: 160px;
    }
    
    .deal-card-image {
        height: 140px;
    }
    
    .daily-deals-title {
        font-size: 1.5rem;
    }
}

.blog-section {
    padding: 60px 0;
    background: white;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 20px;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #999;
}

@media (max-width: 768px) {
    .slider-content {
        margin-right: 20px;
        padding: 30px;
    }
    
    .slider-content h1 {
        font-size: 2rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .hero-slider {
        height: 300px;
    }
}


