:root {
  --color-white: #ffffff;
  --color-cream: #fdfbf8;
  --color-orange: #ea5b0c;
  --color-orange-soft: #ffe0cf;
  --color-black: #000000;
  --color-text: #2d2d2d;
  --color-text-muted: #645f5f;
  --color-heading-footer: #454545;
  --color-bar: #222222;
  --color-border: #e6e1db;
  --header-h: 77px;
  --container: 1240px;
  --pad: 100px;
  --font-serif: "Playfair Display", "News706 BT", "Times New Roman", serif;
  --font-nav: "Manrope", "TT Norms", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Jost", "Futura Bk BT", "Futura", "Century Gothic", sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  min-width: 320px;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 218px;
  height: 53px;
  padding: 0 24px;
  background: var(--color-orange);
  border: 1px solid var(--color-black);
  color: var(--color-white);
  font-family: var(--font-nav);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: #d14f09;
}

.btn--sm {
  min-width: 144px;
  height: 44px;
  font-size: 16px;
}

.title-xl {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 64px;
  line-height: 1.05;
  color: var(--color-text);
  margin: 0;
}

.title-xl span {
  display: block;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--color-white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 107px 0 107px;
  gap: 18px;
}

.logo {
  display: block;
  width: 93px;
  height: 63px;
  overflow: hidden;
  flex-shrink: 0;
}

.logo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  margin-left: 0;
  margin-top: 0;
}

.badge-auth {
  width: 60px;
  height: 54px;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 24px;
  flex: 1;
}

.nav-main a {
  font-family: var(--font-nav);
  font-size: 14px;
  line-height: 17px;
  text-transform: uppercase;
  color: #000;
  white-space: nowrap;
}

.nav-main a.is-active {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.icon-btn {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-btn img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.fav-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-nav);
  font-size: 14px;
  text-transform: uppercase;
  position: relative;
}

.fav-link__icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.fav-link__icon img {
  width: 28px;
  height: 28px;
}

