/* =========================================================
   ACORA HOME PAGE
   HERO CINEMATIC SLIDER
   ========================================================= */

.acora-hero-slider {
    --hero-blue: #1c4178;
    --hero-dark: #07162a;
    --hero-white: #ffffff;
    --slide-duration: 6500ms;

    position: relative;
    width: 100%;
    min-height: 760px;
    overflow: hidden;
    background: #e9eef5;
    isolation: isolate;
}

.acora-slider-stage {
    position: absolute;
    inset: 0;
}

.acora-slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    transform: perspective(1600px) rotateY(4deg) scale(1.04);
    transform-origin: center right;
    transition:
        opacity 900ms cubic-bezier(.22, 1, .36, 1),
        transform 1200ms cubic-bezier(.22, 1, .36, 1),
        visibility 0s linear 1200ms;
}

.acora-slide.is-active {
    z-index: 3;
    visibility: visible;
    opacity: 1;
    transform: perspective(1600px) rotateY(0deg) scale(1);
    transition:
        opacity 900ms cubic-bezier(.22, 1, .36, 1),
        transform 1400ms cubic-bezier(.22, 1, .36, 1),
        visibility 0s;
}

.acora-slide.is-leaving {
    z-index: 2;
    visibility: visible;
    opacity: 0;
    transform: perspective(1600px) rotateY(-5deg) scale(1.1);
}


/* Image */

.acora-slide-picture {
    position: absolute;
    inset: 0;
    display: block;
}

.acora-slide-picture::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .98) 0%,
            rgba(255, 255, 255, .94) 24%,
            rgba(255, 255, 255, .64) 42%,
            rgba(255, 255, 255, .12) 67%,
            rgba(255, 255, 255, 0) 100%
        );
}

.acora-slide-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.16) translate3d(35px, 0, 0);
    filter: saturate(.9) contrast(1.02);
    transition:
        transform 7500ms cubic-bezier(.2, .65, .25, 1),
        filter 1200ms ease;
    will-change: transform;
}

.acora-slide.is-active .acora-slide-picture img {
    transform: scale(1.04) translate3d(0, 0, 0);
}

.acora-slide.is-leaving .acora-slide-picture img {
    transform: scale(1.13) translate3d(-28px, 0, 0);
    filter: saturate(.8) blur(2px);
}


/* Additional Overlay */

.acora-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 76% 46%,
            rgba(255, 255, 255, 0) 0%,
            rgba(28, 65, 120, .025) 36%,
            rgba(28, 65, 120, .09) 100%
        );
}


/* Content */

.acora-slide-inner {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    min-height: 760px;
}

.acora-slide-content {
    width: min(600px, 48%);
    padding-top: 20px;
    color: #0d1f38;
}

.acora-slide-eyebrow,
.acora-slide-content h1,
.acora-slide-content h2,
.acora-slide-content p,
.acora-slide-actions {
    opacity: 0;
    transform: translate3d(-55px, 28px, 0);
    filter: blur(7px);
}

.acora-slide.is-active .acora-slide-eyebrow {
    animation: acoraTextReveal 850ms 180ms forwards;
}

.acora-slide.is-active .acora-slide-content h1,
.acora-slide.is-active .acora-slide-content h2 {
    animation: acoraTextReveal 950ms 330ms forwards;
}

.acora-slide.is-active .acora-slide-content p {
    animation: acoraTextReveal 900ms 500ms forwards;
}

.acora-slide.is-active .acora-slide-actions {
    animation: acoraTextReveal 900ms 650ms forwards;
}

@keyframes acoraTextReveal {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

.acora-slide-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--hero-blue);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.acora-slide-eyebrow::before {
    content: "";
    width: 42px;
    height: 2px;
    background: var(--hero-blue);
}

