@font-face {
    font-family: 'HeliosExt';
    src: url('../fonts/heliosext.woff2') format('woff2');
    font-weight: 400; /* Regular */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HeliosExt';
    src: url('../fonts/heliosext_bold.woff2') format('woff2');
    font-weight: 700; /* Bold */
    font-style: normal;
    font-display: swap;
}



/* roots */
:root{
    --bg: #211E1F;
    --txt: #F0F0E0;
    --txt-2: #9F9D91;
    --txt-second: #211E1F;

    --fnt-heliosext: 'HeliosExt', sans-serif;
    --fnt-fustat: 'Fustat', sans-serif;;
}




html {
  scroll-behavior: smooth;
}

body{
    background-color: var(--bg);
}

.home .section:last-child{
    margin-bottom: 120px;
}

.section-top{
    margin-top: 140px;
}

.padding-container{
    padding: 0 15px;
}

@media screen and (max-width: 768px) {
    .section-top{
        margin-top: 90px;
    }
}

.has-text-align-center{
    text-align: center;
}



/* header */

.header{
    position: relative;
    width: 100%;
}

.header-container{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 20px 15px;
}

.header-menu ul{
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-menu ul a{
    font-family: var(--fnt-fustat);
    font-weight: 400;
    line-height: 110%;
    color: var(--txt);
    transition: all .2s ease-in 0s;
}

.header-menu ul a:hover{
    opacity: .8;
}

.header-logo{
    max-width: 146px;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.header-logo img{
    width: 100%;
    height: auto;
    object-fit: cover;
}

.header-menu-right{
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-navigation-icons{
    display: flex;
    gap: 10px;
    align-items: center;
}

.navigation-icons-item{
    padding: 8px;
    width: 40px;
    height: 40px;
}

.navigation-icons-item a{
    width: 100%;
    height: 100%;
    display: block;
    content: '';
    position: relative;
}

.navigation-icons-item:first-child a{
    background: url(../img/icon-serach.svg) no-repeat center;
    background-size: cover;
}

.navigation-icons-item:last-child a{
    background: url(../img/icon-basket.svg) no-repeat center;
    background-size: cover;
}



@media screen and (min-width: 1100px) {
    .header-icon-clouse,
    .header-icon-open{
        display: none;
        opacity: 0;
        visibility: hidden;
    }
}

@media screen and (max-width: 1100px){
    .header{
        overflow-x: clip;
    }

    .header-icon-clouse{
        position: relative;
        top: 0;
        left: 90%;
        z-index: 11;
        display: block;
        width: 40px;
        height: 40px;
        content: '';
        background: url(../img/icon-clouse.svg) no-repeat center;
        background-size: cover;
        opacity: 0;
        transition: all .3s ease-in 0s;
    }

    .header-icon-clouse._open{
        opacity: 1;
    }

    .header-icon-open{
        position: relative;
        top: 30px;
        left: 6%;
        z-index: 10;
        display: block;
        width: 30px;
        height: 18px;
        content: '';
        background: url(../img/icon-open.svg) no-repeat center;
        background-size: cover;
    }

    .header::before{
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        content: '';
        display: block;
        width: 100%;
        height: 90px;
        background-color: var(--bg);
    }

    .header-container{
        position: absolute;
        right: -100%;
        top: 0;
        z-index: 10;
        width: 100%;
        height: 100%;
        min-height: 100vh;
        background-color: var(--bg);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 20% 0;
        transition: all .3s ease-in 0s;
    }

    .header-container._open{
        right: 0;
    }

    .header-menu ul{
        flex-direction: column;
        align-items: center;
    }

    .header-navigation-icons{
        display: none !important;
        opacity: 0;
        visibility: hidden;
    }
}

/* end header */






.section:not(:last-child){
    margin-bottom: 10px;
}

.container{
    max-width: 924px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}


.section-wide{
    width: 100%;
    height: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
}

.main-wide-img{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.main-top-bg{
    background: url(../img/Main_cart1.png) no-repeat;
    background-position: 0 0;
    background-size: cover;
}

.container-wide{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    width: 100%;
    flex: 1 1 auto;
    margin: 0 auto 5% auto;
    position: relative;
    z-index: 2;
}

.container-wide a {
    text-align: center;
    color: var(--txt);
}

.container-wide .main-title{
    font-size: 14px;
    font-family: var(--fnt-heliosext);
    font-weight: 700;
    padding-bottom: 10px;
}

.main-subtitle{
    font-size: 14px;
    font-family: var(--fnt-fustat);
    line-height: 110%;
    position: relative;
}

.main-subtitle::after{
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    content: '';
    background: url('../img/arrow-down.svg') no-repeat center;
    background-size: 100%;
    width: 26px;
    height: 26px;
    transition: all .2s ease-in 0s;
}

.container-wide a:hover .main-subtitle::after{
    bottom: -40px;
}




.section-wide-boxes{
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    gap: 10px;
}

.section-wide-box{
    flex: 0 1 50%;
    position: relative;
    display: flex;
}


.main-wide-img-box-1{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;

    width: 100%;
    height: 100%;
    background: url(../img/Main_cart2.png) no-repeat center;
    background-size: cover;
}

.main-wide-img-box-2{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;

    width: 100%;
    height: 100%;
    background: url(../img/Main_cart3.png) no-repeat center;
    background-size: cover;
}

.text-dark a {
    color: var(--txt-second)
}

.dark-icon::after{
    background: url('../img/arrow-down-dark.svg') no-repeat center;

}



.main-second-bg{
    background: url(../img/Main_cart4.jpg) no-repeat;
    background-position: 0 0;
    background-size: cover;
}

.main-third-bg{
    background: url(../img/Main_cart5.png) no-repeat;
    background-position: 0 100%;
    background-size: cover;
}

.main-fourth-bg{
    background: url(../img/Main_cart6.png) no-repeat;
    background-position: 0 35%;
    background-size: cover;
}

.main-fifth-bg{
      background: url(../img/Main_cart7.jpg) no-repeat;
    background-position: 0 35%;
    background-size: cover;
}




@media screen and (max-width: 960px) {
    .section-wide-boxes{
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .main-wide-img{
        background-position: 35% 0;
    }

    .main-second-bg {
        background-position: 20% 0;
    }



    
    .container-wide{
        margin: 0 auto 20% auto;
    }
}








/* page contacts */

.content-contacts{
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding: 0 15px;
}

.contact-items{
    flex: 0 1 50%;
    
    margin-right: 10%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.contact-navigation{
    flex: 0 1 50%;
}

.contacts-menu{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contacts-menu li a{
    color: var(--txt-2);
    font-size: 14px;
    font-family: var(--fnt-heliosext); 
    font-weight: bold;
}

.contacts-menu li.current-menu-item a{
    color: var(--txt);
}

.contacts-items-details{
    flex: 0 1 50%;
}

.contacts-details-title{
    color: var(--txt);
    font-size: 14px;
    font-family: var(--fnt-heliosext);
    font-weight: 700;
    margin-bottom: 40px;
}

.contact-item a,
.contact-item{
    color: var(--txt-2);
    font-family: var(--fnt-fustat);
    line-height: 110%;
    transition: all .2s ease-in 0s;
}

.contact-item a:hover{
    color: var(--txt);
}

.contact-item-socials{
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.contact-item-social{
    text-decoration: underline;
    text-transform: uppercase;
}


.contact-item:not(:last-child){
    margin-bottom: 12px;
}


.contacts-map{
    flex: 0 1 50%;
    width: 100%;
    min-height: 800px;
}


#map {
    width: 100%;
    /* height: 600px; */
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    filter: grayscale(100%);
}

#map [class*="ground-pane"] {
    filter: grayscale(100%);
    /* Дополнительно можно подкрутить контраст или яркость, если нужно:
        filter: grayscale(100%) contrast(1.1) brightness(0.9); */
}

.black-marker {
    width: 19px;
    height: 19px;
    background: #1a1a1a;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.5);
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
}

.black-marker::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #1a1a1a;
}


.black-marker:hover {
    transform: scale(1.2);
}


@media screen and (max-width: 960px) {
    .content-contacts{
        flex-wrap: wrap;
    }

    .contact-items{
        flex-wrap: wrap;
        flex: 1 1 100%;
        margin-right: 0;
    }

    .contacts-navigation{
        margin-bottom: 40px;
    }

    .contacts-details-title{
        display: none;
    }

    .contacts-map,
    .ymaps-2-1-79-map,
    .contacts-map{
        flex: 1 1 100%;
        width: 100% !important;
    }
}


/* end page contacts */






/* page return policy */

.container-center{
    display: grid;
    grid-template-columns: .3fr 1fr .3fr;
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 0px;

    color: var(--txt);
}

.container-center-content h1,
.container-center-content h2,
.container-center-content h3,
.container-center-content h4,
.container-center-content h5,
.container-center-content h6{
    margin-bottom: 30px;
    font-family: var(--fnt-heliosext);
    line-height: 120%;
}

.container-center-content h1{
    font-size: 14px;
}

.container-center-content h2,
.container-center-content h3,
.container-center-content h4,
.container-center-content h5,
.container-center-content h6{
    font-size: 12px;
}

.container-center-content p,
.container-center-content ol
.container-center-content ul{
    font-size: 14px;
    font-family: var(--fnt-fustat);
    margin-bottom: 15px;
    font-weight: 400;
    line-height: 160%;
}

.container-center-content ol li,
.container-center-content ul li{
    font-family: var(--fnt-fustat);
    line-height: 160%;
}


.container-center-content ol{
    margin-left: 25px;
}

.container-center-content ol,
.container-center-content ul{
    margin-bottom: 15px;
}

.container-center-content ul li{
    padding-left: 20px;
    position: relative;
}

.container-center-content ul li::after{
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 1;
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 10px;
    background-color: var(--txt);
}

@media screen and (max-width: 960px) {
    .container-center{
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        grid-column-gap: 0;
        grid-row-gap: 60px;
    }
}

/* end page return policy */




/* page about */

.section-abpout{
    justify-content: center;
    align-items: center;
}

.about-top-bg{
    background: url(../img/about-bg.png) no-repeat;
    background-position: 50% 0;
    background-size: contain;
}

.about-center-img{
    max-width: 924px;
    padding: 300px 0;
    margin: 0 auto;
}

.about-content-center{
    position: relative;
}

.about-center-text{
    position: absolute;
    bottom: 45%;
    right: 5%;
    z-index: 2;
    max-width: 250px;

    color: var(--txt);
    font-family: var(--fnt-heliosext);
    /* font-weight: 700; */
    font-size: 14px;
    line-height: 130%;
}

.media-view{
    width: 100%;

    display: grid;
    grid-template-columns: .7fr 1fr .7fr;
    grid-template-rows: 1fr;
    grid-column-gap: 70px;
    grid-row-gap: 0px;

}

.media-view-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-view-box:nth-child(1){
    margin-bottom: -100px;
}

.media-view-box:nth-child(2){
    position: relative;
}

.media-box-above-txt,
.media-box-below-txt{
    font-size: 14px;
    line-height: 140%;
    font-family: var(--fnt-heliosext);
    color: var(--txt);
    
    position: absolute;
    z-index: 2;
}

.media-box-above-txt{
    top: 24%;
    max-width: 340px;
    left: -40%;
}

.media-box-below-txt{
    bottom: 20%;
    right: -45%;
    max-width: 380px;
    width: 100%;
}

.media-view-box:nth-child(3){
        margin-top: -100px;
}


.section-m{
    margin: 300px 0;
}

.section-m .about-content-center{
    max-width: 740px;
    margin: 0 auto;
    color: var(--txt);
}

.about-title{
    font-size: 15px;
    font-family: var(--fnt-heliosext);
    text-align: center;
    font-weight: 700;
}

.about-subtitle{
    margin: 50px 0;
}

.about-subtitle,
.about-txt{
    font-family: var(--fnt-fustat);
    line-height: 135%;
}

.about-txt{
    text-align: center;
}


.exit{
    display: flex;
    flex-direction: column;
}

.title-exit{
    margin: 20px 0;
    text-align: center;

    font-size: 14px;
    font-family: var(--fnt-heliosext);
    color: var(--txt);
}

.subtitle-exit{
    font-size: 14px;
    font-family: var(--fnt-fustat);
    color: var(--txt);
    transition: all .2s ease-in 0s;
    text-align: center;
    cursor: pointer;
}

.subtitle-exit:hover::after{
    bottom: -40px;
}





@media screen and (max-width: 1500px) {
    .media-box-above-txt {
        left: -60%;
        top: 8%;
    }

    .media-box-below-txt{
        right: -75%;
        bottom: 6%;
    }
}



@media screen and (max-width: 768px) {
    /* .about-top-bg{
        background-position: 50% 0;
    } */

    .about-center-img{
        padding: 90px 0;
    }

    .about-center-text{
        bottom: 14%;
        left: 50px;
    }

    .media-view{
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
    }

    .media-view-box:nth-child(1){
        display: none;
        visibility: hidden;
        opacity: 0;
    }

    .media-view-box:nth-child(2){
        grid-area: 2 / 1 / 3 / 2;
        padding: 200px 0;
    }

    .media-box-above-txt {
        left: 0;
        top: 0;
    }

    .media-box-below-txt {
        right: 0;
        bottom: 130px;
        left: 0;
    }

    .media-view-box:nth-child(3){
        grid-area: 1 / 1 / 2 / 2;
        margin-top: 0;
        padding-left: 30px;
    }
    
    .section-m{
        margin: 200px 0 400px;
    }

    .about-subtitle{
        margin: 50px 0 30px;
    }

}





/* end page about */





/* start certificate */

.section-ser{
    margin-top: 180px;
    margin-bottom: 40px;
    color: var(--txt);
}

.title-ser,
.subimg-ser{
    font-family: var(--fnt-heliosext);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.subtitle-ser{
    margin: 20px auto 60px;
    font-family: var(--fnt-fustat);
    font-size: 14px;
    line-height: 135%;
    text-align: center;
}

.img-ser{
    width: 100%;
    margin-bottom: 60px;
}

.img-ser img{
    width: 100%;
    height: auto;
    object-fit: cover;
}


.certificate-section {
    font-family: var(--fnt-fustat);
    color: var(--txt);
  background-color: var(--bg);
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.certificate-form {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Заголовки */
.form-title,
.section-title,
.field-label {
  font-family: var(--fnt-heliosext);
  font-weight: 700;
}

.form-title,
.field-label {
  display: block;
  font-size: 14px;
  color: var(--txt);
  margin-bottom: 12px;
}

.section-title {
  font-size: 16px;
  margin-bottom: 24px;
}

.form-section-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Радиокнопки (Номинал) */
.nominal-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
  color: var(--txt);
  user-select: none;
}

.radio-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-custom {
  width: 12px;
  height: 12px;
  border: 1px solid var(--txt);
  border-radius: 50%;
  margin-right: 8px;
  display: inline-block;
  position: relative;
}

.radio-input:checked + .radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background-color: var(--txt);
  border-radius: 50%;
}

.custom-amount-wrap {
  flex-grow: 1;
  min-width: 200px;
}

/* Поля ввода (Input) */
.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--txt-2);
  color: var(--txt);
  font-family: var(--fnt-fustat);
  font-size: 14px;
  padding: 8px 0;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-bottom-color: var(--txt);
}

.form-input::placeholder {
  color: var(--txt-2);
  font-size: 13px;
}

/* Текстовое поле (Textarea) */
.textarea-wrapper {
  position: relative;
  border: 1px solid var(--txt-2);
  padding: 12px;
  border-radius: 0;
}

.form-textarea {
  width: 100%;
  height: 120px;
  background: transparent;
  border: none;
  color: var(--txt);
  font-family: var(--fnt-fustat);
  font-size: 13px;
  resize: none;
  outline: none;
}

.form-textarea::placeholder {
  color: var(--txt-2);
}

.char-counter {
  position: absolute;
  right: 12px;
  bottom: 8px;
  font-size: 11px;
  color: var(--txt-2);
}

/* Телефон (Код + Номер) */
.phone-group {
  display: flex;
  gap: 20px;
  align-items: flex-end;
}

.phone-code-field {
  width: 70px;
  flex-shrink: 0;
}

.phone-number-field {
  flex-grow: 1;
}

.select-wrapper {
  position: relative;
}

.form-select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--txt-2);
  color: var(--txt);
  font-family: var(--fnt-fustat);
  font-size: 14px;
  padding: 8px 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.select-wrapper::after {
  content: '∨';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: var(--txt-2);
  pointer-events: none;
}

.form-select option {
  background-color: var(--bg);
  color: var(--txt);
}

/* Подвал формы */
.form-footer {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.privacy-text {
  font-size: 11px;
  line-height: 1.5;
  color: var(--txt-2);
}

.submit-btn {
  width: 100%;
  background-color: #EFEFE4; /* Светло-кремовая заливка кнопки */
  color: var(--txt-second);
  border: none;
  padding: 16px 0;
  font-family: var(--fnt-fustat);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.submit-btn:hover {
  opacity: 0.9;
}

.btn-to-top{
    margin: 60px auto;
    font-family: var(--fnt-fustat);
    color: var(--txt);
    text-decoration: underline;
    text-transform: uppercase;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    display: block;
}

/* end certificate */








/* start atelie */

.section-atelie{
    
}

.title-atelie{
    font-family: var(--fnt-heliosext);
    font-size: 14px;
    margin-top: 100px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--txt);
    margin-bottom: 80px;
}

.subtitle-atelie{
    font-family: var(--fnt-heliosext);
    color: var(--txt-2);
    text-align: center;
    font-size: 14px;
    line-height: 140%;
}


.steps-atelie{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 40px;
    grid-row-gap: 50px;

    color: var(--txt);
}

.steps-atelie-item{
    max-width: 270px;
}

.steps-item-step{
    font-family: var(--fnt-fustat);
    font-size: 20px;
    color: var(--txt-2);
    margin-bottom: 5px;
}

.steps-item-title{
    font-family: var(--fnt-heliosext);
    font-weight: 700;
    line-height: 130%;
    margin-bottom: 40px;
    font-size: 12px;
}

.steps-item-text{
    font-family: var(--fnt-fustat);
    line-height: 140%;
    font-size: 14px;
}

.custom-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Заголовки полей */
.field-label {
  display: block;
  font-family: var(--fnt-heliosext);
  font-size: 14px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 8px;
}

.sub-label {
  display: block;
  font-size: 12px;
  color: var(--txt-2);
  margin-bottom: 8px;
}

/* Контейнер поля */
.form-field {
  display: flex;
  flex-direction: column;
}

/* Кнопка загрузки файла */
.upload-btn {
  display: inline-block;
  background-color: #EFEFE4;
  color: var(--txt-second);
  font-family: var(--fnt-fustat);
  font-size: 13px;
  padding: 8px 20px;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
  width: fit-content;
}

.upload-btn:hover {
  opacity: 0.9;
}

.file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

/* Плашка файла */
.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(240, 240, 224, 0.1);
  border: 1px solid var(--txt-2);
  color: var(--txt);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-family: var(--fnt-fustat);
}

.file-chip-name {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Кнопка удаления файла */
.file-chip-remove {
  background: none;
  border: none;
  color: var(--txt-2);
  font-size: 14px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.file-chip-remove:hover {
  color: var(--txt);
}

/* Общие стили для полей ввода со строкой снизу */
.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--txt-2);
  color: var(--txt);
  font-family: var(--fnt-fustat);
  font-size: 14px;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-bottom-color: var(--txt);
}

.form-input::placeholder {
  color: var(--txt-2);
  font-size: 13px;
}

/* Специфика поля телефона с флагом */
.phone-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--txt-2);
  padding-bottom: 6px;
}

.country-select {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  user-select: none;
}

.flag-icon {
  font-size: 18px;
  line-height: 1;
}

.arrow {
  font-size: 10px;
  color: var(--txt-2);
}

.phone-number-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-grow: 1;
}

