.tepanti-home {
    width: 100%;
    background: #fff;
    color: #111;
}

/* =========================================================
   HERO SLIDER
========================================================= */

.home-slider {
    position: relative;
    width: 100%;
    height: 540px;
    overflow: hidden;
    background: #111;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.home-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease;
}

.home-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.68),
            rgba(0,0,0,.30),
            rgba(0,0,0,.10)
        );
}

.slide-content {
    position: relative;
    z-index: 3;
    width: min(calc(100% - 40px), 1200px);
    margin: 0 auto;
    color: #fff;
}

.slide-label {
    display: block;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 5px;
}

.slide-content h1 {
    margin: 0;
    font-size: 58px;
    line-height: 1;
    font-weight: 900;
}

.slide-content p {
    max-width: 500px;
    margin: 18px 0 25px;
    color: #eee;
    font-size: 15px;
    line-height: 1.7;
}

.slide-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 23px;
    border-radius: 7px;
    background: #fff;
    color: #111;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

/* =========================================================
   SLIDER CONTROLS
========================================================= */

.slider-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 50%;
    background: rgba(0,0,0,.25);
    color: #fff;
    font-size: 29px;
    cursor: pointer;
    transform: translateY(-50%);
}

.slider-prev {
    left: 18px;
}

.slider-next {
    right: 18px;
}

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 20px;
    z-index: 6;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.55);
    cursor: pointer;
}

.slider-dot.active {
    width: 24px;
    border-radius: 10px;
    background: #fff;
}

/* =========================================================
   CONTAINER
========================================================= */

.home-container {
    width: min(calc(100% - 40px), 1200px);
    margin: 0 auto;
}

.home-collections {
    padding: 70px 0 85px;
}

/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    margin-bottom: 48px;
    text-align: center;
}

.section-heading > span {
    display: block;
    margin-bottom: 8px;
    color: #777;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
}

.section-heading h2 {
    margin: 0 0 9px;
    font-size: 30px;
    line-height: 1.3;
}

.section-heading p {
    margin: 0;
    color: #777;
    font-size: 13px;
}

/* =========================================================
   COLLECTION SECTION
========================================================= */

.collection-section {
    margin-bottom: 65px;
}

.collection-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.collection-label {
    display: block;
    margin-bottom: 5px;
    color: #999;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

.collection-heading h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
}

.view-all {
    color: #111;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

/* =========================================================
   CATEGORY GRID
========================================================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

/* =========================================================
   CATEGORY CARD
========================================================= */

.category-card {
    display: block;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    color: #111;
    text-decoration: none;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 25px rgba(0,0,0,.08);
}

.category-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f4f4f4;
}

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

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

.category-card-content {
    padding: 13px 14px 15px;
}

.category-card-content h4 {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-card-content span {
    color: #777;
    font-size: 10px;
    font-weight: 600;
}

/* =========================================================
   EMPTY
========================================================= */

.category-empty {
    padding: 35px 20px;
    border: 1px dashed #ddd;
    border-radius: 10px;
    background: #fafafa;
    color: #888;
    font-size: 12px;
    text-align: center;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .home-slider {
        height: 430px;
    }

    .slide-content {
        width: calc(100% - 36px);
    }

    .slide-content h1 {
        font-size: 39px;
    }

    .slide-content p {
        max-width: 320px;
        font-size: 13px;
        line-height: 1.6;
    }

    .slide-label {
        font-size: 9px;
        letter-spacing: 4px;
    }

    .slider-control {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }

    .slider-prev {
        left: 9px;
    }

    .slider-next {
        right: 9px;
    }

    .home-container {
        width: calc(100% - 26px);
    }

    .home-collections {
        padding: 48px 0 65px;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .collection-section {
        margin-bottom: 45px;
    }

    .collection-heading h3 {
        font-size: 18px;
    }

    .category-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .category-card {
        border-radius: 8px;
    }

    .category-card-content {
        padding: 9px 8px 10px;
    }

    .category-card-content h4 {
        margin-bottom: 3px;
        font-size: 11px;
    }

    .category-card-content span {
        font-size: 8px;
    }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .category-grid {
        gap: 6px;
    }

    .category-card-content {
        padding: 8px 6px 9px;
    }

    .category-card-content h4 {
        font-size: 10px;
    }

    .category-card-content span {
        font-size: 7px;
    }
}