/* ================= flex ===================== */

._flex {
    display: flex;
}

.--al-it-center {
    align-items: center;
}

.--just-center {
    justify-content: center;
}

.--just-beet {
    justify-content: space-between;
}

.--just-start {
    justify-content: flex-start;
}

.--just-end {
    justify-content: flex-end;
}

.--just-around {
    justify-content: space-around;
}

.--al-it-start {
    align-items: flex-start;
}

.--al-it-end {
    align-items: flex-end;
}

.--al-it-str {
    align-items: stretch;
}

.--column {
    flex-direction: column;
}

.--height-100 {
    height: 100%;
}


/* +++++++++++++++ nav +++++++++++++++++ */

._aside ._nav a {
    display: inline-block;
}

header ._nav {
    margin-left: -1em;
}

header ._nav li {
    padding: 1em;
    display: inline-block;
}

._nav a,
._contacts a {
    display: inline-block;
    transition: .3s;
}

._nav li a,
body.home:not(.open-burger-aside, .open-burger-scroll) ._nav a:hover {
    opacity: .5;
}

._nav li.current-menu-item a,
._nav li a:hover,
body.home:not(.open-burger-aside, .open-burger-scroll) ._nav a{
    opacity: 1;
}
/* ++++++++++++++++++ button +++++++++++++++++++ */

button {
    cursor: pointer;
}

._btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: .3s;
    width: 15em;
    height: 2.8em;
    text-align: center;
    background-color: var(--green-color);
    color: var(--white-color);
    border: 0;
    border-radius: 5em;
    font-family: "Golos Text", sans-serif;
    font-weight: 500;
    font-size: 1em;
    cursor: pointer;
    overflow: hidden;
}

._btn:hover {
    opacity: .7;
}

._btn.--white {
    background-color: var(--white-color);
    color: var(--black-color);
    font-weight: 400;
    width: 17em;
}

/* ==================== burger ===================== */

._burger {
    display: none;
	position: relative;
	cursor: pointer;
	background-color: transparent;
	z-index: 250;
	cursor: pointer;
    margin-left: 1.5em;
}

._burger.--cross {
	width: 2.5em;
	height: 2em;
	right: 0;
    border: 0px;
}

body.home:not(.open-burger-aside, .open-burger-scroll) ._burger.--cross::before,
body.home:not(.open-burger-aside, .open-burger-scroll) ._burger.--cross::after,
body.home:not(.open-burger-aside, .open-burger-scroll) ._burger.--cross .__ins {
	background-color: var(--white-color);
}

._burger.--cross::before,
._burger.--cross::after,
._burger.--cross .__ins {
    content: '';
    position: absolute;
    height: 3px;
    left: 0;
    width: 2.5em;
    transition: all .3s;
    border-radius: 20px;
    background-color: var(--black-color);
}

._burger::before {
	top: .3em
}

._burger.--cross .__ins {
    top: 1em;
}

._burger::after {
	top: 1.7em;
}

._burger.--active {
	animation: popbars .5s 1 cubic-bezier(0.7, 0, 0.3, 1);
}

._burger.--active:before {
	top: 1em;
	transform: rotate(45deg);
}

._burger.--active::after {
	top: 1em;
	transform: rotate(-45deg);
}

._burger.--active.--cross .__ins {
    display: none;
}

@media(max-width: 900px) {
    ._burger {
        display: inline-block;
    }
}

/* +++++++++++++ cross ++++++++++++++ */

._cross {
	width: 1.5em;
	height: 1.5em;
	right: .3em;
	z-index: 250;
	cursor: pointer;
    position: relative;
    transition: .3s;
}

._cross::before,
._cross::after {
	content: '';
	position: absolute;
	height: .15em;
    border-radius: 2px;
	width: 2em;
    top:  .5em;
	transition: all .3s;
	background-color: var(--green-color);
	transform: rotate(45deg);
}

._cross::after {
	transform: rotate(-45deg);
}

._cross:hover {
    opacity: .7;
}

/* +++++++++++++++++ aside-menu ++++++++++++++++ */

._aside-menu {
	display: flex;
    position: fixed;
    flex-direction: column;
    background-color: var(--white-color);
    color: var(--dark-green-color);
    width: 100%;
    font-size: 1.2em;
    height: 100vh;
    top: 0;
    right: 0;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    overflow: auto;
    transition: all .3s;
    box-sizing: border-box;
    padding: 7em 1.5em 3em;
    overflow: auto;
}

._aside-menu.--active {
    opacity: 1;
    visibility: visible;
}

._aside-menu li {
    margin-bottom: 1em;
}

._aside-menu a {
    display: inline-block;
}

._aside-menu li ul li{
    margin-bottom: calc(var(--index) * .4);
}

._aside-menu ._nav {
	margin-top: calc(var(--index) * .7);
}

._aside-menu a {
    display: inline-block;
    align-items: center;
    margin-bottom: calc(var(--index) * .3);
    font-weight: 500;
}

