body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-color: #fdfdfd;
    color: #333;
    overflow-x: hidden;
}
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}





header {
    background-color: #ffffff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Prevent logo from shrinking */
}

.logo a {
    display: inline-block;
    margin-left: 10px; /* Spacing between hamburger and logo */
}

/* Style the actual logo image */
.logo img {
    max-height: 45px; /* Adjust logo height */
    width: auto;
    display: block;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    font-size: 1.8em;
    cursor: pointer;
    margin-right: 15px; /* Space from logo text (if any) */
}



nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    padding: 5px 10px;
}

nav li {
    margin: 0 5px;
}

nav a {
    padding: 8px 18px;
    display: block;
    color: #555;
    font-size: 0.95em;
    font-weight: 400;
    border-radius: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid transparent;
    white-space: nowrap; /* Prevent menu items from wrapping */
}

nav a:hover {
    color: #000;
}

nav a.active {
    border-color: #d32f2f; /* Red border */
    color: #d32f2f; /* Red text */
    font-weight: 500;
}



.featured-collections {
    background-color: #fdfdfd;
}

.collection-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
}

@media (min-width: 600px) {
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .collection-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.collection-item {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.07);
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collection-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.collection-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    margin-bottom: 20px;
}

.collection-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.collection-item p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
    padding: 0 20px;
    line-height: 1.5;
}


















/* === Page Title Section === */
.page-title-section {
    background-color: #f4f4f4; /* Light background */
    padding: 40px 0;
    text-align: center;
    border-top: none; /* Remove top border if it's the first section */
}

.page-title-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    margin-bottom: 10px;
    color: #222;
}

.page-title-section p {
    font-size: 1.1em;
    color: #666;
}

/* === Filter/Sort Bar === */
.filter-sort-bar {
    padding: 20px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
}

.filter-sort-bar .container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    align-items: center;
    gap: 10px 15px; /* Row and column gap */
}

.filter-sort-bar span {
    font-weight: 500;
    margin-right: 5px;
}

.filter-btn {
    padding: 6px 15px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.filter-btn:hover {
    background-color: #f0f0f0;
}

.filter-btn.active {
    background-color: #b99767; /* Match primary button color */
    color: #fff;
    border-color: #b99767;
}

.sort-options {
    margin-left: auto; /* Push sort to the right */
}

.sort-options label {
     font-size: 0.9em;
     margin-right: 5px;
     color: #555;
}

.sort-options select {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.9em;
}


/* === Shop Grid Section === */
.shop-grid-section {
    padding: 50px 0 70px 0; /* Adjust padding */
}

/* Adjust grid columns specifically for the shop page if needed */
.shop-grid {
    grid-template-columns: 1fr; /* Start with 1 column */
    gap: 30px; /* Consistent gap */
}

@media (min-width: 576px) { /* 2 columns on small screens */
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 768px) { /* 3 columns on medium screens */
    .shop-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1200px) { /* 4 columns on large screens */
    .shop-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Styles for new elements within product item */
.product-item .artist-name {
    font-size: 0.95em;
    color: #777;
    margin-bottom: 8px;
}

.product-item .price {
    font-size: 1.1em;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
}


/* === Pagination Section === */
.pagination-section {
    padding: 30px 0 50px 0;
    border-top: 1px solid #eee; /* Separator */
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-link {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #ddd;
    color: #555;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-link:hover {
    background-color: #eee;
    border-color: #ccc;
}

.page-link.active {
    background-color: #b99767; /* Match primary color */
    color: #fff;
    border-color: #b99767;
    font-weight: 500;
}

.page-link.disabled {
    color: #aaa;
    pointer-events: none; /* Make it unclickable */
    border-color: #eee;
}


/* --- Responsive adjustments for new elements --- */
@media (max-width: 768px) {
    .page-title-section h1 {
        font-size: 2.2em;
    }
    .filter-sort-bar .container {
         justify-content: center; /* Center items when they wrap */
    }
    .sort-options {
         margin-left: 0; /* Remove auto margin */
         width: 100%; /* Make sort take full width if needed */
         text-align: center;
         margin-top: 10px; /* Add space when wrapped */
    }
}

@media (max-width: 480px) {
     .page-title-section h1 {
        font-size: 1.9em;
    }
     .page-title-section p {
        font-size: 1.0em;
    }
     .filter-btn {
         padding: 5px 12px;
         font-size: 0.85em;
     }
     /* Adjust product item text size if needed */
}