/* ZenHotels — Promo codes hub. All rules scoped under .zh-promo so nothing
   leaks into the theme. Built from mockups/tour-page/05-promocodes.html +
   shared.css. Spotlight + newsletter sections intentionally omitted. */

.zh-promo {
  --pink: #EC5A5B;
  --blue: #004661;
  --gray: #F0EDE8;
  --violet: #5C77CC;
  --beige: #E8DFD0;
  --beige-dark: #C9B894;
  --ink: #1a2a33;
  --ink-soft: #4a5a63;
  --hairline: #e5e0d6;
  --shadow-sm: 0 2px 8px rgba(0, 70, 97, 0.06);
  --shadow-md: 0 6px 24px rgba(0, 70, 97, 0.10);
  --shadow-lg: 0 16px 48px rgba(0, 70, 97, 0.14);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: #fafaf7;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.zh-promo *,
.zh-promo *::before,
.zh-promo *::after { box-sizing: border-box; }

.zh-promo img { max-width: 100%; display: block; }
.zh-promo a { color: var(--blue); text-decoration: none; }
.zh-promo button { font-family: inherit; cursor: pointer; border: none; }

.zh-promo .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.zh-promo .btn-primary {
  background: var(--pink); color: #fff; padding: 14px 28px;
  border-radius: var(--r-sm); font-weight: 700; font-size: 15px;
  letter-spacing: 0.01em; transition: all 0.15s;
  display: inline-block; text-align: center;
}
.zh-promo .btn-primary:hover { background: #d44849; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.zh-promo .btn-ghost {
  background: transparent; color: var(--blue); padding: 12px 24px;
  border: 1.5px solid var(--blue); border-radius: var(--r-sm);
  font-weight: 600; font-size: 14px;
}
/* "Load more codes" — brand red */
.zh-promo #pc-load-more {
  background: var(--pink); color: #fff; border-color: var(--pink); cursor: pointer;
}
.zh-promo #pc-load-more:hover { background: #d44849; border-color: #d44849; }

