:root {
    --black: #0c0c0d;
    --black-soft: #161617;
    --red: #E2231A;
    --red-dark: #A9160F;
    --red-light: #FF4438;
    --white: #ffffff;
    --grey-bg: #f3f2f1;
    --grey-line: #e2e0de;
    --grey-text: #6f6d6c;
    --ink: #17171a;
    --radius: 2px;
    --ease: cubic-bezier(.65, 0, .35, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.disp {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

button {
    font-family: inherit;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

.wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media(max-width:640px) {
    .wrap {
        padding: 0 20px;
    }
}

/* ---------- swallow motif (brand-derived divider) ---------- */
.swallow-rule {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--red);
}

.swallow-rule svg {
    flex: none;
}

.swallow-rule .line {
    height: 1px;
    flex: 1;
    background: var(--grey-line);
}



/* ---------- hero ---------- */
.hero {
    position: relative;
    background-image: url(https://dongfeng.by/wp-content/uploads/2026/09/desk_2.jpg);
    background-position: center bottom;
    background-size: cover;
    color: var(--white);
    overflow: hidden;
    padding: 86px 0 64px;
    height: 90vh;
}

@media (max-width: 750px) {
    .hero {
        background-image: url(https://dongfeng.by/wp-content/uploads/2026/09/mob_3.jpg);
        max-height: unset;
        height: 75vh;
    }
}



.hero .wrap {
    position: relative;
    z-index: 2;
}

.hero-crumb {
    font-size: 12px;
    color: white;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 26px;
    line-height: normal;
    display: flex;
    flex-direction: row;
}

.hero-crumb a {
    color: white;
}

.hero-crumb a:hover {
    color: var(--red-light);
}

.hero h1 {
    font-size: clamp(25px, 6vw, 50px);
    font-weight: 900;
    line-height: .98;
    max-width: 820px;
}

.hero h1 em {
    color: var(--red);
    font-style: normal;
}

.hero p.lead {
    margin-top: 22px;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.6;
    color: white;
}

.hero-swallows {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    opacity: .5;
    z-index: 1;
    pointer-events: none;
    display: none;
}

@media(max-width:900px) {
    .hero-swallows {
        display: none;
    }
}

/* ---------- filter bar ---------- */


.filter-band {
    position: relative;
    z-index: 4;
    background: var(--white);
    border-bottom: 1px solid var(--grey-line);
}

.car-filter-title {
    line-height: normal;
    margin-bottom: 7px;
}

.filter-row,
.car-filter-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 0;
    overflow-x: auto;
    scrollbar-width: none;
    flex-direction: column;
    width: 100%;
}

.filter-row button:hover,
.car-filter-row button:hover {
    background-color: black !important;
    color: white;
    border-color: unset;
}

.car-filter,
.category-filter {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.car-filter-row {
    padding-bottom: unset;
}

.filter-row::-webkit-scrollbar {
    display: none;
}

.chip,
.car-chip {
    flex: none;
    padding: 9px 18px;
    border: 1px solid var(--grey-line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--grey-text);
    background: var(--white);
    transition: all .2s var(--ease);
    white-space: nowrap;
}

.chip:hover,
.car-chip:hover {
    border-color: var(--red);
    color: var(--ink);
}

.chip.active,
.car-chip.active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.filter-count {
    margin-left: auto;
    flex: none;
    font-size: 12px;
    color: var(--grey-text);
    padding-left: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

@media(max-width:640px) {
    .filter-count {
        display: none;
    }
}

/* ---------- grid section ---------- */
section.grid-section {
    padding: 56px 0 100px;
    background: var(--grey-bg);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 34px;
    gap: 20px;
    flex-wrap: wrap;
}

.section-head h2 {
    font-size: 26px;
    font-weight: 800;
}

.section-head p {
    margin: 8px 0 0;
    color: var(--grey-text);
    font-size: 14px;
    max-width: 480px;
    line-height: normal;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media(max-width:1100px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:760px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media(max-width:460px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

.acc-card {
    background: var(--white);
    border: 1px solid var(--grey-line);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
    display: flex;
    flex-direction: column;
}

.acc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .28);
    border-color: var(--ink);
}

.acc-card .thumb {
    position: relative;
    aspect-ratio: 2.2/3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.acc-card .thumb svg {
    width: 46%;
    height: 46%;
    transition: transform .45s var(--ease);
    position: relative;
    z-index: 2;
}

.acc-card:hover .thumb svg {
    transform: scale(1.08) translateY(-0.5px);
}

.acc-card .thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, 0) 55%);
}

.acc-card .tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: rgba(12, 12, 13, .82);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
}

.acc-card .expand {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .15);
    transition: background .25s var(--ease), transform .25s var(--ease);
}

.acc-card:hover .expand {
    background: var(--red);
    transform: rotate(90deg);
}

/* крестик из двух CSS-полосок вместо svg */
.expand-plus {
    position: relative;
    width: 14px;
    height: 14px;
    flex: none;
}

.expand-plus::before,
.expand-plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--ink);
    transition: background .2s;
}

.expand-plus::before {
    width: 14px;
    height: 2px;
    margin: -1px 0 0 -7px;
}

.expand-plus::after {
    width: 2px;
    height: 14px;
    margin: -7px 0 0 -1px;
}

.acc-card:hover .expand-plus::before,
.acc-card:hover .expand-plus::after {
    background: var(--white);
}

.acc-card .body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.acc-card .model-line {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--red);
}

