@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/inter-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/inter-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/inter-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/inter-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/inter-800-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/inter-800-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/inter-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/inter-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

:focus, :focus-visible { outline: none; }

.gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.gate.is-open { display: none; }

.gate-input {
  width: 190px;
  padding: 13px 18px;
  border: 1px solid #dcdcdc;
  border-radius: 12px;
  background: #fff;
  color: #111;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  text-align: center;
  letter-spacing: .35em;
  outline: none;
  transition: border-color 200ms ease;
}

.gate-input:focus { border-color: #111; }

.gate.is-wrong .gate-input {
  border-color: #e23b3b;
  animation: gate-shake 320ms ease;
}

@keyframes gate-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

:root {
  --glow-a: #6c7480;
  --glow-b: #2b2f36;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

html, body {
  height: 100%;
  background: #17191d;
  font-family: Inter, system-ui, sans-serif;
  color: #fff;
  overflow: hidden;
}

.glow {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(120% 90% at 12% 0%, var(--glow-a) 0%, transparent 62%),
    linear-gradient(150deg, var(--glow-b) 0%, #101216 100%);
  transition: background 1150ms cubic-bezier(.5, .05, .25, 1);
  z-index: 0;
}

.card {
  position: absolute;
  inset: 26px;
  border-radius: 26px;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .05);
}

.scene { position: absolute; inset: 0; }

.scene-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1150ms cubic-bezier(.5, .05, .25, 1);
}

.scene-bg.is-on { opacity: 1; }

.scene-tint {
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 50% 55%, transparent 30%, rgba(0, 0, 0, .38) 100%);
}

.top {
  position: absolute;
  top: 22px;
  left: 30px;
  right: 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 4;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #fff;
  padding-top: 6px;
}

.brand-mark {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #111;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
}

.brand-name {
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .07);
}

.nav-item {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .09em;
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  white-space: nowrap;
  transition: color 250ms, background 250ms;
}

.nav-item:hover { color: #fff; }

.nav-item.is-active {
  background: #fff;
  color: #14161a;
  font-weight: 700;
}

.tools { display: flex; gap: 9px; }

.tool { position: relative; }

.cart-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e23b3b;
  box-shadow: 0 0 0 2px rgba(20, 22, 26, .9);
  opacity: 0;
  transform: scale(.3);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}

.tool-cart.has-items .cart-dot {
  opacity: 1;
  transform: scale(1);
}

.tool, .arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  transition: background 250ms, transform 250ms var(--ease);
}

.tool:hover, .arrow:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }

.tool svg, .arrow svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.arrows {
  position: absolute;
  top: 138px;
  left: 30px;
  display: flex;
  gap: 8px;
  z-index: 4;
}

.arrow:active { transform: scale(.92); }

.intro {
  position: absolute;
  top: 178px;
  left: 30px;
  width: 380px;
  z-index: 3;
}

.title {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.025em;
}

.lead {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .68);
  max-width: 330px;
}

.stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.stage-light {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 620px;
  height: 620px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, .16) 0%, transparent 65%);
  opacity: .9;
}

.shadow {
  position: absolute;
  left: 50%;
  top: calc(50% + 226px);
  width: 190px;
  height: 30px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .55) 38%, transparent 70%);
  filter: blur(7px);
  transition: opacity 560ms var(--ease), transform 560ms var(--ease);
  animation: shadowBreath 6s ease-in-out infinite;
}

/* тень дышит вместе с парением: предмет внизу -> тень больше, вверху -> меньше */
@keyframes shadowBreath {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(.8); opacity: .68; }
}

.shadow.is-gone {
  animation: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.55);
  transition: opacity 380ms linear, transform 380ms ease-in;
}

.product {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 448px;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, .55));
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}

.product.is-idle { animation: float 6s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 12px)); }
}

.product.is-out {
  transition: transform 1150ms cubic-bezier(.5, .05, .25, 1), opacity 580ms linear;
}

.product.is-in {
  transition: transform 1150ms cubic-bezier(.5, .05, .25, 1), opacity 520ms ease-out;
}

