/* Homepage Styles - Minified */
.categories-section {
    padding: 2rem 0 !important
}

.category-card-modern {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all .3s ease
}

.category-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12)
}

.category-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px
}

.category-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease
}

.category-card-modern:hover .category-image-wrapper img {
    transform: scale(1.05)
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    transition: all .3s ease
}

.category-card-modern:hover .category-overlay {
    background: linear-gradient(to top, rgba(101, 45, 44, 0.85) 0%, rgba(101, 45, 44, 0.4) 60%, rgba(0, 0, 0, 0.1) 100%)
}

.category-content h3 {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: .25rem
}

.category-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: .85rem;
    margin-bottom: .5rem
}

.shop-now-btn {
    display: inline-block;
    color: #fff;
    font-weight: 500;
    font-size: .8rem;
    padding: .4rem .9rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    transition: all .25s ease;
    border: 1px solid rgba(255, 255, 255, 0.25)
}

.category-card-modern:hover .shop-now-btn {
    background: #fff;
    color: var(--color-primary)
}

.product-card .product-image-wrapper {
    position: relative
}

.product-card .card-img-top {
    aspect-ratio: 3/4;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block
}

.product-card .wishlist-icon-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #e11d48;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 10
}

.product-card .wishlist-icon-btn:hover,
.product-card .wishlist-icon-btn.active {
    background: #e11d48;
    color: #fff
}

.product-card .wishlist-icon-btn i {
    font-size: .9rem
}

.product-card .card-body {
    padding: .75rem
}

.product-card .badge-custom {
    font-size: .65rem;
    padding: .2rem .5rem
}

.product-card .product-name {
    font-size: .85rem;
    font-weight: 500;
    margin-bottom: .25rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.product-card .product-name a {
    color: #333
}

.product-card .product-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: .5rem
}

.product-card .btn {
    padding: .5rem .75rem;
    font-size: .8rem
}

.products-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1rem
}

.slider-nav-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    border: 1.5px solid #652d2c;
    background: #fff;
    color: #652d2c;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
    font-size: 1rem;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08)
}

.slider-nav-btn:hover {
    background: #652d2c;
    color: #fff
}

.slider-nav-left {
    margin-right: -18px
}

.slider-nav-right {
    margin-left: -18px
}

.products-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: .25rem 0;
    flex: 1
}

.products-slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: .5rem;
    cursor: grab;
    user-select: none
}

.products-slider::-webkit-scrollbar {
    display: none
}

.product-slide {
    flex: 0 0 calc(20% - 0.8rem);
    min-width: 180px;
    max-width: 220px
}

.product-slide .product-card {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    transition: all .25s ease;
    border: 1px solid #f0f0f0
}

.product-slide .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1)
}

.features-section {
    padding: 1.5rem 0 !important;
    background: #fff !important
}

.features-section .row {
    margin: 0
}

.features-section .col-md-3 {
    padding: .75rem
}

.feature-icon {
    margin-bottom: .5rem !important
}

.feature-icon i {
    font-size: 1.75rem !important;
    transition: all .2s ease
}

.features-section h5 {
    font-size: .9rem;
    margin-bottom: .25rem
}

.features-section p {
    font-size: .8rem;
    margin-bottom: 0
}

.section-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem
}

.featured-products,
.latest-products {
    padding: 1.5rem 0 !important
}

@media(max-width:968px) {
    .categories-section .row {
        gap: .75rem
    }

    .category-image-wrapper {
        height: 220px
    }

    .category-content h3 {
        font-size: 1.15rem
    }

    .category-content p {
        font-size: .75rem
    }

    .products-slider-container {
        gap: 0;
        margin-top: .75rem
    }

    .slider-nav-btn {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: .9rem;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 100
    }

    .slider-nav-left {
        left: 5px;
        margin-right: 0
    }

    .slider-nav-right {
        right: 5px;
        margin-left: 0
    }

    .products-slider-wrapper {
        width: 100%;
        padding: 0 .25rem
    }

    .product-slide {
        flex: 0 0 calc(50% - 0.5rem);
        min-width: calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem)
    }

    .products-slider {
        gap: .75rem
    }

    .section-title {
        font-size: 1.15rem;
        margin-bottom: .5rem
    }

    .featured-products,
    .latest-products {
        padding: 1.25rem 0 !important
    }

    .features-section .row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: .75rem
    }

    .features-section .col-md-3 {
        max-width: 100%;
        padding: .5rem
    }

    .feature-icon i {
        font-size: 1.5rem !important
    }

    .features-section h5 {
        font-size: .8rem
    }

    .features-section p {
        font-size: .7rem
    }
}

@media(max-width:576px) {
    .container {
        padding-left: .75rem;
        padding-right: .75rem
    }

    .product-card .card-body {
        padding: .5rem
    }

    .product-card .product-name {
        font-size: .75rem
    }

    .product-card .product-price {
        font-size: .9rem;
        margin-bottom: .35rem
    }

    .product-card .btn {
        padding: .4rem .5rem;
        font-size: .7rem
    }
}