.acora-slide-content h1,
.acora-slide-content h2 {
    margin: 0;
    color: #0d1f38;
    font-family: "Playfair Display", serif;
    font-size: clamp(50px, 5.3vw, 82px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.acora-slide-content h1 span,
.acora-slide-content h2 span {
    display: block;
    color: var(--hero-blue);
}

.acora-slide-content p {
    max-width: 560px;
    margin: 25px 0 0;
    color: #465367;
    font-size: 17px;
    line-height: 1.8;
}

.acora-slide-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.acora-hero-btn {
    gap: 12px;
    min-width: 178px;
}

.acora-hero-btn span {
    transition: transform 250ms ease;
}

.acora-hero-btn:hover span {
    transform: translateX(5px);
}

.acora-hero-outline {
    min-width: 150px;
    color: var(--hero-blue);
    border: 1px solid rgba(28, 65, 120, .38);
    background: rgba(255, 255, 255, .58);
    backdrop-filter: blur(12px);
}

.acora-hero-outline:hover {
    color: #ffffff;
    border-color: var(--hero-blue);
    background: var(--hero-blue);
    transform: translateY(-2px);
}


/* 3D Decorative Shapes */

.acora-depth-shape {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .13);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .7),
        0 30px 90px rgba(28, 65, 120, .13);
    backdrop-filter: blur(5px);
}

.acora-depth-shape-one {
    right: -130px;
    bottom: -235px;
    width: 610px;
    height: 610px;
    border-radius: 50%;
    animation: acoraShapeFloat 8s ease-in-out infinite;
}

.acora-depth-shape-two {
    right: 25%;
    top: -170px;
    width: 330px;
    height: 330px;
    border-radius: 45% 55% 52% 48%;
    transform: rotate(22deg);
    animation: acoraShapeFloat 10s 1s ease-in-out infinite reverse;
}

@keyframes acoraShapeFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    50% {
        transform: translate3d(0, -22px, 0) rotate(5deg);
    }
}


/* Navigation Arrows */

.acora-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 20;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 0;
    color: var(--hero-blue);
    font-size: 21px;
    border: 1px solid rgba(28, 65, 120, .22);
    border-radius: 50%;
    background: rgba(255, 255, 255, .75);
    box-shadow: 0 14px 40px rgba(28, 65, 120, .13);
    backdrop-filter: blur(12px);
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        color 250ms ease,
        background 250ms ease,
        transform 250ms ease;
}

.acora-slider-arrow:hover {
    color: #ffffff;
    background: var(--hero-blue);
}

.acora-slider-prev {
    left: 24px;
}

.acora-slider-prev:hover {
    transform: translateY(-50%) translateX(-4px);
}

.acora-slider-next {
    right: 24px;
}

.acora-slider-next:hover {
    transform: translateY(-50%) translateX(4px);
}


/* Bottom Pagination */

