:root {
    --primary: #468432;
    --secondary: #9AD872;
    --tertiary: #FFEF91;
    --accent: #FFA02E;
    --dark: #2d5a26;
    --light: #f8fdf5;
    --white: #ffffff;
    --gray: #666666;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light);
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-section {
    flex: 0 0 30%;
    max-width: 350px;
}

.logo {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.logo-img {
    max-height: 80px;
    max-width: 100%;
    height: auto;
    width: auto;
    display: block;
}

.nav-section {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.15);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow);
    border-radius: 8px;
    top: 100%;
    left: 0;
    margin-top: 10px;
    overflow: hidden;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    display: block;
    border-radius: 0;
}

.dropdown-content a:hover {
    background: var(--light);
    color: var(--primary);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.cart-icon {
    position: relative;
    text-decoration: none;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--accent);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.cart-icon:hover {
    transform: scale(1.05);
}

.cart-count {
    background: var(--tertiary);
    color: #333;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* Page Sections */
.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

/* Hero Section */
.hero {
    background: var(--white);
    color: var(--dark);
    padding: 60px 30px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    max-height: 400px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

.hero-content {
    text-align: left;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.hero h2 {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 400;
}

.hero p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: var(--gray);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: #e88a1a;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #000;
    border: 2px solid var(--secondary);
}

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

/* Benefits Section */
.benefits {
    padding: 60px 30px;
    background: var(--white);
}

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

.section-header h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.benefits-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--light);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.benefit-card h4 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Products Section */
.products-section {
    padding: 60px 30px;
    background: var(--light);
}

.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    align-items: start;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.product-image {
    height: 200px;
    background: linear-gradient(135deg, var(--tertiary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    position: relative;
    flex-shrink: 0;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.product-name:hover {
    color: var(--primary);
}

.product-description {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

.product-weight {
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

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

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

.add-to-cart {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.add-to-cart:hover {
    background: var(--dark);
}

/* About Section */
.about-section {
    padding: 80px 30px;
    background: var(--white);
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-container h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-container p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Products List Page */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 50px 30px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.sidebar {
    background: var(--white);
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.sidebar h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    color: var(--gray);
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-list a:hover,
.category-list a.active {
    background: var(--light);
    color: var(--primary);
}

/* Product Detail */
.product-detail-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 30px;
}

.breadcrumb {
    margin-bottom: 30px;
    color: var(--gray);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.product-image-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--tertiary), var(--secondary));
    border-radius: 16px;
    min-height: 400px;
}

.product-image-section img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
}

.product-image-placeholder {
    font-size: 150px;
}

.product-info-section {
    display: flex;
    flex-direction: column;
}

.product-category {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-name {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-price {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.product-description {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.nutrition-section {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid var(--secondary);
}

.nutrition-section h4 {
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nutrition-section p {
    color: var(--gray);
    line-height: 1.6;
    white-space: pre-line;
}

.stock-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.stock-available {
    color: var(--primary);
}

.stock-low {
    color: var(--accent);
}

.stock-out {
    color: #dc3545;
}

.add-to-cart-form {
    display: flex;
    gap: 15px;
    align-items: center;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--secondary);
    border-radius: 25px;
    overflow: hidden;
}

.quantity-selector button {
    background: var(--light);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary);
}

.quantity-selector input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-weight: 600;
}

.btn-add-cart {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-add-cart:hover {
    background: var(--dark);
}

.btn-add-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Cart */
.cart-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 30px;
}

.cart-header {
    text-align: center;
    margin-bottom: 40px;
}

.cart-header h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.cart-header p {
    color: var(--gray);
}

.cart-empty {
    text-align: center;
    padding: 60px 30px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

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

.cart-empty h2 {
    color: var(--primary);
    margin-bottom: 15px;
}

.cart-empty p {
    color: var(--gray);
    margin-bottom: 25px;
}

.cart-items {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 150px 120px 50px;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

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

.cart-item-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--tertiary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    overflow: hidden;
}

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

.cart-item-info h4 {
    color: #333;
    margin-bottom: 5px;
}

.cart-item-info a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.cart-item-info a:hover {
    color: var(--primary);
}

.cart-item-category {
    color: var(--gray);
    font-size: 0.85rem;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 600;
}

.quantity-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-form input {
    width: 60px;
    padding: 8px;
    border: 2px solid var(--secondary);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.quantity-form button {
    background: var(--light);
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
}

.remove-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    transition: transform 0.3s ease;
}

.remove-btn:hover {
    transform: scale(1.1);
}

.cart-summary {
    background: var(--light);
    padding: 25px;
    margin-top: 30px;
    border-radius: 16px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--secondary);
}

.cart-actions {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

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

.customer-form {
    background: var(--white);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.customer-form h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
}

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

.payment-info {
    background: var(--tertiary);
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
}

.payment-info p {
    color: #333;
    font-size: 0.95rem;
    margin: 5px 0;
}

.payment-info strong {
    color: var(--primary);
}

/* Checkout */
.checkout-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 30px;
}

.checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-header h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.checkout-form {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.secure-badge {
    text-align: center;
    margin-top: 20px;
    color: var(--gray);
    font-size: 0.9rem;
}

.login-prompt {
    background: var(--tertiary);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
}

.login-prompt a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.login-prompt a:hover {
    text-decoration: underline;
}

.order-summary {
    background: var(--light);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.order-summary h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

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

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    margin-top: 10px;
    border-top: 2px solid var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

/* Order Confirmation */
.confirmation-container {
    max-width: 700px;
    margin: 60px auto;
    padding: 0 30px;
    text-align: center;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    margin: 0 auto 30px;
}

.confirmation-container h1 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 15px;
}

.confirmation-container > p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.order-details {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: left;
    margin-bottom: 30px;
}

.order-details h3 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    color: var(--gray);
}

.detail-row .value {
    font-weight: 600;
    color: #333;
}

.detail-row .value.status-pending {
    color: var(--accent);
}

.items-list {
    margin-top: 20px;
}

.items-list h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
}

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

.item-info {
    color: var(--gray);
}

.item-total {
    font-weight: 600;
    color: var(--primary);
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    margin-top: 15px;
    border-top: 2px solid var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.next-steps {
    background: var(--light);
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

.next-steps h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

.next-steps ul {
    list-style: none;
    text-align: left;
}

.next-steps li {
    padding: 8px 0;
    color: var(--gray);
}

.next-steps li:before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    margin-right: 10px;
}

/* Search */
.search-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 30px;
}

.search-header {
    text-align: center;
    margin-bottom: 40px;
}

.search-header h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.search-form {
    max-width: 600px;
    margin: 0 auto 30px;
}

.search-input-group {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--secondary);
    border-radius: 30px;
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

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

.results-count {
    color: var(--gray);
    margin-bottom: 20px;
}

.no-results {
    text-align: center;
    padding: 60px 30px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.no-results-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.no-results h2 {
    color: var(--primary);
    margin-bottom: 15px;
}

.no-results p {
    color: var(--gray);
    margin-bottom: 25px;
}

.suggestions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.suggestion-tag {
    background: var(--light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
}

.suggestion-tag:hover {
    background: var(--secondary);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 30px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: var(--tertiary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section a {
    color: var(--secondary);
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--secondary);
    font-size: 0.9rem;
}
.footer-bottom a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: bold;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .logo-section {
        flex: none;
        max-width: none;
    }

    .nav-section {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-image img {
        max-height: 250px;
    }

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

    .products-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: 2;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .product-image-section {
        min-height: 250px;
    }

    .product-name {
        font-size: 1.5rem;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    .cart-item-price,
    .quantity-form,
    .remove-btn {
        grid-column: 2;
    }

    .search-input-group {
        flex-direction: column;
    }
}