.country-code {
  font-size: 14px;
  color: var(--txt);
  font-weight: 500;
}

/* Контейнер для двух колонок */
.phone-group {
  display: flex;
  gap: 24px;
  align-items: flex-end; /* Выравнивает линии по одной нижней оси */
}

/* Колонки */
.phone-code-field {
  width: 90px; /* Зафиксированная ширина под код со стрелкой */
  flex-shrink: 0;
}

.phone-number-field {
  flex-grow: 1;
}

/* Стилизация селекта под общий стиль полей */
.select-wrapper {
  position: relative;
  border-bottom: 1px solid var(--txt-2);
}

.form-select {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--txt);
  font-family: var(--fnt-fustat);
  font-size: 13px;
  padding: 8px 16px 8px 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* Кастомная маленькая стрелка v */
.select-wrapper::after {
  content: '';
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--txt-2);
  border-bottom: 1px solid var(--txt-2);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.form-select option {
  background-color: var(--bg);
  color: var(--txt);
}

/* Подвал формы */
.form-footer {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.privacy-text {
  font-size: 11px;
  line-height: 1.5;
  color: var(--txt-2);
}

.submit-btn {
  width: 100%;
  background-color: #EFEFE4;
  color: var(--txt-second);
  border: none;
  padding: 16px 0;
  font-family: var(--fnt-fustat);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.submit-btn:hover {
  opacity: 0.9;
}


@media screen and (max-width: 480px) {
    .steps-atelie{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-column-gap: 0;
        grid-row-gap: 40px;
    }

    .steps-atelie-item{
        max-width: 100%;
    }

    .steps-item-title {
        margin-bottom: 20px;
    }
}



/* end atelie */















/* start footer */

.container-footer{
    padding: 0 15px;
}

.footer-top{
    display: grid;
    grid-template-columns: .7fr .7fr .7fr 1fr;
    grid-template-rows: repeat(1, 1fr);
    grid-column-gap: 40px;
    grid-row-gap: 0px;

    margin-bottom: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--txt);
    color: var(--txt);
}

.footer-top-title{
    font-family: var(--fnt-heliosext);
    font-size: 20px;
    line-height: 130%;
    margin-bottom: 30px;
}

.footer-menu-left,
.footer-menu-right,
.footer-menu-policy{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-menu-left a,
.footer-menu-right a,
.footer-menu-policy a{
    font-family: var(--fnt-fustat);
    color: var(--txt);
    font-size: 14px;
}

.customers-top-menu{
    margin-bottom: 10px;
}

.customers-top-socials{
    display: flex;
    gap: 6px;
}

.top-socials-item{
    font-family: var(--fnt-fustat);
    font-size: 14px;
    text-transform: uppercase;
}

.top-socials-item a{
    color: var(--txt);
}

.dox-top-f{
    display: flex;
    flex-direction: column;
    gap: 54px;
}

.logo-top-f{
    width: 100%;
    display: block;
}

.logo-top-f .custom-logo-link{
    width: 100%;
}

.logo-top-f .custom-logo-link img{
    width: 100%;
    height: auto;
    object-fit: cover
}



.footer-bottom{
    padding-bottom: 50px;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--txt-2);
}

.footer-bottom{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-bottom-title:not(:last-child){
    margin-bottom: 16px;
}

.info-bottom-title,
.info-bottom-title a{
    font-family: var(--fnt-heliosext);
    color: var(--txt);
    font-size: 12px;
    line-height: 140%;
}

.info-bottom-title span{
    color: var(--txt-2);
}

.info-bottom-f-img{
    max-width: 390px;
}

.info-bottom-f-img{
    width: 100%;
    height: auto;
    object-fit: cover;
}

.footer-policy{
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--fnt-fustat);
    font-size: 12px;
    color: var(--txt-2);
    margin-bottom: 60px;
}


@media screen and (max-width: 960px) {
    .footer-top{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-column-gap: 0px;
        grid-row-gap: 40px;
    }

    .services-top-f{
        grid-area: 2 / 1 / 3 / 2;
    }
    .customers-top-f{
        grid-area: 3 / 1 / 4 / 2;
    }
    .dox-top-f{
        grid-area: 4 / 1 / 5 / 2;
        gap: 0;
    }
    .logo-top-f{
        grid-area: 1 / 1 / 2 / 2;
    }
}


/* end footer */




/* stert pravicy-policy */

.section-content-flex{
    margin: 120px 0;
    color: var(--txt);
    font-family: var(--fnt-fustat);
    font-size: 12px;
    line-height: 145%;    
}

.section-content-flex h1,
.section-content-flex h2{
    margin: 30px 0 20px;
}

.section-content-flex p{
    margin-bottom: 10px;
    line-height: 200%;
}

/* end pravicy-policy */









/* woocommerce */
.content-area-container{
    padding: 0 15px;
    margin: 60px 0;
}

.entry-summary-custom{
    color: var(--txt);
    font-family: var(--fnt-fustat);
}

.woocommerce-breadcrumb-custom,
.woocommerce-breadcrumb-custom a{
    font-family: var(--fnt-fustat);
    color: var(--txt) !important;
    margin-bottom: 40px !important;
}

.woocommerce-product-gallery-custom .flex-viewport{
    overflow: auto !important;
    height: auto !important;
}

.woocommerce-product-gallery__wrapper-custom{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.entry-title{
    font-size: 18px;
    margin-bottom: 5px;
}

.product-sku-custom{
    font-family: var(--fnt-fustat);
    margin-bottom: 20px;
    color: var(--txt-2);
}

.single-product .woocommerce-Price-amount{
    display: none;
}

.price-custom-wrap .woocommerce-Price-amount{
    color: var(--txt);
    margin-bottom: 10px;
    display: block;
    font-size: 16px;
}



.custom-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Кнопка */
.swatch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding: 6px 8px;

    background: transparent;
    color: var(--txt);
    border: 1px solid var(--txt);

    font-size: 14px;
    line-height: 120%;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    border-radius: 0;
}

.swatch-btn:hover {
    background: var(--txt);
    color: var(--txt-second);
}

.swatch-btn.selected {
    background: var(--txt);
    color: var(--txt-second);
}

.swatch-btn.disabled,
.swatch-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
    background: transparent;
    color: var(--txt-2);
    border-color: var(--txt-2);
}

