.page-home {
  background: #f7f3ec;
  color: #1c1917;
  font-family: "Manrope", sans-serif;
}

.page-home button,
.page-home input,
.page-home a {
  font-family: inherit;
}

.page-home .full-content {
  background: #f7f3ec;
}

.page-home .header {
  position: sticky;
  top: 0;
  box-shadow: none;
  border-bottom: 1px solid #efe8dc;
  background: #fbf8f3;
}

.page-home .divider {
  margin-top: 0;
  height: 50px;
  background-size: auto;
  background-position: left top;
  background-repeat: repeat-x;
}

.page-home .home-utility {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 8px 20px;
  font-size: 13px;
  color: #5c564e;
  border-bottom: 1px solid #efe8dc;
}

.page-home .home-utility button {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.page-home .home-utility button:hover {
  color: #1c1917;
}

.page-home .logo__wrap {
  flex-grow: 0;
}

.page-home .logo__link {
  gap: 12px;
  justify-content: flex-start;
  text-decoration: none;
}

.page-home .logo__text {
  display: block;
  margin: 0;
  color: #1c1917;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: none;
}

.page-home .logo__text .text-wrapper,
.page-home .logo__text .letters {
  display: inline;
  padding: 0;
}

.page-home .logo__text .line {
  display: none;
}

.page-home .logo {
  width: 54px;
  height: auto;
}

.page-home .header-main .container__custom {
  max-width: none;
  padding: 0;
}

.page-home .header-main__content {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
  padding: 12px 0;
  box-sizing: border-box;
  gap: 12px 18px;
}

.page-home .header-call__wrap {
  display: none;
}

.page-home .header-search {
  flex: 1 1 280px;
  max-width: 560px;
  order: 2;
}

.page-home .header-search__input {
  height: 46px;
  border-radius: 999px;
  border: 1px solid #e4d9c8;
  background: #fff;
  padding: 0 48px 0 18px;
  font-size: 15px;
}

.page-home .header-search__input:focus {
  border-color: #1c1917;
}

.page-home .header-search__input__icon,
.page-home .header-search__input__icon-wrap {
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  background: transparent;
}

.page-home .header-login {
  order: 3;
  flex-grow: 0;
  margin: 0;
}

.page-home .header-login__come-in {
  display: inline;
}

.page-home .header-login .btn {
  background: transparent;
  border: 0;
  color: #1c1917;
  font-weight: 600;
  box-shadow: none;
  border-radius: 999px;
}

.page-home .header-login .btn:hover,
.page-home .header-login .btn:focus {
  background: #efe8dc;
  color: #1c1917;
}

.page-home .header-catalog {
  display: flex;
  order: 4;
  flex-grow: 0;
}

.page-home .header-catalog__btn {
  background: transparent;
  color: #1c1917;
  border: 1px solid #e4d9c8;
  border-radius: 999px;
  gap: 8px;
  padding: 8px 14px;
  font-weight: 600;
}

.page-home .header-catalog__btn__icon {
  width: 16px;
  height: 16px;
  color: #1c1917;
}

.page-home .header-basket__wrap {
  order: 5;
  width: auto;
  flex-grow: 0;
  margin: 0;
}

.page-home .header-basket__icon__wrap {
  width: 44px;
  height: 44px;
  background: #1c1917;
}

.page-home .logo__wrap {
  order: 1;
}

.home {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 72px;
}

.home-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 8px;
  padding: 46px 0 40px;
  overflow: hidden;
  background: transparent;
  color: #1c1917;
}

.home-hero__stage {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(280px, 540px);
  justify-content: space-between;
  align-items: stretch;
  gap: 28px 64px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.home-hero__copy,
.home-hero__visual {
  position: relative;
  z-index: 1;
}

.home-hero h1 {
  margin: 0 0 18px;
  max-width: none;
  overflow: visible;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 6.2vw, 92px);
  line-height: 0.88;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #1c1917;
}