/* ============ HERO ============ */
.zh-promo .pc-hero {
  position: relative;
  min-height: 336px;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,30,45,0.55) 100%),
    url('https://plus.unsplash.com/premium_photo-1666286163385-abe05f0326c4?w=2000&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.zh-promo .pc-hero-inner {
  position: relative;
  max-width: 1200px; margin: 0 auto;
  padding: 32px 24px 28px;
  width: 100%;
}
.zh-promo .pc-eyebrow {
  font-family: 'GFS Didot', serif; font-style: italic; font-size: 18px;
  letter-spacing: 0.08em; opacity: 0.95; margin-bottom: 10px;
  display: flex; align-items: center; gap: 12px;
}
.zh-promo .pc-eyebrow::before { content: ''; height: 1px; background: rgba(255,255,255,0.6); flex: 0 0 40px; }
.zh-promo .pc-hero .pc-title {
  font-family: 'Montserrat', sans-serif; font-weight: 700; color: #fff;
  font-size: clamp(36px, 5.2vw, 72px); line-height: 1.05;
  max-width: 900px; letter-spacing: -0.02em; margin-top: 0; margin-bottom: 24px;
}
.zh-promo .pc-title .accent { font-family: 'GFS Didot', serif; font-style: italic; font-weight: 400; color: #ffd5d5; }
.zh-promo .pc-meta {
  display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-end;
}
.zh-promo .pc-stat { display: flex; flex-direction: column; line-height: 1.2; }
/* Match the Guides page hero stats (.gd-hero-meta) exactly */
.zh-promo .pc-stat-num {
  font-family: 'GFS Didot', serif; font-style: italic; font-weight: 400;
  color: #ffd5d5; font-size: 23.8px; letter-spacing: 0; margin-bottom: 4px;
  white-space: nowrap; /* keep multi-word values (e.g. "55 hotels") on one line */
}
.zh-promo .pc-stat-lbl {
  color: #fff; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.9;
  white-space: nowrap; /* keep multi-word labels (e.g. "Hotels with codes") on one line */
}

.zh-promo .pc-hero-coupon {
  position: absolute; right: 24px; bottom: 24px;
  background: #fff; color: var(--ink);
  padding: 20px; border-radius: var(--r-md);
  width: 290px; box-shadow: var(--shadow-lg);
}
.zh-promo .pc-hero-coupon .label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.zh-promo .pc-hero-coupon h3 {
  font-family: 'GFS Didot', serif; font-style: italic; font-weight: 400;
  color: var(--blue); font-size: 22px; line-height: 1.2; margin-top: 0; margin-bottom: 18px;
}
.zh-promo .pc-hero-coupon .ticket {
  border: 1.5px dashed var(--pink); border-radius: 10px;
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff7f7;
  position: relative;
}
.zh-promo .pc-hero-coupon .ticket::before,
.zh-promo .pc-hero-coupon .ticket::after {
  content: ''; position: absolute; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: #fff7f7;
  border: 1.5px dashed var(--pink);
}
.zh-promo .pc-hero-coupon .ticket::before { left: -7px; }
.zh-promo .pc-hero-coupon .ticket::after { right: -7px; }
.zh-promo .pc-hero-coupon .ticket .code {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 22px; letter-spacing: 0.08em; color: var(--pink);
}
.zh-promo .pc-hero-coupon .ticket .copy {
  background: var(--pink); color: #fff;
  padding: 8px 14px; border-radius: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  border: none; cursor: pointer; white-space: nowrap;
}
.zh-promo .pc-hero-coupon .pc-hero-apply {
  display: block; margin-top: 12px; text-align: center; text-decoration: none;
  background: var(--blue); color: #fff;
  padding: 11px 16px; border-radius: 8px;
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
}
.zh-promo .pc-hero-coupon .pc-hero-apply:hover { background: #00354a; }
.zh-promo .pc-hero-coupon .saving { margin-top: 10px; font-size: 13px; color: var(--ink-soft); }
.zh-promo .pc-hero-coupon .saving b { color: var(--blue); }
.zh-promo .pc-hero-coupon .saving .pc-valid-date { font-weight: 700; white-space: nowrap; }

/* ===== Full-image hero banner (no cropping, no letterbox bands) =====
   When a hero image is set, the <img> defines the height so the WHOLE photo
   always shows. Narrow screens: photo on top, text stacked below on brand blue.
   Wide desktop (>=1200px): text overlaid on the photo with a gradient. */
.zh-promo .pc-hero.pc-hero--banner {
  display: block; min-height: 0; padding: 0; overflow: hidden;
  background: #004661;
}
.zh-promo .pc-hero--banner .pc-hero-photo { display: block; width: 100%; height: auto; }
.zh-promo .pc-hero--banner .pc-hero-inner { position: relative; z-index: 2; }
.zh-promo .pc-hero--banner .pc-hero-coupon {
  position: static; right: auto; bottom: auto;
  margin: 4px auto 24px; width: auto; max-width: 320px;
}
@media (min-width: 1200px) {
  .zh-promo .pc-hero--banner { position: relative; }
  .zh-promo .pc-hero--banner .pc-hero-inner { position: absolute; left: 0; right: 0; bottom: 0; }
  .zh-promo .pc-hero--banner::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,30,45,0.55) 100%);
  }
  .zh-promo .pc-hero--banner .pc-hero-coupon {
    position: absolute; right: 24px; bottom: 24px; margin: 0; width: 290px; max-width: none; z-index: 2;
  }
}

/* ===== Sprint 71/72: phones/tablets (<1200px) — match the Hotels (Guides) hero =====
   The photo backs ONLY the text block (eyebrow / title / stats) as a cropped
   cover image, like `.gd-hero`. The hero-code card then falls BELOW the photo,
   on the brand-blue section base (Sprint 72: card moved out from over the image). */
