/* PRICEHACK_UNIFIED_CARD_CLICK_V1 */

/* Works for promo codes, review points and combo cards. */
.offer-card[data-offer-card-id] {
  position: relative;
}

.offer-card[data-offer-card-id]
> .ph-yandex-card-detail-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  border-radius: inherit;
}

.offer-card[data-offer-card-id]
> .ph-yandex-card-detail-overlay:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: -3px;
}

/* Interactive elements stay above the full-card link. */
.offer-card[data-offer-card-id]
:is(
  a:not(.ph-yandex-card-detail-overlay),
  button,
  input,
  select,
  textarea,
  [role="button"],
  [data-copy-promo],
  [data-go]
) {
  position: relative;
  z-index: 3;
}



/* PRICEHACK_UNIFIED_LIKES_V1 */

.ph-like-rating {
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:flex-start!important;
  position:relative!important;
  z-index:12!important;
  width:auto!important;
  min-width:0!important;
  height:34px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}

.ph-like-rating .ph-like-button {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  height:34px!important;
  min-width:60px!important;
  width:auto!important;
  margin:0!important;
  padding:0 9px!important;
  border:1px solid #e1e4e9!important;
  border-radius:9px!important;
  background:#fff!important;
  box-shadow:none!important;
  color:#3b4757!important;
  font-size:13px!important;
  font-weight:800!important;
  cursor:pointer!important;
  position:relative!important;
  z-index:13!important;
  pointer-events:auto!important;
}

.ph-like-rating .ph-like-button.active {
  color:#1565c0!important;
  border-color:#a6caf5!important;
  background:#eff6ff!important;
}

.ph-like-rating .ph-like-icon {
  font-size:17px!important;
  line-height:1!important;
}

.ph-like-rating .ph-like-count {
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  font-variant-numeric:tabular-nums!important;
}

.ph-like-rating .ph-like-button:hover {
  border-color:#94b6e0!important;
}

/* Ensure the card overlay never intercepts the like button. */
.ph-cpa-product-click .ph-like-rating,
.ph-cpa-detail-card .ph-like-rating,
.offer-card[data-offer-card-id] .ph-like-rating {
  position:relative!important;
  z-index:15!important;
}



/* PRICEHACK_STICKY_FOOTER_V1 */

html {
    min-height: 100%;
}

body {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
}

body > main {
    flex: 1 0 auto !important;
}

body > .site-footer {
    flex: 0 0 auto !important;
}

