/* ═══════════════════════════════════════════
   FONTS
═══════════════════════════════════════════ */
@font-face {
  font-family: 'Universo';
  src: url('font/Universo-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}



/* ═══════════════════════════════════════════
   CSS VARIABLES
═══════════════════════════════════════════ */
:root {
  --color-bg:          #ffffff;
  --color-dark:        #0a0a0d;
  --color-right-panel: #f2f2f2;
  --color-accent:      #5151c7;
  --color-nav:         #333333;
  --color-muted:       #555555;
  --font-main:    'Montserrat', sans-serif;
  --font-display: 'Universo', sans-serif;
  --header-h: 76px;
  --hero-split:        50%;
  --hero-pad:          56px;
  --hero-gap:          56px;
  --hero-inner-gap:    28px;
}

/* ═══════════════════════════════════════════
   RESET
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { width: 100%; scroll-behavior: smooth; }
body { width: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-dark);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; }

/* ═══════════════════════════════════════════
   BUTTON
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-family: var(--font-main);
  font-weight: 600;
  border-radius: 100px;
  transition: transform .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px) scale(1.03); }

.btn--dark {
  background: var(--color-dark);
  color: #fff;
  padding: 12px 26px;
  font-size: 14px;
}

.btn--purple {
  background: var(--color-accent);
  color: #fff;
  padding: 12px 26px;
  font-size: 14px;
}

.btn--hero {
  padding: 12px;
  font-size: 12px;
  font-weight: 500;
  align-self: flex-start;
}

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  background: var(--color-bg);
  /* Hide/show on scroll via top offset — NO transform (breaks fixed on Android) */
  transition: top 0.35s ease;
}
/* JS adds this class when scrolling down */
.header--hidden {
  top: calc(-1 * var(--header-h));
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 48px;
}

.header__logo img { height: 44px; width: auto; }

.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-nav);
  transition: color .2s;
}
.nav__link:hover { color: var(--color-dark); }

.nav__link[data-disabled-design],
.footer-nav-link[data-disabled-design] {
  opacity: .42;
  pointer-events: none;
  cursor: default;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 24px;
}



.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(10, 10, 10, .16);
  border-radius: 999px;
  background: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

.lang-switch::before {
  content: '';
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: var(--lang-active-left, 3px);
  width: var(--lang-active-width, 34px);
  border-radius: 999px;
  background: var(--color-dark);
  transform: translateZ(0);
  transition: left .24s ease, width .24s ease;
}

.lang-switch__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--color-dark);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  transition: color .2s ease, transform .2s ease;
}

.lang-switch__link:hover {
  transform: translateY(-1px);
}

.lang-switch__link.is-active {
  color: #fff;
}

.lang-switch:has(.lang-switch__link:nth-child(1).is-active) {
  --lang-active-left: 3px;
  --lang-active-width: 34px;
}

.lang-switch:has(.lang-switch__link:nth-child(2).is-active) {
  --lang-active-left: 39px;
  --lang-active-width: 34px;
}

.lang-switch:has(.lang-switch__link:nth-child(3).is-active) {
  --lang-active-left: 75px;
  --lang-active-width: 34px;
}

.lang-switch--mobile {
  margin: 4px auto 8px;
}

.header__phone {
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--color-bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-top: var(--header-h);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav .nav__link { font-size: 20px; letter-spacing: .12em; }
.mobile-nav__phone { font-size: 18px; font-weight: 600; margin-top: 8px; }


/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 100vh;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--color-bg);
}

.hero__bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__bg-overlay { display: none; }

.hero__content {
  position: relative;
  z-index: 2;
  margin-left: var(--hero-split);
  width: var(--hero-split);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--hero-pad);
  gap: var(--hero-gap);
  background: transparent;
}

.hero__top {
  display: flex;
  flex-direction: column;
  gap: var(--hero-inner-gap);
}

.hero__label {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.hero__label-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-dark);
}

.hero__desc {
  font-size: 12px;
  line-height: 14px;
  color: var(--color-dark);
  padding-left: 14px;
}

.hero__heading {
  display: flex;
  flex-direction: column;
}

.hero__heading-line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 5.83vw, 84px);
  line-height: 96px;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-dark);
}

.hero__accent { color: var(--color-accent); }

/* ═══════════════════════════════════════════
   SHARED SECTION LABEL
═══════════════════════════════════════════ */
.s-label {
  display: flex;
  align-items: center;
  gap: 9px;
}
.s-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}
.s-label__text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-dark);
}

.s-label__text_dark {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #f5f5f5;
}

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.about {
  max-width: 1440px;
  margin: 0 auto;
  padding: 96px 80px 88px;
  background: var(--color-bg);
  overflow: hidden;
}

.about__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 96px;
}

.about__left {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.about__ghost {
  display: flex;
  flex-direction: column;
  user-select: none;
  pointer-events: none;
}
.about__ghost span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 84px;
  line-height: 96px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #F2F2F2;
}

.about__right {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-top: 28px;
}

.about__para {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 0px;
  color: var(--color-accent);
  max-width: 480px;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.about__stats-label {
  padding-top: 8px;
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 5.8vw, 88px);
  color: var(--color-dark);
  line-height: 1;
  letter-spacing: -.01em;
}

.stat__pipe {
  font-family: var(--font-main);
  font-weight: 400;
  color: var(--color-dark);
}

.stat__desc {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0px;
  color: #000000;
  margin-top: 12px;
}

/* ═══════════════════════════════════════════
   CATALOGUE
═══════════════════════════════════════════ */
.catalogue__upper {
  position: relative;
  overflow: hidden;
  background: #ebebeb;
}

.catalogue__mask {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  max-width: 780px;
  height: auto;
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.catalogue__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 95px 250px;
}

.catalogue__header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.catalogue__header-left {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.catalogue__ghost {
  display: flex;
  flex-direction: column;
  user-select: none;
  pointer-events: none;
}
.catalogue__ghost span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 84px;
  line-height: 96px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #F2F2F2;
}

.catalogue__header-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.catalogue__heading {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(28px, 3.33vw, 48px);
  line-height: 1.12;
  color: #000000;
}

.catalogue__desc {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-dark);
  max-width: 480px;
}

.catalogue__lower {
  position: relative;
  z-index: 2;
  margin-top: -248px;
  background: linear-gradient(
    to bottom,
    transparent 248px,
    var(--color-bg) 248px
  );
  padding-top: 48px;
  padding-bottom: 96px;
}

.catalogue__track-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 95px;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.catalogue__track-wrap::-webkit-scrollbar { display: none; }
.catalogue__track-wrap.is-dragging { cursor: grabbing; }

.catalogue__track {
  display: flex;
  gap: 10px;
  padding-right: 95px;
  width: max-content;
  scroll-snap-type: x mandatory;
}

.catalogue__card {
  flex-shrink: 0;
  width: 350px;
  height: 480px;
  background: #f2f2f2;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
}
.catalogue__card:hover {
  transform: translateY(-4px);
  transition: transform .25s ease;
}

.catalogue__card-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.catalogue__card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.catalogue__card-label {
  display: block;
  margin-top: 20px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--color-dark);
}

