.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-block {
    margin-bottom: 2.5rem;
}

.cat-block:last-child {
    margin-bottom: 0;
}

.cat-block__title {
    position: relative;
    font-size: 1.7em;
    font-weight: 500;
    margin: 10px;
    padding:0 0.3rem;
    text-transform: uppercase;
    color: #2b1a0e;
    border-left: 4px solid;
    border-image: linear-gradient(180deg, #8b5a2b, #4a2c17) 1;
}
.cat-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, 1fr);
}

.cat-grid[data-cols="1"] { grid-template-columns: 1fr; }
.cat-grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
.cat-grid[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }
.cat-grid[data-cols="4"] { grid-template-columns: repeat(4, 1fr); }

.cat-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(90deg, #8b5a2b, #4a2c17);
    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(149, 147, 147, 1);
    transform: translateY(-2px);
}

.cat-card:active {
    transform: scale(.98);
}
.cat-card__img {
    width: 100%;
    height: 300px;
    overflow: hidden;
    flex-shrink: 0;
}

.cat-card__img img {
    display: block;
    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: 1.2em;
    font-weight: 500;
    line-height: 1.45;
    margin: 0;
    color:#fff;
    position: relative;
    bottom: -5px;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .cat-grid[data-cols="4"] { grid-template-columns: repeat(3, 1fr); }
    .cat-grid[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .cat-grid,
    .cat-grid[data-cols="1"],
    .cat-grid[data-cols="2"],
    .cat-grid[data-cols="3"],
    .cat-grid[data-cols="4"] {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .cat-card__img {
        height: 220px;
    }
    .btn {
        display: none;
    }
}