.acora-slider-bottom {
    position: absolute;
    right: 0;
    bottom: 29px;
    left: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.acora-slider-pagination {
    display: flex;
    align-items: center;
    gap: 20px;
}

.acora-slider-dot {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 5px 0;
    color: rgba(13, 31, 56, .48);
    border: 0;
    background: transparent;
    cursor: pointer;
}

.acora-dot-number {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.acora-dot-progress {
    position: relative;
    display: block;
    width: 65px;
    height: 3px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(28, 65, 120, .18);
}

.acora-dot-progress span {
    position: absolute;
    inset: 0;
    background: var(--hero-blue);
    transform: scaleX(0);
    transform-origin: left;
}

.acora-slider-dot.is-active {
    color: var(--hero-blue);
}

.acora-slider-dot.is-active .acora-dot-progress span {
    animation: acoraProgress var(--slide-duration) linear forwards;
}

.acora-hero-slider.is-paused
.acora-slider-dot.is-active
.acora-dot-progress span {
    animation-play-state: paused;
}

@keyframes acoraProgress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}


/* Pause Button */

.acora-slider-pause {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--hero-blue);
    border: 1px solid rgba(28, 65, 120, .22);
    border-radius: 50%;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.acora-slider-pause .play-symbol {
    display: none;
    padding-left: 2px;
    font-size: 12px;
}

.acora-hero-slider.is-paused
.acora-slider-pause
.pause-symbol {
    display: none;
}

.acora-hero-slider.is-paused
.acora-slider-pause
.play-symbol {
    display: inline;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .acora-hero-slider,
    .acora-slide-inner {
        min-height: 680px;
    }

    .acora-slide-content {
        width: min(590px, 55%);
    }

    .acora-slide-picture::after {
        background:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, .98) 0%,
                rgba(255, 255, 255, .9) 35%,
                rgba(255, 255, 255, .3) 70%,
                rgba(255, 255, 255, 0) 100%
            );
    }

    .acora-slider-arrow {
        width: 46px;
        height: 46px;
    }

    .acora-slider-prev {
        left: 12px;
    }

    .acora-slider-next {
        right: 12px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .acora-hero-slider {
        min-height: calc(100svh - 74px);
        max-height: 850px;
        background: #e8edf4;
    }

    .acora-slide-inner {
        min-height: calc(100svh - 74px);
        max-height: 850px;
        align-items: flex-end;
        padding-top: 90px;
        padding-bottom: 115px;
    }

    .acora-slide-picture img {
        object-position: center top;
        transform: scale(1.12);
    }

    .acora-slide.is-active .acora-slide-picture img {
        transform: scale(1.02);
    }

    .acora-slide-picture::after {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, .02) 0%,
                rgba(255, 255, 255, .1) 30%,
                rgba(255, 255, 255, .74) 56%,
                rgba(255, 255, 255, .98) 77%,
                #ffffff 100%
            );
    }

    .acora-slide-overlay {
        background:
            linear-gradient(
                180deg,
                transparent 0%,
                rgba(28, 65, 120, .025) 55%,
                rgba(28, 65, 120, .06) 100%
            );
    }

    .acora-slide-content {
        width: 100%;
        max-width: 620px;
        padding-right: 10px;
    }

    .acora-slide-eyebrow {
        margin-bottom: 12px;
        font-size: 11px;
    }

    .acora-slide-eyebrow::before {
        width: 30px;
    }

    .acora-slide-content h1,
    .acora-slide-content h2 {
        font-size: clamp(38px, 11vw, 58px);
        line-height: 1.02;
    }

    .acora-slide-content p {
        max-width: 520px;
        margin-top: 17px;
        font-size: 14px;
        line-height: 1.65;
    }

    .acora-slide-actions {
        gap: 10px;
        margin-top: 23px;
    }

    .acora-slide-actions .btn {
        min-width: 0;
        padding: 11px 15px;
        font-size: 12px;
    }

    /* Move navigation arrows to bottom on mobile so they don't overlap slide content */
    .acora-slider-arrow {
        top: 20%;
        bottom: 78px;
        width: 40px;
        height: 40px;
        font-size: 17px;
        transform: none;
    }

    .acora-slider-prev {
        left: 18px;
    }

    .acora-slider-next {
        right: 18px;
    }

    .acora-slider-bottom {
        bottom: 20px;
    }

    .acora-slider-pagination {
        gap: 10px;
    }

    .acora-dot-progress {
        width: 37px;
    }

    .acora-slider-pause {
        width: 37px;
        height: 37px;
    }

    .acora-depth-shape {
        display: none;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .acora-slide-inner {
        padding-bottom: 105px;
    }

    .acora-slide-content h1,
    .acora-slide-content h2 {
        font-size: 38px;
    }

    .acora-slide-actions {
        align-items: stretch;
    }

    .acora-slide-actions .btn {
        flex: 1;
    }

    .acora-dot-number {
        display: none;
    }

    .acora-dot-progress {
        width: 44px;
    }
}


/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {

    .acora-slide,
    .acora-slide-picture img,
    .acora-depth-shape {
        transition: none;
        animation: none;
    }

    .acora-slide-eyebrow,
    .acora-slide-content h1,
    .acora-slide-content h2,
    .acora-slide-content p,
    .acora-slide-actions {
        opacity: 1;
        transform: none;
        filter: none;
    }
}












/* =========================================================
   DYNAMIC HOME CATEGORY SLIDER
========================================================= */

.home-categories-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 8% 18%,
            rgba(28, 65, 120, 0.07),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 78%,
            rgba(28, 65, 120, 0.06),
            transparent 30%
        ),
        #f3f7fc;
}

