@charset "UTF-8";
:root {
  --white-color: #ffffff;
  --gray-100: #e8e8e8;
  --gray-200: #d6d6d6;
  --gray-400: #55565a;
  --gray-600: #282829;
  --gray-800: #222222;
  --blue: #15a1f6;
  --bg-color: var(--gray-100);
  --text-color: var(--gray-800);
  --border-color: var(--gray-100);
  --input-border-color: var(--gray-200);
  --primary-color: var(--blue);
  --text-secondary: var(--gray-400);
  --header-bg: var(--gray-800);
  --border-radius: 4px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  /* buttons */
  --btn-border-radius: 0;
  --btn-font-size: 14px;
}

*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Kalam";
  src: local("Kalam");
  src: url(assets/font/Kalam/Kalam-Regular.ttf);
}
.bg_white {
  background: var(--white-color);
}

.icon {
  width: 1em;
  animation: bounce 1s ease-in-out infinite;
}

h1,
h2,
h3 {
  text-wrap: balance;
  font-family: "Kalam", serif;
}

@font-face {
  font-family: "Inter";
  src: local("Inter");
  src: url(assets/font/Inter/Inter-VariableFont_opsz,wght.ttf);
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: "Inter", sans-serif;
  /* header */
  --header-h: 50px;
  --header-padding: 10px;
}
@media (min-width: 992px) {
  body {
    --header-h: 70px;
  }
}

.hidden {
  overflow: hidden;
}

section:first-child {
  padding-top: calc(var(--header-h) + 50px);
}
@media (min-width: 768px) {
  section:first-child {
    padding-top: calc(var(--header-h) + 60px);
  }
}

button {
  outline: none;
  border: none;
}

.link {
  text-decoration: underline;
}

ul li {
  list-style: none;
}

ol {
  padding-left: 20px;
}

.list {
  margin-bottom: 20px;
}

.list li::before {
  content: "•";
  color: var(--primary-color);
  margin-right: 10px;
}

a {
  display: inline-block;
  text-decoration: none;
  color: var(--text-color);
}

.container {
  --container-padding: 20px;
  max-width: calc(1060px + 3 * var(--container-padding));
  padding: 0 var(--container-padding);
  margin: auto;
}

.section {
  padding-top: 40px;
  padding-bottom: 50px;
}

h1,
.h1 {
  font-size: 38px;
  line-height: 120%;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  h1,
  .h1 {
    font-size: 42px;
  }
}

h2,
.h2 {
  font-size: 26px;
  font-style: italic;
  line-height: 110%;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  h2,
  .h2 {
    font-size: 32px;
  }
}

@keyframes wiggle {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-6deg);
  }
  75% {
    transform: rotate(6deg);
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}
h3 {
  margin-bottom: 12px;
}

p,
a {
  font-size: 16px;
}

.mw-100 {
  max-width: 100%;
}

.mw-600 {
  max-width: 600px;
}

.m-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-24 {
  margin-top: 24px;
}

p {
  margin-bottom: 8px;
}

.subtitle {
  font-size: 24px;
  line-height: 120%;
}
@media (min-width: 768px) {
  .subtitle {
    font-size: 32px;
  }
}

.title-wrap {
  margin-bottom: 24px;
}

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

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--text-secondary);
}

.fw-600 {
  font-weight: 600;
}

.mw-800 {
  max-width: 800px;
}

.gap-8-to-20 {
  --gap: 8px;
}
@media (min-width: 768px) {
  .gap-8-to-20 {
    --gap: 20px;
  }
}