/* ═══════════════════════════════════════════
   TABLET  769 – 1100
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .header__inner { padding: 0 28px; }
  .header__nav   { gap: 24px; }

  .hero__bg      { width: 50%; }
  .hero__content {
    margin-left: 50%;
    width: 50%;
    padding: 40px;
    gap: 40px;
  }
  .hero__top { gap: 20px; }

  .hero__heading-line {
    font-size: clamp(42px, 4.8vw, 68px);
    line-height: 1.14;
  }

  .about { padding: 72px 48px; }
  .about__ghost span { font-size: 64px; line-height: 74px; }
  .about__para { font-size: 20px; line-height: 26px; }

  .catalogue__inner { padding: 48px 48px 180px; }
  .catalogue__ghost span { font-size: 64px; line-height: 74px; }
  .catalogue__lower {
    margin-top: -178px;
    background: linear-gradient(to bottom, transparent 178px, var(--color-bg) 178px);
    padding-top: 40px;
    padding-bottom: 72px;
  }
  .catalogue__track-wrap { padding-left: 48px; }
  .catalogue__track { padding-right: 48px; }
  .catalogue__card { width: 300px; height: 420px; }
  .catalogue__mask { width: 55%; max-width: 600px; }
}

/* ═══════════════════════════════════════════
   MOBILE  ≤ 768
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .header__inner { padding: 0 20px; }
  .header__logo img { height: 32px; }
  .header__nav,
  .header__right { display: none; }
  .header__burger { display: flex; }

  .hero {
    display: block;
    height: 100svh;
    padding-top: 0;
  }

  .hero__bg {
    width: 100%;
    height: 100%;
  }

  .hero__bg-img {
    object-position: 26% center;
  }

  .hero__bg-overlay {
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(255,255,255,1)   40%,
      rgba(255,255,255,.75) 60%,
      rgba(255,255,255,0)   80%
    );
  }

  .hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: 0;
    width: 100%;
    background: transparent;
    justify-content: flex-end;
    padding: 0 20px 60px;
    gap: 36px;
  }

  .hero__top { gap: 16px; }

  .hero__label-text { font-size: 12px; }

  .hero__desc {
    font-size: 12px;
    line-height: 14px;
    padding-left: 14px;
  }

  .hero__heading-line {
    font-size: clamp(42px, 11.5vw, 64px);
    line-height: 1.1;
    letter-spacing: 1px;
  }

  .btn--hero {
    padding: 13px 28px;
    font-size: 12px;
    align-self: stretch;
    justify-content: center;
  }

  .about {padding: 48px 20px 60px;}

  .about__top {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }
  .about__right { padding-top: 0; }

  .about__ghost span { font-size: 42px; line-height: 52px; letter-spacing: 1px; }
  .about__para { font-size: 16px; line-height: 22px; max-width: none; }

  .about__stats {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }
  .about__stats-label {
    grid-column: 1 / -1;
    padding-top: 0;
  }

  .stat__num { font-size: clamp(44px, 13vw, 64px); }

  .catalogue__inner {padding: 48px 20px 130px;}
  .catalogue__header {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .catalogue__ghost span { font-size: 42px; line-height: 52px; letter-spacing: 1px; }
  .catalogue__heading { font-size: clamp(22px, 6.5vw, 32px); }
  .catalogue__desc { max-width: none; font-size: 12px; }
  .catalogue__mask {width: 121%;max-width: 450px;opacity: .7;}

  .catalogue__lower {
    margin-top: -128px;
    background: linear-gradient(to bottom, transparent 128px, var(--color-bg) 128px);
    padding-top: 32px;
    padding-bottom: 60px;
  }
  .catalogue__track-wrap { padding-left: 20px; }
  .catalogue__track { padding-right: 20px; gap: 12px; }
  .catalogue__card { width: 260px; height: 360px; padding: 20px; }
}

/* ═══════════════════════════════════════════
   SECOND PART STYLES (from style.css)
═══════════════════════════════════════════ */

/* =========================================
   HERO SECTION (One Step or Nothing)
========================================= */
.hero-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F2F2F2;
    overflow: hidden;
}

.hero-frame {
    position: relative;
    width: 100%;
    max-width: 1458px;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 95px;
    /* isolation:isolate removed — creates stacking context, breaks position:fixed */
}

.content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    width: 100%;
    max-width: 624px;
    z-index: 1;
    position: relative;
}

.anim-cup {
    position: absolute;
    width: 431px;
    height: auto;
    left: 63px;
    top: 89px;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transform: translate(-150px, 200px) rotate(-30deg);
    animation: none;
}

.anim-hand-wrapper {
    position: absolute;
    width: 1025px;
    height: 1025px;
    right: -600px;
    bottom: -470px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transform: translate(200px, 200px);
    animation: none;
}

.anim-hand-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.4) !important;
    transform-origin: bottom right;
}

.top-label {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    gap: 9px;
    text-transform: uppercase;
}

.top-label .dot {
    width: 5px;
    height: 5px;
    background-color: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.section-heading-left {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.main-title {
    font-family: 'Universo', sans-serif;
    font-size: 130px;
    line-height: 0.9;
    text-align: center;
    text-transform: uppercase;
    color: #000;
    white-space: nowrap;
}

.subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    color: #6366f1;
    line-height: 1.4;
}

.cta-btn {
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.anim-title {
    opacity: 1;
    animation: none;
}

.anim-other {
    opacity: 1;
    animation: none;
}

@keyframes blurIn {
    /* filter:blur() was removed — it creates a stacking context that breaks
       position:fixed elements (header, cart) on the entire page in mobile browsers */
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideCup {
    0% { opacity: 0; transform: translate(-150px, 200px) rotate(-30deg); }
    100% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
}

@keyframes slideHand {
    0% { opacity: 0; transform: translate(200px, 200px); }
    100% { opacity: 1; transform: translate(0, 0); }
}

/* =========================================
   SCROLL REVEAL (общие классы)
========================================= */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* =========================================
   СЕКЦИЯ LOGO PRINT
========================================= */
.logoprint-section {
    background: #fff;
    padding: 48px 0 60px 0;
    overflow: hidden;
}

.logoprint-container {
    width: 100%;
    max-width: 1458px;
    margin: 0 auto;
    padding: 0 95px;
}

.logoprint-top {
    display: flex;
    flex-direction: column;
    margin-bottom: 60px;
}

.logoprint-top-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.logoprint-bg-text {
    display: flex;
    flex-direction: column;
    pointer-events: none;
    user-select: none;
}

.logoprint-bg-text span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 84px;
    line-height: 96px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #F2F2F2;
    display: block;
}

.logoprint-heading-block {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.logoprint-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 500;
    color: #000;
    line-height: 1.1;
}

.logoprint-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    line-height: 1.7;
}

.logoprint-bottom {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.hoodie-wrap {
    flex: 0 0 auto;
    width: 50%;
    max-width: 600px;
}

.hoodie-img-box {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 4px;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.hoodie-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.print-methods {
    flex: 1;
    padding-top: 10px;
}

.print-method {
    display: flex;
    align-items: flex-start;
    gap: 0;
    flex-direction: column;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.print-method.method-visible {
    opacity: 1;
    transform: translateX(0);
}

.method-body {
    display: flex;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    padding: 24px 0;
}

.method-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #0A0A0D;
    text-transform: uppercase;
    flex: 0 0 40%;
    padding-right: 20px;
    line-height: 1.5;
}

/* .accent removed — active highlight controlled by .print-method.is-open */

.method-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #0A0A0D;
    line-height: 1.65;
    flex: 1;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.7s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease, padding-top 0.5s ease;
    padding-top: 0;
}

.print-method.is-open .method-desc {
    max-height: 500px;
    opacity: 1;
    padding-top: 12px;
}

.method-name {
    cursor: pointer;
    transition: color 0.3s ease;
}

.print-method.is-open .method-name {
    color: var(--color-accent);
}

.method-line {
    height: 1px;
    background: #0A0A0D;
    width: 100%;
    transform-origin: left;
    animation: none;
}

.print-method.method-visible > .method-line {
    animation: lineExpand 0.6s ease 0.3s both;
}

@keyframes lineExpand {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* =========================================
   СЕКЦИЯ PROJECTS
========================================= */
.projects-section {
    background: #fff;
    padding: 48px 0 0px;
    overflow: hidden;
}

.projects-container {
    width: 100%;
    max-width: 1458px;
    margin: 0 auto;
    padding: 0 95px;
}

.projects-top {
    display: flex;
    flex-direction: column;
    margin-bottom: 100px;
}

.projects-top-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.projects-bg-text {
    display: flex;
    flex-direction: column;
    pointer-events: none;
    user-select: none;
}

.projects-bg-text span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 84px;
    line-height: 96px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #F2F2F2;
    display: block;
}

.projects-heading-block {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.projects-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 500;
    color: #000;
    line-height: 1.1;
}

.projects-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    line-height: 1.7;
}

.projects-images {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 80px;
}

.project-img-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.project-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    background: #EAEAEA;
}