@media (max-width: 1199px) {
  /* normal block flow: photo+text block first, then the coupon below it */
  .zh-promo .pc-hero.pc-hero--banner {
    display: block; min-height: 0; padding: 0; overflow: hidden;
    /* Sprint 75: below-image area uses the PAGE background, not a blue band —
       so the coupon reads as a card right under the hero, above "Live codes". */
    background: transparent;
  }
  /* drop the full-width <img>; the photo now backs only the text block */
  .zh-promo .pc-hero--banner .pc-hero-photo { display: none; }
  /* the text block IS the cropped cover-image hero. No min-height / bottom-align:
     the photo hugs the content so there's no empty sky above the eyebrow
     (Sprint 73 — matches the Hotels `.gd-hero` top spacing + gradient). */
  .zh-promo .pc-hero--banner .pc-hero-inner {
    position: relative; z-index: 2;
    background-image:
      linear-gradient(180deg, rgba(0,51,74,0.55) 0%, rgba(0,51,74,0.78) 100%),
      var(--pc-hero-img);
    background-size: cover; background-position: center;
  }
  /* hero-code card sits BELOW the photo, on the page background, above "Live codes" */
  .zh-promo .pc-hero--banner .pc-hero-coupon {
    position: static; right: auto; bottom: auto;
    margin: 16px auto 8px; width: auto; max-width: 360px; z-index: 2;
  }
}

/* Sprint 71: phones — keep the eyebrow on one line and the three stats on a
   single row (Active codes · Discount · Last updated no longer wraps). */
@media (max-width: 640px) {
  .zh-promo .pc-hero .pc-eyebrow {
    font-size: 14px; white-space: nowrap; gap: 8px;
  }
  .zh-promo .pc-hero .pc-eyebrow::before { flex: 0 0 24px; }
  .zh-promo .pc-hero .pc-meta {
    flex-wrap: nowrap; gap: 14px;
  }
  .zh-promo .pc-hero .pc-stat { min-width: 0; }
  .zh-promo .pc-hero .pc-stat-num {
    font-size: 16px; white-space: nowrap;
  }
  .zh-promo .pc-hero .pc-stat-lbl {
    font-size: 10px; letter-spacing: 0.04em; white-space: nowrap;
  }
}

/* Sprint 73: mobile only — hide the "Verified weekly" facts strip entirely.
   It's the 2nd <section> in .zh-promo (1 hero · 2 facts · 3 grid · 4 how ·
   5 apply · 6 faq). Desktop still shows it under the hero (unchanged). */
@media (max-width: 1000px) {
  .zh-promo > section:nth-of-type(2) { display: none; }
}

/* ============ Section utilities ============ */
.zh-promo .pc-section { padding: 80px 0; }
.zh-promo .pc-section--tight { padding: 48px 0; }
.zh-promo .pc-section-title {
  font-family: 'GFS Didot', serif; font-style: italic;
  font-size: 48px; font-weight: 400; color: var(--blue);
  margin-bottom: 32px; line-height: 1.1; letter-spacing: -0.01em;
}
.zh-promo .pc-collection-title { margin-bottom: 16px; }

/* ============ Facts row ============ */
.zh-promo .pc-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.zh-promo .pc-fact { background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 22px; }
.zh-promo .pc-fact .icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gray); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.zh-promo .pc-fact .icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.zh-promo .pc-fact h4 { font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 6px; line-height: 1.3; }
.zh-promo .pc-fact p { font-size: 12px; color: var(--ink-soft); line-height: 1.5; }

/* ============ Narrative ============ */
.zh-promo .pc-narrative { max-width: 900px; margin: 0 auto; }
.zh-promo .pc-narrative p { font-size: 17px; line-height: 1.75; margin-bottom: 22px; color: var(--ink); }
.zh-promo .pc-narrative p:first-of-type::first-letter {
  font-family: 'GFS Didot', serif; font-style: italic; font-weight: 400;
  font-size: 76px; line-height: 0.8; float: left; margin: 6px 12px 0 -2px;
  color: var(--pink);
}

/* ============ How to redeem ============ */
.zh-promo .pc-redeem { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 380px 1fr; gap: 0 48px; }
.zh-promo .pc-redeem .left { font-family: 'GFS Didot', serif; font-style: italic; font-size: 32px; line-height: 1.2; color: var(--blue); align-self: center; }
.zh-promo .pc-redeem ol { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.zh-promo .pc-redeem ol li {
  position: relative;
  padding: 18px 0 18px 54px;
  border-bottom: 1px solid var(--hairline);
  font-size: 16px; line-height: 1.55;
  counter-increment: step;
  white-space: nowrap;
}
.zh-promo .pc-redeem ol li:last-child { border-bottom: none; }
.zh-promo .pc-redeem ol li::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'GFS Didot', serif; font-style: italic;
  color: var(--pink); font-size: 22px;
  position: absolute; left: 0; top: 18px; width: 36px;
}

