* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-sage: #8B9B87;
    --light-sage: #A8B5A0;
    --cream: #F5EBE0;
    --warm-beige: #E8D5C4;
    --dark-sage: #6B7B67;
    --text-dark: #3D4A3D;
    --text-light: #5A6B5A;
    --white: #FEFEFE;
    --soft-shadow: 0 4px 20px rgba(107, 123, 103, 0.15);
    --hover-shadow: 0 8px 30px rgba(107, 123, 103, 0.25);
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--cream);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: var(--soft-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    backdrop-filter: blur(10px);
    background: rgba(254, 254, 254, 0.95);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Search Bar */
.search-container {
    position: relative;
    flex: 1;
    max-width: 500px;
}

#search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--cream);
    border-radius: 25px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--cream);
    color: var(--text-dark);
}

#search-input:focus {
    outline: none;
    border-color: var(--primary-sage);
    background: var(--white);
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--soft-shadow);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.search-suggestions.active {
    display: block;
}

.search-suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid var(--cream);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-item:hover {
    background: var(--cream);
}

.search-suggestion-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
}

.search-suggestion-info {
    flex: 1;
}

.search-suggestion-name {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.search-suggestion-price {
    color: var(--primary-sage);
    font-size: 0.85rem;
}

.search-no-results {
    padding: 1rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease;
}

.logo img {
    height: 140px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-sage);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-sage);
}

.nav-links a:hover::after {
    width: 100%;
}

.cart-icon {
    position: relative;
    font-size: 1.3rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.cart-icon:hover {
    background: var(--cream);
}

#cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-sage);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
}

/* Wishlist Icon */
.wishlist-icon {
    position: relative;
    font-size: 1.3rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.wishlist-icon:hover {
    background: var(--cream);
}

#wishlist-count {
    position: absolute;
    top: 0;
    right: 0;
    background: #e74c3c;
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
}

/* Wishlist Button */
.wishlist-btn {
    background: transparent;
    border: 2px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.wishlist-btn:hover {
    background: #fff0f0;
    border-color: #e74c3c;
    transform: scale(1.1);
}

.wishlist-btn.in-wishlist {
    background: #fff0f0;
    border-color: #e74c3c;
}

.wishlist-btn-small {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
}

/* Social Share Buttons */
.share-buttons-container {
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.share-title {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-btn svg {
    width: 20px;
    height: 20px;
}

.share-btn-facebook {
    background: #1877F2;
}

.share-btn-facebook:hover {
    background: #0d65d9;
}

.share-btn-twitter {
    background: #1DA1F2;
}

.share-btn-twitter:hover {
    background: #0c8dd6;
}

.share-btn-whatsapp {
    background: #25D366;
}

.share-btn-whatsapp:hover {
    background: #1faa52;
}

.share-btn-pinterest {
    background: #E60023;
}

.share-btn-pinterest:hover {
    background: #c7001e;
}

.share-btn-copy {
    background: #6c757d;
}

.share-btn-copy:hover {
    background: #5a6268;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .logo {
        font-size: 1rem;
        justify-content: center;
    }

    .logo img {
        height: 80px;
    }

    .search-container {
        max-width: 100%;
        order: 2;
    }

    .nav-links {
        order: 1;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Hero Section */
.hero {
    background: var(--primary-sage);
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-sage);
    box-shadow: var(--soft-shadow);
}

.btn-primary:hover {
    background: var(--warm-beige);
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary-sage);
}

.btn-secondary:hover {
    background: var(--primary-sage);
    color: var(--white);
    transform: translateY(-2px);
}

/* Product Grid */
.featured-products, .collections-section {
    padding: 5rem 0;
    background: var(--primary-sage);
}

.featured-products h2, .collections-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.featured-products h2::after, .collections-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--white);
    margin: 1.5rem auto 3rem;
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid rgba(139, 155, 135, 0.1);
    position: relative;
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.4);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.product-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--warm-beige) 0%, var(--cream) 100%);
    transition: transform 0.4s ease;
}

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

