/* Design polish layer: interaction details for the shared GOCheap theme. */
:root {
  --go-polish-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --go-polish-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --go-polish-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --go-polish-ring: rgba(71, 17, 141, 0.28);
}

a[href],
button,
input[type="button"],
input[type="submit"],
[role="button"] {
  -webkit-tap-highlight-color: rgba(254, 190, 0, 0.22);
}

button,
input[type="button"],
input[type="submit"],
.btn,
.go-btn,
.btn_book,
.btn-orange,
.btn-link-orange,
.b2b-btn,
.tc-btn,
.lx-btn-gold,
.lx-btn-outline,
.news .btn-readmore,
a[style*="background:"] {
  transition-property: background-color, border-color, color, box-shadow, opacity, transform;
  transition-duration: 160ms;
  transition-timing-function: var(--go-polish-ease-out);
}

button,
input[type="button"],
input[type="submit"],
.btn,
.go-btn,
.btn_book,
.btn-orange,
.btn-link-orange,
.b2b-btn,
.tc-btn,
.lx-btn-gold,
.lx-btn-outline,
.news .btn-readmore,
a[style*="background:"] {
  min-height: 44px;
}

button:active,
input[type="button"]:active,
input[type="submit"]:active,
.btn:active,
.go-btn:active,
.btn_book:active,
.btn-orange:active,
.btn-link-orange:active,
.b2b-btn:active,
.tc-btn:active,
.lx-btn-gold:active,
.lx-btn-outline:active,
.news .btn-readmore:active,
a[style*="background:"]:active {
  transform: scale(0.97);
}

a[href]:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid var(--go-polish-ring);
  outline-offset: 3px;
}

#mobile-menu,
.header--content .nav-list {
  transition-property: transform, left, opacity;
  transition-duration: 280ms;
  transition-timing-function: var(--go-polish-drawer);
}

.info-taxi .contain--card__content {
  transition-property: transform, opacity;
  transition-duration: 220ms;
  transition-timing-function: var(--go-polish-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .go-btn:hover,
  .btn-orange:hover,
  .btn-link-orange:hover,
  .b2b-btn:hover,
  .tc-btn:hover,
  .lx-btn-gold:hover,
  .lx-btn-outline:hover,
  .news .btn-readmore:hover,
  a[style*="background:"]:hover {
    transform: translateY(-1px);
  }

  .bg-section:hover,
  .dx-price-card:hover,
  .lx-car-card:hover,
  .lx-svc-card:hover,
  .b2b-card:hover,
  .tc-card:hover,
  .gc-blog article:hover {
    transition-property: border-color, box-shadow, transform;
    transition-duration: 200ms;
    transition-timing-function: var(--go-polish-ease-out);
  }
}

@media (hover: none), (pointer: coarse) {
  .go-btn:hover,
  .btn:hover,
  .btn-orange:hover,
  .btn-link-orange:hover,
  .b2b-btn:hover,
  .tc-btn:hover,
  .lx-btn-gold:hover,
  .lx-btn-outline:hover,
  .news .btn-readmore:hover,
  a[style*="background:"]:hover {
    transform: none;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dx-float,
  .dx-fade,
  .dx-fade-d1,
  .dx-fade-d2,
  .dx-fade-d3,
  .dx-wheel-inner,
  .dx-draw-line,
  .dx-gold-pulse,
  .lx-hero-badge span,
  .fa-beat,
  .fa-beat-fade,
  .fa-bounce,
  .fa-fade,
  .fa-flip,
  .fa-pulse,
  .fa-shake,
  .fa-spin,
  .fa-spin-pulse {
    animation: none !important;
  }

  button:active,
  input[type="button"]:active,
  input[type="submit"]:active,
  .btn:active,
  .go-btn:active,
  .btn_book:active,
  .btn-orange:active,
  .btn-link-orange:active,
  .b2b-btn:active,
  .tc-btn:active,
  .lx-btn-gold:active,
  .lx-btn-outline:active,
  .news .btn-readmore:active,
  a[style*="background:"]:active {
    transform: none !important;
  }
}
