@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,300;0,400;0,600;1,400&display=swap');
body {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    overflow-x: hidden;
}



.add-count, .minus-count, .product-name {
    cursor: pointer;
}

.error-sum {
    color: rgba(255, 0, 0, 1);
}

.title-href > a {
    text-decoration: none;
    color: #000000;
    cursor: pointer;

}
.title-href > a:hover {
    text-decoration: none;
    color: #000000;
    cursor: pointer;
}

.description {
    display: none;
    color: #666;
    font-weight: 300;
    line-height: 155%;
    letter-spacing: 0.05em;
    padding: 10px 0;
}
.description > b {
    padding-top: 15px;
    display: block;
    font-weight: 600;
    min-width: 100%;
    text-align: center;

}

.product-name:hover + .description {
  display: block;
  animation-name: open;
  animation-duration: 1s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  animation-delay: 0s;
}

.product-name + .description {
  display: block;
  animation-name: close;
  animation-duration: 1s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  animation-delay: 0s;
}
@keyframes open {
  0% {
    max-height: 0px;
    display: none;
    opacity: 0;
    visibility: hidden;
  }
  100% {
    max-height: 250px;
    display: block;
    visibility: visible;
    opacity: 1;
  }
}
@keyframes close {
  0% {
    max-height: 250px;
    display: block;
    opacity: 1;
    visibility: visible;
  }
  100% {
    max-height: 0px;
    display: none;
    opacity: 0;
    visibility: hidden;
   
  }
}

