/* IPTV Charleroi v1.3.64 — Boutique offer action buttons fix
   Scope: offer cards in /boutique/ and all grids using .ipch-offer-actions.
   Fixes: wrapped/cropped "Voir la fiche produit" button and invisible white ghost CTA. */

.ipch-offer-card .ipch-offer-actions {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: auto !important;
  padding-top: 16px;
}

.ipch-offer-card .ipch-offer-actions .btn {
  width: 100%;
  min-height: 46px;
  height: auto;
  margin-top: 0 !important;
  padding: 10px 14px;
  border-radius: 13px;
  line-height: 1.12;
  font-size: clamp(11px, .76vw, 13px);
  font-weight: 900;
  letter-spacing: -.01em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ipch-offer-card .ipch-offer-actions .btn i {
  width: 1em;
  min-width: 1em;
  margin-right: 2px;
}

.ipch-offer-card .ipch-offer-actions .btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, #f31722 0%, #d70510 64%, #b8000a 100%) !important;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 30px rgba(229,9,20,.24), inset 0 1px 0 rgba(255,255,255,.16);
}

.ipch-offer-card .ipch-offer-actions .btn-ghost {
  color: #111827 !important;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%) !important;
  border: 1px solid rgba(15,23,42,.12) !important;
  box-shadow: 0 10px 22px rgba(15,23,42,.055) !important;
}

.ipch-offer-card .ipch-offer-actions .btn-ghost i {
  color: #e50914 !important;
}

.ipch-offer-card .ipch-offer-actions .btn:hover,
.ipch-offer-card .ipch-offer-actions .btn:focus-visible {
  transform: translateY(-1px);
}

.ipch-offer-card .ipch-check-list {
  margin-bottom: 0;
}

.ipch-offers-grid--premium .ipch-offer-card,
.ipch-offer-card--premium {
  overflow: visible;
}

@media (max-width: 1380px) {
  .ipch-offer-card .ipch-offer-actions .btn {
    font-size: 12px;
  }
}

@media (max-width: 760px) {
  .ipch-offer-card .ipch-offer-actions {
    gap: 8px;
    padding-top: 14px;
  }

  .ipch-offer-card .ipch-offer-actions .btn {
    min-height: 48px;
    font-size: 13px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}
