/* ========================================
   NEW ARRIVAL - BEAUTIFULLY DESIGNED
   Clean, Polished, Well-Aligned
   ======================================== */

.new-arrival {
    padding: 50px 0 70px;
    background: #FAFAFA;
}

/* Section Header - Clean & Aligned */
.new-arrival .header {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.new-arrival .header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
    letter-spacing: -0.5px;
}

.new-arrival .header a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #007185;
    text-decoration: none;
    transition: color 0.2s;
}

.new-arrival .header a:hover {
    color: #C7511F;
}

/* Product Grid - Perfect Alignment */
.new-arrival .cards {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

/* Product Card - Polished Design */
.new-arrival .card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.new-arrival .card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.new-arrival .card .item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Product Image - Square & Clean */
.new-arrival .card .image {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #F8F8F8;
}

.new-arrival .card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hide second image - single image only */
.new-arrival .card .image img:last-child {
    display: none;
}

/* Status Badge - Top Right Corner */
.new-arrival .labelstatus {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #D32F2F;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Product Info - Well Structured */
.new-arrival .card-front {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.new-arrival .card .title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1A1A1A;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    min-height: 2.6em;
}

/* Price Section - Perfectly Aligned */
.new-arrival .card>div>div:last-child {
    margin-top: auto;
    padding: 0;
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.new-arrival .pricelabel {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #666666;
}

.new-arrival .price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A1A1A;
}

/* Discounted Price - Clear Hierarchy */
.new-arrival .dep {
    text-decoration: line-through;
    opacity: 0.5;
    font-size: 0.875rem;
    font-weight: 400;
}

.new-arrival .dprive {
    color: #B12704;
}

/* Mobile Responsive - Perfect on All Screens */
@media (max-width: 1200px) {
    .new-arrival .cards {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .new-arrival {
        padding: 40px 0 50px;
    }

    .new-arrival .header {
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .new-arrival .header h2 {
        font-size: 1.5rem;
    }

    .new-arrival .cards {
        padding: 0 20px;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .new-arrival .card-front {
        padding: 12px;
    }

    .new-arrival .card .title {
        font-size: 0.875rem;
        min-height: 2.4em;
    }

    .new-arrival .price {
        font-size: 1.125rem;
    }

    .new-arrival .labelstatus {
        font-size: 0.625rem;
        padding: 5px 10px;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .new-arrival {
        padding: 30px 0 40px;
    }

    .new-arrival .header {
        padding: 0 15px;
        margin-bottom: 25px;
    }

    .new-arrival .header h2 {
        font-size: 1.375rem;
    }

    .new-arrival .cards {
        padding: 0 15px;
        gap: 12px;
    }

    .new-arrival .card-front {
        padding: 10px;
    }
}

/* Remove any conflicting styles */
.new-arrival .card::before,
.new-arrival .card::after {
    display: none !important;
}

.new-arrival .card .image img {
    animation: none !important;
    background: #F8F8F8 !important;
}

/* Image fallback */
.new-arrival .card .image img[src=""],
.new-arrival .card .image img:not([src]) {
    opacity: 1;
}