/* ==========================================================
   SKIN WORLD HERO SLIDER
========================================================== */

.sw-hero-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sw-slider-wrapper {
    width: 100%;
    height: 440px;
    position: relative;
    overflow: hidden;
}


/* ==========================================================
   SLIDES - FADE EFFECT
========================================================== */

.sw-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 1s ease-in-out,
        visibility 1s ease-in-out;

    overflow: hidden;
}

.sw-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* ==========================================================
   BACKGROUND IMAGE
========================================================== */

.sw-slide-bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    transform: scale(1);

    transition:
        transform 6s ease-in-out;
}

.sw-slide.active .sw-slide-bg {
    transform: scale(1.03);
}


/* ==========================================================
   CONTENT
========================================================== */

.sw-slide-content {
    position: absolute;
    z-index: 5;

    left: 16%;
    top: 50%;

    transform: translateY(-50%);

    width: 560px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* ==========================================================
   DEFAULT HIDDEN ANIMATION STATE
========================================================== */

.sw-slide .sw-slide-label,
.sw-slide h2,
.sw-slide .sw-slide-subtitle,
.sw-slide .sw-shop-btn {

    opacity: 0;

    transform: translateY(45px);

}


/* ==========================================================
   ACTIVE TEXT ANIMATION
   Bottom -> Top
========================================================== */

.sw-slide.active .sw-slide-label {

    animation:
        swTextBottomToTop 0.8s ease forwards;

    animation-delay: 0.15s;
}


.sw-slide.active h2 {

    animation:
        swTextBottomToTop 0.9s ease forwards;

    animation-delay: 0.30s;
}


.sw-slide.active .sw-slide-subtitle {

    animation:
        swTextBottomToTop 0.9s ease forwards;

    animation-delay: 0.45s;
}


.sw-slide.active .sw-shop-btn {

    animation:
        swTextBottomToTop 0.9s ease forwards;

    animation-delay: 0.60s;
}


/* ==========================================================
   BOTTOM TO TOP KEYFRAME
========================================================== */

@keyframes swTextBottomToTop {

    0% {
        opacity: 0;
        transform: translateY(45px);
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ==========================================================
   LABEL
========================================================== */

.sw-slide-label {
    display: block;

    margin-bottom: 18px;

    font-family: 'Work Sans';

    font-size: 14px;
    line-height: 1.2;

    font-weight: 600;

    letter-spacing: 0.2px;

    color: #00a4a8;

    text-transform: uppercase;
}


/* ==========================================================
   HEADING
========================================================== */

.sw-slide h2 {

    margin: 0;

    font-family: 'Work Sans';

    font-size: 36px;
    line-height: 1.13;

    font-weight: 500;

    letter-spacing: 0.5px;

    color: #111111;

    text-transform: uppercase;
}


/* ==========================================================
   SUBTITLE
========================================================== */

.sw-slide-subtitle {

    margin: 32px 0 0;

    font-family: 'Work Sans';

    font-size: 16px;
    line-height: 1.4;

    font-weight: 600;

    color: #ff3b30;
}


/* ==========================================================
   SHOP BUTTON
========================================================== */

.sw-shop-btn {

z-index: 12;
    background-color: rgb(15, 52, 72);
    font-family: "Work Sans";
    height: auto;
    width: auto;
    color: rgb(255, 255, 255);
    text-decoration: none;
    white-space: nowrap;
    min-height: 0px;
    min-width: 0px;
    max-height: none;
    max-width: none;
    text-align: center;
    line-height: 22px;
    letter-spacing: 0px;
    font-weight: 700;
    font-size: 16px;
    padding: 11px 32px;
    border-radius: 3px;
    transform-origin: 50% 50%;
    opacity: 1;
    transform: translate(0px, 0px);
    visibility: visible;
}

.sw-shop-btn:hover {

    background: #0a2d3d;
    color: #ffffff;

    transform: translateY(-2px);
}

.sw-btn-arrow {

    font-size: 26px;
    line-height: 1;

    font-weight: 400;

    margin-top: -2px;
}


/* ==========================================================
   ARROWS
========================================================== */

.sw-slider-arrow {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 20;

    width: 45px;
    height: 45px;

    padding: 0;
    margin: 0;

    border: 0;
    border-radius: 50%;

    background: #10394c;
    color: #ffffff;

    display: flex;

    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.sw-slider-arrow:hover {

    background: #0a2d3d;

    transform: translateY(-50%) scale(1.08);
}

.sw-slider-arrow span {

    display: block;

    font-family: 'Work Sans';

    font-size: 31px;
    line-height: 1;

    font-weight: 300;

    margin-top: -4px;
}

.sw-slider-prev {
    left: 40px;
}

.sw-slider-next {
    right: 40px;
}


/* ==========================================================
   DOTS
========================================================== */

.sw-slider-dots {

    position: absolute;

    left: 50%;
    bottom: 26px;

    transform: translateX(-50%);

    z-index: 25;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 14px;
}

.sw-dot {

    width: 12px;
    height: 12px;

    padding: 0;
    margin: 0;

    border: 0;
    border-radius: 50%;

    background: #ffffff;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.sw-dot.active {

    background: #00a4a8;

    transform: scale(1.05);
}


/* ==========================================================
   SLIDE 2
========================================================== */

.sw-slide-2 .sw-slide-content {

    left: 50%;

    width: 500px;

    transform: translate(-50%, -50%);

    align-items: center;

    text-align: center;
}

.sw-slide-2 .sw-slide-label {
    color: #22c55e;
}

.sw-slide-2 .sw-slide-subtitle {
    color: #22c55e;
}


/* ==========================================================
   SLIDE 3
========================================================== */

.sw-slide-3 .sw-slide-content {

    left: auto;

    right: 9%;

    width: 530px;

    align-items: center;

    text-align: center;
}

.sw-slide-3 .sw-slide-label {
    color: #f2c300;
}

.sw-slide-3 .sw-slide-subtitle {
    color: #ff3b30;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1100px) {

    .sw-slider-wrapper {
        height: 420px;
    }

    .sw-slide-content {
        left: 12%;
        width: 500px;
    }

    .sw-slide h2 {
        font-size: 32px;
    }

    .sw-slide-3 .sw-slide-content {
        right: 6%;
        width: 500px;
    }

    .sw-slider-prev {
        left: 25px;
    }

    .sw-slider-next {
        right: 25px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .sw-slider-wrapper {
        height: 560px;
    }

    .sw-slide-bg {
        background-position: center center;
    }

    .sw-slide-content,
    .sw-slide-2 .sw-slide-content,
    .sw-slide-3 .sw-slide-content {

        left: 50%;
        right: auto;

        top: auto;
        bottom: 70px;

        transform: translateX(-50%);

        width: calc(100% - 80px);

        align-items: center;

        text-align: center;
    }

    .sw-slide h2 {
        font-size: 27px;
        line-height: 1.15;
    }

    .sw-slide-label {

        font-size: 13px;

        margin-bottom: 14px;
    }

    .sw-slide-subtitle {

        font-size: 15px;

        margin-top: 20px;
    }

    .sw-shop-btn {

        margin-top: 25px;

        width: 165px;
        height: 48px;

        font-size: 15px;
    }

    .sw-slider-arrow {

        width: 38px;
        height: 38px;
    }

    .sw-slider-arrow span {
        font-size: 27px;
    }

    .sw-slider-prev {
        left: 15px;
    }

    .sw-slider-next {
        right: 15px;
    }

    .sw-slider-dots {

        bottom: 25px;

        gap: 10px;
    }

    .sw-dot {

        width: 10px;
        height: 10px;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

    .sw-slider-wrapper {
        height: 540px;
    }

    .sw-slide-content,
    .sw-slide-2 .sw-slide-content,
    .sw-slide-3 .sw-slide-content {

        width: calc(100% - 70px);
    }

    .sw-slide h2 {
        font-size: 23px;
    }

    .sw-slide-label {
        font-size: 12px;
    }

}