/* Скрываем select */
.hidden-select,
.swatch-btn-hidden{
    display: none !important;
}


/* Таблица вариаций — вертикально */
.variations {
    width: 100%;
    border-collapse: collapse;
}

.variations tr {
    display: block;
    margin-bottom: 10px;
}

.variations th.label,
.variations td.value {
    display: block;
    padding: 0;
    text-align: left;
}

.variations th.label {
    font-weight: 600;
    color: var(--txt);
    font-size: 15px;
}

.variations .reset_variations {
    display: none !important;
}

.woocommerce div.product form.cart .variations label{
    font-size: 14px;
}

.woocommerce-variation-add-to-cart{
    margin-top: 20px;
    display: flex;
    flex-direction: row !important;
    gap: 8px;
}

.single_add_to_cart_button{
    background-color: var(--txt) !important;
    color: var(--txt-second) !important;
    font-size: 14px !important;
    line-height: 120% !important;
    padding: 10px 20px !important;
    transition: all .2s ease-in 0s;
    font-family: var(--fnt-fustat) !important;
    font-weight: 400 !important;
    text-transform: uppercase;
    flex: 0 1 30%;
}

.single_add_to_cart_button:hover{
    opacity: .9;
}

.custom-second-button{
    background-color: var(--bg) !important;
    color: var(--txt) !important;
    padding: 10px 20px !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    text-transform: uppercase;
    font-family: var(--fnt-fustat);
    display: flex !important;
    line-height: 120% !important;
    align-items: center;
    justify-content: center;
    /* flex: 0 1 50%; */
    border: 1px solid var(--txt) !important;
    transition: all .2s ease-in 0s;
}

