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

:root {
    --primary-color: #2c3e50;    /* Deep navy */
    --secondary-color: #e74c3c;  /* Coral red */
    --accent-color: #3498db;     /* Sky blue */
    --text-color: #2c3e50;
    --background-color: #f9f9f9;
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Products Grid */
.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.product-card {
    width: 100%;
    min-width: 280px; /* Set minimum width */
    background: white;
    border-radius: 15px;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
}

.product-card .product-info {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 0.8rem 0;
    font-weight: 600;
}

.product-card .price {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin: 0.5rem 0;
}

.product-card button {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

/* Footer Styles */
footer {
    background: var(--primary-color);
    padding: 5rem 0 2rem;
}

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

.footer-section h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Content Container Styles */
.content-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.content-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

/* Privacy Policy Styles */
.policy-content section {
    margin-bottom: 2rem;
}

.policy-content h2 {
    color: #444;
    margin-bottom: 1rem;
}

.policy-content ul {
    margin-left: 2rem;
}

/* Contact Page Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.contact-methods {
    margin: 2rem 0;
    display: grid;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateX(10px);
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    padding: 1rem;
    background: white;
    border-radius: 50%;
}

.contact-method h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-method span {
    color: #666;
    font-size: 0.9rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
    outline: none;
}

.submit-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

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

    .contact-method {
        padding: 0.8rem;
    }

    .contact-method i {
        padding: 0.8rem;
        font-size: 1.2rem;
    }
}

/* Terms Page Styles */
.terms-content section {
    margin-bottom: 2rem;
}

.terms-content h2 {
    color: #444;
    margin-bottom: 1rem;
}

/* Thank You Page Styles */
.thank-you-container {
    text-align: center;
    padding: 4rem 2rem;
    background-color: white;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    max-width: 800px;
    margin: 4rem auto;
}

.thank-you-icon {
    font-size: 5rem;
    color: #2ecc71;
    margin-bottom: 2rem;
    animation: scaleIn 0.5s ease;
}

.thank-you-container h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.order-message {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.order-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.order-details span {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.next-steps {
    text-align: left;
    max-width: 500px;
    margin: 2rem auto;
}

.next-steps h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.next-steps ul {
    list-style: none;
}

.next-steps li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.next-steps li:hover {
    transform: translateX(10px);
}

.next-steps li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.home-button {
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.home-button.secondary {
    background-color: #f8f9fa;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.home-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .thank-you-container {
        margin: 2rem 1rem;
        padding: 2rem 1rem;
    }

    .thank-you-container h1 {
        font-size: 2rem;
    }

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

    .home-button {
        width: 100%;
        text-align: center;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hamburger {
        display: flex;
        z-index: 100;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: white;
        flex-direction: column;
        padding: 80px 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links li a {
        display: block;
        padding: 0.5rem 1rem;
        color: var(--primary-color);
        text-decoration: none;
        transition: background-color 0.3s ease;
    }
    
    .nav-links li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* Prevent scrolling when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    .products-container {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 1.5rem;
        overflow-x: auto; /* Allow horizontal scroll on small screens */
    }

    .navbar {
        padding: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links li a {
        padding: 0.6rem 1rem;
    }

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

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

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

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

@media (max-width: 480px) {
    .products-container {
        grid-template-columns: repeat(1, minmax(280px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }
}

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

.product-card {
    animation: fadeIn 0.5s ease-out;
}

/* Hero Section */
.hero-section {
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('https://images.unsplash.com/photo-1514327605112-b887c0e61c0a?w=1600') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 4rem;
    border-radius: 15px;
    text-align: center;
    max-width: 800px;
    animation: fadeIn 1s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    animation: fadeInUp 1.2s ease;
    margin-top: 2rem;
}

.cta-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Features Section - Fix distribution */
.features-section {
    margin: -50px auto 4rem;
    position: relative;
    z-index: 10;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin-top: 2rem;
}

.feature {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.feature h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Additional Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .features-section {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }
}

/* Product Detail Page Styles */
.product-detail-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.breadcrumb {
    padding: 1rem 0;
    margin-bottom: 2rem;
    color: #666;
}

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

.breadcrumb .current-page {
    color: var(--secondary-color);
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: start;
}

.product-detail-image {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.product-detail-info {
    padding: 1rem 0;
    height: fit-content;
}

.product-info {
    padding: 1rem 0;
}

.product-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.product-price {
    font-size: 2rem;
    color: var(--secondary-color);
    margin: 1rem 0;
    font-weight: 700;
}

.size-selector {
    margin: 2rem 0;
}

.size-options {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.size-option {
    padding: 0.8rem 1.5rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-option.active {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: white;
}

.add-to-cart {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.add-to-cart:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Product Tabs */
.product-tabs {
    margin: 4rem 0;
    background: white;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 15px 15px 0 0;
}

.tab-btn {
    padding: 1rem 2rem;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    position: relative;
    transition: all 0.3s ease;
}

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

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
}

.tab-panels {
    padding: 2rem;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Tab Panel Content Styling */
.product-features-list {
    list-style: none;
    margin: 1.5rem 0;
}

.product-features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.product-features-list li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.spec-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.spec-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.spec-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.care-instructions {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.care-step {
    display: flex;
    gap: 1.5rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    align-items: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Reviews Section */
.reviews-container {
    padding: 2rem 0;
}

.review-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--card-shadow);
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* Review Photos Styles */
.review-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.review-photos img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
    }

    .product-detail-image {
        height: 400px;
    }

    .tab-buttons {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .specs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .care-step {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .step-number {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .product-detail-image {
        height: 300px;
    }
}

/* Add floating animation to features */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.feature {
    animation: float 6s ease-in-out infinite;
}

.feature:nth-child(2) {
    animation-delay: 2s;
}

.feature:nth-child(3) {
    animation-delay: 4s;
}

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Trending Section Styles */
.trending-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.trending-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.trending-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.trending-image {
    position: relative;
    height: 250px;
}

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

.trending-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.trending-content {
    padding: 1.5rem;
    text-align: center;
}

.trending-content h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.trending-content .price {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.trending-content button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trending-content button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.prev-btn, .next-btn {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: var(--secondary-color);
    color: white;
}

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trending-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .trending-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-container {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 1.5rem;
        overflow-x: auto; /* Allow horizontal scroll on small screens */
    }
}

@media (max-width: 480px) {
    .trending-wrapper {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Detail Page Specific Styles */
.breadcrumb {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem 2rem;
    color: #666;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    margin-bottom: 4rem;
}

.product-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 1rem;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    color: white;
}

.badge.new {
    background: var(--secondary-color);
}

.badge.warranty {
    background: var(--primary-color);
}

.product-detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.stars {
    color: #ffd700;
}

.rating-count {
    color: #666;
    font-size: 0.9rem;
}

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

.current-price {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: bold;
}

.original-price {
    color: #666;
    text-decoration: line-through;
}

.discount {
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.feature-item i {
    color: var(--secondary-color);
}

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

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 25px;
    overflow: hidden;
}

.qty-btn {
    background: none;
    border: none;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #f5f5f5;
}

.quantity-selector input {
    width: 50px;
    border: none;
    text-align: center;
    font-size: 1.1rem;
}

.add-to-cart-btn, .buy-now-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

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

.add-to-cart-btn:hover, .buy-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Similar Products Section */
.similar-products-section {
    margin-top: 4rem;
}

@media (max-width: 992px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

@media (max-width: 768px) {
    .product-features {
        grid-template-columns: 1fr;
    }
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

.benefit-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Customer Reviews Section */
.testimonials-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
}

.author-info h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-location {
    color: #666;
    font-size: 0.9rem;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #00b894;
    font-size: 0.9rem;
}

.verified-badge i {
    font-size: 1.1rem;
}

.testimonial-rating {
    margin-bottom: 1rem;
    color: #ffd700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.rating-text {
    color: #666;
    margin-left: 0.5rem;
    font-weight: bold;
}

.testimonial-text {
    color: #444;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
}

.purchase-info {
    color: var(--primary-color);
    font-weight: 500;
}

.review-date {
    color: #666;
}

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

    .testimonial-card {
        padding: 1.5rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    gap: 1rem;
    margin: 2rem auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

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

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

    .faq-question {
        padding: 1rem;
    }

    .faq-answer {
        padding: 0 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 1rem;
    }
}

/* Update search bar */
.search-container {
    position: relative;
    margin-top: -30px;
    padding: 0 2rem;
    z-index: 10;
}

.search-bar {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 1rem;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1rem;
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    outline: none;
}

.search-bar button {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.search-bar button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Add new section styles */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
}

.collection-card {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
}

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

.collection-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

/* Add responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .search-bar {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .search-bar button {
        width: 100%;
    }
    
    .collection-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card img {
        height: 280px;
    }
}

/* Add Categories Section */
.categories-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.category-card {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.category-card:hover .category-content {
    transform: translateY(0);
}

/* Update Products Grid */
.products-section {
    padding: 6rem 2rem;
    background: white;
}

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

/* Add Collection Showcase */
.collection-showcase {
    padding: 6rem 2rem;
    background: var(--primary-color);
    color: white;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-content {
    padding: 2rem;
}

.showcase-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.showcase-image {
    position: relative;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
}

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

/* Update Trending Section */
.trending-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.trending-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trending-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .features-section {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }
    
    .trending-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-container {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 1.5rem;
        overflow-x: auto; /* Allow horizontal scroll on small screens */
    }
}

@media (max-width: 480px) {
    .trending-wrapper {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
} 