.product-info {
    padding: 1.8rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.product-price {
    font-size: 1.6rem;
    color: var(--primary-sage);
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.add-to-cart {
    width: 100%;
    padding: 0.9rem;
    background: var(--primary-sage);
    color: var(--white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.add-to-cart:hover {
    background: var(--dark-sage);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 123, 103, 0.3);
}

.add-to-cart:disabled {
    background: #D8D8D8;
    cursor: not-allowed;
    transform: none;
}

/* Collections Grid */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.collection-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collection-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.collection-card:hover img {
    transform: scale(1.05);
}

.collection-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    color: var(--white);
    z-index: 2;
    pointer-events: none;
}

.collection-overlay::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: -100px;
    background: linear-gradient(to top, rgba(61, 74, 61, 0.95) 0%, rgba(61, 74, 61, 0.7) 50%, transparent 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
}

.collection-card:hover .collection-overlay::before {
    opacity: 1;
}

.collection-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}

.collection-overlay p {
    font-size: 0.85rem;
    opacity: 0.95;
    line-height: 1.4;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}

/* Collection Page Styles */
.collection-header {
    background: linear-gradient(135deg, var(--primary-sage) 0%, var(--light-sage) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.collection-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.collection-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.collection-header p {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    opacity: 0.95;
}

.collection-content {
    padding: 3rem 0;
    background: var(--cream);
}

.collection-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
}

/* Filters Sidebar */
.filters-sidebar {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 1px solid rgba(139, 155, 135, 0.1);
}

.filters-sidebar h3 {
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.3px;
}

.filter-group {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--cream);
}

.filter-group:last-of-type {
    border-bottom: none;
}

.filter-group h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
}

.filter-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0.7rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.filter-group label:hover {
    color: var(--primary-sage);
}

.filter-group input[type="checkbox"] {
    margin-right: 0.7rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-sage);
}

/* Price Range Inputs */
.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
}

.price-range-inputs input[type="number"] {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border: 2px solid var(--cream);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--white);
    transition: all 0.2s ease;
    min-width: 0; /* Allow flex shrinking */
}

.price-range-inputs input[type="number"]:focus {
    outline: none;
    border-color: var(--primary-sage);
    box-shadow: 0 0 0 3px rgba(139, 155, 135, 0.1);
}

.price-range-inputs input[type="number"]::-webkit-inner-spin-button,
.price-range-inputs input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
}

.price-range-inputs span {
    color: var(--text-light);
    font-weight: 500;
    flex-shrink: 0;
}

.btn-filter {
    width: 100%;
    padding: 0.6rem;
    background: var(--primary-sage);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-filter:hover {
    background: var(--dark-sage);
    transform: translateY(-1px);
}

/* Active Filters Display */
.active-filters-display {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--cream);
    border-radius: 10px;
    min-height: 20px;
}

.active-filters-header {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.7rem;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    margin: 0.3rem 0.3rem 0.3rem 0;
    background: var(--white);
    border: 1px solid var(--primary-sage);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.remove-filter {
    background: none;
    border: none;
    color: var(--primary-sage);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.remove-filter:hover {
    color: #c0392b;
}

/* Products Toolbar */
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 1.2rem 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--soft-shadow);
    border: 1px solid rgba(139, 155, 135, 0.1);
}

.view-options {
    display: flex;
    gap: 0.7rem;
}

.view-btn {
    padding: 0.6rem;
    background: transparent;
    border: 2px solid var(--cream);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active,
.view-btn:hover {
    background: var(--primary-sage);
    border-color: var(--primary-sage);
}

.view-btn svg {
    fill: var(--text-light);
    transition: fill 0.3s ease;
}

.view-btn.active svg,
.view-btn:hover svg {
    fill: var(--white);
}

.sort-select {
    padding: 0.7rem 1.2rem;
    border: 2px solid var(--cream);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.sort-select:hover {
    border-color: var(--primary-sage);
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-sage);
}

/* View Layouts */
.products-grid.view-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.products-grid.view-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.products-grid.view-list .product-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
}

.products-grid.view-list .product-image {
    width: 200px;
    height: 200px;
}

.products-grid.view-masonry {
    column-count: 3;
    column-gap: 2rem;
}

.products-grid.view-masonry .product-card {
    break-inside: avoid;
    margin-bottom: 2rem;
}

/* Pagination */
.pagination-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--cream);
    background: var(--white);
    color: var(--text-dark);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover:not(:disabled):not(.active) {
    background: var(--cream);
    border-color: var(--primary-sage);
    transform: translateY(-1px);
}

