/* New Arrivals Grid Layout Styles */

/* Hero Section with Transparent Navigation */
.new-arrivals-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 700;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 22px;
    margin: 0;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

/* Navigation styling to match home page exactly *
.navbar {
    position: absolute !important;
    top: 40px !important;
    width: 100% !important;
    background: transparent !important;
    border-bottom: none !important;
    z-index: 1000 !important;
}

.navbar .nav-container {
    background: transparent !important;
    padding: 10px 20px 5px 20px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    height: 60px !important;
}

.navbar .brand {
    color: #fff !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    font-family: 'Playfair Display', serif !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7) !important;
    letter-spacing: 1px !important;
}

.navbar .nav-link {
    color:  #333 !important;
    font-size: 12px !important;
   /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;*
}

.navbar .icon-link {
    color:  #fff!important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7) !important;
}

.navbar .hamburger i {
    color: #fff !important;
    font-size: 24px !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7) !important;
}

.navbar .hamburger img {
    filter: brightness(0) invert(1) !important;
}

/* Main Products Grid Container - FIXED */
.shop-products-section {
    padding: 40px 0;
  background: #ffffff;
}

.shop-products {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.products-grid {
    
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px 0;
}

/* Product Item Styling */
.products-grid .product-item {
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.products-grid .product-item:hover {
    transform: translateY(-5px);
}

.products-grid .product-image {
    width: 100%;
    height: 430px;
    overflow: hidden;
    position: relative;
    background: #f8f8f8;
}

.products-grid .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.products-grid .product-item:hover .product-image img {
    transform: scale(1.05);
}

/* Wishlist Button */
.products-grid .add-to-wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    opacity: 0.9;
}

.products-grid .add-to-wishlist i,
.products-grid .add-to-wishlist .fa-heart,
.products-grid .add-to-wishlist .far.fa-heart {
    color: #ffffff !important;
}

.products-grid .add-to-wishlist.active {
    background-color: #ffffff !important;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.products-grid .add-to-wishlist.active i,
.products-grid .add-to-wishlist.active .fa-heart,
.products-grid .add-to-wishlist.active .far.fa-heart {
    color: #ff3e6c !important;
}

.products-grid .add-to-wishlist:hover i,
.products-grid .add-to-wishlist:hover .fa-heart,
.products-grid .add-to-wishlist:hover .far.fa-heart {
    transform: scale(1.1);
}

/* Product Details */
.products-grid .product-details {
    padding: 20px 15px 15px 15px;
    text-align: center;
    margin: 0;
}

.products-grid .product-name {
    font-family: 'Futura PT', 'Futura', 'Century Gothic', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #333;
    margin-bottom: -2px!important;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.4;
}

.products-grid .current-price {
    font-family: 'Futura PT', 'Futura', 'Century Gothic', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #d4af37;
    margin: 0;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .shop-products {
        padding: 0 15px;
    }

    .shop-products-section {
        padding: 30px 0;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .new-arrivals-hero {
        height: 60vh;
        min-height: 400px;
    }

    .products-grid .product-image {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .shop-products {
        padding: 0 15px;
    }

    .shop-products-section {
        padding: 25px 0;
    }

    .new-arrivals-hero {
        height: 50vh;
        min-height: 350px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .products-grid .product-image {
        height: 330px;
    }

    .products-grid .product-details {
        padding: 15px;
    }

    .products-grid .product-name {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }

    .products-grid .current-price {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .shop-products {
        padding: 0 10px;
    }

    .shop-products-section {
        padding: 20px 0;
    }

    .new-arrivals-hero {
        height: 45vh;
        min-height: 300px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .products-grid .product-image {
        height: 280px;
    }

    .products-grid .product-details {
        padding: 12px;
    }

    .products-grid .product-name {
        font-size: 0.8rem;
        letter-spacing: 1px;
        line-height: 1.3;
    }

    .products-grid .current-price {
        font-size: 0.9rem;
    }

    .products-grid .add-to-wishlist {
        width: 30px;
        height: 30px;
        top: 8px;
        right: 8px;
        font-size: 22px;
    }
}

/* Animation for products appearing */
.products-grid .product-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.products-grid .product-item:nth-child(1) { animation-delay: 0.1s; }
.products-grid .product-item:nth-child(2) { animation-delay: 0.2s; }
.products-grid .product-item:nth-child(3) { animation-delay: 0.3s; }
.products-grid .product-item:nth-child(4) { animation-delay: 0.4s; }
.products-grid .product-item:nth-child(5) { animation-delay: 0.5s; }
.products-grid .product-item:nth-child(6) { animation-delay: 0.6s; }
.products-grid .product-item:nth-child(n+7) { animation-delay: 0.7s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State */
.products-grid.loading {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #6D3E25;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.empty-state p {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    margin-bottom: 25px;
}

.empty-state .browse-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #6D3E25;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    transition: background 0.3s ease;
}

.empty-state .browse-btn:hover {
    background: #5d341f;
}