.hero--yap {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  .hero--yap .gallery-hero {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    overflow: hidden !important;
  }
  .hero--yap .main-hero--yap {
    min-height: auto !important;
    height: auto !important;
    padding-bottom: 1.75rem !important;
    background-color: rgba(15, 23, 42, 0.54) !important;
  }
  .hero--yap .main-hero__container {
    padding-top: 6.75rem !important;
    padding-bottom: 0 !important;
  }
  .hero--yap .head-hero {
    margin-bottom: 0.85rem !important;
  }
  .hero--yap .head-hero__title {
    font-size: clamp(1.75rem, 3vw, 2.75rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 0.35rem !important;
  }
  .hero--yap .head-hero__label {
    font-size: clamp(0.95rem, 1.3vw, 1.125rem) !important;
    max-width: 780px;
    margin: 0 auto;
  }
  .hero--yap .advantages-hero {
    margin-bottom: 0.85rem !important;
    gap: 10px !important;
  }
  .hero__yap-wrap {
    position: relative;
    z-index: 1000;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    scroll-margin-top: 110px;
    box-sizing: border-box;
  }
  .item-numbers__yap-box {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .item-numbers__price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
  }
  .item-numbers__btn-ya {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 14px;
    background: #ffcc00;
    color: #111827 !important;
    font-weight: 700;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(255, 204, 0, 0.32);
    transition: background 0.2s ease, transform 0.15s ease;
    box-sizing: border-box;
    text-align: center;
  }
  .item-numbers__btn-ya:hover {
    background: #f5c000;
    transform: translateY(-1px);
  }
  .item-numbers__sub-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
  }
  .item-numbers__btn-details {
    color: #0b7a6a !important;
    font-weight: 600;
    text-decoration: none !important;
  }
  .item-numbers__btn-details:hover {
    text-decoration: underline !important;
  }
  .item-numbers__btn-lead {
    color: #64748b !important;
    font-size: 12.5px;
    text-decoration: underline !important;
    text-underline-offset: 2px;
  }
  @media (max-width: 991px) {
    .hero--yap .main-hero--yap {
      min-height: auto !important;
      height: auto !important;
      padding-bottom: 1.5rem !important;
    }
    .hero--yap .main-hero__container {
      padding-top: 5.75rem !important;
      padding-left: 12px !important;
      padding-right: 12px !important;
      box-sizing: border-box !important;
    }
    .hero--yap .head-hero {
      margin-bottom: 0.9rem !important;
    }
    .hero--yap .head-hero__title {
      font-size: 1.65rem !important;
    }
    .hero--yap .head-hero__label {
      font-size: 0.88rem !important;
    }
  }

  .hero {
    position: relative !important;
    overflow: hidden !important;
  }
  .gallery-hero {
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
  }
  /* Position arrows at top right on desktop, matching template styles */
  @media (min-width: 768px) {
    .reviews__slider .splide__arrows {
      position: absolute !important;
      right: 1.25rem !important;
      top: 0 !important;
      display: flex !important;
      gap: 10px !important;
    }
    .reviews__slider .splide__arrow {
      position: relative !important;
      top: auto !important;
      left: auto !important;
      right: auto !important;
      transform: none !important;
    }
  }

  /* Centered navigation on mobile, avoiding overlap with "Read all reviews" button */
  @media (max-width: 767.98px) {
    .reviews__slider .splide__arrows {
      display: flex !important;
      justify-content: center !important;
      margin-top: 1.25rem !important;
      gap: 15px !important;
    }
    .reviews__slider .splide__arrow {
      position: relative !important;
      top: auto !important;
      left: auto !important;
      right: auto !important;
      transform: none !important;
      width: 2.75rem !important;
      height: 2.75rem !important;
    }
    .reviews__footer {
      margin-top: 1.25rem !important;
      text-align: center !important;
    }
  }

  /* Complex blocks adjustments: hide before hover on desktop, show by default on mobile */
  .item-complex__onhover {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
  }

  @media (min-width: 992px) {
    .item-complex__translate {
      transform: translateY(100%) !important;
      opacity: 0 !important;
      transition: transform 0.3s ease, opacity 0.3s ease !important;
    }
    .item-complex:hover .item-complex__translate {
      transform: translateY(0) !important;
      opacity: 1 !important;
    }
  }

  @media (max-width: 991px) {
    .item-complex__translate {
      transform: none !important;
      opacity: 1 !important;
      padding: 1.5rem 0.9375rem !important;
    }
    .item-complex__onhover {
      background: rgba(0, 0, 0, 0.7) !important;
    }
  }