:root {
    --first-co: #662222;
    --secound-co: #842A3B;
    --confirm-co: #A3485A;
    --text-co:#F5DAA7;
}

/* اسلایدر اول */
.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 600;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    gap: 15px;
}

.slider-controls button {
    background-color: var(--first-co);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 24px;
    transition: 0.3s;
}

.slider-controls button:hover {
    background-color: rgba(255 ,255 ,255 ,0.9);
}

/* متن دسته بندی ها */

.cat-title-wrapper {
    text-align: right;
}

.cat-title {
    display: inline-block;
    margin: 25px 25px;
    font-size: 20px;
    color: var(--text-co);
    font-family: 'Kal' ,sans-serif;
    background-color: var(--confirm-co);
    padding: 5px 15px;
    border-radius: 10px;
}

/* دسته بندی ها */
.category-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
}

.cat-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--secound-co);
    border-radius: 15px;
    width: 130px;
    text-align: center;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s box-shadow 0.3s;
    cursor: pointer;
}

.cat-cart:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.cat-cart img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin-bottom: 10px;
}

.cat-cart p{
    font-size: 20px;
    font-weight: bold;
    color: var(--text-co);
    font-family: 'Kal' ,sans-serif;
}

@media (max-width : 768px){
    .category-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    }
    .cat-cart {
        flex: 0 0 48%;
        max-width: 48%;
        box-sizing: border-box;
        margin-bottom: 10px;
    }
}

