@import url('https://fonts.cdnfonts.com/css/beatrice-display-trial');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Beatrice Display Trial', sans-serif;
    background-color: #f8f9fa;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Smooth transitions for all elements */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Main Content */
main {
    margin-top: 0;
}

/* Search Section */
.search-section {
    background-color: #f0f0f0;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

/* Category Navigation */
.category-nav {
    margin-bottom: 32px;
}

.category-list {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.category-link {
    display: block;
    padding: 12px 0;
    margin-right: 32px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.category-link:hover {
    color: #666;
}

.category-link.active {
    color: #333;
}

.category-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #333;
}

/* Search Bar */
.search-bar-container {
    max-width: 400px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #d0d0d0;
    border-radius: 8px;
    padding: 12px 16px;
    transition: background-color 0.3s ease;
}

.search-input-wrapper:focus-within {
    background-color: #c8c8c8;
}

.search-icon {
    color: #666;
    margin-right: 12px;
    flex-shrink: 0;
}

.search-input {
    border: none;
    background: none;
    outline: none;
    flex: 1;
    font-size: 16px;
    color: #333;
    font-weight: 400;
}

    .search-input::placeholder {
        color: #666;
        font-weight: 400;
    }

    /* Hero Section */
    .hero-section {
        background-color: #f0f0f0;
        padding: 80px 0;
        min-height: 600px;
        display: flex;
        align-items: center;
    }

    .hero-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px;
        width: 100%;
    }

    .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: center;
    }

    /* Hero Text */
    .hero-text {
        z-index: 2;
    }

    .hero-title {
        font-size: 4rem;
        font-weight: 900;
        line-height: 0.9;
        margin-bottom: 24px;
        color: #333;
    }

    .title-new {
        display: block;
        font-size: 4rem;
    }

    .title-collection {
        display: block;
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        color: #666;
        margin-bottom: 0;
        line-height: 1.4;
        font-weight: 400;
    }

    /* Hero Slider */
    .hero-slider {
        position: relative;
        width: 100%;
        max-width: 600px;
        margin-left: auto;
    }

    .slider-container {
        position: relative;
        width: 100%;
        height: 500px;
        overflow: hidden;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        margin-bottom: 24px;
    }

    .slider-track {
        display: flex;
        width: 300%;
        height: 100%;
        transition: transform 0.5s ease;
    }

    .slide-pair {
        width: 33.333%;
        height: 100%;
        flex-shrink: 0;
        display: flex;
        gap: 12px;
        padding: 0 6px;
    }

    .slide-pair .slide-image {
        width: 50%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        border-radius: 8px;
        background-color: #f5f5f5;
    }

    /* Updated slide structure for product pairs */
    .slide {
        display: flex;
        gap: 12px;
        width: 100%;
        height: 100%;
    }

    .slide-product {
        flex: 1;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .slide-product img {
        width: 100%;
        height: calc(100% - 80px);
        object-fit: cover;
        object-position: center;
        border-radius: 8px;
        background-color: #f5f5f5;
    }

    .slide-product-info {
        padding: 12px 8px;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.95);
        border-radius: 0 0 8px 8px;
        backdrop-filter: blur(10px);
    }

    .slide-product-title {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        margin-bottom: 4px;
        line-height: 1.3;
    }

    .slide-product-price {
        font-size: 16px;
        font-weight: 700;
        color: #000;
        margin: 0;
    }

    /* Dark mode styles for slide products */
    body.dark-mode .slide-product-info {
        background-color: rgba(45, 45, 45, 0.95);
    }

    body.dark-mode .slide-product-title {
        color: #ffffff;
    }

    body.dark-mode .slide-product-price {
        color: #ffffff;
    }

    /* Slider Controls */
    .slider-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .slider-navigation {
        display: flex;
        gap: 12px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        background-color: rgba(208, 208, 208, 0.9);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        color: #333;
    }

    .nav-btn:hover {
        background-color: rgba(192, 192, 192, 1);
        transform: scale(1.1);
    }

    .nav-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none;
    }

    /* Slider Indicators */
    .slider-indicators {
        display: flex;
        gap: 8px;
    }

    .indicator {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: none;
        background-color: rgba(208, 208, 208, 0.5);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .indicator.active {
        background-color: rgba(51, 51, 51, 1);
        transform: scale(1.2);
    }

    .indicator:hover {
        background-color: rgba(51, 51, 51, 0.7);
    }

    /* Responsive Hero Section */
    @media (max-width: 768px) {
        .hero-section {
            padding: 60px 0;
            min-height: 500px;
        }
        
        .hero-container {
            padding: 0 16px;
        }
        
        .hero-content {
            grid-template-columns: 1fr;
            gap: 40px;
            text-align: center;
        }
        
        .hero-title {
            font-size: 2.5rem;
        }
        
        .title-new,
        .title-collection {
            font-size: 2.5rem;
        }
        
        .hero-subtitle {
            font-size: 1.2rem;
            margin-bottom: 0;
        }
        
        .hero-slider {
            max-width: 100%;
        }
        
        .slider-container {
            height: 400px;
            margin-bottom: 20px;
        }
        
        .slide-pair {
            gap: 8px;
            padding: 0 4px;
        }

        .slide-product img {
            height: calc(100% - 60px);
        }

        .slide-product-info {
            padding: 8px 4px;
        }

        .slide-product-title {
            font-size: 12px;
            margin-bottom: 2px;
        }

        .slide-product-price {
            font-size: 14px;
        }
        
        .slider-controls {
            flex-direction: column;
            gap: 16px;
            align-items: center;
        }
        
        .nav-btn {
            width: 36px;
            height: 36px;
        }
    }

    @media (max-width: 480px) {
        .hero-title {
            font-size: 2rem;
        }
        
        .title-new,
        .title-collection {
            font-size: 2rem;
        }
        
        .slider-container {
            height: 300px;
        }

        .slide-product img {
            height: calc(100% - 50px);
        }

        .slide-product-info {
            padding: 6px 2px;
        }

        .slide-product-title {
            font-size: 11px;
            margin-bottom: 1px;
        }

        .slide-product-price {
            font-size: 13px;
        }
        
        .slide-pair {
            gap: 6px;
            padding: 0 3px;
        }
        
        .nav-btn {
            width: 32px;
            height: 32px;
        }
        
        .indicator {
            width: 10px;
            height: 10px;
        }
    }

/* New This Week Section */
.new-week-section {
    background-color: #f5f5f5;
    padding: 80px 0;
}

.new-week-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    color: #000;
    text-transform: uppercase;
    position: relative;
}

