@charset "UTF-8";
body {
  background: #101010;
  color: #fafafa;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  scroll-behavior: smooth;
  font-weight: 500;
  padding-top: 20px;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 767px;
  margin: 0 auto;
}

main {
  flex-grow: 1;
  background: #101010;
}

.container {
  max-width: 767px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  margin-bottom: 15px;
}

.header {
  padding-top: 15px;
  padding-bottom: 15px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background: #101010;
  margin-bottom: -1px;
}

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

.header-block {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header-block img {
  max-width: 60px;
}

.header-burger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: all 1.7s;
}

.header-burger.active {
  opacity: 0;
}

.slider {
  margin-bottom: 20px;
  transition: opacity 0.3s ease;
}

.header-burger span {
  width: 24px;
  height: 2px;
  border-radius: 40px;
  background: #fafafa;
}

.swiper-slider .swiper-slide {
  /* height: auto; */
  position: relative;
  transition: all 0.3s;
}

.swiper-slider .swiper-slide img {
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

section.slider .swiper-slider .swiper-slide img {
  aspect-ratio: 2.04;
}
section.slider .swiper-slider .swiper-slide {
  aspect-ratio: 2.04;
}
/* .swiper-slider .swiper-slide.swiper-slide-prev {
  transform: scale(0.9);
}

.swiper-slider .swiper-slide.swiper-slide-next {
  transform: scale(0.9);
} */

.slide-pagination {
  position: absolute;
  bottom: 10px;
  right: 10px;
  left: auto !important;
  text-align: right;
  z-index: 10;
  max-width: -moz-fit-content;
  max-width: fit-content;
  display: flex;
}

.pagination-item {
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  margin: 0 2px;
  border-radius: 50%;
  background: #41ab6e;
  display: block;
}

.pagination-item.active {
  background: #fafafa;
  width: 10px;
  border-radius: 20px;
  background: #41ab6e;
}

.catalog-title {
  margin-bottom: 10px;
}

.catalog-category {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.catalog-category-item img {
  height: 220px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 20px;
}

.catalog-category-name {
  padding: 5px 10px;
  text-align: center;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  position: relative;
}

.catalog-category-name span {
  z-index: 3;
  position: relative;
  color: #fafafa;
}

.catalog-category-item {
  display: flex;
  flex-direction: column;
}

.catalog-category-name::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 10px; /* высота размытой области — ровно 5 px */
  background: inherit;
  filter: blur(5px); /* степень размытия — можно регулировать */
  z-index: 0; /* размещает размытый слой под текстом */
}

.catalog {
  padding-bottom: 70px;
}

.footer {
  padding-top: 20px;
  background: #181818;
  padding-bottom: 130px;
}

.footer.cart-visible {
  padding-bottom: 140px;
}

.footer-wrapper {
  display: flex;
  gap: 20px;
}

.footer-socials-links img {
  max-width: 40px;
  border-radius: 100%;
}

.footer-links-text {
  margin-bottom: 10px;
}

.footer-links-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-block a {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-links-block img {
  max-width: 20px;
}

.footer-socials-text {
  margin-bottom: 10px;
}

.messenger-vidjet {
  position: fixed;
  bottom: 20px;
  left: 15px;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background: #41ab6e;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  z-index: 1000;
  transition: all 0.3s;
  animation: widthVidjet 5s infinite forwards linear;
}

@keyframes widthVidjet {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
.messenger-vidjet img {
  max-width: 20px;
}

.messenger-vidjet.cart-visible {
  bottom: 80px;
}

#scrollToTop.cart-visible {
  bottom: 80px;
}

#scrollToTop {
  position: fixed;
  bottom: 20px;
  right: 15px;
  z-index: 1000;
  width: 40px;
  height: 40px;
  border: none;
  outline: none;
  background: #41ab6e;
  color: #fafafa;
  cursor: pointer;
  border-radius: 50%;
  font-size: 20px;
  box-shadow: 0 0px 15px #5bb882;
  opacity: 0;
  transition: opacity 0.3s ease;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  scale: 0.1;
}

/* #scrollToTop::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 100%;
  width: 60px;
  height: 60px;
  filter: blur(2px);
  background: rgba(64, 206, 64, 0.2);
  transition: all 0.7s;
  z-index: -1;
}

#scrollToTop::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 100%;
  width: 80px;
  height: 80px;
  filter: blur(2px);
  background: rgba(64, 206, 64, 0.1);
  transition: all 0.7s;
  z-index: -1;
} */

#scrollToTop.visible {
  opacity: 1; /* Полупрозрачная при появлении */
  scale: 1;
}

#scrollToTop:hover {
  opacity: 1; /* Полностью видна при наведении */
  background-color: #555;
}

.burger-logo {
  display: flex;
  gap: 8px;
  align-items: center;
}

