/* =========================================================
   MOBILE CATEGORY CAROUSEL
   ========================================================= */

.category-carousel-mobile {
    position: relative;

    width: 90%;
    max-width: 90%;

    overflow: hidden;

    margin: 0 auto;
    padding: 0;

    box-sizing: border-box;
}


/* =========================================================
   VIEWPORT
   ========================================================= */

.category-carousel-mobile
.category-carousel-viewport {

    width: 100%;

    overflow: hidden;

    margin: 0;
    padding: 0;
}


/* =========================================================
   TRACK
   ========================================================= */

.category-carousel-mobile
.category-carousel-track {

    display: flex;

    flex-wrap: nowrap;

    gap: 15px;

    width: 100%;

    margin: 0;
    padding: 0;

    transform: translate3d(0, 0, 0);

    transition: transform 0.45s ease;

    will-change: transform;
}


/* =========================================================
   CARD
   ========================================================= */

.category-carousel-mobile
.category-card {

    position: relative;

    flex: 0 0 calc((100% - 15px) / 2);

    width: calc((100% - 15px) / 2);

    min-width: 0;

    margin: 0;
    padding: 0;

    overflow: hidden;

    box-sizing: border-box;

    aspect-ratio: 1.55 / 1.2;

    background: #222;
}


/* =========================================================
   LINK
   ========================================================= */

.category-carousel-mobile
.category-card-link {

    position: relative;

    display: block;

    width: 100%;
    height: 100%;

    overflow: hidden;

    text-decoration: none;
}


/* =========================================================
   IMAGE WRAPPER
   ========================================================= */

.category-carousel-mobile
.category-card-image-wrap {

    width: 100%;
    height: 100%;

    overflow: hidden;
}


/* =========================================================
   IMAGE
   ========================================================= */

.category-carousel-mobile
.category-card-image {

    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    object-fit: cover;
    object-position: center;

    transition: transform 0.45s ease;
}


/* =========================================================
   IMAGE HOVER
   ========================================================= */

.category-carousel-mobile
.category-card:hover
.category-card-image {

    transform: scale(1.04);
}


/* =========================================================
   DARK OVERLAY
   ========================================================= */

.category-carousel-mobile
.category-card-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: flex-end;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.70) 0%,
            rgba(0, 0, 0, 0.25) 50%,
            rgba(0, 0, 0, 0) 100%
        );
}


/* =========================================================
   CONTENT
   ========================================================= */

.category-carousel-mobile
.category-card-content {

    width: 100%;

    padding: 15px;

    box-sizing: border-box;
}


/* =========================================================
   TITLE
   ========================================================= */

.category-carousel-mobile
.category-card-content h3 {

    margin: 0 0 10px 0;

    padding: 0;

    color: #fff;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.15;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}


/* =========================================================
   EXPLORE NOW
   ========================================================= */

.category-carousel-mobile
.category-explore {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: #fff;

    font-size: 11px;

    font-weight: 400;

    line-height: 1;

    text-decoration: none;
}


.category-carousel-mobile
.category-explore span {

    font-size: 17px;

    line-height: 1;

    transition: transform 0.25s ease;
}


.category-carousel-mobile
.category-card:hover
.category-explore span {

    transform: translateX(4px);
}


/* =========================================================
   ARROWS
   ========================================================= */

.category-carousel-mobile
.category-carousel-prev,
.category-carousel-mobile
.category-carousel-next {

    position: absolute;

    top: 50%;

    z-index: 20;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.65);

    color: #fff;

    font-size: 25px;

    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transform: translateY(-50%);
}


/* =========================================================
   PREVIOUS
   ========================================================= */

.category-carousel-mobile
.category-carousel-prev {

    left: 5px;
}


/* =========================================================
   NEXT
   ========================================================= */

.category-carousel-mobile
.category-carousel-next {

    right: 5px;
}


/* =========================================================
   DISABLED
   ========================================================= */

.category-carousel-mobile
.category-carousel-prev:disabled,
.category-carousel-mobile
.category-carousel-next:disabled {

    opacity: 0.25;

    cursor: not-allowed;

    pointer-events: none;
}


/* =========================================================
   HIDE MOBILE CAROUSEL ON DESKTOP/TABLET
   ========================================================= */

@media (min-width: 768px) {

    .category-carousel-mobile {
        display: none !important;
    }

}