/* Special offers from branch_services_stocks.php. */
.services-v2-related { --side-padding: 100px; --unit-space: 270px; --unit-space-second: 200px; }

.services-v2-related {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.services-v2-related {
    margin: var(--unit-space) 0 var(--unit-space-second);
}

.services-v2-related .branch-section__head {
    padding: 0 var(--side-padding);
    margin-bottom: 32px;
}

.services-v2-related .branch-section__title {
    margin: 0;
    font-family: var(--font-title, sans-serif);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #3d2e28;
}

.services-v2-related .branch-stocks__head {
    margin-bottom: 48px;
}

.services-v2-related .branch-stocks__head-row {
    display: grid;
    grid-template-columns: 39px minmax(0, 1fr) 39px;
    align-items: end;
    gap: clamp(16px, 4vw, 48px);
}

.services-v2-related .branch-stocks__head-row .branch-section__title--stocks {
    text-align: center;
    font-size: clamp(28px, 3.2vw, 60px);
    line-height: 1.05;
    letter-spacing: 0.02em;
}

.services-v2-related .branch-stocks__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 25px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #646464;
    cursor: pointer;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.services-v2-related .branch-stocks__arrow svg {
    display: block;
    width: 39px;
    height: 25px;
}

.services-v2-related .branch-stocks__arrow:hover {
    color: #3d2e28;
}

.services-v2-related .branch-stocks__arrow.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.services-v2-related .stocks-block {
    padding: 0 var(--side-padding);
    max-width: 1920px;
    margin: 0 auto;
}

.services-v2-related .stocks-block {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.services-v2-related .branch-stocks__slider.swiper {
    overflow: visible;
}

.services-v2-related .branch-stocks__slider .swiper-slide {
    height: auto;
    width: 830px;
}

@media (max-width: 1199px) {
.services-v2-related .branch-stocks__slider .swiper-slide {
        width: min(78vw, 320px);
    }
}

.services-v2-related .branch-stock-card {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    perspective: 1200px;
}

.services-v2-related .branch-stock-card__scene {
    display: block;
    position: relative;
    width: 100%;
    height: 592px;
    min-height: 320px;
    transform-style: preserve-3d;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 40px;
    will-change: transform;
}

.services-v2-related .branch-stock-card.is-flipped .branch-stock-card__scene {
    transform: rotateY(180deg);
}

.services-v2-related .branch-stock-card__face {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.services-v2-related .branch-stock-card__face--front {
    background: #ddd;
}

.services-v2-related .branch-stock-card__nav {
    position: absolute;
    bottom: 20px;
    left: 70px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.services-v2-related .branch-stock-card__nav span:last-child {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #654A43;
    border-radius: 100%;
}


.services-v2-related .branch-stock-card__back-content .branch-stock-card__nav span:first-child {
    color: #654A43;
}

.services-v2-related .branch-stock-card__back-content .branch-stock-card__nav span:last-child {
    background-color: #D9DFA3;
}

.services-v2-related .branch-stock-card__face--back {
    transform: rotateY(180deg);
    background: #f3f0ec;
}

.services-v2-related .branch-stock-card__img {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-v2-related span.branch-stock-card__logo {
    margin-bottom: 48px;
}

.services-v2-related .branch-stock-card__back-content .branch-stock-card__nav {
    bottom: 20px;
    left: 70px;
    right: 20px;
}

.services-v2-related .branch-stock-card__back-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 70px;
    box-sizing: border-box;
}

.services-v2-related .branch-stock-card__title {
    display: block;
    color: #654A43;
    font-weight: 500;
    font-size: 24px;
    line-height: 110%;
    text-transform: uppercase;
}

.services-v2-related .branch-stock-card__desc {
    display: block;
    flex: 1;
    margin-top: 16px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.45;
    color: #3d2e28;
}

.services-v2-related .branch-stock-card__desc p {
    margin: 0 0 0.75em;
}

.services-v2-related .branch-stock-card__desc p:last-child {
    margin-bottom: 0;
}

.services-v2-related .branch-stock-card__more {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    font-family: var(--font-title, sans-serif);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #654a43;
    opacity: 0.75;
    pointer-events: none;
}

.services-v2-related .branch-stock-card__more::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(1px);
}

@media (max-width: 767px) {
.services-v2-related .branch-stock-card__scene {
        min-height: 280px;
        border-radius: 22px;
    }

.services-v2-related .branch-stock-card__back-content {
        padding: 22px 18px 18px;
    }
}

@media (max-width: 1024px) {
.services-v2-related .branch-section__head {
        padding: 0 40px;
    }
}

@media (max-width: 767px) {
.services-v2-related {
        margin-top: 64px;
        margin-bottom: 80px;
    }

.services-v2-related .branch-section__head {
        padding: 0 16px;
        margin-bottom: 24px;
    }

.services-v2-related .branch-stocks__head {
        margin-bottom: 32px;
    }

.services-v2-related .branch-stocks__head-row {
        gap: 12px;
    }

.services-v2-related .branch-stocks__head-row {
        gap: 12px;
        padding-bottom: 50px;
        position: relative;
        display: block;
    }

.services-v2-related .branch-stocks__arrow {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }
}

.services-v2-related .typewriter-wrap {
    display: inline-block;
    min-width: 1ch;
}

.services-v2-related .typewriter-text {
    transition: color 0.2s ease;
}

.services-v2-related .typewriter-text--orange {
    color: #F95D09;
}

.services-v2-related .typewriter-text--black {
    color: #151515;
}

.services-v2-related .typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    vertical-align: text-bottom;
    background: currentColor;
    margin-left: 2px;
    animation: typewriter-blink 0.7s step-end infinite;
}

@media (max-width: 1599px) {
.services-v2-related { --side-padding: 50px; --unit-space: 170px; --unit-space-second: 100px; }
}

@media (max-width: 1199px) {
.services-v2-related .branch-stock-card__back-content {
        padding: 40px;
    }

.services-v2-related .branch-stocks__slider .swiper-slide {
        width: min(78vw, 430px);
    }

.services-v2-related .branch-stocks__slider .swiper-slide {
        width: min(78vw, 500px);
    }
}

@media (max-width: 1023px) {
.services-v2-related .branch-stock-card__scene {
        height: 350px;
    }

.services-v2-related .branch-stock-card__back-content .branch-stock-card__nav {
        left: 40px;
    }

.services-v2-related span.branch-stock-card__logo svg {
        width: 80px;
        height: auto;
    }

.services-v2-related span.branch-stock-card__logo {
        margin-bottom: 22px;
    }

.services-v2-related .branch-stock-card__title {
        font-size: 18px;
    }

.services-v2-related .branch-stock-card__back-content .branch-stock-card__nav {
        bottom: 20px;
    }

.services-v2-related .branch-stock-card__back-content {
        padding: 40px 40px 88px;
    }
}

@media (max-width: 766px) {
.services-v2-related { --side-padding: 16px; --unit-space-second: 60px; }

.services-v2-related .branch-stocks__slider .swiper-slide {
        width: 305px;
    }

.services-v2-related .branch-stock-card__scene {
        height: 217px;
        min-height: 0;
    }

.services-v2-related .branch-stock-card__back-content {
        padding: 25px 25px 60px;
    }

.services-v2-related span.branch-stock-card__logo {
        display: none;
    }

.services-v2-related .branch-stock-card__nav span:last-child {
        width: 35px;
        height: 35px
    }

.services-v2-related .branch-stock-card__nav span:last-child svg {
        width: 10px;
    }

.services-v2-related .branch-stock-card__nav span:first-child {
        font-size: 12px;
    }

.services-v2-related .branch-stock-card__back-content .branch-stock-card__nav {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }

.services-v2-related .branch-stock-card__title {
        font-size: 16px;
    }

.services-v2-related .branch-stock-card__desc {
        font-size: 12px;
    }

.services-v2-related .branch-stock-card__nav {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }

.services-v2-related .branch-stock-card__scene {
        border-radius: 25px;
    }
}
.services-v2-related { overflow-x: clip; }
.services-v2-related .branch-section__title {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 60px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.05em;
}
.services-v2-related .branch-stock-card:focus-visible { outline: 3px solid #654a43; outline-offset: 5px; border-radius: 40px; }
@media (max-width: 766px) {
    .services-v2-related .branch-section__title { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    .services-v2-related .branch-stock-card__scene { transition: none; }
}

.services-v2-related .branch-stock-card { text-decoration: none; }
.services-v2-related .branch-stock-card__img { object-fit: cover; }
.services-v2-related .branch-stock-card__face--front::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 45%, rgba(0,0,0,.45));
    pointer-events: none;
}
.services-v2-related .branch-stock-card__nav .services-v2-related__name {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    text-decoration: none;
    text-align: left;
    color: #fff;
    min-width: 0;
}
.services-v2-related .branch-stock-card__nav { gap: 20px; }
.services-v2-related .branch-stock-card__nav > span:last-child { flex-shrink: 0; }
.services-v2-related .branch-stock-card__nav { z-index: 1; }
@media (min-width: 1024px) {
    .services-v2-related .branch-stocks__slider .swiper-slide {
        width: 690px;
    }
    .services-v2-related .branch-stock-card__scene {
        height: 685px;
        border-radius: 40px;
    }
}