.burger-logo img {
  max-width: 60px;
}

.burger-links-text {
  margin-bottom: 10px;
}

.burger-links-wrap {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.burger-links-wrap a {
  display: flex;
  gap: 8px;
  align-items: center;
}

.burger-links-wrap a img {
  max-width: 20px;
}

.burger-wrap {
  position: fixed;
  top: 0;
  width: 66%;
  height: 100%;
  background: #101010;
  z-index: 1000;
  padding: 15px;
  border-top-right-radius: 20px;
  right: -100%;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.7s ease;
  z-index: 1001;
  overflow-y: auto;
}

.burger-wrap.active {
  right: 0;
}

.search-sort-container {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-wrapper {
  position: relative;
  flex: 1;
  min-width: 250px;
}

#searchInput {
  width: 100%;
  padding: 12px 40px 12px 35px;
  border-radius: 20px;
  font-size: 16px;
  box-sizing: border-box;
  background: #181818;
  color: #fafafa;
}

.search-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translate(0%, -50%);
  background: url("../images/search.svg");
  background-repeat: no-repeat;
  background-size: cover;
  width: 16px;
  height: 16px;
}

#searchInput::-moz-placeholder {
  color: #fafafa;
}

#searchInput::placeholder {
  color: #fafafa;
}

#closeSearch {
  position: absolute;
  right: 42px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #fafafa;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.7s;
  line-height: 103%;
}

#closeSearch.active {
  opacity: 1;
}

#closeSearch:hover {
  color: #333;
}

.product-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-item {
  padding: 8px;
  border-radius: 6px;
  background: #181818;
  color: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-item img {
  border-radius: 8px;
  margin-bottom: 15px;
}

.product-price {
  margin-bottom: 6px;
  text-align: center;
}

.product-col {
  margin-bottom: 4px;
  display: flex;
  gap: 2px;
  text-align: center;
  justify-content: center;
}

.product-name {
  margin-bottom: 25px;
  text-align: center;
  font-size: 14px;
  line-height: 120%;
}

.product-btn {
  width: 100%;
  border-radius: 8px;
  background: #41ab6e;
  padding: 8px;
  color: #fafafa;
  height: 36px;
  line-height: 110%;
}

#sortSearch {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #999;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.row-category-breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 15px;
}

.row-category-breadcrumbs img {
  max-width: 30px;
}

.tab-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s;
  cursor: pointer;
  max-width: 130px;
}

.tab-category {
  text-align: center;
}

.tab-category:hover {
  opacity: 0.5;
}

.tab-category-img {
  border-radius: 10px;
  background: #181818;
  margin-bottom: 12px;
}

.tab-category-img img {
  border-radius: 10px;
}

.swiper-tabs .swiper-slide {
  max-width: -moz-fit-content;
  max-width: fit-content;
}

.tabs-category {
  margin-bottom: 30px;
}

.tabs-category .swiper-slide{
  width: auto;
}
.tabs-category .swiper-slide img{
  width: 60px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}


.catalog,
.catalog-main {
  transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

.catalog {
  opacity: 1;
  visibility: visible;
  height: auto;
}

.catalog-main {
  opacity: 0;
  visibility: hidden;
  height: 0;
  display: none !important;
}

.catalog.hidden {
  opacity: 0;
  visibility: hidden;
  height: 0;
  padding: 0;
  margin: 0;
}

.slider.hidden {
  opacity: 0;
  visibility: hidden;
  height: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
}

.catalog-main.visible {
  opacity: 1;
  visibility: visible;
  display: block !important; /* показываем */
  height: auto;
}

.sort-options {
  padding: 15px 15px;
  font-size: 16px;
  background: #181818;
  cursor: pointer;
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  transition: all 0.7s;
  border-radius: 12px;
}

.sort-options.active {
  top: 0%;
  z-index: 1001;
}

.sort-text {
  margin-bottom: 15px;
}

.sort-option {
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.sort-option input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 2px solid #41ab6e;
  width: 18px;
  height: 18px;
  border-radius: 100%;
  position: relative;
}

.sort-option input::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 100%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #41ab6e;
  transition: all 0.7s;
  opacity: 0;
}

.sort-option input:checked::after {
  opacity: 1;
}

.cart-bottom-bar {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: #1d2938;
  padding: 10px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.7s;
}

.cart-bottom-bar.visible {
  bottom: 0%;
}

.cart-button {
  width: 100%;
  padding: 12px;
  background: #41ab6e;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  display: block;
  text-align: center;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #41ab6e;
  padding: 4px 8px;
  border-radius: 6px;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 60%;
  width: 100%;
  height: 36px;
}

.product-btn.loading {
  animation: widthQuanity 0.7s forwards linear;
}

