@font-face {
  font-family: "Inter";
  font-weight: 400;
  font-style: normal;
  src: url("../fonts/Inter-Regular.ttf");
}
@font-face {
  font-family: "Inter";
  font-weight: 600;
  font-style: normal;
  src: url("../fonts/Inter-SemiBold.ttf");
}
@font-face {
  font-family: "Inter";
  font-weight: 600;
  font-style: italic;
  src: url("../fonts/Inter-SemiBoldItalic.otf");
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

.offer__title, .media__title {
  font-size: 60px;
  font-weight: 600;
  line-height: 125%;
}
@media (width < 720px) {
  .offer__title, .media__title {
    font-size: 32px;
  }
}

.modal__total, .modal__name, .products__price, .products__name, .contact__text {
  font-size: 24px;
  font-weight: 600;
  line-height: 125%;
}

body {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
}

.modal__disclaimer {
  font-size: 10px;
  font-weight: 600;
  line-height: 140%;
}

.contact__element, .header__nav, .modal__button, .modal__tab, .products__button, .offer__label {
  font-size: 16px;
  font-weight: 600;
  line-height: 150%;
}

.contact__link, .header__button, .header__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.contact__link::after, .header__button::after, .header__link::after {
  content: "";
  display: block;
  height: 2px;
  background-color: #403f3d;
  width: 0;
  margin: 0 auto;
  transition: 0.2s;
}
.active.contact__link, .active.header__button, .active.header__link {
  pointer-events: none;
}
.active.contact__link::after, .active.header__button::after, .active.header__link::after {
  width: 100%;
}
@media (hover: hover) {
  .contact__link:hover::after, .header__button:hover::after, .header__link:hover::after, .active.contact__link::after, .active.header__button::after, .active.header__link::after {
    width: 100%;
  }
}

.modal__button, .modal__tab, .products__button, .offer__label {
  background-color: transparent;
  color: #403f3d;
  border: 1px solid #665f55;
  transition: 0.2s;
}
.modal__button svg, .modal__tab svg, .products__button svg, .offer__label svg,
.modal__button svg *,
.modal__tab svg *,
.products__button svg *,
.offer__label svg * {
  transition: 0.2s;
  stroke: #403f3d;
  fill: #403f3d;
}
.modal__button .icon, .modal__tab .icon, .products__button .icon, .offer__label .icon {
  transition: 0.2s;
  background-color: #c1b6ad;
}
.active.modal__button, .active.modal__tab, .active.products__button, .active.offer__label {
  pointer-events: none;
}
.active.modal__button, .active.modal__tab, .active.products__button, .active.offer__label, .modal__button:has(input:checked), .modal__tab:has(input:checked), .products__button:has(input:checked), .offer__label:has(input:checked) {
  background-color: #665f55;
  border-color: #665f55;
  color: #e1d4c9;
}
.active.modal__button svg *, .active.modal__tab svg *, .active.products__button svg *, .active.offer__label svg *, .modal__button:has(input:checked) svg *, .modal__tab:has(input:checked) svg *, .products__button:has(input:checked) svg *, .offer__label:has(input:checked) svg * {
  stroke: #e1d4c9;
  fill: #e1d4c9;
}
.active.modal__button .icon, .active.modal__tab .icon, .active.products__button .icon, .active.offer__label .icon, .modal__button:has(input:checked) .icon, .modal__tab:has(input:checked) .icon, .products__button:has(input:checked) .icon, .offer__label:has(input:checked) .icon {
  background-color: #e1d4c9;
}
@media (hover: hover) {
  .modal__button:hover, .modal__tab:hover, .products__button:hover, .offer__label:hover {
    background-color: #665f55;
    border-color: #665f55;
    color: #e1d4c9;
  }
  .modal__button:hover svg *, .modal__tab:hover svg *, .products__button:hover svg *, .offer__label:hover svg * {
    stroke: #e1d4c9;
    fill: #e1d4c9;
  }
  .modal__button:hover .icon, .modal__tab:hover .icon, .products__button:hover .icon, .offer__label:hover .icon {
    background-color: #e1d4c9;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, sans-serif;
  background-color: #e1d4c9;
  color: #403f3d;
}

ul {
  list-style: none;
}

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

button {
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: 1440px;
  padding-left: 40px;
  padding-right: 40px;
  margin: 0 auto;
}

@media (width < 740px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}
.title__cursive {
  font-style: italic;
  color: #b0907a;
}

.header {
  z-index: 999;
  padding: 20px 0;
  position: sticky;
  top: 0;
  background-color: #e1d4c9;
}
.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__home {
  height: 60px;
}
.header__nav {
  width: 100%;
  display: flex;
  background-color: #e1d4c9;
}
.header__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  width: 100%;
}
@media (hover: none) {
  .header__link {
    display: inline;
  }
  .header__link::after {
    display: none;
  }
}
.header__button span {
  display: inline-flex;
  justify-content: center;
  align-items: start;
}
.header__button img {
  margin-left: 8px;
}
@media (hover: none) {
  .header__button {
    display: inline;
  }
  .header__button::after {
    display: none;
  }
  .header__button.active {
    cursor: default;
    pointer-events: all;
  }
  .header__button.active::after {
    display: block;
    width: 100%;
  }
}
.header__burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #665f55;
  border-radius: 50%;
  position: relative;
}
.header__burger .bottom,
.header__burger .top {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  transition: 0.2s;
}
.header__burger .top {
  top: 16px;
}
.header__burger .bottom {
  top: 24px;
}
.header__burger.active .bottom,
.header__burger.active .top {
  top: 50%;
}
.header__burger.active .top {
  transform: translate(-50%) rotate(45deg);
}
.header__burger.active .bottom {
  transform: translate(-50%) rotate(-45deg);
}