.custom-second-button:hover{
    background-color: var(--txt) !important;
    color: var(--txt-second) !important;
    font-weight: 400 !important;
}

.woocommerce-tabs.wc-tabs-wrapper .wc-tabs,
.woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel,
#sidebar{
    display: none !important;   
}


@media screen and (max-width: 960px) {
    .woocommerce-variation-add-to-cart{
        flex-wrap: wrap;
    }

    .woocommerce div.product form.cart .button{
        flex: 1 1 100%;
    }
}

.woocommerce div.product form.cart div.quantity{
    display: none;
}





.size-chart-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.size-chart-modal.is-open {
    display: flex;
}

/* Затемнение */
.size-chart-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

/* Контент */
.size-chart-modal__content {
    position: relative;
    z-index: 1;
    max-width: 60vw;
    max-height: 60vh;
    background: var(--bg, #211E1F);
    padding: 20px;
    overflow: auto;
    display: flex;
    align-items: end;
    justify-content: center;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
    gap: 8px;
}

/* Картинка */
.size-chart-modal__content .size-chart-image,
.size-chart-modal__content img{
    max-width: 440px;
    height: auto;
    display: block;
}

/* Кнопка закрытия */
.size-chart-modal__close {
    width: 36px;
    height: 36px;
    background: transparent;
    color: var(--txt, #F0F0E0);
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.size-chart-modal__close:hover {
    background: var(--txt, #F0F0E0);
    color: var(--txt-second, #211E1F);
}

/* Блокируем скролл body, когда модалка открыта */
body.size-chart-modal-open {
    overflow: hidden;
}

/* Мобилка */
@media (max-width: 768px) {
    .size-chart-modal__content {
        padding: 12px;
        max-width: 100%;
        max-height: 56vh;
    }

    .size-chart-modal__close {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
}

.size-chart-link-wrap a{
    display: block;
    margin-bottom: 20px;
    color: var(--txt);
    font-family: var(--fnt-fustat);
    line-height: 120%;
    font-size: 14px;
    font-weight: 400;
}

.woocommerce-product-details__short-description{
    margin-bottom: 20px;
    line-height: 140%;
    font-family: var(--fnt-heliosext);
    font-size: 14px;
}

.delivery-return-links{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.delivery-return-links a{
    color: var(--txt);
    font-size: 14px;
    font-family: var(--fnt-fustat);
    font-weight: 400;
    position: relative;
    display: flex;
    gap: 30px;
}

.delivery-return-links a span svg{
    width: 15px;
    height: 15px;
}








.woocommerce ul.products li.product a img{
    height: 460px;
    width: auto;
    object-fit: cover;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.woocommerce ul.products li.product a img{
    margin-bottom: 0 !important;
}

.woocommerce-loop-product__title{
    font-family: var(--fnt-heliosext);
    font-size: 18px !important;
    color: var(--txt);
    line-height: 120%;
}

.post-type-archive .woocommerce-Price-amount{
    font-family: var(--fnt-fustat);
    color: var(--txt);
    font-size: 14px;
    line-height: 120%;
}


select.orderby {
    background-color: var(--bg) !important;
    color: var(--txt) !important;
    border-radius: 4px;
    padding: 8px 12px;
}

select.orderby option {
    background-color: var(--bg) !important;
    color: var(--txt) !important;
}

.woocommerce-result-count{
    display: none;
}


/* Контейнер фильтра */
.custom-filter-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    font-family: inherit;
}

/* Кнопка открытия */
.custom-filter-toggle {
    font-family: var(--fnt-heliosext);
    background: transparent;
    border: none;
    color: var(--txt, #ffffff);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.custom-filter-toggle .arrow-icon {
    transition: transform 0.3s ease;
    width: 10px;
}

.custom-filter-toggle.open .arrow-icon {
    transform: rotate(180deg);
}

/* Выпадающее меню */
.custom-filter-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    background-color: var(--bg, #1a1a1a);
    border: 1px solid #333;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 1000;
    padding: 15px;
}

.custom-filter-dropdown.show {
    display: block;
}

/* Скроллбар */
.filter-scroll-container {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 10px;
}

.filter-scroll-container::-webkit-scrollbar {
    width: 6px;
}
.filter-scroll-container::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 3px;
}

/* Группы фильтров */
.filter-group {
    margin-bottom: 20px;
}

.cat-link {
    display: block;
    color: var(--txt, #ccc);
    text-decoration: none;
    padding: 5px 0;
    font-size: 14px;
    transition: color 0.2s;
}

.cat-link:hover, .cat-link.active {
    color: #fff;
    font-weight: bold;
}

.filter-title {
    color: var(--txt, #fff);
    font-size: 15px;
    margin: 15px 0 10px 0;
    font-weight: 500;
}

/* Стилизация чекбоксов */
.custom-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--txt, #ccc);
    font-size: 14px;
    margin-bottom: 8px;
    cursor: pointer;
}

.custom-checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-box {
    width: 18px;
    height: 18px;
    border: 1px solid #666;
    background: transparent;
    display: inline-block;
    position: relative;
}

.custom-checkbox-label input[type="checkbox"]:checked + .checkbox-box {
    border-color: #fff;
    background: #fff;
}

.custom-checkbox-label input[type="checkbox"]:checked + .checkbox-box::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Кнопка "Применить" */
.apply-filter-btn {
    width: 100%;
    background: var(--txt, #fff);
    color: var(--bg, #000);
    border: none;
    padding: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
}

.custom-filter-toggle{
    font-family: var(--fnt-fustat);
    font-size: 14px;
}




/* cart */
.wp-block-woocommerce-cart{
    padding: 0 15px;
    margin: 100px 0;
    color: var(--txt);
    font-family: var(--fnt-fustat);
}

.wc-block-cart__main .wc-block-cart-items .wc-block-cart-item__image{
    width: 300px;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name{
    font-family: var(--fnt-heliosext) !important;
    font-size: 18px !important;
    color: var(--txt) !important;
    margin-bottom: 10px;
}

body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link){
    background-color: var(--txt) !important;
    color: var(--txt-second) !important;
    font-family: var(--fnt-fustat) !important;
    font-size: 14px !important;
    line-height: 120% !important;
}

.wc-block-components-sidebar-layout{
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
    color: var(--txt);
    align-items: center;
    margin: 100px 0;
}

.wc-block-components-sidebar-layout .wc-block-components-main{
    padding-right: 0 !important;
}

.wc-block-checkout__sidebar.is-sticky{
    padding-left: 0 !important;
    margin: 0 auto;
    width: 65%;
    position: relative !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__image{
    width: 200px;
    height: 200px;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__image>img{
    width: 100%;
    height: auto;
    max-width: 200px;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity{
    display: none;
}

@media screen and (max-width: 960px) {
    .is-mobile table.wc-block-cart-items .wc-block-cart-items__row{
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
    }

    .wc-block-cart__main .wc-block-cart-items .wc-block-cart-item__image{
        width: 100%;
        padding: 0;
        padding-right: 0 !important;
    }
}



/* =========================================================
   CHECKOUT — ОБЩИЙ ВИД
   ========================================================= */
.woocommerce-checkout .woocommerce{
    padding-left: 0 !important;
    margin: 0 auto 100px;
    width: 65%;
    position: relative !important;
    font-family: var(--fnt-fustat) !important;
}



.woocommerce-checkout {
    background: #211f20;
    color: #f5f0e8;
}

/* Основной контейнер */
.woocommerce-checkout .woocommerce {
    max-width: 100%;
}

/* Убираем стандартные заголовки WooCommerce */
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout #order_review_heading {
    display: none;
}

/* =========================================================
   КОЛОНКИ
   ========================================================= */

/* Делаем checkout одной колонкой */
.woocommerce-checkout #customer_details {
    display: block;
    width: 100%;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
    width: 100%;
    float: none;
}

/* =========================================================
   ПОЛЯ
   ========================================================= */

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Каждый form-row */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row {
    width: 100%;
    float: none;
    margin: 0 !important;
    padding: 0 !important;
}

/* Label */
.woocommerce-checkout .woocommerce-billing-fields label {
    display: flex;
    margin-bottom: 10px;

    color: #f5f0e8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
}

/* Звёздочка */
.woocommerce-checkout .woocommerce-billing-fields label .required {
    color: #f5f0e8;
}

/* =========================================================
   INPUT / SELECT / TEXTAREA
   ========================================================= */

.woocommerce-checkout .woocommerce-input-wrapper {
    display: block;
    width: 100%;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select.select,
.woocommerce-checkout textarea.input-text {
    box-sizing: border-box;

    width: 100%;
    height: 76px;

    padding: 0 28px;

    background: #211f20;
    color: #f5f0e8;

    border: 1px solid #aaa3a0;
    border-radius: 0;

    outline: none;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 400;
}

/* Placeholder */
.woocommerce-checkout input::placeholder,
.woocommerce-checkout textarea::placeholder {
    color: #8f8b88;
    opacity: 1;
}

/* Focus */
.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select.select:focus,
.woocommerce-checkout textarea.input-text:focus {
    border-color: #f5f0e8;
    box-shadow: none;
}

/* Select */
.woocommerce-checkout select.select {
    appearance: auto;
    cursor: pointer;
}

/* =========================================================
   СТРАНА
   ========================================================= */

.woocommerce-checkout .custom-country-select {
    margin-top: 0 !important;
}

/* Поле "Введите страну" */
.woocommerce-checkout .custom-country-name {
    margin-top: -10px !important;
}

/* Скрываем поле по умолчанию */
.woocommerce-checkout .custom-country-name {
    display: none;
}

/* Когда JS покажет */
.woocommerce-checkout .custom-country-name.is-visible {
    display: block;
}

/* =========================================================
   ТЕЛЕФОН
   ========================================================= */

.woocommerce-checkout #billing_phone_code_field,
.woocommerce-checkout #billing_phone_number_field {
    margin: 0 !important;
}

/*
 * Делаем два поля телефона одной строкой
 */
.woocommerce-checkout #billing_phone_code_field {
    width: 30% !important;
}

.woocommerce-checkout #billing_phone_number_field {
    width: 70% !important;
}

/*
 * Чтобы они были рядом,
 * объединяем через grid у родителя
 */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: flex;
    grid-template-columns: 1fr;
    gap: 28px;
}

/* Обычные поля */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper
> #billing_first_name_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper
> #billing_last_name_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper
> #billing_email_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper
> #billing_custom_country_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper
> #billing_custom_country_name_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper
> #billing_city_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper
> #billing_address_1_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper
> #billing_house_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper
> #billing_apartment_field {
    grid-column: 1 / -1;
}

/*
 * Телефон располагаем в две колонки
 */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper
> #billing_phone_code_field {
    grid-column: 1;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper
> #billing_phone_number_field {
    grid-column: 2;
}

/* На самом деле код + номер должны иметь свои пропорции */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 30% 70%;
    margin-bottom: 28px;
}

/*
 * Все обычные поля растягиваем на две колонки
 */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper
> #billing_first_name_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper
> #billing_last_name_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper
> #billing_email_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper
> #billing_custom_country_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper
> #billing_custom_country_name_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper
> #billing_city_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper
> #billing_address_1_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper
> #billing_house_field,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper
> #billing_apartment_field {
    grid-column: 1 / 3;
}

.woocommerce-checkout .form-row input.input-text, .woocommerce-checkout .form-row select, .woocommerce-checkout .form-row textarea{
    border: 0 !important;
    border-bottom: 1px solid var(--txt-2) !important;
}

/* =========================================================
   ДОСТАВКА / САМОВЫВОЗ
   ========================================================= */

.woocommerce-shipping-fields {
    margin-top: 40px;
}

/* Убираем "Доставка по другому адресу?" */
#ship-to-different-address {
    display: none;
}

.shipping_address {
    display: none !important;
}

/* =========================================================
   КУПОН
   ========================================================= */

.woocommerce-form-coupon-toggle {
    margin-bottom: 30px;
}

.woocommerce-info {
    background: transparent;
    border: 1px solid #aaa3a0;
    color: #f5f0e8;
}

/* =========================================================
   ЗАКАЗ
   ========================================================= */

#order_review {
    margin-top: 60px;
}

.woocommerce-checkout-review-order-table {
    background: transparent;
    color: #f5f0e8;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    border-color: #555 !important;
}

/* =========================================================
   КНОПКА
   ========================================================= */

.woocommerce-checkout #place_order {
    width: 100%;
    height: 70px;

    background: #f5f0e8;
    color: #211f20;

    border: 1px solid #f5f0e8;
    border-radius: 0;

    font-family: var(--fnt-fustat) !important;
    font-size: 20px;

    cursor: pointer;
}

.woocommerce-checkout #place_order:hover {
    background: transparent;
    color: #f5f0e8;
}