.home-hero h1 em {
  display: inline-block;
  padding-right: 0.22em;
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(120deg, #8d7352 0%, #c4a574 55%, #6d5a45 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-hero__lead {
  margin: 0;
  max-width: 34ch;
  font-size: 16px;
  line-height: 1.45;
  color: #4a453f;
}

.page-home .main-index__banner,
.page-home .main-index__banner__list,
.page-home .main-index__banner__slide {
  min-height: 0;
  height: auto;
}

.page-home .main-index__banner__slide {
  display: block;
}

.page-home .main-index__banner__slide__img__wrap {
  width: 100%;
}

.home-hero__visual {
  position: relative;
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  align-self: stretch;
  overflow: hidden;
}

.home-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 58%;
  background: linear-gradient(90deg, rgba(247, 243, 236, 0.82) 0%, rgba(247, 243, 236, 0.28) 62%, rgba(247, 243, 236, 0) 100%);
  pointer-events: none;
}

.home-hero__hours {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 22px;
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: 0.85em;
  row-gap: 0.12em;
  align-items: baseline;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #1c1917;
}

.home-hero__hours span {
  display: contents;
}

.home-hero__hours i {
  font-style: italic;
  font-weight: 500;
  text-align: right;
  color: #6a5340;
}

.home-hero__hours b {
  font-weight: 600;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.home-hero__photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.home-hero__hours .is-off b {
  color: #e10600;
  font-style: italic;
  font-weight: 600;
}

.home-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 56px 0 18px;
}

.home-section__head h2,
.home-explore h2,
.home-promo h2,
.home-note > h2,
.page-home .products-index__title {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 32px;
  font-weight: 600;
}

.home-section__head p {
  margin: 0;
  color: #5c564e;
}

.home-explore__grid {
  --tile-cols: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.home-explore__grid .home-tile {
  flex: 1 1 calc((100% - (var(--tile-cols) - 1) * 14px) / var(--tile-cols) - 1px);
  min-width: calc((100% - (var(--tile-cols) - 1) * 14px) / var(--tile-cols) - 1px);
}

.home-tile {
  position: relative;
  display: block;
  min-height: 210px;
  border-radius: 18px;
  overflow: hidden;
  background: #e7dfd2;
  color: #fff;
  text-decoration: none;
}

.home-tile img,
.home-tile__fallback {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.home-tile__fallback {
  background:
    linear-gradient(160deg, #efe6d6 0%, #d9c3a4 100%);
}

.home-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 16, 12, 0.72), rgba(20, 16, 12, 0.02) 58%);
  pointer-events: none;
}

.home-tile:not(:has(img))::after {
  background: none;
}

.home-tile__name {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.home-tile:not(:has(img)) .home-tile__name {
  color: #1c1917;
  text-shadow: none;
}

.home-tile:hover img {
  transform: scale(1.03);
}

.home-tile img {
  transition: transform 0.35s ease;
}

.page-home .products-index {
  margin: 8px 0 0;
}

.page-home .products-index__content {
  margin: 0;
  padding: 8px 0 24px;
  height: auto;
}

.page-home .products-index__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  row-gap: 16px;
}

.page-home .products-index__item {
  width: auto;
  height: auto;
  min-height: 340px;
  padding: 16px 16px 18px;
  background: #fff;
  border: 1px solid #efe8dc;
  border-radius: 18px;
  box-shadow: none;
  justify-content: flex-start;
  gap: 12px;
}

.page-home .products-index__item:hover {
  transform: translateY(-3px);
  box-shadow: none;
  background: #fff;
  border-color: #d9d0c3;
}

.page-home .products-index__item__img__wrap {
  width: 100%;
  height: 180px;
}

.page-home .products-index__item__img {
  width: 100%;
  height: 180px;
  object-fit: contain;
}

