.slider-wrap {
    width: 100%;
    max-height: 580px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    background: #111
}

.track {
    display: flex;
    will-change: transform
}

.slide {
    min-width: 100%;
    aspect-ratio: 25/8;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.32)
}

.caption {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 24px
}

.caption-title {
    font-size: clamp(15px, 3.5vw, 24px);
    font-weight: 500;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .5)
}

.caption-sub {
    font-size: clamp(12px, 2vw, 15px);
    opacity: .85;
    margin-top: 7px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .4)
}

.btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background .2s, transform .15s;
    backdrop-filter: blur(4px)
}

.btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.08)
}

.btn-prev {
    left: 14px
}

.btn-next {
    right: 14px
}

.dots {
    position: absolute;
    bottom: 13px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background .25s, transform .25s;
    border: none;
    padding: 0
}

.dot.active {
    background: #fff;
    transform: scale(1.3)
}

.bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
    border-radius: 0 2px 2px 0;
    width: 0
}

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

.cat-section h2 {
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 1.5rem;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.cat-card {
    display: flex;
    flex-direction: column;
    height: auto;
    background: #fff;
    border: 0.5px solid rgba(0, 0, 0, .05);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: border-color .2s, transform .15s;
}

.cat-card:hover {
    border-color: rgba(0, 0, 0, .22);
    transform: translateY(-2px);
}

.cat-card:active {
    transform: scale(.98);
}

.cat-card__img {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cat-card__img i {
    font-size: 42px;
    opacity: .75;
}

.cat-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-card__body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cat-card__title {
    font-size: 16px;
    text-transform: uppercase;
    line-height: 1.45;
    margin: 0 0 6px;
    flex: 1;
    color: #111;
}

@media (max-width: 480px) {
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .btn {
        display: none;
    }
}