.cf-page {
    --cf-brown: #433228;
    --cf-orange: #faa61a;
    --cf-sand: #ecd2ba;
    --cf-field: #f5f5f5;
    box-sizing: border-box;
    min-height: 760px;
    padding: 88px 20px 120px;
    background: var(--cf-sand);
    color: var(--cf-brown);
    font-family: Montserrat, Arial, sans-serif;
}

.cf-page *,
.cf-page *::before,
.cf-page *::after {
    box-sizing: border-box;
}

.cf-page__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.cf-page__title {
    margin: 0 0 76px;
    color: var(--cf-brown);
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.cf-tabs {
    position: relative;
    display: flex;
    gap: 40px;
    min-height: 48px;
    overflow-x: auto;
    scrollbar-width: none;
}

.cf-tabs::-webkit-scrollbar {
    display: none;
}

.cf-tabs__button {
    position: relative;
    flex: 0 0 auto;
    appearance: none;
    margin: 0;
    padding: 0 0 11px;
    border: 0;
    background: transparent;
    color: rgba(67, 50, 40, 0.7);
    font: 600 22px/1.5 Montserrat, Arial, sans-serif;
    cursor: pointer;
    transition: color 180ms ease;
}

.cf-tabs__button::after {
    display: none;
}

.cf-tabs__button:hover,
.cf-tabs__button.is-active {
    color: var(--cf-brown);
}

.cf-tabs__indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: block;
    height: 2px;
    background: var(--cf-brown);
    pointer-events: none;
    will-change: width, transform;
}