.page-home .products-index__item__content {
  width: 100%;
  height: auto;
  flex: 1;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.page-home .products-index__item__title {
  height: auto;
  min-height: 48px;
  text-align: left;
  font-weight: 600;
  line-height: 1.35;
}

.page-home .products-index__item__price {
  align-self: flex-start;
  font-size: 18px;
}

.page-home .products-index__item__btn {
  background: #e10600;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
}

.page-home .products-index__item__btn:hover {
  background: #c10500;
}

.page-home .pagination-index {
  margin-top: 8px;
}

.home-promo {
  margin-top: 56px;
}

.home-promo__card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  background: #fff;
  border: 1px solid #efe8dc;
  border-radius: 18px;
}

.home-promo__card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}

.home-promo__card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.home-promo__text {
  color: #3f3a34;
  font-size: 16px;
  line-height: 1.65;
}

.home-note {
  margin-top: 64px;
  padding: 32px 36px 28px;
  background: #fff;
  border: 1px solid #efe8dc;
  border-radius: 18px;
}

.home-note > h2 {
  max-width: 18em;
  margin-bottom: 18px;
  font-size: 30px;
  line-height: 1.15;
}

.home-note__text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  column-gap: 48px;
  align-items: start;
  color: #3f3a34;
  font-size: 16px;
  line-height: 1.65;
}

.home-note__aside {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.home-note__close {
  grid-column: 1 / -1;
}

.home-note__text h2 {
  margin: 0 0 12px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: #1c1917;
}

.home-note__text ol,
.home-note__text ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-note__text li {
  padding: 9px 0 9px 14px;
  border-top: 1px solid #efe8dc;
  color: #1c1917;
  font-size: 15px;
  line-height: 1.35;
}

.home-note__text li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 9px 2px -14px;
  border-radius: 50%;
  background: #e10600;
  vertical-align: middle;
}

.home-note__text p,
.home-promo__text p {
  margin: 0 0 12px;
}

.home-note__story > p:first-child {
  font-size: 17px;
  line-height: 1.6;
}

.home-note__close {
  margin: 8px 0 0;
  padding-top: 16px;
  border-top: 1px solid #efe8dc;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 20px;
  line-height: 1.35;
  color: #1c1917;
}

.home-note__text strong {
  font-weight: 600;
}

.home-note__text a {
  color: #1c1917;
  font-weight: 600;
  text-underline-offset: 3px;
}

.home-note__text i,
.home-note__text em {
  font-style: normal;
  color: #5c564e;
}

.page-home .footer {
  background: #fbf8f3;
  margin-top: 48px;
  border-top: 1px solid #e7dfd3;
  box-shadow: none;
  z-index: 1;
  font-size: 14px;
  color: #3f3a34;
}

.page-home .footer__list {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 22px;
  display: grid;
  grid-template-columns: max-content max-content max-content max-content;
  gap: 32px 48px;
  align-items: start;
  justify-content: space-between;
}

.page-home .footer__info__title,
.page-home .footer__help__title,
.page-home .footer__payment__title,
.page-home .footer__social__title {
  margin: 0 0 12px;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #8a8175;
}

.page-home .footer__info,
.page-home .footer__help,
.page-home .footer__payment,
.page-home .footer__social {
  padding: 0;
  min-height: 0;
}

.page-home .footer__info__list,
.page-home .footer__help__list {
  margin: 0;
  padding: 0;
  min-height: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}

.page-home .footer__info__link,
.page-home .footer__help__link {
  color: #1c1917;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.page-home .footer__info__link:hover,
.page-home .footer__help__link:hover {
  color: #6d5a45;
}

.page-home .footer__payment__img__wrap {
  width: auto;
}

.page-home .footer__payment__img {
  display: block;
  width: auto;
  height: 34px;
  max-width: 160px;
  object-fit: contain;
  object-position: left center;
}

.page-home .footer__social__list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: auto;
  margin: 0;
}

.page-home .footer__social__link {
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 50%;
  background: #1c1917;
  display: grid;
  place-items: center;
}

.page-home .footer__social__link:hover {
  background: #3f3a34;
}

.page-home .footer__social__svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.page-home .footer__bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid #e7dfd3;
  padding: 14px 0 20px;
}