.projects-btn-wrap {
    display: flex;
    justify-content: center;
    padding: 48px 0 60px;
}

.projects-btn {
    background: transparent;
    color: #000;
    border: 1.5px solid #000;
    border-radius: 50px;
    font-size: 14px;
    padding: 16px 40px;
    transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.projects-btn:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* =========================================
   ОБЩИЙ КОНТЕЙНЕР
========================================= */
.container {
    width: 100%;
    max-width: 1458px;
    margin: 0 auto;
    padding: 0 95px;
}

/* =========================================
   СЕКЦИЯ КОНТАКТЫ
========================================= */
.contacts-section {
    padding: 48px 20px 60px;
    background-color: #FFFFFF;
}

.contacts-section .container {
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

.contacts-left {
    position: relative;
    flex: 1;
    max-width: 50%;
}

.bg-text {
    position: absolute;
    top: 40px;
    left: 0;
    z-index: 1;
    font-family: 'Universo', sans-serif;
    font-size: 84px;
    line-height: 96px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #F2F2F2;
    white-space: nowrap;
}

.cards-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 150px;
}

.contact-card {
    background: #EAEAEA;
    border-radius: 4px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

.contact-card:hover {
    background: #e0e0ff;
    box-shadow: 0 8px 32px rgba(90, 95, 188, 0.12);
}

.contact-card .dot {
    width: 6px;
    height: 6px;
    background-color: #5a5fbc;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

.card-value {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-top: 5px;
}

.card-row {
    display: flex;
    gap: 15px;
}

.half-width {
    flex: 1;
}

.contacts-right {
    flex: 1;
    max-width: 50%;
    padding-top: 40px;
}

.form-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 500;
    color: #000;
    margin-bottom: 40px;
}

.request-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.request-form input[type="text"],
.request-form input[type="tel"],
.request-form textarea {
    width: 100%;
    padding: 20px 25px;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #000;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border 0.3s, transform 0.2s, box-shadow 0.3s;
}

.request-form input[type="text"]:focus,
.request-form input[type="tel"]:focus,
.request-form textarea:focus {
    border-color: #5a5fbc;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(90,95,188,0.1);
}

.request-form input.is-invalid,
.request-form textarea.is-invalid,
.contacts-form input.is-invalid,
.contacts-form textarea.is-invalid,
.req-input.is-invalid {
    border-color: #e03c3c !important;
    box-shadow: 0 0 0 3px rgba(224, 60, 60, .12) !important;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 10px;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #000;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    transition: border-color 0.3s, background 0.3s;
}

.custom-checkbox:hover .checkmark {
    border-color: #5a5fbc;
}

.custom-checkbox input:checked ~ .checkmark {
    background: #5a5fbc;
    border-color: #5a5fbc;
}

.custom-checkbox.is-invalid .checkmark,
.contacts-checkbox.is-invalid .contacts-checkmark {
    border-color: #e03c3c !important;
    box-shadow: 0 0 0 3px rgba(224, 60, 60, .12);
}

.custom-checkbox input:checked ~ .checkmark:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #000;
    line-height: 1.4;
}

.checkbox-text a,
.contacts-checkbox-text a,
.req-consent a,
.gifts-consent a {
    color: #5a5fbc;
    text-decoration-line: underline !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.request-form a[href="privacy.html"],
.contacts-form a[href="privacy.html"],
.req-consent a[href="privacy.html"],
.gifts-consent a[href="privacy.html"] {
    text-decoration-line: underline !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.submit-btn {
    align-self: flex-start;
    padding: 15px 40px;
}

/* =========================================
   ФУТЕР
========================================= */
.site-footer {
    background-color: #F2F2F2;
    border-top: 1px solid #E0E0E0;
}

.footer-container {
    display: flex;
}

.footer-left {
    flex: 1;
    padding: 80px 80px 80px 0;
    border-right: 1px solid #E0E0E0;
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    max-width: 300px;
    margin-bottom: 40px;
}

.subscribe-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
    margin-bottom: auto;
    padding-bottom: 60px;
}

.footer-bottom-info {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #A0A0A0;
    line-height: 1.6;
}

.footer-bottom-info a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-info a:hover {
    color: #000;
}

.footer-right {
    flex: 1;
    padding: 80px 0 80px 80px;
    display: flex;
    flex-direction: column;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.footer-nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    transition: color 0.3s, letter-spacing 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-nav-link:hover {
    color: #5a5fbc;
    letter-spacing: 1.5px;
}

.nav-arrow { display: none; }

/* =========================================
   PRIVACY
========================================= */
.privacy-page {
    padding-top: var(--header-h);
    background: #fff;
}

.privacy-hero {
    min-height: 48vh;
    display: flex;
    align-items: flex-end;
    background: #F2F2F2;
    border-bottom: 1px solid #E0E0E0;
}

.privacy-hero__inner {
    padding-top: 96px;
    padding-bottom: 70px;
}

.privacy-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 112px);
    font-weight: 700;
    line-height: .9;
    text-transform: uppercase;
    color: #000;
    max-width: 980px;
    margin-top: 24px;
}

.privacy-lead {
    max-width: 720px;
    margin-top: 32px;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.privacy-content {
    padding: 80px 0 110px;
}

.privacy-grid {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 70px;
}

.privacy-aside {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    align-self: start;
}

.privacy-date {
    display: block;
    margin-bottom: 28px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #777;
}

.privacy-contact {
    width: fit-content;
}

.privacy-text {
    border-top: 1px solid #D9D9D9;
}

.privacy-block {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    gap: 40px;
    padding: 34px 0;
    border-bottom: 1px solid #D9D9D9;
}

.privacy-block h2 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.privacy-block p {
    font-size: 16px;
    line-height: 1.75;
    color: #333;
}

.privacy-block a {
    color: #5a5fbc;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 900px) {
    .privacy-hero__inner {
        padding-top: 72px;
        padding-bottom: 48px;
    }

    .privacy-lead {
        font-size: 15px;
    }

    .privacy-content {
        padding: 54px 0 76px;
    }

    .privacy-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .privacy-aside {
        position: static;
    }

    .privacy-block {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 28px 0;
    }

    .privacy-block p {
        font-size: 14px;
    }
}

.footer-divider {
    height: 1px;
    background-color: #E0E0E0;
    width: 100%;
    margin-bottom: 40px;
}

.footer-address-blocks {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.address-col p {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #000;
    line-height: 1.5;
}

/* =========================================
   АДАПТИВНОСТЬ (1024px)
========================================= */
@media (max-width: 1024px) {
    .contacts-section .container,
    .footer-container {
        flex-direction: column;
        gap: 0;
    }

    .contacts-left, .contacts-right {
        max-width: 100%;
    }

    .bg-text {
        font-size: 80px;
    }

    .footer-left {
        padding: 60px 20px 40px;
        border-right: none;
        border-bottom: 1px solid #E0E0E0;
    }

    .footer-right {
        padding: 40px 20px 60px;
    }

    .logoprint-bottom {
        flex-direction: column;
        gap: 40px;
    }

    .hoodie-wrap {
        width: 100%;
        max-width: 100%;
    }

    .logoprint-bg-text span {
        font-size: 70px;
    }

    .logoprint-title {
        font-size: 36px;
    }

    .logoprint-heading-block {
        max-width: 100%;
    }

    .projects-container {
        padding: 0 40px;
    }
    .projects-bg-text span {
        font-size: 70px;
    }
    .projects-title {
        font-size: 36px;
    }
    .projects-heading-block {
        max-width: 100%;
    }
    .project-img {
        height: 360px;
    }

    .main-title {
        font-size: 9vw;
    }

    .subtitle {
        font-size: 20px;
    }

    .content-container {
        z-index: 5;
    }

    .anim-cup {
        z-index: 1;
        width: 250px;
        left: -10px;
        top: 15%;
    }

    .anim-hand-wrapper {
        z-index: 1;
        width: 600px;
        height: 600px;
        right: -320px;
        bottom: -120px;
    }

    .hero-frame {
        padding: 0 40px;
    }
}

/* =========================================
   АДАПТИВНОСТЬ (768px)
========================================= */
@media (max-width: 768px) {
    .container {
        padding: 0 0px;
    }

    .logoprint-container {
        padding: 0 20px;
    }

    .bg-text {
        font-size: 42px;
        line-height: 52px;
        letter-spacing: 1px;
    }

    .card-row {
        flex-direction: column;
    }

    .form-title {
        font-size: 32px;
    }

    .footer-address-blocks {
        flex-direction: column;
        gap: 20px;
    }

    .logoprint-bg-text {
        position: static;
    }

    .logoprint-bg-text span {
        font-size: 42px;
        line-height: 52px;
        letter-spacing: 1px;
    }

    .logoprint-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .logoprint-desc {
        font-size: 13px;
        line-height: 1.6;
    }

    .logoprint-top {
        display: flex;
        flex-direction: column;
        gap: 36px;
        margin-bottom: 40px;
    }

    .logoprint-top-content {
        justify-content: flex-start;
        flex-direction: column;
        gap: 36px;
        margin-top: 0;
        display: flex;
    }

    .logoprint-heading-block {
        max-width: 100%;
        margin-top: 0;
    }

    .projects-container {
        padding: 0 20px;
    }
    .projects-bg-text {
        position: static;
    }

    .projects-bg-text span {
        font-size: 42px;
        line-height: 52px;
        letter-spacing: 1px;
    }
    .projects-title {
        font-size: 28px;
        line-height: 1.2;
    }
    .projects-top {
        display: flex;
        flex-direction: column;
        gap: 36px;
        margin-bottom: 40px;
    }

    .projects-top-content {
        justify-content: flex-start;
        flex-direction: column;
        gap: 36px;
        margin-top: 0;
        display: flex;
    }
    .projects-heading-block {
        max-width: 100%;
        margin-top: 0;
    }
    .project-img {
        height: 260px;
    }
    .projects-btn {
        font-size: 13px;
        padding: 14px 24px;
        text-align: center;
    }

    .hero-frame {
        padding: 0 20px;
    }

    .content-container {
        gap: 20px;
    }

    .main-title {
        font-size: 12.5vw;
        line-height: 1.1;
    }

    .subtitle {
        font-size: 16px;
    }

    .top-label {
        font-size: 12px;
    }

    .cta-btn {
        padding: 15px 35px;
        font-size: 14px;
        width: 100%;
        max-width: 300px;
    }

    .anim-cup {
        width: 180px;
        left: -20px;
        top: 11%;
    }

    .anim-hand-wrapper {
        width: 450px;
        height: 450px;
        right: -253px;
        bottom: -194px;
    }
}


/* ═══════════════════════════════════════════
   PERFORMANCE & HOVER FIXES
═══════════════════════════════════════════ */
/* will-change:transform removed from reveal classes —
   creates compositing layers that break position:fixed on Android */
.reveal-up, .reveal-left, .reveal-right {}

.catalogue__card-img {
  transition: opacity .35s ease;
}

/* ═══════════════════════════════════════════
   CONTACTS PAGE
═══════════════════════════════════════════ */

.nav__link--active {
  color: var(--color-dark) !important;
  position: relative;
}
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.cp-hero {
  padding-top: var(--header-h);
  background: var(--color-bg);
}
.cp-hero__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px 95px 80px;
  display: flex;
  flex-direction: column;
}
.cp-hero__content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.cp-hero__ghost {
  display: flex;
  flex-direction: column;
  pointer-events: none;
  user-select: none;
}
.cp-hero__ghost span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 84px;
  line-height: 96px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #F2F2F2;
}
.cp-hero__heading-block {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.cp-hero__title {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(28px, 3.33vw, 48px);
  line-height: 1.12;
  color: var(--color-dark);
}
.cp-hero__desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1.7;
}

.cp-body {
  width: 100%;
  max-width: 1458px;
  margin: 0 auto;
  padding: 48px 95px 100px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: stretch;
}

.cp-info {
  display: flex;
  flex-direction: column;
}
.cp-block {
  padding: 40px 0;
  border-top: 1px solid #e5e5e5;
}
.cp-block:first-child { border-top: none; padding-top: 0; }
.cp-block:last-child { padding-bottom: 0; }
.cp-block__label { margin-bottom: 24px; }

.cp-address__city {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.15;
  color: var(--color-dark);
  margin-bottom: 10px;
}
.cp-address__line {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1.7;
}
.cp-address__hours {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-dark);
}
.cp-dot-accent {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.cp-phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid #efefef;
}
.cp-phone-row:first-of-type { padding-top: 0; }
.cp-phone-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.cp-phone-row__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cp-phone-row__country {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.cp-phone-row__number {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 24px;
  color: var(--color-dark);
  letter-spacing: -.01em;
  transition: color .2s;
  white-space: nowrap;
}
.cp-phone-row__number:hover { color: var(--color-accent); }
.cp-phone-row__badges { display: flex; gap: 8px; flex-wrap: wrap; }

.cp-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border: 1px solid var(--color-dark);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-dark);
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.cp-badge:hover { background: var(--color-dark); color: #fff; }

.cp-email {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -.01em;
  color: var(--color-dark);
  transition: color .2s;
  word-break: break-all;
}
.cp-email:hover { color: var(--color-accent); }

.cp-map {
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e5e5;
  background: var(--color-right-panel);
  overflow: hidden;
}
@keyframes cp-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(81,81,199,.3); }
  50%       { box-shadow: 0 0 0 8px rgba(81,81,199,.0); }
}
.cp-map__frame {
  flex: 1;
  min-height: 520px;
  overflow: hidden;
  background: #ededed;
  z-index: 0;
}
.cp-map__links {
  display: flex;
  border-top: 1px solid #d4d4d4;
  flex-shrink: 0;
}
.cp-map__ext-link {
  flex: 1;
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-muted);
  text-align: center;
  transition: background .2s, color .2s;
  border-right: 1px solid #d4d4d4;
}
.cp-map__ext-link:last-child { border-right: none; }
.cp-map__ext-link:hover { background: var(--color-dark); color: #fff; }

/* Пин офиса на карте */
.cp-pin { background: none; border: none; }
.cp-pin__dot {
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(81,81,199,.35);
  animation: cp-pulse 2s ease-in-out infinite;
  cursor: pointer;
}
.cp-pin-popup__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 3px;
}
.cp-pin-popup__addr {
  font-size: 12px;
  color: var(--color-muted);
}
.leaflet-popup-content-wrapper {
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
}
.leaflet-popup-content { margin: 12px 16px; font-family: var(--font-main); }
.leaflet-container { font-family: var(--font-main); }


