/* Home page styles */
.home-container {
    background: #fff;
    min-height: 100vh;
}

/* Hero */
.hero-section {
    padding: 0 0 2rem;
    background: #fff;
}

.hero-slider-wrapper {
    background: #fff;
    overflow: hidden;
}

.hero-feature {
    position: relative;
    width: 100%;
    min-height: 78vh;
    overflow: hidden;
}

.hero-image-full {
    width: 100%;
    height: 78vh;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.35) 42%, rgba(0, 0, 0, 0.08) 72%);
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 620px;
    padding: 1rem 0;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4.2rem);
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 0.8rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.7rem);
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    color: #f5f5f5;
    margin-bottom: 0.8rem;
}

.hero-tagline {
    font-size: 1rem;
    color: #ededed;
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.shop-now-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: #131313;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s ease;
    letter-spacing: 0.2px;
}

.shop-now-btn:hover {
    background: #000;
    transform: translateY(-2px) scale(1.02);
    color: #fff;
}

/* Section headers */
.section-header {
    text-align: center;
    padding: 3rem 0 2rem;
}

.section-title {
    font-size: 2rem;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    color: #333;
    margin: 0;
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Shared containers */
.products-section {
    padding: 0 0 3rem;
}

.products-container,
.products-slider-container {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.products-slider-container {
    position: relative;
}

/* Product cards */
.product-card-modern {
    background: transparent;
    overflow: hidden;
    transition: all 0.3s ease;
    height: auto;
    margin-bottom: 1.5rem;
    position: relative;
}

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

.product-badges-header {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sold-out-badge,
.sale-badge {
    background: #dc3545;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    display: inline-block;
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #fff;
}

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

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

.product-info {
    padding: 1.5rem;
    text-align: center;
    background: transparent;
}

.product-title {
    font-size: 1.7rem;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    color: #333;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.product-title:hover {
    color: #000;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.price-current {
    font-size: 1.25rem;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    color: #333;
}

.price-old {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

/* Sliders */
.products-slider {
    overflow: hidden;
    padding: 0 50px;
    height: auto !important;
}

.products-slider .swiper-wrapper {
    height: auto !important;
    align-items: flex-start;
}

.products-slider .swiper-slide {
    height: auto !important;
}

.slider-nav-prev,
.slider-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.slider-nav-prev:hover,
.slider-nav-next:hover {
    background: #000;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav-prev {
    left: 10px;
}

.slider-nav-next {
    right: 10px;
}

.slider-nav-prev.swiper-button-disabled,
.slider-nav-next.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.view-all-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.view-all-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    transition: all 0.3s;
}

.view-all-btn:hover {
    background: #000;
    transform: translateY(-2px);
    color: #fff;
}

/* Category cards */
.category-card {
    background: transparent;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 1.5rem;
}

.category-card:hover {
    transform: translateY(-3px);
}

.category-image-wrapper {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #fff;
}

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

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

.category-info {
    padding: 1.5rem;
    text-align: center;
    background: transparent;
}

.category-name {
    font-size: 1.25rem;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    color: #333;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.category-name:hover {
    color: #000;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-section {
        padding: 0 0 1.2rem;
    }

    .hero-feature {
        min-height: 58vh;
    }

    .hero-image-full {
        height: 58vh;
    }

    .hero-overlay {
        align-items: flex-end;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.08) 100%);
    }

    .hero-copy {
        text-align: center;
        max-width: 100%;
        padding: 0 0 2rem;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
        line-height: 1.55;
        margin-bottom: 1.2rem;
    }

    .shop-now-btn {
        padding: 0.75rem 1.4rem;
        font-size: 0.9rem;
    }

    .section-header {
        padding: 2rem 0 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .products-section {
        padding: 0 0 2rem;
    }

    .product-card-modern {
        margin-bottom: 1rem;
    }

    .product-image-wrapper,
    .category-image-wrapper {
        aspect-ratio: 3 / 4;
    }

    .product-info {
        padding: 1rem;
    }

    .product-title {
        font-size: 1rem;
        -webkit-line-clamp: 1;
    }

    .price-current {
        font-size: 1.1rem;
    }

    .price-old {
        font-size: 0.9rem;
    }

    .products-slider {
        padding: 0 35px;
    }

    .slider-nav-prev,
    .slider-nav-next {
        top: 38%;
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .slider-nav-prev {
        left: 5px;
    }

    .slider-nav-next {
        right: 5px;
    }

    .view-all-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-feature {
        min-height: 50vh;
    }

    .hero-image-full {
        height: 50vh;
    }
}

@media (max-width: 414px) {
    .hero-feature {
        min-height: 46vh;
    }

    .hero-image-full {
        height: 46vh;
    }
}