.page-home .footer__underground {
  padding: 0;
}

.page-home .footer__underground__text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 14px;
  margin: 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: #8a8175;
}

.page-home .footer__copy-years {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.page-home .footer__admin-link {
  margin: 0;
  color: #8a8175;
}

.home-tabbar {
  display: none;
}

@keyframes home-tab-count {
  50% { transform: scale(1.28); }
}

.page-home .sidenav {
  background: #fbf8f3;
  border-right: 1px solid #efe8dc;
  padding-top: 76px;
}

.page-home .sidenav::before {
  content: "Каталог";
  display: block;
  padding: 0 28px 14px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  color: #1c1917;
}

.page-home .sidenav .closebtn {
  top: 18px;
  right: 18px;
  margin: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 28px;
  line-height: 1;
  color: #1c1917;
  text-decoration: none;
}

.page-home .header-sidemenu {
  padding: 0 16px 24px;
}

.page-home .header-sidemenu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 0 8px;
  border-bottom: 1px solid #efe8dc;
}

.page-home .header-sidemenu__item-link {
  flex: 1;
  padding: 14px 0;
  color: #1c1917;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.page-home .sidenav .arrow-icon {
  width: 14px;
  height: 14px;
  flex: none;
  color: #5c564e;
}

.page-home .header-sidemenu__item:hover {
  background: #efe8dc;
}

.page-home .header-sidemenu__item:hover,
.page-home .header-sidemenu__item:hover > svg,
.page-home .header-sidemenu__item:hover .header-sidemenu__item-link,
.page-home .sidenav > li:hover > a {
  color: #1c1917;
}

@media (max-width: 1100px) {
  .page-home .products-index__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-hero {
    width: 100%;
    margin-left: 0;
    padding: 28px 0 26px;
  }

  .home-hero__stage {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    gap: 22px;
    width: min(1180px, calc(100% - 32px));
  }

  .home-hero__copy,
  .home-hero__visual {
    min-width: 0;
    max-width: 100%;
  }

  .home-hero__visual {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    margin-top: 8px;
  }

  .home-hero__hours {
    top: 14px;
    left: 16px;
    font-size: clamp(22px, 6vw, 28px);
  }

  .home-hero__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
  }

  .home-hero h1 {
    max-width: 100%;
    font-size: clamp(36px, 11vw, 48px);
  }

  .page-home .full-content {
    margin-left: 0 !important;
    opacity: 1 !important;
  }

  .page-home .sidenav[style*="width: 100%"],
  .page-home .sidenav[style*="width:100%"] {
    width: 100% !important;
    border-right: 0;
  }

  .page-home .main-index__banner__slide__img {
    height: auto;
    aspect-ratio: auto;
  }

  .home-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 40px;
  }

  .page-home .header-main .container__custom {
    padding: 0 15px;
  }

  .page-home .header-main__content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 16px 12px;
    gap: 10px 0;
  }

  .page-home .logo__wrap {
    order: 2;
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    min-width: 0;
  }

  .page-home .logo__link {
    justify-content: center;
    gap: 0;
  }

  .page-home .logo {
    display: none;
  }

  .page-home .header-login {
    order: 1;
    flex: 0 0 auto;
    margin: 0;
  }

  .page-home .header-basket__wrap {
    display: none;
  }

  .page-home .header-search {
    order: 4;
    flex: 1 0 100%;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .page-home .header-catalog {
    display: none;
  }

  .page-home .header-login .btn {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 10px;
    margin: 0;
  }

  .page-home .header-login__come-in {
    display: inline;
  }

  .page-home .logo__text {
    font-size: 22px;
    letter-spacing: 0.06em;
  }

  .home-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1002;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-top: 1px solid #efe8dc;
    box-shadow: 0 -8px 24px rgba(28, 25, 23, 0.08);
    padding: 6px 4px calc(8px + env(safe-area-inset-bottom));
  }

  .home-tabbar a,
  .home-tabbar button {
    position: relative;
    border: 0;
    background: transparent;
    color: #6a5340;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    padding: 8px 0 6px;
  }

  .home-tabbar__cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .home-tabbar__count {
    display: none;
    position: static;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #1c1917;
    color: #f7f3ec;
    font-family: Manrope, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 0;
  }

  .home-tabbar__count.is-on {
    display: inline-grid;
    place-items: center;
  }

  .home-tabbar__count.is-bump {
    animation: home-tab-count 0.35s ease;
  }

  .home-tabbar .is-active {
    color: #1c1917;
    box-shadow: inset 0 -2px 0 #8d7352;
  }

  .page-home .full-content {
    padding-bottom: 64px;
  }
}