/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 700px) {

    .woocommerce-checkout .woocommerce-billing-fields label {
        font-size: 18px;
    }

    .woocommerce-checkout input.input-text,
    .woocommerce-checkout select.select,
    .woocommerce-checkout textarea.input-text {
        height: 64px;
        padding: 0 20px;
        font-size: 17px;
    }

    /* Телефон на мобильном */
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr;
    }

    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper
    > #billing_phone_code_field,
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper
    > #billing_phone_number_field {
        grid-column: 1;
        width: 100% !important;
    }
}


/* ==========================================
   СПОСОБ ПОЛУЧЕНИЯ
   ========================================== */

.custom-delivery-type {
    margin-bottom: 45px;
}

.custom-delivery-title {
    margin-bottom: 20px;

    font-size: 20px;
    line-height: 1.3;
    font-weight: 400;
}

.custom-delivery-options {
    display: flex;
    align-items: center;
    gap: 35px;
}

.custom-delivery-option {
    position: relative;

    display: flex;
    align-items: center;
    gap: 10px;

    cursor: pointer;

    font-size: 17px;
    line-height: 1.3;
}

.custom-delivery-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.custom-radio {
    width: 20px;
    height: 20px;
    border: 1px solid #777;
    border-radius: 50%;
    position: relative;
    box-sizing: border-box;
    display: block;
}

