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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d5a27;
}

.logo i {
    font-size: 2rem;
    color: #4CAF50;
}

.search-section {
    flex: 1;
    max-width: 600px;
}

.search-wrapper {
    display: flex;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-wrapper:focus-within {
    border-color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.2);
}

.category-select {
    border: none;
    background: none;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    min-width: 140px;
    outline: none;
}

.search-input-container {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
}

.search-input {
    flex: 1;
    border: none;
    background: none;
    padding: 1rem;
    font-size: 1rem;
    outline: none;
    color: #333;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
    color: white;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0 50px 50px 0;
}

.search-btn:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: scale(1.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.support-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.support-text {
    font-size: 0.8rem;
    color: #666;
}

.support-number {
    font-weight: 600;
    color: #4CAF50;
    font-size: 0.9rem;
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.action-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(76, 175, 80, 0.2);
    border-radius: 50px;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    font-size: 0.9rem;
}

.action-btn:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.cart-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.cart-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border: none;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

.cart-count {
    background: white;
    color: #ff6b6b;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    position: absolute;
    top: -5px;
    right: -5px;
}

.cart-total {
    font-weight: 700;
    color: #333;
    font-size: 0.9rem;
}

/* Menu Bar */
.menu-bar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.menu-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.departments-btn {
    background: linear-gradient(135deg, #2d5a27, #4CAF50);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.departments-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 90, 39, 0.3);
}

.main-menu {
    display: flex;
    gap: 2rem;
}

.menu-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.menu-link:hover {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    transform: translateY(-1px);
}

.menu-link.sale {
    color: #ff6b6b;
    font-weight: 600;
}

.menu-link.sale:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(139, 195, 74, 0.1));
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-main {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2d5a27;
}

.hero-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    width: fit-content;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.4);
}

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

.product-showcase {
    position: relative;
}

.product-circle {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 3rem;
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #4CAF50;
    transform: scale(1.2);
}

.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.promo-card {
    border-radius: 25px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.green-card {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.9), rgba(139, 195, 74, 0.9));
    color: white;
}

.orange-card {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.9), rgba(255, 193, 7, 0.9));
    color: white;
}

.card-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.discount {
    font-size: 1.5rem;
    font-weight: 800;
}

.sale-line {
    font-size: 0.7rem;
    opacity: 0.8;
    margin: 0.3rem 0;
}

.card-link {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.9;
}

.card-icon {
    font-size: 3rem;
    opacity: 0.7;
}

/* Categories Section */
.categories-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.5);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d5a27;
}

.section-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.view-all-link {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: #2d5a27;
}

.nav-arrows {
    display: flex;
    gap: 1rem;
}

.nav-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #4CAF50;
    background: white;
    color: #4CAF50;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: #4CAF50;
    color: white;
    transform: scale(1.1);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.category-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.category-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.item-count {
    color: #666;
    font-size: 0.9rem;
}
.category-section {
    padding: 40px;
    max-width: 1200px;
    margin: auto;
  }
  
  .category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
  }
  
  .category-header h2 {
    font-size: 24px;
  }
  
  .view-all {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .view-all a {
    text-decoration: none;
    font-weight: bold;
    color: #555;
  }
  
  .view-all button {
    background-color: #f0f0f0;
    border: none;
    padding: 6px 10px;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
  }
  
  .category-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
    padding: 20px;
    transition: transform 0.2s ease;
  }
  
  .category-card:hover {
    transform: translateY(-5px);
  }
  
  .category-card img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }
  
  .category-card p {
    margin: 0;
    font-weight: 500;
    color: #333;
  }
  
  .newly-arrived-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .header h2 {
    font-size: 24px;
  }
  
  .categories-link {
    color: #555;
    font-size: 14px;
    cursor: pointer;
  }
  
  .cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    width: 250px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: start;
    transition: transform 0.3s;
  }
  
  .card:hover {
    transform: translateY(-5px);
  }
  
  .card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
  }
  
  .card .title {
    font-size: 14px;
    font-weight: bold;
    color: #888;
    margin-bottom: 4px;
  }
  
  .card .description {
    font-size: 16px;
    color: #333;
  }
  
  
  .trending-products {
    padding: 60px 20px;
    background: #fff;
    font-family: Arial, sans-serif;
  }
  
  .trending-products .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
  
  .filters .filter {
    margin-left: 20px;
    cursor: pointer;
    color: #777;
    font-weight: 500;
    position: relative;
  }
  
  .filters .filter.active {
    color: black;
  }
  
  .filters .filter.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #f0c040;
  }
  
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
  }
  
  .product-card {
    position: relative;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  }
  
  .product-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
  }
  
  .product-card h4 {
    font-size: 16px;
    margin: 0 0 10px;
  }
  
  .product-card .unit {
    font-size: 14px;
    color: #777;
    margin-bottom: 8px;
  }
  
  .product-card .rating {
    color: #f0c040;
    margin-left: 5px;
  }
  
  .product-card .price {
    font-weight: bold;
    font-size: 18px;
    color: #000;
  }
  
  .discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #69db7c;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
  }
  
  .favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    color: #888;
    cursor: pointer;
  }
  
  
  .footer {
    background: #f8f8f8;
    padding: 40px 20px 20px;
    font-family: Arial, sans-serif;
    color: #333;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
  }
  
  .footer-col h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
  }
  
  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-col ul li {
    margin-bottom: 8px;
  }
  
  .footer-col ul li a {
    text-decoration: none;
    color: #666;
    transition: color 0.3s;
  }
  
  .footer-col ul li a:hover {
    color: #000;
  }
  
  .logo-social .logo {
    width: 150px;
    margin-bottom: 15px;
  }
  
  .social-icons a {
    display: inline-block;
    margin-right: 10px;
  }
  
  .social-icons img {
    width: 20px;
    height: 20px;
  }
  
  .subscribe-form {
    display: flex;
    margin-top: 10px;
  }
  
  .subscribe-form input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    outline: none;
  }
  
  .subscribe-form button {
    padding: 8px 12px;
    border: none;
    background: #333;
    color: white;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #999;
  }