.buy {
  position: absolute;
  right: 42px;
  top: 268px;
  width: 300px;
  text-align: right;
  z-index: 3;
}

.price { line-height: 1; }

.price-now {
  display: block;
  font-size: 50px;
  font-weight: 500;
  letter-spacing: -.03em;
}

.price-old {
  display: inline-block;
  margin-top: 8px;
  font-size: 24px;
  font-weight: 400;
  color: rgba(255, 255, 255, .4);
  text-decoration: line-through;
}

.price.is-swap { animation: swap 800ms var(--ease); }

.intro.is-swap .title,
.intro.is-swap .lead { animation: swap 800ms var(--ease); }

@keyframes swap {
  0% { opacity: 1; transform: translateY(0); }
  45% { opacity: 0; transform: translateY(-10px); }
  46% { transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.buy-btn {
  position: absolute;
  left: 50%;
  bottom: 64px;
  transform: translateX(-50%);
  min-width: 169px;
  padding: 14px 29px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #14161a;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  z-index: 3;
  transition: background 320ms var(--ease), color 320ms var(--ease),
              border-color 320ms var(--ease), transform 300ms var(--ease),
              box-shadow 300ms var(--ease);
}

.buy-btn:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, .7);
}

.buy-btn:active { transform: translateX(-50%) scale(.96); }

.buy-btn.is-added {
  background: transparent;
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.buy-btn-text { display: inline-block; }

.buy-btn.is-swap .buy-btn-text { animation: swap 420ms var(--ease); }

.foot-links {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 22px;
  z-index: 3;
  font-size: 12px;
  white-space: nowrap;
}

.foot-links a {
  color: rgba(255, 255, 255, .42);
  text-decoration: none;
  transition: color 220ms;
}

.foot-links a:hover { color: rgba(255, 255, 255, .85); }

.social {
  position: absolute;
  left: 30px;
  bottom: 34px;
  display: flex;
  gap: 16px;
  z-index: 3;
  color: rgba(255, 255, 255, .55);
}

.social a { color: inherit; display: grid; place-items: center; transition: color 250ms, transform 250ms var(--ease); }
.social a:hover { color: #fff; transform: translateY(-2px); }

.peek {
  position: absolute;
  right: 30px;
  bottom: 22px;
  width: 97px;
  height: 110px;
  border: 0;
  background: none;
  cursor: pointer;
  z-index: 3;
  transition: transform 350ms var(--ease);
}

.peek:hover { transform: translateY(-4px) scale(1.04); }

.peek img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .5));
  opacity: 0;
  transform: scale(.6) translateY(14px);
  transition: opacity 1150ms cubic-bezier(.5, .05, .25, 1), transform 1150ms cubic-bezier(.5, .05, .25, 1);
}

.peek img.is-on {
  opacity: .95;
  transform: scale(1) translateY(0);
}

.peek-shadow {
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 69px;
  height: 13px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 0, 0, .45) 0%, transparent 70%);
  filter: blur(3px);
}

.is-busy .arrow, .is-busy .peek { pointer-events: none; }

.gallery-btn {
  position: absolute;
  left: 583px;
  top: 583px;
  width: 34px;
  height: 34px;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  cursor: pointer;
  /* гелевое стекло: полупрозрачная заливка + блик сверху */
  background:
    radial-gradient(120% 100% at 30% 22%, rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, .05) 55%, rgba(255, 255, 255, .02) 100%);
  backdrop-filter: blur(9px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .45),
    inset 0 -6px 10px rgba(0, 0, 0, .25),
    0 10px 24px -8px rgba(0, 0, 0, .6);
  transition: transform 300ms var(--ease), box-shadow 300ms;
}

.gallery-btn::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 12%;
  width: 76%;
  height: 42%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .5), transparent);
  opacity: .6;
  pointer-events: none;
}

.gallery-btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 1px rgba(255,255,255,.5), inset 0 -6px 10px rgba(0,0,0,.25), 0 14px 30px -8px rgba(0,0,0,.7); }
.gallery-btn:active { transform: scale(.94); }

