/* ==========================================
   MODERNEZ - PRODUCTS PAGE STYLES
   ========================================== */
/* Active link indicator for Products page */
.nav-links a.active {
    color: #b8860b;
}

/* Page Header Banner */
.products-header-banner {
    background: #f8f5ef;
    text-align: center;
    padding: 60px 20px 40px 20px;
    border-bottom: 1px solid #e0dcd3;
}

.products-header-banner h1 {
    font-family: 'Cinzel', serif;
    font-size: 38px;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.products-header-banner p {
    font-size: 16px;
    color: #666;
}

/* Products Layout Container */
.products-page-container {
    padding: 40px 0;
}

.category-section {
    padding: 30px 5%;
}

.category-title {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    text-align: center;
    color: #222;
    margin-bottom: 30px;
}

/* Horizontal Gradient Divider */
.section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #b8860b, transparent);
    margin: 40px 10%;
    opacity: 0.5;
}

/* View All Links */
.view-all-wrapper {
    text-align: right;
    max-width: 1200px;
    margin: 25px auto 0 auto;
    padding-right: 10px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #b8860b;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    color: #1a1a1a;
    transform: translateX(4px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .products-header-banner h1 {
        font-size: 26px;
    }

    .category-title {
        font-size: 22px;
    }

    .view-all-wrapper {
        text-align: center;
        padding-right: 0;
    }
}
/* ==========================================
   FANCY ANIMATED "VIEW ALL" BUTTONS
   ========================================== */

.view-all-wrapper {
    display: flex;
    justify-content: flex-end; /* Aligns strictly to the right */
    width: 100%;
    max-width: 1200px;
    margin: 25px auto 0 auto;
    padding-right: 15px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cinzel', serif; /* Matching luxury brand font */
    font-weight: 700;             /* Bold text */
    font-size: 15px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #b8860b;               /* Luxury Gold */
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 20px;
    background: rgba(184, 134, 11, 0.04);
    transition: all 0.3s ease;
}

/* Arrow element target for left-right motion */
.view-all-btn i {
    font-size: 14px;
    display: inline-block;
    animation: nudgeArrow 1.8s infinite ease-in-out; /* Continuous left-right movement */
}

/* Hover effect */
.view-all-btn:hover {
    color: #1a1a1a;
    background: #b8860b;
    color: #ffffff;
    border-color: #b8860b;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.25);
}

.view-all-btn:hover i {
    animation-play-state: paused; /* Focus arrow on hover */
    transform: translateX(4px);
}

/* Keyframes for subtle horizontal motion */
@keyframes nudgeArrow {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(6px); /* Moves right and back */
    }
}

/* Responsive alignment for smaller mobile screens */
@media (max-width: 768px) {
    .view-all-wrapper {
        justify-content: center; /* Center-align on mobile screens if space is tight */
        padding-right: 0;
    }
}