/* Here and Now V5.40 — service cards in horizontal (normal) carousel.
   Match the approved mosaic layout without modifying it.
   Other cards, tablet/mobile, content and interactions stay untouched. */
@media (min-width: 1051px) {
  .gallery-viewport:not(.is-grid) .photo.service-card .photo-open h2 {
    left: 34px;
    right: 74px;
    bottom: 34px;
    font-size: clamp(39px, 5vw, 76px);
    line-height: 1.06;
    letter-spacing: -.045em;
    text-wrap: balance;
    overflow-wrap: break-word;
  }
  .gallery-viewport:not(.is-grid) .photo.service-card .service-cover-rate {
    position: absolute;
    display: block;
    left: auto;
    right: 22px;
    top: 20px;
    bottom: auto;
    width: max-content;
    max-width: min(44%, 276px);
    margin: 0;
    padding: 10px 13px;
    border: 1px solid rgba(255,255,255,.48);
    border-radius: 15px;
    background: rgba(15,45,32,.88);
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
    color: #fff;
    font-size: clamp(15px, 1.1vw, 18px);
    font-weight: 700;
    line-height: 1.15;
    text-align: right;
    text-shadow: 0 2px 6px rgba(0,0,0,.25);
    white-space: normal;
    overflow-wrap: anywhere;
    box-sizing: border-box;
    z-index: 2;
  }
  .gallery-viewport:not(.is-grid) .photo.service-card .service-cover-rate small {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    font-weight: 450;
    line-height: 1.33;
    letter-spacing: .005em;
    color: #f3f7f1;
    text-align: right;
    overflow-wrap: anywhere;
  }
  .gallery-viewport:not(.is-grid) .photo.service-card > .round.save {
    position: absolute;
    top: 126px;
    right: 23px;
    width: 46px;
    height: 46px;
    z-index: 8;
  }
  .gallery-viewport:not(.is-grid) .photo.service-card > .cart-card-add {
    position: absolute;
    top: 188px;
    right: 23px;
    width: 46px;
    height: 46px;
    z-index: 8;
  }
  .gallery-viewport:not(.is-grid) .photo.service-card .photo-arrow {
    right: 26px;
    bottom: 30px;
    width: 43px;
    height: 43px;
  }
}
@media (min-width: 1051px) and (max-width: 1300px) {
  .gallery-viewport:not(.is-grid) .photo.service-card .service-cover-rate {
    max-width: min(45%, 235px);
    padding: 8px 10px;
    font-size: 15px;
    border-radius: 13px;
  }
  .gallery-viewport:not(.is-grid) .photo.service-card .service-cover-rate small {
    font-size: 10px;
    line-height: 1.27;
  }
  .gallery-viewport:not(.is-grid) .photo.service-card > .round.save {
    top: 120px;
  }
  .gallery-viewport:not(.is-grid) .photo.service-card > .cart-card-add {
    top: 179px;
  }
}