.home-categories-section::before {
    position: absolute;
    top: 130px;
    left: -150px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(28, 65, 120, 0.08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.home-categories-section::after {
    position: absolute;
    right: -100px;
    bottom: -120px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(28, 65, 120, 0.08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.category-slider {
    --category-gap: 24px;
    --category-per-view: 4;

    position: relative;
    z-index: 2;
    padding: 12px 4px 72px;
}

.category-slider__viewport {
    width: 100%;
    overflow: hidden;
    padding: 18px 4px 28px;
    touch-action: pan-y;
}

.category-slider__track {
    display: flex;
    align-items: stretch;
    gap: var(--category-gap);
    width: 100%;
    transform: translate3d(0, 0, 0);
    transition:
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.category-slider__slide {
    min-width: 0;
    flex:
        0 0
        calc(
            (
                100%
                - (
                    var(--category-gap)
                    * (var(--category-per-view) - 1)
                )
            )
            / var(--category-per-view)
        );
}


/* Card */

.home-category-card {
    position: relative;
    display: flex;
    height: 100%;
    min-height: 485px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(28, 65, 120, 0.12);
    border-radius: 22px;
    color: #111827;
    background: #ffffff;
    box-shadow:
        0 16px 40px rgba(28, 65, 120, 0.07);
    transition:
        transform 400ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 400ms ease,
        box-shadow 400ms ease;
}

.home-category-card:hover {
    border-color: rgba(28, 65, 120, 0.26);
    box-shadow:
        0 28px 65px rgba(28, 65, 120, 0.15);
    transform: translateY(-10px);
}

.home-category-card__image {
    position: relative;
    display: grid;
    height: 285px;
    flex: 0 0 285px;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            #f8fbff 0%,
            #e8f0f9 100%
        );
}

.home-category-card__image::before {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 90px;
    height: 90px;
    border: 1px solid rgba(28, 65, 120, 0.1);
    border-radius: 50%;
    content: "";
    transition:
        transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-category-card__image::after {
    position: absolute;
    bottom: -70px;
    left: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(28, 65, 120, 0.055);
    content: "";
    transition:
        transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-category-card:hover
.home-category-card__image::before {
    transform: scale(1.25) rotate(15deg);
}

.home-category-card:hover
.home-category-card__image::after {
    transform: translate(20px, -15px) scale(1.1);
}

.home-category-card__image img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 28px;
    object-fit: contain;
    background: transparent;
    transform: scale(0.92);
    transition:
        transform 600ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 600ms ease;
}

.home-category-card:hover
.home-category-card__image img {
    filter:
        drop-shadow(
            0 22px 18px rgba(28, 65, 120, 0.18)
        );
    transform: scale(1.02) rotate(-1deg);
}

.home-category-card__placeholder {
    position: relative;
    z-index: 2;
    color: rgba(28, 65, 120, 0.35);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.home-category-card__number {
    position: absolute;
    top: 18px;
    left: 20px;
    z-index: 4;
    color: rgba(28, 65, 120, 0.52);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.home-category-card__arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 4;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #1c4178;
    box-shadow:
        0 12px 26px rgba(28, 65, 120, 0.22);
    transition:
        transform 350ms ease,
        background-color 350ms ease;
}

.home-category-card:hover
.home-category-card__arrow {
    background: #0e294f;
    transform: rotate(-35deg);
}

.home-category-card__arrow svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-category-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 25px 24px 27px;
}

.home-category-card__body h3 {
    margin: 0 0 10px;
    color: #10233f;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
}

.home-category-card__body p {
    display: -webkit-box;
    margin: 0 0 20px;
    overflow: hidden;
    color: #667085;
    font-size: 14px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-category-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #1c4178;
    font-size: 13px;
    font-weight: 800;
}

.home-category-card__link span {
    transition: transform 250ms ease;
}

.home-category-card:hover
.home-category-card__link span {
    transform: translateX(5px);
}


/* Arrows */

.category-slider__arrow {
    position: absolute;
    top: 47%;
    z-index: 10;
    display: grid;
    width: 52px;
    height: 52px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(28, 65, 120, 0.14);
    border-radius: 50%;
    color: #1c4178;
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 15px 35px rgba(28, 65, 120, 0.12);
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        color 250ms ease,
        background-color 250ms ease,
        opacity 250ms ease,
        transform 250ms ease;
}

.category-slider__arrow svg {
    width: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.category-slider__arrow:hover {
    color: #ffffff;
    background: #1c4178;
}

.category-slider__arrow:disabled {
    opacity: 0.32;
    cursor: not-allowed;
    pointer-events: none;
}

.category-slider__arrow--previous {
    left: -26px;
}

.category-slider__arrow--previous:hover {
    transform: translateY(-50%) translateX(-4px);
}

.category-slider__arrow--next {
    right: -26px;
}

.category-slider__arrow--next:hover {
    transform: translateY(-50%) translateX(4px);
}


/* Bottom navigation */

.category-slider__footer {
    position: absolute;
    right: 4px;
    bottom: 0;
    left: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.category-slider__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-slider__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(28, 65, 120, 0.22);
    cursor: pointer;
    transition:
        width 300ms ease,
        border-radius 300ms ease,
        background-color 300ms ease;
}

.category-slider__dot.is-active {
    width: 30px;
    border-radius: 20px;
    background: #1c4178;
}

/* Enforce fixed card size on desktop to avoid expansion */
@media (min-width: 1101px) {
    .category-slider.category-slider__override,
    .category-slider { /* desktop: fixed card width */ }

    .category-slider .category-slider__track .category-slider__slide {
        flex: 0 0 277px !important;
        max-width: 277px !important;
    }

    .category-slider .home-category-card {
        width: 277px !important;
        min-height: 463px !important;
    }
}

@media (max-width: 1100px) and (min-width: 821px) {
    .category-slider .category-slider__track .category-slider__slide {
        flex: 0 0 calc(33.333% - 16px) !important;
        max-width: none !important;
    }
}

@media (max-width: 820px) and (min-width: 561px) {
    .category-slider .category-slider__track .category-slider__slide {
        flex: 0 0 calc(50% - 12px) !important;
    }
}

@media (max-width: 560px) {
    .category-slider .category-slider__track .category-slider__slide {
        flex: 0 0 calc(100% - 38px) !important;
    }
}

.category-slider__counter {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #1c4178;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.category-slider__counter i {
    width: 34px;
    height: 1px;
    background: rgba(28, 65, 120, 0.28);
}


/* Tablet */

@media (max-width: 1100px) {
    .category-slider {
        --category-per-view: 3;
    }

    .category-slider__arrow--previous {
        left: -12px;
    }

    .category-slider__arrow--next {
        right: -12px;
    }
}

@media (max-width: 820px) {
    .category-slider {
        --category-per-view: 2;
        --category-gap: 18px;
    }

    .home-category-card {
        min-height: 455px;
    }

    .home-category-card__image {
        height: 260px;
        flex-basis: 260px;
    }
}


/* Mobile */

@media (max-width: 560px) {
    .home-categories-section .section-head.center {
        margin-bottom: 25px;
    }

    .category-slider {
        --category-per-view: 1;
        --category-gap: 14px;

        padding-right: 0;
        padding-left: 0;
        padding-bottom: 65px;
    }

    .category-slider__viewport {
        overflow: hidden;
        padding: 10px 0 22px;
    }

    .category-slider__track {
        touch-action: pan-y;
    }

    .category-slider__slide {
        flex-basis: calc(100% - 38px);
    }

    .home-category-card {
        min-height: 430px;
        border-radius: 18px;
    }

    .home-category-card__image {
        height: 245px;
        flex-basis: 245px;
    }

    .home-category-card__image img {
        padding: 22px;
    }

    .home-category-card__body {
        padding: 22px 20px 24px;
    }

    .home-category-card__body h3 {
        font-size: 20px;
    }

    .category-slider__arrow {
        top: auto;
        bottom: 0;
        width: 43px;
        height: 43px;
        transform: none;
    }

    .category-slider__arrow--previous {
        right: 53px;
        left: auto;
    }

    .category-slider__arrow--next {
        right: 0;
    }

    .category-slider__arrow--previous:hover,
    .category-slider__arrow--next:hover {
        transform: none;
    }

    .category-slider__footer {
        right: 115px;
        bottom: 8px;
        left: 0;
    }

    .category-slider__counter {
        display: none;
    }
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .category-slider__track,
    .home-category-card,
    .home-category-card__image img,
    .home-category-card__arrow {
        transition: none;
    }
}


.category-slider__viewport {
    cursor: grab;
}

.category-slider__viewport:active {
    cursor: grabbing;
}

@media (max-width: 560px) {
    .category-slider__viewport {
        cursor: default;
    }
}


.category-slider__arrow:focus-visible,
.category-slider__dot:focus-visible,
.home-category-card:focus-visible {
    outline: 3px solid rgba(28, 65, 120, 0.3);
    outline-offset: 4px;
}