@media (max-width: 700px) {
  .home {
    width: min(1180px, calc(100% - 28px));
  }

  .home-explore__grid {
    --tile-cols: 2;
  }

  .page-home .products-index__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-tile,
  .home-tile img,
  .home-tile__fallback {
    min-height: 150px;
    height: 160px;
  }

  .home-promo__card {
    grid-template-columns: 1fr;
  }

  .home-note {
    padding: 22px 18px 18px;
  }

  .home-note > h2 {
    font-size: 26px;
  }

  .home-note__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .home-note__aside {
    margin: 8px 0 4px;
  }

  .home-utility__wide {
    display: none;
  }

  .page-home .products-index__item {
    min-height: 0;
    padding: 12px;
  }

  .page-home .products-index__item__img__wrap,
  .page-home .products-index__item__img {
    height: 120px;
  }

  .home-explore__grid--sub {
    --tile-cols: 3;
  }

  .home-tile.home-tile--sub {
    min-height: 148px;
    height: 100%;
  }

}

.home-explore__grid--sub {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-explore__grid--sub .home-tile {
  flex: none;
  width: auto;
  max-width: none;
  min-width: 0;
}

.home-tile--sub {
  min-height: 118px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e4d3b8;
  color: #1c1917;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.home-tile--sub::after {
  display: none;
}

.home-tile--sub .home-tile__name::after {
  content: "→";
  display: block;
  width: max-content;
  margin: 8px auto 0;
  color: #8d7352;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.2s ease;
}

.home-tile--sub:hover,
.home-tile--sub:focus-visible {
  border-color: #8d7352;
  background: #fffaf3;
  box-shadow: 0 8px 18px rgba(28, 25, 23, 0.07);
}

.home-tile--sub:hover .home-tile__name::after,
.home-tile--sub:focus-visible .home-tile__name::after {
  transform: translateX(4px);
}

.home-tile--sub:focus-visible {
  outline: 2px solid #8d7352;
  outline-offset: 3px;
}

.home-tile--sub .home-tile__name {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-wrap: balance;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  color: #1c1917;
  text-shadow: none;
}

.page-category .breadcrumb-nav-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 8px auto 0;
  padding: 18px 0 0;
  background: transparent;
}

.page-category .container__breadcrumb-nav,
.page-category .container__breadcrumb-nav__category {
  max-width: none;
  padding: 0;
}

