:root {
  --bg: #f9f9f9;
  --fg: #000;
  --indent: 32px;
  --max: 1520px;
  --ff: 'Manrope', system-ui, sans-serif;
  --ff-display: 'Syne', 'Manrope', sans-serif;
}

* {
  box-sizing: border-box;
}

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

html {
  overflow-x: clip;
}

body {
  font-family: var(--ff);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--fg);
  background: var(--bg);
  position: relative;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body.black-theme {
  --bg: #000;
  --fg: #fff;
  background: #000;
  color: #fff;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

/* Hello splash */
.hello-page {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  align-items: center;
  justify-content: center;
  padding: 12px;
}

body.hello-active .hello-page {
  display: flex;
}

.hello-page__logo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 80px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border-radius: 0;
  z-index: 2;
  padding: 0 var(--indent);
  box-sizing: border-box;
  text-align: center;
}

.hello-page__logo.logo-text {
  font-size: 13px;
  transform: none;
}

body.black-theme .hello-page__logo {
  background-image: none;
}

.hello-page__block {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
}

.hello-page__sueta {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 80px;
  padding: 0 clamp(8px, 1.5vw, 16px);
  overflow: hidden;
  text-align: center;
}

.hello-page__sueta.brand-wordmark {
  height: auto;
  background: none;
  display: block;
  width: 100%;
  font-size: 28vw;
  white-space: nowrap;
  text-align: center;
  font-weight: 900;
  -webkit-text-stroke: 0.5px currentColor;
  transform: translateX(-2.5vw);
}

.hello-page__btn {
  width: 245px;
  padding: 8px 12px;
  border-radius: 15.5px;
  border: 1px solid #0d0d0d;
  margin-bottom: 10px;
  text-align: center;
  background: var(--bg);
  color: #000;
}

.hello-page__btn--solid {
  background: #000;
  color: #fff;
  margin-bottom: 40px;
}

body.black-theme .hello-page__btn--outline {
  border-color: #fff;
  color: #fff;
}

