/* HERO LAYOUT */
.home-hero {
    padding: 10px 0;
}

.hero-left {
    position: relative;
}

.hero-title {
    font-family: var(--font-head);
    font-size: 56px;
    line-height: 1.05;
}

.hero-title span {
    color: var(--accent);
}

.hero-desc {
    margin: 22px 0;
    max-width: 420px;
    font-size: 15px;
    color: var(--border);
}

.hero-btn {
    background: #111;
    color: #fff;
    padding: 14px 34px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

/* SMALL IMAGE CARD */
.hero-mini-card {
    position: relative;
    margin-top: 40px;
    width: 260px;
}

.hero-mini-card img {
    width: 100%;
    border-radius: 14px;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* RIGHT SLIDER */
.hero-right {
    position: relative;
}

.hero-slide-img {
    width: 100%;
    border-radius: 18px;
}

/* ARROWS */
.carousel-control-prev,
.carousel-control-next {
    width: auto;
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
    color: #111;
    opacity: 1;
}

.carousel-control-prev {
    left: -30px;
}

.carousel-control-next {
    right: -30px;
}

/* COUNTER */
.hero-counter {
    position: absolute;
    bottom: 20px;
    right: 30px;
    text-align: right;
    color: #fff;
}

.hero-counter span {
    font-family: var(--font-head);
    font-size: 28px;
}

.hero-counter small {
    display: block;
    font-size: 12px;
    color: var(--border);
}

/* MOBILE */
@media(max-width:768px) {
    .home-hero {
        padding: 10px 0;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-mini-card {
        width: 100%;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

/* ---------------- CATEGORY SECTION ---------------- */
.home-category {
    padding: 60px 0;
}

.category-sub {
    font-size: 13px;
    color: var(--muted);
    margin-top: -10px;
}

/* Horizontal scroll container */
.category-scroll {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-top: 40px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    flex-wrap: wrap;
}

/* Hide scrollbar (clean look) */
.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Category card */
.cat-item {
    flex: 0 0 auto;
    text-align: center;
    cursor: pointer;
}

/* Round image */
.cat-item img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Text */
.cat-item span {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 500;
}

/* Hover effect (subtle like reference) */
.cat-item:hover img {
    transform: scale(1.05);
}

/* Mobile */
@media(max-width:768px) {
    .category-scroll {
        justify-content: flex-start;
        gap: 24px;
        flex-wrap: nowrap;
    }

    .cat-item img {
        width: 80px;
        height: 80px;
    }
}

/* ---------------- FEATURED PRODUCTS ---------------- */
.home-featured {
    padding: 80px 0;
}

.featured-sub {
    font-size: 13px;
    color: var(--muted);
    margin-top: -10px;
    margin-bottom: 40px;
}

/* Grid spacing */
.featured-grid {
    align-items: stretch;
}

/* Card base */
.featured-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

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

/* Big card height */
.featured-big {
    height: 520px;
}

/* Right column cards */
.featured-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.featured-right .featured-card {
    height: 248px;
}

/* Overlay */
.featured-overlay {
    position: absolute;
    left: 24px;
    bottom: 24px;
    color: #fff;
}

.featured-overlay h4 {
    font-family: var(--font-head);
    font-size: 18px;
    line-height: 1.3;
    margin-top: 6px;
}

/* Small tag */
.featured-tag {
    font-size: 12px;
    background: rgba(0, 0, 0, 0.55);
    padding: 4px 10px;
    border-radius: 12px;
}

/* Hover effect (subtle) */
.featured-card:hover img {
    transform: scale(1.05);
}

/* Mobile */
@media(max-width:768px) {
    .featured-big {
        height: 360px;
        margin-bottom: 24px;
    }

    .featured-right {
        gap: 20px;
    }

    .featured-right .featured-card {
        height: 200px;
    }
}

/* NEW ARRIVALS STRIP */
.new-arrivals-strip {
    background: var(--bs-orange);
    padding: 38px 0;
    margin: 90px 0 70px;
}

.new-arrivals-strip h3 {
    text-align: center;
    color: #fff;
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.new-arrivals-strip span {
    margin: 0 18px;
    font-size: 16px;
    opacity: 0.9;
}

/* LATEST PRODUCTS */
.latest-products {
    padding-bottom: 80px;
}

.latest-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.latest-head h2 {
    font-family: var(--font-head);
    font-size: 28px;
}

.latest-head p {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px;
}

.see-all {
    font-size: 13px;
    text-decoration: none;
    color: var(--dark);
}

/* PRODUCT CARD */
.product-item{
    position: relative;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.product-item img {
    width: auto;
    height: 200px;
    /* max-width:240px; */
    margin: auto;
    display: block;
}

.product-item h4 {
    font-size: 14px;
    font-weight: 500;
    margin-top: 18px;
}

.product-item .price {
    font-size: 13px;
    color: var(--muted);
}

/* BADGES */
.badge {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 11px;
    padding: 4px 10px;
    background: #111;
    color: #fff;
    border-radius: 12px;
    font-weight: 500;
}

.badge.sale {
    background: #ff7a3d;
}

.badge.sold {
    background: #999;
}

/* GRID SPACING */
.product-grid {
    row-gap: 50px;
}

/* MOBILE */
@media(max-width:768px) {
    .latest-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.carousel-control-next:focus,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-prev:hover {
    color: var(--bs-orange);
}

.hero-item-each {
    position: relative;
}

.abs-layer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
}