input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
input[type=number] {
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}
a.btn[href="#/bouquets"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
}
a.btn[href="#/bouquets"] svg {
  display: none !important;
}
a.btn[href="#/bouquets"],
a.btn[href="#/faq"],
button.btn[data-action="pricelist"],
button.btn[data-action="product-to-bouquet"],
a.chip[href="#/bouquets"] {
  background: #C0D6EE !important;
  color: #770523 !important;
  border: 1.5px solid #C0D6EE !important;
  cursor: pointer !important;
}
a.btn[href="#/bouquets"]:hover,
a.btn[href="#/bouquets"]:active,
a.btn[href="#/bouquets"].is-pressed,
a.btn[href="#/faq"]:hover,
a.btn[href="#/faq"]:active,
a.btn[href="#/faq"].is-pressed,
button.btn[data-action="pricelist"]:hover,
button.btn[data-action="pricelist"]:active,
button.btn[data-action="pricelist"].is-pressed,
button.btn[data-action="product-to-bouquet"]:hover,
button.btn[data-action="product-to-bouquet"]:active,
button.btn[data-action="product-to-bouquet"].is-pressed,
a.chip[href="#/bouquets"]:hover,
a.chip[href="#/bouquets"]:active,
a.chip[href="#/bouquets"].is-pressed {
  background: #770523 !important;
  color: #FFFFFF !important;
  border: 1.5px solid #FFFFFF !important;
}
.btn.btn--primary[href="#/catalog"]:hover,
.btn.btn--primary[href="#/catalog"]:active,
.btn.btn--primary[href="#/catalog"].is-pressed,
a.btn[href="#/catalog"]:hover,
a.btn[href="#/catalog"]:active,
a.btn[href="#/catalog"].is-pressed {
  background: #C0D6EE !important;
  background-image: none !important;
  color: #770523 !important;
  border: 1.5px solid #770523 !important;
}
.btn.btn--primary[data-pick-bouquet],
.btn.btn--primary[data-build-catalog] {
  background: #770523 !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border: 1.5px solid #770523 !important;
}
.btn.btn--primary[data-pick-bouquet]:hover,
.btn.btn--primary[data-pick-bouquet]:active,
.btn.btn--primary[data-pick-bouquet].is-pressed,
.btn.btn--primary[data-build-catalog]:hover,
.btn.btn--primary[data-build-catalog]:active,
.btn.btn--primary[data-build-catalog].is-pressed {
  background: #C0D6EE !important;
  color: #770523 !important;
  border: 1.5px solid #770523 !important;
}
@media (min-width: 769px) {
  .promo {
    max-width: 840px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 286px 1fr !important;
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
    align-items: stretch !important;
    overflow: hidden !important;
  }
  .promo__media {
    width: 286px !important;
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .promo__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
  }
  .promo__body {
    padding: 28px 36px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
  }
  .promo__body .eyebrow,
  .promo__body h2,
  .promo__body p,
  .promo__prices,
  .promo__actions {
    text-align: left !important;
    margin-left: 0 !important;
    justify-content: flex-start !important;
  }
}
@media (max-width: 768px) {
  #header {
    position: sticky !important;
    top: 0 !important;
    z-index: 960 !important;
    background: #FAF8EB !important;
    border-bottom: 1px solid rgba(119, 5, 35, .1) !important;
    padding: 8px 0 6px !important;
  }
  #header .header__inner {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  #header .main-nav {
    display: flex !important;
    order: 3 !important;
    width: 100% !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    gap: 8px !important;
    padding: 4px 0 2px !important;
    scrollbar-width: none !important;
  }
  #header .main-nav::-webkit-scrollbar {
    display: none !important;
  }
  #header .main-nav a {
    display: inline-flex !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    background: rgba(119, 5, 35, .06) !important;
    color: #770523 !important;
    font-size: .82rem !important;
    font-weight: 600 !important;
  }
  #header .main-nav a.active {
    background: #770523 !important;
    color: #FAF8EB !important;
  }
  #bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 960 !important;
    display: block !important;
    background: #FAF8EB !important;
    border-top: 1px solid rgba(119, 5, 35, .12) !important;
  }
  body {
    padding-bottom: 76px !important;
  }
  #footer,
  #footer .footer,
  #footer .footer__grid {
    background: #770523 !important;
    color: #FAF8EB !important;
  }
  #footer {
    display: block !important;
    padding: 28px 16px 96px !important;
    margin-top: 28px !important;
    height: auto !important;
    overflow: visible !important;
  }
  #footer .footer__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  #footer .footer__links {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  #footer a,
  #footer p,
  #footer span,
  #footer small,
  #footer h4,
  #footer .brand__name {
    color: #FAF8EB !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  #footer .brand__mark,
  #footer .brand__mark * {
    background: #FAF8EB !important;
    color: #770523 !important;
  }
}
#mt-mobile-top { display: none; }
@media (max-width: 768px) {
  .promo {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    max-height: none !important;
    width: 100% !important;
  }
  .promo__media {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 2/3 !important;
    background: #770523 !important;
  }
  .promo__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
  }
  .promo__body {
    padding: 22px 18px 26px !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .catalog-grid,
  [data-pd-related] .catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
  }
  .catalog-grid .product-card,
  [data-pd-related] .product-card {
    border-radius: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    height: auto !important;
  }
  .catalog-grid .product-card__media,
  [data-pd-related] .product-card__media {
    padding: 10px 10px 4px !important;
  }
  .catalog-grid .product-card__media img,
  [data-pd-related] .product-card__media img {
    border-radius: 14px !important;
    clip-path: inset(0 round 14px) !important;
    aspect-ratio: 4/5 !important;
  }
  .catalog-grid .product-card__body,
  [data-pd-related] .product-card__body {
    padding: 6px 10px 10px !important;
    gap: 4px !important;
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    flex: 1 1 auto !important;
  }
  .catalog-grid .product-card__name,
  [data-pd-related] .product-card__name {
    font-size: .95rem !important;
    line-height: 1.15 !important;
  }
  .catalog-grid .product-card__meta,
  [data-pd-related] .product-card__meta {
    font-size: .74rem !important;
  }
  .catalog-grid .product-card__price,
  [data-pd-related] .product-card__price {
    min-height: 36px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    gap: 1px !important;
    white-space: normal !important;
    margin-bottom: 8px !important;
  }
  .catalog-grid .card-stepper,
  .catalog-grid button[data-action="add-pack"],
  [data-pd-related] .card-stepper,
  [data-pd-related] button[data-action="add-pack"] {
    margin-top: auto !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
  }
  .catalog-grid .card-stepper button,
  [data-pd-related] .card-stepper button {
    width: 26px !important;
    height: 26px !important;
  }
  .catalog-grid .product-card__more,
  [data-pd-related] .product-card__more {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    margin-top: 6px !important;
    font-size: .8rem !important;
    flex-shrink: 0 !important;
  }
  .pd__media {
    max-width: 260px !important;
    margin: 0 auto !important;
    padding: 14px !important;
  }
  #assistant-root {
    display: none !important;
  }
  #bouquet-bar {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 76px !important;
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    z-index: 955 !important;
  }
  #bouquet-bar [data-action="bouquet-add"] {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #770523 !important;
    color: #FFF !important;
    flex-shrink: 0 !important;
  }
  #bouquet-bar [data-action="bouquet-add"] svg {
    display: block !important;
    stroke: #FFF !important;
  }
  #mt-mobile-top {
    position: fixed !important;
    bottom: 142px !important;
    right: 16px !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    border: 1.5px solid #770523 !important;
    background: rgba(250, 248, 235, .96) !important;
    color: #770523 !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 965 !important;
  }
  #mt-inline-back {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 8px 0 12px !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    border: 1.5px solid #770523 !important;
    background: #FAF8EB !important;
    color: #770523 !important;
    font-size: .82rem !important;
    font-weight: 700 !important;
  }
  .mobile-h-bouquets,
  .mobile-h-gallery {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: 235px !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    padding: 4px 4px 12px !important;
    scrollbar-width: none !important;
  }
  .mobile-h-bouquets::-webkit-scrollbar,
  .mobile-h-gallery::-webkit-scrollbar {
    display: none !important;
  }
  .mobile-h-bouquets img,
  .mobile-h-gallery img {
    width: 100% !important;
    height: 205px !important;
    max-height: 205px !important;
    object-fit: cover !important;
    border-radius: 18px !important;
  }
  .mobile-rail-wrap {
    position: relative !important;
  }
  .mobile-rail-arrow {
    position: absolute !important;
    top: 96px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: 1.5px solid #770523 !important;
    background: rgba(250, 248, 235, .96) !important;
    color: #770523 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 25 !important;
    padding: 0 !important;
  }
  .mobile-rail-arrow--prev { left: 8px !important; }
  .mobile-rail-arrow--next { right: 8px !important; }
  #mt-gallery-lb {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(24, 12, 16, .94) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
  }
  #mt-gallery-lb .mt-lb-img {
    max-width: 100% !important;
    max-height: 82vh !important;
    border-radius: 16px !important;
    object-fit: contain !important;
  }
  #mt-gallery-lb .mt-lb-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: none !important;
    background: #FAF8EB !important;
    color: #770523 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
  }
  #mt-gallery-lb .mt-lb-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    border: none !important;
    background: rgba(250, 248, 235, .92) !important;
    color: #770523 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  #mt-gallery-lb .mt-lb-prev { left: 12px !important; }
  #mt-gallery-lb .mt-lb-next { right: 12px !important; }
  #mt-gallery-lb .mt-lb-count {
    position: absolute !important;
    bottom: 20px !important;
    color: #FAF8EB !important;
    font-size: .9rem !important;
    font-weight: 600 !important;
  }
}
@media (max-width: 768px) {
  .mobile-h-bouquets > * > div:first-child,
  .mobile-h-bouquets [class*="media"],
  .mobile-h-bouquets [class*="img"],
  .mobile-h-bouquets figure {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    margin-bottom: 8px !important;
  }
}

