@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Poppins:wght@300;500&display=swap');
 /* Reset and base styles */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

li {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Ensure no conflicting styles for the logo */
.logo-z, .logo-text {
    all: unset; /* Reset any styles from shop.css that might override main-nav styles */
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1A1A1A 0%, #333333 100%);
    color: #FFFFFF;
    padding: 80px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('/api/placeholder/1200/400') center/cover no-repeat;
    opacity: 0.2;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: #D7B4A3;
    letter-spacing: 0.3px;
}

/* Shop Layout */
.shop-container {
    display: flex;
    gap: 30px;
    padding-bottom: 60px;
   
}

/* Sidebar Section */
.sidebar {
    width: 25%; /* Slightly wider sidebar */
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F8F8 100%); /* Brighter background */
    padding: 20px; /* Increased padding */
    border-radius: 10px; /* Slightly larger border radius */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* More prominent shadow */
    position: sticky;
    top: 20px;
    align-self: flex-start;
    height: max-content;
    margin-left: 0; /* Reset margin */
    border: 1px solid #D7B4A3; /* Add border to make it stand out */
}

.sidebar h3 {
    font-size: 1.3rem; /* Slightly larger font size */
    margin-bottom: 20px;
    color: #2B2B2B; /* Darker text color */
    position: relative;
    padding-bottom: 10px;
}

.sidebar h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px; /* Slightly longer underline */
    height: 3px; /* Thicker underline */
    background-color: #D7B4A3;
    border-radius: 3px;
}

.category-list li {
    margin-bottom: 12px; /* Slightly increased spacing */
}

.category-list li:hover {
    transform: translateX(5px);
}

.category-list a {
    color: #2B2B2B; /* Darker text color */
    font-size: 1rem; /* Slightly larger font size */
    display: flex;
    align-items: center;
    padding: 8px 0; /* Increased padding */
    font-weight: 500; /* Make text bolder */
}
.category-list a::before {
    content: '→';
    margin-right: 10px;
    color: #D7B4A3;
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.category-list a:hover {
    color: #D7B4A3;
    font-weight: 600; /* Make hover text slightly bolder */
}

.category-list a:hover::before {
    transform: translateX(3px);
}

.category-list li.active a {
    color: #D7B4A3;
    font-weight: 600; /* Make hover text slightly bolder */
    transform: translateX(3px);
}

/* Price Filter */
.price-filter {
    margin-top: 20px; /* Reduced margin */
}

.price-filter h3 {
    margin-bottom: 15px;
}

.price-range {
    display: flex;
    flex-direction: column; /* Stack inputs vertically */
    gap: 10px; /* Add spacing between inputs */
}

.price-input {
    width: 100%; /* Full width inputs */
    padding: 6px; /* Reduced padding */
    background-color: #FFFFFF; /* Lighter background */
    border: 1px solid #D7B4A3; /* Border matches palette */
    border-radius: 4px;
    color: #2B2B2B; /* Darker text color */
    font-size: 0.85rem; /* Slightly smaller font size */
}

.filter-button {
    margin-top: 10px; /* Add spacing above button */
    width: 100%;
    padding: 8px; /* Reduced padding */
    background-color: #D7B4A3;
    color: #1A1A1A;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem; /* Slightly smaller font size */
    cursor: pointer;
    transition: all 0.3s;
}

.filter-button:hover {
    background-color: #FFFFFF;
}

/* Main Content Section */
.shop-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Adjusted gap */
    margin-right: 0; /* Reset margin */
    width: 100%;
}

/* Search and Sort Bar */
.shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
    border: 1px solid #D7B4A3; /* Border to match the sidebar */
}

.search-bar {
    display: flex;
    width: 60%;
    position: relative;
}