body.black-theme .hello-page__btn--solid {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.hello-page__social {
  display: flex;
  gap: 16px;
}

.icon-inst {
  width: 24px;
  height: 24px;
  display: block;
  background: url('../img/white/instagram.png') center/contain no-repeat;
}

body.black-theme .icon-inst {
  background-image: url('../img/black/instagram.png');
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 999;
  display: flex;
  justify-content: center;
  padding: 0 var(--indent);
  background: var(--bg);
}

.after-nav {
  height: 80px;
}

.nav__container {
  width: 100%;
  max-width: var(--max);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 12px;
}

.nav__menu,
.nav__search,
.nav__switch,
.nav__cart {
  border: 0;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  padding: 0;
}

.nav__menu {
  width: 36px;
  height: 36px;
  background-image: url('../img/white/icon-menu.png');
}

body.black-theme .nav__menu {
  background-image: url('../img/black/icon-menu.png');
}

.nav__logo {
  width: auto;
  min-width: min(100%, 320px);
  max-width: min(72vw, 420px);
  height: 80px;
  justify-self: center;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-align: center;
}

body.black-theme .nav__logo {
  background-image: none;
}

.nav__right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.nav__lang {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-right: 2px;
}

.nav__lang-link {
  opacity: .45;
  text-decoration: none;
  color: inherit;
}

.nav__lang-link:hover,
.nav__lang-link.is-active {
  opacity: 1;
}

.nav__lang-sep {
  opacity: .35;
}

.nav__cart {
  width: 28px;
  height: 28px;
  position: relative;
  background-image: url('../img/white/cart.svg');
}

body.black-theme .nav__cart {
  background-image: url('../img/black/cart.svg');
}

.nav__cart span {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.black-theme .nav__cart span {
  background: #fff;
  color: #000;
}

.nav__search {
  width: 24px;
  height: 24px;
  background-image: url('../img/white/search.svg');
}

body.black-theme .nav__search {
  background-image: url('../img/black/search.svg');
}

.nav__switch {
  width: 28px;
  height: 28px;
  background-image: url('../img/white/switch.svg');
}

body.black-theme .nav__switch {
  background-image: url('../img/black/switch.svg');
}

/* Menu drawer */
.menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(420px, 92vw);
  height: 100vh;
  background: var(--bg);
  z-index: 2000;
  transform: translateX(-105%);
  transition: transform .35s ease;
  padding: 24px 28px 40px;
  overflow: auto;
  border-right: 1px solid rgba(0,0,0,.08);
}

.menu-drawer.is-open {
  transform: translateX(0);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.menu-drawer__header h2 {
  margin: 0;
  font-family: var(--ff-display);
  font-size: 22px;
  text-transform: uppercase;
}

.menu-drawer__close {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  position: relative;
}

.menu-drawer__close::before,
.menu-drawer__close::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 2px;
  background: currentColor;
}

.menu-drawer__close::before { transform: rotate(45deg); }
.menu-drawer__close::after { transform: rotate(-45deg); }

.menu-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-drawer__list > li {
  margin-bottom: 14px;
}

.menu-drawer__list a,
.menu-drawer__toggle {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  display: block;
  width: 100%;
  text-align: left;
}

.menu-drawer__spacer {
  height: 18px;
  margin: 0;
  pointer-events: none;
}

.menu-drawer__social {
  margin-top: 48px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.menu-drawer__social .icon-inst {
  margin: 0 auto;
}

.menu-drawer__sub {
  list-style: none;
  margin: 10px 0 0;
  padding: 0 0 0 12px;
  display: none;
}

.menu-drawer__sub.is-open {
  display: block;
}

.menu-drawer__sub a {
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
  margin-bottom: 8px;
  opacity: .8;
}

/* Search */
.search-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2100;
  background: var(--bg);
  padding: 28px var(--indent);
  transform: translateY(-110%);
  transition: transform .3s ease;
  border-bottom: 1px solid rgba(0,0,0,.1);
}

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

.search-panel__form {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
}

.search-panel input {
  border: 0;
  border-bottom: 2px solid currentColor;
  background: transparent;
  padding: 10px 0;
  font: inherit;
  color: inherit;
  outline: none;
}

.search-panel button {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 10px 18px;
  border-radius: 20px;
}

/* Homepage */
.homepage {
  max-width: var(--max);
  margin: 0 auto;
  padding: 50px var(--indent) 80px;
}

.homepage__logo-wrap {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 18px;
  padding: 0 clamp(8px, 1.5vw, 16px);
  overflow: hidden;
  text-align: center;
}

.homepage__logo {
  width: 100%;
  height: auto;
}

.brand-wordmark {
  font-family: 'Arial Black', Impact, Haettenschweiler, var(--ff-display), sans-serif;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.06em;
  line-height: 0.78;
  color: #131313;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-text-stroke: 0.5px currentColor;
}

.homepage__logo.brand-wordmark {
  display: block;
  width: 100%;
  font-size: 28vw;
  white-space: nowrap;
  text-align: center;
  transform: translateX(-2.5vw);
}

body.black-theme .brand-wordmark {
  color: #fff;
}

.logo-dark { display: none; }
body.black-theme .logo-light { display: none; }
body.black-theme .logo-dark { display: block; }

.homepage__hero-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 48px;
}

.homepage__hero {
  position: relative;
  width: min(100%, 760px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #111;
}

.homepage__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section {
  position: relative;
  margin-top: 24px;
}

.section__title,
.page-title {
  margin: 50px 0 36px;
  font-family: var(--ff-display);
  text-align: center;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 30px);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.collections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.block-collection {
  position: relative;
  display: block;
  padding-top: 130%;
  overflow: hidden;
  background: #ccc;
}

.block-collection__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.block-collection__video {
  pointer-events: none;
}

.block-collection::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(86, 86, 86, .6);
  opacity: 0;
  transition: .5s all;
  z-index: 1;
}

.block-collection:hover::after {
  opacity: 1;
}

.block-collection__title,
.block-collection__link {
  position: absolute;
  z-index: 2;
  opacity: 0;
  transition: .5s all;
  color: #fff;
  text-align: center;
}

.block-collection__title {
  width: 100%;
  bottom: calc(50% + 28px);
  font-weight: 600;
  font-size: clamp(16px, 2vw, 25px);
  text-transform: uppercase;
  padding: 0 10px;
}