.pagination-btn.active {
    background: var(--primary-sage);
    color: var(--white);
    border-color: var(--primary-sage);
    font-weight: 600;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-ellipsis {
    padding: 0 0.5rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

/* Results Info */
.results-info {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Newsletter */
.newsletter {
    background: var(--primary-sage);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.newsletter p {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    opacity: 0.95;
}

.newsletter-form {
    max-width: 550px;
    margin: 2.5rem auto 0;
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
}

.newsletter-form input:focus {
    outline: none;
    background: var(--white);
}

.newsletter-form input::placeholder {
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 3rem 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    font-size: 0.95rem;
    font-weight: 400;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.social-links a:hover {
    color: var(--light-sage);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .collection-layout {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .featured-products h2, .collections-section h2 {
        font-size: 2.2rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }
    
    .collections-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid.view-masonry {
        column-count: 1;
    }
    
    .footer .container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form .btn-primary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .collection-header h1 {
        font-size: 2.2rem;
    }
}

/* Authentication Pages */
.auth-section {
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    background: var(--cream);
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
}

.auth-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
    border: 1px solid rgba(139, 155, 135, 0.1);
}

.auth-card h1 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input {
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--cream);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-dark);
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-sage);
    background: var(--white);
}

.form-group input::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.error-message {
    background: #FEE;
    color: #C33;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    border: 1px solid #FCC;
}

.btn-full {
    width: 100%;
    margin-top: 0.5rem;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--primary-sage);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: var(--dark-sage);
}

/* Dashboard */
.dashboard-header {
    background: linear-gradient(135deg, var(--primary-sage) 0%, var(--light-sage) 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.dashboard-header p {
    font-size: 1.1rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.dashboard-content {
    padding: 3rem 0;
    min-height: 60vh;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
}

.dashboard-sidebar {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 1px solid rgba(139, 155, 135, 0.1);
}

.dashboard-sidebar h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.3rem;
}

.dashboard-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dashboard-menu li a {
    display: block;
    padding: 0.9rem 1.2rem;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dashboard-menu li a:hover,
.dashboard-menu li a.active {
    background: var(--cream);
    color: var(--primary-sage);
}

.dashboard-main {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
    border: 1px solid rgba(139, 155, 135, 0.1);
}

.dashboard-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.order-card {
    background: var(--cream);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(139, 155, 135, 0.15);
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: var(--soft-shadow);
    transform: translateY(-2px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--white);
}

.order-header h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.order-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.order-status {
    text-align: right;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #FFF4E6;
    color: #E67E22;
}

.status-processing {
    background: #E3F2FD;
    color: #2196F3;
}

.status-shipped {
    background: #F3E5F5;
    color: #9C27B0;
}

.status-delivered {
    background: #E8F5E9;
    color: #4CAF50;
}

.status-cancelled {
    background: #FFEBEE;
    color: #F44336;
}

.order-body {
    display: grid;
    gap: 1.5rem;
}

.order-info {
    display: grid;
    gap: 1rem;
}

.info-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.info-group p {
    color: var(--text-light);
    line-height: 1.6;
}

.tracking-number {
    font-family: 'Courier New', monospace;
    background: var(--white);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    display: inline-block;
    font-weight: 600;
    color: var(--primary-sage);
    margin-top: 0.3rem;
}

.order-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-sage);
}

.order-items h4 {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
}

.order-items ul {
    list-style: none;
    padding: 0;
}

.order-items li {
    padding: 0.5rem 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(139, 155, 135, 0.1);
}

.order-items li:last-child {
    border-bottom: none;
}

.loading,
.empty-state,
.error-state {
    text-align: center;
    padding: 3rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.text-muted {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.9rem;
}

/* Responsive Dashboard */
@media (max-width: 1024px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .auth-card {
        padding: 2rem;
    }
    
    .dashboard-main {
        padding: 1.5rem;
    }
    
    .order-card {
        padding: 1.5rem;
    }
    
    .order-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .order-status {
        text-align: left;
    }
}

/* Admin Panel Styles */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card h3 {
    color: var(--dark-sage);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-sage);
    margin: 0;
}

.admin-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.admin-section h2 {
    color: var(--dark-sage);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-sage);
}

.admin-table {
    overflow-x: auto;
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-sage);
}

.admin-table th {
    background-color: var(--light-sage);
    color: var(--dark-sage);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.admin-table tr:hover {
    background-color: var(--cream);
}

.status-select,
.tracking-input {
    padding: 0.5rem;
    border: 1px solid var(--light-sage);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
}

.status-select {
    width: 130px;
    cursor: pointer;
}

.tracking-input {
    width: 150px;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-sage);
    color: white;
}

.btn-primary:hover {
    background-color: var(--dark-sage);
    transform: translateY(-1px);
}

