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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

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

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-consent.hidden {
    display: none;
}

.cookie-content {
    max-width: 800px;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 15px;
    font-size: 14px;
}

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

.cookie-accept,
.cookie-decline {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cookie-accept {
    background-color: #4CAF50;
    color: white;
}

.cookie-accept:hover {
    background-color: #45a049;
}

.cookie-decline {
    background-color: #f44336;
    color: white;
}

.cookie-decline:hover {
    background-color: #da190b;
}

.cookie-link {
    color: #2196F3;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 20px;
}

.cookie-link:hover {
    text-decoration: underline;
}

/* Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 18px;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
}

.font-decrease {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    margin: 0 10px;
    transition: color 0.3s;
}

.font-decrease:hover {
    color: #333;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #FF6B35;
}

.cart-link {
    position: relative;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 50px;
}

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

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #FF6B35;
    color: white;
}

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

.btn-secondary {
    background-color: white;
    color: #667eea;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: #f0f0f0;
}

/* Products Section */
.products-section {
    padding: 50px 20px;
    background-color: #fff;
    margin-bottom: 50px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

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

.product-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

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

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #f0f0f0;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-price {
    font-size: 22px;
    font-weight: bold;
    color: #FF6B35;
    margin-bottom: 15px;
}

.product-button {
    width: 100%;
    padding: 10px;
    background-color: #FF6B35;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.product-button:hover {
    background-color: #e55a24;
}

/* Featured Articles */
.articles-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    margin-bottom: 50px;
}

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

.article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #e0e0e0;
}

.article-content {
    padding: 20px;
}

.article-date {
    color: #999;
    font-size: 12px;
    margin-bottom: 10px;
}

.article-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.article-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.read-more {
    color: #FF6B35;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.read-more:hover {
    color: #e55a24;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 50px 20px 20px;
}

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

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

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

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

.footer-section a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #FF6B35;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 10px 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

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

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }

    .cookie-content {
        margin: 10px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-accept,
    .cookie-decline,
    .cookie-link {
        width: 100%;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .logo span {
        display: none;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

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

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

    .product-image {
        width: 150px;
        height: 150px;
        flex-shrink: 0;
    }

    .product-info {
        padding: 15px;
    }

    .section-title {
        font-size: 22px;
    }

    .nav-menu {
        top: 60px;
    }
}

/* Features Section */
.features {
    padding: 60px 20px;
    background-color: #fff;
}

.features h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

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

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: #f9f9f9;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #FF6B35, #e55a24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

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

.stat-item h3 {
    font-size: 36px;
    color: #FF6B35;
    font-weight: bold;
}

.stat-item p {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 20px 0;
}

/* About Products */
.about-products {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.about-products h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.about-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Products Section (index page) */
.products {
    padding: 60px 20px;
    background-color: #fff;
}

.products h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

.new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #FF6B35;
    color: white;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}

.product-card {
    position: relative;
}

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

.product-card .price,
.product-price {
    font-size: 22px;
    font-weight: bold;
    color: #FF6B35;
    margin-bottom: 15px;
}

.product-card h3 a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.product-card h3 a:hover {
    color: #FF6B35;
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

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

.about-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.about-story {
    padding: 60px 20px;
}

.about-story h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.story-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Mission Section */
.about-mission {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

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

.mission-card {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.mission-card i {
    font-size: 36px;
    color: #FF6B35;
    margin-bottom: 15px;
}

.mission-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #333;
}

.mission-card p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.about-team {
    padding: 60px 20px;
}

.about-team h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.team-intro {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

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

.team-card {
    text-align: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    padding-bottom: 25px;
}

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

.team-card h3 {
    font-size: 18px;
    margin: 15px 0 5px;
    color: #333;
}

.team-position {
    color: #FF6B35;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

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

/* Values Section */
.about-values {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.about-values h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

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

.value-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.value-item i {
    font-size: 32px;
    color: #FF6B35;
    margin-bottom: 15px;
}

.value-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.value-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Contact Page */
.contact-section {
    padding: 60px 20px;
}

.contact-section h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
    color: #333;
}

.contact-intro {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF6B35;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-info-item i {
    font-size: 20px;
    color: #FF6B35;
    margin-top: 4px;
    min-width: 24px;
}

.contact-info-item h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.contact-info-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.contact-info-item a {
    color: #FF6B35;
    text-decoration: none;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

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

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-detail .product-image {
    position: relative;
    height: auto;
}

.product-detail .product-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-detail h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.product-rating {
    margin-bottom: 15px;
    color: #f5a623;
}

.product-rating span {
    color: #666;
    font-size: 14px;
    margin-left: 5px;
}

.product-details .product-price {
    font-size: 28px;
    color: #FF6B35;
    font-weight: bold;
    margin-bottom: 20px;
}

.product-details .product-description {
    margin-bottom: 25px;
    color: #555;
    font-size: inherit;
}

.product-details .product-description h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.product-details .product-description h4 {
    font-size: 16px;
    margin: 15px 0 8px;
    color: #333;
}

.product-details .product-description ul {
    padding-left: 20px;
    margin-bottom: 10px;
}

.product-details .product-description li {
    margin-bottom: 5px;
    color: #555;
    line-height: 1.6;
}

.product-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-selector label {
    font-weight: 600;
    color: #333;
}

.quantity-selector input {
    width: 60px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
}

.product-meta {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.product-meta p {
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.in-stock {
    color: #4CAF50;
    font-weight: 600;
}

/* Cart Page */
.cart-section {
    padding: 40px 20px;
    min-height: 50vh;
}

.cart-section h1 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.cart-empty {
    text-align: center;
    padding: 40px 0;
}

.cart-empty i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

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

.cart-item {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

.order-summary {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    max-width: 400px;
}

.order-summary h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.cart-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* Checkout Page */
.checkout-section {
    padding: 40px 20px;
}

.checkout-section h1 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

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

.success-section i {
    font-size: 64px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.success-section h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    color: #bbb;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #FF6B35;
}

/* Blog Post Pages */
.blog-post {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.post-featured-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
}

.post-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #666;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.share-btn:hover {
    background: #FF6B35;
    color: white;
}

.related-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.related-posts img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive additions */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        gap: 30px;
    }

    .about-hero h1 {
        font-size: 28px;
    }

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Error State */
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

/* Success State */
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

/* Print Styles */
@media print {
    .navbar,
    .cookie-consent,
    .btn,
    .product-button {
        display: none;
    }

    body {
        background-color: white;
    }
}