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

html,
body {
  padding: 0;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.25;
  color: black;
  background-color: white;
}

h1,
h2,
h3,
h4,
h5,
h5,
p,
article,
figure,
figcaption {
  margin: 0;
}

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

a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1248px;
  margin-inline: auto;
  padding: 0 20px;
}

.header {
  padding-top: 50px;
  background: transparent linear-gradient(90deg, #ffd358 0%, #fdf1a1 52%, #ffd257 100%);
}
.header__outer {
  background: transparent linear-gradient(90deg, #e42c1a 0%, #ff2d16 51%, #c42a1e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.header__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.header__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.header__row {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 16px;
  padding: 24px 0;
}
.header__col:not(:last-of-type) {
  border-bottom: 1px solid black;
  padding-bottom: 16px;
}
.header__item {
  display: grid;
  grid-template-columns: 64px auto;
  align-items: center;
  gap: 10px;
}
.header__item p {
  font-family: "Archivo", sans-serif;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  color: black;
}
.header__item p span {
  color: #e30512;
}
.header__icon--first {
  width: 64px;
}
.header__icon--second {
  width: 64px;
}
.header__icon--third {
  width: 56px;
}
.header__logo {
  max-width: 178px;
  margin-top: -40px;
}
.header__separator {
  width: 100%;
  height: 2px;
  background-color: white;
  margin: 16px 0;
}
.header__phone {
  max-width: 42px;
}
.header h2 {
  font-size: 32px;
  line-height: 39px;
  font-weight: 900;
  font-style: italic;
  color: white;
}
.header h3 {
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
  color: white;
}
.header h3 span {
  font-size: 19px;
  background-color: #ffec00;
  border-radius: 8px;
  padding: 3px;
  color: #e30512;
  text-transform: uppercase;
}
.header h3.italic {
  font-style: italic;
}
.header h4 {
  font-family: "PT Sans", sans-serif;
  font-size: 15px;
  line-height: 19px;
  font-weight: 400;
  color: white;
}

main {
  background-color: #fff7ef;
  padding: 25px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 400px));
  align-items: stretch;
  justify-content: center;
  grid-gap: 24px;
}

.card {
  border-radius: 16px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  background: white;
  height: 100%;
}
.card__header {
  position: relative;
}
.card__header img {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.card__body {
  padding: 50px 25px 25px 25px;
}
.card__inner {
  position: absolute;
  bottom: -35px;
  right: 25px;
  z-index: 2;
}
.card__inner span {
  font-size: 12px;
  line-height: 16px;
  color: black;
}
.card__blur {
  left: 0;
  bottom: -20px;
  width: 100%;
  height: 40px;
  position: absolute;
  z-index: 1;
  background-color: white;
  filter: blur(8px);
}
.card__box {
  width: 100px;
  height: 55px;
  border-radius: 8px;
  background-color: #ff0000;
  box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.7019607843);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
}
.card__box h3 {
  font-size: 32px;
  line-height: 39px;
  font-weight: 700;
  color: white;
}
.card__title {
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  min-height: 52px;
  color: #125398;
  margin-bottom: 20px;
}
.card__text {
  font-size: 16px;
  line-height: 22px;
  max-height: 150px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}
.card__text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6));
}
.card__btn {
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background-color: white;
  border: 1px solid #125398;
  border-radius: 20px;
  padding: 8px;
}
.card__btn:hover {
  cursor: pointer;
}
.card__btn span {
  font-size: 20px;
  line-height: 24px;
  color: #125398;
}
.card__btn img {
  width: 24px;
  height: 24px;
}

.footer {
  padding: 24px 0;
  background: transparent linear-gradient(90deg, #ffd358 0%, #fdf1a1 52%, #ffd257 100%);
}
.footer__container, .footer__badge {
  display: none;
}
.footer__inner {
  text-align: center;
}
.footer__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}
.footer__links a {
  text-decoration: underline;
  position: relative;
}
.footer__links a:not(:last-of-type)::before {
  content: "";
  top: 60%;
  position: absolute;
  transform: translateY(-50%);
  right: -5px;
  width: 1px;
  height: 15px;
  background-color: #808080;
}
.footer__text {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: #808080;
}

.overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(2, 2, 16, 0.76);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.popup {
  width: 100%;
  max-width: 1100px;
  background-color: white;
  position: relative;
  border-radius: 16px;
  max-height: 90vh;
  overflow-y: auto;
}
.popup h3.italic {
  font-style: italic;
}
.popup__phone-number {
  font-size: 32px;
  line-height: 39px;
  font-weight: 900;
  font-style: italic;
  color: white;
}
.popup__call-now, .popup__code-info {
  font-size: 18px;
  line-height: 22px;
  color: white;
  font-weight: 700;
}
.popup__code-info span {
  background: #ffec00;
  border-radius: 8px;
  color: black;
  padding: 3px 5px;
  margin-inline: 5px;
  text-transform: uppercase;
}
.popup__schedule {
  font-family: "PT Sans", sans-serif;
  font-size: 15px;
  line-height: 19px;
  font-weight: 400;
  color: white;
}
.popup__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.popup__separator {
  width: 100%;
  height: 2px;
  background-color: white;
  margin: 16px 0;
}
.popup__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.popup__phone {
  max-width: 42px;
}
.popup__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  z-index: 1;
}
.popup__nav {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 300px;
  z-index: 1;
  pointer-events: none;
}
.popup__nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 0;
  background-color: transparent;
  color: white;
  cursor: pointer;
  pointer-events: all;
}
.popup__nav-btn span {
  font-size: 14px;
  line-height: 20px;
}
.popup__nav-btn img {
  width: 48px;
  height: 48px;
}
.popup__nav-btn--next img {
  order: -1;
}
.popup__row {
  padding: 24px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: flex-start;
  grid-gap: 32px;
}
.popup__heading {
  font-size: 23px;
  line-height: 32px;
  color: #125398;
  margin-bottom: 16px;
}
.popup__text {
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 16px;
}
.popup__list {
  list-style-type: none;
  padding: 0;
  margin: 0 0 30px 0;
}
.popup__list li {
  position: relative;
  padding-left: 30px;
}
.popup__list li:not(:last-of-type) {
  margin-bottom: 8px;
}
.popup__list li::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 14px;
  height: 11px;
  background: url("../images/icon_check.svg") no-repeat center;
  background-size: cover;
}
.popup__list li p {
  margin-bottom: 0;
}
.popup__bestseller {
  position: relative;
  background-color: #007cff;
  padding: 4px 20px 4px 8px;
  margin-bottom: 8px;
  width: -moz-fit-content;
  width: fit-content;
}
.popup__bestseller::after {
  content: "";
  width: 0px;
  position: absolute;
  height: 0px;
  right: -1px;
  top: 0;
  border-style: solid;
  border-width: 14px 11px 14px 0;
  border-color: transparent white transparent transparent;
}
.popup__bestseller span {
  font-size: 13px;
  line-height: 19px;
  font-weight: 700;
  color: white;
}
.popup__code {
  font-size: 12px;
  line-height: 16px;
  color: black;
  font-weight: 700;
}
.popup__code-text {
  font-size: 10px;
  line-height: 13px;
  color: #e30512;
  background-color: #ffec00;
  padding: 3px 8px;
  border-radius: 8px;
}
.popup__inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.popup__stars {
  display: grid;
  grid-template-columns: repeat(5, 16px);
  grid-gap: 4px;
}
.popup__text-small {
  font-size: 12px;
  line-height: 16px;
}
.popup__separator-small {
  width: 1px;
  height: 15px;
  background-color: #a5a5a5;
}
.popup__price {
  font-size: 31px;
  line-height: 40px;
  font-weight: 700;
  color: black;
}
.popup__price--old {
  font-size: 18px;
  line-height: 40px;
  font-weight: 500;
  color: #e30512;
  text-decoration: line-through;
}
.popup__discount {
  width: -moz-fit-content;
  width: fit-content;
  padding: 4px 8px;
  background-color: #009d45;
  text-align: center;
  margin-left: 15px;
}
.popup__discount span {
  font-size: 13px;
  line-height: 19px;
  color: white;
}
.popup__bottom {
  padding: 30px 0;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  background: linear-gradient(90deg, #ffd358 0%, #fdf1a1 52%, #ffd257 100%);
}
.popup .info__row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  background: transparent linear-gradient(90deg, #e42c1a 0%, #ff2d16 51%, #c42a1e 100%);
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  padding: 5px 10px;
  border-radius: 40px;
}
.popup .info__row-mobile {
  flex-direction: row;
}
.popup .info h3.margin {
  margin-bottom: 10px;
}

.gallery {
  max-width: 347px;
}
.gallery__main {
  width: 347px;
  height: 347px;
  -o-object-fit: cover;
     object-fit: cover;
  border: 1px solid #707070;
  margin-bottom: 16px;
  border-radius: 8px;
}
.gallery__thumbnails {
  display: grid;
  grid-template-columns: repeat(5, auto);
  grid-gap: 16px;
}
.gallery__thumbnail {
  width: auto;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  cursor: pointer;
  border: 1px solid #707070;
  transition: border 0.3s;
  border-radius: 8px;
}
.gallery__thumbnail:hover {
  border: 1px solid #007bff;
}
.gallery__pagination {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 16px;
}
.gallery__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #a5a5a5;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.gallery__dot.active {
  background-color: #707070;
}

