/* Index Cars Section Styles - Simplified Design */
.flat-spacing-2 {
    padding: 60px 0;
    background: #f8f9fa;
}

.flat-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.flat-title .title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    font-family: 'Cairo', sans-serif;
    margin: 0;
}

/* Navigation Buttons */
.box-sw-navigation {
    display: flex;
    gap: 10px;
}

.nav-sw.square {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: white;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-sw.square:hover {
    background: #3c0e78;
    color: white;
    transform: scale(1.05);
}

.nav-sw.square i {
    font-size: 16px;
}

/* Swiper Container */
.hover-sw-nav {
    position: relative;
}

.tf-sw-cars {
    overflow: hidden;
}

/* Card Product Styles */
.card-product.style-2 {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 20px;
}

.card-product.style-2:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-product-wrapper {
    position: relative;
    overflow: hidden;
}

/* Product Image */
.product-img {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-img .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(1.1);
}

.card-product.style-2:hover .product-img .img-hover {
    opacity: 1;
    transform: scale(1);
}

.card-product.style-2:hover .product-img .img-product {
    opacity: 0;
    transform: scale(0.9);
}

/* Action Buttons */
.list-product-btn.absolute-3 {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.card-product.style-2:hover .list-product-btn.absolute-3 {
    opacity: 1;
    transform: translateY(0);
}

.box-icon.style-2 {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    color: #333;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Cairo', sans-serif;
}

.box-icon.style-2:hover {
    background: white;
    transform: scale(1.05);
    color: #3c0e78;
}

.box-icon.quick-add {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.box-icon.quick-add:hover {
    background: linear-gradient(135deg, #45a049, #388e3c);
    color: white;
}

.box-icon.quickview {
    background: linear-gradient(135deg, #2196F3, #1976d2);
    color: white;
}

.box-icon.quickview:hover {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    color: white;
}

/* Sale Badge */
.on-sale-wrap {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.on-sale-item {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
}

/* Product Info */
.card-product-info {
    padding: 20px;
    background: white;
    text-align: center;
}

.card-product-info .title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.card-product-info .title:hover {
    color: #3c0e78;
}

.card-product-info .price {
    font-size: 18px;
    font-weight: 800;
    color: #3c0e78;
    display: block;
    font-family: 'Cairo', sans-serif;
}

.card-product-info .price del {
    font-size: 14px;
    color: #999;
    margin-right: 8px;
}

/* Round Navigation */
.nav-sw.round {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: white;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.nav-sw.round:hover {
    background: #3c0e78;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.nav-next-slider {
    right: -23px;
}

.nav-prev-slider {
    left: -23px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .flat-spacing-2 {
        padding: 40px 0;
    }
    
    .flat-title {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .flat-title .title {
        font-size: 24px;
    }
    
    .card-product-info {
        padding: 15px;
    }
    
    .card-product-info .title {
        font-size: 14px;
    }
    
    .card-product-info .price {
        font-size: 16px;
    }
    
    .list-product-btn.absolute-3 {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    
    .box-icon.style-2 {
        padding: 8px;
        font-size: 10px;
    }
    
    .on-sale-wrap {
        top: 10px;
        right: 10px;
    }
    
    .on-sale-item {
        padding: 4px 8px;
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .flat-title .title {
        font-size: 20px;
    }
    
    .card-product-info .title {
        font-size: 12px;
    }
    
    .card-product-info .price {
        font-size: 14px;
    }
    
    .card-product-info .price del {
        font-size: 11px;
    }
    
    .box-icon.style-2 {
        padding: 5px;
        font-size: 8px;
    }
    
    .box-icon.style-2 .text {
        display: none;
    }
    
    .box-icon.style-2 i {
        font-size: 12px;
    }
    
    .nav-sw.round {
        width: 35px;
        height: 35px;
    }
    
    .nav-next-slider {
        right: -17px;
    }
    
    .nav-prev-slider {
        left: -17px;
    }
    
    .on-sale-item {
        padding: 3px 6px;
        font-size: 9px;
    }
    
    .list-product-btn.absolute-3 {
        bottom: 8px;
        left: 8px;
        right: 8px;
        gap: 4px;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .card-product-info {
        padding: 12px;
    }
    
    .card-product-info .title {
        font-size: 11px;
    }
    
    .card-product-info .price {
        font-size: 13px;
    }
    
    .card-product-info .price del {
        font-size: 10px;
    }
    
    .box-icon.style-2 {
        padding: 4px;
        font-size: 7px;
    }
    
    .box-icon.style-2 i {
        font-size: 11px;
    }
    
    .nav-sw.round {
        width: 30px;
        height: 30px;
    }
    
    .nav-next-slider {
        right: -15px;
    }
    
    .nav-prev-slider {
        left: -15px;
    }
    
    .on-sale-item {
        padding: 2px 5px;
        font-size: 8px;
    }
}

/* Animation */
.card-product.style-2 {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 