/* === CARD CLEAN TEXT & ALIGNMENT === */
.product-card__badges,
.product-card__soldout {
  display: none !important;
}
.product-card__top {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
}
.product-card__bottom {
  margin-top: 14px !important;
}
.product-card__price {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  min-height: auto !important;
  margin-bottom: 4px !important;
}


/* === CARD EQUAL MEDIA MARGINS & TIGHTER PRICE GAP === */
.product-card__media,
.catalog-grid .product-card__media,
[data-pd-related] .product-card__media {
  padding: 10px 10px 6px !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  box-sizing: border-box !important;
}
.product-card__media img,
.product-card__img,
.catalog-grid .product-card__media img,
[data-pd-related] .product-card__media img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 4 / 5 !important;
  padding: 0 !important;
  margin: 0 !important;
  object-fit: cover !important;
  border-radius: 14px !important;
  clip-path: none !important;
  display: block !important;
}
.product-card__body,
.catalog-grid .product-card__body,
[data-pd-related] .product-card__body {
  padding: 4px 10px 10px !important;
  gap: 3px !important;
}
.product-card__meta,
.catalog-grid .product-card__meta,
[data-pd-related] .product-card__meta {
  margin-top: 3px !important;
  margin-bottom: 0 !important;
}
.product-card__bottom {
  margin-top: 4px !important;
  padding-top: 0 !important;
  gap: 6px !important;
}
.product-card__price,
.catalog-grid .product-card__price,
[data-pd-related] .product-card__price {
  margin-top: 0 !important;
  margin-bottom: 2px !important;
  min-height: auto !important;
}