.grid {
  display: grid;
  grid-gap: var(--gap, 20px);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .grid-2-3 {
    grid-template-columns: 2fr 3fr;
  }
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 576px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 768px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media (min-width: 576px) {
  .img-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 768px) {
  .img-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 576px) {
  .grid-catalog {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .grid-catalog {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 992px) {
  .grid-catalog {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* grid из 6 колонок асимметричный */
.grid-4-2-3-3 {
  display: grid;
  align-items: center;
  grid-gap: 20px;
}
@media (min-width: 768px) {
  .grid-4-2-3-3 {
    grid-template-columns: repeat(6, 1fr);
  }
  .grid-4-2-3-3 .grid-item-4 {
    grid-column: span 4;
  }
  .grid-4-2-3-3 .grid-item-2 {
    grid-column: span 2;
  }
  .grid-4-2-3-3 .grid-item-3 {
    grid-column: span 3;
  }
}

.img-fill, .product__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.br, .product__img-wrap {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.br-md {
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.br-lg {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.button {
  cursor: pointer;
  line-height: 1;
  font-size: var(--btn-font-size);
  border-radius: var(--btn-border-radius);
  font-weight: 600;
  color: white;
  padding: 12px 32px;
  margin: 6px 0;
  text-align: center;
  max-width: 100%;
}
.button:hover {
  opacity: 0.9;
  transition: opacity 0.3s;
}
.button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}
@media (max-width: 768px) {
  .button {
    width: 100%;
  }
}

.button-primary {
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.button-primary-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.button-secondary {
  background-color: var(--text-secondary);
}

.header {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: var(--header-padding) 0;
  background: var(--header-bg);
  transition: transform 0.3s ease-in-out;
}
.header.header--hide {
  transform: translateY(-100%);
}
.header.header--show {
  transform: translateY(0);
}

.logo {
  height: calc(var(--header-h) - 2 * var(--header-padding));
}
@media (min-width: 769px) {
  .logo {
    width: 60px;
    height: auto;
  }
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu {
  --padding-link: 5px;
  display: flex;
  gap: calc(30px - 2 * var(--padding-link));
}

.nav-menu__link {
  color: var(--white-color);
  padding: var(--padding-link);
  text-transform: uppercase;
  transition: color 0.3s ease-in-out;
}
.nav-menu__link:hover {
  color: var(--primary-color);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.form__input {
  padding: 12px 16px;
  border-radius: var(--border-radius);
  border-width: 1px;
}

.footer {
  padding: 60px 0;
  background: var(--header-bg);
  color: var(--white-color);
}
.footer__contacts-wrap {
  margin-bottom: 32px;
}
.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (min-width: 576px) {
  .footer .flex-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
}
.footer .footer-link {
  margin-bottom: 8px;
  transition: all 0.3s ease-in-out;
  color: var(--white-color);
}
.footer .footer-link:hover {
  color: var(--primary-color);
}

.burger {
  --burger-color: var(--primary-color);
  cursor: pointer;
  transform: translateY(-2px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

@media (min-width: 769px) {
  .burger {
    display: none;
  }
}
.burger::before,
.burger::after {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--burger-color);
  display: block;
  margin: 5px 0;
  transition: all 0.2s;
}

.burger.burger-rotate .burger-span {
  opacity: 0;
}

.burger.burger-rotate::before {
  transform: translateY(9px) rotate(45deg);
}

.burger.burger-rotate::after {
  transform: translateY(-9px) rotate(-45deg);
}

.burger-span {
  width: 24px;
  height: 2px;
  background: var(--burger-color);
}

@media (max-width: 768px) {
  .header__nav-menu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    padding: var(--container-padding);
    overflow: auto;
    position: fixed;
    top: calc(var(--header-h) - 2px);
    left: 0;
    width: 100%;
    height: calc(100dvh - var(--header-h) + 4px);
    background: var(--header-bg);
    z-index: 40;
    flex-direction: column;
    align-items: center;
  }
  .header__nav-menu.nav-hidden {
    opacity: 1;
    visibility: visible;
  }
}
.fade {
  animation: fadeRight 0.5s ease-out;
}

@keyframes fadeRight {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.review {
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
}
.review .review-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.review .review-header .stars {
  color: #f5a623;
  font-size: 1.2rem;
}
.review .review-header .stars .star {
  margin-right: 2px;
}
.review .review-header .rating {
  font-weight: bold;
  color: #333;
}
.review .review-header .recommends {
  color: #107a3d;
  font-size: 0.9rem;
}
@media (max-width: 576px) {
  .review .review-header .recommends {
    display: none;
  }
}
.review .review-header .user {
  margin-left: auto;
  font-size: 0.85rem;
  color: #666;
}
.review .user-avatar {
  width: 2em;
  border-radius: 50%;
  margin-right: 0.5rem;
  padding: 2px;
  border: 1px solid rgb(0, 0, 0);
}
.review .review-body p {
  font-size: 1rem;
  line-height: 1.5;
  color: #222;
  margin: 0;
}

.catalog-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.catalog-item:hover, .catalog-item:focus {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.catalog-item:hover .catalog-item__title, .catalog-item:focus .catalog-item__title {
  color: var(--primary-color);
  animation: wiggle 0.5s ease-in-out 0s 1 normal forwards;
}
.catalog-item__img {
  width: 100%;
  height: 180px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.2s;
}
.catalog-item__info {
  padding: 16px;
  width: 100%;
  text-align: center;
  background: #f8f8f8;
}
.catalog-item__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  margin: 0;
  transition: color 0.2s;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}

.flex-top {
  justify-content: space-between;
  align-items: center;
}

.product {
  padding: min(18px, 5vw);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product__img-wrap {
  aspect-ratio: 4/3;
  position: relative;
  margin-bottom: 12px;
}
.product__img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  transition: scale 0.6s ease;
}
.product:hover .product__img {
  scale: 1.2;
}
.product__button {
  width: 100%;
}
.product__description {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.product .badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  background: var(--accent, #e67e22);
  border-radius: 12px;
  margin-bottom: 8px;
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
}
.product .badge.badge-popular {
  background: var(--badge-popular, #e74c3c);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.card span {
  text-align: center;
}
.card .icon {
  margin-bottom: 12px;
  width: 42px;
}

.bg-p {
  padding: min(24px, 5vw);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.section-terms {
  counter-reset: num;
}
.section-terms__title {
  margin-bottom: 6px;
  margin-top: 16px;
}
.section-terms__title:before {
  counter-increment: num;
  content: counter(num) ". ";
}

.section-thanks {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}/*# sourceMappingURL=style.css.map */