.acc-card h3 {
    font-size: 15px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.3;
}

.acc-card .desc {
    font-size: 13px;
    color: var(--grey-text);
    line-height: 1.5;
    flex: 1;
}

.acc-card .foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px dashed var(--grey-line);
}

.acc-card .price {
    font-size: 13px;
    font-weight: 700;
}

.acc-card .more {
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: .03em;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* thumb color themes */
.thumb.photo {
    background: #fbfbfa;
}

.thumb.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s var(--ease);
    position: relative;
    z-index: 2;
}

.acc-card:hover .thumb.photo img {
    transform: scale(1.06);
}

.thumb.t1 {
    background: linear-gradient(140deg, #232324, #0c0c0d);
}

.thumb.t2 {
    background: linear-gradient(140deg, #f6d3d1, #eab5b1);
}

.thumb.t3 {
    background: linear-gradient(140deg, #dedcda, #c7c4c1);
}

.thumb.t4 {
    background: linear-gradient(140deg, #2b2b2c, #171718);
}

.thumb.t5 {
    background: linear-gradient(140deg, #f1e4c9, #e2cf9f);
}

.thumb svg {
    stroke: var(--white);
}

.thumb.t2 svg,
.thumb.t3 svg,
.thumb.t5 svg {
    stroke: var(--ink);
}

/* ---------- drawer / card opening mechanic ---------- */
.backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, .55);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s var(--ease);
    z-index: 4;
    backdrop-filter: blur(2px);
}

@media (max-width: 600px) {
    .backdrop {
        background-color: white;
    }
}

.backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.drawer {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(880px, 92vw);
    max-height: 90vh;
    background: var(--white);
    z-index: 4;
    border-radius: 6px;
    transform: translate(-50%, -50%) scale(.94);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .35s var(--ease), opacity .3s var(--ease), visibility 0s linear .35s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 50px 90px -20px rgba(0, 0, 0, .4);
    overflow: hidden;
}

.drawer.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform .35s var(--ease), opacity .3s var(--ease), visibility 0s;
}

.drawer-scroll {
    overflow-y: auto;
    flex: 1;
    position: relative;
}

.drawer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--grey-line);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    transition: background .2s, border-color .2s;
}

.drawer-close:hover {
    background: var(--ink);
    border-color: var(--ink);
}

.drawer-close:hover svg {
    stroke: var(--white);
}

.drawer-close svg {
    width: 16px;
    height: 16px;
    stroke: var(--ink);
    transition: stroke .2s;
}


.drawer-gallery {
    position: relative;
    height: 570px;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 50%;
    margin: 0px auto;
    margin-bottom: 20px;
}

.drawer-gallery button:focus {
    background-color: unset !important;
}

.drawer-gallery svg {
    width: 30%;
    height: 30%;
    stroke: var(--white);
}

.drawer-gallery.has-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-media {
    display: contents;
}

.drawer-gallery .tag {
    position: absolute;
    top: 20px;
    left: 24px;
    background: var(--red);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    z-index: 4;
}

/* стрелки листания фото */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .2);
    padding: 12px;
    transition: background .2s, transform .2s;
}

