:root {
  --buttons-gradient: linear-gradient(102deg, #F8E6A9 -44.68%, #BDA75D 175.28%);
  --shadow-color: rgba(255, 235, 165, 0.25);
  --border-color: rgba(255, 255, 255, 0.50);
  --accent: #FFEBA5;
  --header-bg: rgba(38, 38, 38, 0.90);
  --dark-accent: #343434;
  --text-color: #FFF;
  --main-font-family: "Open Sans", sans-serif;
  --secound-font-family: "Furore", sans-serif;
}

/* swap — шрифт всегда подгружается и подставляется после загрузки; fallback пока грузится */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans.ttf") format("truetype-variations");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Furore";
  src: url("../fonts/furore.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

section{
  position: relative;
  z-index: 1;
}

main{
  overflow: hidden;
  margin-top: 40px;
  @media(max-width: 999px){
    margin-top: 76px;
  }
}

body.has-mini-offer main{
  margin-top: 100px;
  @media(max-width: 999px){
    margin-top: 136px;
  }
}

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

.site-wrapper {
  display: flex;
  flex-direction: column;
}

.site-wrapper > header,
.site-wrapper > footer {
  flex: 0 0 auto;
}

.site-wrapper > main {
  flex: 0 0 auto;
}

body{
  font-family: var(--main-font-family);
  display: flex;
  flex-direction: column;
  background-color: var(--dark-accent);
}

.swiper{
  transition: .3s ease all;
}

/* До инициализации Swiper скрываем визуально, но место резервируем (min-height в критическом CSS) — меньше CLS на мобиле */
.swiper:not(.swiper-initialized) {
  opacity: 0;
  visibility: hidden;
  min-height: 1px;
}
.hero-slider .swiper:not(.swiper-initialized){min-height: 42vmin;}
.hero-slider .swiper{aspect-ratio:1170/488;max-height:min(488px,56vw);}
.mini-images-slider .swiper:not(.swiper-initialized){min-height: 140px;}
.recomended .swiper:not(.swiper-initialized){min-height: 320px;}
.recomended__image-wrapper{aspect-ratio:3/4;}

.swiper.swiper-initialized {
  opacity: 1;
  visibility: visible;
}

h1,
h2,
h3,
h6,
h5,
h4{
  font-family: var(--secound-font-family);
  letter-spacing: 0.06em;
}

.gradient-button{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid var(--accent);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%; /* 14px */
  text-transform: uppercase;
  padding: 0 15px;
  height: 45px;
  overflow: hidden;
  border-radius: 5px;
  position: relative;
}

.gradient-button::before{
  width: 100%;
  content: '';
  border-radius: 4px;
  transition: .3s ease all;
  background: var(--buttons-gradient);
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.gradient-button svg{
  position: relative;
  z-index: 2;
}

.bordered-button svg path,
.gradient-button svg path{
  transition: .3s ease all;
}

.gradient-button-text{
  position: relative;
  transition: .3s ease all;
  color: var(--dark-accent);
  z-index: 2;
}

.bordered-button{
  display: flex;
  border-radius: 5px;
  transition: .3s ease all;
  border: 1px solid var(--border-color);
  padding: 0 15px;
  color: #FFF;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%; /* 14px */
  text-transform: uppercase;
  justify-content: center;
  height: 45px;
  align-items: center;
  gap: 10px;
  background: transparent;
}

@media(hover: hover){
  .gradient-button:hover .gradient-button-text{
    color: var(--accent);
  }
  .gradient-button:hover::before{
    opacity: 0;
  }
  .gradient-button:hover svg path{
    fill: var(--accent);
  }
  .bordered-button:hover svg path{
    fill: var(--dark-accent);
  }
  .bordered-button:hover{
    border-color: var(--text-color);
    color: var(--dark-accent);
    background-color: white;
  }
}

.decoration-left,
.decoration-right{
  border-radius: 800px;
  background: rgba(255, 235, 165, 0.65);
  filter: blur(110px);
  position: absolute;
  width: 230px;
  height: 230px;
  z-index: 2;
  position: absolute;
}

.decoration-right{
  right: 0;
  transform: translate(90%, -50%);
  top: 50%;
}

.decoration-left{
  left: 0;
  transform: translate(-90%, -50%);
  top: 50%;
}

@media(min-width: 1450px){
  .decoration-right{
    transform: translate(10%, -50%);
  }
  .decoration-left{
    transform: translate(-10%, -50%);
  }
}

/* #wpadminbar{
  display: none !important;
}

html{
  margin: 0 !important;
} */

.woocommerce-message,
.woocommerce-notices-wrapper,
.woocommerce-error{
  text-align: center;
  margin: 20px 0;
  margin-bottom: 40px;
  color: white;
}