.reveal-up,
.reveal-right {
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-up    { transform: translateY(28px); }
.reveal-right { transform: translateX(28px); }
.reveal-up.revealed,
.reveal-right.revealed { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .cp-hero__inner { padding: 56px 48px 60px; }
  .cp-body        { padding: 40px 48px 80px; gap: 48px; }
}
@media (max-width: 900px) {
  .cp-body { grid-template-columns: 1fr; }
  .cp-map__frame { min-height: 420px; }
}
@media (max-width: 768px) {
  .cp-hero__inner { padding: 48px 20px 56px; }
  .cp-hero__content { display: flex; flex-direction: column; gap: 36px; }
  .cp-hero__ghost span { font-size: 42px; line-height: 52px; letter-spacing: 1px; }
  .cp-body { padding: 32px 20px 64px; gap: 40px; }
  .cp-block { padding: 32px 0; }
  .cp-address__city, .cp-phone-row__number, .cp-email { font-size: 20px; }
  .cp-map__links { flex-direction: column; }
  .cp-map__ext-link { border-right: none; border-bottom: 1px solid #d4d4d4; }
  .cp-map__ext-link:last-child { border-bottom: none; }
}

/* ═══════════════════════════════════════════
   CATALOGUE STYLES (moved from catalogue.html)
═══════════════════════════════════════════ */

@font-face {
  font-family: 'Universo';
  src: url('Universo-Bold.otf') format('opentype');
  font-weight: 700;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #0a0a0a; --white: #fff;
  --gray:  #9a9a9a; --accent: #5a50e0;
  --border: #e0e0e0; --card-bg: #f7f7f7;
  --grid-bg: #f0f0f0;
}
body { font-family: 'Montserrat', Arial, sans-serif; background: var(--white); color: var(--black); -webkit-font-smoothing: antialiased; }

/* ── HEADER ── */
.cat-head { padding: 40px 48px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.head-left { opacity:0; transform:translateY(20px); animation: up .7s ease forwards .1s; }
.cat-label { font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; display:flex; align-items:center; gap:9px; margin-bottom:16px; }
.cat-label::before { content:''; width:5px; height:5px; background:var(--accent); border-radius:50%; display:inline-block; flex-shrink:0; }
.cat-title { font-family:'Universo','Montserrat',Arial,sans-serif; font-weight:700; font-size:clamp(52px,7.5vw,100px); line-height:.92; letter-spacing:-.01em; color:#e8e8e8; text-transform:uppercase; margin-bottom:32px; user-select:none; }
.head-right { padding-top:4px; opacity:0; transform:translateY(20px); animation: up .7s ease forwards .25s; }
.head-desc { font-size:18px; font-weight:500; line-height:1.5; margin-bottom:20px; }
.head-desc span { color: var(--accent); }

/* ── FILTERS ── */
.filters { display:flex; flex-wrap:wrap; gap:8px; padding:20px 48px 20px; opacity:0; transform:translateY(12px); animation: up .6s ease forwards .4s; }
.filter-btn { display:inline-flex; align-items:center; padding:5px 14px; border:1px solid var(--black); border-radius:40px; font-family:inherit; font-size:12px; font-weight:500; background:transparent; color:var(--black); cursor:pointer; transition:background .2s,color .2s; white-space:nowrap; }
.filter-btn:hover, .filter-btn.active { background:var(--black); color:var(--white); }

/* ── GRID ── */
.grid-wrap { background:var(--grid-bg); padding:1px; }
.grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; }

.product-card { background:var(--white); display:flex; flex-direction:column; padding:12px; opacity:0; transform:translateY(20px); transition: opacity .4s ease, transform .4s ease; position:relative; }
.product-card.visible { opacity:1; transform:translateY(0); }
.product-card.hidden { display:none; }

/* badge "в запросе" на карточке */
.card-in-request {
  position:absolute; top:12px; left:12px;
  background:var(--accent); color:#fff;
  font-size:9px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  padding:3px 8px; border-radius:20px;
  opacity:0; transition:opacity .2s;
  pointer-events:none;
}
.product-card.in-request .card-in-request { opacity:1; }

.product-art { font-size:10px; color:var(--gray); text-align:right; margin-bottom:8px; }
.product-img-wrap { background:var(--card-bg); border-radius:2px; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; overflow:hidden; margin-bottom:10px; flex-shrink:0; cursor:zoom-in; }
.product-img-wrap img { width:100%; height:100%; object-fit:cover; transition:transform .4s; display:block; }
.product-card:hover .product-img-wrap img { transform:scale(1.05); }
.product-footer { margin-top:auto; display:flex; align-items:flex-end; justify-content:space-between; gap:8px; }
.product-info { flex:1; min-width:0; }
.product-name { font-size:11px; font-weight:600; line-height:1.3; margin-bottom:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.product-size { font-size:10px; color:var(--gray); }
.btn-more { flex-shrink:0; padding:5px 12px; background:transparent; color:var(--black); border:1px solid var(--black); border-radius:40px; font-family:inherit; font-size:11px; font-weight:500; cursor:pointer; white-space:nowrap; transition:background .2s,color .2s,transform .15s; }
.btn-more:hover { background:var(--black); color:var(--white); transform:scale(1.03); }

/* Load more */
.load-more-wrap { display:flex; justify-content:center; padding:32px 20px; }
.btn-load-more { display:inline-flex; align-items:center; padding:8px 20px; border:1px solid var(--black); border-radius:40px; font-family:inherit; font-size:12px; font-weight:500; background:transparent; color:var(--black); cursor:pointer; transition:background .2s,color .2s; }
.btn-load-more:hover:not(:disabled) { background:var(--black); color:var(--white); }
.btn-load-more:disabled { opacity:.45; cursor:default; border-color:#ccc; color:#999; }

/* ── FLOATING CART ── */
.cart-fab { 
    position:fixed; bottom:32px; right:32px; z-index:900; display:flex; align-items:center; justify-content:center; width:56px; height:56px; background:var(--black); color:var(--white); border:none; border-radius:50%; cursor:pointer; box-shadow:0 4px 20px rgba(0,0,0,.2); opacity:0; pointer-events:none; transition:opacity .3s,background .2s; 
    /* Добавленные стили от дергания: */
    transform: translateZ(0); 
    -webkit-transform: translateZ(0); 
    will-change: transform; 
}
.cart-fab.is-visible { opacity:1; pointer-events:all; }
.cart-fab:hover { background:#333; }
.cart-fab svg { width:24px; height:24px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.cart-fab__badge { position:absolute; top:-4px; right:-4px; min-width:20px; height:20px; padding:0 5px; background:var(--accent); color:#fff; border-radius:10px; font-size:11px; font-weight:700; display:flex; align-items:center; justify-content:center; }

/* ── MODAL ── */
.modal-overlay { position:fixed; inset:0; z-index:1000; background:rgba(0,0,0,.55); display:flex; align-items:center; justify-content:center; padding:20px; opacity:0; pointer-events:none; transition:opacity .25s; }
.modal-overlay.is-open { opacity:1; pointer-events:all; }
.modal { position:relative; background:#fff; width:100%; max-width:1080px; height:min(92vh, 760px); overflow:hidden; border-radius:4px; transform:translateY(20px) scale(.98); transition:transform .25s; scrollbar-width:none; }
.modal::-webkit-scrollbar { display:none; }
.modal-overlay.is-open .modal { transform:translateY(0) scale(1); }

.modal-close { position:absolute; top:16px; right:16px; width:32px; height:32px; background:none; border:none; cursor:pointer; z-index:10; display:flex; align-items:center; justify-content:center; }
.modal-close span { position:absolute; width:18px; height:1.5px; background:var(--black); display:block; }
.modal-close span:first-child { transform:rotate(45deg); }
.modal-close span:last-child  { transform:rotate(-45deg); }

.modal-body { display:grid; grid-template-columns:minmax(0, 1.25fr) minmax(340px, .75fr); height:100%; min-height:0; }

/* ── Gallery ── */
.modal-gallery { background:var(--card-bg); display:flex; flex-direction:column; padding:0; min-height:0; position:relative; overflow:hidden; }
.gallery-main { flex:1; display:flex; align-items:center; justify-content:center; padding:0; min-height:0; }
.gallery-main img { width:100%; height:100%; max-width:none; max-height:none; object-fit:contain; display:block; transition:opacity .2s; }
.gallery-thumbs { display:flex; gap:8px; padding:12px 16px; overflow-x:auto; scrollbar-width:none; border-top:1px solid var(--border); }
.gallery-thumbs::-webkit-scrollbar { display:none; }
.gallery-thumb { width:52px; height:52px; flex-shrink:0; border:2px solid transparent; border-radius:4px; overflow:hidden; cursor:pointer; background:#fff; display:flex; align-items:center; justify-content:center; transition:border-color .2s; }
.gallery-thumb.active { border-color:var(--black); }
.gallery-thumb img { width:100%; height:100%; object-fit:contain; }
.gallery-arr { position:absolute; top:50%; transform:translateY(-50%); width:32px; height:32px; background:#fff; border:1px solid var(--border); border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; z-index:2; transition:background .2s; }
.gallery-arr:hover { background:var(--black); color:#fff; }
.gallery-arr svg { width:14px; height:14px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.gallery-arr.prev { left:10px; }
.gallery-arr.next { right:10px; }

/* ── Modal info ── */
.modal-info { padding:36px 32px; display:flex; flex-direction:column; gap:14px; min-height:0; overflow-y:auto; scrollbar-width:thin; }
.modal-art { font-size:11px; color:var(--gray); }
.modal-title { font-size:19px; font-weight:700; line-height:1.2; }
.modal-meta { display:flex; flex-direction:column; gap:10px; border-top:1px solid #f0f0f0; border-bottom:1px solid #f0f0f0; padding:14px 0; }
.modal-meta-row { display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
.modal-meta-label { font-size:11px; color:var(--gray); white-space:nowrap; }
.modal-meta-value { font-size:12px; font-weight:600; text-align:right; }

/* Checkboxes методов нанесения */
.print-checks { display:flex; flex-wrap:wrap; gap:6px; }
.print-check {
  display:inline-flex; align-items:center; gap:5px;
  font-size:11px; font-weight:500; padding:4px 10px;
  border:1.5px solid var(--border); border-radius:20px;
  cursor:pointer; color:var(--gray);
  transition:border-color .15s, color .15s, background .15s;
  user-select:none;
}
.print-check.on {
  border-color:var(--black); color:var(--black); background:var(--card-bg);
}
.print-check svg { width:10px; height:10px; stroke:currentColor; fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }

/* Size chips in modal */
.modal-sizes { display:flex; flex-wrap:wrap; gap:6px; }
.modal-size-chip {
  display:inline-flex; align-items:center; justify-content:center;
  min-width:36px; height:30px; padding:0 10px;
  border:1.5px solid var(--border); border-radius:6px;
  font-size:12px; font-weight:600; cursor:pointer; color:var(--gray);
  transition:border-color .15s, color .15s, background .15s;
  user-select:none;
}
.modal-size-chip.selected { border-color:var(--black); color:var(--black); background:var(--card-bg); }

/* Color swatches in modal */
.modal-colors { display:flex; flex-wrap:wrap; gap:8px; }
.modal-color-swatch { border:2px solid transparent; }
.modal-color-swatch[data-light] { border:1px solid #ddd; }
.modal-color-swatch[data-light].selected { border-color:var(--black); }
.modal-color-swatch {
  width:26px; height:26px; border-radius:50%;
  border:2px solid transparent; cursor:pointer;
  transition:transform .15s, border-color .15s;
  position:relative; flex-shrink:0;
}
.modal-color-swatch:hover { transform:scale(1.15); }
.modal-color-swatch.selected { border-color:var(--black); }
.modal-color-swatch[data-light].selected { border-color:#555; }
.modal-color-swatch::after { content:'✓'; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:700; color:#fff; opacity:0; }
.modal-color-swatch[data-light]::after { color:#333; }
.modal-color-swatch.selected::after { opacity:1; }

.modal-desc { font-size:12px; line-height:1.7; color:#555; }
.btn-add-req { margin-top:auto; width:100%; padding:12px; background:var(--black); color:#fff; border:none; border-radius:40px; font-family:inherit; font-size:13px; font-weight:600; cursor:pointer; transition:background .2s,transform .15s; }
.btn-add-req:hover { background:#333; transform:translateY(-1px); }
.btn-add-req.is-added { background:#2d2d2d; color:#aaa; pointer-events:none; }

/* ── REQUEST PANEL ── */
.req-overlay { position:fixed; inset:0; z-index:1100; background:rgba(0,0,0,.4); opacity:0; pointer-events:none; transition:opacity .25s; }
.req-overlay.is-open { opacity:1; pointer-events:all; }
.req-panel {
  position: fixed;
  top: 0;
  /* Animate via right offset — no transform on fixed elements (breaks Android fixed positioning) */
  right: -420px;
  z-index: 1200;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: right .3s ease, visibility .3s;
  visibility: hidden;
  overflow: hidden;
}
@media (max-width: 420px) {
  .req-panel { right: -100%; width: 100%; }
}
.req-panel.is-open { right: 0; visibility: visible; }

.req-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.req-panel__title { font-size:14px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.req-panel__close { width:28px; height:28px; background:none; border:none; cursor:pointer; position:relative; display:flex; align-items:center; justify-content:center; }
.req-panel__close span { position:absolute; width:16px; height:1.5px; background:var(--black); display:block; }
.req-panel__close span:first-child { transform:rotate(45deg); }
.req-panel__close span:last-child  { transform:rotate(-45deg); }

/* Items area: flex:1 with min-height:0 allows shrinking, overflow-y scrolls products */
.req-panel__items {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: none;
}
.req-panel__items::-webkit-scrollbar { display: none; }
.req-panel__empty { font-size:13px; color:var(--gray); text-align:center; padding:40px 0; }

.req-item { display:flex; align-items:center; gap:14px; }
.req-item__img { width:64px; height:64px; background:var(--card-bg); border-radius:4px; overflow:hidden; flex-shrink:0; display:flex; align-items:center; justify-content:center; }
.req-item__img img { width:100%; height:100%; object-fit:contain; }
.req-item__info { flex:1; min-width:0; }
.req-item__name { font-size:12px; font-weight:600; margin-bottom:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.req-item__art  { font-size:10px; color:var(--gray); margin-bottom:6px; }
.req-item__qty  { display:flex; align-items:center; gap:10px; }
.req-item__qbtn { width:22px; height:22px; background:#f0f0f0; border:none; border-radius:50%; font-size:14px; font-weight:600; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .15s; }
.req-item__qbtn:hover { background:#ddd; }
.req-item__qnum { font-size:13px; font-weight:600; min-width:16px; text-align:center; }
.req-item__del  { width:28px; height:28px; background:none; border:none; cursor:pointer; font-size:20px; color:#ccc; display:flex; align-items:center; justify-content:center; transition:color .15s; }
.req-item__del:hover { color:var(--black); }

/* Form: never shrinks, always visible at bottom, safe-area padding for notched phones */
.req-panel__form {
  flex-shrink: 0;
  padding: 20px 28px;
  padding-bottom: max(28px, env(safe-area-inset-bottom, 28px));
  border-top: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  /* Keep form on-screen even when virtual keyboard pushes viewport */
  position: relative;
  z-index: 1;
}
.req-form-title { font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; margin-bottom:2px; }
.req-input { width:100%; padding:10px 14px; border:1px solid var(--border); border-radius:6px; font-family:inherit; font-size:13px; outline:none; -webkit-appearance:none; appearance:none; resize:none; transition:border-color .2s; }
.req-input:focus { border-color:var(--black); }
.req-input::placeholder { color:#bbb; }
.req-textarea { min-height:72px; }
.btn-submit { width:100%; padding:13px; background:var(--black); color:#fff; border:none; border-radius:40px; font-family:inherit; font-size:13px; font-weight:700; cursor:pointer; margin-top:4px; transition:background .2s,transform .15s; }
.btn-submit:hover { background:#333; transform:translateY(-1px); }

@keyframes up { to { opacity:1; transform:translateY(0); } }

/* ── RESPONSIVE ── */
@media (max-width:900px) {
  .cat-head { padding:36px 32px 0; grid-template-columns:1fr; gap:24px; }
  .filters  { padding:20px 32px; }
  .grid     { grid-template-columns:repeat(2,1fr); }
  .modal { height:min(92vh, 860px); overflow-y:auto; }
  .modal-body { grid-template-columns:1fr; height:auto; }
  .modal-gallery { min-height:420px; }
  .gallery-main { min-height:360px; padding:0; }
  .modal-info { overflow:visible; }
  .req-panel { width:100vw; }
}
@media (max-width:560px) {
  .cat-head { padding:28px 20px 0; gap:20px; }
  .cat-title { font-size:56px; }
  .head-desc { font-size:15px; }
  .filters  { padding:16px 20px; gap:6px; }
  .filter-btn { font-size:11px; padding:5px 12px; }
  .grid     { grid-template-columns:repeat(2,1fr); gap:1px; }
  .product-card { padding:10px; }
  .product-name { font-size:10px; }
  .product-size { font-size:9px; }
  .btn-more { font-size:10px; padding:5px 10px; }
  .modal-overlay { padding:0; align-items:flex-end; }
  .modal { border-radius:0; height:100vh; max-height:100vh; overflow-y:auto; }
  .modal-gallery { min-height:320px; }
  .gallery-main { min-height:260px; padding:0; }
  .modal-info { padding:24px 20px; }
  .cart-fab { bottom:20px; right:20px; }
}
@media (max-width:380px) {
  .cat-title { font-size:48px; }
  .product-footer { flex-direction:column; align-items:flex-start; gap:10px; }
  .btn-more { width:100%; text-align:center; }
}

/* ═══════════════════════════════════════════
   MOBILE STABILITY PASS
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .container,
  .logoprint-container,
  .projects-container,
  .catalogue__inner,
  .contacts-section .container,
  .footer-container {
    max-width: 100%;
  }

  .catalogue__track-wrap {
    scroll-padding-inline: 32px;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    min-width: 320px;
  }

  .container,
  .contacts-section .container,
  .footer-container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .header {
    height: var(--header-h);
  }

  .mobile-nav {
    min-height: 100dvh;
  }

  .hero {
    min-height: 680px;
    height: 100svh;
    height: 100dvh;
    padding-top: var(--header-h);
    background: #f2f2f2;
  }

  .hero__bg {
    top: var(--header-h);
    height: calc(100% - var(--header-h));
  }

  .hero__bg-img {
    object-position: center top;
  }

  .hero__bg-overlay {
    background: linear-gradient(
      to top,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.98) 34%,
      rgba(255,255,255,.72) 57%,
      rgba(255,255,255,0) 82%
    );
  }

  .hero__content {
    padding: 0 20px max(34px, env(safe-area-inset-bottom, 24px));
    gap: 22px;
  }

  .hero__top {
    gap: 12px;
  }

  .hero__label {
    align-items: flex-start;
  }

  .hero__label-text {
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: .07em;
  }

  .hero__desc {
    max-width: 34em;
    font-size: 12px;
    line-height: 1.45;
  }

  .hero__heading-line {
    font-size: clamp(42px, 16vw, 72px);
    line-height: .96;
    letter-spacing: 0;
    white-space: normal;
  }

  .btn--hero {
    width: auto;
    max-width: 100%;
    align-self: flex-start;
  }

  .about,
  .logoprint-section,
  .production-section,
  .contacts-section,
  .privacy-content {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .contacts-section {
    padding-left: 0;
    padding-right: 0;
  }

  .contacts-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .about {
    padding-left: 20px;
    padding-right: 20px;
  }

  .about__top,
  .catalogue__header,
  .logoprint-top,
  .logoprint-top-content,
  .projects-top,
  .projects-top-content {
    gap: 28px;
  }

  .catalogue__inner {
    padding: 56px 20px 72px;
  }

  .catalogue__upper {
    overflow: hidden;
  }

  .catalogue__mask {
    width: 92%;
    max-width: 420px;
    opacity: .36;
    top: 30px;
    right: -120px;
  }

  .catalogue__ghost span {
    font-size: clamp(42px, 16vw, 68px);
    line-height: .98;
  }

  .catalogue__heading {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.05;
  }

  .catalogue__desc {
    font-size: 13px;
    line-height: 1.65;
  }

  .catalogue__lower {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 64px;
    background: #fff;
  }

  .catalogue__track-wrap {
    width: 100%;
    padding-left: 20px;
    padding-right: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    touch-action: pan-x pan-y;
  }

  .catalogue__track {
    gap: 14px;
    padding-right: 20px;
    scroll-snap-type: x proximity;
  }

  .catalogue__card {
    width: min(78vw, 310px);
    height: auto;
    min-height: 360px;
    padding: 18px;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .catalogue__card:hover,
  .product-card:hover .product-img-wrap img,
  .btn:hover,
  .cta-btn:hover,
  .btn-more:hover,
  .btn-submit:hover {
    transform: none;
  }

  .catalogue__card-img-wrap {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .catalogue__card-label {
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
  }

  .contacts-left,
  .contacts-right {
    width: 100%;
    max-width: 100%;
  }

  .contacts-right {
    padding-top: 28px;
  }

  .contact-card {
    min-height: 76px;
    padding: 22px;
  }

  .request-form {
    gap: 14px;
  }

  .request-form input[type="text"],
  .request-form input[type="tel"],
  .request-form textarea {
    padding: 16px 18px;
    font-size: 16px;
  }

  .custom-checkbox {
    gap: 12px;
    margin-top: 6px;
    margin-bottom: 6px;
  }

  .submit-btn,
  .contacts-submit {
    width: 100%;
    max-width: none;
  }

  .reveal-up,
  .reveal-left,
  .reveal-right,
  .head-left,
  .head-right,
  .filters,
  .product-card {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .hero-section,
  .hero-frame {
    min-height: 640px;
    height: auto;
  }

  .hero-frame {
    padding: 72px 20px;
  }

  .anim-cup,
  .anim-hand-wrapper {
    opacity: .62;
    animation: none;
  }

  .grid-wrap {
    padding: 0;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
  }

  .cat-head {
    padding: 36px 20px 18px !important;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .cat-title {
    font-size: clamp(42px, 15vw, 68px);
    line-height: .95;
    margin-bottom: 0;
  }

  .head-desc {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 0;
  }

  .filters {
    padding: 0 20px 20px !important;
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex: 0 0 auto;
    min-height: 34px;
  }

  .product-card {
    min-width: 0;
    padding: 10px;
  }

  .product-img-wrap {
    aspect-ratio: 1 / 1.08;
  }

  .product-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .product-name {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.6em;
  }

  .btn-more {
    width: 100%;
    min-height: 34px;
    text-align: center;
    justify-content: center;
  }

  .cart-fab {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom, 16px));
  }

  .modal-overlay {
    padding: 0;
    align-items: stretch;
  }

  .modal {
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .modal-gallery {
    min-height: 320px;
  }

  .gallery-main {
    min-height: 260px;
  }

  .req-panel__head,
  .req-panel__items,
  .req-panel__form {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 640px;
  }

  .hero__content {
    padding-bottom: max(28px, env(safe-area-inset-bottom, 20px));
  }

  .hero__heading-line {
    font-size: clamp(40px, 15vw, 58px);
  }

  .catalogue__card {
    width: 82vw;
    min-height: 330px;
  }

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

  .product-card {
    padding: 9px;
  }

  .product-art,
  .product-size {
    font-size: 9px;
  }
}

@media (max-width: 360px) {
  .container,
  .contacts-section .container,
  .footer-container,
  .about,
  .catalogue__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero__content,
  .hero-frame,
  .cat-head {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .hero__heading-line {
    font-size: clamp(34px, 14vw, 48px);
  }

  .catalogue__track-wrap {
    padding-left: 16px;
  }

  .catalogue__track {
    padding-right: 16px;
  }

  .catalogue__card {
    width: 84vw;
  }

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

@media (prefers-reduced-motion: reduce), (max-width: 768px) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

/* Catalogue grid and previews */
.grid-wrap {
  width: 100%;
}

.grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  align-items: stretch;
}

.product-card {
  min-width: 0;
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.product-art {
  min-height: 14px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.product-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  margin-bottom: 10px;
  flex: 0 0 auto;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 0;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.025);
}

.product-footer {
  min-height: 46px;
  margin-top: auto;
}

@media (max-width: 1200px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-img-wrap { padding: 0; }
}

@media (max-width: 360px) {
  .grid { grid-template-columns: 1fr; }
}
/* Keep language switch visible and stable in header */
.header__right .lang-switch {
  display: inline-flex;
  visibility: visible;
  opacity: 1;
}

.header__right {
  min-width: max-content;
}

@media (max-width: 768px) {
  .mobile-nav .lang-switch {
    display: inline-flex;
  }
}
/* Remove visible product image frame */
.product-img-wrap {
  background: #fff;
  border-radius: 0;
}
/* Force catalogue image area to use full cell */
.product-card .product-img-wrap {
  padding: 0 !important;
  background: #fff;
  border-radius: 0;
}
/* Preserve line breaks in product modal descriptions */
.modal-desc {
  white-space: pre-line;
}
/* Keep product catalogue grid stable while loading more */
.grid .product-card {
  opacity: 1 !important;
  transform: none !important;
  transition: box-shadow .2s ease, background .2s ease;
}

.grid .product-card.visible {
  opacity: 1 !important;
  transform: none !important;
}