.gallery-nav:hover {
    background: var(--white);
}

.gallery-nav.prev {
    left: -55px;
}

.gallery-nav.next {
    right: -55px;
}

.gallery-nav svg {
    width: 18px;
    height: 18px;
    stroke: var(--ink);
}

.gallery-nav[hidden] {
    display: none;
}

/* точки-пагинация под фото */
.gallery-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    flex: none;
    position: absolute;
    width: fit-content;
    bottom: 20px;
}

.gallery-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    padding: 0;
    border: none;
    background: var(--grey-line);
    transition: background .2s, transform .2s;
}

.gallery-dots button.active {
    background: var(--red);
    transform: scale(1.35);
}

.gallery-dots[hidden] {
    display: none;
}


.drawer-body {
    padding: 0px 30px 10px;
}

.drawer-model {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
}

.drawer-body h2 {
    font-size: 27px;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.15;
}

.drawer-price {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

.drawer-price span {
    font-size: 12px;
    font-weight: 600;
    color: var(--grey-text);
    text-transform: none;
    letter-spacing: 0;
    margin-left: 8px;
}

.drawer-desc {
    margin-top: 18px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #4a4948;
}

.drawer-desc .desc-paragraph {
    margin: 0 0 12px;
}

.drawer-desc .desc-paragraph:last-child {
    margin-bottom: 0;
}

.compat-block {
    margin-top: 24px;
}

.compat-block .label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--grey-text);
    margin-bottom: 10px;
    line-height: normal;
}

.compat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.compat-chips span {
    padding: 6px 12px;
    border: 1px solid var(--grey-line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.spec-list {
    margin-top: 22px;
    border-top: 1px solid var(--grey-line);
}

.spec-list li {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--grey-line);
    font-size: 13.5px;
}

.spec-list li .k {
    color: var(--grey-text);
}

.spec-list li .v {
    font-weight: 600;
    text-align: right;
}

.drawer-cta {
    display: flex;
    gap: 12px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 15px 26px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    transition: background .2s;
}

.btn-primary:hover {
    background: var(--red-dark);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--grey-line);
    padding: 15px 26px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    transition: border-color .2s, background .2s;
}

.btn-ghost:hover {
    border-color: var(--ink);
    background: var(--grey-bg);
}

.drawer-note {
    margin-top: 16px;
    font-size: 11.5px;
    color: var(--grey-text);
    line-height: 1.5;
}

.drawer-related {
    padding: 26px 30px 34px;
    background: var(--grey-bg);
}

.drawer-related .label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--grey-text);
    line-height: normal;
}

.related-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-top: 16px;
}

.related-item {
    flex: none;
    width: 150px;
    background: var(--white);
    border: 1px solid var(--grey-line);
    border-radius: 2px;
    overflow: hidden;
    transition: border-color .2s, transform .2s;
}

.related-item:hover {
    border-color: var(--ink);
    transform: translateY(-3px);
}

.related-item .rthumb {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-item .rthumb svg {
    width: 40%;
    height: 40%;
}

.related-item .rthumb.photo {
    background: #fbfbfa;
}

.related-item .rthumb.photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.related-item p {
    padding: 10px 10px 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

body.lock {
    overflow: hidden;
}

/* ---------- info strip ---------- */
.strip {
    background: var(--black);
    color: var(--white);
    padding: 54px 0;
}

.strip .wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

@media(max-width:760px) {
    .strip .wrap {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.strip-item {
    border-left: 2px solid var(--red);
    padding-left: 18px;
}

.strip-item h3 {
    font-size: 15px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.strip-item p {
    margin: 8px 0 0;
    font-size: 13px;
    color: #a9a8a7;
    line-height: 1.6;
}

@media(max-width:640px) {
    .drawer {
        width: 100%;
        max-height: 100%;
        height: 100%;
        top: 55px;
        left: 0;
        transform: translate(0, 0) scale(1) translateY(24px);
        border-radius: 0;
    }

    .drawer.open {
        transform: translate(0, 0) scale(1) translateY(0);
    }

    .drawer-gallery {
        height: 285px;
    }

    .hero {
        padding: 64px 0 44px;
    }

    .gallery-dots {
        bottom: 0px;
    }
}

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 6;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px 8px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    box-shadow: 0 10px 20px -6px rgba(0, 0, 0, .4);
    cursor: pointer;
    border: none;
    opacity: 1;
    transition: opacity .25s var(--ease), transform .2s var(--ease);
}

.scroll-hint:hover {
    transform: translateX(-50%) translateY(-2px);
    color: black;
    background-color: white;
    border: 1px solid black
}

.scroll-hint.hide {
    opacity: 0;
    pointer-events: none;

}

.scroll-hint svg {
    width: 14px;
    height: 14px;
    stroke: var(--white);
    flex: none;
    animation: hintBounce 1.4s ease-in-out infinite;
}

.scroll-hint:hover svg {
    stroke: black;
}

@keyframes hintBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(3px);
    }
}

.load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.load-more-wrap[hidden] {
    display: none;
}

.load-more-btn {
    background: var(--white);
    color: var(--ink);
    border: 1px solid var(--grey-line);
    padding: 15px 34px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}

.load-more-btn:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.load-more-btn #loadMoreCount {
    color: var(--grey-text);
    font-weight: 600;
    transition: color .2s var(--ease);
}

.load-more-btn:hover #loadMoreCount {
    color: #cfcecd;
}

