@import "./../fonts/Gilroy/stylesheet.css";
/* base */
/* Reset and base styles  */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz@9..40&family=Inter:wght@400;600&display=swap");
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

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

/* Links */
a,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */
aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

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

address {
  font-style: normal;
}

/* Form */
input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button,
input[type=submit] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

:root {
  --font-main: "Gilroy", sans-serif;
  --font-cards: "Inter", sans-serif;
  --font-footer-accent: "DM Sans", sans-serif;
  --text-color: #1e1e1e;
  --text-muted: #8d8d8d;
  --text-card-dark-blue: #0d1b39;
  --accent: #e58411;
  --header-text-color: #ffffff;
  --ui-orange: #e58411;
  --ui-beruza: #00d6c9;
  --ui-grey: #7c7c7c;
  --ui-card-dark-blue: #0d1b39;
  --footer-accent: #f6973f;
  --footer-bg: #2d2f33;
  --footer-text-color: rgb(255, 255, 255, 0.8);
}

html,
body {
  font-family: var(--font-main);
  color: var(--text-color);
}

.container {
  max-width: 1310px;
  margin: 0 auto;
  padding: 0 15px;
}
.container--small {
  max-width: 1094px;
}

.none {
  display: none !important;
}

.title-h2 {
  font-weight: 700;
  font-size: clamp(32px, 1.702rem + 1.49vw, 42px);
}

/* blocks */
.header {
  position: relative;
  padding-top: 40px;
  background-color: var(--footer-bg);
  background-image: url("../img/header/header-bg.jpg");
  background-size: cover;
  aspect-ratio: 1440/1084;
  color: var(--header-text-color);
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .header {
    background-image: url("../img/header/header-bg@2x.jpg");
  }
}
.header a {
  color: var(--header-text-color);
}
@media (max-width: 629px) {
  .header {
    padding-top: 20px;
    padding-bottom: 240px;
    background-position: center;
    aspect-ratio: unset;
  }
}

.header-nav {
  /* margin-bottom: 86px; */
  margin-bottom: clamp(24px, 0.071rem + 5.89vw, 86px);
}

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

.header-title {
  margin-bottom: 14px;
  /* font-size: 84px; */
  font-size: clamp(28px, 0.821rem + 4.64vw, 80px);
  text-wrap: balance;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: -0.8px;
  text-transform: capitalize;
}

.header-content p {
  margin: 0 auto;
  max-width: 606px;
  opacity: 0.8;
  font-size: clamp(16px, 0.857rem + 0.71vw, 24px);
  text-wrap: balance;
  line-height: 160%;
}

.header-search {
  display: inline-block;
  margin: 45px auto 0;
}
@media (max-width: 819px) {
  .header-search {
    display: none;
  }
}

/* dots */
.header__dot {
  position: absolute;
}
@media (max-width: 819px) {
  .header__dot {
    display: none;
  }
}

.header__dot--sofa {
  left: 20.5555555556%;
  top: 63.1918819188%;
}

.header__dot--vase {
  left: 7.9166666667%;
  top: 69.557195572%;
  transform: translate(-50%, -50%);
}

.header__dot--item {
  left: 56.25%;
  top: 72.6014760148%;
  transform: translate(-50%, -50%);
}

.header__dot--wall {
  right: 3.1944444444%;
  top: 75.7380073801%;
}

.nav {
  display: grid;
  grid-template-columns: 2fr 8fr 2fr;
  gap: 20px;
}

.nav-logo {
  align-self: center;
}

.open__nav-mobile {
  display: none;
}
@media (max-width: 992px) {
  .open__nav-mobile {
    display: block;
  }
}

.nav-list {
  align-self: center;
  justify-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 65px;
  font-weight: 500;
  font-size: 18px;
}
@media (max-width: 992px) {
  .nav-list {
    display: none;
  }
}
@media (max-width: 992px) {
  .nav-list {
    display: none;
  }
}

.nav-list__item {
  position: relative;
}