._aside-menu ._contacts {
    margin-left: .5em;
}

body.dark_theme ._aside-menu {
    background-color: var(--brown-color);
}

body.dark_theme ._aside-menu a {
    color: var(--beige-color);
}

@media(max-width: 600px) {
    ._aside-menu {
        width: 100%;
    }

    ._aside-menu a {
        font-size: 1.3em;
    }
}

/* +++++++++++++++radio-button+++++++++++++++ */

._radio-grid {
    display: flex;
    position: relative;
}

._radio-grid label:first-child {
    margin-right: 2rem;
}

._radio-checkbox {
    display: flex;
    position: relative;
    align-items: center;
    margin-bottom: 1rem;
}

._radio-checkbox input[type="checkbox"],
._radio-checkbox input[type="radio"] {
    display: none;
}

._radio-checkbox input[type="checkbox"] + ._custom,
._radio-checkbox input[type="radio"] + ._custom {
    display: block;
    position: relative;
    width: 1.6em;
    height: 1.6em;
    border: 1px solid var(--black-color);
    cursor: pointer;
}

/* ._radio-checkbox input[type="checkbox"] + ._custom {
    border-radius: 0.3rem;
}

._radio-checkbox input[type="radio"] + ._custom {
    border-radius: 50%;
} */

._radio-checkbox input[type="checkbox"] + ._custom::after,
._radio-checkbox input[type="checkbox"] + ._custom::before {
/* ._radio-checkbox input[type="radio"] + ._custom::after { */
    content: " ";
    position: absolute;
    bottom: 0.8em;
    right: -0.3em;
    width: 2.2em;
    height: 1px;
    border-radius: inherit;
    cursor: pointer;
}

._radio-checkbox input[type="checkbox"]:checked + ._custom::after,
._radio-checkbox input[type="checkbox"]:checked + ._custom::before {
/* ._radio-checkbox input[type="radio"]:checked + ._custom::after { */
    background-color: var(--black-color);
    transform: rotate(45deg);
}

._radio-checkbox input[type="checkbox"]:checked + ._custom::after {
    transform: rotate(-45deg);
}

._radio-checkbox ._content {
    margin-left: 1em;
    width: 30vw;
}

@media (max-width: 900px) {
    ._radio-checkbox ._content {
        width: 70vw
    }
}

._radio-checkbox ._content a {
    font-size: inherit;
}

/* ++++++++++++++ modal ++++++++++++++++++++++ */

._modal {
    display: flex;
    align-items: flex-start;
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 5;
    transition: .3s;
    opacity: 0;
    visibility: hidden
}

._modal.show {
    opacity: 1;
    visibility: visible;
    z-index: 260;
    overflow-y: auto;
}

._modal ._fade {
    display: block;
    width: 100%;
    height: 100%;
    z-index: 6;
    background-color: rgba(36, 36, 36, 0.4);
    backdrop-filter: blur(0.35rem);
    position: fixed;
}

._modal ._item-modal {
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 202;
	overflow-y: auto;
}

._modal ._body {
    display: block;
    width: 25em;
    margin: 0 auto;
    background-color: var(--white-color);
    border-radius: 2em;
    position: relative;
    z-index: 300;
    padding: 2.5em;
    transition: .3s;
    transform: translateY(-10%) scale(1) scaleY(1.15);
    margin-top: 5em;
    margin-bottom: 5em;
}

._modal.show ._body {
    transform: translateY(0) scale(1) scaleY(1);
}

._modal.--regions input {
    display: none;
}

.__form-section .__heading,
._modal .__heading {
    font-size: 2em;
    font-weight: 700;
    font-family: "Bebas Neue", sans-serif;
}

/* ===============form========================= */

._form {
	position: relative;
    width: 100%;
}

._form .__label-name {
    color: var(--black-color);
    font-weight: 400;
    font-size: 1.2em;
}

._form.--modal {
    display: flex;
    flex-direction: column;
    align-items: center;
}

._form .__form-field {
    width: 100%;
}

._form .__form-field input,
._form .__form-field textarea {
    width: 100%;
    padding: 1em;
    height: 2.2em;
	background-color: transparent;
	resize: none;
    color: var(--dark-grey-color);
    border: 1px solid var(--black-color);
    font-size: 1.2em;
    font-family: "Golos Text", sans-serif;
}

._form .__form-field textarea {
    height: 8em;
}

._form p {
    font-size: .85em;
    margin-top: .5em;
}

._form ._btn {
    width: 100% !important;
    height: 2.2em;
    font-size: 1.2em;
}
/* +++++++++++++++++ btn-play ++++++++++++++++++ */

._btn-play {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    border: 3px solid var(--beige-color);
    border-radius: 50%;
    height: 120px;
    width: 120px;
    background-color: transparent;  
    transition: .3s;
    cursor: pointer;
}

._btn-play:hover {
    transform: scale(1.1);
}

