/* English presentation of the archived portfolio project. */
body.index-page:not(.fancybox-active):not(.active-menu) {
  overflow-x: hidden;
  overflow-y: auto;
}

.header__top-hamburger-land { gap: 0; }

.modal__title-modal, .success-form__title { overflow-wrap: break-word; }
.contact-map-embed { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9); }
.contact-map-link { position: absolute; right: 12px; bottom: 12px; padding: 8px 12px; background: #111; color: #efefef; font: 12px/1.4 Gilroy, sans-serif; z-index: 1; }

/* Shared Natural History identity. */

[data-demo-social] { cursor: default; }
.sitebar-info__phone a { font-size: 24px; white-space: nowrap; }

/* Header and footer use the same approved Moniqa vector artwork. */
.header__top-logo { width: 285px; }
.header__top-logo .brand-logo { display: block; width: 100%; height: auto; }
@media (max-width: 680px) { .header__top-logo { width: 208px; flex-shrink: 0; } }
@media (max-width: 360px) { .header__top-logo { width: 152px; } }

/* Keep native horizontal gestures without the empty breadcrumb scrollbar. */
:where(img[width][height]) { height: auto; }
@supports (overflow: clip) { .page-container { overflow: clip; } }
.overflow-x-scroll { overflow-x: auto; scrollbar-width: none; }
.overflow-x-scroll::-webkit-scrollbar { display: none; }
.footer__logo img { max-width: 100%; height: auto; }
.sticky-nav-bar--fixed { top: var(--site-header-height, 79px); }
.sticky-nav-bar--past-product { visibility: hidden; pointer-events: none; }
.description-product__slider, .description-product__info { min-width: 0; }
.about-page .page-container { overflow: clip; }
.about-page .presentation-first-block { min-height: 0; }
.about-page .about-first-block { position: relative; isolation: isolate; overflow: hidden; max-height: none; transform: none; transition: none; }
.about-page .about-first-block__video { display: none; pointer-events: none; }
.about-page .about-first-block__shadow { z-index: 1; pointer-events: none; }
.about-page .about-first-block__info-block {
  inset: 0; height: 100%; z-index: 2; opacity: 1; transform: none; transition: none;
  padding: 110px 48px 64px; box-sizing: border-box;
}
.about-page .about-first-block__info-block-center {
  top: 0; width: min(100%, 1000px); transition: none;
  transform: translateY(var(--about-title-y, 24px));
}
.about-page .about-first-block__title img { display: block; width: 100%; height: auto; }
.about-page .about-first-block__title-text { margin-top: 32px; }
@media (min-width: 1041px) and (prefers-reduced-motion: no-preference) {
  /* The extra distance belongs to the document: no wheel/touch or body-scroll lock. */
  .about-page .presentation-first-block.about-scroll-intro { height: 280vh; max-height: none; overflow: visible; }
  .about-scroll-intro .about-first-block { position: sticky; top: 0; height: 100vh; }
  .about-page .about-first-block__bg-container {
    position: absolute; top: 50%; left: 0; right: 0;
    transform: translateY(-50%) scale(var(--about-scale, 1));
    opacity: var(--about-mosaic-opacity, 1); will-change: transform;
  }
  .about-page .about-first-block .about-first-block__img-el {
    /* Override the archived per-tile nth-child entrance states. */
    opacity: var(--about-tile-opacity, .65) !important; transition: none;
    transform: translate(var(--about-tile-x, 0px), var(--about-tile-y, 0px)) scale(.9) !important;
  }
}

@media (max-width: 1040px), (prefers-reduced-motion: reduce) {
  body.about-page.overflow-hidden:not(.active-menu):not(.fancybox-active) { overflow-y: auto; }
  .about-page .presentation-first-block { height: 100svh; min-height: 500px; max-height: 900px; }
  .about-page .about-first-block { height: 100%; transform: none !important; }
  .about-page .about-first-block__bg-container { display: none; }
  .about-page .about-first-block__video { display: flex; inset: 0; z-index: 0; opacity: .55; }
  .about-page .about-first-block__video-block { padding: 0; height: 100%; max-width: none; opacity: 1; transform: none; }
  .about-page .about-first-block__video-block img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; }
  .about-page .about-first-block__info-block {
    opacity: 1 !important; transform: none !important; inset: 0; padding: 96px 24px 48px;
    background: linear-gradient(0deg, #000, transparent 70%), rgba(0,0,0,.35);
  }
  .about-page .about-first-block__info-block-center { top: 0; transform: none; max-width: 600px; text-align: center; }
  .about-page .about-first-block__title img { max-width: 100%; height: auto; }
  .about-page .about-first-block__title-text { max-width: 100%; font-size: clamp(18px, 3vw, 24px); line-height: 1.5; }
}

@media (max-width: 1040px) {
  /* Flow layout adapts to translated titles, instead of reserving a fixed gap. */
  .single .description-product__container { display: flex; flex-direction: column; gap: 0; }
  .single .description-product__info { display: contents; }
  .single .description-product__labels { order: 0; }
  .single .description-product__title { order: 1; min-height: 0; margin-bottom: 0; }
  .single .description-product__slider {
    order: 2; position: relative; inset: auto; width: 100%; max-width: 520px;
    align-self: center; margin: 2.4rem 0 3.2rem;
  }
  .single .description-product__characteristics { order: 3; }
  .single .description-product__price { order: 4; }
  .single .description-product__short-desc { order: 5; }
  .single .description-product__info > .link-line { order: 6; align-self: flex-start; }
  .single #main-slider { width: 100%; max-width: none; max-height: none; aspect-ratio: 1; height: auto; }
  .single #main-slider .splide__slide picture,
  .single #main-slider .splide__slide img { width: 100%; height: 100%; object-fit: contain; }
  .single #thumbnail-slider { position: relative; inset: auto; width: 100%; transform: none; margin-top: 1.2rem; }
  .single #thumbnail-slider .splide__track--nav > .splide__list > .splide__slide { transform: none; }
  .single #thumbnail-slider .splide__list { justify-content: flex-start; }
  .single #thumbnail-slider .splide__track--nav > .splide__list > .splide__slide img { top: 0; }
  .single #thumbnail-slider .splide__arrows { position: static; }
  .single #thumbnail-slider .splide__arrow--prev { left: 0; }
  .single #thumbnail-slider .splide__arrow--next { right: 0; }
  .single #thumbnail-slider .splide__arrow { width: 44px; height: 44px; }
  .description-product__characteristic { gap: 1.6rem; }
  .description-product__characteristic-content { text-align: right; }
}

@media (max-width: 680px) {
  .header { padding-right: 16px; padding-left: 16px; }
  .header__top { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 64px; }
  .header__top-logo { position: static; width: 100%; max-width: 208px; min-width: 0; justify-self: center; }
  .header__hamburger { left: 0; }
  .header__top-icons { position: static; gap: 8px; margin: 0; }
  .header__top-icons > .oval { width: 44px; height: 44px; flex-shrink: 0; }
  .header__top-icons > .header__top-tel-icons { display: none; }
  .header__bottom-menu a { overflow-wrap: anywhere; }
  .footer__nav { flex-wrap: wrap; gap: 16px 24px; }
  .footer__black-link { width: auto; }
  .sitebar-info__phone a { font-size: clamp(20px, 6vw, 24px); }
  .contacts__map .contact-map-embed { position: static; width: 100%; height: 100%; }
  .contact-map-link { max-width: calc(100% - 24px); }
  .shipping-payment-tabs__tab-list-mob-scroll { overflow: visible; padding-bottom: 0; }
  .shipping-payment-tabs__tab-list-mob-scroll .shipping-payment-tabs__tab-list {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0; max-width: none; border-radius: 24px;
  }
  .shipping-payment-tabs__tab-title-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 8px; text-align: center; }
  .single .sticky-nav-bar__left-content { width: 100%; justify-content: space-between; gap: 4px; }
  .single .sticky-nav-bar__link { display: flex; align-items: center; justify-content: center; width: 32px; min-height: 44px; padding-bottom: 0; }
  .single .sticky-nav-bar__price { padding-bottom: 0; white-space: nowrap; }
  .single .sticky-nav-bar__container.common-container-lg { padding-top: 0 !important; }
  .single .description-product__container { padding-top: 3.2rem; padding-bottom: 6.4rem; }
  .single .description-product [data-aos] { opacity: 1; transform: none; transition: none; }
  .single .description-product__title { font-size: 2.2rem; line-height: 1.3; padding-right: 3.2rem; }
  .single .description-product__price { margin-top: 2.4rem; }
  .single .description-product__short-desc { margin-top: 2.4rem; padding-top: 2.4rem; }
  .single #thumbnail-slider .splide__track { margin: 0 44px; }
  /* The vertical measurement label previously ended outside the viewport. */
  .single--okam .product-size__one { width: calc(100% - 48px); max-width: 300px; }
  .single--okam .product-size__two { width: 100%; max-width: 320px; }
  .single--okam .product-size__height {
    width: 224px; max-width: none; height: auto; right: auto; left: calc(100% + 42px);
    bottom: 0; transform: rotate(-90deg);
  }
  .single--okam .product-size__width { width: 100%; }
}
