/* Danh mục sản phẩm */
.wrap-category {
    background-color: #f1f1f1;
    padding: 55px 0 30px;
}

.title-category-main {
    margin-bottom: 20px;
}

.title-category-main .title-main {
    margin-bottom: 15px;
    text-align: center;
    color: #fff;
}

.title-category-main .title-main p {
    font-size: 22px;
    letter-spacing: 1px;
    line-height: 36px;
    color: #fff;
    font-weight: 400;
    font-family: "Saira";
    margin-bottom: 10px;
}

.title-category-main .title-main span {
    font-size: 33px;
    line-height: 30px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    font-family: "Saira";
    position: relative;
    display: inline-block;
    padding: 0 50px;
}

.title-category-main .title-main span::before {
    position: absolute;
    content: '';
    background: url(../images/title-main.png) no-repeat;
    width: 34px;
    height: 21px;
    left: 0;
    top: calc(50% - 21px / 2);
}

.title-category-main .title-main span::after {
    position: absolute;
    content: '';
    background: url(../images/title-main.png) no-repeat;
    width: 34px;
    height: 21px;
    right: 0;
    top: calc(50% - 21px / 2);
}
/* End Danh mục sản phẩm */

.wrap-category .title-category-main {
    position: relative;
}

.wrap-category .category-slider {
    margin-top: 30px;
    position: relative;
    padding: 0 40px;
}

.wrap-category .category-slider .slick-slide {
    padding: 0 5px;
}

/* Category Slider Arrows */
.wrap-category .category-slider .category-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background-color: #005904;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.wrap-category .category-slider .category-slider-arrow:hover {
    opacity: 1;
    background-color: #004203;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.wrap-category .category-slider .category-slider-arrow:focus {
    outline: none;
}

.wrap-category .category-slider .category-slider-prev {
    left: 0;
}

.wrap-category .category-slider .category-slider-next {
    right: 0;
}

.wrap-category .category-slider .category-slider-arrow.slick-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.wrap-category .category-slider .category-slider-arrow.slick-disabled:hover {
    transform: translateY(-50%);
    background-color: #005904;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.wrap-category .category-slider .item {
    display: block;
    position: relative;
    text-align: center;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.wrap-category .category-slider .item:hover {
    transform: translateY(-3px);
}

.wrap-category .category-slider .item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.wrap-category .category-slider .item .pic-category {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    background-color: #fff;
}

.wrap-category .category-slider .item .pic-category img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wrap-category .category-slider .item:hover .pic-category img {
    transform: scale(1.05);
}

.wrap-category .category-slider .item .info-category {
    padding: 10px 12px;
    background-color: #fff;
}

.wrap-category .category-slider .item .category-name {
    font-size: 14px;
    line-height: 1.3;
    text-transform: uppercase;
    color: #333;
    font-weight: bold;
    font-family: "Open Sans";
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}

@media (max-width: 1199px) {

    .wrap-category {
        padding: 50px 0 30px;
    }

    .title-category-main {
        margin-bottom: 18px;
    }

    .title-category-main .title-main {
        margin-bottom: 12px;
    }

    .title-category-main .title-main span {
        font-size: 28px;
        line-height: 28px;
        padding: 0 40px;
    }

    .title-category-main .title-main p {
        font-size: 20px;
    }

    .wrap-category .category-slider {
        margin-top: 25px;
        padding: 0 45px;
    }

    .wrap-category .category-slider .item .info-category {
        padding: 12px;
    }

    .wrap-category .category-slider .item .category-name {
        font-size: 14px;
        line-height: 1.3;
    }

    .info-product {
        padding: 12px;
    }

    .info-product .product-name {
        font-size: 13px;
        line-height: 18px;
        min-height: 36px;
    }
}

@media (max-width: 991px) {
    .wrap-category{
        padding: 40px 0 20px;
    }

    .title-category-main {
        margin-bottom: 15px;
    }

    .title-category-main .title-main {
        margin-bottom: 12px;
    }

    .title-category-main .title-main span {
        font-size: 24px;
        line-height: 26px;
        padding: 0 45px;
    }

    .title-category-main .title-main p {
        font-size: 18px;
        line-height: 32px;
    }

    .wrap-category .category-slider {
        margin-top: 20px;
        padding: 0 40px;
    }

    .wrap-category .category-slider .item .info-category {
        padding: 10px;
    }

    .wrap-category .category-slider .item .category-name {
        font-size: 12px;
        line-height: 16px;
        min-height: 32px;
    }
}

@media (max-width: 767px) {

    .wrap-category {
        padding: 30px 0 15px;
    }

    .title-category-main {
        margin-bottom: 12px;
    }

    .title-category-main .title-main {
        margin-bottom: 10px;
    }

    .title-category-main .title-main span {
        font-size: 20px;
        line-height: 24px;
        padding: 0 30px;
    }

    .title-category-main .title-main p {
        font-size: 16px;
        line-height: 28px;
    }

    .wrap-category .category-slider {
        margin-top: 15px;
        padding: 0 40px;
    }

    .wrap-category .category-slider .slick-slide {
        padding: 0 5px;
    }

    .wrap-category .category-slider .category-slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .wrap-category .category-slider .category-slider-prev {
        left: 0;
    }

    .wrap-category .category-slider .category-slider-next {
        right: 0;
    }

    .wrap-category .category-slider .item .info-category {
        padding: 8px;
    }

    .wrap-category .category-slider .item .category-name {
        font-size: 11px;
        line-height: 15px;
        min-height: 30px;
    }
}

@media (max-width: 575px) {
    .wrap-category {
        padding: 25px 0 15px;
    }

    .title-category-main {
        margin-bottom: 10px;
    }

    .title-category-main .title-main {
        margin-bottom: 8px;
    }

    .title-category-main .title-main span {
        font-size: 18px;
        line-height: 22px;
        padding: 0 45px;
    }

    .title-category-main .title-main p {
        font-size: 14px;
        line-height: 24px;
    }

    .wrap-category .category-slider {
        padding: 0 35px;
    }

    .wrap-category .category-slider .category-slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .wrap-category .category-slider .category-slider-prev {
        left: 0;
    }

    .wrap-category .category-slider .category-slider-next {
        right: 0;
    }

    .wrap-category .category-slider .item .info-category {
        padding: 6px;
    }

    .wrap-category .category-slider .item .category-name {
        font-size: 10px;
        line-height: 14px;
        min-height: 28px;
    }
}