.block-collection__link {
  width: 204px;
  height: 43px;
  border: 2px solid #fff;
  border-radius: 21.5px;
  left: calc(50% - 102px);
  bottom: calc(50% - 43px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-collection__link span {
  color: #fff;
  font-size: 20px;
}

.block-collection:hover .block-collection__title,
.block-collection:hover .block-collection__link {
  opacity: 1;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.block-article {
  position: relative;
  display: block;
  padding-top: 130%;
  margin-bottom: 8px;
  overflow: hidden;
  background: #ddd;
}

.block-article__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}

.block-article__video {
  pointer-events: none;
  background: #1a1a1a;
}

.block-article__placeholder {
  background: #d8d8d8;
}

.block-article:hover .block-article__img {
  transform: scale(1.03);
}

.block-article__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 12px 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.9));
  z-index: 2;
  min-width: 0;
  box-sizing: border-box;
}

.block-article__title,
.block-article__price {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.block-article__title {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.block-article__price {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: 0 0 auto;
  max-width: 42%;
  white-space: nowrap;
}

.block-article__price--sale {
  text-decoration: line-through;
  color: #ddd;
  font-size: 13px;
}

.more-wrap {
  text-align: center;
  margin: 28px 0 10px;
}

.more-wrap a {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 14px;
  padding-bottom: 2px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(0,0,0,.08);
  margin-top: 60px;
  padding: 40px var(--indent) 28px;
}

body.black-theme .footer {
  border-color: rgba(255,255,255,.15);
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}

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

.footer__links--end {
  text-align: right;
  align-items: flex-end;
}

.footer__links a {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.footer__logo {
  width: auto;
  min-width: min(100%, 280px);
  max-width: min(80vw, 420px);
  height: 56px;
  background: none;
  justify-self: center;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  text-align: center;
}

body.black-theme .footer__logo {
  background-image: none;
}

.logo-text {
  font-family: var(--ff), 'Manrope', sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.15;
  color: #131313;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  box-sizing: border-box;
}

.nav__logo.logo-text,
.footer__logo.logo-text {
  font-size: 12px;
  transform: none;
}

body.black-theme .logo-text {
  color: #fff;
}

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.footer__bottom-start {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.footer__montey {
  /* Square source (1024×1024) — size by height only; never force a wide box */
  height: 80px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  display: block;
}

.footer__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  justify-self: center;
  text-align: center;
}

.footer__legal a {
  font-size: 13px;
  opacity: .75;
}

.footer__social {
  display: flex;
  justify-content: flex-end;
  justify-self: end;
}

/* Inner pages */
.page-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--indent) 80px;
}

.catalog-description {
  max-width: 720px;
  margin: -12px auto 36px;
  text-align: center;
  font-size: 16px;
  line-height: 1.55;
  opacity: .85;
}

.service-page__list {
  padding-top: 0;
}

.service-page .product-page__desc {
  max-width: 480px;
}

.product-page__price--service {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 16px;
}

.product-page__price-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .7;
}

.product-page__price-value {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
}

.brand-list {
  list-style: none;
  margin: 0 auto;
  padding: 8px 0 40px;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-list__item {
  display: block;
  padding: 14px 8px;
  font-family: var(--ff);
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  transition: opacity .25s ease, letter-spacing .25s ease;
}

.brand-list__item:hover {
  opacity: .55;
  letter-spacing: .1em;
}

body.black-theme .brand-list__item {
  border-bottom-color: rgba(255, 255, 255, .12);
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  opacity: .6;
  padding: 40px 0;
}

.product-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--indent) 60px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: start;
}

.product-page__media img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.service-gallery {
  width: 100%;
}

.service-gallery__main {
  position: relative;
  width: 100%;
}

.service-gallery__slide {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  background: #111;
}

video.service-gallery__slide {
  object-fit: cover;
}

.service-gallery__slide[hidden] {
  display: none;
}

.service-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s ease, background .2s ease;
}

.service-gallery__main:hover .service-gallery__nav,
.service-gallery__nav:focus-visible {
  opacity: 1;
}

.service-gallery__nav:hover {
  background: rgba(0, 0, 0, .55);
}

.service-gallery__nav--prev {
  left: 10px;
}

.service-gallery__nav--next {
  right: 10px;
}

@media (hover: none) {
  .service-gallery__nav {
    opacity: .85;
  }

}

.product-page__placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: #e8e8e8;
}

.volume-picker {
  margin-bottom: 20px;
}

.volume-picker__label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
  opacity: .7;
}

.volume-picker__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 360px;
}