.fav-link__count {
  position: absolute;
  top: -1px;
  right: -2px;
  box-shadow: 0px 0px 0px 2px #fff;
  min-width: 13px;
  height: 13px;
  padding: 0 3px;
  border-radius: 50%;
  background: var(--color-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
  font-family: var(--font-nav);
}

.burger,
.header-close {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  height: 623px;
  overflow: hidden;
  background: #1a1a1a;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.hero__content {
  position: absolute;
  left: 101px;
  top: 178px;
  color: #fff;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 18px;
  color: #fff;
}

.ticker {
  background: var(--color-bar);
  color: #fff;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* New In */
.new-in {
  background: var(--color-cream);
  padding: 76px 0 96px;
}

.new-in__grid {
  display: grid;
  grid-template-columns: minmax(0, 335px) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.new-in__lead p {
  margin: 24px 0 40px;
  font-size: 16px;
  line-height: 1.35;
  max-width: 335px;
}

.new-in__track-wrap {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.new-in-swiper {
  overflow: hidden;
  padding-bottom: 8px;
}

.new-in-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 340px;
  padding: 14px 12px 20px;
  background: #fff;
  text-align: center;
}

.new-in-card__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  color: inherit;
}

.new-in-card img {
  width: 100%;
  height: 240px;
  object-fit: contain;
}

.new-in-card__name {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.15;
  max-width: 250px;
}

.new-in__next {
  position: absolute;
  right: 4px;
  top: 42%;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff url("images/icons/new-in-arrow.svg") center / 8px 16px no-repeat;
  transform: rotate(180deg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

/* Categories mosaic */
.cats {
  padding: 48px 0 56px;
}

.cats__mosaic {
  display: grid;
  grid-template-columns: 547px 1fr;
  grid-template-rows: 328px 330px 328px;
  gap: 22px 18px;
}

.cat-tile {
  position: relative;
  overflow: hidden;
  display: block;
  color: #fff;
}

.cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 1;
}

.cat-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  transition: transform 0.6s ease;
}

.cat-tile:hover img {
  transform: scale(1.08);
}

.cat-tile:hover::after {
  opacity: 1;
}

.cat-tile span {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  font-family: var(--font-nav);
  font-size: 36px;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.cat-tile--tall {
  grid-row: 1 / 3;
}

/* USP */
.usp {
  background: var(--color-cream);
  padding: 50px 0 58px;
}

.usp__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px 120px;
  padding: 0 var(--pad);
  text-align: center;
}

.usp__item img {
  width: 128px;
  height: 128px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.usp__item p {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
}

/* Split content */
.split {
  display: grid;
  grid-template-columns: 1fr 666px;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
}

.split--reverse {
  grid-template-columns: 678px 1fr;
}

.split--reverse .split__copy {
  text-align: right;
  justify-self: end;
}

.split__copy {
  max-width: 403px;
}

.split__copy p {
  font-size: 20px;
  line-height: 1.45;
  margin: 22px 0 36px;
}

.split__media {
  height: 500px;
  overflow: hidden;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.philosophy {
  background: var(--color-cream);
}

/* Reviews */
.reviews {
  padding: 72px 0 56px;
}

.reviews__title {
  margin-bottom: 46px;
}

.reviews-slider {
  min-width: 0;
}

.reviews .swiper {
  overflow: hidden;
}

.review-card {
  position: relative;
  height: 301px;
  overflow: hidden;
  display: flex;
  gap: 16px;
}

.review-card__quote {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.review-card__text {
  font-size: 16px;
}

.reviews__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 18px;
}

.reviews__dots {
  position: static;
  display: flex;
  gap: 3px;
  width: auto;
}

.reviews .swiper-pagination-bullet {
  width: 17px;
  height: 16px;
  margin: 0 3px;
  border-radius: 8px;
  background: var(--color-orange-soft);
  opacity: 1;
}

.reviews .swiper-pagination-bullet-active {
  background: var(--color-orange);
}

.reviews__arrow {
  width: 8px;
  height: 14px;
  border: 0;
  background: transparent url("images/icons/arrow-left.svg") center / contain no-repeat;
  cursor: pointer;
}

.reviews__arrow--next {
  transform: rotate(180deg);
}

/* Footer */
.site-footer {
  background: var(--color-cream);
  padding: 66px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 80px;
}

.footer-col h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-heading-footer);
  margin: 0 0 10px;
  line-height: 40px;
}

.footer-col--social h3 {
  text-align: right;
  color: var(--color-text);
}

.footer-col a,
.footer-col p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 40px;
  margin: 0;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}

.footer-contact-row img {
  width: 23px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-contact-row a {
  text-decoration: underline;
}

.socials {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 24px;
}

.socials a {
  width: 45px;
  height: 45px;
  display: block;
}

.socials a img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.copybar {
  background: var(--color-bar);
  color: #fff;
  text-align: center;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* Content pages */
.page-hero {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 106px;
  align-items: center;
  padding: 59px 100px 80px;
  max-width: 1440px;
  margin: 0 auto;
}

.page-hero__copy {
  background: var(--color-cream);
  min-height: 502px;
  padding: 70px 85px;
}

.page-hero__copy h1 {
  margin: 0 0 28px;
}

.page-hero__copy p,
.page-hero__copy li {
  font-size: 20px;
  line-height: 1.45;
}

.page-hero__copy ul {
  padding-left: 22px;
}

.page-hero__media {
  height: 754px;
  overflow: hidden;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

/* Catalog */
.catalog {
  padding: 56px 0 96px;
}

.catalog__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.catalog__head .title-xl {
  font-size: 48px;
}

.catalog__layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.filter {
  position: sticky;
  top: 100px;
  padding: 4px 0 24px;
  background: transparent;
}

.filter h2 {
  margin: 0 0 22px;
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.filter__group {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.filter__group legend,
.filter__group h3 {
  margin: 0 0 10px;
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.filter label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.35;
  cursor: pointer;
}

.filter input[type="checkbox"] {
  accent-color: var(--color-orange);
}

.filter input[type="number"],
.filter select {
  width: 100%;
  height: 40px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1px solid #cfc8c0;
  background: transparent;
}

.filter__prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.filter .btn {
  min-width: 0;
  height: 42px;
  margin-top: 8px;
  padding: 0 22px;
  background: #fff;
  color: #222;
  border-color: #222;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter .btn:hover {
  background: #222;
  color: #fff;
}

.catalog-nav {
  position: sticky;
  top: 100px;
  padding: 4px 0 24px;
}

.catalog-nav__all,
.catalog-nav__parent {
  display: block;
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-nav__all {
  margin-bottom: 22px;
}

.catalog-nav__group + .catalog-nav__group {
  margin-top: 18px;
}

.catalog-nav__subs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  padding-left: 12px;
}

.catalog-nav__subs a {
  font-size: 15px;
  line-height: 1.35;
  color: var(--color-text-muted);
}

.catalog-nav a.is-current {
  color: var(--color-orange);
}

.cats-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.cats-pills a {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--color-cream);
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cats-pills a.is-active {
  background: #222;
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 18px;
}

.product-card {
  display: block;
  padding: 0;
  background: transparent;
  text-align: center;
  transition: transform 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card__img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: var(--color-cream);
}

.product-card__img a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
}

.product-card__img img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-card__name {
  display: block;
  margin: 14px 8px 4px;
  font-size: 15px;
  line-height: 1.3;
}

.product-card__price {
  font-family: var(--font-nav);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-nav);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-sort select {
  height: 36px;
  padding: 0 22px 0 4px;
  border: 0;
  border-bottom: 1px solid #222;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23222' stroke-width='1.2'/%3E%3C/svg%3E") right center no-repeat;
  appearance: none;
  font-family: inherit;
  font-size: 13px;
}

.pager {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 48px;
}

.pager a,
.pager span {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid transparent;
  font-family: var(--font-nav);
  color: var(--color-text-muted);
}

.pager .is-active {
  color: var(--color-orange);
  border-bottom-color: var(--color-orange);
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.4s;
}

.search-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s;
}

.search-panel {
  position: relative;
  z-index: 2;
  background: #fff;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}

.search-overlay.is-open .search-panel {
  transform: translateY(0);
}

.search-panel form {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px var(--pad);
}

.search-panel input {
  flex: 1;
  height: 56px;
  border: 0;
  background: transparent;
  font-family: var(--font-serif);
  font-size: 28px;
  outline: none;
}

.search-panel input::placeholder {
  color: #b7b1aa;
}

.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #e6e1db;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.search-submit img {
  width: 20px;
  height: 20px;
}

.search-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  background: rgba(20, 16, 12, 0.45);
  opacity: 0;
  transition: opacity 0.4s ease;
  cursor: pointer;
}

.search-overlay.is-open .search-backdrop {
  opacity: 1;
}

body.is-search-open {
  overflow: hidden;
}

.contact {
  padding: 72px 0 100px;
}

.contact .title-xl {
  margin-bottom: 40px;
}

.contact__note {
  font-size: 20px;
}

.contact__note.is-error {
  color: #9d3412;
  font-size: 16px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #222;
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
}

.contact-form input {
  height: 44px;
}

.contact-form textarea {
  min-height: 120px;
  padding-top: 8px;
  resize: vertical;
}

.contact-form__message {
  margin-top: 28px;
}

.contact-form .btn {
  margin-top: 32px;
}

.contact-form .check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-top: 22px;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
}

.empty {
  padding: 40px 0;
  text-align: center;
  color: var(--color-text-muted);
}

.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.check__input {
  position: absolute;
  width: 18px;
  height: 18px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.check__box {
  display: inline-flex;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid #222;
  border-radius: 4px;
  background: #fff;
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.check__box svg {
  width: 12px;
  height: 10px;
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
  transition: stroke-dashoffset 0.28s ease 0.04s;
}

.check__input:checked + .check__box {
  background: var(--color-orange);
  border-color: var(--color-orange);
  animation: check-pop 0.32s ease;
}

.check__input:checked + .check__box svg {
  stroke-dashoffset: 0;
}

.check__input:focus-visible + .check__box {
  box-shadow: 0 0 0 3px var(--color-orange-soft);
}

@keyframes check-pop {
  0% { transform: scale(0.82); }
  55% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.fav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.fav-btn svg {
  width: 18px;
  height: 18px;
}

.fav-btn svg path {
  fill: none;
  stroke: #222;
  stroke-width: 1.4;
  stroke-linejoin: round;
  transition: fill 0.25s ease, stroke 0.25s ease;
}

.fav-btn.is-on svg path {
  fill: var(--color-orange);
  stroke: var(--color-orange);
}

.fav-btn.is-pop {
  animation: fav-pop 0.35s ease;
}

@keyframes fav-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.16); }
  100% { transform: scale(1); }
}

.product-card__img .fav-btn,
.new-in-card .fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.fav-btn--inline {
  position: static;
  width: 53px;
  height: 53px;
  background: var(--color-cream);
}

.fav-btn--inline svg {
  width: 22px;
  height: 22px;
}

.product {
  padding: 36px 0 96px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.crumbs a:hover {
  color: var(--color-orange);
}

.product__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 56px;
  align-items: start;
}

.product-gallery {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  aspect-ratio: 1;
  background: var(--color-cream);
  overflow: hidden;
}

.product-gallery .swiper-wrapper,
.product-gallery .swiper-slide {
  height: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.product-gallery .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
}

.product-gallery .swiper-slide img {
  width: 82%;
  height: 82%;
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
}

.product-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border: 0;
  border-radius: 50%;
  background: #fff url("images/icons/arrow-left.svg") center / 8px 14px no-repeat;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.product-gallery__arrow--prev {
  left: 14px;
}

.product-gallery__arrow--next {
  right: 14px;
  transform: rotate(180deg);
}

.product-gallery__dots {
  bottom: 14px;
}

.product-gallery .swiper-pagination-bullet {
  width: 17px;
  height: 16px;
  margin: 0 3px;
  border-radius: 8px;
  background: var(--color-orange-soft);
  opacity: 1;
}

.product-gallery .swiper-pagination-bullet-active {
  background: var(--color-orange);
}

.product-gallery.is-single .product-gallery__arrow,
.product-gallery.is-single .product-gallery__dots {
  display: none;
}

.product__title {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.12;
  overflow-wrap: break-word;
}

.product__text {
  font-size: 18px;
  line-height: 1.6;
}

.product__text p {
  margin: 0 0 12px;
}

.product__text p:last-child {
  margin-bottom: 0;
}

.product__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 16, 12, 0.45);
  cursor: pointer;
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100% - 32px);
  overflow: auto;
  padding: 36px 32px 32px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal__title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
}

