/* @import "./reset.css"; */
@import "./fonts.css";

/* @import "tailwindcss"; */

/* @theme {
  --font-Gilroy: 'Gilroy', sans-serif;
  --font-HandveticaNeue: 'handveticaNeue', sans-serif;
  --breakpoint-xs: 390px;
  --breakpoint-mini: 460px;
  --breakpoint-xsMobile: 540px;
  --breakpoint-mobile: 640px;
  --breakpoint-lgMobile: 768px;
  --breakpoint-smTablet: 860px;
  --breakpoint-tablet: 980px;
  --breakpoint-lgTablet: 1025px;
  --breakpoint-smDesktop: 1200px;
  --breakpoint-desktop: 1280px;
  --breakpoint-lgDesktop: 1440px;
  --breakpoint-xlDesktop: 1600px;
} */

html,
body {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  background: #fef7e5;
}

body {
  overflow-x: hidden;
}

button {
  cursor: pointer;
}

.wrapper {
  position: relative;
  overflow-x: hidden;
}

.btn-shape {
  -webkit-mask-image: url(../icons/btn-shape.svg); /* для Chrome/Safari */
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;

  mask-image: url(../icons/btn-shape.svg); /* для Firefox */
  mask-repeat: no-repeat;
  mask-size: cover;

  background: #fc302c;
}

.btn-shape-white {
  -webkit-mask-image: url(../icons/btn-shape.svg); /* для Chrome/Safari */
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;

  mask-image: url(../icons/btn-shape.svg); /* для Firefox */
  mask-repeat: no-repeat;
  mask-size: cover;

  background: #fef7e5;
}

.star-shape {
  -webkit-mask-image: url(../icons/star-shape.svg); /* для Chrome/Safari */
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;

  mask-image: url(../icons/star-shape.svg); /* для Firefox */
  mask-repeat: no-repeat;
  mask-size: cover;

  background: red;
}

.border-box.left,
.border-box.right {
  border-bottom: 1.5px solid #fc302c;
}

.border-box.top {
  border-top: 1.5px solid #fc302c;
}

.border-box.bottom {
  border-bottom: 1.5px solid #fc302c;
}

.border-box.lgRight {
  border-right: 1.5px solid #fc302c;
}


.border-box.center {
  border-bottom: 1.5px solid #fc302c;
  border-left: 1.5px solid #fc302c;
  border-right: 1.5px solid #fc302c;
}

.border-top-only {
  border-top: 1.5px solid #fc302c !important;
}

.border-bottom-only {
  border-bottom: 1.5px solid #fc302c !important;
  border-top: none !important;
}

.border-bottom-only-one {
  border-bottom: 1.5px solid #fc302c !important;
  border-top: none !important;
  border-right: 1.5px solid #fc302c !important;
}

.accordion {
  width: 100%;
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 90%;
  text-transform: uppercase;
  color: #fc302c;
  text-align: start;
  transition: all 0.3s ease;
  position: relative;
}

.accordion::before {
  content: url('../icons/arrow-red.svg');
  width: 17.5px;
  height: 9px;
  transition: all 0.3s ease;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.active-acc::before {
  transform: rotate(180deg);
}

.panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.tablinks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0.5;
  position: relative;
}

.tablinks.active-tab {
  position: relative;
  opacity: 1;
}

/* .tablinks.active-tab .tab-active-icon {
  display: block;
} */

.tablinks.active-tab::before {
  content: url('../icons/tab-active.svg');
  position:  absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  overflow: hidden;
}

.tabcontent {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 64px;
}

.input-form {
  width: calc(100% - 152px);
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 90%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fef7e5;
  box-sizing: border-box;
  padding-left: 16px;
  background: transparent;
}

.input-form::placeholder {
  color: #fef7e5;
}

.input-form:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.tablinks-catalog {
  border-radius: 8px;
  height: 48px;
  width: 25%;
  background: #fc302c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 90%;
  text-transform: uppercase;
  color: #fef7e5;
  cursor: pointer;
}

.tablinks-catalog.active-tabCatalog {
  border: 2px solid #fc302c;
  background: transparent;
  color: #fc302c;
}

.tablinks-box {
  border: 1.50px solid #fc302c;
  border-radius: 100%;
  width: 36px;
  height: 36px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 90%;
  text-transform: uppercase;
  color: #fc302c;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.active-tabBox {
  border: none;
  background: #fc302c;
  color: #fef7e5;
}

.tabcontent-box {
  position: relative;
}

.tablinks-boxText {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 90%;
  text-transform: uppercase;
  color: #fc302c;
}

.tablinks-boxText.active-tabBoxText {
  position: relative;
  width: fit-content;
}

.tablinks-boxText.active-tabBoxText::before {
  content: url('../icons/tab-active.svg');
  position:  absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  overflow: hidden;
}

.tabcontent-boxText {
  margin-bottom: 24px;
  margin-top: 33px;
  flex-direction: column;
  gap: 16px;
}

.btn-miniCart {
  border-radius: 8px;
  height: 40px;
  box-sizing: border-box;
  padding: 0px 12px;
  background: #fc302c;
  opacity: 0.5; /* по умолчанию выключена */
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 90%;
  text-transform: uppercase;
  color: #fef7e5;
  pointer-events: none; /* не кликается */
  transition: opacity 0.2s ease;
}

.btn-miniCart.active {
  opacity: 1; /* активная */
  pointer-events: auto;
}