.nav-list__link {
  transition: opacity 0.1s ease-in;
}
.nav-list__link:hover {
  opacity: 0.7;
}
.nav-list__link--dropdown {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-list__link--dropdown::after {
  content: url("./../../img/icons/arrow-down.svg");
  height: 18px;
}

.nav-list__sub-nav {
  opacity: 0;
  width: 160px;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  transform: translate(0%, 10%);
  transition: all 0.2s ease-in;
}

.nav-list__item:hover .nav-list__sub-nav {
  pointer-events: all;
  opacity: 1;
  transform: translate(0%, 0%);
}

.sub-nav {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 16px;
  background-color: var(--footer-bg);
  color: var(--footer-text-color);
  font-size: 16px;
}
.sub-nav a {
  color: var(--footer-text-color);
  transition: color 0.1s ease-in;
}
.sub-nav a:hover {
  color: var(--accent);
}

.sub-nav__link--dropdown {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sub-nav__link--dropdown::after {
  content: url("./../../img/icons/arrow-down.svg");
  height: 18px;
}

.cart {
  align-self: center;
  justify-self: end;
  position: relative;
}

.cart__count {
  position: absolute;
  top: 3px;
  right: -6px;
  display: inline-block;
  line-height: 25px;
  padding: 0 6px;
  border-radius: 40px;
  background-color: var(--accent);
  font-weight: 700;
  line-height: 25px;
  font-family: var(--font-cards);
}

.search-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 344px;
  height: 56px;
  padding: 8px 8px 8px 20px;
  border-radius: 42px;
  border: 0.862px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.search-form__input {
  flex-grow: 1;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 150%;
}
.search-form__input::-moz-placeholder {
  color: #fff;
  font-weight: 400;
}
.search-form__input::placeholder {
  color: #fff;
  font-weight: 400;
}

.search-form__btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 24px;
  background: var(--accent);
}

.info-dot {
  position: relative;
  cursor: pointer;
}

.info-dot__circle {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff;
  transition: all 0.2s ease-in;
}

.info-dot__radius {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0.86px solid #fff;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  animation: pulse 1s infinite alternate;
}

.info-dot:hover .info-dot__radius {
  animation: pulse 1s infinite alternate paused;
}

.info-dot:hover .info-dot__circle {
  background-color: var(--accent);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}
.info-hint {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translate(-50%, -100%);
  display: flex;
  gap: 8px;
  justify-content: center;
  padding-top: 12px;
  background-image: url("./../img/icons/hint.svg");
  width: 112px;
  height: 56px;
}

.info-hint__radio {
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.info-hint__radio:checked + .info-hint__radio-fake {
  background-image: url("./../img/icons/checkbox.svg");
  background-repeat: no-repeat;
  background-position: center center;
}

.info-hint__radio-fake {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background-color: gray;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.info-hint__radio-fake--orange {
  background-color: var(--ui-orange);
}
.info-hint__radio-fake--grey {
  background-color: var(--ui-grey);
}
.info-hint__radio-fake--beruza {
  background-color: var(--ui-beruza);
}

.benefit__title {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 24px;
}

.benefit__text {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.85;
  opacity: 0.8;
}

.benefits {
  padding: clamp(60px, 2.679rem + 5.36vw, 120px) 0;
}

.benefits__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 992px) {
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(30px, 0.982rem + 4.46vw, 60px) 20px;
  }
}
@media (max-width: 629px) {
  .benefits__grid {
    grid-template-columns: 1fr;
  }
}

.benefits__title {
  max-width: 260px;
}

.products {
  background-color: #f7f7f7;
  padding: 50px 0;
}

.products__title {
  margin-bottom: 32px;
  text-align: center;
}

.products__tabs {
  margin-bottom: 80px;
  text-align: center;
}
@media (max-width: 629px) {
  .products__tabs {
    max-width: 320px;
    overflow-x: auto;
  }
}

.products__slider {
  margin-bottom: clamp(30px, 0.982rem + 4.46vw, 60px);
}
@media (max-width: 1400px) {
  .products__slider {
    padding: 0 40px;
  }
}
@media (max-width: 629px) {
  .products__slider {
    padding: 0 20px;
  }
}

.products__link {
  text-align: center;
}

.read-more {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.85;
}
.read-more::after {
  content: url("./../img/icons/arrow-right.svg");
  height: 24px;
}
.read-more--large {
  font-size: 16px;
}

.tab-controls {
  display: inline-flex;
  align-items: center;
  padding: 6px;
  border-radius: 44px;
  background: #eee;
}

.tab-controls__btn {
  height: 35px;
  padding: 7px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 32px;
  color: rgba(31, 31, 31, 0.8);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.85;
  transition: background-color 0.2s ease-in;
}
.tab-controls__btn:hover {
  background-color: rgba(255, 255, 255, 0.5);
}
.tab-controls__btn--active {
  background-color: #fff;
}
.tab-controls__btn--active:hover {
  background-color: #fff;
}

.card {
  position: relative;
  width: 268px;
  font-family: var(--font-cards);
}

.card-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.card__foto {
  margin-top: 50px;
  height: 240px;
  background-color: #fafafa;
  border-radius: 20px 20px 0 0;
  text-align: center;
}

.card__img {
  margin-top: -50px;
}

.card__desc {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 202px;
  padding: 14px 22px 28px;
  background-color: #fff;
  border-radius: 0 0 20px 20px;
}

.card__category {
  position: relative;
  z-index: 3;
  font-size: 16px;
  color: var(--text-muted);
}

.card__title {
  font-size: 21px;
  color: var(--text-card=dark-blue);
  font-weight: 600;
}

.card__rating {
  display: flex;
  gap: 3px;
}

.card__footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card__price {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  font-size: 21px;
  color: var(--text-card=dark-blue);
  font-weight: 600;
}
.card__price::before {
  content: attr(data-value);
  font-size: 15px;
}

.card__btn {
  position: relative;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--ui-card-dark-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0;
  transition: opacity 0.2s ease-in;
}
.card__btn:hover {
  opacity: 0.8;
}

.slider {
  position: relative;
}

.slider__btn {
  position: absolute;
  z-index: 1;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 7px 19px 0 rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider__btn--prev {
  left: 0px;
  top: 50%;
  transform: translate(-50%, -50%);
}

.slider__btn--next {
  right: 0px;
  top: 50%;
  transform: translate(50%, -50%);
}

.footer {
  padding: clamp(60px, 2.024rem + 8.63vw, 118px) 0 56px;
  background-color: var(--footer-bg);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.6;
  color: var(--footer-text-color);
}
.footer a {
  color: var(--footer-text-color);
  transition: opacity 0.1s ease-in;
}
.footer a:hover {
  opacity: 0.6;
}

.footer-grid {
  display: grid;
  margin-bottom: clamp(60px, 2.024rem + 8.63vw, 118px);
  grid-template-columns: 3fr 1fr 2fr 2fr 2fr;
  gap: 60px 20px;
}
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 4fr 1fr 3fr 3fr;
  }
}
@media (max-width: 629px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer_desc p + p {
  margin-top: 1em;
}
@media (max-width: 629px) {
  .footer_desc {
    grid-column: 1/3;
  }
}

.footer__logo {
  margin-bottom: 29px;
}

.footer__nav--services {
  grid-column-start: 3;
}
@media (max-width: 629px) {
  .footer__nav {
    grid-column-start: auto;
  }
}

.footer_nav-title {
  margin-bottom: 20px;
  color: var(--footer-accent);
  font-family: var(--font-footer-accent);
  font-size: 17px;
  line-height: -0.23;
}

.footer_list {
  display: grid;
  gap: 16px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-self: center;
}
@media (max-width: 629px) {
  .footer-row {
    flex-direction: column-reverse;
    align-items: start;
    gap: 20px;
  }
}

.footer__coryright {
  font-family: var(--font-footer-accent);
  font-size: 15px;
  opacity: 0.8;
  letter-spacing: -0.2px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
@media (max-width: 629px) {
  .footer__links {
    gap: 20px;
  }
}

.logo {
  font-weight: 700;
  font-size: clamp(18px, 0.946rem + 0.89vw, 28px);
  letter-spacing: 0.28px;
  text-transform: capitalize;
  color: #fff !important;
}

.mobile-nav-wrapper {
  display: none;
  position: absolute;
  z-index: 9;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  padding: 30px 30px;
  color: var(--fopter-text-color);
  background-color: var(--footer-bg);
}
.mobile-nav-wrapper a {
  color: var(--footer-text-color);
  transition: color 0.2s ease-in;
}
.mobile-nav-wrapper a:hover {
  color: #fff;
}
.mobile-nav-wrapper--open {
  display: block;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-cart {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 20px;
  font-weight: 500px;
}

/* nav */
.mobile-nav {
  display: grid;
  gap: 20px;
  font-size: 22px;
}

/* Sub nav */
.mobile-sub-nav {
  padding: 20px 0 0 20px;
  display: grid;
  font-size: 16px;
  gap: 16px;
}/*# sourceMappingURL=main.css.map */