.gallery-ic {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: rgba(255, 255, 255, .92);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.soon-label {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
}

.card.is-soon .soon-label { display: block; }

.card.is-soon .intro,
.card.is-soon .buy,
.card.is-soon .buy-btn,
.card.is-soon .arrows,
.card.is-soon .peek,
.card.is-soon .gallery-btn { display: none; }

.card.is-soon .product {
  height: 340px;
  filter: brightness(.72) drop-shadow(0 30px 45px rgba(0, 0, 0, .55));
}

.soon-q {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 110px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  text-shadow: 0 6px 22px rgba(0, 0, 0, .55);
  z-index: 3;
  pointer-events: none;
}

.card.is-soon .soon-q { display: block; }

.card.is-soon .stage { transform: translateY(-40px); }
.card.is-soon .shadow { top: calc(50% + 182px); }

.soon-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .2em;
  color: #fff;
}

.soon-sub {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .38em;
  color: rgba(255, 255, 255, .5);
}

.soon-line {
  width: 46px;
  height: 1px;
  margin: 16px auto 0;
  background: rgba(255, 255, 255, .28);
}

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

  .card {
    position: fixed;
    inset: 10px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    padding: 10px 14px calc(14px + env(safe-area-inset-bottom));
  }

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

  .top {
    position: static;
    order: 1;
    width: 100%;
    flex-wrap: wrap;
    row-gap: 8px;
    align-items: center;
  }

  .brand { order: 1; padding-top: 0; }
  .tools { order: 2; margin-left: auto; }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav::-webkit-scrollbar { display: none; }
  .nav-item { flex-shrink: 0; padding: 6px 9px; }

  .arrows { display: none; }

  .social {
    position: static;
    order: 6;
    margin-top: 22px;
    gap: 24px;
  }

  .foot-links {
    position: static;
    order: 7;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin-top: 18px;
    font-size: 11.5px;
    white-space: normal;
  }

  .card.is-soon .stage { transform: none; margin-top: auto; }
  .card.is-soon .product { height: 250px; }

  .card.is-soon .soon-label {
    position: static;
    order: 4;
    transform: none;
    margin-top: calc(22px + 5vh);
    margin-bottom: 18vh;
  }

  .card.is-suit .soon-label { margin-top: calc(22px + 6.67vh); }

  .soon-title { font-size: 24px; }

  .intro {
    position: static;
    order: 2;
    transform: none;
    width: 100%;
    max-width: 340px;
    margin-top: 16px;
    text-align: center;
  }

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

  .lead {
    display: block;
    margin: 10px auto 0;
    font-size: 12px;
    line-height: 1.5;
    max-width: 315px;
  }

  .stage {
    position: relative;
    order: 3;
    inset: auto;
    width: 100%;
    height: 268px;
    flex-shrink: 0;
    margin-top: 14px;
  }

  .stage-light {
    width: 310px;
    height: 310px;
  }

  .product { height: 250px; }

  .shadow {
    top: calc(50% + 126px);
    width: 122px;
    height: 20px;
  }

  .buy {
    position: static;
    order: 4;
    transform: none;
    width: auto;
    margin-top: 50px;
    text-align: center;
  }

  .price-now { font-size: 41px; }
  .price-old { margin-top: 4px; font-size: 22px; }

  .buy-btn {
    position: static;
    order: 5;
    transform: none;
    margin-top: 20px;
    min-width: 172px;
    padding: 14px 31px;
    font-size: 15.4px;
  }

  .buy-btn:hover { transform: translateY(-2px); }
  .buy-btn:active { transform: scale(.96); }

  .peek {
    right: 8px;
    bottom: 150px;
    width: 82px;
    height: 96px;
  }

  .peek-shadow { width: 52px; height: 11px; }

  .gallery-btn {
    left: 58px;
    top: 486px;
    bottom: auto;
    width: 38px;
    height: 38px;
  }

  .gallery-ic { width: 19px; height: 19px; }
}

