/**
 * Ollie's Organics - Main Stylesheet
 * Elegant, Natural, Sophisticated Design
 * 
 * @copyright 2026 Ollie's Organics. All rights reserved.
 * @version 2.0.0
 */

/* ===================================
   CSS RESET & BASE
   =================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Garamond', 'Times New Roman', serif;
    background-color: #f5f1e8;
    color: #3d4035;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Garamond', 'Times New Roman', serif;
    font-weight: 400;
    color: #3d4035;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    letter-spacing: 0.5px;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: 0.5px;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: #5a5a5a;
}

a {
    color: #5a6051;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #3d4035;
}

/* ===================================
   LAYOUT
   =================================== */

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

.section {
    padding: 80px 0;
}

/* ===================================
   HEADER
   =================================== */

.header {
    background-color: #f5f1e8;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Dark Green Bar at Top */
.header::before {
    content: '';
    display: block;
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #5a6051 0%, #4a5041 100%);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 80px;
}

/* Navigation - Split on Both Sides */
.nav {
    display: flex;
    align-items: center;
    gap: 60px;
    font-size: 1.15rem;
}

.nav a {
    color: #5a6051;
    font-weight: 400;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav a:hover,
.nav a.active {
    color: #3d4035;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3d4035;
    transition: width 0.3s ease;
}

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

/* Account Dropdown */
.account-dropdown {
    position: relative;
    display: inline-block;
}

.account-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    color: #2c5f2d;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    transition: background 0.2s ease;
    cursor: pointer;
}

.account-trigger:hover {
    background: rgba(44, 95, 45, 0.08);
}

.account-icon {
    font-size: 18px;
}

.account-name {
    color: #2c5f2d;
}

.dropdown-arrow {
    font-size: 10px;
    color: #666;
    transition: transform 0.2s ease;
}

.account-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.account-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: none;
}

.account-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

.account-menu a {
    display: block;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease;
    border-radius: 0;
}

.account-menu a:first-child {
    border-radius: 8px 8px 0 0;
}

.account-menu a:last-child {
    border-radius: 0 0 8px 8px;
}

.account-menu a:hover {
    background: #f5f5f5;
}

.account-menu-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 6px 0;
}

.logout-link {
    color: #dc3545 !important;
}

.logout-link:hover {
    background: #fff5f5 !important;
}

/* Remove underline animation for account trigger */
.account-trigger::after {
    display: none;
}

/* Logo - In Center Between Nav Items */
.logo {
    display: block;
    flex-shrink: 0;
}

.logo img {
    height: 120px;
    width: auto;
    display: block;
}

/* Cart Icon - Top Right Corner */
.cart-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #5a6051;
    font-weight: 400;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.cart-link:hover {
    color: #3d4035;
}

.cart-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3d4035;
    transition: width 0.3s ease;
}

.cart-link:hover::after {
    width: 100%;
}

.cart-icon {
    font-size: 1.3rem;
}

.cart-count {
    background-color: #c9a961;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #5a6051;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Cart Icon (visible only on mobile) */
.mobile-cart-icon {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    text-decoration: none;
    z-index: 100;
}

.mobile-cart-icon .cart-icon {
    font-size: 1.5rem;
}

.mobile-cart-icon .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #c9a961;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    background: linear-gradient(135deg, #5a6051 0%, #7a8070 100%);
    color: white;
    padding: 30px 20px 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,60 Q300,90 600,60 T1200,60 L1200,0 L0,0 Z" fill="%23f5f1e8" opacity="0.1"/></svg>');
    background-size: cover;
    pointer-events: none;
}