@media (max-width: 768px) {
  .header__nav {
    transition: 0.2s;
    transform: translateX(100%);
    font-size: 32px;
    font-weight: 600;
    line-height: 125%;
    position: fixed;
    z-index: -1;
    top: 100px;
    left: 0;
    bottom: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    padding: 60px 40px;
    gap: 100px;
    overflow-y: auto;
  }
  .header__nav img {
    margin-left: 16px;
    width: 40px;
    height: 40px;
  }
  .header__list {
    flex-direction: column;
    gap: 60px;
  }
  .header__burger {
    display: block;
  }
}
.footer {
  color: #e1d4c9;
  margin-bottom: 40px;
}
.footer__content {
  background-color: #665f55;
  border-radius: 40px;
  padding: 100px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
}

.media {
  flex-basis: 530px;
  flex-grow: 1;
  flex-shrink: 1;
}
.media__title {
  margin-bottom: 40px;
}
.media__list {
  display: flex;
  align-items: center;
  gap: 12px;
}
.media__link {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c1b6ad;
  transition: 0.2s;
}
.media__link svg path {
  stroke: #c1b6ad;
  transition: 0.2s;
}
@media (hover: hover) {
  .media__link:hover {
    background-color: #e1d4c9;
  }
  .media__link:hover svg path {
    stroke: #403f3d;
  }
}

.contact {
  flex-basis: 530px;
  flex-grow: 1;
  flex-shrink: 1;
}
.contact__text {
  margin-bottom: 40px;
}
.contact__element:not(:last-child) {
  margin-bottom: 16px;
}
.contact__element:last-child {
  margin-bottom: 4px;
}
.contact__element span {
  display: flex;
  align-items: start;
  gap: 8px;
}
.contact__link::after {
  background-color: #e1d4c9;
}
.contact__icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .footer__content {
    padding-left: 60px;
    padding-right: 60px;
  }
}
@media (width < 720px) {
  .footer__content {
    padding: 60px 16px;
    gap: 40px;
  }
}
.offer {
  text-align: center;
  margin-bottom: 40px;
}
.offer__title {
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 40px;
}
.offer__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.offer__label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 8px;
  border-radius: 100px;
  border-color: #c1b6ad;
  cursor: pointer;
}
.offer__label:has(input:checked) {
  cursor: default;
}
.offer__label .icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.offer__input {
  display: none;
}

@media (width < 740px) {
  .offer__tabs {
    gap: 8px;
  }
}
.products {
  margin-bottom: 100px;
}
.products__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 40px;
}
.products__list {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(4, 310px);
}
.products__item {
  cursor: pointer;
  overflow: hidden;
  max-width: 310px;
  height: 506px;
  border-radius: 40px;
  border: 1px solid #c1b6ad;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
@media (hover: hover) {
  .products__item:hover img {
    transform: scale(0.91);
  }
}
.products__image {
  border-radius: 40px;
  width: 310px;
  height: 310px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.products__image img {
  transition: 0.2s;
  transform: scale(1);
}
.products__content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  height: 196px;
  width: 100%;
}
.products__price {
  margin-top: auto;
}
.products__button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}

@media (width < 1440px) {
  .products__list {
    grid-template-columns: 310px 310px 310px;
  }
}
@media (width < 1090px) {
  .products__list {
    grid-template-columns: 310px 310px;
  }
  .products__button {
    display: flex;
  }
}
@media (width < 720px) {
  .products__list {
    grid-template-columns: 310px;
  }
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: 0.2s;
}
.modal.active {
  visibility: visible;
  opacity: 1;
}
.modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-color: rgba(64, 63, 61, 0.8);
  cursor: pointer;
}
.modal__wrapper {
  max-width: 800px;
  padding: 16px;
  background-color: #e1d4c9;
  border-radius: 40px;
  display: flex;
  gap: 20px;
  margin: 0 40px;
  overflow-y: auto;
}
.modal__image {
  border-radius: 40px;
  width: 310px;
  height: 310px;
}
.modal__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.modal__name {
  margin-bottom: 12px;
}
.modal__size label:has(input:checked) {
  pointer-events: none;
}
.modal__title {
  margin-bottom: 8px;
}
.modal__tabs {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.modal__tab {
  padding: 8px 16px 8px 8px;
  border-radius: 40px;
  border-color: #c1b6ad;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.modal__tab .icon {
  color: #403f3d;
  display: inline-block;
  font-style: normal;
  width: 30px;
  height: 30px;
  border-radius: 100px;
  text-align: center;
  padding: 3px 0;
}
.modal__input {
  display: none;
  pointer-events: all;
}
.modal__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal__disclaimer {
  display: flex;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid #c1b6ad;
}
.modal__disclaimer svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.modal__button {
  border: 1px solid #665f55;
  border-radius: 100px;
  padding: 10px;
}

@media (max-width: 700px) {
  .modal__wrapper {
    margin: 0 19px;
  }
  .modal__image {
    display: none;
  }
}