.reset-filters-wrap {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.reset-filters-btn {
    background: transparent;
    color: var(--red);
    border: none;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s var(--ease);
}

.reset-filters-btn[hidden] {
    display: none;
}

.reset-filters-btn,
.service_btn {
    padding: 9px 18px;
    border: 1px solid var(--grey-line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: black;
    text-transform: uppercase;
    transition: .3s all ease-in-out;
}

.reset-filters-btn:hover,
.service_btn:hover {
    color: white;
    background-color: black;
    border: 1px solid black;
}


/* form */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 13, 30, 0.40);
    backdrop-filter: blur(8.999999046325684px);
    z-index: 10000;
    display: none;
    transition: all .5s ease;
    padding: 0 25px;
}

.overlay.open {
    display: block;
}


.overlayAcs {
    position: fixed;
    top: 0;
    background: rgba(3, 13, 30, 0.40);
    backdrop-filter: blur(8.999999046325684px);
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    transition: .1s all ease-in-out;
}

.overlayAcs.active {
    opacity: 1;
    visibility: visible;
    z-index: 4;
}

.containerForm {
    padding: 30px;
    max-width: 500px;
    width: 95%;
    background: #100F0F;
    opacity: 1;
    z-index: 120;
    transition: all .5s ease;
    box-shadow: 0px 0px 8px 7px rgba(20, 21, 21, 0.23);
    max-height: 85vh;
    overflow-y: auto;
    scrollbar-color: transparent #787A7A;
    scrollbar-width: thin;
    color: white;
    position: relative;
}

.close_modal-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.close_btn {
    display: block;
    cursor: pointer;
}

.close_btn::before,
.close_btn::after {
    content: '';
    position: absolute;
    top: 30px;
    right: 30px;
    display: block;
    width: 24px;
    height: 3px;
    background: white;
}

.close_btn::before {
    transform: rotate(45deg);
}

.close_btn::after {
    transform: rotate(-45deg);
}

.containerForm h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 20px 0 20px 0;
    line-height: 1.2;
    text-align: center;
    color: white;
}

.containerForm form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.containerForm input[type=date],
.containerForm input[type=email],
.containerForm input[type=number],
.containerForm input[type=password],
.containerForm input[type=search],
.containerForm input[type=tel],
.containerForm input[type=text],
.containerForm input[type=url],
.containerForm select,
.containerForm textarea {
    width: 100%;
    border: 1px solid #666;
    border-radius: 3px;
    padding: .5rem 1rem;
    transition: all .3s;
    min-height: 42px;
}

.containerForm .textError {
    line-height: normal;
    color: red;
    font-size: 14px;

    display: none;
    margin: unset;
    margin-top: 5px;
}

.containerForm .textError.active {
    display: block;
}

.containerForm button[type=submit] {
    width: 100%;
    height: 40px;
    background-color: white;
    border: none;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-image: none;
    font-size: 0.875rem;
    border: none;
    color: black;
}

.containerForm label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.containerForm label a:hover {
    color: white;
    text-decoration: underline;
}

.containerForm form p {
    line-height: normal;
}

.containerForm form textarea {
    max-height: 100px;
    resize: none;
}