/* === LOCKED_CARD_STYLE_END: DO NOT MODIFY CARD GEOMETRY & MARGINS === */

/* === PRODUCT DETAIL SPLIT TOP LAYOUT === */
.pd.pd--split-top { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 18px !important; }
.pd--split-top .pd__top-row { display: grid !important; grid-template-columns: minmax(145px, 240px) 1fr !important; align-items: start !important; gap: 18px !important; width: 100% !important; }
.pd--split-top .pd__media { width: 100% !important; max-width: 240px !important; margin: 0 !important; aspect-ratio: 4 / 5 !important; }
.pd--split-top .pd__header-info { display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: flex-start !important; text-align: left !important; padding: 0 !important; margin: 0 !important; }
.pd--split-top .pd__header-info .eyebrow { margin: 0 0 6px 0 !important; }
.pd--split-top .pd__header-info .pd__title { margin: 0 !important; font-size: clamp(26px, 5vw, 44px) !important; line-height: 1.05 !important; }
.pd--split-top .pd__header-info .pd__ru { margin-top: 4px !important; }
.pd--split-top .pd__header-info .pd__desc { margin: 10px 0 0 0 !important; max-width: 100% !important; }
.pd--split-top .pd__body--below { width: 100% !important; padding-top: 0 !important; display: flex !important; flex-direction: column !important; align-items: flex-start !important; }
.pd--split-top .pd__body--below > .buy-box, .pd--split-top .pd__body--below > .pd__notice, .pd--split-top .pd__body--below > .pd__accordion { width: 100% !important; }
@media (max-width: 600px) { .pd--split-top .pd__top-row { grid-template-columns: 145px 1fr !important; gap: 14px !important; } .pd--split-top .pd__header-info .pd__title { font-size: 26px !important; } .pd--split-top .pd__header-info .pd__desc { font-size: 12.5px !important; line-height: 1.45 !important; } }

