* { box-sizing: border-box; }

    html, body {
      margin: 0;
      padding: 0;
      height: 100%;
      font-family: 'Montserrat', sans-serif;
      background: #fff;
      color: #111;
      overflow: hidden;
    }

/* ===== SCREENS ===== */
.screens {
  height: 100dvh;
  transition: transform .9s ease;
}

.screen {
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

/* ===== COMMON ===== */
.inner {
  width: 100%;
  max-width: 440px;
}



.title {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;

  font-size: 28px;
  font-weight: 600;
  letter-spacing: .18em;
}

.title img {
  height: 1.2em;   /* ← ВАЖНО */
  width: auto;
  display: block;
}


.text {
  font-size: 15px;
  line-height: 1.7;
  opacity: .85;

}

.divider {
  width: 45%;
  height: 1px;
  margin: 32px auto;
  background: linear-gradient(to right, transparent, rgba(0,0,0,.25), transparent);
}

    /* ===== TYPO ===== */
    .title {
      font-size: 28px;
      font-weight: 600;
      letter-spacing: .18em;
      margin-bottom: 32px;
    }



    .divider {
      width: 45%;
      height: 1px;
      margin: 32px auto;
      background: linear-gradient(
        to right,
        rgba(0,0,0,0),
        rgba(0,0,0,.25),
        rgba(0,0,0,0)
      );
    }

    /* ===== PRODUCT IMAGE ===== */
    .product-image {
      width: 100%;
      aspect-ratio: 1 / 1;
      background: #eee;
      margin-bottom: 28px;
      overflow: hidden;
    }

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

    /* ===== FORM SCREEN ===== */
    .form-screen { padding: 0; }

    .form-wrap {
      display: flex;
      align-items: center;
      width: 100%;
      height: 100vh;
      height: 100dvh;
    }

    .form-image {
      width: 90px;
      height: 80%;
      flex-shrink: 0;
      overflow: hidden;
    }

    .form-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .form-text {
      padding: 0 24px;
      max-width: 280px;
      text-align: left;
    }

    /* ===== MATERIAL SPLIT ===== */
    .material-split::before {
      content: "";
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 440px;
      height: 28vh;
      height: 28dvh;
      background-image: url("images/catalog/block-l/1-5.jpeg");
      background-repeat: no-repeat;
      background-size: 100% 200%;
      opacity: 1;
      z-index: 1;
      pointer-events: none;
    }

    .material-top::before {
      bottom: 0;
      background-position: center top;
    }

    .material-bottom::before {
      top: 0;
      background-position: center bottom;
    }

    /* ===== DETAILS SCREEN ===== */
    .details-screen {
      background: #fff;
    }

    .details-bg {
      position: absolute;
      inset: 0;
      margin: 0 auto;
      max-width: 440px;
      background: url("images/catalog/block-l/1-3.jpeg") left center / contain no-repeat;
      z-index: 0;
    }

    .details-content {
      position: relative;
      z-index: 1;
      height: 100%;
      width: 100%;
      max-width: 440px;
      margin: 0 auto;
    }

    .details-title {
      position: absolute;
      top: -20px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 28px;
      font-weight: 600;
      letter-spacing: .18em;
    }

    .details-right {
      position: absolute;
      top: 60px;
      right: 20px;
      display: flex;
      flex-direction: column;
      gap: 48px;
      max-width: 240px;
      text-align: right;
    }

    .details-subtitle {
      font-size: 15px;
      letter-spacing: .15em;
      margin-bottom: 8px;
    }

    .details-text {
      font-size: 15px;
      line-height: 1.6;
      opacity: .8;
        text-shadow:
    0 0 6px rgba(255,255,255,0.9),
    0 0 14px rgba(255,255,255,0.6),
    0 0 28px rgba(255,255,255,0.3);
    }
    
.details-phrase {
  position: absolute;
  bottom: 10px;              /* ← прижато к низу ЭКРАНА */
  right: -170px;
  transform: translateX(-50%);

  text-align: right;
  font-size: 15px;
  line-height: 1.6;
  opacity: .6;
  width: 100%;
  max-width: 440px;
  padding: 0 20px;

  pointer-events: none;
}

    
    /* ===== DETAILS 2 SCREEN ===== */
.details2-screen {
  position: relative;
  background: #fff;
  overflow: hidden;
}

/* текст сверху */
.details2-content {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 0;
  text-align: center;
}

.details2-text {
  max-width: 300px;
}

.details2-screen::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;

  width: 380px;
  height: 420px;

  background: url("images/catalog/block-l/1-4.jpeg") right bottom / contain no-repeat;

  opacity: 0.95;
  pointer-events: none;
  z-index: 1;
}


/* ===== PRICE ANIMATION ===== */
.price-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.phrase {
  font-size: 22px;
  letter-spacing: .15em;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .8s ease, transform .8s ease;
  min-height: 32px;
}

.phrase.show {
  opacity: 1;
  transform: translateY(0);
}

.phrase.up {
  transform: translateY(-24px);
}

.price {
  font-size: 28px;
  letter-spacing: .18em;
  opacity: 0;
  transition: opacity .9s ease;
}

.price.show { opacity: 1; }

.note {
  font-size: 13px;
  letter-spacing: .12em;
  opacity: 0;
  transition: opacity .9s ease;
}

.note.show { opacity: .6; }

/* ===== ORDER ===== */
.order-text {
  font-size: 15px;
  line-height: 1.7;
  opacity: .85;
  margin-bottom: 32px;
}

