/**
 * Mobile / touch: no :hover visuals (sticky tap-hover is not real hover).
 * Desktop (≥769px) unchanged. effectTrigger=always styles stay active.
 */
@media (max-width: 768px) {
  /* --- Template card whole-card hover --- */
  .ct-card.ct-card--hover-lift:hover {
    transform: rotate(var(--card-rotate-deg, 0deg)) !important;
    box-shadow: none !important;
    z-index: 1 !important;
  }

  .reviews-strip .reviews-strip__item--template:has(> .ct-card.ct-card--hover-lift:hover) {
    z-index: auto !important;
  }

  /* Hover overflow chrome: no extra bleed when hover is off */
  .page-section__block:has(.ct-card--hover-overflow-outside) {
    --ct-template-hover-bleed: 0px;
    --ct-template-hover-pad: 0px;
  }

  .page-section__block:has(.ct-card--hover-overflow-outside) .page-block-scroll__viewport {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-left: var(--row-center-edge-pad, 0px) !important;
    padding-right: var(--row-center-edge-pad, 0px) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-section__block:has(.ct-card--hover-overflow-outside)
    .page-block-scroll.page-block-scroll--center-mode
    .page-block-scroll__viewport {
    --row-hover-side-bleed: 0px;
    padding-left: var(--row-center-edge-pad, 0px) !important;
    padding-right: var(--row-center-edge-pad, 0px) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* --- Template element hover (image zoom, effects, text) --- */
  .ct-el__image-shell--zoom.ct-el__image-shell--zoom-hover:hover {
    --ct-img-zoom-scale: 1 !important;
  }

  .ct-el.ct-el--effect-overflow-outside:hover,
  .ct-el--image.ct-el--image-overflow-outside:hover {
    z-index: var(--z, 1) !important;
  }

  .ct-el:hover .ct-el__text-hover.ct-el__text-hover-solid,
  .ct-el__btn:hover .ct-el__text-hover.ct-el__text-hover-solid {
    background-image: inherit !important;
    -webkit-background-clip: inherit !important;
    background-clip: inherit !important;
    -webkit-text-fill-color: inherit !important;
    color: inherit !important;
  }

  .ct-el:hover .ct-el__text-hover.ct-el__text-hover-gradient,
  .ct-el__btn:hover .ct-el__text-hover.ct-el__text-hover-gradient {
    background-image: inherit !important;
    -webkit-background-clip: inherit !important;
    background-clip: inherit !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
  }

  .ct-el:hover .ct-el__text-hover.ct-el__text-hover-underline,
  .ct-el:hover .ct-el__underline-hover,
  .ct-el__btn:hover .ct-el__text-hover.ct-el__text-hover-underline {
    text-decoration: inherit !important;
  }

  .ct-el__btn.ct-el--effect.ct-el--effect-hover.ct-el--effect-glow:hover,
  .ct-el--badge.ct-el--effect.ct-el--effect-hover.ct-el--effect-glow:hover {
    box-shadow: none !important;
  }

  .ct-el__btn.ct-el--effect.ct-el--effect-hover.ct-el--effect-fill:hover,
  .ct-el--badge.ct-el--effect.ct-el--effect-hover.ct-el--effect-fill:hover {
    filter: none !important;
  }

  .ct-el__btn.ct-el--effect.ct-el--effect-hover.ct-el--effect-fill:hover::after,
  .ct-el--badge.ct-el--effect.ct-el--effect-hover.ct-el--effect-fill:hover::after {
    opacity: 0 !important;
  }

  .ct-el__btn.ct-el--effect.ct-el--effect-hover.ct-el--effect-lift:hover,
  .ct-el--badge.ct-el--effect.ct-el--effect-hover.ct-el--effect-lift:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .ct-el__btn.ct-el--effect.ct-el--effect-hover.ct-el--effect-pulse:hover,
  .ct-el--badge.ct-el--effect.ct-el--effect-hover.ct-el--effect-pulse:hover {
    animation: none !important;
  }

  /* --- Legacy / theme blocks --- */
  .navbar__logo:hover {
    opacity: 1 !important;
  }

  .navbar__links a:hover {
    opacity: 1 !important;
    filter: none !important;
  }

  .navbar__social-link:hover {
    opacity: 1 !important;
  }

  .navbar__links > li > a::before {
    animation: none !important;
    opacity: 0 !important;
  }

  .navbar__links > li > a::after {
    inset: 0 !important;
  }

  .navbar__logo:hover,
  .navbar__logo:focus-visible {
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    color: var(--menu-text-color, #000000) !important;
    animation: none !important;
  }

  .navbar__social--pill .navbar__social-link:hover .navbar__social-icon--desktop,
  .navbar__social--pill .navbar__social-link:focus-visible .navbar__social-icon--desktop {
    opacity: 1 !important;
  }

  .navbar__social--pill .navbar__social-link[aria-label='Telegram']::after,
  .navbar__social--pill .navbar__social-link[aria-label='Telegram']:hover::after,
  .navbar__social--pill .navbar__social-link[aria-label='Telegram']:focus-visible::after,
  .navbar__social--pill .navbar__social-link[aria-label='ВКонтакте']::after,
  .navbar__social--pill .navbar__social-link[aria-label='ВКонтакте']:hover::after,
  .navbar__social--pill .navbar__social-link[aria-label='ВКонтакте']:focus-visible::after {
    opacity: 0 !important;
    animation: none !important;
  }

  .hero-arrow:hover,
  .hero-dot:hover:not(.hero-dot--active) {
    opacity: inherit !important;
    transform: none !important;
  }

  .btn:hover,
  .btn--blog:hover,
  .btn--outline:hover,
  .cb__hero-btn:hover,
  .cb__cta-btn:hover {
    opacity: 1 !important;
  }

  .utp-ribbon__inner:hover,
  .utp-pill:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .blog-card:hover,
  .blog-preview--in-footer .blog-grid--cards .blog-card:hover,
  .blog-preview--home .blog-card:hover {
    color: inherit !important;
    background: inherit !important;
    box-shadow: inherit !important;
  }

  .blog-grid--cards .blog-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    color: var(--color-text) !important;
  }

  .blog-page__card:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .faq-section__item:hover,
  .figma-footer__faq-item:hover {
    box-shadow: none !important;
  }

  .catalog__tab-cat:hover,
  .catalog__tab:hover {
    color: inherit !important;
    background: inherit !important;
  }

  .product-card:hover .product-card__image img {
    transform: none !important;
    z-index: auto !important;
  }

  .product-card__actions .btn:first-child:hover,
  .product-card__actions .btn:last-child:hover,
  .product-card__actions .btn:first-child:hover::before,
  .product-card__actions .btn:last-child:hover::before {
    opacity: inherit !important;
    transform: none !important;
  }

  .product-card__title a:hover,
  .breadcrumbs a:hover,
  .breadcrumbs__link:hover,
  .contacts-page__link:hover {
    color: inherit !important;
    text-decoration: inherit !important;
  }

  .figma-footer__contact:hover,
  .figma-footer__social-link:hover,
  .figma-footer__market-btn:hover,
  .figma-footer__market-btn--wb:hover,
  .figma-footer__market-btn--ozon:hover,
  .contacts-page__marketplace-btn:hover,
  .contacts-page__marketplace-btn--wb:hover,
  .contacts-page__marketplace-btn--ozon:hover,
  .contacts-page__social-link:hover {
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
  }

  .pd__main-img:hover img {
    transform: none !important;
  }

  .pd__thumb:hover,
  .pd__buy-btn:hover,
  .pd-tabs__btn:hover,
  .pd__marketplace-btns .btn:first-child:hover,
  .pd__marketplace-btns .btn:last-child:hover {
    transform: none !important;
    opacity: 1 !important;
    color: inherit !important;
  }

  .pagination__link:hover,
  .back-to-top:hover {
    background: inherit !important;
    color: inherit !important;
    transform: none !important;
  }

  .page-block-scroll__btn:hover,
  .page-block-scroll--overlay-buttons .page-block-scroll__btn--templated:hover,
  .page-block-scroll--overlay-buttons .page-block-scroll__btn--templated.page-block-scroll__btn--prev:hover {
    opacity: inherit !important;
    transform: none !important;
  }
}