.product-count {
    color: #0066cc;
    font-size: 24px;
    margin-left: 8px;
}

.see-all-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.see-all-btn:hover {
    color: #000;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.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);
}

.add-to-cart-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card:hover .add-to-cart-btn {
    opacity: 1;
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.product-info {
    padding: 20px;
}

.product-category {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

/* Products Slider Styles */
.products-slider {
    margin-bottom: 40px;
}

.products-slider-container {
    overflow: hidden;
    border-radius: 8px;
}

.products-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.3s ease;
    will-change: transform;
}

.products-slider .product-card {
    flex: 0 0 calc(25% - 18px);
    min-width: 280px;
}

/* Responsive products slider */
@media (max-width: 1200px) {
    .products-slider .product-card {
        flex: 0 0 calc(33.333% - 16px);
    }
}

@media (max-width: 768px) {
    .products-slider .product-card {
        flex: 0 0 calc(50% - 12px);
        min-width: 240px;
    }
    
    .products-slider-track {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .products-slider .product-card {
        flex: 0 0 calc(100% - 0px);
        min-width: 280px;
    }
    
    .products-slider-track {
        gap: 12px;
    }
}

.navigation-arrows {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.nav-arrow {
    width: 48px;
    height: 48px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Design for New Week Section */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .section-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .new-week-section {
        padding: 60px 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .product-image {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .new-week-container {
        padding: 0 16px;
    }
}

/* XIV Collections Section */
.collections-section {
    background-color: #ffffff;
    padding: 80px 0;
}

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

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

.collections-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 0;
}

.collections-year {
    font-size: 48px;
    font-weight: 900;
    color: #000;
}

.collections-categories {
    margin-bottom: 40px;
}

.collections-nav {
    margin: 0;
}

.collections-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.collections-link {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    color: #999;
    font-weight: 400;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.collections-link:hover {
    color: #333;
}

.collections-link.active {
    color: #000;
    font-weight: 600;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    transition: all 0.5s ease;
}

.collections-grid.expanded {
    /* Allow for 3 rows of 3 items each */
    min-height: auto;
}

.collection-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.collection-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.collection-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    background-color: #f8f8f8;
}

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

.collection-card:hover .collection-image img {
    transform: scale(1.02);
}

.add-to-collection-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.collection-card:hover .add-to-collection-btn {
    opacity: 1;
    transform: scale(1.1);
}

.collection-info {
    padding: 20px 16px;
    text-align: left;
}

.collection-category {
    color: #999;
    font-size: 14px;
    margin-bottom: 8px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.collection-name {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.3;
}

.collection-price {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.hidden-item {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.collections-grid.expanded .hidden-item {
    display: block;
    animation: fadeInUp 0.6s ease forwards;
}

/* Staggered animation for better visual effect */
.collections-grid.expanded .hidden-item:nth-child(4) {
    animation-delay: 0.1s;
}

.collections-grid.expanded .hidden-item:nth-child(5) {
    animation-delay: 0.2s;
}

.collections-grid.expanded .hidden-item:nth-child(6) {
    animation-delay: 0.3s;
}

.collections-grid.expanded .hidden-item:nth-child(7) {
    animation-delay: 0.4s;
}

.collections-grid.expanded .hidden-item:nth-child(8) {
    animation-delay: 0.5s;
}

.collections-grid.expanded .hidden-item:nth-child(9) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.more-button-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.more-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 24px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.more-btn:hover {
    background-color: #f5f5f5;
    color: #000;
}

.more-arrow {
    transition: transform 0.3s ease;
}

.more-btn.expanded .more-arrow {
    transform: rotate(180deg);
}

/* Responsive Design for Collections Section */
@media (max-width: 1024px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .collections-title {
        font-size: 40px;
    }
    
    .collections-year {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .collections-section {
        padding: 60px 0;
    }
    
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .collections-list {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .collections-title {
        font-size: 32px;
    }
    
    .collections-year {
        font-size: 32px;
    }
    
    .collection-image {
        height: 320px;
    }
}

@media (max-width: 480px) {
    .collections-title {
        font-size: 28px;
    }
    
    .collections-year {
        font-size: 28px;
    }
    
    .collections-container {
        padding: 0 16px;
    }
    
    .collections-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .collection-image {
        height: 280px;
    }
}

/* Our Approach to Fashion Design Section */
.approach-section {
    background-color: #f8f9fa;
    padding: 100px 0;
}

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

.approach-header {
    text-align: center;
    margin-bottom: 80px;
}

.approach-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
    line-height: 1.2;
}

.approach-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

.approach-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    height: 600px;
}

.gallery-left {
    display: flex;
    flex-direction: column;
}

.gallery-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.large {
    height: 100%;
    border: 3px solid #4a90e2;
}

.gallery-item.medium {
    height: 400px;
}

.gallery-item.tall {
    height: 370px;
}

.gallery-item.wide {
    height: 210px;
}

/* Responsive Design for Approach Section */
@media (max-width: 1024px) {
    .approach-gallery {
        grid-template-columns: 1fr 1fr;
        height: auto;
        gap: 16px;
    }
    
    .gallery-right {
        grid-column: 1 / -1;
        flex-direction: row;
    }
    
    .gallery-item.tall,
    .gallery-item.wide {
        height: 300px;
        flex: 1;
    }
    
    .gallery-item.large {
        height: 400px;
    }
    
    .gallery-item.medium {
        height: 400px;
    }
    
    .approach-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .approach-section {
        padding: 60px 0;
    }
    
    .approach-header {
        margin-bottom: 60px;
    }
    
    .approach-gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .gallery-right {
        flex-direction: column;
    }
    
    .gallery-item.large,
    .gallery-item.medium,
    .gallery-item.tall,
    .gallery-item.wide {
        height: 300px;
    }
    
    .approach-title {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .approach-description {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .approach-description br {
        display: none;
    }
}

@media (max-width: 480px) {
    .approach-container {
        padding: 0 16px;
    }
    
    .approach-title {
        font-size: 24px;
    }
    
    .approach-description {
        font-size: 14px;
    }
    
    .gallery-item.large,
    .gallery-item.medium,
    .gallery-item.tall,
    .gallery-item.wide {
        height: 250px;
    }
}

/* Content Sections */
.content-section {
    padding: 60px 0;
    min-height: 400px;
}

.content-section:nth-child(even) {
    background-color: #ffffff;
}

.content-section:nth-child(odd) {
    background-color: #f8f9fa;
}

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

.content-section h2 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.content-section p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Category Products Grid */
.category-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.category-product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.category-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.category-product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.category-product-info {
    padding: 20px;
}

.category-product-category {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    text-transform: capitalize;
}

.category-product-name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.category-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    color: #666;
}

/* Responsive Design for Content Sections */
@media (max-width: 768px) {
    .search-section {
        padding: 24px 0;
    }
    
    .search-container {
        padding: 0 16px;
    }
    
    .category-nav {
        margin-bottom: 24px;
    }
    
    .category-link {
        margin-right: 24px;
        font-size: 14px;
    }
    
    .search-bar-container {
        max-width: 100%;
    }
    
    .search-input-wrapper {
        padding: 10px 14px;
    }
    
    .section-container {
        padding: 0 16px;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .content-section h2 {
        font-size: 24px;
    }
}

/* Navigation Styles */
header {
    background-color: #e8e9ea;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Section */
.nav-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Essential button styles */
.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px;
}

.hamburger-btn span {
    width: 20px;
    height: 2px;
    background-color: #333;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.hamburger-btn:hover span {
    background-color: #666;
}

.theme-toggle-btn {
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    position: relative;
}

.theme-toggle-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.theme-toggle-btn svg {
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Default state: Light mode - show moon icon (to switch to dark) */
.theme-toggle-btn .sun-icon,
.theme-toggle-btn .sun-icon-mobile {
    display: none;
}

.theme-toggle-btn .moon-icon,
.theme-toggle-btn .moon-icon-mobile {
    display: block;
}

/* Dark mode state: Show sun icon (to switch back to light) */
.theme-toggle-btn[data-theme="dark"] .sun-icon,
.theme-toggle-btn[data-theme="dark"] .sun-icon-mobile {
    display: block;
}

.theme-toggle-btn[data-theme="dark"] .moon-icon,
.theme-toggle-btn[data-theme="dark"] .moon-icon-mobile {
    display: none;
}

.theme-toggle-btn:active {
    transform: scale(0.95);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #666;
}

/* Center Section */
.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-rect {
    width: 12px;
    height: 20px;
    background-color: #333;
    border-radius: 2px;
}

.logo-rect:first-child {
    height: 16px;
}

.logo-rect:last-child {
    height: 24px;
}

/* Right Section */
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-btn, .cart-btn, .profile-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    color: #333;
}

.search-btn:hover, .cart-btn:hover, .profile-btn:hover {
    background-color: rgba(51, 51, 51, 0.1);
}

.cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #333;
    color: white;
    font-size: 11px;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
}

/* Main Content */

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 16px;
        position: relative;
    }
    
    .nav-left {
        gap: 16px;
    }
    
    .nav-right {
        gap: 12px;
    }
}

/* Footer Styles */
.footer {
    background-color: #e8e9ea;
    padding: 80px 0 40px;
    margin-top: 0;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 14px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-link {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-link:hover {
    color: #333;
}

/* Social Media Section */
.social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    color: #666;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.social-link:hover {
    background-color: #333;
    color: #fff;
    border-color: #333;
    transform: translateY(-2px);
}

/* Footer Logo Section */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.brand-icon {
    margin-bottom: 16px;
    color: #333;
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-name {
    font-size: 48px;
    font-weight: 900;
    color: #000;
    line-height: 0.9;
    letter-spacing: -2px;
}

.brand-sub {
    font-size: 48px;
    font-weight: 900;
    color: #000;
    line-height: 0.9;
    letter-spacing: -2px;
}

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

.tech-label {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.tech-description {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 32px;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.footer-privacy {
    margin: 0;
}

.privacy-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #333;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        gap: 60px;
    }
    
    .brand-name,
    .brand-sub {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 32px;
    }
    
    .footer-container {
        padding: 0 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-section {
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-copyright {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .brand-name,
    .brand-sub {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 32px;
    }
    
    .social-icons {
        gap: 12px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .brand-name,
    .brand-sub {
        font-size: 32px;
    }
}

/* Dynamic Category Sections */
.category-section {
    padding: 60px 0;
    transition: background-color 0.3s ease;
}

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

.category-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.category-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    text-transform: capitalize;
}

.category-section .product-count {
    font-size: 1rem;
    color: #666;
    background: #f0f0f0;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
}

.category-section .see-all-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.category-section .see-all-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

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

/* Dark mode styles for category sections */
body.dark-mode .category-section {
    background-color: #1a1a1a !important;
}

body.dark-mode .category-section .section-title {
    color: #ffffff;
}

body.dark-mode .category-section .product-count {
    background: #333;
    color: #ccc;
}

body.dark-mode .category-section .section-header {
    border-bottom-color: #444;
}

body.dark-mode .category-section .see-all-btn {
    background: #0d6efd;
}

body.dark-mode .category-section .see-all-btn:hover {
    background: #0b5ed7;
}

body.dark-mode .slide-product img {
    background-color: #4d4a4a;
}

body.dark-mode .collection-image img{
    background-color: #4d4a4a;
}


/* Responsive design for category sections */
@media (max-width: 768px) {
    .category-section {
        padding: 40px 0;
    }
    
    .category-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .category-section .section-title {
        font-size: 2rem;
    }
    
    .category-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .category-section .see-all-btn {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .category-products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-section .section-title {
        font-size: 1.8rem;
    }
}