.order-btn {
  padding: 15px 36px;
  border: 1px solid #111;
  background: transparent;
  font-size: 15px;
  letter-spacing: .18em;
  cursor: pointer;
}
/* ===== DETAILS MODAL ===== */
.details-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.details-modal.show {
  opacity: 1;
  pointer-events: auto;
}


.details-modal-content {
  width: 100%;
  max-width: 720px;

  max-height: 80vh;          /* ← ВАЖНО */
  padding: 32px 28px;

  background: transparent;
  color: #fff;

  overflow-y: auto;          /* ← ПРОКРУТКА */
  position: relative;
    scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;  
  -webkit-overflow-scrolling: touch;
}



.details-modal-content::-webkit-scrollbar {
  width: 0;
  height: 0;
}


.details-modal-text {
  font-size: 15px;
  line-height: 1.8;
  opacity: .9;
}

.details-modal-text h2 {
  font-size: 22px;
  letter-spacing: .18em;
  margin-bottom: 32px;
}

.details-modal-text p {
  margin-bottom: 24px;
}

/* Кнопка закрытия */
.details-close {
  position: absolute;
  top: -10px;
  right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 28px;
  cursor: pointer;
  transition: color .3s ease;
}

.details-close:hover {
  color: #fff;
}
a.btn {
  display: inline-block;
  color: #111 !important;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.6);
  border-radius: 6px;
  background: #fff;
  padding: 12px 28px;
  font-size: 18px;
  margin-top: 28px;
  transition: background .3s ease, color .3s ease;
  width: 300px;
  height: auto;
}

a.btn:hover {
  background: rgba(0,0,0,.08);
  color: #111 !important;
}
.details-link {color: gray; text-decoration: none;}

.details-link:hover {color: #421708;}

/* ===== ORDER SCREEN IMAGE ===== */
.order-screen .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.order-image {
  width: 100%;
  max-width: 250px;
  margin-bottom: 32px;
}

.order-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}
/* ===== ORDER APPEAR ANIMATION ===== */

.order-image,
.order-text,
.order-btn {
  opacity: 0;
  transform: translateY(12px);
}

/* когда экран активен */
.screen.active .order-image {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .9s ease, transform .9s ease;
}

.screen.active .order-text {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .9s ease .9s, transform .9s ease .9s;
}

.screen.active .order-btn {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .9s ease 1.6s, transform .9s ease 1.6s;
}





.hero-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.lang-switch {
  display: flex;
  gap: 10px;

  font-size: 13px;
  letter-spacing: .12em;
}

.lang-switch a {
  color: #777;
  text-decoration: none;
  transition: color .2s ease;
}

.lang-switch a:hover {
  color: #111;
}

.lang-switch a.active {
  color: #111;
  font-weight: 600;
  text-decoration: underline;
}


/* ===== ОБЩАЯ ОБЁРТКА (ВНЕ ПОТОКА) ===== */
.menu-wrapper {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

/* ===== ОБЪЕКТ (КАРТИНКА-МЕНЮ) ===== */
.menu-object {
  position: absolute;
  top: 33%;
  right: -150px;              /* ПОЛНОСТЬЮ ЗА ЭКРАНОМ */

  transform: translateY(-50%);
  width: 200px;

  cursor: pointer;
  pointer-events: auto;

  transition: right 0.6s cubic-bezier(.25,.8,.25,1);
}

/* ===== ОТКРЫТОЕ СОСТОЯНИЕ ===== */
.menu-wrapper.open .menu-object {
  right: -50px;                /* ФИНАЛЬНАЯ ПОЗИЦИЯ */
}

/* ===== САМА КАРТИНКА ===== */
.menu-object img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== ССЫЛКИ ПОВЕРХ КАРТИНКИ ===== */
.menu-links {
  position: absolute;
  top: 31%;
  right: 70px;
  text-align: right;

  display: flex;
  flex-direction: column;
  gap: 10px;

  opacity: 0;
  transition: opacity .3s ease .2s;
}

/* ===== ПОКАЗЫВАЕМ ССЫЛКИ ПРИ ОТКРЫТИИ ===== */
.menu-wrapper.open .menu-links {
  opacity: 1;
}

/* ===== СТИЛЬ ССЫЛОК ===== */
.menu-links a {
  color: white;
  text-decoration: none;

  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.05em;

  transition: opacity 0.2s ease;
}

/* ===== HOVER ===== */
.menu-links a:hover {
  opacity: 0.7;
}



.order-btn btn btn-etsy {
  background: #F0641F; /* фирменный Etsy */
  color: #fff;
}

.btn-etsy:hover {
  opacity: 0.9;
}




/* ===== PRODUCT INTENT (QUESTION) ===== */

.product-intent {
  text-align: center;
  margin: 18px 0 26px;
}

.intent-question {
  font-size: 14px;
  color: rgba(0,0,0,.7);
  margin-bottom: 10px;
}

.intent-answers {
  display: inline-flex;
  gap: 28px;
}

.intent-answer {
  background: none;
  border: none;
  padding: 0;

  font-family: inherit;
  font-size: 13px;
  letter-spacing: .02em;

  color: rgba(0,0,0,.55);
  cursor: pointer;

  opacity: .75;
  transition: opacity .15s ease;
}

.intent-answer:hover {
  opacity: 1;
}

.intent-done {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(0,0,0,.45);
}


@media (max-width: 480px) {

  .product-intent {
    margin: 10px 0 18px;
  }

  .intent-question {
    font-size: 12px;
  }

  .intent-answers {
    gap: 20px;
  }

}