.cf-tabs__indicator.is-ready {
    transition:
        width 360ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cf-tabs__button:focus-visible,
.cf-form__submit:focus-visible,
.cf-check__input:focus-visible + .cf-check__box {
    outline: 2px solid var(--cf-brown);
    outline-offset: 3px;
}

.cf-tabs__button:focus,
.cf-tabs__button:focus-visible {
    outline: 0 !important;
    box-shadow: none !important;
}

.cf-field__control:focus,
.cf-field__control:focus-visible,
.cf-field__phone:focus-within {
    outline: 0 !important;
    box-shadow: none !important;
}

.cf-field__control::-webkit-contacts-auto-fill-button,
.cf-field__control::-webkit-credentials-auto-fill-button {
    position: absolute;
    right: 0;
    display: none !important;
    visibility: hidden;
    pointer-events: none;
}

.cf-panel[hidden] {
    display: none;
}

.cf-panels {
    position: relative;
    display: grid;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 30px;
    touch-action: pan-y;
}

.cf-panels.is-resizing {
    transition:
        height var(--cf-height-duration, 380ms)
        cubic-bezier(0.22, 1, 0.36, 1)
        var(--cf-height-delay, 60ms);
    will-change: height;
}

.cf-panel {
    grid-area: 1 / 1;
    min-width: 0;
}

.cf-panel.is-entering-from-right,
.cf-panel.is-entering-from-left,
.cf-panel.is-leaving-to-left,
.cf-panel.is-leaving-to-right {
    position: absolute;
    inset: 0;
    width: 100%;
}

.cf-panel.is-entering-from-right,
.cf-panel.is-entering-from-left {
    z-index: 2;
    border-radius: inherit;
    background: var(--cf-orange);
}

.cf-panel.is-leaving-to-left,
.cf-panel.is-leaving-to-right {
    z-index: 1;
}

.cf-panel.is-entering-from-right {
    animation: cf-panel-in-right 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cf-panel.is-entering-from-left {
    animation: cf-panel-in-left 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cf-panel.is-leaving-to-left {
    animation: cf-panel-out-left 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cf-panel.is-leaving-to-right {
    animation: cf-panel-out-right 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cf-panel-in-right {
    from {
        transform: translate3d(100%, 0, 0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes cf-panel-in-left {
    from {
        transform: translate3d(-100%, 0, 0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes cf-panel-out-left {
    from {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
    to {
        transform: translate3d(-50%, 0, 0);
        opacity: 0;
    }
}

@keyframes cf-panel-out-right {
    from {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
    to {
        transform: translate3d(50%, 0, 0);
        opacity: 0;
    }
}

.cf-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    min-height: 540px;
    overflow: hidden;
    border-radius: 30px;
    background: var(--cf-orange);
}

.cf-card__form-column {
    display: flex;
    align-items: center;
    padding: 45px 32px 45px 60px;
}

.cf-form {
    width: 100%;
    max-width: 480px;
}

.cf-form__fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cf-field {
    position: relative;
}

.cf-field__control,
.cf-field__phone {
    width: 100%;
    min-height: 60px;
    border: 1px solid transparent;
    border-radius: 133px;
    background: var(--cf-field);
    color: #433228;
    font: 500 18px/1.3 Montserrat, Arial, sans-serif;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.cf-field__control {
    display: block;
    padding: 17px 190px 17px 24px;
}

.cf-field__control::placeholder {
    color: rgba(67, 50, 40, 0.5);
    opacity: 1;
}

.cf-field__required {
    position: absolute;
    top: 50%;
    right: 24px;
    color: rgba(67, 50, 40, 0.2);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
    transform: translateY(-50%);
    pointer-events: none;
    transition: opacity 140ms ease;
}

.cf-field.has-value .cf-field__required {
    opacity: 0;
}

.cf-field__phone {
    display: flex;
    align-items: center;
    padding-left: 24px;
}

.cf-field__phone-prefix {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    color: rgba(67, 50, 40, 0.78);
    font-size: 18px;
}

.cf-field__flag {
    display: grid;
    width: 18px;
    height: 13px;
    overflow: hidden;
}

.cf-field__flag i:nth-child(1) { background: #fff; }
.cf-field__flag i:nth-child(2) { background: #0039a6; }
.cf-field__flag i:nth-child(3) { background: #d52b1e; }

.cf-field__control--phone {
    min-width: 0;
    min-height: 58px;
    padding: 16px 190px 16px 6px;
    border: 0;
    background: transparent;
    outline: 0;
}

.cf-field__control--textarea {
    min-height: 80px;
    resize: vertical;
    border-radius: 20px;
    padding-right: 24px;
}

.cf-field__control--select {
    appearance: none;
    cursor: pointer;
}

.cf-field.is-invalid .cf-field__control,
.cf-field.is-invalid .cf-field__phone {
    border-color: #dc1f26;
    background: #ffe4e4;
    color: #e75a5f;
    font-weight: 400;
}

.cf-field.is-invalid .cf-field__control {
    padding-right: 215px;
}

.cf-field.is-invalid .cf-field__control--phone {
    border: 0;
    background: transparent;
}

.cf-field.is-invalid .cf-field__control::placeholder {
    color: #e75a5f;
}

.cf-field.is-invalid .cf-field__required {
    display: none;
}

.cf-field__error {
    display: none;
}

.cf-field.is-invalid > .cf-field__error {
    position: absolute;
    top: 50%;
    right: 24px;
    display: inline-flex;
    gap: 20px;
    align-items: center;
    font-weight: 500;
    transform: translateY(-50%);
    pointer-events: none;
}

.cf-field__error-text {
    color: rgba(220, 31, 38, 0.7);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    opacity: 0.4;
    white-space: nowrap;
}

.cf-field__error-icon {
    display: block;
    width: 18px;
    height: 16px;
    flex: 0 0 auto;
}

.cf-form__checks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.cf-check {
    position: relative;
}

.cf-check__label {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    cursor: pointer;
}

.cf-check__input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.cf-check__box {
    position: relative;
    width: 14px;
    height: 14px;
    margin-top: 1px;
    border: 1px solid rgba(67, 50, 40, 0.8);
    border-radius: 3px;
}

.cf-check__input:checked + .cf-check__box::after {
    position: absolute;
    top: 2px;
    left: 4px;
    width: 4px;
    height: 7px;
    border: solid var(--cf-brown);
    border-width: 0 2px 2px 0;
    content: "";
    transform: rotate(45deg);
}

.cf-check__text {
    color: var(--cf-brown);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

#allrecords .cf-check__text a,
.cf-check__text a {
    color: var(--cf-brown) !important;
    font-weight: 600;
    text-decoration-line: underline !important;
    text-decoration-color: rgba(67, 50, 40, 0.72) !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px;
    transition: text-decoration-color 160ms ease, opacity 160ms ease;
}

#allrecords .cf-check__text a:hover,
.cf-check__text a:hover {
    opacity: 0.72;
    text-decoration-color: var(--cf-brown) !important;
}

.cf-check.is-invalid .cf-check__box {
    border-color: #dc1f26;
    background: #ffe4e4;
}

.cf-check.is-invalid > .cf-field__error {
    display: none !important;
}

.cf-check.is-invalid .cf-field__error-text {
    font-size: 11px;
}

.cf-form__submit {
    width: 100%;
    min-height: 60px;
    margin-top: 40px;
    padding: 16px 30px;
    border: 2px solid var(--cf-brown);
    border-radius: 56px;
    background: transparent;
    color: var(--cf-brown);
    font: 600 20px/1.2 Montserrat, Arial, sans-serif;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.cf-form__submit:hover {
    background: var(--cf-brown);
    color: #fff;
}

.cf-form__submit:active {
    transform: scale(0.99);
}

.cf-form__submit:disabled {
    cursor: wait;
    opacity: 0.65;
}

.cf-form__message {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.35;
}

.cf-form__message--success {
    color: #315b25;
}

.cf-form__message--error {
    color: #a41015;
}

.cf-card__visual {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    border-radius: 30px;
}

.cf-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cf-card__image--suppliers {
    object-position: 53% 65%;
}

.cf-card__image--media {
    object-position: 51% 44%;
}

.cf-card__image--wholesale {
    object-position: 52% 52%;
}

.cf-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.68) 100%);
}

.cf-card__description {
    position: absolute;
    right: 30px;
    bottom: 40px;
    left: 30px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
}

.cf-card__description a {
    color: inherit !important;
    font-weight: 700;
}

@media (max-width: 980px) {
    .cf-page {
        padding-top: 64px;
        padding-bottom: 84px;
    }

    .cf-page__title {
        margin-bottom: 48px;
    }

    .cf-tabs {
        gap: 28px;
    }

    .cf-tabs__button {
        font-size: 18px;
    }

    .cf-card {
        grid-template-columns: 1fr;
    }

    .cf-card__form-column {
        padding: 42px;
    }

    .cf-form {
        max-width: none;
    }

    .cf-card__visual {
        min-height: 420px;
    }
}

@media (max-width: 600px) {
    .cf-page {
        min-height: 0;
        padding: 48px 20px 64px;
    }

    .cf-page__title {
        margin-bottom: 34px;
        font-size: 28px;
        line-height: 1.08;
    }

    .cf-tabs {
        gap: 10px;
        overflow: visible;
    }

    .cf-tabs__button {
        flex: 1 1 0;
        min-width: 0;
        padding-bottom: 8px;
        font-size: 12px;
        line-height: 1.3;
        text-align: center;
        white-space: normal;
    }

    .cf-card {
        border-radius: 22px;
    }

    .cf-card__form-column {
        padding: 28px 20px 32px;
    }

    .cf-field__control,
    .cf-field__phone {
        min-height: 54px;
        font-size: 16px;
    }

    .cf-field__control {
        padding: 15px 20px;
    }

    .cf-field__required {
        display: none;
    }

    .cf-field__phone {
        padding-left: 20px;
    }

    .cf-field__control--phone {
        min-height: 52px;
        padding: 14px 18px 14px 6px;
    }

    .cf-field__control--textarea {
        min-height: 92px;
        border-radius: 18px;
    }

    .cf-field.is-invalid > .cf-field__error {
        position: static;
        justify-content: flex-end;
        gap: 8px;
        margin: 5px 18px 0;
        transform: none;
    }

    .cf-field.is-invalid .cf-field__control {
        padding-right: 20px;
    }

    .cf-field__error-text {
        color: #dc1f26;
        font-size: 12px;
        opacity: 1;
    }

    .cf-field__error-icon {
        width: 14px;
        height: 13px;
    }

    .cf-form__submit {
        min-height: 54px;
        margin-top: 28px;
        font-size: 16px;
    }

    .cf-card__visual {
        min-height: 330px;
        border-radius: 22px;
    }

    .cf-card__description {
        right: 20px;
        bottom: 24px;
        left: 20px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .cf-tabs__indicator.is-ready {
        transition-duration: 220ms;
    }

    .cf-card {
        display: block;
        min-height: 0;
    }

    .cf-card__visual {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cf-page *,
    .cf-page *::before,
    .cf-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