.page-category .breadcrumb-nav {
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.page-category .breadcrumb-nav-item,
.page-category .breadcrumb-nav-separator {
  margin: 0;
  color: #5c564e;
  font-size: 14px;
  font-weight: 500;
}

.page-category a.breadcrumb-nav-item {
  color: #5c564e;
  text-decoration: none;
}

.page-category h1.breadcrumb-nav-item {
  flex-basis: 100%;
  margin-top: 4px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  color: #1c1917;
}

.page-category .home-explore {
  margin-top: 18px;
}

.page-category .products-category {
  margin: 0;
}

.page-category .products-category__carousel,
.page-category #productsCategoryContainer,
.page-category .products-category__list {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.page-category .products-category__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 8px 0 24px;
  justify-content: stretch;
}

.page-category .products-category__item {
  display: flex;
  flex-direction: column;
  width: auto;
  height: 100%;
  min-height: 0;
  padding: 16px 16px 18px;
  background: #fff;
  border: 1px solid #efe8dc;
  border-radius: 18px;
  box-shadow: none;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  cursor: pointer;
}

.page-category .products-category__item:hover {
  transform: translateY(-3px);
  border: 1px solid #d9d0c3;
  box-shadow: none;
}

.page-category .products-category__item__img__wrap {
  width: 100%;
  height: 160px;
}

.page-category .products-category__item__img {
  width: 100%;
  height: 160px;
  object-fit: contain;
}

.page-category .products-category__item__title {
  margin: 0;
  min-height: 48px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.page-category .products-category__item__price {
  margin-top: auto;
  font-size: 18px;
  font-weight: 700;
}

.page-category .products-category__item__btn {
  align-self: flex-start;
  background: #e10600;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
}

.page-category .products-category__item__btn:hover {
  background: #c10500;
}

.page-category .home-note {
  margin-bottom: 48px;
}

.page-category .home-note__text {
  display: block;
}

@media (max-width: 1100px) {
  .page-category .products-category__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .page-category .products-category__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .page-category .products-category__item {
    padding: 12px;
  }

  .page-category .products-category__item__img__wrap,
  .page-category .products-category__item__img {
    height: 120px;
  }

  .page-category .products-category__item__title {
    font-size: 14px;
  }
}

@media (max-width: 800px) {
  .page-home .footer__list,
  .page-home .footer__bottom {
    width: min(1180px, calc(100% - 32px));
  }

  .page-home .footer__list {
    grid-template-columns: 1fr 1fr;
    gap: 22px 20px;
    padding-top: 26px;
  }

  .page-home .footer__payment__img {
    height: 28px;
  }
}

@media (max-width: 700px) {
  .home-explore__grid--sub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-tile.home-tile--sub {
    min-height: 148px;
    height: 100%;
    padding: 14px 12px;
  }

  .home-tile--sub .home-tile__name {
    font-size: 14px;
    line-height: 1.3;
  }

  .home-tile--sub .home-tile__name::after {
    margin-top: 6px;
  }
}

.page-category .products-category__carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 8px;
  row-gap: 14px;
  width: 100%;
  min-width: 0;
}

.page-category .products-category__carousel > .swiper-wrapper {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.page-category .pagination.pagination-category {
  grid-column: 2;
  grid-row: 2;
  position: static;
  width: auto;
  height: auto;
  min-width: 0;
  flex-wrap: nowrap;
  justify-content: center;
  margin: 0;
  right: auto;
}

.page-category .btn-prev-category-10,
.page-category .btn-next-category-10 {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  margin: 0;
  padding: 0 14px;
  line-height: 1;
  font-size: 13px;
  white-space: nowrap;
}

.page-category .btn-prev-category-10 {
  grid-column: 1;
  grid-row: 2;
}

.page-category .btn-next-category-10 {
  grid-column: 3;
  grid-row: 2;
}

.page-category .btn-pagination {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 34px;
  height: 34px;
  margin: 0 2px;
  line-height: 1;
}

.page-home #basket__modal .modal-content {
  background: #fbf8f3;
  border: 1px solid #e7dfd3;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(28, 25, 23, 0.16);
}

.page-home #basket__modal .basket__modal {
  max-width: 760px;
}

.page-home #basket__modal .modal-header {
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #efe8dc;
  background: transparent;
}

.page-home #basket__modal .modal-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  color: #1c1917;
}

.page-home #basket__modal .basket__header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.page-home #basket__modal .basket__continue {
  border: 1px solid #e4d9c8;
  background: #fff;
  color: #1c1917;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.page-home #basket__modal .basket__continue:hover {
  background: #f7f3ec;
}

.page-home #basket__modal .btn-close {
  margin: 0;
  opacity: 0.7;
}

.page-home #basket__modal .basket__modal__body {
  height: auto;
  min-height: 220px;
  max-height: min(52vh, 440px);
  padding: 16px 20px 8px;
  background: transparent;
  overflow-x: hidden;
}

