/* Reset and Base Styles with Enhanced Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', 'Inter', serif;
    line-height: 1.7;
    color: #333;
    background-color: #f9f8f5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Elegant Announcement Bar */
.announcement-bar {
    background-color: #5a7243;
    color: #f8f3e9;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    overflow: hidden;
    position: relative;
    height: 44px;
    font-weight: 300;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.announcement-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.announcement-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
}

.announcement-item.active {
    opacity: 1;
}

/* Refined Header */
.header {
    background-color: #fff;
    padding: 18px 0;
    border-bottom: 1px solid #e8e4dd;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo svg {
    height: 32px;
    transition: transform 0.3s ease;
}

.logo:hover svg {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 400;
    color: #555;
    position: relative;
    font-size: 15px;
    letter-spacing: 0.3px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: #5a7243;
    transition: width 0.4s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.nav-link.active,
.nav-link:hover {
    color: #5a7243;
}

.header-actions {
    display: flex;
    gap: 22px;
    align-items: center;
}

.header-actions button,
.header-actions a {
    color: #555;
    position: relative;
    padding: 6px;
}

.header-actions svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.header-actions a:hover svg {
    transform: scale(1.1);
    color: #5a7243;
}

.wishlist-count,
.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #5a7243;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

/* Luxurious Hero Section */
.hero-section {
    position: relative;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f3ee 0%, #e8e4dc 100%);
    margin-bottom: 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, rgba(255,255,255,0.9), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 13px;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #777;
}

.breadcrumb a {
    color: #777;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #5a7243;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #aaa;
}

.breadcrumb .current {
    font-weight: 500;
    color: #5a7243;
}

.hero-title {
    font-size: 52px;
    font-weight: 400;
    margin-bottom: 25px;
    color: #333;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

/* Sophisticated Collection Section */
.collection-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 13px;
    color: #9a9a9a;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 3px;
    font-weight: 400;
    position: relative;
    display: inline-block;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 1px;
    background-color: #d1c7b7;
}

.section-title {
    font-size: 36px;
    font-weight: 400;
    color: #333;
    margin-bottom: 15px;
}

.section-description {
    font-size: 16px;
    color: #777;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.collection-main-content {
    display: flex;
    gap: 150px;
    width: 100%;
}

/* Elegant Sidebar */
.sidebar {
    flex: 0 0 300px;
    padding-right: 0;
    margin-left: -100px;
    background-color: #faf9f7;
    padding: 35px 30px;
    border-radius: 6px;
    height: fit-content;
    border: 1px solid #e8e4dd;
}



.filter-header {
    margin-bottom: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-title {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.clear-filters {
    font-size: 13px;
    color: #9a9a9a;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.clear-filters:hover {
    color: #5a7243;
}

.sidebar-filter-group {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e8e4dd;
}

.sidebar-filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.sidebar-filter-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #555;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.sidebar-filter-title::after {
    content: '+';
    font-size: 18px;
    color: #9a9a9a;
    transition: transform 0.3s ease;
}

.sidebar-filter-title.active::after {
    content: '-';
}

.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 15px;
    color: #777;
    transition: color 0.3s ease;
}

.filter-option:hover {
    color: #5a7243;
}

.filter-option:last-child {
    margin-bottom: 0;
}

.filter-option input[type="checkbox"] {
    display: none;
}

.filter-option .checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid #d1c7b7;
    border-radius: 3px;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #fff;
    transition: all 0.3s ease;
}

.filter-option input[type="checkbox"]:checked + .checkmark {
    background-color: #5a7243;
    border-color: #5a7243;
}

.filter-option input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: #fff;
    font-size: 11px;
    font-weight: bold;
}

.filter-option .option-text {
    font-size: 15px;
    color: inherit;
    line-height: 1.5;
}

.filter-option-count {
    margin-left: auto;
    font-size: 13px;
    color: #9a9a9a;
}

/* Sidebar Product Sections */
.sidebar-product-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e8e4dd;
}

.sidebar-product-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.sidebar-product-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8e4dd;
}

.sidebar-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.sidebar-product-image {
    width: 100%;
    height: 200px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #f9f8f5;
}

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

.sidebar-product-card:hover .sidebar-product-image img {
    transform: scale(1.05);
}