/* ---------- Корзина ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  justify-content: flex-end;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(4px);
  animation: cartFade 260ms var(--ease);
}

.cart-overlay[hidden] { display: none; }

@keyframes cartFade { from { opacity: 0; } to { opacity: 1; } }

.cart-panel {
  position: relative;
  width: 420px;
  max-width: 100%;
  height: 100%;
  background: #191b1f;
  border-left: 1px solid rgba(255, 255, 255, .07);
  box-shadow: -30px 0 80px -20px rgba(0, 0, 0, .7);
  padding: 30px 28px;
  overflow-y: auto;
  scrollbar-width: none;
  animation: cartSlide 380ms var(--ease);
}

.cart-panel::-webkit-scrollbar { display: none; }

@keyframes cartSlide { from { transform: translateX(40px); opacity: .4; } to { transform: none; opacity: 1; } }

.cart-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  cursor: pointer;
  transition: background 250ms;
}

.cart-close:hover { background: rgba(255, 255, 255, .16); }
.cart-close svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

.cart-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 22px;
}

.cart-items { display: flex; flex-direction: column; gap: 12px; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
}

.cart-item-thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  overflow: hidden;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.cart-item-info { flex: 1; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.cart-item-name { font-size: 13.5px; font-weight: 600; }

.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.cart-item-sum { font-size: 14px; font-weight: 700; white-space: nowrap; }

.cart-qty { display: flex; align-items: center; gap: 12px; }

.qty-btn {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background 200ms;
}

.qty-btn:hover { background: rgba(255, 255, 255, .16); }
.qty-val { min-width: 18px; text-align: center; font-size: 14px; font-weight: 600; }

.cart-empty { color: rgba(255, 255, 255, .4); font-size: 14px; padding: 30px 0; text-align: center; }

.cart-foot { margin-top: 24px; }

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 2px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
}

.cart-total-val { font-size: 24px; font-weight: 700; color: #fff; }

.cart-next, .order-submit, .cart-done-close {
  width: 100%;
  padding: 15px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #14161a;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  transition: transform 250ms var(--ease), box-shadow 250ms, opacity 250ms;
}

.cart-next:hover, .order-submit:hover, .cart-done-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .8);
}

.cart-next:disabled { opacity: .3; pointer-events: none; }

.cart-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .6);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: color 200ms;
}

.cart-back:hover { color: #fff; }
.cart-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.order-form { display: flex; flex-direction: column; gap: 11px; }

.fld {
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 200ms, background 200ms;
}

.fld::placeholder { color: rgba(255, 255, 255, .38); }
.fld:focus { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); }
.fld.is-bad { border-color: #e23b3b; }

.contact-tabs {
  display: flex;
  gap: 8px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
}

.contact-tab {
  flex: 1;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: rgba(255, 255, 255, .6);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 220ms, color 220ms;
}

.contact-tab.is-on { background: #fff; color: #14161a; }

.order-submit { margin-top: 6px; }

.cart-view[data-view="done"] { text-align: center; padding-top: 40px; }

.done-mark {
  width: 66px;
  height: 66px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  animation: donePop 500ms var(--ease);
}

@keyframes donePop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }

.done-mark svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.done-text { margin: 10px 0 28px; color: rgba(255, 255, 255, .6); font-size: 14px; }

@media (max-width: 680px) {
  .cart-panel {
    width: 100%;
    border-left: 0;
    padding: 24px 18px calc(24px + env(safe-area-inset-bottom));
  }
}

/* ---------- Галерея фото (доп окно поверх сайта, фон не темнеет) ---------- */
.photo-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 34px 18px;
  animation: cartFade 220ms var(--ease);
}

.photo-overlay[hidden] { display: none; }

.photo-window {
  position: relative;
  width: min(440px, 92vw);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #0c0d0f;
  box-shadow: 0 40px 90px -25px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .07);
  animation: cartSlide 340ms var(--ease);
}

.photo-strip {
  overflow-y: auto;
  scrollbar-width: none;
}

.photo-strip::-webkit-scrollbar { display: none; }

.photo-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.photo-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(20, 22, 26, .6);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  transition: background 220ms;
}

