/* ===== CSS Variables for Theme Colors ===== */
:root {
    --dark-green: #1a472a;
    --medium-green: #2e5d3a;
    --light-green: #4a7856;
    --cream-bg: #f8f5f0;
    --cream-light: #fefcf8;
    --text-dark: #2c3e50;
    --text-light: #5d6d7e;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--cream-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header & Navigation ===== */
.main-header {
    background-color: var(--dark-green);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: #a3d977;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
}

.cart-link {
    position: relative;
}

.cart-count {
    background-color: #e74c3c;
    color: white;
    font-size: 0.8rem;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -8px;
    right: -5px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Page Header (used across pages) ===== */
.page-header {
    background: linear-gradient(135deg, rgba(26, 71, 42, 0.95), rgba(74, 120, 86, 0.9)), url('https://images.unsplash.com/photo-1607082348824-0a96f2a4b9da?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 70px 0;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 0 0 25px 25px;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Home Page Specific Styles ===== */
.hero {
    background: linear-gradient(rgba(26, 71, 42, 0.9), rgba(46, 93, 58, 0.9)), url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 20px;
    text-align: center;
    margin-bottom: 50px;
    border-radius: 0 0 20px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234a7856' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.8;
}

.cta-btn {
    background-color: white;
    color: var(--dark-green);
    border: none;
    padding: 16px 40px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    background-color: #f0f0f0;
}

/* ===== Section Titles (shared) ===== */
.section-title {
    font-size: 2.2rem;
    color: var(--dark-green);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background-color: var(--light-green);
    border-radius: 3px;
}

/* ===== Category Grid (Home) ===== */
.category-section {
    padding: 60px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.category-card {
    background-color: var(--cream-light);
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--light-green);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.category-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    background: linear-gradient(135deg, var(--light-green), var(--medium-green));
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: rotate(15deg) scale(1.1);
}

.category-icon i {
    font-size: 2.5rem;
    color: white;
}

.category-card h3 {
    margin-bottom: 15px;
    color: var(--dark-green);
    font-size: 1.8rem;
}

.category-card p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.category-btn {
    background-color: transparent;
    color: var(--light-green);
    border: 2px solid var(--light-green);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.category-btn:hover {
    background-color: var(--light-green);
    color: white;
}

/* ===== Featured / Product Cards (Home & Products Page) ===== */
.featured-products, .product-section {
    padding: 60px 0;
}

.featured-products {
    background-color: rgba(74, 120, 86, 0.05);
    border-radius: 30px;
    margin-bottom: 60px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--dark-green);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
}

.badge-new { background-color: #3498db; }
.badge-sale { background-color: #e74c3c; }
.badge-popular { background-color: #f39c12; }
.badge-premium { background-color: #9b59b6; }

.product-image, .product-image-container {
    height: 220px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image img, .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img, .product-card:hover .product-image {
    transform: scale(1.05);
}

.quick-view-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: white;
    color: var(--dark-green);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-card:hover .quick-view-btn {
    opacity: 1;
    transform: translateY(0);
}

.quick-view-btn:hover {
    background-color: var(--dark-green);
    color: white;
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: var(--light-green);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.product-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
    flex-grow: 1;
}

.product-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.current-price {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--dark-green);
}

.original-price {
    font-size: 1.3rem;
    color: #95a5a6;
    text-decoration: line-through;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars {
    color: #f1c40f;
}

.add-to-cart-btn {
    width: 100%;
    background: linear-gradient(to right, var(--medium-green), var(--light-green));
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-top: auto;
}

.add-to-cart-btn:hover {
    background: linear-gradient(to right, var(--dark-green), var(--medium-green));
    letter-spacing: 0.5px;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(74, 120, 86, 0.3);
}

.add-to-cart-btn.added {
    background: #27ae60;
}

/* Recommended products (cart page) */
.recommended-section {
    margin-top: 60px;
    padding: 40px;
    background-color: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.recommended-title {
    font-size: 1.8rem;
    color: var(--dark-green);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.recommended-item {
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 20px;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid #f0f0f0;
}

.recommended-item:hover {
    transform: translateY(-5px);
    border-color: var(--light-green);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.rec-item-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.rec-item-title {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.rec-item-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 15px;
}

.add-to-cart-small {
    width: 100%;
    background-color: var(--light-green);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-small:hover {
    background-color: var(--medium-green);
}

/* ===== Benefits Section (Home) ===== */
.benefits-section {
    padding: 80px 0;
    background-color: white;
    border-radius: 30px;
    margin-bottom: 60px;
    box-shadow: var(--shadow);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
}

.benefit-icon {
    background-color: rgba(74, 120, 86, 0.1);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.benefit-icon i {
    font-size: 2.5rem;
    color: var(--light-green);
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--dark-green);
    font-size: 1.5rem;
}

.benefit-card p {
    color: var(--text-light);
}

/* ===== Newsletter Section (Home) ===== */
.newsletter-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--medium-green), var(--dark-green));
    color: white;
    text-align: center;
    border-radius: 30px;
    margin-bottom: 80px;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.newsletter-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    outline: none;
}

.newsletter-btn {
    background-color: white;
    color: var(--dark-green);
    border: none;
    padding: 0 35px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* ===== Filter & Sort Controls (Products Page) ===== */
.filter-section {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-header h2 {
    color: var(--dark-green);
    font-size: 1.8rem;
}

.results-count {
    color: var(--text-light);
    font-weight: 600;
}

.filter-controls {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 200px;
}

.filter-group label {
    font-weight: 600;
    color: var(--dark-green);
    font-size: 1.1rem;
}

.filter-select {
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: white;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a472a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--light-green);
    box-shadow: 0 0 0 3px rgba(74, 120, 86, 0.2);
}

.category-filters {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.category-filter-btn {
    padding: 10px 25px;
    background-color: #f0f0f0;
    border: 2px solid transparent;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-filter-btn.active {
    background-color: var(--light-green);
    color: white;
    border-color: var(--light-green);
}

.category-filter-btn:hover:not(.active) {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

/* ===== Pagination (Products Page) ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
}

.pagination-btn {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    background-color: white;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn.active {
    background-color: var(--light-green);
    color: white;
    border-color: var(--light-green);
}

.pagination-btn:hover:not(.active):not(:disabled) {
    background-color: #f0f0f0;
    border-color: var(--light-green);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Cart Page ===== */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.cart-items-section {
    background-color: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.cart-actions {
    display: flex;
    gap: 15px;
}

.cart-action-btn {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-action-btn:hover {
    background-color: #e9ecef;
    border-color: var(--light-green);
    color: var(--light-green);
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 25px;
    padding: 25px;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
}

.cart-item:hover {
    border-color: var(--light-green);
    box-shadow: 0 6px 15px rgba(74, 120, 86, 0.08);
}

.cart-item-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-header {
    margin-bottom: 15px;
}

.item-category {
    color: var(--light-green);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    display: block;
}

.item-title {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.item-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.item-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.item-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.item-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-green);
    margin-bottom: 15px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.quantity-btn {
    background-color: #f1f1f1;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    transition: var(--transition);
    color: var(--text-dark);
}

.quantity-btn:hover {
    background-color: var(--light-green);
    color: white;
    transform: scale(1.1);
}

.quantity-display {
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 40px;
    text-align: center;
}

.item-actions {
    display: flex;
    gap: 12px;
}

.remove-btn, .save-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    border: none;
}

.remove-btn {
    background-color: #ffeaea;
    color: #e74c3c;
}

.remove-btn:hover {
    background-color: #ffd6d6;
}

.save-btn {
    background-color: #e8f4ff;
    color: #3498db;
}

.save-btn:hover {
    background-color: #d6eaff;
}

.item-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 10px;
    text-align: right;
}

.empty-cart {
    text-align: center;
    padding: 60px 30px;
}

.empty-cart-icon {
    font-size: 5rem;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.empty-cart h2 {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 2rem;
}

.empty-cart p {
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* ===== Order Summary (Cart) ===== */
.order-summary {
    background-color: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.summary-title {
    font-size: 1.8rem;
    color: var(--dark-green);
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.summary-details {
    margin-bottom: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-dark);
}

.summary-row.total {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-green);
    border-bottom: none;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.summary-row.savings, .summary-row.shipping-free {
    color: #27ae60;
    font-weight: 600;
}

.promo-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(74, 120, 86, 0.05);
    border-radius: 12px;
}

.promo-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.promo-input-group {
    display: flex;
    gap: 10px;
}

.promo-input {
    flex: 1;
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.promo-input:focus {
    outline: none;
    border-color: var(--light-green);
    box-shadow: 0 0 0 3px rgba(74, 120, 86, 0.1);
}

.promo-btn {
    background-color: var(--light-green);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.promo-btn:hover {
    background-color: var(--medium-green);
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(to right, var(--medium-green), var(--light-green));
    color: white;
    border: none;
    padding: 20px;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.checkout-btn:hover {
    background: linear-gradient(to right, var(--dark-green), var(--medium-green));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 120, 86, 0.3);
}

.checkout-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.secure-checkout {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.secure-checkout i {
    margin-right: 8px;
    color: var(--light-green);
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.payment-icon {
    font-size: 2rem;
    color: #a0a0a0;
}

.continue-shopping {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

.continue-btn {
    background-color: transparent;
    color: var(--light-green);
    border: 2px solid var(--light-green);
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.continue-btn:hover {
    background-color: var(--light-green);
    color: white;
}

/* ===== About / Info Pages ===== */
.info-sections {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-bottom: 80px;
}

.info-section {
    background-color: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background-color: var(--light-green);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
}

.section-icon {
    background-color: rgba(74, 120, 86, 0.15);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-icon i {
    font-size: 2rem;
    color: var(--light-green);
}

.section-content {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 20px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.highlight-card {
    background-color: rgba(74, 120, 86, 0.05);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
    background-color: rgba(74, 120, 86, 0.1);
}

.highlight-icon {
    font-size: 2.5rem;
    color: var(--light-green);
    margin-bottom: 20px;
}

.highlight-card h3 {
    color: var(--dark-green);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 3px;
    background-color: #e0e0e0;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    padding: 0 15px;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--light-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 25px;
    box-shadow: 0 6px 15px rgba(74, 120, 86, 0.3);
}

.step h3 {
    color: var(--dark-green);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.faq-container {
    margin-top: 40px;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--light-green);
    box-shadow: 0 4px 12px rgba(74, 120, 86, 0.1);
}

.faq-question {
    padding: 25px 30px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-item.active .faq-question {
    background-color: rgba(74, 120, 86, 0.05);
}

.faq-question h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin: 0;
}

.faq-icon {
    color: var(--light-green);
    font-size: 1.2rem;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 30px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.policy-card {
    background-color: rgba(74, 120, 86, 0.05);
    padding: 35px;
    border-radius: 15px;
    transition: var(--transition);
}

.policy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.policy-card h3 {
    color: var(--dark-green);
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.policy-card h3 i {
    color: var(--light-green);
}

.policy-details {
    color: var(--text-light);
    line-height: 1.8;
}

.policy-details ul {
    padding-left: 20px;
    margin-top: 15px;
}

.policy-details li {
    margin-bottom: 10px;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    background-color: rgba(74, 120, 86, 0.15);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--light-green);
}

.contact-details h4 {
    color: var(--dark-green);
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-form {
    background-color: rgba(74, 120, 86, 0.05);
    padding: 35px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--dark-green);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--light-green);
    box-shadow: 0 0 0 3px rgba(74, 120, 86, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(to right, var(--medium-green), var(--light-green));
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.submit-btn:hover {
    background: linear-gradient(to right, var(--dark-green), var(--medium-green));
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(74, 120, 86, 0.3);
}

.hours-container {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.hour-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
    color: var(--text-dark);
}

.time {
    color: var(--light-green);
    font-weight: 600;
}

/* ===== Quick View Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: white;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: #f0f0f0;
}

.modal-content {
    padding: 40px;
}

/* ===== Footer (shared) ===== */
.main-footer {
    background-color: var(--dark-green);
    color: white;
    padding: 70px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.8;
    font-size: 1.1rem;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
    font-size: 1.1rem;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 10px;
}

.footer-contact p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0.8;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    opacity: 0.8;
    transition: var(--transition);
}

.social-icons a:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 1.1rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    .cart-layout {
        gap: 30px;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .order-summary {
        position: static;
    }
    .hero-content h2 {
        font-size: 2.5rem;
    }
    .category-grid, .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .filter-controls {
        flex-direction: column;
    }
    .filter-group {
        width: 100%;
    }
    .page-title {
        font-size: 2.5rem;
    }
    .steps-container {
        flex-direction: column;
        gap: 40px;
    }
    .steps-container::before {
        display: none;
    }
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        background-color: var(--dark-green);
        flex-direction: column;
        width: 250px;
        padding: 20px;
        border-radius: 12px;
        box-shadow: var(--shadow);
        z-index: 1000;
    }
    .nav-list.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-content h2 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
    .page-title {
        font-size: 2rem;
    }
    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .cart-item-image {
        margin: 0 auto;
    }
    .item-controls {
        align-items: center;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-btn {
        padding: 18px;
    }
    .info-section {
        padding: 30px;
    }
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .section-title {
        font-size: 2rem;
    }
    .product-grid {
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .cart-items-section, .order-summary {
        padding: 25px;
    }
    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .cart-actions {
        width: 100%;
        justify-content: space-between;
    }
    .item-meta {
        flex-direction: column;
        gap: 5px;
    }
    .recommended-grid, .category-grid, .product-grid, .benefits-grid, .about-highlights, .policies-grid, .contact-container {
        grid-template-columns: 1fr;
    }
    .promo-input-group {
        flex-direction: column;
    }
    .promo-btn {
        padding: 14px;
    }
    .hero {
        padding: 70px 20px;
    }
    .hero-content h2 {
        font-size: 1.8rem;
    }
    .page-header {
        padding: 50px 0;
    }
    .category-filters {
        justify-content: center;
    }
    .modal-content {
        padding: 25px;
    }
}

/* ===== Animation Keyframes ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 0.5s ease;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 60px;
    flex-direction: column;
    gap: 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f0f0f0;
    border-top: 5px solid var(--light-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}