@media (min-width: 768px) {
  .header__row {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 32px;
  }
  .header__col:not(:last-of-type) {
    padding-bottom: 0;
    border-bottom: 0;
    border-right: 1px solid black;
    padding-right: 16px;
  }
  .popup .info__row {
    width: 100%;
    border-radius: 0;
    padding: 15px 10px;
  }
  .footer {
    position: relative;
    padding: 30px 0;
  }
  .footer__container {
    display: block;
    max-width: 730px;
    margin-inline: auto;
  }
  .footer__container h3 {
    font-size: 18px;
    line-height: 22px;
    color: black;
    text-align: center;
  }
  .footer__container h3 span {
    font-size: 19px;
    background-color: #ffec00;
    border-radius: 8px;
    padding: 3px;
    color: #e30512;
    text-transform: uppercase;
  }
  .footer__container h3.red {
    color: #e30512;
    text-align: left;
  }
  .footer__row {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    grid-gap: 20px;
    margin: 20px 0 30px;
  }
  .footer .info__row {
    padding: 8px 26px;
    justify-content: space-between;
    background: transparent linear-gradient(90deg, #e42c1a 0%, #ff2d16 51%, #c42a1e 100%);
    width: 100%;
    margin-inline: auto;
    padding: 15px 10px;
    border-radius: 0;
  }
  .footer .phone {
    width: 100%;
    max-width: 400px;
    background-color: #ffec00;
    border-radius: 50px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    padding: 3px;
  }
  .footer .phone__row {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
  }
  .footer .phone__col:first-child {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    padding: 10px 10px 10px 30px;
    background: transparent linear-gradient(90deg, #e42c1a 0%, #ff2d16 51%, #c42a1e 100%);
  }
  .footer .phone__col:last-child {
    padding: 4px 12px 4px 8px;
  }
  .footer .phone h2 {
    font-size: 28px;
    line-height: 33px;
    font-weight: 900;
    color: white;
    font-style: italic;
  }
  .footer .phone h2.red {
    font-size: 31px;
    color: #e30512;
    margin-bottom: 5px;
    font-family: "PT Sans Narrow", sans-serif;
    font-style: normal;
  }
  .footer .phone h5 {
    font-family: "PT Sans Narrow", sans-serif;
    font-size: 12px;
    line-height: 15px;
    font-weight: 300;
    color: white;
  }
  .footer .phone h5.black {
    color: black;
    font-weight: 700;
  }
}
@media (min-width: 991px) {
  .header__wrapper {
    flex-direction: row;
    justify-content: flex-start;
  }
  .header__logo {
    margin-top: 0;
    width: 178px;
    position: relative;
  }
  .header__logo img {
    position: absolute;
    top: -77px;
    left: -15px;
  }
  .header__separator {
    width: 2px;
    height: 60px;
  }
  .header__container {
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    gap: 10px;
  }
  .header__row {
    padding: 43px 0 32px;
  }
  .header__inner {
    margin-bottom: 0;
  }
  .header h3 {
    font-size: 18px;
  }
  .header h3.margin {
    margin-bottom: 15px;
  }
  .header h2 {
    font-size: 32px;
    line-height: 39px;
  }
  .popup h3.margin {
    margin-bottom: 15px;
  }
  .popup__wrapper {
    flex-direction: row;
    justify-content: flex-start;
  }
  .popup__inner {
    margin-bottom: 0;
  }
  .footer__badge {
    display: block;
    position: absolute;
    -o-object-fit: cover;
       object-fit: cover;
    top: -7px;
    left: 0;
    width: 174px;
    height: 155px;
  }
}
@media (min-width: 1160px) {
  .popup .info__row {
    flex-direction: row;
  }
  .popup__separator {
    width: 2px;
    height: 60px;
  }
}
@media (min-width: 1280px) {
  .container {
    padding: 0;
  }
}
@media (max-width: 768px) {
  .overlay {
    padding: 0;
  }
  .popup {
    max-height: 100vh;
    border-radius: 0;
  }
  .popup__nav {
    display: none;
  }
  .popup__row {
    grid-template-columns: 1fr;
    padding: 35px 15px 100px 15px;
  }
  .popup__close {
    top: 10px;
  }
  .popup__bottom {
    padding: 5px 10px 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
  }
  .info__title {
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    font-style: italic;
    color: black;
    font-weight: 700;
    margin-bottom: 8px;
  }
  .info__phone-text {
    font-size: 32px;
    line-height: 40px;
    color: white;
    font-weight: 700;
  }
  .header__phone {
    width: 27px;
  }
  .header__phone img {
    width: 27px;
    height: 27px;
  }
  .gallery {
    margin-inline: auto;
  }
  .gallery__main {
    border: 0;
  }
  .popup__phone {
    width: 27px;
  }
  .popup__phone img {
    width: 27px;
    height: 27px;
  }
}/*# sourceMappingURL=styles.css.map */