
:root {
    --primary-color: #87e73d;
    --primary-light: #c3ff79;
    --primary-dark: #379700;
    --secondary-color: #197800;
    --accent-color: #41a028;
    --success-color: #22c545;
    --warning-color: #e7ac0c;
    --error-color: #c81d2e;
    --text-primary: #461e2e;
    --text-secondary: #65838f;
    --bg-primary: #ffffff;
    --bg-secondary: #ffffff;
    --border-color: #cdffb4;
    --footer-bg: #41a028;
    --footer-text: #ffffff;
}

/* Generate varied gradient combinations */
.feature-icon {
    background: linear-gradient(137deg, var(--primary-color), var(--secondary-color)) !important;
}

.newsletter {
    background: linear-gradient(87deg, var(--primary-light), var(--primary-dark)) !important;
}

.back-to-top {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color)) !important;
}

/* Additional gradient variations for buttons and elements */
.btn-primary, .cart-button {
    background: linear-gradient(66deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
}

.hero-title .highlight, .section-title .highlight {
    background: linear-gradient(218deg, var(--secondary-color), var(--accent-color)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

body {
    background-color: var(--bg-secondary) !important;
}

/* Site description section */
.site-description {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.description-content {
    max-width: 800px;
    margin: 0 auto;
}

.description-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 30px;
}

.description-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #6b7280;
    margin: 0 auto;
    max-width: 700px;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fafafa;
}

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


.header-sticky {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

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

.sticky-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.sticky-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.sticky-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.sticky-link:hover {
    color: var(--primary-color);
}

.sticky-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sticky-search {
    position: relative;
}

.sticky-search-input {
    padding: 8px 35px 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    transition: all 0.3s ease;
    width: 200px;
}

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

.sticky-search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
}

.cart-button-sticky {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.cart-button-sticky:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

body {
    padding-top: 70px;
}


.hero-centered {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.hero-centered .hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-centered .hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-centered .hero-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-centered .hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.hero-centered .stat-item {
    text-align: center;
}

.hero-centered .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.hero-centered .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-centered .hero-btn-primary {
    background: white;
    color: var(--primary-color);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-centered .hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .hero-centered .hero-title {
        font-size: 2.8rem;
    }
    .hero-centered .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.cart-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

/* When displayed via JS (display: block or flex) */
.cart-modal[style*="display: block"],
.cart-modal[style*="display:block"],
.cart-modal.show {
    display: flex !important;
}

.cart-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 750px;
    width: 95%;
    max-height: 85vh;
    overflow-y: auto;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.close-cart {
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

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

.cart-items {
    margin-bottom: 20px;
}

.cart-total {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
    text-align: right;
}

.cart-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 5px;
    margin-bottom: 15px;
}

.cart-footer {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.cart-footer button {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.clear-cart {
    background: #ef4444;
    color: white;
}

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

.close-btn {
    background: #6b7280;
    color: white;
}

.show-cart { width: 100%; border-collapse: collapse; }
.show-cart th { padding: 10px 0; border-bottom: 2px solid #eee; font-size: 13px; font-weight: 600; text-align: left; color: #666; }
.show-cart td { padding: 10px 0; border-bottom: 1px solid #eee; font-size: 14px; vertical-align: middle; }
.show-cart td img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.quantity-control { display: inline-flex; align-items: center; gap: 4px; }
.quantity-btn { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: #f3f4f6; border-radius: 6px; cursor: pointer; font-size: 16px; user-select: none; }
.quantity-btn:hover { background: #e5e7eb; }
.item-count { width: 40px; text-align: center; border: 1px solid #ddd; border-radius: 6px; padding: 4px; font-size: 14px; }
.delete-item { background: none; border: none; color: #999; cursor: pointer; font-size: 16px; padding: 4px 8px; }
.delete-item:hover { color: #ef4444; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 40px;
}

.search-container {
    position: relative;
}

.search-input {
    padding: 10px 15px 10px 40px;
    border: 1px solid #ddd;
    border-radius: 25px;
    width: 250px;
    outline: none;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.cart-button {
    position: relative;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-button:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .search-input {
        width: 150px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

.features {
    padding: 80px 0;
    background: white;
}

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

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.feature-icon i {
    font-size: 36px;
    color: white;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1f2937;
}

.feature-text {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

.products {
    padding: 80px 0;
    background: #f8fafc;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
}


.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 260px;
}

.product-image:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image:after {
    opacity: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

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

.product-info {
    padding: 22px;
    position: relative;
}

.product-info:before {
    content: "";
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.product-card:hover .product-info:before {
    width: 80%;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.product-card:hover .product-title {
    transform: translateY(-2px);
}

.product-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

.product-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover .product-description {
    color: #475569;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.product-card:hover .product-price {
    transform: translateY(-2px);
    font-size: 22px;
}

.product-button {
    width: 100%;
    margin-top: 10px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.product-card:hover .product-button {
    opacity: 1;
    transform: translateY(-2px);
}

.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
}

.newsletter-button {
    background: white !important;
    color: #333 !important;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}


.footer-classic {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo img {
    filter: brightness(1.5);
    margin-bottom: 15px;
}

.footer-description {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.contact-info p {
    color: #a0aec0;
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-info strong {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #a0aec0;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
}

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

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}


.product-button, .add-to-cart {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.newsletter-button {
    background: white !important;
    color: #333 !important;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.product-button:hover, .add-to-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.newsletter-button:hover {
    background: #f8f9fa !important;
    color: #333 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.add-to-cart-main {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.add-to-cart-main:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.product-button i, .add-to-cart i, .add-to-cart-main i {
    font-size: 14px;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

td>img{max-height:70px}
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input,
    .newsletter-button {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .products {
        padding: 60px 0;
    }
    
    .newsletter {
        padding: 60px 0;
    }
    
    .newsletter-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .newsletter-title {
        font-size: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 24px;
    }
}