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

:root {
    --primary-color: #4CAF50;
    --secondary-color: #2E7D32;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --border-color: #ddd;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 24px;
    font-weight: bold;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: var(--light-bg);
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-color);
}

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

.feature-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box svg {
    margin-bottom: 20px;
}

.feature-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 18px;
    color: var(--text-color);
}

/* About Services Section */
.about-services {
    padding: 80px 20px;
    background: var(--white);
}

.about-services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.service-description {
    max-width: 900px;
    margin: 0 auto;
}

.service-description p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.service-description h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 24px;
}

/* Products Section */
.products {
    padding: 80px 20px;
    background: var(--light-bg);
}

.products h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

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

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

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

.product-card h3 {
    padding: 20px 20px 10px;
    color: var(--text-color);
}

.product-card p {
    padding: 0 20px;
    color: #666;
    font-size: 14px;
}

.product-card .price {
    display: block;
    padding: 15px 20px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.product-card .btn-primary {
    display: block;
    margin: 0 20px 20px;
    text-align: center;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.product-card .btn-primary:hover {
    background: var(--secondary-color);
}

/* Product Detail */
.product-detail {
    padding: 80px 20px;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.product-info h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

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

.product-description {
    margin-bottom: 30px;
}

.product-description p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.product-features {
    margin-bottom: 30px;
}

.product-features h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.product-features ul {
    list-style: none;
    padding-left: 0;
}

.product-features li {
    padding: 8px 0 8px 25px;
    position: relative;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.product-actions {
    display: flex;
    gap: 15px;
}

.btn-add-cart,
.btn-buy-now {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-add-cart {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

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

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

/* Cart */
.cart-container {
    padding: 80px 20px;
    min-height: 60vh;
}

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

.cart-items {
    max-width: 900px;
    margin: 0 auto 40px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    align-items: center;
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-info h3 {
    margin-bottom: 10px;
}

.cart-item-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

.cart-item-remove {
    background: #f44336;
    color: var(--white);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.cart-item-remove:hover {
    background: #d32f2f;
}

.cart-summary {
    max-width: 400px;
    margin: 0 auto;
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
}

.cart-summary h3 {
    margin-bottom: 20px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.cart-summary .btn-primary {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.cart-summary .btn-primary:hover {
    background: var(--secondary-color);
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart h2 {
    margin-bottom: 20px;
}

/* Checkout */
.checkout-container {
    padding: 80px 20px;
}

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

.checkout-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

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

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

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

/* Success Page */
.success-container {
    padding: 100px 20px;
    text-align: center;
}

.success-message {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.success-message h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.success-message p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Contact Page */
.contact-container {
    padding: 80px 20px;
}

.contact-container h1 {
    text-align: center;
    margin-bottom: 50px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item svg {
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-form-container h2 {
    margin-bottom: 30px;
}

/* About Page */
.about-container {
    padding: 80px 20px;
}

.about-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-hero p {
    font-size: 20px;
    color: #666;
}

.about-content {
    max-width: 900px;
    margin: 0 auto 60px;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
}

.team-section {
    margin-top: 80px;
}

.team-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

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

.team-member {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    padding: 20px 20px 5px;
    color: var(--text-color);
}

.team-member .role {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0 20px 10px;
}

.team-member .bio {
    padding: 0 20px 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Blog */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.blog-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.blog-list {
    padding: 80px 20px;
}

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

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.blog-card a {
    text-decoration: none;
    color: var(--text-color);
}

.blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-card-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 15px;
}

.blog-card h2 {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-card p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #999;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

/* Blog Post */
.blog-post {
    padding: 60px 20px;
}

.post-header {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.post-header h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: #666;
    font-size: 14px;
}

.post-featured-image {
    max-width: 900px;
    margin: 0 auto 50px;
}

.post-featured-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

.post-content .lead {
    font-size: 20px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.post-content h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.post-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 17px;
}

.post-cta {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin: 50px 0;
}

.post-cta h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.post-cta p {
    margin-bottom: 20px;
}

.post-footer {
    max-width: 800px;
    margin: 50px auto;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.post-tags {
    margin-bottom: 20px;
}

.post-tags span {
    font-weight: bold;
    margin-right: 10px;
}

.post-tags a {
    display: inline-block;
    background: var(--light-bg);
    color: var(--text-color);
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    margin: 5px 5px 5px 0;
    transition: background 0.3s;
}

.post-tags a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.post-share {
    display: flex;
    gap: 15px;
    align-items: center;
}

.post-share span {
    font-weight: bold;
}

.post-share a {
    color: var(--primary-color);
    text-decoration: none;
}

.related-posts {
    max-width: 1200px;
    margin: 80px auto 0;
}

.related-posts h3 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

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

.related-post-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s;
}

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

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

.related-post-card h4 {
    padding: 20px;
    font-size: 18px;
    line-height: 1.4;
}

/* Newsletter */
.newsletter {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.newsletter h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.newsletter p {
    font-size: 18px;
    margin-bottom: 30px;
}

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

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.newsletter-form button {
    padding: 15px 30px;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: var(--light-bg);
}

.subscriber-count {
    font-size: 14px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: var(--white);
    padding: 60px 20px 20px;
}

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

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p {
    margin-bottom: 15px;
    line-height: 1.8;
    opacity: 0.9;
}

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

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

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-number {
    opacity: 0.7;
    font-size: 14px;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 9999;
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 14px;
}

.cookie-content a {
    color: var(--primary-color);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

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

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

.btn-secondary {
    background: var(--light-bg);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
        font-size: 14px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .features-grid,
    .products-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .product-container,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    
    .cart-item img {
        width: 80px;
        height: 80px;
    }
    
    .cart-item-price,
    .cart-item-remove {
        grid-column: 2;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .post-header h1 {
        font-size: 28px;
    }
    
    .post-content h2 {
        font-size: 22px;
    }
    
    .post-content p,
    .post-content .lead {
        font-size: 16px;
    }
}