.search-bar input {
    text-align: left;
    width: 100%;
    padding: 12px 227px 12px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px 0px 6px 6px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.search-bar input:focus {
    border-color: #D7B4A3;
    outline: none;
    box-shadow: 0 0 0 3px rgba(215, 180, 163, 0.2);
}

.search-bar button {
    position: absolute;
    right: 2px;
    top: 0px;
    bottom: 2px;
    padding: 0 15px;
    background-color: #2B2B2B;
    color: #FFFFFF;
    border: none;
    border-radius: 0 5px 5px 0;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    height: 100%;
}

.search-bar button:hover {
    background-color: #D7B4A3;
}

.sort-options {
    width: 35%;
}

.sort-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    background-color: #FFFFFF;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); /* Allow up to 4 columns */
    gap: 20px; /* Adjusted spacing between cards */
}

/* Product Card */
.product-card {
    background-color: #FAFAFA; /* Lighter card background */
    border-radius: 8px; /* Slightly smaller border radius */
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05); /* Softer shadow */
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    width: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #D7B4A3;
    color: #1A1A1A;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2B2B2B;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #FFD700;
}

.rating-stars {
    margin-right: 5px;
}

.rating-count {
    font-size: 0.85rem;
    color: #888;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2B2B2B;
}

.add-to-cart {
    background-color: #2B2B2B;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.add-to-cart:hover {
    background-color: #D7B4A3;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.page-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #FFFFFF;
    color: #2B2B2B;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.page-link:hover,
.page-link.active {
    background-color: #D7B4A3;
    color: #FFFFFF;
}
.product-colors{
    color: #D7B4A3;
}
/* Responsive Styles */
@media (max-width: 1024px) {
    .shop-container {
        gap: 20px; /* Reduce gap between sidebar and main content */
        flex-direction: column; /* Stack sidebar and main content vertically */
    }

    .sidebar {
        width: 100%; /* Make sidebar full width */
        margin-bottom: 20px; /* Add spacing below sidebar */
        position: static; /* Remove sticky positioning */
        margin-left: 0; /* Reset left margin */
    }

    .shop-main {
        width: 100%; /* Ensure main content takes full width */
        margin-right: 0; /* Reset right margin */
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Adjust grid for smaller screens */
        gap: 20px; /* Adjust spacing between products */
    }

    .hero h1 {
        font-size: 2.8rem; /* Adjust font size for hero title */
    }

    .hero p {
        font-size: 1rem; /* Adjust font size for hero subtitle */
    }
}

@media (min-width: 1024px) and (max-width: 1366px) {
    .shop-container {
        display: flex; /* Ensure proper layout */
        gap: 20px; /* Adjust gap between sidebar and main content */
        align-items: flex-start; /* Align items at the top */
    }

    .sidebar {
        width: 25%; /* Adjust sidebar width for better balance */
        margin-left: 0; /* Reset left margin */
        position: sticky; /* Keep sticky positioning */
        top: 20px; /* Ensure it stays at the top */
    }

    .shop-main {
        width: 75%; /* Adjust main content width */
        margin-right: 0; /* Reset right margin */
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Ensure consistent grid layout */
        gap: 20px; /* Adjust spacing between products */
    }

    .hero h1 {
        font-size: 3rem; /* Adjust font size for hero title */
    }

    .hero p {
        font-size: 1.1rem; /* Adjust font size for hero subtitle */
    }
}

@media (max-width: 992px) {
    .shop-controls {
        flex-direction: column;
        gap: 15px;
    }

    .search-bar, .sort-options {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .shop-container {
        flex-direction: column;
        margin: auto;
        justify-content: center;
    }
    .shop-main {
        width: 100%;
        margin-right: 0;
    }

    .sidebar {
        width: 100%;
        margin-bottom: 20px;
        position: static;
        margin-left: 1.5px;

    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .product-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 15px;
        justify-content: center; /* Center align the product grid */
    }

    .product-details {
        padding: 15px;
    }

    .product-name {
        font-size: 1rem;
    }

    .product-price {
        font-size: 1.1rem;
    }

    .add-to-cart {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}