.page-home #basket__modal .basket__modal__swiper {
  width: 100%;
  overflow: hidden;
}

.page-home #basket__modal .basket__modal__swiper .swiper-slide {
  max-width: none;
  box-sizing: border-box;
}

.page-home #basket__modal .basket__modal__cart {
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  min-height: 180px;
}

.page-home #basket__modal .basket__empty,
.page-home #basket__modal .basket__modal__cart > p {
  margin: auto;
  color: #8a8175;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

.page-home #basket__modal .cart__product {
  padding: 0;
  border: 1px solid #efe8dc;
  border-radius: 16px;
  background: #fff;
}

.page-home #basket__modal .cart__product__overlook {
  height: auto;
  min-height: 0;
  gap: 12px;
  padding: 12px;
  align-items: center;
  flex-wrap: nowrap;
}

.page-home #basket__modal .overlook__img__container {
  width: auto;
  flex: none;
}

.page-home #basket__modal .overlook__img__wrap {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #f7f3ec;
}

.page-home #basket__modal .overlook__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home #basket__modal .overlook__name__wrap {
  width: auto;
  flex: 1;
  min-width: 0;
}

.page-home #basket__modal .overlook__name {
  margin: 0 0 2px;
  font-size: 14px;
  line-height: 1.35;
  color: #1c1917;
}

.page-home #basket__modal .overlook__name b {
  color: #1c1917;
  font-weight: 600;
}

.page-home #basket__modal .cart__product__btns__wrap-container {
  width: auto;
  flex: none;
}

.page-home #basket__modal .cart__product__btns__wrap {
  width: auto;
  height: auto;
  gap: 6px;
}

.page-home #basket__modal .cart__product__btns__wrap p {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a8175;
}

.page-home #basket__modal .btns__btn,
.page-home #basket__modal .btns__count {
  width: 28px;
  height: 28px;
  border: 1px solid #e4d9c8;
  background: #fff;
  color: #1c1917;
}

.page-home #basket__modal .cart__product__btns .btns__btn:first-child {
  border-radius: 8px 0 0 8px;
}

.page-home #basket__modal .cart__product__btns .btns__btn:last-child {
  border-radius: 0 8px 8px 0;
}

.page-home #basket__modal .btns__btn:hover {
  background: #f7f3ec;
}

.page-home #basket__modal .cart__product__price {
  width: auto;
  flex: none;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.page-home #basket__modal .cart__product__garbage__wrap {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  color: #8a8175;
}

.page-home #basket__modal .cart__product__garbage {
  width: 16px;
  height: 16px;
  color: currentColor;
}

.page-home #basket__modal .cart__product__garbage__wrap:hover {
  background: #f7f3ec;
  color: #e10600;
}

.page-home #basket__modal .modal-footer {
  align-items: center;
  gap: 16px;
  padding: 14px 20px 18px;
  border-top: 1px solid #efe8dc;
  background: transparent;
}

.page-home #basket__modal .modal-footer__btns {
  width: auto;
  flex: 1;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 8px;
  height: auto;
}

.page-home #basket__modal .modal-footer__btns .btn {
  flex: 1 1 0;
  min-width: 0;
  height: 40px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #e4d9c8;
  border-radius: 999px;
  background: #fff;
  color: #1c1917;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.page-home #basket__modal .modal-footer__btns .btn:hover {
  background: #f7f3ec;
}

.page-home #basket__modal .modal-footer__btns button.active {
  border-color: #e10600 !important;
  background: #e10600 !important;
  color: #fff !important;
}

.page-home #basket__modal .modal-footer__text {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #1c1917;
  white-space: nowrap;
}

.page-home #basket__modal .order-choose__title {
  margin: 4px 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  color: #8a8175;
}

.page-home #basket__modal .order-choose__delivery,
.page-home #basket__modal .order-choose__payment {
  display: grid;
  align-items: stretch;
  justify-content: stretch;
  gap: 8px;
  width: 100%;
  margin: 0 0 18px;
}