.volume-picker__option {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #d4d4d4;
  background: #ffffff;
  color: #131313;
  border-radius: 18px;
  padding: 12px 10px;
  font-family: var(--ff);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.volume-picker__option:hover:not(.is-active) {
  background: #f3f3f3;
  border-color: #bdbdbd;
}

.volume-picker__option:focus {
  outline: none;
}

.volume-picker__option.is-active,
.volume-picker__option[aria-pressed="true"] {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

body.black-theme .volume-picker__option {
  background: #3a3a3a;
  border-color: #666666;
  color: #ffffff;
}

body.black-theme .volume-picker__option:hover:not(.is-active):not([aria-pressed="true"]) {
  background: #454545;
  border-color: #777777;
}

body.black-theme .volume-picker__option.is-active,
body.black-theme .volume-picker__option[aria-pressed="true"] {
  background: #0a0a0a;
  border-color: #ffffff;
  color: #ffffff;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.cart-item__volume {
  font-size: 13px;
  opacity: .65;
  margin-top: 4px;
  text-transform: lowercase;
}

.product-page__info h1 {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 16px;
  text-transform: uppercase;
}

.product-page__price {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 24px;
}

.product-page__price .old {
  text-decoration: line-through;
  opacity: .45;
  font-size: 16px;
}

.product-page__desc {
  margin-bottom: 28px;
  max-width: 420px;
  font-family: var(--ff);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .01em;
  color: inherit;
  opacity: .72;
}

.product-page__desc-toggle {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.product-page__desc-preview-text {
  display: inline;
}

.product-page__desc-action,
.product-page__desc-less {
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.product-page__desc-less {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 14px 0 0;
  display: inline-block;
  cursor: pointer;
  opacity: .95;
}

.product-page__desc-toggle:hover .product-page__desc-action,
.product-page__desc-less:hover {
  opacity: 1;
}

.product-page__desc-full p {
  margin: 0 0 12px;
}

.product-page__desc-full p:last-of-type {
  margin-bottom: 0;
}

.product-page__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 320px;
}

.product-page__form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.product-page__form input {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 10px 12px;
  width: 100px;
}

.product-page__form button,
.btn-primary {
  display: inline-block;
  border: 0;
  background: #000;
  color: #fff;
  padding: 14px 20px;
  border-radius: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-align: center;
}

body.black-theme .product-page__form button,
body.black-theme .btn-primary {
  background: #fff;
  color: #000;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr 100px 120px 40px;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(127,127,127,.4);
  border-radius: 19px;
  padding: 16px;
}

.cart-item__img img,
.cart-item__img video,
.cart-item__video {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  background: #1a1a1a;
}

video.block-article__video,
video.service-gallery__slide {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.cart-item__qty input {
  width: 70px;
  padding: 8px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.cart-item__remove {
  border: 0;
  background: transparent;
  font-size: 28px;
  color: inherit;
  line-height: 1;
}

.cart-summary {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Checkout */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 40px;
  align-items: start;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-block {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkout-block legend {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  padding: 0;
}

.checkout-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form input[type="tel"],
.checkout-form textarea {
  border: 1px solid rgba(127, 127, 127, .5);
  background: transparent;
  color: inherit;
  padding: 12px 14px;
  border-radius: 12px;
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
  width: 100%;
}

.checkout-radios {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-radio {
  flex-direction: row !important;
  align-items: center;
  gap: 10px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 16px !important;
  cursor: pointer;
}

.checkout-radio input {
  width: 18px;
  height: 18px;
  accent-color: currentColor;
}

.checkout-check {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 15px !important;
  cursor: pointer;
  line-height: 1.4;
}

.checkout-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: currentColor;
}

.checkout-note {
  margin: 0;
  font-size: 13px;
  opacity: .65;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
}

.checkout-comment {
  text-transform: none !important;
}

.field-error,
.checkout-errors {
  color: #b00020;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}

body.black-theme .field-error,
body.black-theme .checkout-errors {
  color: #ff8a9a;
}

.checkout-submit {
  width: fit-content;
  margin-top: 8px;
}

.checkout-back {
  font-size: 14px;
  opacity: .7;
}

.checkout-summary {
  border: 1px solid rgba(127, 127, 127, .4);
  border-radius: 19px;
  padding: 22px;
  position: sticky;
  top: 100px;
}

.checkout-summary h2 {
  margin: 0 0 16px;
  font-family: var(--ff-display);
  font-size: 18px;
}

.checkout-summary__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-summary__list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(127, 127, 127, .25);
}

.checkout-summary__list li span {
  display: inline-block;
  margin-left: 6px;
  opacity: .65;
  font-size: 13px;
}

.checkout-summary__sub {
  margin-top: 10px;
  font-size: 14px;
  opacity: .7;
}

.checkout-summary__total {
  margin-top: 12px;
  font-size: 18px;
}

.checkout-success__lead {
  max-width: 560px;
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.5;
}

.checkout-success__card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
  max-width: 720px;
}

.checkout-success__card > div {
  border: 1px solid rgba(127, 127, 127, .35);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checkout-success__card span {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .55;
}

.checkout-success__items {
  max-width: 560px;
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-summary {
    position: static;
    order: -1;
  }
}

.content-page__body {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 500;
  line-height: 1.7;
  text-align: left;
  letter-spacing: .01em;
}

.content-page--centered .content-page__body {
  max-width: 640px;
  text-align: center;
  font-size: clamp(16px, 2.2vw, 20px);
}

.content-page__body h2 {
  margin: 36px 0 14px;
  font-family: var(--ff-display);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.content-page__body h2:first-child {
  margin-top: 0;
}

.content-page__body p {
  margin: 0 0 14px;
}

.content-page__body ul {
  margin: 0 0 18px;
  padding-left: 1.2em;
}

.content-page__body li {
  margin-bottom: 6px;
}

.content-page__sign {
  margin-top: 32px;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.flash-messages {
  position: fixed;
  top: 96px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flash-messages__item {
  background: #000;
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
}

body.black-theme .flash-messages__item {
  background: #fff;
  color: #000;
}

/* Планшет landscape / невеликий laptop: 3 колонки товарів */
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (max-width: 992px) {
  .product-page {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .homepage__hero {
    width: 100%;
  }
  .cart-item {
    grid-template-columns: 100px 1fr;
  }
  .cart-item__qty,
  .cart-item__total,
  .cart-item form:last-child {
    grid-column: 2;
  }
  .collections-grid {
    gap: 14px;
  }
}

/* Планшет portrait і вужчі: 2 колонки */
@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/*
  Окрема адаптація під планшет (iPad Mini → iPad Pro 13"):
  до ~1400px, щоб захопити Pro 13" у landscape (~1366).
*/
@media (min-width: 641px) and (max-width: 1400px) {
  :root {
    --indent: 24px;
  }

  body {
    font-size: 17px;
  }

  .nav {
    height: 72px;
    padding: 0 20px;
  }

  .after-nav {
    height: 72px;
  }

  .nav__container {
    column-gap: 10px;
  }

  .nav__logo {
    min-width: 0;
    max-width: 40vw;
    height: 72px;
  }

  .nav__logo.logo-text {
    font-size: 11px;
    letter-spacing: 0.12em;
    white-space: normal;
    line-height: 1.2;
  }

  .nav__right {
    gap: 14px;
  }

  .menu-drawer {
    width: min(400px, 72vw);
    padding: 28px 28px 48px;
  }

  .menu-drawer__list a,
  .menu-drawer__toggle {
    font-size: 20px;
    padding: 14px 0;
  }

  .homepage {
    padding: 36px var(--indent) 64px;
  }

  .homepage__logo.brand-wordmark {
    font-size: 22vw;
    transform: translateX(-1.5vw);
  }

  .homepage__hero-wrap {
    margin-bottom: 40px;
  }

  .homepage__hero {
    width: min(100%, 680px);
    max-height: 75vh;
  }

  .section__title,
  .page-title {
    margin: 36px 0 28px;
    font-size: clamp(22px, 3.2vw, 28px);
  }

  /* Як на телефоні: один стовпчик + оверлей лише на блоці в кадрі */
  .collections-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  .block-collection {
    padding-top: 125%;
    overflow: hidden;
  }

  .block-collection::after {
    opacity: 0;
  }

  .block-collection__title {
    opacity: 0;
    top: auto;
    bottom: calc(50% + 36px);
    left: 0;
    right: 0;
    width: 100%;
    padding: 0 20px;
    font-size: clamp(18px, 3vw, 24px);
    line-height: 1.2;
    letter-spacing: .06em;
    color: #fff;
    text-align: center;
    pointer-events: none;
    box-sizing: border-box;
  }

  .block-collection__link {
    display: flex;
    opacity: 0;
    width: min(180px, 50%);
    height: 44px;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(50% - 52px);
    border-width: 2px;
    pointer-events: none;
  }

  .block-collection__link span {
    font-size: 17px;
  }

  .block-collection.is-in-view::after,
  .block-collection:hover::after {
    opacity: .55;
  }

  .block-collection.is-in-view .block-collection__title,
  .block-collection.is-in-view .block-collection__link,
  .block-collection:hover .block-collection__title,
  .block-collection:hover .block-collection__link {
    opacity: 1;
  }

  .block-article__info {
    padding: 24px 10px 10px;
  }

  .block-article__title,
  .block-article__price {
    font-size: 14px;
  }

  .page-wrap {
    padding: 20px var(--indent) 64px;
  }

  .product-page {
    padding: 20px var(--indent) 56px;
    gap: 28px;
  }

  .volume-picker__grid {
    max-width: 420px;
    gap: 10px;
  }

  .volume-picker__option {
    min-height: 46px;
    padding: 12px 10px;
  }

  .product-page__form button,
  .btn-primary,
  .checkout-submit {
    min-height: 48px;
  }

  .cart-item {
    padding: 14px;
    gap: 14px;
  }

  .checkout-layout {
    gap: 28px;
  }

  .checkout-form input[type="text"],
  .checkout-form input[type="email"],
  .checkout-form input[type="tel"],
  .checkout-form textarea {
    font-size: 16px;
    min-height: 46px;
  }

  .footer {
    padding: 36px var(--indent) 28px;
  }

  .footer__top {
    gap: 16px;
    margin-bottom: 28px;
  }

  .footer__links a {
    font-size: 13px;
  }

  .footer__logo {
    max-width: min(50vw, 320px);
    height: 52px;
  }

  .flash-messages {
    top: 88px;
    right: 16px;
    max-width: min(360px, 46vw);
  }

  .search-panel {
    padding: 20px var(--indent);
  }

  .search-panel input {
    font-size: 16px;
    min-height: 46px;
  }
}

@media (max-width: 640px) {
  :root { --indent: 16px; }

  body {
    font-size: 16px;
  }

  .nav {
    padding: 0 12px;
    height: 64px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  .after-nav { height: 64px; }

  .nav__container {
    column-gap: 6px;
  }

  .nav__logo {
    min-width: 0;
    max-width: 36vw;
    height: 64px;
    padding: 0 2px;
  }

  .nav__logo.logo-text,
  .footer__logo.logo-text,
  .hello-page__logo.logo-text {
    font-size: 8px;
    letter-spacing: 0.08em;
    white-space: normal;
    line-height: 1.15;
    max-width: 100%;
    transform: none;
  }

  .nav__logo,
  .footer__logo {
    min-width: 0;
    max-width: 36vw;
    padding: 0 2px;
  }

  .nav__right {
    gap: 10px;
  }

  .nav__lang {
    font-size: 11px;
    gap: 2px;
    margin-right: 0;
  }

  .nav__menu {
    width: 32px;
    height: 32px;
  }

  .nav__cart,
  .nav__switch {
    width: 26px;
    height: 26px;
  }

  .nav__search {
    width: 22px;
    height: 22px;
  }

  .menu-drawer {
    width: min(100vw, 100%);
    padding: 20px 20px 40px;
    padding-top: max(20px, env(safe-area-inset-top));
  }

  .menu-drawer__list a,
  .menu-drawer__toggle {
    font-size: 18px;
    padding: 12px 0;
  }

  .hello-page {
    padding: 12px;
    padding-top: max(12px, env(safe-area-inset-top));
  }

  .hello-page__block {
    padding-top: 72px;
  }

  .hello-page__sueta {
    margin-bottom: 40px;
  }

  .hello-page__sueta.brand-wordmark {
    font-size: 26vw;
  }

  .hello-page__btn {
    width: min(100%, 280px);
    min-height: 48px;
  }

  .homepage {
    padding: 24px var(--indent) 56px;
  }

  .homepage__logo.brand-wordmark {
    font-size: 26vw;
    transform: translateX(-1.5vw);
  }

  .homepage__hero-wrap {
    margin-bottom: 32px;
  }

  .homepage__hero {
    aspect-ratio: 3 / 4;
    max-height: 70vh;
  }

  .section__title,
  .page-title {
    margin: 28px 0 20px;
    font-size: clamp(20px, 6vw, 26px);
  }

  .collections-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /*
    Телефон: за замовчуванням лише відео/фото.
    Коли блок у кадрі (.is-in-view) — як hover на ноутбуці.
  */
  .block-collection {
    padding-top: 125%;
    overflow: hidden;
    background: #111;
    display: block;
  }

  .block-collection__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .block-collection::after {
    display: block;
    opacity: 0;
  }

  .block-collection.is-in-view::after {
    opacity: .55;
  }

  .block-collection__title {
    position: absolute;
    opacity: 0;
    top: auto;
    bottom: calc(50% + 36px);
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 0 16px;
    font-size: clamp(16px, 4.5vw, 22px);
    line-height: 1.2;
    letter-spacing: .06em;
    color: #fff;
    text-align: center;
    pointer-events: none;
    box-sizing: border-box;
  }

  .block-collection__link {
    display: flex;
    opacity: 0;
    width: min(180px, 70%);
    height: 44px;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(50% - 52px);
    border-width: 2px;
    pointer-events: none;
  }

  .block-collection.is-in-view .block-collection__title,
  .block-collection.is-in-view .block-collection__link {
    opacity: 1;
  }

  .block-collection__link span {
    font-size: 16px;
  }

  .products-grid {
    gap: 10px;
  }

  .block-article__info {
    padding: 20px 8px 8px;
    gap: 6px;
  }

  .block-article__title,
  .block-article__price {
    font-size: 12px;
  }

  .block-article__price--sale {
    font-size: 11px;
  }

  .page-wrap {
    padding: 16px var(--indent) 56px;
  }

  .catalog-description {
    margin: -4px auto 24px;
    font-size: 15px;
  }

  .product-page {
    padding: 16px var(--indent) 48px;
    gap: 20px;
  }

  .product-page__info h1 {
    font-size: clamp(22px, 7vw, 28px);
  }

  .volume-picker__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    gap: 8px;
  }

  .volume-picker__option {
    padding: 14px 8px;
    font-size: 14px;
    min-height: 44px;
  }

  .product-page__form button,
  .btn-primary,
  .checkout-submit {
    width: 100%;
    min-height: 48px;
  }

  .product-page__form input[type="number"] {
    min-height: 44px;
    font-size: 16px;
  }

  .cart-item {
    grid-template-columns: 72px 1fr;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
  }

  .cart-item__qty input {
    width: 64px;
    min-height: 40px;
    font-size: 16px;
  }

  .cart-summary {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .cart-summary .btn-primary,
  .cart-summary a {
    width: 100%;
    text-align: center;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .checkout-form input[type="text"],
  .checkout-form input[type="email"],
  .checkout-form input[type="tel"],
  .checkout-form textarea {
    font-size: 16px;
    min-height: 48px;
    width: 100%;
  }

  .checkout-form textarea {
    min-height: 96px;
  }

  .checkout-radio,
  .checkout-check {
    min-height: 44px;
    align-items: center;
  }

  .checkout-success__card {
    grid-template-columns: 1fr;
  }

  .search-panel {
    padding: 16px 12px;
    padding-top: max(16px, env(safe-area-inset-top));
  }

  .search-panel__form {
    grid-template-columns: 1fr;
  }

  .search-panel input {
    font-size: 16px;
    min-height: 48px;
  }

  .flash-messages {
    top: auto;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 12px;
    right: 12px;
    width: auto;
  }

  .flash-messages__item {
    width: 100%;
    box-sizing: border-box;
  }

  .footer {
    padding: 32px var(--indent) max(24px, env(safe-area-inset-bottom));
  }

  .footer__top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer__bottom-start,
  .footer__legal,
  .footer__social {
    justify-content: center;
    justify-self: center;
  }

  .footer__montey {
    height: 56px;
    max-width: 56px;
  }

  .footer__links,
  .footer__links--end,
  .footer__legal,
  .footer__social {
    align-items: center;
    text-align: center;
    justify-content: center;
  }

  .footer__legal {
    flex-direction: column;
    gap: 10px;
  }
}

/* Дуже вузькі телефони */
@media (max-width: 380px) {
  .nav__lang {
    display: none;
  }

  .nav__logo {
    max-width: 42vw;
  }

  .products-grid {
    gap: 8px;
  }

  .block-article__title,
  .block-article__price {
    font-size: 11px;
  }
}
