/**
 * Products Showcase Section - بازنویسی شده از صفر
 * بدون !important و با ساختار تمیز
 */

/* ============================================
   Main Container
   ============================================ */
.products-showcase-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: var(--spacing-3xl) 0;
    overflow: hidden;
    background: var(--bg-primary);
}

/* ============================================
   Background Images
   ============================================ */
.showcase-bg-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.showcase-bg-img {
    position: absolute;
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 0.3;
}

.showcase-bg-mobile {
    display: block;
    top: 0;
    left: 0;
}

.showcase-bg-desktop {
    display: none;
    top: 0;
    left: 0;
}

.showcase-classic-img {
    top: 20%;
    left: 0;
    opacity: 0.2;
}

@media (min-width: 768px) {
    .showcase-bg-mobile {
        display: none;
    }
    
    .showcase-bg-desktop {
        display: block;
    }
}

/* ============================================
   Main Content Container
   ============================================ */
.showcase-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.showcase-background {
    position: relative;
    width: 100%;
    background: #000000;
    border-radius: 24px;
    padding: var(--spacing-3xl) var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.showcase-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    border-radius: 24px;
    z-index: 0;
}

/* ============================================
   Section Wrapper
   ============================================ */
.showcase-section {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-bottom: var(--spacing-3xl);
}

.showcase-section:last-child {
    margin-bottom: 0;
}

/* ============================================
   Section Header
   ============================================ */
.showcase-header {
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.showcase-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: #ffffff;
    margin-top: var(--spacing-md);
    margin-bottom: 0;
}

/* ============================================
   Tabs
   ============================================ */
.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.showcase-tab {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.showcase-tab:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.showcase-tab.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #000000;
}

/* ============================================
   Content Area
   ============================================ */
.showcase-content {
    position: relative;
    width: 100%;
    min-height: 400px;
}

.showcase-tab-content {
    display: none;
    width: 100%;
    animation: fadeIn 0.3s ease;
}

.showcase-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Products Grid
   ============================================ */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    width: 100%;
}

@media (min-width: 768px) {
    .showcase-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (min-width: 1024px) {
    .showcase-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-xl);
    }
}

/* ============================================
   Product Cards in Showcase
   ============================================ */
.showcase-grid .product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.showcase-grid .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 767px) {
    .products-showcase-section {
        padding: var(--spacing-xl) 0;
    }
    
    .showcase-container {
        padding: 0 var(--spacing-md);
    }
    
    .showcase-background {
        padding: var(--spacing-xl) var(--spacing-md);
        border-radius: 16px;
    }
    
    .showcase-title {
        font-size: var(--font-size-xl);
    }
    
    .showcase-tabs {
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }
    
    .showcase-tab {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: var(--font-size-sm);
    }
    
    .showcase-grid {
        gap: var(--spacing-sm);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .showcase-background {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }
}

@media (min-width: 1024px) {
    .showcase-background {
        padding: var(--spacing-3xl) var(--spacing-2xl);
    }
    
    .showcase-section {
        margin-bottom: var(--spacing-4xl);
    }
}