.modal__lead {
  margin: 0 0 8px;
  color: var(--color-text-muted);
}

.modal .contact-form > label {
  margin-top: 18px;
}

body.is-modal-open {
  overflow: hidden;
}

.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(680px, calc(100% - 32px));
  padding: 16px 18px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  transform: translate(-50%, 16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
}

.cookie-bar.is-in {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cookie-bar p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.cookie-bar .btn {
  flex: 0 0 auto;
  min-width: 96px;
  height: 40px;
  font-size: 14px;
}

@media (max-width: 1200px) {
  :root {
    --pad: 40px;
  }

  .site-header__inner {
    padding: 0 var(--pad);
  }

  .nav-main {
    gap: 14px;
    margin-left: 8px;
  }

  .cats__mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 220px 220px;
  }

  .usp__list {
    gap: 40px;
  }

  .split,
  .split--reverse {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px var(--pad);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  :root {
    --pad: 20px;
  }

  .nav-main,
  .fav-link__label {
    display: none;
  }

  .burger {
    display: inline-flex;
    margin-left: auto;
  }

  .header-tools {
    gap: 10px;
  }

  .site-header {
    height: 63px;
  }

  .nav-main.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 63px 0 0;
    background: #fff;
    padding: 24px;
    align-items: flex-start;
    z-index: 60;
    overflow: auto;
  }

  .hero {
    height: 515px;
  }

  .hero__content {
    left: var(--pad);
    right: var(--pad);
    top: 64px;
  }

  .hero__title {
    font-size: 48px;
  }

  .new-in__grid,
  .catalog__layout,
  .split,
  .split--reverse,
  .page-hero,
  .product__layout {
    grid-template-columns: 1fr;
  }

  .product__title {
    font-size: 34px;
  }

  .split.container,
  .philosophy .split {
    padding-left: var(--pad);
    padding-right: var(--pad);
  }

  .split--reverse .split__copy {
    text-align: left;
    justify-self: start;
    order: 2;
  }

  .filter,
  .catalog-nav {
    position: static;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .cats__mosaic {
    grid-template-columns: 192fr 191fr;
    grid-template-rows: 230px 230px 237px;
    gap: 12px 10px;
    width: calc(100% + (var(--pad) * 2));
    margin-left: calc(var(--pad) * -1);
    margin-right: calc(var(--pad) * -1);
  }

  .cat-tile--tall {
    grid-row: 1 / 3;
    grid-column: 1;
  }

  .cat-tile::after {
    opacity: 1;
  }

  .cat-tile span {
    font-size: 20px;
  }

  .usp__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .usp__item img {
    width: 83px;
    height: 83px;
  }

  .usp__item p {
    font-size: 16px;
  }

  .split__media,
  .page-hero__media {
    height: 280px;
  }

  .page-hero__copy {
    min-height: 0;
    padding: 40px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-col--social h3,
  .socials {
    text-align: left;
    justify-content: flex-start;
  }

  .title-xl,
  .hero__title {
    font-size: 48px;
  }

  .btn {
    min-width: 163px;
    height: 44px;
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .hero__content {
    left: var(--pad);
    right: var(--pad);
  }

  .catalog__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-panel input {
    font-size: 22px;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .ticker {
    font-size: 12px;
    padding: 0 12px;
    text-align: center;
  }

  .cookie-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .modal__dialog {
    padding: 32px 20px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .check__box,
  .check__box svg,
  .fav-btn,
  .fav-btn svg path,
  .cookie-bar {
    transition: none;
    animation: none;
  }
}