/* ============ Filter pills ============ */
.zh-promo .pc-filterbar {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  margin-bottom: 32px;
}
.zh-promo .pc-pill {
  background: #fff; border: 1.5px solid var(--hairline);
  color: var(--ink); padding: 9px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.15s;
}
.zh-promo .pc-pill:hover { border-color: var(--pink); color: var(--pink); }
.zh-promo .pc-pill.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.zh-promo .pc-filterbar .pc-sort { margin-left: auto; font-size: 13px; color: var(--ink-soft); }
.zh-promo .pc-filterbar .pc-sort select {
  border: 1px solid var(--hairline); background: #fff; padding: 8px 12px;
  border-radius: 6px; font-family: inherit; font-size: 13px; color: var(--ink); margin-left: 6px;
}

/* ============ Promo code card ============ */
.zh-promo .pc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.zh-promo .pc-card--more.is-hidden { display: none; }
.zh-promo .pc-card {
  background: #fff; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--hairline); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.zh-promo .pc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.zh-promo .pc-card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.zh-promo .pc-card-link:hover h4 { color: var(--pink); }
.zh-promo .pc-card .img {
  aspect-ratio: 4/3; background-size: cover; background-position: center;
  position: relative;
}
.zh-promo .pc-card .tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(0,70,97,0.88); color: #fff;
  padding: 5px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; border: none;
}
.zh-promo .pc-card .save-btn {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); border: none; cursor: pointer;
}
.zh-promo .pc-card .save-btn svg { width: 18px; height: 18px; }
.zh-promo .pc-card .price-tag {
  position: absolute; bottom: 14px; right: 14px;
  background: var(--pink); color: #fff;
  padding: 7px 14px; border-radius: 6px;
  font-size: 13px; font-weight: 700;
}
.zh-promo .pc-card .price-tag small { font-weight: 500; opacity: 0.9; }
.zh-promo .pc-card .body { padding: 22px 22px 18px; flex: 1; display: flex; flex-direction: column; }
.zh-promo .pc-card .body h4 {
  font-size: 18px; font-weight: 700; color: var(--blue);
  line-height: 1.3; margin-bottom: 8px;
}
.zh-promo .pc-card .body p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 14px; }
.zh-promo .pc-card .loc {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink-soft); margin-bottom: 14px;
}
.zh-promo .pc-card .loc svg { width: 14px; height: 14px; fill: var(--ink-soft); }
.zh-promo .pc-card .stale {
  font-size: 10px; color: var(--ink-soft); letter-spacing: 0.06em;
  text-transform: uppercase; margin-top: auto;
}
.zh-promo .pc-card .member-rate {
  display: inline-block; margin-left: 8px;
  background: var(--violet); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.05em;
  padding: 2px 8px; border-radius: 999px; text-transform: uppercase;
}
.zh-promo .pc-card .ticket {
  margin: 0 22px 22px;
  border: 1.5px dashed var(--pink);
  border-radius: 8px;
  padding: 10px 14px;
  background: #fff7f7;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  position: relative;
}
.zh-promo .pc-card .ticket::before,
.zh-promo .pc-card .ticket::after {
  content: ''; position: absolute; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 50%; background: #fff;
  border: 1.5px dashed var(--pink);
}
.zh-promo .pc-card .ticket::before { left: -6px; }
.zh-promo .pc-card .ticket::after { right: -6px; }
.zh-promo .pc-card .ticket .code-block { display: flex; flex-direction: column; gap: 1px; }
.zh-promo .pc-card .ticket .code-label {
  font-size: 9px; letter-spacing: 0.1em; color: var(--ink-soft);
  text-transform: uppercase;
}
.zh-promo .pc-card .ticket .code {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 17px; letter-spacing: 0.06em; color: var(--pink);
}
.zh-promo .pc-card .ticket .copy {
  background: var(--pink); color: #fff;
  padding: 7px 12px; border-radius: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  border: none; cursor: pointer; white-space: nowrap;
}
.zh-promo .pc-card .ticket .copy:hover { background: #d44849; }

/* ============ FAQ ============ */
.zh-promo .pc-faq-title { margin-bottom: 16px; }
.zh-promo .pc-related-title { margin-top: 0; }
.zh-promo .pc-faq { max-width: 780px; margin: 0 auto; }
.zh-promo .pc-faq details { border-bottom: 1px solid var(--hairline); padding: 22px 0; }
.zh-promo .pc-faq details:first-of-type { padding-top: 11px; }
.zh-promo .pc-faq details:last-of-type { border-bottom: none; padding-bottom: 11px; }
.zh-promo .pc-faq summary {
  cursor: pointer; font-size: 17px; font-weight: 600; color: var(--blue);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.zh-promo .pc-faq summary::-webkit-details-marker { display: none; }
.zh-promo .pc-faq summary::after { content: '+'; font-size: 26px; color: var(--pink); font-weight: 300; }
.zh-promo .pc-faq details[open] summary::after { content: '\2013'; }
.zh-promo .pc-faq p { margin-top: 14px; color: var(--ink-soft); line-height: 1.7; font-size: 15px; }

/* ============ You might also love ============ */
.zh-promo .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.zh-promo .related-card {
  background: #fff; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--hairline);
  transition: transform 0.2s, box-shadow 0.2s;
}
.zh-promo .related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.zh-promo .related-card .img { aspect-ratio: 16/10; background-size: cover; background-position: center; position: relative; }
.zh-promo .related-card .badge {
  position: absolute; top: 12px; left: 12px; background: rgba(0,70,97,0.85); color: #fff;
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600;
}
.zh-promo .related-card .price-tag {
  position: absolute; bottom: 12px; right: 12px; background: var(--pink); color: #fff;
  padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 700;
}
.zh-promo .related-card .body { padding: 10px 16px 12px; }
.zh-promo .related-card h4 { font-size: 15px; font-weight: 700; color: var(--blue); margin-top: 0; margin-bottom: 4px; line-height: 1.3; }
.zh-promo .related-card .loc { font-size: 12px; color: var(--ink-soft); display: flex; align-items: center; gap: 4px; }
.zh-promo .related-card .stale { font-size: 10px; color: var(--ink-soft); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ============ Real deal cards (theme offer-card) ============ */
.zh-promo .pc-pill-n { opacity: .5; margin-left: 4px; }
.zh-promo .pc-deal-grid { --thim-tours-columns: 3; }
.zh-promo .pc-deal-grid .offer-card,
.zh-promo .pc-related-grid .offer-card { max-width: none; width: 100%; }
.zh-promo .offer-card.is-hidden,
.zh-promo .pc-card.is-hidden { display: none; }

/* Tighten the date → ticket gap: the theme's .offer-card-content has 13px
   bottom padding below the date; trim it on promo cards so the ticket sits close. */
.zh-promo .pc-deal-grid .offer-card .offer-card-content { padding-bottom: 4px; }

/* Promo ticket injected under the date */
.zh-promo .offer-card .pc-ticket {
  margin: 6px 16px 16px;
  border: 1.5px dashed var(--pink); border-radius: 8px;
  padding: 9px 12px; background: #fff7f7;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
}
.zh-promo .offer-card .pc-ticket-code { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.zh-promo .offer-card .pc-ticket-label {
  font-size: 9px; letter-spacing: 0.1em; color: var(--ink-soft); text-transform: uppercase;
}
.zh-promo .offer-card .pc-ticket-value {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 16px; letter-spacing: 0.06em; color: var(--pink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* Two actions side by side: "Copy" (red) left of "Apply now" (blue). Wraps
   below the code as a unit on tight cards. */
.zh-promo .offer-card .pc-ticket-actions {
  display: flex; align-items: center; gap: 8px; margin-left: auto;
}
.zh-promo .offer-card .pc-ticket .pc-apply,
.zh-promo .offer-card .pc-ticket .copy {
  padding: 7px 12px; border-radius: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  border: none; cursor: pointer; white-space: nowrap; line-height: 1;
}
.zh-promo .offer-card .pc-ticket .pc-apply {
  background: var(--blue); color: #fff; text-decoration: none;
}
.zh-promo .offer-card .pc-ticket .pc-apply:hover { background: #00354a; }
.zh-promo .offer-card .pc-ticket .copy {
  background: var(--pink); color: #fff;
}
.zh-promo .offer-card .pc-ticket .copy:hover { background: #d44849; }
.zh-promo .offer-card .pc-ticket .copy.pc-expired { cursor: not-allowed; background: var(--ink-soft); }
.zh-promo .offer-card .pc-ticket .copy.pc-expired:hover { background: var(--ink-soft); }

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .zh-promo .pc-deal-grid { --thim-tours-columns: 2; }
  .zh-promo .pc-hero { min-height: 288px; }
  .zh-promo .pc-hero-coupon { position: static; margin: 16px 24px 24px; width: auto; max-width: 360px; }
  .zh-promo .pc-hero-inner { padding: 28px 24px 20px; }
  .zh-promo .pc-grid { grid-template-columns: repeat(2, 1fr); }
  .zh-promo .pc-facts { grid-template-columns: repeat(2, 1fr); }
  .zh-promo .pc-redeem { grid-template-columns: 1fr; gap: 24px; }
  .zh-promo .pc-redeem ol li { white-space: normal; }
  .zh-promo .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .zh-promo .pc-deal-grid, .zh-promo .pc-related-grid { --thim-tours-columns: 1; }
  .zh-promo .pc-grid { grid-template-columns: 1fr; }
  .zh-promo .pc-facts { grid-template-columns: 1fr; }
  .zh-promo .pc-section { padding: 48px 0; }
  .zh-promo .pc-hero { min-height: 240px; }
  .zh-promo .pc-hero-inner { padding: 22px 20px 18px; }
  .zh-promo .pc-section-title { font-size: 36px; }
  .zh-promo .related-grid { grid-template-columns: 1fr; }
}

/* Sprint 75: mobile-only promo tweaks (phones ≤640px). */
@media (max-width: 640px) {
  /* "Live codes, ready to use" stays on one line */
  .zh-promo .pc-collection-title {
    font-size: clamp(22px, 6.7vw, 28px);
    white-space: nowrap;
  }
  /* Holiday-type pills: exactly 3 per row (e.g. All · City breaks · Beach) */
  .zh-promo .pc-filterbar { gap: 8px; }
  .zh-promo .pc-pill {
    flex: 0 0 calc((100% - 16px) / 3);
    min-width: 0;
    padding: 9px 6px;
    font-size: 12px;
    text-align: center;
  }
  /* the sort dropdown drops to its own full-width row below the pills */
  .zh-promo .pc-filterbar .pc-sort {
    flex: 0 0 100%; margin-left: 0; margin-top: 4px;
  }
  /* "Questions, answered" aligned right (overrides the inline text-align:center) */
  .zh-promo .pc-faq-title { text-align: right !important; }
}

/* Sprint 95: Copy button — persistent "Copied" state (stays until the page is
   refreshed or another code is copied), shown in green. Selectors match/exceed
   the red base + :hover rules and are placed last so they win. */
.zh-promo .copy.is-copied,
.zh-promo .offer-card .pc-ticket .copy.is-copied,
.zh-promo .offer-card .pc-ticket .copy.is-copied:hover,
.zh-promo .pc-card .ticket .copy.is-copied,
.zh-promo .pc-card .ticket .copy.is-copied:hover,
.zh-promo .pc-hero-coupon .ticket .copy.is-copied,
.zh-promo .pc-hero-coupon .ticket .copy.is-copied:hover {
  background: #1f8a4c;
  color: #fff;
}

/* PERF (2026-07-16): skip layout/paint for OFF-SCREEN deal cards until they
   scroll near the viewport — a big render win on the ~90+ card grid. Cards stay
   in the DOM, so the holiday-type filter + sort still work. contain-intrinsic-size
   ≈ the real card height (~430px) so the scrollbar stays stable. */
.zh-promo .pc-deal-grid .offer-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 430px;
}
