@charset "UTF-8";
@media (min-width: 1280px) {
  .desktop-hidden {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .mobile-hidden {
    display: none !important;
  }
}
@media (max-width: 1279px) {
  .desktop-only {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/Spectral-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/Spectral-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/Spectral-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Great Vibes";
  src: url("../fonts/GreatVibes-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --bg: #222222;
  --text: #b0b0b0;
  --accent: #b49b7b;
  --accent-hover: #b59164;
  --dim: #8c8c8c;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Spectral", serif;
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 767px) {
  body {
    font-size: 16px;
  }
}

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

address {
  font-style: normal;
}

img {
  display: block;
}

h1,
h2,
h3 {
  font-weight: 400;
  margin: 0;
}

p {
  margin-bottom: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  background: none;
  font: inherit;
  border: 0;
  padding: 0;
}

.header {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid #333;
  z-index: 49;
}
.header__section {
  display: flex;
  gap: 20px;
  max-width: 1440px;
  margin: auto;
  padding: 10px 60px;
}
@media (max-width: 1279px) {
  .header__section {
    padding: 10px 30px;
  }
}
@media (max-width: 767px) {
  .header__section {
    gap: 10px;
    padding: 10px 20px;
  }
}
.header__left {
  display: flex;
  align-items: center;
  flex: 1;
}
.header__center {
  font-weight: 500;
  text-align: center;
}
.header__right {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}
@media (max-width: 767px) {
  .header__right {
    gap: 10px;
  }
}
.site-title {
  color: var(--accent);
  font-family: "Great Vibes", serif;
  font-weight: 400;
  font-size: 56px;
  white-space: nowrap;
}
@media (max-width: 1279px) {
  .site-title {
    font-size: 36px;
  }
}

.section {
  max-width: 1440px;
  margin: 20px auto 60px;
  padding: 0 60px;
}
@media (max-width: 767px) {
  .section {
    margin-bottom: 40px;
    padding: 0 20px;
  }
}
.section--split {
  display: flex;
  gap: 20px 60px;
  align-items: center;
  font-size: 20px;
}
@media (max-width: 1279px) {
  .section--split {
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  .section--split {
    font-size: 16px;
  }
}
.section__title {
  letter-spacing: 2px;
  text-transform: uppercase;
}
.section__image {
  width: 600px;
  max-width: 100%;
}
@media (max-width: 1279px) {
  .section__image {
    order: -1;
  }
}
.section__link {
  display: block;
  max-width: max-content;
  margin-top: 20px;
  padding: 10px 0;
  border-bottom: 2px solid;
  pointer-events: auto;
}

.footer {
  border-top: 1px solid #333;
  margin-top: 100px;
}
.footer__section {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1440px;
  margin: auto;
  padding: 30px 60px;
}
@media (max-width: 767px) {
  .footer__section {
    padding: 30px 20px;
  }
}
.footer__copy {
  color: var(--dim);
  font-size: 14px;
}
.footer__dev {
  margin-left: auto;
  text-align: right;
}
.footer__dev-name {
  display: flex;
  gap: 10px;
  align-items: center;
  line-height: 1;
}
.footer__dev-logo {
  height: 40px;
}

.article__image {
  width: 600px;
  max-width: 100%;
  margin-top: 30px;
  margin-bottom: 60px;
}

.breadcrumb {
  color: var(--dim);
  font-size: 14px;
}
.breadcrumb__list {
  max-width: 1440px;
  margin: auto;
  padding: 20px 60px;
}
@media (max-width: 767px) {
  .breadcrumb__list {
    padding: 20px;
  }
}
.breadcrumb__item {
  display: inline;
}
.breadcrumb__item:not(:last-child)::after {
  content: "/";
  margin: 0 6px;
}

.button {
  min-width: 200px;
  background: var(--accent);
  border-radius: 9em;
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  font-weight: 500;
  padding: 10px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.button:disabled {
  cursor: wait;
}
.button:hover {
  background: var(--accent-hover);
}
.button--outline {
  border: 1px solid;
  background: none;
  color: var(--accent);
}
.button--outline:hover {
  background: none;
  color: var(--accent-hover);
}

.button-row {
  display: flex;
  gap: 10px 20px;
  flex-wrap: wrap;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
}
:disabled {
  opacity: 0.5;
}

.hidden {
  display: none !important;
}

.h2 {
  color: var(--accent);
  font-size: 36px;
  margin-bottom: 24px;
}
@media (max-width: 767px) {
  .h2 {
    font-size: 24px;
    margin-bottom: 12px;
  }
}

.h3 {
  color: var(--accent);
  font-size: 28px;
  margin: 16px 0;
}

.link {
  cursor: pointer;
  transition: color 0.3s;
  font-weight: 500;
}
.link:hover {
  color: var(--accent);
}

.price::after {
  content: " ₽";
}

.date {
  color: var(--dim);
  font-size: 14px;
  margin: 10px 0;
}

.expand {
  display: flex;
  gap: 5px;
  align-items: center;
}
.expand::after {
  content: url(../images/arrow-down.svg);
}
.expand--open::after {
  rotate: 180deg;
}

.separator {
  height: 1px;
  background: #333;
}

.contacts {
  display: flex;
  gap: 30px 50px;
  flex-wrap: wrap;
  max-width: 600px;
  margin-bottom: 30px;
}
.contacts__item {
  flex: 1 auto;
}

.search {
  display: flex;
  gap: 8px;
}

.input {
  width: 100%;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  outline: 0;
  padding: 0;
}

.field {
  border: 1px solid var(--accent);
  border-radius: 5px;
  padding: 10px;
}

@keyframes countdown {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}
.gallery {
  display: flex;
  gap: 20px;
  position: relative;
}
@media (max-width: 767px) {
  .gallery {
    gap: 8px;
  }
}
.gallery--arrows-inside .icon-button--arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  filter: drop-shadow(0 0 3px);
  margin: 0 8px;
  z-index: 29;
}
.gallery--arrows-inside .arrow--next {
  right: 0;
}
.gallery__progress {
  position: absolute;
  bottom: 0;
  height: 6px;
  animation: var(--interval) linear countdown;
  background: linear-gradient(to right, black, var(--accent) 100vw);
}
.gallery__slides {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery__slide {
  min-width: calc(100% / var(--slides, 3));
  min-height: 300px;
  cursor: zoom-in;
  object-fit: cover;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
@media (max-width: 767px) {
  .gallery__slide {
    min-height: 200px;
  }
}

.arrow--prev {
  rotate: 180deg;
  order: -1;
}

.arrow--next {
  order: 1;
}

.hero {
  --slides: 1;
  height: 700px;
  background: #000;
  margin-bottom: 60px;
}
@media (max-width: 767px) {
  .hero {
    height: 400px;
    margin-bottom: 40px;
  }
}
.hero__arrow {
  width: 36px;
}
@media (max-width: 767px) {
  .hero__arrow {
    width: 24px;
    height: 56px;
  }
}
.hero__slide {
  position: relative;
  cursor: auto;
}
.hero__slide:nth-child(3) {
  --opacity: 80%;
}
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  mask: linear-gradient(to right, transparent, rgb(0, 0, 0, var(--opacity, 40%)));
}
.hero__container {
  position: absolute;
  inset: 0;
  height: min-content;
  max-width: 1440px;
  font-size: 24px;
  line-height: 1.2;
  margin: auto auto 0;
  padding: 80px;
  text-shadow: 0 0 4px #000;
  pointer-events: none;
  z-index: 9;
}
@media (max-width: 767px) {
  .hero__container {
    padding: 30px 20px;
    font-size: 16px;
  }
}
.hero__content {
  max-width: 700px;
}
.hero__title {
  color: var(--accent);
  font-size: 48px;
  font-variant-caps: small-caps;
  letter-spacing: 2px;
}
@media (max-width: 767px) {
  .hero__title {
    font-size: 28px;
  }
}

.icon-button {
  min-width: 24px;
  min-height: 24px;
  background: center/contain no-repeat;
  cursor: pointer;
  flex-shrink: 0;
}
.icon-button--search {
  background-image: url(../images/search.svg);
}
.icon-button--arrow {
  background-image: url(../images/arrow.svg);
}
.icon-button--menu {
  background-image: url(../images/menu.svg);
}
.icon-button--close {
  background-image: url(../images/close.svg);
}

.icon-link {
  display: flex;
  gap: 8px;
  align-items: center;
  line-height: 1;
}
.icon-link::before {
  content: var(--link-icon);
  line-height: 0;
}
.icon-link--phone {
  --link-icon: url(../images/phone.svg);
}
.icon-link--email {
  --link-icon: url(../images/email.svg);
}
.icon-link--location {
  --link-icon: url(../images/location.svg);
}
.icon-link--time {
  --link-icon: url(../images/time.svg);
}
.icon-link--business {
  --link-icon: url(../images/briefcase.svg);
}
.icon-link--login {
  --link-icon: url(../images/login.svg);
}
@media (max-width: 1279px) {
  .icon-link__text {
    display: none;
  }
}

.item-list {
  display: grid;
  gap: 30px;
  --image-height: 270px;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  text-align: center;
}
.item-list__item {
  display: grid;
  gap: 10px;
  align-content: space-between;
  padding-bottom: 8px;
  transition: color 0.3s, box-shadow 0.3s;
}
.item-list__item:hover {
  box-shadow: 0 0 8px var(--accent);
}
.item-list__image {
  width: 100%;
  height: var(--image-height);
  object-fit: cover;
}
.item-list__price {
  font-size: 18px;
}

.modal {
  width: 600px;
  max-width: 100%;
  animation: 0.3s fade-in;
  background: none;
  border: 0;
  box-shadow: 0 0 5px black;
  color: inherit;
  padding: 0;
}
.modal::backdrop {
  background: rgba(0, 0, 0, 0.5);
}
.modal__content {
  display: grid;
  gap: 20px;
  position: relative;
  background: var(--bg);
  padding: 40px 60px;
}
@media (max-width: 767px) {
  .modal__content {
    padding: 30px;
  }
}
.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
}
.modal__title {
  color: var(--accent);
  font-size: 36px;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}
.modal__label {
  line-height: 2;
}
.modal__link {
  text-decoration: underline;
}

.nav-menu {
  display: flex;
  gap: 20px;
  flex-direction: column;
  max-width: 1440px;
  background: var(--bg);
  margin: auto;
  padding: 20px 60px;
}
@media (max-width: 1279px) {
  .nav-menu {
    position: fixed;
    inset: 0;
    padding: 10px 20px;
    translate: 100%;
    transition: translate 0.2s;
    z-index: 99;
  }
  .nav-menu--open {
    translate: 0;
  }
}
.nav-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-menu__links {
  display: flex;
  gap: 20px;
  text-transform: uppercase;
}
@media (min-width: 1280px) {
  .nav-menu__links {
    align-items: center;
    justify-content: space-between;
  }
}
@media (max-width: 1279px) {
  .nav-menu__links {
    flex: 1;
    flex-direction: column;
    overflow: auto;
    overscroll-behavior: none;
  }
}
.nav-menu__link--bold {
  font-weight: 700;
}
.nav-menu__sublist {
  display: grid;
  gap: 20px;
  margin-top: 20px;
  padding: 0 20px;
}
@media (min-width: 1280px) {
  .nav-menu__sublist {
    position: absolute;
    background: var(--bg);
    box-shadow: 0 0 5px black;
    padding: 20px;
    z-index: 29;
  }
}
@media (min-width: 1280px) {
  .nav-menu__search {
    flex-basis: 250px;
  }
}
@media (max-width: 1279px) {
  .nav-menu__search {
    order: -1;
  }
}

.news {
  display: grid;
  gap: 30px;
}
@media (min-width: 768px) {
  .news {
    grid-template-columns: repeat(2, 1fr);
  }
}
.news__image {
  width: 100%;
  max-height: 400px;
  margin-bottom: 20px;
  object-fit: cover;
  transition: filter 0.5s;
}
.news__image:hover {
  filter: grayscale(0.8) brightness(0.5);
}
.news__title {
  font-weight: 700;
}

.product {
  display: grid;
  gap: 30px 60px;
  align-items: start;
}
@media (min-width: 1280px) {
  .product {
    grid-template-columns: 1fr 1fr;
  }
}
.product__gallery {
  --slides: 1;
  height: 500px;
}
@media (max-width: 767px) {
  .product__gallery {
    height: 320px;
  }
}
.product__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}
.product__content {
  display: grid;
  gap: 10px;
}
.product__article {
  font-size: 14px;
  color: var(--dim);
}
.product__price {
  font-size: 20px;
  font-weight: 500;
}
.product__detail {
  margin: 8px 0;
}
/*# sourceMappingURL=main.css.map */