/* МОБАЙЛ */
@media (max-width : 1224px) {

    .button {  
        font-family: Montserrat;
        font-style: normal;
        transition: 500ms;
        width: 100%;
        height: 6vh;
        font-size: 2.6vh;
        line-height: 155%;
        text-align: center;
        letter-spacing: 0.08em;
        color: #000;
        background-color: #fff;
        border: 1px solid #000000;
        box-sizing: border-box;    
        cursor: pointer;
    }
    .button:hover {  
        color: #fff;
        background-color: #000;
        cursor: pointer;
    }
    .button:disabled {
        color: #BDBDBD;
        background-color: #fff;
        border: 1px solid #BDBDBD;
        cursor: not-allowed;
    }

    .first {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }
    
    .header {
        margin-top: 8vh;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: center;
        font-size: 3vh;
        line-height: 22px;
        letter-spacing: 0.18em;
    }
    .header > .logo {
        margin-top:5vh;
        margin-bottom:5vh;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header > .logo > img{
        width: 30%;
    }
    .header > .btn {
        display: none;
    }
    
    .main {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        font-size: 18px;
        line-height: 22px;
        letter-spacing: 0.05em;
    }
    .main > .text {
        max-width: 80%;
        font-style: normal;
        font-weight: 300;
        font-size: 3.5vh;
        line-height: 155%;
        /* or 74px */
        letter-spacing: 0.05em;
        margin-bottom:5vh
    }
    .main > .image {
        mix-blend-mode: multiply;
        max-width: 50%;  
    }
    .main > .image > img {
        object-fit: cover;
        max-width: 100%;  
    }
    
    .video  {
        display: none;
    }
    .video-mob  {
        margin-top: 10vh;
        margin-bottom: 15vh;
        display: block;
    }
    .second {
        margin-top: 10vh;
    }
    
    .options {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        font-size: 18px;
        line-height: 22px;
        letter-spacing: 0.05em;
    }
    .option {
        width: 80%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .option > img {
        width: 26%;
        margin-bottom: 2vh;
    }
    .option > span {
        font-style: normal;
        font-weight: 300;
        font-size: 3vh;
        line-height: 155%;
        text-align: center;
        letter-spacing: 0.05em;
    
        margin-bottom: 5vh;
    }
    
    .more-info {
        margin-top:10vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .more-info > .text {
        width: 80%;
        margin:auto;
    }
    .more-info > .text > h2 {
        margin-bottom: 2vh;
        font-size: 3vh;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #BDBDBD;
    }
    .more-info > .text > .desc {
        font-weight: 300;
        font-size: 2.4vh;
        line-height: 155%;
        letter-spacing: 0.05em;
    }
    
    
    
    .more-info > .text > .complect > h3 {
        margin-top: 3vh;
        font-size: 3vh;
        line-height: 155%;
        letter-spacing: 0.05em;
    }
    
    .more-info > .text > .complect > .complect-unit  {
        display: flex;
        align-items: center;
        margin-bottom: 2vh;
    }
    
    .more-info > .text > .complect > .complect-unit > .count {
        padding-left: 1vh;
        font-weight: 300;
        font-size: 2.4vh;
        line-height: 155%;
        letter-spacing: 0.05em;
        color: #BDBDBD;
    }
    .more-info > .text > .complect > .complect-unit > .name {
        padding-left: 0.8vh;
        font-weight: 300;
        font-size: 2.4vh;
        line-height: 155%;
        letter-spacing: 0.05em;
    }
    .more-info > .text > .complect > .complect-unit > img {
        width: 6vh;
        
    }
    .more-info > .text > .price > h3 {
       
        font-weight: 300;
        font-size: 2.8vh;
        line-height: 155%;
        letter-spacing: 0.05em;
        
    }
    .more-info > .text > .price > h3 > small {
        font-weight: 500;
        font-size: 2vh;
        line-height: 155%;
        letter-spacing: 0.05em;
        
    }
    .more-info > .image  {
        width: 80%;
        margin: 5vh auto;
    }
    .more-info > .image > img {
        width: 100%;
        mix-blend-mode: multiply;
    }

    .products-head {
        width: 80%;
        margin: 3vh auto 2vh auto;
        font-style: normal;
        font-weight: 300;
        font-size: 3vh;
        line-height: 155%;
        letter-spacing: 0.05em;
    }
    .products {
        width: 80%;
        margin: 2vh auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        font-size: 18px;
        line-height: 22px;
        letter-spacing: 0.05em;
    }
    
    .product {
        margin: 3vh 0vh;
        mix-blend-mode: multiply;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .product > img {
        object-fit: cover;
        width: 100%;     
    }
    .product > h3 {
        margin: 1vh 0vh;
        font-style: normal;
        font-weight: 300;
        font-size: 3vh;
        line-height: 155%;
        text-align: center;
        letter-spacing: 0.05em;
    }
    .product > span {
        margin-bottom: 1.5vh;
        font-style: normal;
        font-weight: 300;
        font-size: 2.8vh;
        line-height: 155%;
        text-align: center;
        letter-spacing: 0.05em;
    }
    .product > span > small {
        font-style: normal;
        font-weight: 300;
        font-size: 1.8vh;
        line-height: 155%;
        text-align: center;
        letter-spacing: 0.05em;
    }
    
    
    .galery {
        margin-top: 80px;
    }
    .galery > img {
        width: 50%;
    }
    
    .footer {
        width: 80%;
        margin: 5vh auto 20vh auto;
        display: grid;
        grid-template-areas: 
            "footer-text"
            "form"
            "ur-data";
        grid-template-rows: 1fr;
        grid-template-columns: 1fr;
        grid-gap: 5vh;
    }
    #footer-text {
        grid-area: footer-text;
    }
    #ur-data {
        grid-area: ur-data;
    }
    #footer-form {
        grid-area: form;
    }
    .footer > .text {
        display: flex;
        flex-direction: column;
    }
    .footer > .text > h3 {
        margin: 1vh 0;
        font-weight: 300;
        font-size: 3.5vh;
        line-height: 155%;
        letter-spacing: 0.05em;
       
    }
    .footer > .text > h5 {
        font-weight: 300;
        margin: 1vh 0;
        font-size: 2.5vh;
        line-height: 155%;
        letter-spacing: 0.05em;
    }
    .footer > .text > .market-text {
        font-weight: 300;
        font-size: 2.5vh;
        line-height: 155%;
        letter-spacing: 0.05em;
    }
    .footer > .text > .market-img {
        margin-top: 20px;
        margin-bottom: 100px;
        width: 350px;
    }
    .footer > .text > .ur-data {
        margin-bottom: 7px;
        font-size: 2vh;
        line-height: 155%;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #BDBDBD;
    }
    .footer > .text > .phone {
        margin-bottom: 20px;
        font-weight: 300;
        font-size: 3vh;
        line-height: 155%;
        letter-spacing: 0.05em;
    }
    .footer > .text > .ur-address {
        font-weight: 300;
        font-size: 1.7vh;
        line-height: 155%;
        letter-spacing: 0.05em;

        color: #BDBDBD;
    }
    
    .rules-link {
        margin-top: 3vh;
        font-size:2.2vh;
        line-height: 155%;
        letter-spacing: 0.12em;
        text-decoration: none;
        color: #BDBDBD;
        cursor: pointer;
    }
    .rules-link:hover {
        text-decoration: none;
        color: #000000;
        cursor: pointer;
    }
    .form {
    }
    .form > .inputs {
        width: 100%;
        margin: 1vh auto;
        height: 11vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-sizing: border-box;
    }
    .form > .inputs > input { 
        width: 100%;
        padding: 1.25vh;
        margin: 0 auto;
        font-size: 2vh;
        height: 5vh;
        border: 1px solid #000000;
        box-sizing: border-box;
    }.form > .inputs >  input::placeholder {
        font-weight: 300;
        font-size: 2vh;
        line-height: 155%;
        letter-spacing: 0.05em;
        color: #aaa;
    }
    .form > .inputs > .error input:invalid { 
        border: 1px solid red;
    }
    .form > .inputs > .error input:valid  { 
        border: 1px solid #000000;
    }
    .form > .address-input{    
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-sizing: border-box;
    }
    .form > .address-input > input { 
        width: 100%;
        margin: 0 auto 2vh auto;
        display: none;
        font-size: 2vh;
        padding: 1.25vh;
        height: 5vh;
        border: 1px solid #000000;
        box-sizing: border-box;
    }
    .form > .address-input > .error input:invalid { 
        border: 1px solid red;
    }
    .form > .address-input > .error input:valid  { 
        border: 1px solid #000000;
    }
    .form > .address-input >  input::placeholder {
        font-weight: 300;
        font-size: 2vh;
        line-height: 155%;
        letter-spacing: 0.05em;
        color: #aaa;
    }
    
   
    
    .form > .price > h3 {
        width: 100%;
        margin: 0 auto 2vh auto;
        font-family: Montserrat;
        font-style: normal;
        font-weight: 500;
        font-size: 2.6vh;
        line-height: 155%;
        letter-spacing: 0.05em;;
    }
    .form > .price > h3 > small {
        font-weight: 500;
        font-size: 2vh;
        line-height: 155%;
        letter-spacing: 0.05em;
    }
    .form > .payment-type > h4  {
        margin-top: 0px;
        font-family: Montserrat;
        font-style: normal;
        font-weight: 500;
        font-size: 2vh;
        line-height: 155%;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #BDBDBD;
        margin-bottom: 7px;
    }
    .form > .payment-type > .payment-types-radio{
        display: flex;
        flex-direction: column;
        margin-bottom: 1.5vh;
        justify-content: space-between;
    }
    
    .form_radio input[type=radio] {
        display: none;
    }
    
    .form_radio label {
        display: flex;
        cursor: pointer;
        position: relative;
        padding-left: 30px;
        margin-right: 0;
        line-height: 18px;
        user-select: none;
        font-family: Montserrat;
        font-style: normal;
        font-weight: 500;
        font-size: 2vh;
        line-height: 155%;
        letter-spacing: 0.05em;
        color: #000000;
    }
    
    .form_radio label > span{ 
        margin-left: 0.3vh;
        margin-top: 0.5vh;
        padding: 2px 4px 3px 4px;
        height: 100%;
        background-color: rgba(255, 0, 0, 0.2); /* 0.5 - полупрозрачный */
        word-wrap: break-word;
        font-family: Montserrat;
        font-style: normal;
        font-weight: 600;
        font-size: 1vh;
        line-height: 100%;
        letter-spacing: 0.05em;
        color: #FFFFFF;
    }
    
    .form_radio label:before {
        content: "";
        display: inline-block;
        height: 24px;
        width: 24px;
        position: absolute;
        left: 0;
        bottom: calc(1vh );
        background: url(/images/rb-1.svg) 0 0 no-repeat;
    }
    
    /* Checked */
    .form_radio input[type=radio]:checked + label:before {
        background: url(/images/rb-2.svg) 0 0 no-repeat;
    }
    .form_radio input[type=radio]:checked + label > span {
        background-color: rgba(255, 0, 0, 1);
    }
    /* Hover */
    .form_radio label:hover:before {
        filter: brightness(120%);
    }
    /* Disabled */
    .form_radio input[type=radio]:disabled + label:before {
        filter: grayscale(100%);
    }
    
    .form > button {
        transition: 300ms;
        width: 100%;
        height: 5vh;
        margin: 0 auto;
        font-size: 2vh;
        line-height: 155%;
        text-align: center;
        letter-spacing: 0.05em;
        color: #FFFFFF;
        background-color: #000000;
        border: 1px solid #000000;
        box-sizing: border-box;    
        cursor: pointer;
    }
    
    .form > button:disabled {
        color: #BDBDBD;
        background-color: #fff;
        border: 1px solid #BDBDBD;
        cursor: not-allowed;
    }
    
    #payed-modal {
        position: fixed;
        height: 40vh;
        width: 80vw;
        background-color: #fff;
        border: 1px solid #000;
        z-index: 1000;
        top: calc(50% - 20vh);
        left: calc(50% - 40vw);
    }
    #payed-modal > h1{
        width: 100%;
        margin-top: 2vh;
        font-size: 4vh;
        font-weight: 300;
        line-height: 155%;
        text-align: center;
        letter-spacing: 0.05em;
    }
    #payed-modal > h2{
        width: 100%;
        margin-top: 2vh;
        font-size: 2vh;
        font-weight: 300;
        line-height: 155%;
        text-align: center;
        letter-spacing: 0.05em;
    }
    #payed-modal > button {  
        transition: 300ms;
        width: 80%;
        height: 5vh;
        margin-left: calc(50% - 40%);
        margin-top: 2vh;
        font-size: 2vh;
        line-height: 155%;
        text-align: center;
        letter-spacing: 0.05em;
        color: #FFFFFF;
        background-color: #000000;
        border: 1px solid #000000;
        box-sizing: border-box;    
        cursor: pointer;
    }

    #page-cart {
        display: none;
        position: fixed;
        width: 100%;
        height: 15vh;
        background-color: rgba(255, 250, 230, 0.8);
        border: 1px solid #000;
        z-index: 1000;
        bottom: 0px;
        left: 0px;
    }

    #page-cart > .container {
        width: 80%;
        margin: 0 auto;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }
    .cart-div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #cart-second-inner-div {
        margin-bottom: 1.5vh;
    }
    .cart-div > div > span{
        padding-right: 10px;
        font-size: 2.5vh;
    }
    #page-cart-count {
        font-family: Montserrat;
        font-style: normal;
        font-size: 3vh !important;
        font-weight: 600;        
        line-height: 100%;        
        letter-spacing: 0.05em;
    }
    .cart-div > div > h3{
        display: inline-block;
        margin: 0;
        font-family: Montserrat;
        font-style: normal;
        font-weight: 600;
        font-size: 3vh !important;
        line-height: 100%;        
        letter-spacing: 0.05em;
    }
    #page-cart-btn {
        width: 100%;
    }

    .cart {
        margin-top: 5vh;
        width: 80%;
        margin: auto;
    }
   
    .cart > h1 {
       font-size: 3vh;
    }

    .cart-item {
        mix-blend-mode: multiply;
        display: grid;
        grid-template-areas: 
        "image"
        "head"
        "desc"
        "price"
        "count";
        grid-template-columns: 1fr;
        grid-gap: 1vh;
        padding-bottom: 4vh;
        margin-bottom: 2vh;
        border-bottom: 1px #BDBDBD solid;
    }
    .cart-item > img {
        object-fit: cover;
        height: 50vw;
        margin: 0 auto;
        grid-area: image;
    }
    .cart-item > h3 {
        width: 100%;
        text-align: center;
        font-weight: 300;
        line-height: 155%;
        font-size: 2.5vh;
        letter-spacing: 0.05em;
        grid-area: head;
    }
    .cart-item > span {
        width: 100%;
        text-align: center;
        color: #BDBDBD;
        grid-area: price;
        font-weight: 600;
        font-size: 3vh;
        line-height: 155%;
        letter-spacing: 0.05em;
    }
    .cart-item > .desc {
        color: #BDBDBD;
        width: 100%;
        text-align: left;
        grid-area: desc !important;
        font-weight: 300;
        font-size:  1.7vh;
        line-height: 155%;
        letter-spacing: 0.05em;
    }
    .cart-item > div {
        vertical-align: middle;
        font-weight: 300;
        font-size: 4vh;
        line-height: 155%;
        letter-spacing: 0.05em;
        grid-area: count;
        height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .cart-item > div > span {
        padding: 0px 1vh;
        font-weight: 300;
        font-size: 5vh;
        line-height: 155%;
        letter-spacing: 0.05em;
    }
    #cart-sum-cont {
        width: 100%;
        text-align: center;
        font-weight: 300;
        font-size: 4.5vh;
    }

}
/* ДЕСКТОП */
@media (min-width: 1224px) {
    /* Основные */

    .button {  
        font-family: Montserrat;
        font-style: normal;
        transition: 500ms;
        width: 100%;
        height: 50px;
        font-size: 18px;
        line-height: 155%;
        text-align: center;
        letter-spacing: 0.08em;
        color: #000;
        background-color: #fff;
        border: 1px solid #000000;
        box-sizing: border-box;    
        cursor: pointer;
    }
    .button:hover {  
        color: #fff;
        background-color: #000;
        cursor: pointer;
    }
    .button:disabled {
        color: #BDBDBD;
        background-color: #fff;
        border: 1px solid #BDBDBD;
        cursor: not-allowed;
    }


    section {
        padding: 0 calc(50% - 586px);
    }
    .first {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 18px;
        line-height: 22px;
        letter-spacing: 0.18em;
    }
    .header > .btn > a {
        text-decoration: none;
        color: #000000;
        cursor: pointer;

    }
    .header > .btn > a:hover {
        text-decoration: none;
        color: #000000;
        cursor: pointer;
    }
   
    


    .main {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 18px;
        line-height: 22px;
        letter-spacing: 0.05em;
    }
    .main > .text {
        max-width: 50%;
        font-style: normal;
        font-weight: 300;
        font-size: 48px;
        line-height: 155%;
        /* or 74px */
        letter-spacing: 0.05em;
    }
    .main > .image {
        mix-blend-mode: multiply;
        max-width: 50%;  
    }
    .main > .image > img {
        object-fit: cover;
        max-width: 100%;  
    }


    .video-mob  {
        display: none;
    }
    .second {
        margin-top: 120px;
    }

    .options {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 18px;
        line-height: 22px;
        letter-spacing: 0.05em;
    }
    .option {
        width: 28%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .option > img {
        max-width: 80px;
        margin-bottom: 50px;
    }
    .option > span {
        font-style: normal;
        font-weight: 300;
        font-size: 24px;
        line-height: 155%;

        /* or 37px */
        text-align: center;
        letter-spacing: 0.05em;
    }
    
    .more-info {
        margin-top: 140px;
        display: flex;
        justify-content: space-between;
    }
    .more-info > .text {
        width: 47%;
    }
    .more-info > .text > h2 {
        margin-top: 0px;
        margin-bottom: 25px;
        font-size: 18px;
        line-height: 22px;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #BDBDBD;
    }
    .more-info > .text > .desc {
        font-weight: 300;
        font-size: 24px;
        line-height: 155%;
        letter-spacing: 0.05em;
    }

    .more-info > .text > .complect > h3 {
        margin-top: 30px;
        font-size: 24px;
        line-height: 155%;
        letter-spacing: 0.05em;
    }

    .more-info > .text > .complect > .complect-unit  {
        display: flex;
        align-items: center;
        margin-bottom: 25px;
    }

    .more-info > .text > .complect > .complect-unit > .count {
        padding-left: 15px;
        font-weight: 300;
        font-size: 18px;
        line-height: 155%;
        letter-spacing: 0.05em;
        color: #BDBDBD;
    }
    .more-info > .text > .complect > .complect-unit > .name {
        padding-left: 5px;
        font-weight: 300;
        font-size: 18px;
        line-height: 155%;
        letter-spacing: 0.05em;
    }
    .more-info > .text > .complect > .complect-unit > img {
        width: 50px;
        
    }
    .more-info > .text > .price > h3 {
        margin-top: 10px;
        margin-bottom: 19px;
        font-weight: 300;
        font-size: 35px;
        line-height: 155%;
        letter-spacing: 0.05em;
        
    }
    .more-info > .text > .price > h3 > small {
        font-weight: 500;
        font-size: 22px;
        line-height: 155%;
        letter-spacing: 0.05em;
        
    }

    .more-info > .image > img {
        mix-blend-mode: multiply;
    }

    .products-head {
        margin-top: 80px;
        margin-bottom: 40px;
        font-style: normal;
        font-weight: 300;
        font-size: 35px;
        line-height: 155%;
        letter-spacing: 0.05em;
    }
    .products {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        font-size: 18px;
        line-height: 22px;
        letter-spacing: 0.05em;
    }
    
    .product {
        mix-blend-mode: multiply;
        width: 30%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .product > img {
        object-fit: cover;
        width: 100%;     
    }
    .product > h3, .product > div > h3 {
        margin: 10px 0px;
        font-style: normal;
        font-weight: 300;
        font-size: 30px;
        line-height: 155%;
        text-align: center;
        letter-spacing: 0.05em;
    }
    .product > span {
        margin-bottom: 15px;
        font-style: normal;
        font-weight: 300;
        font-size: 26px;
        line-height: 155%;
        text-align: center;
        letter-spacing: 0.05em;
    }
    .product > span > small {
        font-style: normal;
        font-weight: 300;
        font-size: 18px;
        line-height: 155%;
        text-align: center;
        letter-spacing: 0.05em;
    }
    


    .galery {
        margin-top: 80px;
    }
    .galery > img {
        width: 25%;
    }

    .footer {
        margin-top: 140px;
        margin-bottom: 100px;
        display: grid;
        grid-template-areas: 
            "footer-text"
            "ur-data";
            
        grid-template-rows: 1fr;
        grid-template-columns: 1fr;
        grid-gap: 0;
    }
    #footer-text {
        grid-area: footer-text;
    }
    #ur-data {
        max-height: 250px;
        grid-area: ur-data;
    }
    #footer-form {
        grid-area: form;
    }
    .text {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .text > h3 {
        font-weight: 300;
        font-size: 48px;
        line-height: 155%;
        letter-spacing: 0.05em;
        margin-bottom: 20px;
    }
    .text > h5 {
        font-weight: 300;
        font-size: 35px;
        line-height: 155%;
        letter-spacing: 0.05em;
        margin-top: 10px;
        margin-bottom: 100px;
    }
    .text > .market-text {
        font-weight: 300;
        font-size: 24px;
        line-height: 155%;
        letter-spacing: 0.05em;
    }
    .text > .market-img {
        margin-top: 20px;
        margin-bottom: 100px;
        width: 350px;
    }
    .text > .ur-data {
        margin-bottom: 7px;
        font-size: 18px;
        line-height: 22px;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #BDBDBD;
    }
    .text > .phone {
        margin-bottom: 20px;
        font-weight: 300;
        font-size: 28px;
        line-height: 155%;
        letter-spacing: 0.05em;
    }
    .text > .ur-address {
        font-weight: 300;
        font-size: 18px;
        line-height: 155%;
        letter-spacing: 0.05em;
        line-height: 22px;
        color: #BDBDBD;
    }

    .rules-link {
        margin-top: 25px;
        font-size: 22px;
        line-height: 22px;
        letter-spacing: 0.12em;
        text-decoration: none;
        color: #BDBDBD;
        cursor: pointer;
    }
    .rules-link:hover {
        text-decoration: none;
        color: #000000;
        cursor: pointer;
    }
    .form {
        margin-bottom: 100px;
    }
    .form > .inputs {
        width: 100%;
        margin: 0 auto;        
        display: flex;
        justify-content: space-between;
        box-sizing: border-box;
        margin-bottom: 25px;
    }
    .form > .inputs > input { 
       
        
        width: 49%;
        padding: 11px 15px;
        
        height: 50px;
        border: 1px solid #000000;
        box-sizing: border-box;
    }.form > .inputs >  input::placeholder {
        font-weight: 300;
        font-size: 18px;
        line-height: 155%;
        letter-spacing: 0.05em;
        color: #aaa;
    }
    .form > .inputs > .error input:invalid { 
        border: 1px solid red;
    }
    .form > .inputs > .error input:valid  { 
        border: 1px solid #000000;
    }
    .form > .address-input{    
        width: 100%;
        margin: 0px auto 25px auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-sizing: border-box;
    }
    .form > .address-input > input { 
        display: none;
        width: 100%;
        padding: 11px 15px;
        margin: 0 auto;
        height: 50px;
        border: 1px solid #000000;
        box-sizing: border-box;
    }
    .form > .address-input > .error input:invalid { 
        border: 1px solid red;
    }
    .form > .address-input > .error input:valid  { 
        border: 1px solid #000000;
    }
    .form > .address-input >  input::placeholder {
        font-weight: 300;
        font-size: 18px;
        line-height: 155%;
        letter-spacing: 0.05em;
        color: #aaa;
    }

    

    .form > .price > h3 {
        width: 100%;
        margin: 0 auto;
        font-family: Montserrat;
        font-style: normal;
        font-weight: 500;
        font-size: 24px;
        line-height: 155%;
        
        /* or 37px */
        letter-spacing: 0.05em;;
    }
    .form > .price > h3 > small {
        font-weight: 500;
        font-size: 18px;
        line-height: 155%;
        letter-spacing: 0.05em;
    }
    .form > .payment-type {
        margin-bottom: 25px;
    }
    .form > .payment-type > h4  {
        margin-top: 0px;
        font-family: Montserrat;
        font-style: normal;
        font-weight: 500;
        font-size: 18px;
        line-height: 155%;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #BDBDBD;
        margin-bottom: 7px;
    }
    .form > .payment-type > .payment-types-radio{
        display: flex;
        justify-content: space-between;
    }

    .form_radio input[type=radio] {
        display: none;
    }

    .form_radio label {
        display: flex;
        cursor: pointer;
        position: relative;
        padding-left: 30px;
        margin-right: 0;
        line-height: 18px;
        user-select: none;
        font-family: Montserrat;
        font-style: normal;
        font-weight: 500;
        font-size: 18px;
        line-height: 155%;
        letter-spacing: 0.05em;
        color: #000000;
    }

    .form_radio label > span{ 
        margin-left: 5px;
        margin-top: 2px;
        padding: 2px 4px 3px 4px;
        height: 100%;
        background-color: rgba(255, 0, 0, 0.2); /* 0.5 - полупрозрачный */
        word-wrap: break-word;
        font-family: Montserrat;
        font-style: normal;
        font-weight: 600;
        font-size: 11px;
        line-height: 100%;
        letter-spacing: 0.05em;
        color: #FFFFFF;
    }

    .form_radio label:before {
        content: "";
        display: inline-block;
        height: 24px;
        width: 24px;
        position: absolute;
        left: 0;
        bottom: 1px;
        background: url(/images/rb-1.svg) 0 0 no-repeat;
    }

    /* Checked */
    .form_radio input[type=radio]:checked + label:before {
        background: url(/images/rb-2.svg) 0 0 no-repeat;
    }
    .form_radio input[type=radio]:checked + label > span {
        background-color: rgba(255, 0, 0, 1);
    }
    /* Hover */
    .form_radio label:hover:before {
        filter: brightness(120%);
    }
    /* Disabled */
    .form_radio input[type=radio]:disabled + label:before {
        filter: grayscale(100%);
    }

    .form > button {
        transition: 300ms;
        width: 100%;
        height: 50px;
        margin: 0 auto;
        font-size: 18px;
        line-height: 155%;
        text-align: center;
        letter-spacing: 0.05em;
        color: #FFFFFF;
        background-color: #000000;
        border: 1px solid #000000;
        box-sizing: border-box;    
        cursor: pointer;
    }

    .form > button:disabled {
        color: #BDBDBD;
        background-color: #fff;
        border: 1px solid #BDBDBD;
        cursor: not-allowed;
    }

    #page-cart {
        display: none;
        position: fixed;
        width: 100%;
        height: 80px;
        background-color: rgba(255, 250, 230, 0.8);
        border: 1px solid #000;
        z-index: 1000;
        bottom: 0px;
        left: 0px;
    }

    #page-cart > .container {
        margin: 0 calc(50% - 586px);
        height: 80px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .cart-div {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }
    #cart-second-inner-div {
        min-width: 350px;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }
    .cart-div > div > span{
        padding-right: 5px;
        font-size: 25px;
    }
    #page-cart-count {
        font-family: Montserrat;
        font-style: normal;
        font-size: 35px !important;
        font-weight: 600;        
        line-height: 100%;        
        letter-spacing: 0.05em;
    }
    .cart-div > div > h3{
        font-family: Montserrat;
        font-style: normal;
        font-weight: 600;
        font-size: 35px;
        line-height: 100%;        
        letter-spacing: 0.05em;
    }
    #page-cart-btn {
        margin-left: 25px;
        width: 250px;
    }


    .cart {
        margin-top: 100px;
    }
   

    .cart-item {
        height: 150px;
        mix-blend-mode: multiply;
        display: grid;
        grid-template-areas: 
        "image head count"
        "image desc count"
        "image price count";
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-columns: 1fr 5fr 1fr;
        grid-gap: 8px;
        padding: 0px 30px 30px 30px;
    }
    .cart-item > img {
        object-fit: cover;
        height: 150px;
        grid-area: image;
    }
    .cart-item > h3 {
        margin: 0px;
        font-weight: 300;
        line-height: 155%;
        font-size: 20px;
        letter-spacing: 0.05em;
        grid-area: head;
    }
    .cart-item > span {
        color: #BDBDBD;
        grid-area: price;
        font-weight: 600;
        font-size: 18px;
        line-height: 155%;
        letter-spacing: 0.05em;
    }
    .cart-item > .desc {
        color: #BDBDBD;
        grid-area: desc !important;
        font-weight: 300;
        font-size: 16px;
        line-height: 155%;
        letter-spacing: 0.05em;
    }
    .cart-item > div {
        vertical-align: middle;
        font-weight: 300;
        font-size: 25px;
        line-height: 155%;
        letter-spacing: 0.05em;
        grid-area: count;
        height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .cart-item > div > span {
        padding: 0px 10px;
        font-weight: 300;
        font-size: 30px;
        line-height: 155%;
        letter-spacing: 0.05em;
    }
  
    

    #payed-modal {
        position: fixed;
        height: 50vh;
        width: 50vw;
        background-color: #fff;
        border: 1px solid #000;
        z-index: 1000;
        top: calc(50% - 25vh);
        left: calc(50% - 25vw);
    }
    #payed-modal > h1{
        width: 100%;
        margin-top: 7vh;
        font-size: 5vh;
        font-weight: 300;
        line-height: 155%;
        text-align: center;
        letter-spacing: 0.05em;
    }
    #payed-modal > h2{
        width: 100%;
        margin-top: 5vh;
        font-size: 2vh;
        font-weight: 300;
        line-height: 155%;
        text-align: center;
        letter-spacing: 0.05em;
    }
    #payed-modal > button {  
        transition: 300ms;
        width: 30%;
        height: 50px;
        margin-left: calc(50% - 15%);
        margin-top: 15vh;
        font-size: 18px;
        line-height: 155%;
        text-align: center;
        letter-spacing: 0.05em;
        color: #FFFFFF;
        background-color: #000000;
        border: 1px solid #000000;
        box-sizing: border-box;    
        cursor: pointer;
    }

    /* Бекграунды */
    #bg-1 {
        z-index: -1;
        position: absolute;
        width: 2846.93px;
        height: 1248.59px;
        left: -635.56px;
        top: -743.08px;

        background: linear-gradient(180deg, rgba(255, 248, 221, 0) 0%, #FFE47D 49.48%, rgba(255, 248, 221, 0) 100%);
        opacity: 0.2;
        transform: rotate(-7.26deg);
    }
    #bg-2 {
        z-index: -1;
        position: absolute;
        width: 2846.93px;
        height: 1173.85px;
        left: -484.52px;
        top: 781.68px;

        background: linear-gradient(180deg, rgba(255, 248, 221, 0) 0%, #FFE47D 49.48%, rgba(255, 248, 221, 0) 100%);
        opacity: 0.1;
        transform: rotate(3.52deg);
    }
    #bg-3 {
        z-index: -1;
        position: absolute;
        width: 2846.93px;
        height: 2006.97px;
        left: -377.5px;
        top: 1756px;

        background: linear-gradient(180deg, rgba(255, 248, 221, 0) 0%, #FFE47D 49.48%, rgba(255, 248, 221, 0) 100%);
        opacity: 0.1;
        transform: rotate(13.12deg);
    }

    #bg-4{
        z-index: -1;
        position: absolute;
        width: 2846.93px;
        height: 2006.97px;
        left: -377.5px;
        top: 3518px;
        background: linear-gradient(180deg, rgba(255, 248, 221, 0) 0%, #FFE47D 49.48%, rgba(255, 248, 221, 0) 100%);
        opacity: 0.2;
        transform: matrix(-0.97, 0.23, 0.23, 0.97, 0, 0);
    }
}