.custom-delivery-option input:checked + .custom-radio {
    border-color: #fff;
}

.custom-delivery-option input:checked + .custom-radio::after {
    content: '';

    position: absolute;

    width: 10px;
    height: 10px;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    background: #fff;
    border-radius: 50%;
}

#billing_custom_country {
    background-color: var(--bg) !important;
    color: var(--txt) !important;
    border-color: var(--txt);
}

#billing_custom_country option {
    background-color: var(--bg);
    color: var(--txt);
}


#billing_custom_country {
    background-color: var(--bg) !important;
    color: var(--txt) !important;
    border-color: var(--txt);
    color-scheme: dark;
}

#order_comments_field label {
    color: var(--txt) !important;
}

#order_comments_field label {
    color: var(--txt) !important;
}

#order_comments {
    background-color: var(--bg) !important;
    color: var(--txt) !important;
    border-color: var(--txt);
}

#order_comments::placeholder {
    color: var(--txt);
    opacity: 0.6;
}


.woocommerce table.shop_table{
    display: none;
}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment{
    background: var(--bg) !important;
}

.woocommerce-privacy-policy-link{
    color: var(--txt) !important;
    font-family: var(--fnt-fustat) !important;
    text-decoration: underline;
    display: block;
    margin-bottom: 20px;
}