._ins-play {
    height: 39px;
    right: 10px;
    position: relative;
    border-right: 3px solid var(--beige-color);
    border-radius: 2px;
}

._ins-play::before,
._ins-play::after {
    content: "";
    border-radius: 2px;
    height: 3px;
    width: 35px;
    position: absolute;
    background-color: var(--beige-color);
    transform: rotate(-33deg);
    bottom: 9px;
    left: -2px;
}

._ins-play::before {
    transform: rotate(33deg);
    top: 9px;
}

@media (max-width: 900px) {
    ._btn-play {
        height: 90px;
        width: 90px;
    }
}
/* ++++++++++++++++++ arrow ++++++++++++++++++ */

/* ._arrow {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    height: 4em;
    width: 4em;
    background-color: var(--white-color);  
    cursor: pointer;
    transition: .3s;
    font-size: calc(var(--index) * .6);
}

._arrow:hover {
    transform: scale(1.1);
}

._arrow ._ins-arrow,
._arrow ._ins-arrow::after,
._arrow ._ins-arrow::before {
    position: relative;
    border-radius: 1px;
    border-top: .22em solid var(--dark-green-color);
    width: 1.6em;
}

._arrow ._ins-arrow::after,
._arrow ._ins-arrow::before {
    content: "";
    right: -.1em;
    width: 1em;
    position: absolute;
}

._arrow ._ins-arrow::before {
    transform: rotate(45deg);
    bottom: .3em;
}

._arrow ._ins-arrow::after {
    transform: rotate(-45deg);
    top: .15em;
}

._arrow.--form ._ins-arrow {
    width: 20px;
}

._arrow.--form {
    height: 2.5rem;
    width: 2.5rem;
}

._arrow.--form ._ins-arrow::after,
._arrow.--form ._ins-arrow::before {
    width: 10px;
}

._arrow.--form ._ins-arrow::before {
    top: -3px;
}

._arrow.--form ._ins-arrow::after {
    top: 3px;
}

._arrow.--top {
    transform: rotate(-90deg);
    position: absolute;
    bottom: 0;
    right: 3em;
}

@media (max-width: 1200px) {
    ._arrow.--top {
        display: none;
    }
}

._arrow.--top:hover {
    transform: scale(1.1) rotate(-90deg);;
}

._arrow.--left {
    transform: rotate(180deg);
}

._arrow.--left:hover {
    transform: scale(1.1) rotate(180deg);
}

@media (max-width: 1200px) {
	._arrow.--top {
        right: 2em;
	}
}

@media (max-width: 900px) {
	._arrow.--top {
        right: 1.25em;
	}
} */

/* ================= cartquantity ============== */

._cartquantity,
._select-view {
    position: relative;
	display: inline-block;
	box-sizing: border-box;
	vertical-align: middle;
	width: 5em;
    background-color: transparent;
	transition: background 0.2s ease-out;
}

@media (max-width: 900px) {
    ._cartquantity,
    ._select-view {
        width: 4em;
    }
}

._select-view {
    background-image: url(/wp-content/themes/afina/assets/images/icons/arrow-bottom.svg);
    background-repeat: no-repeat;
    background-position: top 50% right 1.5vw;
    background-size: .8em;
    font-weight: 500;
    height: 1.8em;
    font-family: "Gilroy", sans-serif;
	text-align: center;
}

._cartquantity > input {
    height: 1.2em;
	display: inline-block;
	box-sizing: border-box;
	vertical-align: middle;
	text-align: center;
	border: 0;
    font-size: 1em;
	padding: 0em 0em;
    font-family: "Gilroy", sans-serif;
	color: inherit;
	background-color: transparent;
	transition: background 0.2s ease-out;
}

._cartquantity > input[name="quantity"]{
    width: 33%;
}

._cartquantity > input[name="minus"],
._cartquantity > input[name="plus"] {
	width: 33%;
    font-size: 1.5em;
}

._cartquantity > input[name="minus"], ._cartquantity > input[name="plus"]{
	cursor: pointer;
	background-color: transparent;
}

/* ._cartquantity > input[name="minus"]:hover, ._cartquantity > input[name="plus"]:hover{
	background-color: rgb(0 0 0 / 8%);
} */

/* =============== map ================== */
._map iframe {
    width: 100%;
    height: 100%;
}

/* =============== label ================== */
._label input[type=radio] {
    display: none;
}

/* =============== the_content  ================== */
._the_content *:first-child{
    margin-top: 0em;
}
._the_content *:last-child{
    margin-bottom: 0em;
}

._the_content h1, ._the_content h2, ._the_content h3, ._the_content h4, ._the_content h5, ._the_content h6{
    margin: 1.5em 0em 1.0em;
}

._the_content p{
    margin: 0.8em 0em;
}

/* ._the_content p:not(:first-of-type){ */
    /* margin-top: 1em; */
/* } */

._the_content ul{
    margin-top: 2em;
}

._the_content ul li{
    list-style: disc;
    margin-bottom: 1.5em;
}