.text-center {
    text-align: center;
    padding: 2rem;
    color: var(--dark-sage);
}

.error-state {
    text-align: center;
    padding: 2rem;
    color: #dc3545;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--dark-sage);
    font-style: italic;
}

/* Product Management Styles */
.product-form {
    max-width: 1000px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-sage);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--light-sage);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-sage);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.image-preview {
    margin-top: 1rem;
    border: 2px dashed var(--light-sage);
    border-radius: 8px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-preview img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary {
    background-color: var(--cream);
    color: var(--dark-sage);
}

.btn-secondary:hover {
    background-color: var(--warm-beige);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.products-admin-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-admin-card {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid var(--light-sage);
    border-radius: 12px;
    align-items: center;
    transition: all 0.3s ease;
}

.product-admin-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--primary-sage);
}

.product-admin-image {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--cream);
}

.product-admin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-admin-details h3 {
    color: var(--dark-sage);
    margin-bottom: 0.5rem;
}

.product-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-sage);
}

.product-stock {
    padding: 0.5rem 1rem;
    background-color: var(--light-sage);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-sage);
}

.product-admin-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .product-admin-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .product-admin-image {
        margin: 0 auto;
    }
    
    .product-meta {
        justify-content: center;
    }
    
    .product-admin-actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* ========================================
   RELATED PRODUCTS SECTION
   ======================================== */

.related-products-section {
    padding: 3rem 0;
    background: var(--white);
    margin-top: 3rem;
}

.related-products-section h2 {
    text-align: center;
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

#related-products-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

#related-products-container.grabbing {
    cursor: grabbing;
    user-select: none;
}

#related-products-container::-webkit-scrollbar {
    height: 8px;
}

#related-products-container::-webkit-scrollbar-track {
    background: var(--cream);
    border-radius: 10px;
}

#related-products-container::-webkit-scrollbar-thumb {
    background: var(--primary-sage);
    border-radius: 10px;
}

#related-products-container::-webkit-scrollbar-thumb:hover {
    background: var(--dark-sage);
}

.related-product-card {
    flex: 0 0 250px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
    transition: all 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.related-product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-product-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--cream);
}

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

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

.related-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.related-product-info {
    padding: 1rem;
}

.related-product-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.related-product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-original-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.9rem;
}

.related-final-price {
    color: var(--primary-sage);
    font-size: 1.1rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .related-product-card {
        flex: 0 0 200px;
    }
    
    .related-product-image {
        height: 160px;
    }
    
    .related-products-section h2 {
        font-size: 1.5rem;
    }
}

/* ========================================
   QUICK VIEW MODAL
   ======================================== */

.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.quick-view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.quick-view-content {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.quick-view-modal.active .quick-view-content {
    transform: scale(1);
}

.quick-view-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--soft-shadow);
    transition: all 0.2s ease;
}

.quick-view-close:hover {
    background: var(--cream);
    transform: rotate(90deg);
}

.quick-view-close svg {
    color: var(--text-dark);
}

.quick-view-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.quick-view-image {
    width: 100%;
    height: 400px;
    background: var(--cream);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-view-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-view-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quick-view-info h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.quick-view-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.quick-view-discount-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.quick-view-original-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1.2rem;
}

.quick-view-final-price {
    color: var(--primary-sage);
    font-size: 2rem;
    font-weight: 700;
}

.quick-view-discount-badge {
    background: #e74c3c;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.quick-view-stock {
    padding: 0.5rem 0;
}

.stock-available {
    color: #27ae60;
    font-weight: 500;
}

.stock-unavailable {
    color: #e74c3c;
    font-weight: 500;
}

.quick-view-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.quick-view-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.quick-view-btn-primary,
.quick-view-btn-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 1rem;
}

.quick-view-btn-primary {
    background: var(--primary-sage);
    color: var(--white);
}

.quick-view-btn-primary:hover:not(:disabled) {
    background: var(--dark-sage);
    transform: translateY(-2px);
    box-shadow: var(--soft-shadow);
}

.quick-view-btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.quick-view-btn-primary.success {
    background: #27ae60;
}

.quick-view-btn-secondary {
    background: transparent;
    color: var(--primary-sage);
    border: 2px solid var(--primary-sage);
}

.quick-view-btn-secondary:hover {
    background: var(--primary-sage);
    color: var(--white);
}

