﻿.new-arrivals-section {
    background: linear-gradient(135deg, #0b0f29, #1a1f3d);
    padding: 50px 25px;
    border-radius: 26px;
    margin-top: 45px;
    color: #fff;
    direction: rtl;
    border: 2px solid #4ac9ff;
    box-shadow: 0 0 18px #4ac9ff60;
}

/* Header */
.new-arrivals-header {
    font-family: "Vazirmatn", sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.new-arrivals-header h2 {
    font-size: 34px;
    text-shadow: 0 0 18px #4ac9ff;
    font-weight: 800;
    color: #4ac9ff;
}

.view-all {
    color: #ffb700;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px dashed #ffb700;
    transition: .3s;
}
.view-all:hover {
    color: #ffe48f;
}

/* Grid */
.new-arrivals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* Item Card */
.new-item {
     position: relative;
    overflow: hidden;
    
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 0 12px #00000050;
    transition: transform .35s ease, box-shadow .35s ease;
}
.new-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}
.new-item:hover {
   
     transform: translateY(-8px) scale(1.03);
    box-shadow: 0 0 25px #4cffea70, 0 12px 26px #000000a0;
}
/* لایه نور در هاور */
.new-item::before {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.18),
        rgba(255,255,255,0)
    );
    transition: all .45s ease;
    opacity: 0;
}
.new-item:hover::before {
    top: 0;
    opacity: 1;
}
.new-item img {
    width: 100%;
    border-radius: 12px;
    height: 150px;
    object-fit: cover;
      transition: transform .45s ease;
}
.new-item:hover img {
    transform: scale(1.07);
}
.new-item h3 {
    font-size: 15px;
    margin-top: 8px;
}

.new-item .price {
    display: block;
    margin-top: 6px;
    font-size: 16px;
    color: #4cffea;
    font-weight: bold;
}

/* Reveal Animation */
.reveal-box {
    opacity: 0;
    transform: translateY(30px);
    transition: all .8s ease;
}

.reveal-box.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .new-arrivals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .new-arrivals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .new-arrivals-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