@keyframes widthQuanity {
  0% {
    max-width: 100%;
  }
  100% {
    max-width: 60%;
  }
}
.quantity-btn {
  width: 28px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  background: transparent;
  color: #fafafa;
  font-size: 20px;
  margin-top: -4px;
}

.quantity-display {
  min-width: 30px;
  text-align: center;
  color: #fafafa;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}

.cart {
  padding-top: 20px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.cart-row-button {
  padding: 10px 15px;
  border-radius: 8px;
  background: #181818;
  font-size: 14px;
}

.cart-col {
  margin-bottom: 20px;
  font-size: 14px;
  color: #868686;
}

.cart-item {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.cart-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-bottom: 30px;
  border-bottom: 2px solid rgb(75, 75, 75);
  margin-bottom: 30px;
}

.cart-item-img {
  max-width: 60px;
}

.cart-item-img img {
  border-radius: 10px;
}

.cart-item-price {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
}

.cart-item-name {
  margin-bottom: 6px;
  font-size: 15px;
}

.cart-item-col {
  display: flex;
  gap: 5px;
  align-items: center;
  background: #181818;
  padding: 8px 10px;
  border-radius: 8px;
  width: 80px;
  justify-content: center;
  height: 40px;
}

.cart-item-col .minus,
.cart-item-col .plus {
  margin-top: -4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cart-item-col input {
  max-width: 30px;
  text-align: center;
  background: transparent;
  color: #fafafa;
  font-size: 15px;
}

.minus,
.plus {
  font-size: 20px;
  background: transparent;
  color: #fafafa;
}

.cart-item-close {
  font-size: 18px;
  color: #fafafa;
}

.cart-bottom-col {
  font-size: 14px;
  margin-bottom: 8px;
  color: #868686;
}

.cart-bottom-result {
  font-size: 20px;
  margin-bottom: 20px;
}

.cart-bottom-registration {
  width: 100%;
  border-radius: 12px;
  background: #41ab6e;
  padding: 8px;
  color: #fafafa;
  height: 46px;
  font-size: 16px;
  position: relative;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-center {
  width: 100%;
  margin-left: 20px;
}

.cart-bottom-registration::after {
  content: ">";
  position: absolute;
  top: 50%;
  right: 10px;
  font-size: 16px;
  transform: translate(0%, -50%);
}

.order {
  margin-top: 20px;
}

.order-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.order-close {
  padding: 10px 15px;
  border-radius: 8px;
  background: #181818;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 380px) {
  .order-close,
  .cart-row-button {
    font-size: 12px;
  }
}
.order-title {
  font-size: 20px;
}

.order-form-text {
  margin-bottom: 10px;
}

.order-form-radio-blocks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.order-form-radio {
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-form-radio input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 2px solid #41ab6e;
  width: 18px;
  height: 18px;
  border-radius: 100%;
  position: relative;
}

.order-form-radio input::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 100%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #41ab6e;
  transition: all 0.7s;
  opacity: 0;
}

.order-form-radio input:checked::after {
  opacity: 1;
}

.order-form-text-email {
  position: relative;
  max-width: -moz-fit-content;
  max-width: fit-content;
}

.order-form-text-email::after {
  content: "*";
  color: red;
  font-size: 14px;
  position: absolute;
  top: -4px;
  right: 3px;
}

.order-email {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border-radius: 12px;
  font-size: 16px;
  box-sizing: border-box;
  background: #181818;
  color: #fafafa;
}

.order-form {
  padding-bottom: 30px;
  border-bottom: 2px solid #181818;
  margin-bottom: 20px;
}

.order-result {
  font-size: 20px;
  margin-bottom: 50px;
}

.order-sumbit-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1d2938;
  padding: 10px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.order-submit {
  width: 100%;
  padding: 12px;
  background: #41ab6e;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #fafafa;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.button-loader {
  display: flex;
  justify-content: center;
}

.product-image {
  transition: transform 0.3s ease;
}

.cart-icon {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 24px;
  z-index: 1000;
}

.flying-image {
  position: fixed;
  z-index: 999;
  pointer-events: none;
  transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 1.5s ease;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cart-item.removing {
  animation: slideOutRight 0.3s ease forwards;
}

@keyframes slideOutRight {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

.cart-bottom-registration.loading:not(#orderShow) {
  animation: widthQuanity 0.7s forwards linear;
}

/* Chrome, Safari, Edge, Opera */
.сart-quantity-input::-webkit-outer-spin-button,
.cart-quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.cart-quantity-input {
  appearance: textfield;
  -moz-appearance: textfield;
}

.cart-plus, .cart-minus {
  background: none;
  outline: none;
  font-size: 24px;
  color: white;
  line-height: 1;
}
/*# sourceMappingURL=style.css.map */