/* мобильная версия */

@media (max-width: 600px) {

    .custom-delivery-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

}



/* search */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: start;
    justify-content: center;
    padding: 60px 0;

    font-family: var(--fnt-fustat);
    font-size: 14px;
    font-size: 14px;
    line-height: 120%;
}

.search-modal.active {
    display: flex;
}

/* Контейнер окна */
.search-modal-content {
    background: var(--bg);
    padding: 25px;
    border-radius: 12px;
    width: 100%;
    max-width: 60%;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.search-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--txt)
}

.search-modal-form{
    margin-top: 20px;
}

.search-modal-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--txt-2);
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    color: var(--txt);
    background: var(--bg);
}

/* Список результатов-ссылок */
.search-results-list {
    margin-top: 15px;
    max-height: 250px;
    overflow-y: auto;
}

.search-results-list a {
    display: block;
    padding: 10px;
    color: var(--txt);
    text-decoration: none;
    transition: background 0.2s;
}

.search-results-list a:not(:last-child) {
    border-bottom: 1px solid var(--txt-2);
}

.search-results-list .no-results {
    padding: 10px;
    color: #888;
    font-size: 14px;
}

/* Убираем крестик очистки в полях типа search */
#siteSearchInput::-webkit-search-decoration,
#siteSearchInput::-webkit-search-cancel-button,
#siteSearchInput::-webkit-search-results-button,
#siteSearchInput::-webkit-search-results-decoration {
    -webkit-appearance: none;
    display: none;
}
