/* ================= SCOPED: PRODUCT CATEGORIES ================= */
.sp-cats {
    position: relative;
    width: 100%;
    margin-top: clamp(60px, 8vw, 130px);
    box-sizing: border-box;
}

.sp-cats .main-container {
    position: relative;
}


.sp-cats__leaf {
    position: absolute;
    left: 280px;
    top: -36px;
    width: 95px;
    height: 100px;
    pointer-events: none;
    z-index: 3;
}

.sp-cats__leaf img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.sp-cats__img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1 !important; 
    height: auto !important;
    border-radius: 28px;
    overflow: hidden;
    background: #f7f5f2;
    flex-shrink: 0;
}

.sp-cats__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.sp-cats__card:hover .sp-cats__card-img {
    transform: scale(1.06);
}


.sp-cats__card {
    background: #ffffff;
    border-radius: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 14px 24px;
    text-decoration: none;
    color: #141517;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid #ede8e3;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
    height: 100%;
}

.sp-cats__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

.sp-cats__card h3 {
    margin-top: 16px;
    font-size: clamp(19px, 1.8vw, 25px);
    font-weight: 600;
    line-height: 1.25;
    color: #141517;
    text-align: center;
}

.sp-cats__card p {
    margin-top: 8px;
    font-size: clamp(13px, 1.1vw, 15px);
    font-weight: 300;
    line-height: 1.4;
    color: #4b5563;
    text-align: center;
    padding: 0 8px;
    min-height: 42px;
}

.sp-cats__btn-view {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 155px;
    height: 40px;
    padding: 0 12px 0 16px;
    border-radius: 14px;
    background: #e85d04;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.sp-cats__card:hover .sp-cats__btn-view {
    background: #cf4f00;
    transform: scale(1.03);
}

.sp-cats__btn-view img {
    width: 20px;
    height: 20px;
}


.sp-cats__intro {
    position: relative;
    background: #e85d04;
    border-radius: 36px;
    padding: clamp(28px, 3.2vw, 44px) clamp(18px, 2vw, 32px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; 
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 12px 35px rgba(232, 93, 4, 0.2);
    height: 100%; 
}

.c-vector {
	position: absolute;
	top: -50px;
	right: -22px;
}

.sp-cats__intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
    margin-bottom: auto;
}

.sp-cats__intro h2 {
    font-size: clamp(24px, 2.3vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    color: #141517;
    margin-bottom: 16px;
}

.sp-cats__intro p {
    font-size: clamp(14px, 1.15vw, 16.5px);
    font-weight: 400;
    line-height: 1.45;
    color: #fff2ea;
    max-width: 280px;
    margin-bottom: 24px;
}

.sp-cats__btn-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 260px;
    height: 54px;
    background: #141517;
    border-radius: 18px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.sp-cats__btn-all:hover {
    background: #000000;
    transform: translateY(-2px);
}

.sp-cats__btn-all img {
    width: 22px;
    height: 22px;
}


.sp-cats__arrow {
    display: none; 
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #ede8e3;
    color: #141517;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
}

.sp-cats__arrow:hover {
    background: #e85d04;
    color: #ffffff;
    border-color: #e85d04;
    transform: translateY(-50%) scale(1.08);
}

.sp-cats__arrow--prev {
    left: -20px;
}

.sp-cats__arrow--next {
    right: -20px;
}


@media (min-width: 1401px) {
    .sp-cats__body {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        align-items: stretch;
    }

    .sp-cats__slider-wrapper,
    .sp-cats__slider-track {
        display: contents; 
    }

    
    .sp-cats__arrow {
        display: none !important;
    }

    .sp-cats__intro {
        grid-column: 1;
        grid-row: 1;
    }
}


@media (max-width: 1400px) and (min-width: 780px) {
    .sp-cats__body {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 24px;
        width: 100%;
        position: relative;
    }

    
    .sp-cats__intro {
        flex: 0 0 330px;
        height: auto;
    }

    .sp-cats__slider-wrapper {
        flex: 1;
        min-width: 0;
        position: relative;
        display: flex;
        align-items: center;
    }

    
    .sp-cats__arrow {
        display: flex;
    }

    .sp-cats__slider-track {
        display: flex;
        gap: 24px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 8px 4px;
        scrollbar-width: none;
        width: 100%;
        height: 100%;
    }

    .sp-cats__slider-track::-webkit-scrollbar {
        display: none;
    }

    
    .sp-cats__card {
        flex: 0 0 calc((100% - 48px) / 3);
        scroll-snap-align: start;
        min-width: 230px;
    }
}

@media (max-width: 1100px) and (min-width: 780px) {
    .sp-cats__intro {
        flex: 0 0 290px;
    }

    
    .sp-cats__card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}


@media (max-width: 779px) {
    .sp-cats {
        margin-top: 40px;
    }

    .sp-cats__leaf {
        display: none;
    }

    .sp-cats__body {
        display: flex;
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    
    .sp-cats__intro {
        order: 1;
        width: 100%;
        height: auto;
        padding: 32px 20px;
        border-radius: 30px;
    }

    .sp-cats__intro h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .sp-cats__intro p {
        font-size: 13.5px;
        margin-bottom: 22px;
        max-width: 100%;
    }

    .sp-cats__btn-all {
        height: 48px;
        font-size: 15px;
        max-width: 240px;
    }

    
    .sp-cats__slider-wrapper {
        order: 2;
        width: 100%;
        position: relative;
        display: flex;
        align-items: center;
    }

    
    .sp-cats__arrow {
        display: flex;
        width: 40px;
        height: 40px;
    }

    .sp-cats__arrow--prev {
        left: 6px;
    }

    .sp-cats__arrow--next {
        right: 6px;
    }

    .sp-cats__slider-track {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 6px 0;
        scrollbar-width: none;
        width: 100%;
    }

    .sp-cats__slider-track::-webkit-scrollbar {
        display: none;
    }

    
    .sp-cats__card {
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: center;
        min-width: 100%;
        padding: 14px 14px 22px;
        border-radius: 30px;
    }
}


.sp-cats__explore {
    display: flex;
    justify-content: center;
    margin-top: clamp(36px, 5vw, 65px);
}

.sp-cats__explore a {
    width: 220px;
    height: 56px;
    border: 1.5px solid #141312;
    border-radius: 22px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Saira Semi Condensed', 'Saira', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #141312;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.sp-cats__explore a:hover {
    background: #141312;
    color: #ffffff;
    transform: translateY(-2px);
}

.sp-cats__explore img {
    width: 16px;
    height: auto;
    transition: filter 0.25s ease;
}

.sp-cats__explore a:hover img {
    filter: brightness(0) invert(1);
}