/* Global Styles */
:root {
    --primary-color: #DC3D24;
    --secondary-color: #4A4A4A;
    --background-color: #ffffff;
    --text-color: #1d1d1f;
    --light-gray: #f5f5f7;
    --border-color: #d2d2d7;
    --success-color: #28a745;
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    opacity: 0.9;
}

.logo-text {
    display: none;
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

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

.nav-links a.active {
    color: var(--primary-color);
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: var(--background-color);
        padding: 80px 2rem 2rem;
        flex-direction: column;
        gap: 1.5rem;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .mobile-nav-overlay.active {
        display: block;
    }

    .connect-wallet {
        width: 100%;
        text-align: center;
    }

    .cart-icon {
        position: fixed;
        top: 15px;
        right: 70px;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--background-color) 0%, var(--light-gray) 100%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 2rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #666;
}

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

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.cta-button, .connect-wallet, .add-to-cart {
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    background: var(--primary-color);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover, .connect-wallet:hover, .add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 113, 227, 0.2);
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background-color: var(--background-color);
}

.features h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    text-align: center;
    background: white;
    border-radius: 20px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Products Section */
.featured-products, .products-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.featured-products h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-color);
}

.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.product-description {
    color: var(--secondary-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    text-align: center;
    transition: background 0.3s ease;
}

.product-button:hover {
    background: var(--text-color);
}

/* Products Page Styles */
.products-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.products-section h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: 2.5rem;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

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

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.product-description {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.product-features h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

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

.product-features li {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.product-features li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.add-to-cart {
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

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

@media (max-width: 768px) {
    .products-section {
        padding: 2rem 0;
    }

    .products-section h1 {
        font-size: 2rem;
    }

    .filters {
        padding: 0 1rem;
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 1rem;
    }

    .price {
        font-size: 1.25rem;
    }

    .add-to-cart {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Product Filters */
.product-filters {
    padding: 2rem;
    background: white;
    margin-top: 80px;
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.filter-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
}

/* Web3 Benefits */
.web3-benefits {
    padding: 6rem 2rem;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
}

.benefit-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
    padding: 6rem 2rem;
    background: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

/* Customer Testimonials Section */
.testimonials {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2.5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.testimonial-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.testimonial-info h3 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
}

.testimonial-info p {
    margin: 5px 0 0;
    color: #666;
    font-size: 0.9rem;
}

.testimonial-content {
    color: #444;
    line-height: 1.6;
    font-size: 1rem;
}

.testimonial-rating {
    color: #ffd700;
    margin-top: 15px;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 20px;
    }
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    padding: 4rem 0 0;
}

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

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

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

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .featured-products h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .featured-products-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .product-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Cart Icon */
.cart-icon {
    position: relative;
}

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

/* Cart Styles */
.cart-section {
    padding: 120px 2rem 6rem;
    min-height: calc(100vh - 400px);
    background: var(--light-gray);
}

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

.cart-container h1 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-items {
    background: white;
    border-radius: 20px;
    padding: 2rem;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-cart i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 1rem;
}

.empty-cart h2 {
    margin-bottom: 1rem;
}

.empty-cart p {
    color: #666;
    margin-bottom: 2rem;
}

.cart-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

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

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

.cart-item-details h3 {
    margin-bottom: 0.5rem;
}

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

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-btn {
    background: none;
    border: 1px solid var(--border-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--light-gray);
}

.cart-item-remove {
    color: #dc3545;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

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

.cart-summary {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.cart-summary h2 {
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #666;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.checkout-button,
.crypto-payment-button {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.crypto-payment-button {
    background: #627eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.checkout-button:hover,
.crypto-payment-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.crypto-discount {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.crypto-discount i {
    color: #ffd700;
}

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

    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cart-item img {
        margin: 0 auto;
    }

    .cart-item-quantity {
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 4rem 1rem;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

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

    .nav-links {
        display: none;
    }

    .filter-group {
        width: 100%;
    }

    .logo img {
        height: 40px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.product-card,
.testimonial-card {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Product Detail Page */
.product-detail {
    padding: 4rem 0;
    background: var(--light-gray);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-gallery {
    position: sticky;
    top: 2rem;
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

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

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.thumbnail {
    width: 100%;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.thumbnail.active {
    opacity: 1;
    border: 2px solid var(--primary-color);
}

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

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-status {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stock-status {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
}

.stock-status.in-stock {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.stock-status.out-of-stock {
    background-color: #ffebee;
    color: #c62828;
}

.product-description {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.product-features {
    margin-bottom: 2rem;
}

.product-features h3 {
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.qty-btn {
    padding: 0.5rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
}

.qty-btn:hover {
    background: var(--light-gray);
}

#quantity {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 1rem;
}

.add-to-cart-btn {
    flex-grow: 1;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    background: var(--text-color);
}

.product-meta {
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.specification {
    margin-bottom: 2rem;
}

.specification table {
    width: 100%;
    border-collapse: collapse;
}

.specification th,
.specification td {
    padding: 0.8rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.specification th {
    width: 40%;
    color: var(--secondary-color);
}

.shipping-info ul {
    list-style: none;
    padding: 0;
}

.shipping-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.shipping-info i {
    color: var(--primary-color);
}

/* Related Products Section */
.related-products {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-card h3 {
    margin: 10px 0;
    color: #333;
    font-size: 1.2rem;
}

.product-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.view-details-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.view-details-btn:hover {
    background-color: var(--primary-color-dark);
}

@media (max-width: 768px) {
    .related-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

/* Mobile Header & Footer Improvements */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .logo img {
        height: 35px;
    }

    .mobile-menu-btn {
        margin-left: auto;
        margin-right: 1rem;
    }

    .nav-links {
        padding-top: 100px;
    }

    .cart-icon {
        position: fixed;
        top: 1rem;
        right: 4rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section ul {
        justify-content: center;
    }

    /* Product Detail Mobile Styles */
    .product-detail-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .product-gallery {
        position: relative;
        top: 0;
    }

    .main-image {
        height: 300px;
    }

    .thumbnail {
        height: 60px;
    }

    .product-info h1 {
        font-size: 1.5rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .quantity-selector {
        width: 100%;
        justify-content: center;
    }

    .specification th {
        width: 50%;
    }
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.contact-section h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    color: var(--text-color);
    font-weight: 600;
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-secondary);
    font-size: 1.1em;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.contact-card {
    background: var(--card-background);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.contact-icon {
    font-size: 2.8em;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.contact-card h2 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.6em;
    font-weight: 600;
}

.contact-card h3 {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 1.3em;
    font-weight: 500;
}

.contact-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.contact-email {
    text-align: center;
    margin: 60px auto;
    max-width: 600px;
    padding: 40px;
    background: var(--card-background);
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

.contact-email h2 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: 600;
}

.contact-email a {
    color: var(--primary-color);
    font-size: 1.4em;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-email a:hover {
    color: var(--primary-color-dark);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-background);
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
    font-size: 2em;
    font-weight: 600;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 1.1em;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.1em;
    color: var(--text-color);
    background: var(--input-background);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    display: inline-block;
    width: auto;
    min-width: 200px;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    margin: 20px auto;
    display: block;
}

.submit-btn:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .contact-form {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .contact-section h1 {
        font-size: 2em;
    }

    .contact-email {
        margin: 40px 15px;
        padding: 30px 20px;
    }
}

/* About Page Styles */
.about-section {
    padding: 120px 0 80px;
    background: linear-gradient(to bottom, var(--background-color) 0%, #f8f9fa 100%);
}

.about-section h1 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
    font-size: 3em;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.about-section h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-text {
    margin-bottom: 70px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.25em;
    line-height: 1.8;
    margin-bottom: 25px;
    opacity: 0.9;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.feature-card i {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1);
}

.feature-card h3 {
    color: var(--text-color);
    font-size: 1.6em;
    margin-bottom: 20px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1.1em;
    line-height: 1.7;
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .about-section {
        padding: 100px 0 60px;
    }

    .about-section h1 {
        font-size: 2.5em;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .about-text p {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 80px 0 40px;
    }

    .about-section h1 {
        font-size: 2.2em;
        margin-bottom: 40px;
    }

    .about-text {
        margin-bottom: 50px;
    }

    .about-text p {
        font-size: 1.1em;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .feature-card {
        padding: 35px 25px;
    }

    .feature-card h3 {
        font-size: 1.4em;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 60px 0 30px;
    }

    .about-section h1 {
        font-size: 2em;
        padding-bottom: 15px;
    }

    .about-section h1:after {
        width: 60px;
        height: 3px;
    }

    .feature-card {
        padding: 30px 20px;
    }
}

/* Happy Customers Section */
.happy-customers {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.section-header h2 {
    font-size: 2.8em;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.2em;
    color: var(--text-secondary);
    line-height: 1.6;
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.customer-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

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

.customer-content {
    padding: 30px;
    position: relative;
}

.customer-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.customer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.customer-card:hover .customer-image img {
    transform: scale(1.1);
}

.rating {
    margin-bottom: 20px;
}

.rating i {
    color: #ffd700;
    font-size: 1.2em;
    margin-right: 5px;
}

.rating i:last-child {
    margin-right: 0;
}

.testimonial {
    color: var(--text-secondary);
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
    min-height: 85px;
}

.customer-info {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

.customer-info h3 {
    color: var(--text-color);
    font-size: 1.4em;
    margin-bottom: 8px;
    font-weight: 600;
}

.customer-info span {
    color: var(--text-secondary);
    font-size: 1em;
    opacity: 0.8;
    display: block;
}

@media (max-width: 1200px) {
    .customers-grid {
        gap: 30px;
    }

    .section-header h2 {
        font-size: 2.5em;
    }
}

@media (max-width: 1024px) {
    .customers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .happy-customers {
        padding: 70px 0;
    }

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

    .section-header h2 {
        font-size: 2.2em;
    }

    .customers-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 500px;
    }

    .customer-image {
        width: 100px;
        height: 100px;
    }

    .testimonial {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .happy-customers {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 2em;
    }

    .section-header p {
        font-size: 1.1em;
    }

    .customer-content {
        padding: 25px 20px;
    }

    .customer-info h3 {
        font-size: 1.3em;
    }

    .customer-image {
        width: 90px;
        height: 90px;
    }
}
