.pmb-production,
.pmb-production * {
    box-sizing: border-box;
}

.pmb-production {
    width: 100%;
    margin: 0;
    padding: var(--pmb-production-pt, 100rem) 0 var(--pmb-production-pb, 111rem);
    background: var(--pmb-production-bg, #fff);
    color: #333;
}

.pmb-production__container {
    width: 1456rem;
    max-width: calc(100% - 40rem);
    margin-left: 230rem;
}

.pmb-production__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 39rem;
    width: 100%;
    margin: 0 0 66rem;
}

.pmb-production__heading {
    width: var(--pmb-production-heading-width-desktop, 84%);
    max-width: 100%;
    margin: 0;
    color: #333;
    font-family: Jost, Arial, sans-serif;
    font-size: var(--pmb-production-heading-desktop, 76rem);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: .455rem;
}

.pmb-production__lead {
    width: 843rem;
    max-width: 100%;
    margin: 0;
    color: rgba(51, 51, 51, .8);
    font-family: Jost, Arial, sans-serif;
    font-size: 28rem;
    line-height: 1.2;
    font-weight: 400;
}

.pmb-production__content {
    display: flex;
    flex-direction: column;
    gap: 40rem;
    width: 100%;
}

.pmb-production__tabs-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    width: 100%;
    min-width: 0;
}

.pmb-production__tabs-shell.has-overflow {
    grid-template-columns: 48rem minmax(0, 1fr) 48rem;
    gap: 12rem;
}

.pmb-production__tabs-viewport {
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
}

.pmb-production__tabs-viewport::-webkit-scrollbar {
    display: none;
}

.pmb-production__tabs {
    display: flex;
    align-items: center;
    gap: 19rem;
    width: max-content;
    min-width: 100%;
}

.pmb-production__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 58rem;
    flex: 0 0 auto;
    margin: 0;
    padding: 15rem 40rem;
    border: 0;
    border-radius: 100rem;
    appearance: none;
    background: #eef0f5;
    color: #333;
    font-family: Jost, Arial, sans-serif;
    font-size: 18rem;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: 2rem;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .24s ease, color .24s ease, box-shadow .24s ease;
}

.pmb-production__tab:first-child {
    min-width: 108rem;
    padding-inline: 25rem;
}

.pmb-production__tab.is-active {
    background: #ffb021;
    color: #000;
    font-weight: 400;
    box-shadow: 0 0 10rem rgba(38, 104, 231, .2);
}

.pmb-production__tab:focus-visible,
.pmb-production__tabs-arrow:focus-visible {
    outline: 2rem solid #ffb021;
    outline-offset: 3rem;
}

.pmb-production__tabs-arrow {
    display: none;
    width: 48rem;
    height: 48rem;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    appearance: none;
    background: #eef0f5;
    cursor: pointer;
    transition: opacity .2s ease, background-color .2s ease;
}

.pmb-production__tabs-shell.has-overflow .pmb-production__tabs-arrow {
    display: grid;
}

.pmb-production__tabs-arrow span {
    display: block;
    width: 16rem;
    height: 10rem;
    background: #333;
    -webkit-mask: url('../icons/acc-arrow.svg') center / contain no-repeat;
    mask: url('../icons/acc-arrow.svg') center / contain no-repeat;
}

.pmb-production__tabs-arrow--prev span {
    transform: rotate(90deg);
}

.pmb-production__tabs-arrow--next span {
    transform: rotate(-90deg);
}

.pmb-production__tabs-arrow:disabled {
    opacity: .28;
    cursor: default;
}

.pmb-production__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30rem;
    width: 100%;
    align-items: stretch;
}

.pmb-production__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 15rem;
    background: #fff;
    box-shadow: 0 19.231rem 38.462rem rgba(0, 0, 0, .1);
}

.pmb-production__card[hidden] {
    display: none !important;
}

.pmb-production__image-wrap {
    width: 100%;
    flex: 0 0 auto;
    aspect-ratio: 466 / 269;
    overflow: hidden;
    background: #eef0f5;
}

.pmb-production__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pmb-production__card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 20rem;
    width: 100%;
    padding: 0 30rem 30rem;
    margin-top: 30rem;
}

.pmb-production__card-title {
    width: 100%;
    margin: 0;
    color: #333;
    font-family: Jost, Arial, sans-serif;
    font-size: 24rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .4375rem;
}

.pmb-production__card-text {
    width: 100%;
    margin: 0;
    color: rgba(51, 51, 51, .8);
    font-family: Jost, Arial, sans-serif;
    font-size: 18rem;
    line-height: 1.4;
    font-weight: 400;
}