.input-miniCart {
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 90%;
  letter-spacing: 0.02em;
  color: #fc302c;
  opacity: 0.5; /* по умолчанию */
  background: transparent;
  transition: opacity 0.2s ease;
}

.input-miniCart.filled {
  opacity: 1; /* как только текст введён */
}

.input-miniCart::placeholder {
  color: #fc302c;
  opacity: 0.5;
}

.input-miniCart:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}


/* Контейнер переключателя */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

/* Скрываем стандартный чекбокс */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Слайдер */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(252, 48, 44, 0.2);
  transition: 0.4s;
  border-radius: 26px;
}

/* Круглый бегунок */
.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: #fc302c;
  transition: 0.4s;
  border-radius: 50%;
}

/* Когда чекбокс активен */
input:checked + .slider {
  background-color: #fc302c;
}

input:checked + .slider:before {
  background-color: #fef7e5;
  transform: translateX(24px);
}

dialog::backdrop {
  backdrop-filter: blur(15px);
  background: rgba(160, 27, 25, 0.2);
}

.input-formOrder {
  border: 1px solid rgba(22, 22, 22, 0.2);
  border-radius: 12px;
  padding: 8px 16px;
  height: 48px;
  background: #fff;
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: #161616;
}

.input-formOrder2 {
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: #161616;
  position: relative;
}

.select-formOrder2 {
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: #161616;
  background: url(../icons/arrow-black.svg) no-repeat right 0px center;
  background-size: 24px 24px;
  appearance: none;        /* убираем стандартную стрелку */
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  outline: none;
  width: 100%;
  height: 100%;
}

.input-formOrder:focus,
.input-formOrder2:focus,
.textarea-formOrder:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.textarea-formOrder {
  border: 1px solid rgba(22, 22, 22, 0.2);
  border-radius: 12px;
  padding: 8px 16px;
  height: 96px;
  background: #fff;
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: #161616;
}

.input-formLogin {
  border-bottom: 1.50px solid #fc302c;
  padding: 8px 0px 20px 0px;
  width: 100%;
  height: 44px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 90%;
  letter-spacing: 0.02em;
  color: #222;
  background: transparent;
}

.input-formLogin:focus {
  border: none !important;
  border-bottom: 1.50px solid #fc302c !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-code {
  border-radius: 8px;
  padding: 0px 16px;
  width: 165px;
  height: 40px;
  background: #fc302c;
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 90%;
  text-transform: uppercase;
  color: #fef7e5;
}

.input-code {
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 90%;
  letter-spacing: 0.02em;
  color: #fc302c;
  opacity: 0.5;
  width: calc(100% - 200px);
  background: transparent;
}

.input-code::placeholder {
  color: #fc302c;
  opacity: 0.5;
}

.input-code:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Бургер меню */
.burger-checkbox {
  position: absolute;
  visibility: hidden;
}

.burger {
  cursor: pointer;
  display: block;
  position: relative;
  border: none;
  background: transparent;
  width: 20px;
  height: 12px;
  /* margin: 30px auto; */
}

.burger::before {
  content: "";
  left: 0;
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 10px;
  background: #fc302c;
}

.burger-bg-black::before {
  background: #fc302c !important;
  box-shadow: 0 11px 0 #fc302c !important;
  /* transition: box-shadow 0s 0s, top 0.3s 0.15s, transform 0.3s !important; */
}

.burger-bg-black::after {
  background: #fc302c !important;
}

.burger-checkbox:checked + .burger-bg-black::before {
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0) !important;
  /* transition: box-shadow 0s, top 0.3s, transform 0.3s 0.15s !important; */
}

.burger::after {
  content: "";
  right: 0;
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 10px;
  background: #fc302c;
}

.burger::before {
  top: -1px;
  box-shadow: 0 11px 0 #fc302c;
  transition: box-shadow 0s 0s, top 0.3s 0.15s, transform 0.3s;
}

.burger::after {
  bottom: 5.51563px;
  transition: bottom 0.3s 0.15s, transform 0.3s;
}

.burger-checkbox:checked + .burger::before {
  top: 5px;
  transform: rotate(45deg);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0s, top 0.3s, transform 0.3s 0.15s;
}

.burger-checkbox:checked + .burger::after {
  bottom: 5px;
  transform: rotate(-45deg);
  transition: bottom 0.3s, transform 0.3s 0.15s;
  width: 100%;
}

.active-header {
  top: 0px !important;
  transition: all 0.5s ease;
}
/* Бургер меню */

.marquee-container {
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 20s linear infinite;
}

.marquee-group {
  display: flex;
  gap: 30px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .accordion {
    font-size: 12px;
  }

  .accordion::before {
   content: url('../icons/arrow-redMob.svg');
  }

  .input-form {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .swiper-slide-gallery {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .btn-code,
  .btn-miniCart {
    font-size: 12px;
  }

  .input-formLogin,
  .input-code,
  .input-miniCart,
  .input-formOrder,
  .input-formOrder2,
  .textarea-formOrder {
    font-size: 14px;
  }
}

@media (max-width: 540px) {
  .tablinks-box {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  .tablinks-boxText {
    font-size: 14px;
  }

  .btn-code {
    width: 120px;
    padding: 0;
  }

  .input-code {
    width: calc(100% - 124px);
  }
}

@media (max-width: 390px) {
  .input-form {
    width: calc(100% - 124px);
  }
}

#weekly {
    scroll-margin-top: 500px; 
}

#weekly_mobile {
    scroll-margin-top: 425px; 
}