/* === STEPS HOW TO ORDER COMPACT MOBILE ALIGNMENT === */
@media (max-width: 600px) {
  .steps {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .step {
    display: grid !important;
    grid-template-columns: 40px 1fr !important;
    column-gap: 12px !important;
    row-gap: 3px !important;
    align-items: start !important;
    padding: 13px 14px !important;
  }
  .step__icon {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
  }
  .step h3 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    padding-right: 28px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
  .step p {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: var(--muted) !important;
  }
  .step::before {
    font-size: 20px !important;
    top: 10px !important;
    right: 12px !important;
  }
}

/* === FIX BOUQUET BAR & CART NAVIGATION === */
#bouquet-bar.hidden { display: none !important; }

/* === BOUQUETS CATALOG 2x2 GRID ON MOBILE (TEST) === */
@media (max-width: 768px) {
  #bq-catalog-grid.bq-catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    overflow: visible !important;
    padding: 0 !important;
  }
  #bq-catalog-grid > article.card {
    border-radius: 18px !important;
    box-shadow: 0 4px 16px rgba(45, 15, 25, .06) !important;
    min-width: 0 !important;
  }
  #bq-catalog-grid > article.card > div:first-child {
    aspect-ratio: 4 / 4.6 !important;
  }
  #bq-catalog-grid > article.card > div:last-child {
    padding: 10px 10px 12px !important;
    gap: 5px !important;
  }
  #bq-catalog-grid h3 {
    font-size: 0.96rem !important;
    line-height: 1.2 !important;
  }
  #bq-catalog-grid p.small {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  #bq-catalog-grid > article.card > div:last-child > div:last-child {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding-top: 8px !important;
  }
  #bq-catalog-grid > article.card > div:last-child > div:last-child > div {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
  }
  #bq-catalog-grid [data-pick-bouquet] {
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    justify-content: center !important;
  }
}

/* === CART ITEM ROUNDED IMAGE STYLE === */
.cart-line__media {
  border-radius: 14px !important;
  overflow: hidden !important;
  padding: 0 !important;
}
.cart-line__media img {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  object-fit: cover !important;
  border-radius: 14px !important;
  display: block !important;
}

/* === FIX COLOR DOT IN PRODUCT CARD META === */
.product-card__meta {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}
.product-card__meta .chip__dot {
  display: inline-block !important;
  flex: 0 0 8px !important;
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  min-height: 8px !important;
  border-radius: 50% !important;
  background-color: var(--c, #8a6d75) !important;
}

/* === GALLERY & EDITORIAL CAROUSEL ALIGNMENT, SWIPE & BODY LOCK === */
.editorial-grid,
.gallery-rail,
[data-editorial-track] {
  display: flex !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-x pan-y !important;
  gap: 14px !important;
  scrollbar-width: none !important;
}
.editorial-grid::-webkit-scrollbar,
.gallery-rail::-webkit-scrollbar,
[data-editorial-track]::-webkit-scrollbar {
  display: none !important;
}
.editorial-card,
.editorial-grid > article,
.editorial-grid > div,
.gallery-rail > * {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 5 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  padding: 0 !important;
  scroll-snap-align: start !important;
}
.editorial-card img,
.editorial-grid > article img,
.editorial-grid > div img,
.gallery-rail > * img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 20px !important;
  pointer-events: auto !important;
}
.editorial-card__body,
.editorial-card__caption {
  display: none !important;
}
.lightbox {
  overscroll-behavior: contain !important;
  touch-action: none !important;
}

/* === FIX MOBILE GALLERY CAROUSEL HEIGHT, SWIPE & LIGHTBOX LOCK === */
.mobile-h-gallery {
  display: flex !important;
  flex-direction: row !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-x pan-y !important;
  gap: 14px !important;
  height: auto !important;
  min-height: 0 !important;
  padding-bottom: 4px !important;
}
.mobile-h-gallery > a,
.mobile-h-gallery > div,
.mobile-h-gallery > figure {
  flex: 0 0 78% !important;
  width: 78% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 4 / 5 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  scroll-snap-align: start !important;
  display: block !important;
}
.mobile-h-gallery > a img,
.mobile-h-gallery > div img,
.mobile-h-gallery > figure img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 20px !important;
  pointer-events: auto !important;
  touch-action: pan-x pan-y !important;
}
#mt-gallery-lb {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000 !important;
  touch-action: none !important;
  overscroll-behavior: contain !important;
}


#footer,
#footer .footer,
#footer .footer__grid {
  background: #770523 !important;
  color: #FAF8EB !important;
}
#footer {
  display: block !important;
  padding: 36px 24px 96px !important;
  margin-top: 32px !important;
  height: auto !important;
  overflow: visible !important;
}
#footer .footer__links {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
#footer a,
#footer p,
#footer span,
#footer small,
#footer h4,
#footer .brand__name {
  color: #FAF8EB !important;
  opacity: 1 !important;
  visibility: visible !important;
}
#footer .brand__mark,
#footer .brand__mark * {
  background: #FAF8EB !important;
  color: #770523 !important;
}

/* === Телефон: одинаковые отступы 12px в шапке и над первым блоком главной === */
@media (max-width: 768px) {
  /* Скрытая лента разделов занимала третью строку и добавляла пустоту под кнопками */
  html body #header .header__inner > nav.main-nav {
    display: none !important;
  }
  html body #view .hero {
    padding-top: 12px !important;
  }
  html body #view .hero .hero__content {
    padding-top: 0 !important;
  }
}
