/* Exclusive coupons page — ReviewDecode theme */

.rd-coupons-page {
  --cp-text: var(--sc-shell-text, #0f172a);
  --cp-muted: var(--sc-shell-muted, #64748b);
  --cp-line: var(--sc-shell-border, rgba(15, 23, 42, 0.1));
  --cp-brand: var(--brand, #1a73e8);
  padding: 1.5rem 0 4rem;
  color: var(--cp-text);
}

.rd-coupons-breadcrumb {
  margin-bottom: 1.25rem;
}

.rd-coupons-body {
  padding-top: 0;
}

.rd-coupons-head {
  margin-bottom: 1.5rem;
}

.rd-coupons-head__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  background: linear-gradient(135deg, var(--cp-text, #0f172a) 0%, var(--cp-brand, #1a73e8) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rd-coupons-head__sub {
  margin: 0;
  max-width: 40rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--cp-muted);
}

.rd-coupons-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 576px) {
  .rd-coupons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .rd-coupons-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 1200px) {
  .rd-coupons-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.rd-exc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.15rem 1.15rem 1.25rem;
  border: 1px solid var(--cp-line);
  border-radius: 12px;
  background: #fff;
  color: var(--cp-text);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.rd-exc-card:hover {
  border-color: color-mix(in oklab, var(--cp-brand) 35%, #fff);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px color-mix(in oklab, var(--cp-brand) 14%, transparent);
  color: var(--cp-text);
}

.rd-exc-card__badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--cp-brand) 12%, #fff);
  color: var(--cp-brand);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.rd-exc-card__exclusive {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rd-exc-card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  text-align: center;
}

.rd-exc-card__logo {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--cp-line);
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
}

.rd-exc-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
}

.rd-exc-card__logo-letter {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cp-brand);
}

.rd-exc-card__brand {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
}

.rd-exc-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.85rem;
}

.rd-exc-card__title {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--cp-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rd-exc-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--cp-brand) 88%, #fff) 0%, var(--cp-brand) 100%);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  transition: opacity 0.15s ease;
}

.rd-exc-card__cta .rd-btn-arrow {
  flex-shrink: 0;
  width: 0.95em;
  height: 0.95em;
}

.rd-exc-card:hover .rd-exc-card__cta {
  opacity: 0.95;
}

.rd-coupons-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.rd-coupons-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  margin: 0 0.2rem;
  padding: 0 0.65rem;
  border: 1px solid var(--cp-line);
  border-radius: 8px;
  background: #fff;
  color: var(--cp-text);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rd-coupons-pagination .page-numbers:hover,
.rd-coupons-pagination .page-numbers.current {
  border-color: var(--cp-brand);
  background: var(--cp-brand);
  color: #fff;
}

.rd-coupons-empty {
  padding: 3rem 1.5rem;
  border: 1px dashed var(--cp-line);
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.rd-coupons-empty h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.rd-coupons-empty p {
  margin: 0 auto 1.25rem;
  max-width: 28rem;
  color: var(--cp-muted);
  line-height: 1.55;
}

.rd-coupons-empty__link {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: var(--cp-brand);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}
