/* По умолчанию уведомление скрыто */
.orientation-notice {
  display: none;
}

/* Только для мобильных устройств в горизонтальной ориентации */
@media screen and (orientation: landscape) and (max-width: 991px) {

  html, body {
    overflow: hidden !important;
    height: 100% !important;
  }

  /* Скрываем все блоки сайта, кроме T123 (где уведомление) */
  .t-record:not(.t123) {
    display: none !important;
  }

  /* Показываем уведомление при landscape */
  .orientation-notice {
    display: flex !important;
    position: fixed;
    inset: 0;
    background: #fff;
    color: #000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    font-size: 18px;
    z-index: 9999;
  }
}

/* OC_MOBILE_STORE_CARDS_V2_START */
@media screen and (max-width: 640px) {
  html body #allrecords [id^="rec"] .t-store__card-list {
    row-gap: 18px !important;
  }
  html body .t-store__card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    height: auto !important;
    margin-bottom: 0 !important;
  }
  html body .t-store__card .t-store__card__imgwrapper {
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    padding-bottom: 0 !important;
    margin-bottom: 8px !important;
  }
  html body .t-store__card .t-store__card__wrap_txt-and-btns,
  html body .t-store__card .store__card__wrap_txt-and-opts,
  html body .t-store__card .store__card__wrap_txt-and-opts > a,
  html body .t-store__card .t-store__card__textwrapper {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    height: auto !important;
  }
  html body .t-store__card .t-store__card__title {
    display: -webkit-box !important;
    min-height: 2.5em !important;
    margin: 0 0 5px !important;
    overflow: hidden !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }
  html body .t-store__card .t-store__card__descr.oc-card-preview {
    display: block !important;
    min-height: 1.4em !important;
    margin: 0 0 3px !important;
    overflow: hidden !important;
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }
  html body .t-store__card .oc-card-preview__facts {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 1 !important;
  }
  html body .t-store__card .oc-card-preview__scent {
    display: none !important;
  }
  html body .t-store__card .t-store__card__price-wrapper {
    min-height: 18px !important;
    margin: 3px 0 6px !important;
  }
  html body .t-store__card .t-store__card__price-item {
    font-size: 13.5px !important;
    line-height: 1.2 !important;
  }
  html body .t-store__card .t-store__card__btns-wrapper {
    flex: 0 0 auto !important;
    margin-top: 0 !important;
  }
  html body .t-store__card .t-store__card__btns-wrapper--quantity {
    display: block !important;
  }
  html body .t-store__card .t-store__card__btns-wrapper--quantity .t-store__prod__quantity {
    display: none !important;
  }
  html body .t-store__card .t-store__card__btn {
    width: 100% !important;
    min-width: 0 !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 6px !important;
    border-radius: 7px !important;
    font-size: 11.5px !important;
    line-height: 1.1 !important;
  }
  html body .t-store__card .t-store__card__btn_second {
    display: none !important;
  }
  html body .t-store__card .t-store__card__btn-text {
    white-space: normal !important;
    text-align: center !important;
  }
  html body .tmenu-mobile__menucontent_fixed {
    top: 64px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: calc(100dvh - 64px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
    padding-bottom: calc(24px + env(safe-area-inset-bottom)) !important;
  }
}
/* OC_MOBILE_STORE_CARDS_V2_END */

/* OC_NEUTRAL_LIGHT_PALETTE_V1_START */
:root{--oc-page:#f7f7f6;--oc-surface:#ffffff;--oc-surface-muted:#f0f0ee;--oc-text:#1f1f1f;--oc-muted:#686868;--oc-border:#ddddda;--oc-action:#24262f}
html,body,.t-body,#allrecords{background-color:var(--oc-page)}
/* OC_NEUTRAL_LIGHT_PALETTE_V1_END */