.photo-close:hover { background: rgba(40, 43, 48, .85); }
.photo-close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

/* ---------- Страница info.html: контакты, доставка, возврат, данные ---------- */
.page-body { height: auto; overflow: auto; }

.page {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 34px 26px calc(60px + env(safe-area-inset-bottom));
}

.page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 54px;
}

.page-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, .55);
  font-size: 13.5px;
  text-decoration: none;
  transition: color 220ms;
}

.page-back:hover { color: #fff; }
.page-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.page-h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.page-lead { margin-top: 14px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .62); }

.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.page-nav a {
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  text-decoration: none;
  transition: background 220ms, color 220ms, border-color 220ms;
}

.page-nav a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; }

.page-sec {
  margin-top: 46px;
  scroll-margin-top: 24px;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .72);
}

.page-sec h2 {
  margin-bottom: 16px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
}

.page-sec p + p { margin-top: 12px; }
.page-sec a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.page-sec a:hover { border-bottom-color: #fff; }

.page-foot {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13.5px;
}

.page-foot a { color: rgba(255, 255, 255, .55); text-decoration: none; transition: color 220ms; }
.page-foot a:hover { color: #fff; }

@media (max-width: 680px) {
  .page { padding-top: 24px; }
  .page-top { margin-bottom: 38px; }
  .page-h1 { font-size: 27px; }
  .page-sec { margin-top: 38px; }
}

.info-list {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.info-list dt { color: rgba(255, 255, 255, .45); font-size: 13px; }
.info-list dd { color: #fff; }
.info-list a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.info-list a:hover { border-bottom-color: #fff; }

.info-note { margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, .5); }

.agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
  cursor: pointer;
}

.agree-box { position: absolute; opacity: 0; width: 0; height: 0; }

.agree-mark {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 6px;
  background: rgba(255, 255, 255, .04);
  transition: background 180ms, border-color 180ms;
}

.agree-box:checked + .agree-mark {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314161a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-color: #fff;
}

.agree.is-bad .agree-mark { border-color: #e23b3b; }

.agree-text { font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, .55); }

.agree-link {
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  background: none;
  color: rgba(255, 255, 255, .8);
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

.agree-link:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- Телефоны с невысоким экраном (адресная строка съедает высоту) ---------- */
@media (max-width: 680px) and (max-height: 880px) {
  .card { padding: 8px 14px calc(10px + env(safe-area-inset-bottom)); }

  .intro { margin-top: 10px; }
  .title { font-size: 24px; }
  .lead { margin-top: 8px; font-size: 11.5px; max-width: 290px; }

  .stage { height: 206px; margin-top: 10px; }
  .stage-light { width: 250px; height: 250px; }
  .product { height: 190px; }
  .shadow { top: calc(50% + 96px); width: 96px; height: 15px; }

  .buy { margin-top: 20px; }
  .price-now { font-size: 33px; }
  .price-old { margin-top: 2px; font-size: 17px; }

  .buy-btn { margin-top: 12px; padding: 12px 26px; font-size: 14.5px; }

  .social { margin-top: 12px; gap: 20px; }
  .foot-links { margin-top: 8px; gap: 6px 14px; font-size: 11px; }

  .peek { bottom: 118px; width: 64px; height: 76px; }
  .peek-shadow { width: 42px; height: 9px; }

  .card.is-soon .product { height: 172px; }
  .card.is-soon .soon-label { margin-top: 2vh; margin-bottom: 5vh; }
  .soon-title { font-size: 20px; }
}

@media (max-width: 680px) and (max-height: 880px) {
  .gallery-btn { top: 358px; left: 46px; width: 34px; height: 34px; }
  .gallery-ic { width: 17px; height: 17px; }
}

/* совсем низкие экраны, вроде 360x640 */
@media (max-width: 680px) and (max-height: 700px) {
  .stage { height: 184px; margin-top: 8px; }
  .stage-light { width: 220px; height: 220px; }
  .product { height: 170px; }
  .shadow { top: calc(50% + 86px); width: 86px; height: 13px; }
  .title { font-size: 21px; }
  .lead { margin-top: 6px; font-size: 11px; }
  .buy { margin-top: 14px; }
  .price-now { font-size: 29px; }
  .price-old { font-size: 15px; }
  .buy-btn { margin-top: 10px; padding: 11px 24px; font-size: 14px; }
  .social { margin-top: 10px; }
  .foot-links { margin-top: 6px; font-size: 10.5px; }
  .gallery-btn { top: 328px; }
  .peek { bottom: 102px; width: 56px; height: 66px; }
}

@media (max-width: 680px) and (max-height: 700px) {
  .card.is-soon .product { height: 148px; }
  .card.is-soon .soon-label { margin-top: 5vh; margin-bottom: 3vh; }
}

@media (max-width: 680px) and (max-height: 880px) {
  /* прижимаем подвал к низу, чтобы не висела пустота */
  .social { margin-top: auto; padding-top: 14px; }
  /* миниатюра следующей маски не должна лезть на ссылки */
  .peek { bottom: 214px; }
  .card.is-soon .stage { margin-top: 4vh; }
}

@media (max-width: 680px) and (max-height: 700px) {
  .peek { bottom: 196px; }
}

@media (max-width: 680px) {
  .social { margin-top: auto; padding-top: 16px; }
}

@media (max-width: 680px) {
  /* пустоту уводим под маску, низ собираем плотной группой */
  .buy { margin-top: auto; }
  .social { margin-top: 14px; padding-top: 0; }
}

@media (max-width: 680px) {
  .card.is-soon .social { margin-top: auto; }
}

@media (max-width: 680px) and (max-height: 880px) {
  /* у костюма картинка умножается на 1.41, поэтому сцене нужен запас */
  .card.is-soon .stage { height: 252px; margin-top: 3vh; }
  .card.is-soon .product { height: 150px; }
  .card.is-soon .soon-label { margin-top: 3vh; margin-bottom: 4vh; }
}

@media (max-width: 680px) and (max-height: 700px) {
  .card.is-soon .stage { height: 220px; margin-top: 2vh; }
  .card.is-soon .product { height: 128px; }
}

/* ---------- Мобильная композиция: товар по центру, текст внизу ---------- */
@media (max-width: 680px) and (max-height: 880px) {
  .stage { height: 250px; margin: auto 0; }
  .stage-light { width: 300px; height: 300px; }
  .product { height: 232px; }
  .shadow { top: calc(50% + 117px); width: 116px; height: 17px; }

  .buy { margin-top: 18px; }
  .peek { bottom: 200px; width: 70px; height: 82px; }

  .card.is-soon .stage { height: 262px; margin-top: auto; margin-bottom: 0; }
  .card.is-soon .product { height: 182px; }
  .card.is-soon .soon-label { margin-top: 26px; margin-bottom: auto; }
}

@media (max-width: 680px) and (max-height: 700px) {
  .stage { height: 202px; }
  .stage-light { width: 244px; height: 244px; }
  .product { height: 188px; }
  .shadow { top: calc(50% + 95px); width: 95px; height: 14px; }
  .peek { bottom: 176px; width: 60px; height: 70px; }

  .card.is-soon .stage { height: 214px; }
  .card.is-soon .product { height: 148px; }
  .card.is-soon .soon-label { margin-top: 18px; }
}

@media (max-width: 680px) {
  .stage { margin: auto 0; }
  .buy { margin-top: 18px; }
  .card.is-soon .stage { margin-top: auto; margin-bottom: 0; }
  .card.is-soon .soon-label { margin-bottom: auto; }
}

@media (max-width: 680px) and (min-height: 881px) {
  .card.is-soon .stage { height: 300px; }
  .card.is-soon .product { height: 200px; }
  .card.is-soon .soon-label { margin-top: 26px; margin-bottom: auto; }
}

@media (max-width: 680px) {
  /* пустоту делят только сцена сверху и подпись снизу, иначе группа уезжает вверх */
  .card.is-soon .social { margin-top: 14px; }
}
