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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */

.header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    text-transform: lowercase;
    letter-spacing: -0.5px;
}

.logo-tagline {
    font-size: 0.8rem;
    color: #FF6B9D;
    font-weight: 400;
    display: block;
    margin-top: -5px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #FF6B9D;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #FF6B9D;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-btn,
.cart-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.search-btn:hover,
.cart-btn:hover {
    background: #f8f9fa;
    color: #FF6B9D;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF6B9D;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: #333;
    margin: 2px 0;
    transition: 0.3s;
}

/* Promo Banner */

.promo-banner {
    background: linear-gradient(135deg, #FF6B9D, #4ECDC4);
    color: white;
    padding: 1rem 0;
    text-align: center;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.promo-text {
    font-weight: 500;
}

.promo-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Main Content */

.main {
    padding: 2rem 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #FF6B9D;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* Filters Sidebar */

.filters-sidebar {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.color-filters {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.color-filter {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.color-filter input {
    display: none;
}

.color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
}

.color-swatch.pastel {
    background: linear-gradient(45deg, #FFB6C1, #E6E6FA, #98FB98);
}

.color-swatch.black {
    background: #333;
}

.color-swatch.gold {
    background: linear-gradient(45deg, #FFD700, #FFA500);
}

.color-filter input:checked+.color-swatch {
    border-color: #FF6B9D;
    box-shadow: 0 0 0 2px rgba(255, 107, 157, 0.3);
}

.checkbox-filters {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.checkbox-filters label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-filters input {
    accent-color: #FF6B9D;
}

.price-filter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#price-range {
    width: 100%;
    accent-color: #FF6B9D;
}

.price-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
}

#current-price {
    color: #FF6B9D;
    font-weight: 600;
}

.rating-filters {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.rating-filter {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
}

.rating-filter input {
    accent-color: #FF6B9D;
}

.stars {
    color: #FFC107;
    font-size: 0.9rem;
}

/* Products Section */

.products-section {
    flex: 1;
}

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

.sort-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

#sort-select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    font-size: 0.9rem;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active,
.view-btn:hover {
    background: #FF6B9D;
    color: white;
    border-color: #FF6B9D;
}

/* Products Grid */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

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

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.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-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #FF6B9D;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-badge.bestseller {
    background: #4ECDC4;
}

.product-info {
    padding: 1.25rem;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FF6B9D;
    margin-bottom: 1rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.product-rating .stars {
    color: #FFC107;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.add-to-cart,
.view-details {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.add-to-cart {
    background: #FF6B9D;
    color: white;
}

.add-to-cart:hover {
    background: #e55a87;
    transform: translateY(-1px);
}

.view-details {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.view-details:hover {
    background: #e9ecef;
}

/* Pagination */

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-btn:hover,
.page-btn.active {
    background: #FF6B9D;
    color: white;
    border-color: #FF6B9D;
}

/* Testimonials */

.testimonials {
    background: #f8f9fa;
    padding: 4rem 0;
    margin-top: 4rem;
}

.testimonials h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-card .stars {
    color: #FFC107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.customer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

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

.customer span {
    font-weight: 600;
    color: #333;
}

/* CTA Section */

.cta-section {
    background: linear-gradient(135deg, #FF6B9D, #4ECDC4);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-btn {
    background: white;
    color: #FF6B9D;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */

.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FF6B9D;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

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

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

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

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

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

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

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
}

/* Cart Sidebar */

.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: white;
    z-index: 1000;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

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

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.cart-items {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    color: #666;
    padding: 2rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

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

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: #FF6B9D;
    font-weight: 600;
}

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

.quantity-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
}

.cart-total {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.checkout-btn {
    width: 100%;
    background: #FF6B9D;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.checkout-btn:hover {
    background: #e55a87;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    .header-content {
        padding: 0.75rem 0;
    }
    .logo h1 {
        font-size: 1.4rem;
    }
    .nav {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .shop-layout {
        grid-template-columns: 1fr;
    }
    .filters-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    .products-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    .view-toggle {
        justify-content: center;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .cta-content h2 {
        font-size: 1.8rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .cart-sidebar {
        width: 100vw;
        right: -100vw;
    }
    .pagination {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    .page-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .product-actions {
        flex-direction: column;
    }
    .promo-content {
        flex-direction: column;
        text-align: center;
    }
    .promo-text {
        font-size: 0.9rem;
    }
}

/* Smooth scrolling */

html {
    scroll-behavior: smooth;
}

/* Loading animation */

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

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

/* Hover effects */

.product-card,
.testimonial-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Focus styles for accessibility */

button:focus,
input:focus,
select:focus {
    outline: 2px solid #FF6B9D;
    outline-offset: 2px;
}

/* Custom scrollbar */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #FF6B9D;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e55a87;
}