/* DISORDER119 PRODUCT PAGE V4
   Mobile layout follows the approved clean iPhone concept while keeping the
   existing catalogue, checkout, rental and gallery functionality intact. */

.page-head__back { display: none !important; }
.page-head__menu { display: none; }

/* Product sequence: previous left, archive centered, next right. */
.article-sequence-nav {
  max-width: 1240px;
  margin: 16px auto 0;
  padding: 0 clamp(20px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}
.article-sequence-nav__link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(242,239,231,.72);
  text-decoration: none;
  font: 600 10px/1.15 Helvetica, Arial, sans-serif;
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 0;
  background: transparent;
}
.article-sequence-nav__link:hover,
.article-sequence-nav__link:focus-visible { color: #f2efe7; outline: none; }
.article-sequence-nav__link--prev { justify-self: start; }
.article-sequence-nav__link--archive { justify-self: center; }
.article-sequence-nav__link--next { justify-self: end; }

/* Keep purchase actions above long editorial descriptions on every product. */
.info { display: flex; flex-direction: column; }
.info__brand { order: 1; }
.info > h1 { order: 2; }
#priceBlock { order: 3; }
.info__facts { order: 4; }
.info__cta { order: 5; }
.info > .btn--rental { order: 6; }
.info__desc {
  order: 7;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.info__gebraucht { order: 7; margin: 10px 0 0; }
.info__note { order: 8; }
.info__config-warning { order: 9; }

@media (max-width: 860px) {
  /* Header from the approved iPhone concept. */
  .page-head {
    position: relative;
    min-height: 74px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 1px solid rgba(242,239,231,.18);
  }

  .page-head__menu {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #f2efe7;
    text-decoration: none;
  }
  .page-head__menu span {
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
  }

  .page-head__brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: .7rem;
    line-height: 1;
    letter-spacing: .01em;
    white-space: nowrap;
  }

  .page-head__right {
    margin-left: auto;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap !important;
    gap: 7px;
  }

  .lang-switch {
    display: flex;
    gap: 2px;
    border: 1px solid rgba(242,239,231,.28);
  }
  .lang-switch__btn {
    width: 26px;
    height: 32px;
    flex: 0 0 26px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    font-size: .59rem;
    letter-spacing: .04em;
  }
  .lang-switch__btn[aria-current="true"] {
    background: #aaa69b;
    color: #000;
  }

  .page-head__cart {
    position: relative;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #f2efe7;
    font-size: 0;
  }
  .page-head__cart:hover { background: transparent; color: #f2efe7; }
  .page-head__cart > span:first-child { display: none; }
  .page-head__cart::before {
    content: "";
    width: 18px;
    height: 14px;
    border: 1.5px solid currentColor;
    border-top: 0;
    transform: translateY(2px);
  }
  .page-head__cart::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 7px;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    border: 1.5px solid currentColor;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
  }
  .page-head__cart-count {
    position: absolute;
    right: -1px;
    top: 1px;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #aaa69b;
    color: #000;
    font-size: 8px !important;
    line-height: 1;
    font-weight: 700;
  }
  .page-head__cart-count:empty { display: none; }

  /* One calm navigation strip immediately above the product image. */
  .article-sequence-nav {
    max-width: none;
    width: auto;
    margin: 0;
    padding: 0 16px;
    min-height: 58px;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    border-bottom: 1px solid rgba(242,239,231,.18);
  }
  .article-sequence-nav__link {
    min-width: 0;
    min-height: 58px;
    padding: 0 10px;
    font-size: .68rem;
    line-height: 1.15;
    letter-spacing: .01em;
    text-transform: none;
    color: rgba(242,239,231,.62);
  }
  .article-sequence-nav__link--archive {
    padding-left: 22px;
    padding-right: 22px;
    border-left: 1px solid rgba(242,239,231,.16);
    border-right: 1px solid rgba(242,239,231,.16);
  }

  .product {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 12px 16px 48px;
  }
  .gallery { position: static; }
  .gallery__stage { border: 0; }
  .gallery__nav {
    width: 38px;
    height: 38px;
    background: rgba(0,0,0,.5);
    border-color: rgba(242,239,231,.28);
  }
  .gallery__nav--prev { left: 10px; }
  .gallery__nav--next { right: 10px; }
  .gallery__counter { right: 10px; bottom: 10px; }

  .gallery__thumbs {
    gap: 9px;
    margin-top: 10px;
    padding-bottom: 2px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .gallery__thumbs--reserved { min-height: 100px; }
  .gallery__thumbs::-webkit-scrollbar { display: none; }
  .gallery-thumb {
    width: 74px;
    height: 98px;
    scroll-snap-align: start;
    opacity: .62;
  }
  .gallery-thumb.active { opacity: 1; border-color: #d6d0c2; }

  .info { padding-top: 2px; }
  .info__brand {
    margin-bottom: 8px;
    font-size: .72rem;
    letter-spacing: .13em;
  }
  .info h1 {
    margin-bottom: 12px;
    font-size: clamp(1.42rem, 6vw, 1.78rem);
    line-height: 1.16;
  }
  .info__price { font-size: 1.42rem; }
  .info__facts {
    gap: 17px 22px;
    margin: 20px 0 18px;
    padding: 18px 0;
  }
  .fact__label { font-size: .62rem; }
  .fact__value { font-size: .92rem; }
  .info__cta { gap: 9px; margin-bottom: 9px; }
  .btn { min-height: 50px; padding: 14px 14px; }
  .info__desc {
    margin-top: 22px;
    padding-top: 18px;
    font-size: .9rem;
    line-height: 1.6;
  }
}

@media (max-width: 380px) {
  .page-head { padding-left: 12px; padding-right: 12px; }
  .page-head__menu { width: 34px; flex-basis: 34px; }
  .page-head__menu span { width: 20px; }
  .page-head__brand { font-size: .68rem; }
  .page-head__right { gap: 5px; }
  .lang-switch__btn { width: 26px; height: 30px; flex-basis: 26px; font-size: .55rem; }
  .page-head__cart { width: 31px; height: 31px; flex-basis: 31px; }
  .article-sequence-nav { padding: 0 12px; }
  .article-sequence-nav__link { padding: 0 6px; font-size: .62rem; }
  .article-sequence-nav__link--archive { padding-left: 12px; padding-right: 12px; }
  .product { padding-left: 12px; padding-right: 12px; }
  .gallery-thumb { width: 68px; height: 91px; }
}