.page-home #basket__modal .order-choose__delivery {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.page-home #basket__modal .order-choose__payment {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.page-home #basket__modal .order-choose__payment > div {
  width: 112px;
  flex: none;
}

.page-home #basket__modal .card-input__icon-wrap,
.page-home #basket__modal .order-choose__payment label {
  width: auto;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 6px 10px;
  border: 1px solid #e7dfd3;
  border-radius: 14px;
  background: #fff;
  color: #1c1917;
  text-align: center;
}

.page-home #basket__modal .card-input__icon-wrap p {
  margin: 8px 0 0;
  min-height: 2.4em;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.page-home #basket__modal .card-input__icon,
.page-home #basket__modal .artmagic_department,
.page-home #basket__modal .ukr_post {
  width: 28px;
  height: 28px;
  flex: none;
  object-fit: contain;
}

.page-home #basket__modal .card-input:checked + .card-input__icon-wrap,
.page-home #basket__modal .wallet-input:checked + .card-input__icon-wrap,
.page-home #basket__modal .card-input__icon-wrap.is-selected {
  border-color: #1c1917;
  background: #f7f3ec;
  box-shadow: inset 0 0 0 1px #1c1917;
}

.page-home #basket__modal .order__input {
  width: min(100%, 420px);
  border: 1px solid #e4d9c8;
  border-radius: 12px;
  background: #fff;
  color: #1c1917;
  padding: 10px 14px;
}

.department-picker__query,
.department-picker__list {
  display: none;
}

.page-home #basket__modal .department-picker {
  position: relative;
  width: min(100%, 420px);
}

.page-home #basket__modal .department-picker .order__input {
  width: 100%;
  margin: 0;
}

.page-home #basket__modal .department-picker__native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.page-home #basket__modal .department-picker__query {
  display: block;
}

.page-home #basket__modal .department-picker__list:not([hidden]) {
  display: block;
  width: 100%;
  max-height: 180px;
  margin: 6px 0 0;
  padding: 6px;
  overflow: auto;
  list-style: none;
  border: 1px solid #e4d9c8;
  border-radius: 12px;
  background: #fff;
}

.page-home #basket__modal .department-picker__option {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #1c1917;
  padding: 8px 10px;
  text-align: left;
  font-size: 13px;
  line-height: 1.35;
  cursor: pointer;
}

.page-home #basket__modal .department-picker__option:hover,
.page-home #basket__modal .department-picker__option.is-active {
  background: #f7f3ec;
}

.page-home #basket__modal .department-picker__empty {
  padding: 8px 10px;
  color: #8a8175;
  font-size: 13px;
}

.page-home #basket__modal [data-submit="btn_Order"] {
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: #e10600;
  padding: 10px 22px;
  font-weight: 600;
}

.page-home #basket__modal [data-submit="btn_Order"]:hover {
  background: #c10500;
}

@media (max-width: 700px) {
  .page-home #basket__modal .modal-dialog {
    margin: 12px;
  }

  .page-home #basket__modal .modal-title {
    font-size: 28px;
  }

  .page-home #basket__modal .cart__product__overlook {
    flex-wrap: wrap;
  }

  .page-home #basket__modal .overlook__name__wrap {
    flex: 1 1 calc(100% - 96px);
  }

  .page-home #basket__modal .cart__product__btns__wrap-container,
  .page-home #basket__modal .cart__product__price {
    margin-left: 84px;
  }

  .page-home #basket__modal .modal-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px 14px;
  }

  .page-home #basket__modal .modal-footer__btns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
  }

  .page-home #basket__modal .modal-footer__btns .btn {
    width: 100%;
    height: 44px;
    padding: 0 8px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .page-home #basket__modal .modal-footer__text {
    width: 100%;
    text-align: right;
    font-size: 18px;
  }

  .page-home #basket__modal .order-choose__delivery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