.pmb-production__empty {
    width: 100%;
    margin: 0;
    padding: 42rem 30rem;
    border-radius: 15rem;
    background: #eef0f5;
    color: #555;
    font-family: Jost, Arial, sans-serif;
    font-size: 18rem;
    line-height: 1.4;
    text-align: center;
}

.pmb-production__empty[hidden] {
    display: none !important;
}

@media (max-width: 1100px) and (min-width: 768px) {
    .pmb-production__container {
        width: 1510rem;
        max-width: calc(100% - 120rem);
        margin: 0 auto;
    }

    .pmb-production__heading {
        font-size: 64rem;
    }

    .pmb-production__grid {
        gap: 24rem;
    }
}

@media (max-width: 767px) {
    .pmb-production {
        padding-top: var(--pmb-production-pt-mobile, 50rem);
        padding-bottom: var(--pmb-production-pb-mobile, 50rem);
    }

    .pmb-production__container {
        width: auto;
        max-width: none;
        margin: 0 20rem;
    }

    .pmb-production__head {
        gap: 20rem;
        margin-bottom: 34rem;
    }

    .pmb-production__heading {
        width: var(--pmb-production-heading-width-mobile, 100%);
        max-width: 100%;
        font-size: var(--pmb-production-heading-mobile, 28rem);
        line-height: 1.14;
        letter-spacing: 0;
    }

    .pmb-production__lead {
        width: 100%;
        font-size: 16rem;
        line-height: 1.35;
    }

    .pmb-production__content {
        gap: 24rem;
    }

    .pmb-production__tabs-shell,
    .pmb-production__tabs-shell.has-overflow {
        display: block;
    }

    .pmb-production__tabs-arrow,
    .pmb-production__tabs-shell.has-overflow .pmb-production__tabs-arrow {
        display: none;
    }

    .pmb-production__tabs-viewport {
        width: calc(100% + 20rem);
        padding-right: 20rem;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }

    .pmb-production__tabs {
        gap: 10rem;
        min-width: 0;
        padding-right: 24rem;
    }

    .pmb-production__tab {
        height: 42rem;
        padding: 10rem 18rem;
        font-size: 12rem;
        letter-spacing: 1rem;
        scroll-snap-align: start;
    }

    .pmb-production__tab:first-child {
        min-width: 70rem;
        padding-inline: 18rem;
    }

    .pmb-production__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10rem;
    }

    .pmb-production__card {
        border-radius: 10rem;
        box-shadow: 0 10rem 20rem rgba(0, 0, 0, .1);
    }

    .pmb-production__card-body {
        gap: 8rem;
        padding: 0 12rem 14rem;
        margin-top: 12rem;
    }

    .pmb-production__card-title {
        font-size: 15rem;
        line-height: 1.2;
        letter-spacing: 0;
    }

    .pmb-production__card-text {
        font-size: 12rem;
        line-height: 1.35;
    }

    .pmb-production__empty {
        padding: 26rem 16rem;
        border-radius: 10rem;
        font-size: 14rem;
    }
}

/* v1.25: softer filtering + incremental reveal. */
.pmb-production__grid {
    transition: opacity .18s ease, transform .18s ease;
}

.pmb-production__grid.is-switching {
    opacity: .12;
    transform: translateY(5rem);
}

.pmb-production__card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .32s ease, transform .32s cubic-bezier(.2, .7, .2, 1), box-shadow .24s ease;
}

.pmb-production__card.is-entering {
    opacity: 0;
    transform: translateY(12rem);
}

.pmb-production__load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    min-width: 214rem;
    height: 58rem;
    margin: 10rem auto 0;
    padding: 15rem 40rem;
    border: 0;
    border-radius: 100rem;
    appearance: none;
    background: #eef0f5;
    color: #333;
    font-family: Jost, Arial, sans-serif;
    font-size: 18rem;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: .4rem;
    cursor: pointer;
    transition: background-color .22s ease, transform .22s ease;
}

.pmb-production__load-more:hover,
.pmb-production__load-more:focus-visible {
    background: #e2e5ec;
    transform: translateY(-1rem);
}

.pmb-production__load-more:focus-visible {
    outline: 2rem solid #ffb021;
    outline-offset: 3rem;
}

.pmb-production__load-more[hidden] {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .pmb-production__grid,
    .pmb-production__card,
    .pmb-production__load-more {
        transition: none;
    }
}

@media (max-width: 767px) {
    .pmb-production__load-more {
        min-width: 170rem;
        height: 42rem;
        margin-top: 4rem;
        padding: 10rem 22rem;
        font-size: 13rem;
    }
}