.sidebar-product-info {
    text-align: center;
}

.sidebar-product-name {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    font-family: 'Playfair Display', serif;
}

.sidebar-product-price {
    font-size: 18px;
    font-weight: 500;
    color: #5a7243;
}

.sidebar-product-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sidebar-product-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #e8e4dd;
}

.sidebar-product-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sidebar-product-item-image {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 15px;
    background-color: #f9f8f5;
    flex-shrink: 0;
}

.sidebar-product-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sidebar-product-item:hover .sidebar-product-item-image img {
    transform: scale(1.1);
}

.sidebar-product-item-info {
    flex: 1;
}

.sidebar-product-item-name {
    font-size: 15px;
    font-weight: 400;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
    font-family: 'Playfair Display', serif;
}

.sidebar-product-item-price {
    font-size: 16px;
    font-weight: 500;
    color: #5a7243;
}

/* Main Content */
.main-content {
    flex: 1;
}

.filter-sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e8e4dd;
}

.results-sort-section {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.results-info span {
    font-size: 15px;
    color: #777;
    font-weight: 400;
}

.view-options {
    display: flex;
    gap: 10px;
    margin-left: auto;
    margin-right: 30px;
}

.view-btn {
    padding: 9px 12px;
    border: 1px solid #e8e4dd;
    border-radius: 4px;
    color: #777;
    background-color: #fff;
    transition: all 0.3s ease;
}

.view-btn.active {
    background-color: #5a7243;
    color: #fff;
    border-color: #5a7243;
}

.view-btn:hover:not(.active) {
    border-color: #c5bcac;
    background-color: #f9f8f5;
}

.view-btn svg {
    width: 16px;
    height: 16px;
}

.sort-dropdown {
    position: relative;
}

.sort-details {
    position: relative;
    display: inline-block;
}

.sort-summary {
    padding: 11px 18px;
    border: 1px solid #e8e4dd;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #555;
    background-color: #fff;
    min-width: 180px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.sort-summary:hover {
    border-color: #c5bcac;
}

.sort-summary::-webkit-details-marker {
    display: none;
}

.sort-summary::marker {
    display: none;
}

.sort-content {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border: 1px solid #e8e4dd;
    border-radius: 4px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    min-width: 220px;
    z-index: 100;
    padding: 10px 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.sort-details[open] .sort-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-option {
    display: block;
    width: 100%;
    padding: 12px 20px;
    text-align: left;
    font-size: 14px;
    color: #777;
    transition: all 0.3s ease;
}

.sort-option:hover,
.sort-option.active {
    background-color: #f9f8f5;
    color: #5a7243;
}

/* Products Grid with Enhanced Styling */
.products-grid {
    display: grid;
    gap: 30px;
}

.products-grid.view-grid-1 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.products-grid.view-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.products-grid.view-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid #e8e4dd;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background-color: #f9f8f5;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
}

.product-badge {
    background-color: #5a7243;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Inter', sans-serif;
}

.product-badge.badge-sale {
    background-color: #c17a62;
}

.product-badge.badge-new {
    background-color: #8aa2b5;
}

.product-badge.badge-out-of-stock {
    background-color: #b8b2a7;
}

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    transform: translateY(10px);
    z-index: 5;
}

.product-card:hover .product-actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.action-btn {
    background-color: rgba(255,255,255,0.95);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    color: #777;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background-color: #5a7243;
    color: #fff;
    transform: scale(1.1);
}

.action-btn svg {
    width: 16px;
    height: 16px;
}

.product-info {
    padding: 22px;
    text-align: center;
}

.product-category {
    font-size: 12px;
    color: #9a9a9a;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1.2px;
    font-weight: 400;
}

.product-title {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
    font-family: 'Playfair Display', serif;
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: #5a7243;
}

.product-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.product-rating .stars {
    color: #e8b864;
    display: flex;
    gap: 3px;
}

.product-rating .star {
    font-size: 15px;
}

.product-rating .rating-count {
    font-size: 13px;
    color: #9a9a9a;
    margin-left: 5px;
}

.product-price {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.current-price {
    font-size: 20px;
    font-weight: 500;
    color: #5a7243;
}

.original-price {
    font-size: 15px;
    color: #9a9a9a;
    text-decoration: line-through;
}

.discount-percentage {
    font-size: 13px;
    color: #c17a62;
    font-weight: 500;
}

.product-variants {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.variant-option {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #e8e4dd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.variant-option:hover,
.variant-option.active {
    border: 2px solid #5a7243;
    transform: scale(1.15);
}

.add-to-cart-btn {
    background-color: #5a7243;
    color: #fff;
    padding: 14px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
    border: 1px solid #5a7243;
}

.add-to-cart-btn:hover {
    background-color: #485d36;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 114, 67, 0.3);
}

.add-to-cart-btn:disabled {
    background-color: #b8b2a7;
    border-color: #b8b2a7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.pagination-list {
    display: flex;
    gap: 8px;
}

.pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #555;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 1px solid #e8e4dd;
}

.pagination-link:hover,
.pagination-link.active {
    background-color: #5a7243;
    color: #fff;
    border-color: #5a7243;
}

.pagination-link.prev,
.pagination-link.next {
    width: auto;
    padding: 0 15px;
    font-size: 14px;
}

.pagination-link.disabled {
    color: #ccc;
    pointer-events: none;
}

/* Luxurious Footer */
.footer {
    background-color: #f9f8f5;
    padding: 80px 0 30px;
    color: #555;
    border-top: 1px solid #e8e4dd;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.footer-brand {
    flex: 1 1 350px;
}

.footer-logo svg {
    height: 34px;
    margin-bottom: 25px;
}

.footer-description {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #777;
}

.social-links {
    display: flex;
    gap: 18px;
}

.social-link {
    color: #9a9a9a;
    transition: all 0.3s ease;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #e8e4dd;
}

.social-link:hover {
    color: #fff;
    background-color: #5a7243;
    border-color: #5a7243;
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-links {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1 1 180px;
}

.footer-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Inter', sans-serif;
}

.footer-list li {
    margin-bottom: 15px;
}

.footer-list a {
    font-size: 15px;
    color: #777;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.footer-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #5a7243;
    transition: width 0.3s ease;
}

.footer-list a:hover {
    color: #5a7243;
}

.footer-list a:hover::after {
    width: 100%;
}

.newsletter {
    flex: 1 1 350px;
}

.newsletter-title {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.newsletter-description {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #777;
}

.newsletter-form {
    display: flex;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 15px;
    background-color: #fff;
}

.newsletter-input::placeholder {
    color: #9a9a9a;
}

.newsletter-btn {
    background-color: #5a7243;
    color: #fff;
    padding: 15px 25px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Inter', sans-serif;
}

.newsletter-btn:hover {
    background-color: #485d36;
}

.newsletter-disclaimer {
    font-size: 13px;
    color: #9a9a9a;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #e8e4dd;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #9a9a9a;
    flex-wrap: wrap;
    gap: 20px;
}

.payment-methods {
    display: flex;
    gap: 15px;
}

.payment-method svg {
    width: 40px;
    height: 25px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    position: relative;
    max-width: 900px;
    width: 90%;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #9a9a9a;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: #333;
    background-color: #f9f8f5;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #5a7243;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #485d36;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* Collection Grid */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.collection-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    transition: transform 0.2s;
    position: relative;
}

.collection-card:hover {
    transform: translateY(-5px);
}

.collection-image-wrapper {
    position: relative;
    overflow: hidden;
}

.collection-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.collection-add-to-cart {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: #5e5e3b;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.collection-image-wrapper:hover .collection-add-to-cart {
    opacity: 1;
}

.collection-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #cfd3bb;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}

.collection-info {
    padding: 16px;
    text-align: center;
}

.collection-tag {
    font-size: 11px;
    color: #7a7a7a;
    background-color: #eaeaea;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 6px;
}

.collection-brand {
    font-size: 13px;
    color: #888;
    margin: 5px 0;
    font-weight: 600;
}

.collection-title {
    font-size: 15px;
    margin: 5px 0;
    color: #222;
}

.collection-rating {
    font-size: 12px;
    color: #999;
    margin: 5px 0;
}

.collection-price {
    font-weight: bold;
    color: #000;
    font-size: 16px;
    margin-top: 5px;
}

/* Mobile Filter Panel */
.mobile-filter-controls {
    display: none;
    padding: 15px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border-radius: 8px;
}

.mobile-filter-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #f5f5f5;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
}

.mobile-filter-button svg {
    width: 16px;
    height: 16px;
}

.mobile-filter-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

.mobile-filter-panel.active {
    display: block;
}

.mobile-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.mobile-filter-close {
    padding: 8px;
}

.mobile-filter-apply {
    display: block;
    width: 100%;
    padding: 15px;
    background: #5e5e3b;
    color: white;
    border-radius: 8px;
    text-align: center;
    position: sticky;
    bottom: 20px;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 40px;
    }
    
    .header-content {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .collection-main-content {
        flex-direction: column;
        gap: 40px;
    }

    .sidebar {
        flex: none;
        width: 100%;
        padding: 30px;
        margin-bottom: 0;
    }

    .filter-sort-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .results-sort-section {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;
    }

    .view-options {
        margin-left: 0;
        margin-right: 0;
    }

    .sort-content {
        right: auto;
        left: 0;
    }

    .products-grid.view-grid-1,
    .products-grid.view-grid-2,
    .products-grid.view-grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-links {
        width: 100%;
        justify-content: center;
        gap: 40px;
    }

    .footer-column {
        flex: none;
        width: auto;
        margin-bottom: 30px;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        justify-content: center;
        max-width: 500px;
        margin: 0 auto 15px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-section {
        height: 320px;
    }
    
    .hero-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 20px;
        padding: 0 20px;
    }

    .nav-list {
        gap: 25px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        order: 3;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #e8e4dd;
    }

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

    .section-title {
        font-size: 32px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .sidebar {
        padding: 25px;
    }

    .products-grid.view-grid-1,
    .products-grid.view-grid-2,
    .products-grid.view-grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 25px;
    }

    .product-info {
        padding: 20px;
    }

    .container {
        padding: 0 25px;
    }

    .collection-section {
        padding: 60px 0;
    }

    .footer {
        padding: 60px 0 25px;
    }
    
    .hero-section {
        height: 280px;
        margin-bottom: 50px;
    }
    
    .back-to-top {
        bottom: 30px;
        right: 30px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .header-content {
        padding: 0 15px;
    }
    
    .header-actions {
        gap: 15px;
    }

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

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

    .products-grid.view-grid-1,
    .products-grid.view-grid-2,
    .products-grid.view-grid-3 {
        grid-template-columns: 1fr;
    }

    .results-sort-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .view-options {
        order: 2;
    }

    .sort-dropdown {
        order: 1;
        width: 100%;
    }

    .sort-summary {
        width: 100%;
        justify-content: space-between;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        width: 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input {
        border-radius: 4px 4px 0 0;
    }
    
    .newsletter-btn {
        border-radius: 0 0 4px 4px;
    }
    
    .hero-section {
        height: 240px;
    }
    
    .hero-title {
        font-size: 26px;
        margin-bottom: 15px;
    }
    
    .breadcrumb {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* Animation Enhancements */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.product-card {
    animation: fadeIn 0.6s ease forwards;
}

/* Loading State */
.loading-state {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(90, 114, 67, 0.2);
    border-radius: 50%;
    border-top-color: #5a7243;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #5a7243;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    font-weight: 400;
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #5a7243 transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Mobile Filter Panel */
.mobile-filter-controls {
    display: none;
    padding: 15px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border-radius: 8px;
}

.mobile-filter-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #f5f5f5;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
}

.mobile-filter-button svg {
    width: 16px;
    height: 16px;
}

.mobile-filter-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

.mobile-filter-panel.active {
    display: block;
}

.mobile-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.mobile-filter-close {
    padding: 8px;
}

.mobile-filter-apply {
    display: block;
    width: 100%;
    padding: 15px;
    background: #5e5e3b;
    color: white;
    border-radius: 8px;
    text-align: center;
    position: sticky;
    bottom: 20px;
    margin-top: 20px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    
    .mobile-filter-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .product-card {
        margin-bottom: 0;
    }
    
    .pagination {
        margin-top: 30px;
        display: flex;
        justify-content: center;
        gap: 10px;
    }
    
    .pagination-button {
        padding: 8px 12px;
        background: white;
        border-radius: 6px;
        font-size: 14px;
        color: #333;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    
    .pagination-button.active {
        background: #5e5e3b;
        color: white;
    }
}