/* New Arrivals Page Styles */

.new-arrivals-page {
    background: #fff;
    padding: 60px 0 80px;
}

/* Page Header */
.new-arrivals-header {
    text-align: center;
    margin-bottom: 40px;
}

.new-arrivals-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.new-arrivals-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Filter Buttons */
.arrivals-filters {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid #ddd;
    background: #fff;
    color: #666;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: #5865F2;
    color: #5865F2;
}

.filter-btn.active {
    background: #5865F2;
    border-color: #5865F2;
    color: #fff;
}

.filter-btn.filter-salt.active {
    background: #4caf50;
    border-color: #4caf50;
}

.filter-btn.filter-fresh.active {
    background: #2196f3;
    border-color: #2196f3;
}

/* Products Grid */
.arrivals-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.arrival-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
}

.arrival-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Filtering animation */
.arrival-product-card.hidden {
    display: none;
    opacity: 0;
}

.arrival-product-link {
    display: block;
    text-decoration: none;
}

.arrival-product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f5f5f5;
}

.arrival-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.arrival-product-card:hover .arrival-product-image img {
    transform: scale(1.1);
}

.arrival-product-info {
    padding: 20px;
}

.arrival-product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.arrival-product-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.arrival-product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.arrival-product-title a:hover {
    color: #5865F2;
}

/* Water Type Badge */
.water-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.water-type-badge.salt-water {
    background: #c8e6c9;
    color: #2e7d32;
}

.water-type-badge.fresh-water {
    background: #bbdefb;
    color: #1565c0;
}

.arrival-product-price {
    font-size: 16px;
    font-weight: 600;
    color: #5865F2;
    margin: 0;
}

.arrival-product-price .amount {
    color: #5865F2;
}

/* Load More Button */
.load-more-wrapper {
    text-align: center;
    margin-top: 40px;
}

.btn-load-more-arrivals {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 40px;
    background: #5865F2;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
}

.btn-load-more-arrivals:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
}

.btn-load-more-arrivals:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-load-more-arrivals.loading span {
    opacity: 0.7;
}

/* No Products Message */
.no-products {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #666;
    grid-column: 1 / -1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .arrivals-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .new-arrivals-page {
        padding: 40px 0 60px;
    }

    .new-arrivals-title {
        font-size: 36px;
    }

    .new-arrivals-description {
        font-size: 15px;
    }

    .arrivals-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 20px;
        font-size: 14px;
    }

    .arrivals-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .arrival-product-image {
        height: 250px;
    }

    .arrival-product-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .water-type-badge {
        font-size: 10px;
        padding: 3px 10px;
    }
}

@media (max-width: 480px) {
    .new-arrivals-title {
        font-size: 28px;
    }

    .new-arrivals-description {
        font-size: 14px;
    }

    .filter-btn {
        padding: 7px 16px;
        font-size: 13px;
    }

    .arrival-product-image {
        height: 220px;
    }

    .arrival-product-info {
        padding: 16px;
    }

    .arrival-product-title {
        font-size: 16px;
    }

    .arrival-product-price {
        font-size: 15px;
    }

    .btn-load-more-arrivals {
        width: 100%;
        justify-content: center;
        padding: 12px 32px;
        font-size: 15px;
    }
}