@media (max-width: 768px) {
    .quick-view-body {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .quick-view-image {
        height: 300px;
    }
    
    .quick-view-info h2 {
        font-size: 1.5rem;
    }
    
    .quick-view-final-price {
        font-size: 1.6rem;
    }
    
    .quick-view-content {
        width: 95%;
        max-height: 95vh;
    }
}

/* ========================================
   NEWSLETTER NOTIFICATIONS
   ======================================== */

.newsletter-notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--text-dark);
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    transition: bottom 0.3s ease;
    font-weight: 500;
    min-width: 300px;
    text-align: center;
}

.newsletter-notification.success {
    border-left: 4px solid #27ae60;
}

.newsletter-notification.error {
    border-left: 4px solid #e74c3c;
}

.newsletter-notification.show {
    bottom: 30px;
}

/* ========================================
   ANNOUNCEMENT BANNER
   ======================================== */

.announcement-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.announcement-banner.announcement-visible {
    transform: translateY(0);
}

.announcement-content {
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.announcement-message {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.announcement-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.announcement-text {
    flex: 1;
}

.announcement-link {
    margin-left: 1rem;
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.announcement-link:hover {
    opacity: 0.8;
}

.announcement-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin-left: 1.5rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.announcement-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Announcement Types */
.announcement-info {
    background-color: #e3f2fd;
    color: #0d47a1;
    border-bottom: 2px solid #1976d2;
}

.announcement-success {
    background-color: #e8f5e9;
    color: #1b5e20;
    border-bottom: 2px solid #388e3c;
}

.announcement-warning {
    background-color: #fff3e0;
    color: #e65100;
    border-bottom: 2px solid #f57c00;
}

.announcement-error {
    background-color: #ffebee;
    color: #b71c1c;
    border-bottom: 2px solid #d32f2f;
}

/* Adjust navbar position when announcement is visible */
body:has(.announcement-banner.announcement-visible) .navbar {
    top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .announcement-content {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
    
    .announcement-message {
        gap: 0.5rem;
    }
    
    .announcement-link {
        margin-left: 0.5rem;
        font-size: 0.8rem;
    }
    
    .announcement-close {
        margin-left: 0.8rem;
        width: 24px;
        height: 24px;
        font-size: 1.5rem;
    }
}

/* ========================================
   BULK ACTIONS & INVENTORY MANAGEMENT
   ======================================== */

.bulk-actions-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 1rem 2rem;
    z-index: 9999;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.bulk-actions-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.selected-count {
    font-weight: 600;
    color: var(--text-dark);
}

.bulk-actions-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-bulk {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--primary-sage);
    color: white;
}

.btn-bulk:hover {
    background: var(--dark-sage);
    transform: translateY(-2px);
}

.btn-activate {
    background: #27ae60;
}

.btn-activate:hover {
    background: #229954;
}

.btn-deactivate {
    background: #f39c12;
}

.btn-deactivate:hover {
    background: #e67e22;
}

.btn-delete {
    background: #e74c3c;
}

.btn-delete:hover {
    background: #c0392b;
}

.btn-clear {
    padding: 0.5rem 1rem;
    border: 2px solid #95a5a6;
    border-radius: 6px;
    background: transparent;
    color: #95a5a6;
    font-weight: 600;
    cursor: pointer;
}

.btn-clear:hover {
    background: #ecf0f1;
}

.checkbox-wrapper {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

.product-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.low-stock-banner {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 4px solid #ff9800;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.2);
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert-icon {
    font-size: 1.5rem;
}

.alert-text {
    flex: 1;
    color: #e65100;
}

.btn-view-low-stock {
    padding: 0.5rem 1rem;
    background: #ff9800;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.btn-view-low-stock:hover {
    background: #f57c00;
}

.btn-dismiss {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #e65100;
    cursor: pointer;
    padding: 0.5rem;
}

.low-stock-table {
    width: 100%;
    border-collapse: collapse;
}

.low-stock-table th,
.low-stock-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.low-stock-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.stock-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.stock-badge.low {
    background: #fff3e0;
    color: #e65100;
}

.stock-badge.critical {
    background: #ffebee;
    color: #c62828;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.active {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-badge.inactive {
    background: #f5f5f5;
    color: #757575;
}

.btn-small {
    padding: 0.25rem 0.75rem;
    background: var(--primary-sage);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-small:hover {
    background: var(--dark-sage);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

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

@media (max-width: 768px) {
    .bulk-actions-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .bulk-actions-buttons {
        width: 100%;
        justify-content: flex-start;
    }
}