.hero-title-wrapper {
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.hero-title-wrapper h1 {
    font-size: 2.5rem;
    color: white;
    margin: 0;
    font-weight: 300;
    letter-spacing: 1px;
    white-space: nowrap;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.hero-product {
    flex-shrink: 0;
    position: relative;
}

.hero-product-image {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-sale-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #d94848;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

.hero-text {
    text-align: center;
}

.hero-button {
    display: flex;
    align-items: center;
}

/* More Products Button */
.hero-more-button {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.more-products-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.more-products-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

.plus-icon {
    font-size: 2.5rem;
    color: white;
    line-height: 1;
    font-weight: 300;
}

.more-count {
    font-size: 0.85rem;
    color: white;
    margin-top: 2px;
}

/* Additional Products Modal */
.additional-products-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    position: relative;
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

.modal-content h3 {
    margin: 0 0 30px 0;
    color: #5a6051;
    font-size: 1.8rem;
    text-align: center;
}

.additional-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.product-card-mini {
    background: #fafaf8;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #e8e6e0;
}

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

.product-card-mini img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-name-mini {
    padding: 10px 15px 5px;
    font-weight: 600;
    color: #3d4035;
}

.product-price-mini {
    padding: 0 15px 15px;
    color: #5a6051;
    font-size: 1.1rem;
    font-weight: 600;
}

.hero h1,
.hero-text h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero p,
.hero-text p {
    font-size: 1.3rem;
    color: #f5f1e8;
    margin-bottom: 2rem;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    letter-spacing: 0.5px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: white;
    color: #5a6051;
    border: 2px solid white;
}

.btn-primary:hover {
    background-color: #5a6051;
    color: white;
    border: 2px solid #5a6051;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #5a6051;
    border: 2px solid #5a6051;
}

.btn-secondary:hover {
    background-color: #5a6051;
    color: white;
}

/* ===================================
   SECTIONS
   =================================== */

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

.section-header h2 {
    font-size: 2.5rem;
    color: #3d4035;
    margin-bottom: 15px;
    font-weight: 300;
}

.section-header p {
    font-size: 1.1rem;
    color: #7a7a7a;
}

/* ===================================
   FEATURES SECTION
   =================================== */

.features-section {
    padding: 40px 20px;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-top: 20px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #5a6051;
    border-radius: 50%;
    color: #5a6051;
    font-size: 2rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #3d4035;
}

.feature-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: #7a7a7a;
}

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

.products-section {
    padding: 80px 20px;
    background-color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
    max-width: 1200px;
    justify-items: center;
}

.product-card {
    background: #fafaf8;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e8e6e0;
    width: 100%;
    max-width: 350px;
    position: relative;
}

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

.product-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    background-color: #f5f1e8;
}

.product-info {
    padding: 25px;
}

.product-category {
    font-size: 0.85rem;
    color: #c9a961;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-name {
    font-size: 1.4rem;
    color: #3d4035;
    margin-bottom: 12px;
    font-weight: 400;
}

.product-description {
    font-size: 0.95rem;
    color: #7a7a7a;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-price {
    font-size: 1.5rem;
    color: #5a6051;
    font-weight: 600;
}

.price-compare {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e8e6e0;
}

.add-to-cart {
    background-color: #5a6051;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
}

.add-to-cart:hover {
    background-color: #3d4035;
    transform: scale(1.05);
}

/* Product Badges */
.featured-badge,
.sale-badge {
    position: absolute;
    top: 15px;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.featured-badge {
    left: 15px;
    background-color: #c9a961;
    color: white;
}

.sale-badge {
    right: 15px;
    background-color: #d94848;
    color: white;
}

/* ===================================
   CATEGORIES
   =================================== */

.categories-section {
    padding: 80px 20px;
    background-color: #f5f1e8;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e8e6e0;
}

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

.category-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #c9a961;
}

.category-card h3 {
    font-size: 1.2rem;
    color: #3d4035;
}

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

.newsletter {
    background: linear-gradient(135deg, #5a6051 0%, #7a8070 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 300;
}

.newsletter p {
    font-size: 1.1rem;
    color: #f5f1e8;
    margin-bottom: 30px;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-family: 'Georgia', serif;
}

.newsletter-form button {
    padding: 15px 35px;
    background-color: white;
    color: #5a6051;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.newsletter-form button:hover {
    background-color: #c9a961;
    color: white;
    transform: scale(1.05);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background-color: #3d4035;
    color: #d0cec5;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #f5f1e8;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #d0cec5;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #c9a961;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #5a5a52;
    text-align: center;
    font-size: 0.9rem;
    color: #d0cec5;
}

/* ===================================
   BREADCRUMB
   =================================== */

.breadcrumb {
    padding: 20px 0;
    background-color: white;
    border-bottom: 1px solid #e8e6e0;
}

.breadcrumb .container {
    font-size: 0.9rem;
    color: #7a7a7a;
}

.breadcrumb a {
    color: #5a6051;
}

.breadcrumb a:hover {
    color: #3d4035;
    text-decoration: underline;
}

/* ===================================
   PAGE HEADER
   =================================== */

.page-header {
    background: linear-gradient(135deg, #5a6051 0%, #7a8070 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 10px;
    font-weight: 300;
}

.page-header p {
    font-size: 1.2rem;
    color: #f5f1e8;
}

/* ===================================
   ALERTS
   =================================== */

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 1rem;
}

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

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

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

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

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 992px) {
    .header::before {
        height: 50px;
    }
    
    .header-container {
        padding: 20px;
        flex-direction: column;
        gap: 0;
    }
    
    .logo {
        order: 1;
        margin-bottom: 0;
    }
    
    .logo img {
        height: 90px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        left: 20px;
        top: 60px;
    }
    
    .mobile-cart-icon {
        display: block;
    }
    
    .hero-title-wrapper h1 {
        font-size: 2.5rem;
        white-space: normal;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-product-image {
        width: 200px;
        height: 200px;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title-wrapper h1 {
        font-size: 1.8rem;
    }
    
    .hero-content {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-product {
        flex: 0 0 auto;
    }
    
    .hero-product-image {
        width: 150px;
        height: 150px;
    }
    
    .hero-button {
        flex: 0 0 100%;
        justify-content: center;
        margin-top: 20px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 10px;
    }
    
    .product-card {
        max-width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nav {
        gap: 40px;
        font-size: 1rem;
    }
}

/* ===================================
   MOBILE MENU
   =================================== */

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background-color: #f5f1e8;
    z-index: 999;
    padding: 20px;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
    left: 0;
}

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

.mobile-menu-header .logo img {
    height: 50px;
}

.mobile-menu-close {
    font-size: 2rem;
    color: #5a6051;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu nav a {
    color: #5a6051;
    font-size: 1.2rem;
    padding: 12px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu nav a:hover,
.mobile-menu nav a.active {
    background-color: #5a6051;
    color: white;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.pt-1 { padding-top: 10px; }
.pt-2 { padding-top: 20px; }
.pt-3 { padding-top: 30px; }
.pt-4 { padding-top: 40px; }
.pt-5 { padding-top: 50px; }

.pb-1 { padding-bottom: 10px; }
.pb-2 { padding-bottom: 20px; }
.pb-3 { padding-bottom: 30px; }
.pb-4 { padding-bottom: 40px; }
.pb-5 { padding-bottom: 50px; }

/* ===================================
   SHOPPING CART PAGE
   =================================== */

.cart-page {
    padding: 60px 20px;
    background: #f5f1e8;
    min-height: 70vh;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.empty-cart-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.empty-cart h2 {
    color: #5a6051;
    margin-bottom: 10px;
}

.empty-cart p {
    color: #666;
    margin-bottom: 30px;
}

/* Cart Content */
.cart-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

.cart-items {
    background: white;
    border-radius: 15px;
    padding: 30px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto 120px 40px;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e8e6e0;
}

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

.item-image {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f1e8;
}

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

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.item-details h3 {
    font-size: 1.1rem;
    color: #3d4035;
    margin-bottom: 5px;
}

.item-price {
    color: #666;
    font-size: 0.95rem;
}

.stock-warning {
    color: #d94848;
    font-size: 0.85rem;
    margin-top: 5px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f5f1e8;
    border-radius: 8px;
    padding: 5px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: white;
    color: #5a6051;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #5a6051;
    color: white;
}

.qty-input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: #3d4035;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.line-total {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3d4035;
    text-align: right;
}

.remove-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #f5f1e8;
    color: #999;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}

.remove-btn:hover {
    background: #d94848;
    color: white;
}

/* Cart Summary */
.cart-summary {
    background: white;
    border-radius: 15px;
    padding: 30px;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 1.5rem;
    color: #5a6051;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8e6e0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: #666;
    font-size: 1rem;
}

.summary-row.total-row {
    border-top: 2px solid #e8e6e0;
    margin-top: 10px;
    padding-top: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #3d4035;
}

.summary-actions {
    margin-top: 25px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.btn-link {
    background: none;
    border: none;
    color: #999;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    width: 100%;
    text-align: center;
}

.btn-link:hover {
    color: #d94848;
}

/* Cart Responsive */
@media (max-width: 992px) {
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    
    .item-image {
        width: 80px;
        height: 80px;
    }
    
    .item-quantity,
    .item-total {
        grid-column: 2;
        justify-self: start;
    }
    
    .item-remove {
        grid-column: 2;
        justify-self: end;
        grid-row: 1;
    }
}

/* ===================================
   HERO PRODUCT CART BUTTONS
   =================================== */

.hero-add-cart-form {
    position: absolute;
    bottom: 15px;
    right: 15px;
    margin: 0;
    z-index: 10;
}

.hero-cart-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: #c9a961;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.hero-cart-btn:hover {
    background: #5a6051;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero-cart-btn:active {
    transform: scale(0.95);
}

.hero-cart-btn svg {
    pointer-events: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-add-cart-form {
        bottom: 10px;
        right: 10px;
    }
    
    .hero-cart-btn {
        width: 40px;
        height: 40px;
    }
    
    .hero-cart-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ===================================
   PRODUCTS PAGE - FILTERS
   =================================== */

.filters {
    background: white;
    margin: 20px auto;
    max-width: 1400px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.filter-toggle {
    width: 100%;
    padding: 20px 30px;
    background: #f5f1e8;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #3d4035;
    transition: background 0.3s;
}

.filter-toggle:hover {
    background: #ede9dc;
}

.filter-toggle-icon {
    transition: transform 0.3s;
}

.filters-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.filters-content.active {
    max-height: 500px;
}

.filters-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 30px;
    background: white;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    color: #3d4035;
    font-size: 0.9rem;
}

.filter-group input,
.filter-group select {
    padding: 10px 15px;
    border: 2px solid #e8e6e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #c9a961;
}

/* Products Header */
.products-header {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
}

.products-count {
    font-size: 1.1rem;
    color: #666;
}

.products-count strong {
    color: #3d4035;
    font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .filters-container {
        grid-template-columns: 1fr;
    }
    
    .filter-toggle {
        padding: 15px 20px;
        font-size: 1rem;
    }
}

/* ===================================
   BREADCRUMB IN TOP GREEN BAR
   =================================== */

.breadcrumb-top {
    background: #5a6051;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.breadcrumb-top .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    color: #d0cec5;
    font-size: 0.9rem;
}

.breadcrumb-top a {
    color: #d0cec5;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-top a:hover {
    color: #c9a961;
}

.footer-bottom p {
    color: #e8e6e0;
    margin: 0;
    font-weight: 400;
}
