/* Product Showcase Styles */
.product-showcase {
    padding: 0;
    margin-bottom: 40px;
    background-color: var(--background-color);
    transition: background-color 0.3s ease;
}

/* Dark mode product showcase */
[data-theme="dark"] .product-showcase {
    background-color: var(--background-color);
}

.product-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    padding: 0 15px;
}

.product-card {
    flex: 1;
    max-width: 280px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background-color: var(--card-bg);
    box-shadow: 0 8px 20px var(--boxshadow-light-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

/* Dark mode product cards */
[data-theme="dark"] .product-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 20px var(--boxshadow-color);
}

[data-theme="dark"] .product-card:hover {
    box-shadow: 0 12px 25px rgba(216, 113, 38, 0.3);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(216, 113, 38, 0.2);
}

.product-image {
    height: 180px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, var(--primary-color-dark), var(--primary-color));
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.product-image .product-poster {
    position: relative;
    z-index: 2;
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.product-card:hover .product-image .product-poster {
    transform: translateY(-5px) scale(1.05);
}

.product-content {
    padding: 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.product-options {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.buy-button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(45deg, var(--primary-color-dark), var(--primary-color));
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.buy-button:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-color-dark));
    transform: translateY(-2px);
}

.buy-button i {
    font-size: 16px;
}

/* Dark mode adjustments */
[data-theme="dark"] .product-card {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .product-card:hover {
    box-shadow: 0 12px 25px rgba(216, 113, 38, 0.3);
}

[data-theme="dark"] .product-image {
    background: linear-gradient(45deg, var(--primary-color-dark), var(--primary-color));
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .product-row {
        padding: 0 10px;
    }
    
    .product-card {
        max-width: 240px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-image .product-poster {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 992px) {
    .product-row {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    
    .product-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
    
    .product-image {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .product-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-image .product-poster {
        width: 90px;
        height: 90px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .product-price {
        font-size: 20px;
    }
}

/* Small mobile devices */
@media (max-width: 576px) {
    .product-showcase {
        padding: 0;
        margin-bottom: 20px;
    }
    
    .product-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 0 15px;
        margin-top: 20px;
    }
    
    .product-card {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        border-radius: 12px;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    }
    
    .product-image {
        height: 140px;
        border-radius: 12px 12px 0 0;
    }
    
    .product-image .product-poster {
        width: 90px;
        height: 90px;
    }
    
    .product-content {
        padding: 15px;
    }
    
    .product-title {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .product-price {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .product-options {
        margin-bottom: 10px;
        font-size: 12px;
    }
    
    .buy-button {
        padding: 10px;
        border-radius: 6px;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .product-row {
        padding: 0 10px;
    }
    
    .product-image {
        height: 130px;
    }
    
    .product-image .product-poster {
        width: 80px;
        height: 80px;
    }
    
    .product-content {
        padding: 12px;
    }
    
    .product-title {
        font-size: 15px;
    }
    
    .product-price {
        font-size: 18px;
    }
}
