/* =============================================================================
   Plan Your Trip — Feature Styles
   Layers on top of /css/styles.css (loaded first).
   All selectors prefixed .pyt- to avoid collisions.
   ============================================================================= */


/* =============================================================================
   SECTION VISIBILITY
   ============================================================================= */

.pyt-section { display: none; }
.pyt-section--active { display: block; }


/* =============================================================================
   SHARED BUTTONS
   ============================================================================= */

.pyt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.75rem;
  min-height: 48px;   /* WCAG touch target */
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease,
              transform 0.15s ease, box-shadow 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.pyt-btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.pyt-btn--primary:hover:not(:disabled) {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 71, 58, 0.32);
}
.pyt-btn--primary:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
}

.pyt-btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.65);
  border-color: rgba(255,255,255,0.22);
}
.pyt-btn--ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

/* Ghost on light bg (used in restart bar, etc.) */
.pyt-btn--ghost-light {
  background: transparent;
  color: var(--color-text-muted);
  border-color: var(--color-border);
}
.pyt-btn--ghost-light:hover {
  color: var(--color-text);
  border-color: var(--color-text-muted);
}

.pyt-btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.pyt-btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.pyt-btn--lg {
  font-size: 1.05rem;
  padding: 1.1rem 2.2rem;
}


/* =============================================================================
   LANDING — HERO
   ============================================================================= */

.pyt-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-image: url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center 40%;
  overflow: hidden;
}

.pyt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(10, 18, 28, 0.88) 0%,
    rgba(14, 24, 34, 0.60) 55%,
    rgba(14, 24, 34, 0.28) 100%
  );
}

/* Subtle vignette at bottom */
.pyt-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(10,18,28,0.50) 0%, transparent 100%);
  pointer-events: none;
}

.pyt-hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 8rem 2rem 5rem;
}

.pyt-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
}
.pyt-hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--color-gold);
  flex-shrink: 0;
}

.pyt-hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.pyt-hero__sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.pyt-hero__cta {
  font-size: 1rem;
  padding: 1rem 2.2rem;
  box-shadow: 0 4px 24px rgba(201, 71, 58, 0.40);
}

.pyt-hero__note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}


/* =============================================================================
   LANDING — TRUST BAR
   ============================================================================= */

.pyt-trust-bar {
  background: var(--color-brand-darker);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.pyt-trust-item {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.4rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.10);
}
.pyt-trust-item:last-child { border-right: none; }
.pyt-trust-item strong { color: var(--color-gold); }


/* =============================================================================
   LANDING — HOW IT WORKS
   ============================================================================= */

.pyt-how {
  background: var(--color-bg-light);
  padding: 5rem 2rem;
}

.pyt-how__label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.pyt-how__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--color-brand-dark);
  text-align: center;
  margin-bottom: 3.5rem;
  letter-spacing: -0.01em;
}

.pyt-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

/* Connecting line between steps */
.pyt-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 2px;
  background: linear-gradient(to right, var(--color-primary), var(--color-primary));
  opacity: 0.20;
}

.pyt-step {
  text-align: center;
  padding: 0 1.5rem 2rem;
  position: relative;
}

.pyt-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 16px rgba(201, 71, 58, 0.25);
  position: relative;
  z-index: 1;
}

.pyt-step__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-brand-dark);
  margin-bottom: 0.5rem;
}

.pyt-step__desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.pyt-how__cta {
  text-align: center;
  margin-top: 3rem;
}


/* =============================================================================
   QUIZ SECTION
   — Dark brand background so the quiz feels like a focused, premium experience.
   — Options float as white cards on the dark background.
   ============================================================================= */

#pyt-quiz.pyt-section--active {
  display: block;
  background: var(--color-brand-dark);
  min-height: calc(100vh - var(--header-height));
}

.pyt-quiz-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
}

/* Progress area */
.pyt-quiz-header {
  margin-bottom: 2.5rem;
}

.pyt-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.pyt-step-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.pyt-step-fraction {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

.pyt-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.10);
  border-radius: 99px;
  overflow: hidden;
}

.pyt-progress-fill {
  height: 100%;
  background: var(--color-gold);
  border-radius: 99px;
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Question text */
.pyt-question {
  margin-bottom: 2rem;
}

.pyt-question-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3.8vw, 2rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.pyt-question-subtitle {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.5;
}

/* Options grid */
.pyt-options-grid {
  display: grid;
  gap: 0.65rem;
  flex: 1;
}

.pyt-options-grid--4,
.pyt-options-grid--5 {
  grid-template-columns: repeat(2, 1fr);
}

/* Option button — white card on dark background */
.pyt-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  min-height: 68px;
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(4px);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease,
              transform 0.12s ease, box-shadow 0.15s ease;
  font-family: var(--font-main);
  color: rgba(255,255,255,0.88);
  position: relative;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}

.pyt-option:hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.11);
}

/* Selected: filled with primary, white text */
.pyt-option--selected {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(201, 71, 58, 0.40);
}
.pyt-option--selected:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.pyt-option-emoji {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
}

.pyt-option-label {
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.3;
  flex: 1;
}

/* Checkmark circle — appears on selected options */
.pyt-option-check {
  margin-left: auto;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Quiz navigation */
.pyt-quiz-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.pyt-quiz-nav__next {
  flex: 1;
}


/* =============================================================================
   LOADING
   ============================================================================= */

#pyt-loading.pyt-section--active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  gap: 1.75rem;
  background: var(--color-brand-dark);
}

.pyt-loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255,255,255,0.12);
  border-top-color: var(--color-gold);
  border-radius: 50%;
  animation: pyt-spin 0.85s linear infinite;
}

@keyframes pyt-spin {
  to { transform: rotate(360deg); }
}

.pyt-loading-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
  text-align: center;
  transition: opacity 0.4s ease;
}

.pyt-loading-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.40);
  text-align: center;
  margin-top: -1rem;
  letter-spacing: 0.04em;
}


/* =============================================================================
   RESULTS — HEADER
   ============================================================================= */

.pyt-results-header {
  background: var(--color-brand-dark);
  padding: 3.5rem 2rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow behind heading */
.pyt-results-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(201,71,58,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.pyt-results-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
  position: relative;
}

.pyt-results-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
  position: relative;
}

.pyt-results-sub {
  color: rgba(255,255,255,0.50);
  font-size: 0.95rem;
  position: relative;
}


/* =============================================================================
   RESULTS — BODY
   ============================================================================= */

.pyt-results-body {
  background: var(--color-bg-light);
  padding: 2rem 1.25rem 5rem;
}

.pyt-results-body .container {
  max-width: 1100px;
}


/* =============================================================================
   MATCH CARDS
   ============================================================================= */

.pyt-match-primary {
  margin-bottom: 1.75rem;
}

.pyt-alternates-label {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.pyt-match-alternates {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

/* Base card */
.pyt-match-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  outline: none;
}

.pyt-match-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.pyt-match-card:focus-visible {
  box-shadow: 0 0 0 3px var(--color-primary);
}

.pyt-match-card--active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow), var(--shadow-card-hover);
}

/* Primary: horizontal layout */
.pyt-match-card--primary {
  flex-direction: row;
  min-height: 340px;
}

.pyt-match-card__image {
  background-size: cover;
  background-position: center;
  position: relative;
  flex-shrink: 0;
}

.pyt-match-card--primary .pyt-match-card__image {
  width: 46%;
  min-height: 300px;
}

.pyt-match-card--alt-1 .pyt-match-card__image,
.pyt-match-card--alt-2 .pyt-match-card__image {
  height: 200px;
  width: 100%;
}

.pyt-match-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10,20,32,0.40) 100%);
}

/* Badges on image */
.pyt-match-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255,255,255,0.96);
  color: var(--color-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 99px;
  backdrop-filter: blur(4px);
}

.pyt-match-card__top-pick {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-gold);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 99px;
}

/* Card body */
.pyt-match-card__body {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pyt-match-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.pyt-match-card__country {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.pyt-match-strength-bar {
  display: inline-block;
  flex: 1;
  max-width: 72px;
  height: 4px;
  background: var(--color-bg-light);
  border-radius: 99px;
  overflow: hidden;
}

.pyt-match-strength-fill {
  display: block;
  height: 100%;
  background: var(--color-primary);
  border-radius: 99px;
}

.pyt-match-card__name {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--color-brand-dark);
  line-height: 1.15;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.pyt-match-card__tagline {
  font-size: 0.83rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 0.85rem;
  line-height: 1.4;
}

.pyt-match-card__reason {
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.pyt-match-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.pyt-match-card__cta {
  width: 100%;
  margin-top: auto;
  font-size: 0.92rem;
  padding: 0.9rem 1.25rem;
  min-height: 48px;
}

/* Active CTA is muted/confirmed */
.pyt-match-card--active .pyt-match-card__cta {
  background: var(--color-bg-light);
  border-color: var(--color-border);
  color: var(--color-text-muted);
  box-shadow: none;
  transform: none;
}
.pyt-match-card--active .pyt-match-card__cta:hover {
  background: var(--color-bg-light);
  transform: none;
  box-shadow: none;
}


/* =============================================================================
   DESTINATION DETAIL SECTION
   ============================================================================= */

.pyt-destination-detail {
  margin-bottom: 2.5rem;
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.pyt-detail {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.pyt-detail__hero {
  position: relative;
  height: clamp(280px, 42vw, 460px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.pyt-detail__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,32,0.85) 0%, rgba(10,20,32,0.05) 55%);
}

.pyt-detail__hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem 2.5rem;
}

.pyt-detail__hero-country {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.4rem;
}

.pyt-detail__hero-name {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  color: #fff;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.pyt-detail__hero-tagline {
  color: rgba(255,255,255,0.70);
  font-size: 1rem;
  font-style: italic;
}

.pyt-detail__body {
  padding: 2.5rem 2.5rem 2rem;
}

/* Overview 2-col grid */
.pyt-detail__overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.pyt-detail__overview h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-brand-dark);
  margin-bottom: 0.85rem;
  letter-spacing: 0.01em;
}

.pyt-detail__summary p {
  font-size: 0.92rem;
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

.pyt-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pyt-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: capitalize;
  padding: 0.28rem 0.65rem;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 99px;
  color: var(--color-text-muted);
}

.pyt-why-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.pyt-why-list li {
  font-size: 0.88rem;
  color: var(--color-text);
  line-height: 1.6;
  padding: 0.65rem 0 0.65rem 1.6rem;
  border-bottom: 1px solid var(--color-bg-light);
  position: relative;
}
.pyt-why-list li:last-child { border-bottom: none; }

.pyt-why-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.65rem;
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.8rem;
}

/* Stat boxes */
.pyt-detail__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.pyt-stat {
  text-align: center;
  background: var(--color-bg-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.4rem;
  border: 1px solid var(--color-border);
}

.pyt-stat__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 0.3rem;
}

.pyt-stat__value {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-brand-dark);
  line-height: 1.35;
}


/* =============================================================================
   CURATED OFFERS
   ============================================================================= */

.pyt-offers-section {
  margin-bottom: 2.5rem;
}
.pyt-offers-section:last-child { margin-bottom: 0; }

.pyt-offers-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-brand-dark);
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.pyt-offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.1rem;
}

.pyt-offers-grid--narrow {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  max-width: 680px;
}

/* Destination highlights list */
.pyt-highlights-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pyt-highlights-list li {
  font-size: 0.9rem;
  color: var(--color-text);
  padding-left: 1.25rem;
  position: relative;
}

.pyt-highlights-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* Related collections chips */
.pyt-collection-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pyt-collection-chip {
  display: inline-block;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-brand-dark);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.pyt-collection-chip:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

/* Related reading list */
.pyt-reading-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pyt-reading-list li::before {
  content: '→ ';
  color: var(--color-primary);
  font-weight: 600;
}

.pyt-reading-list a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-border);
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.pyt-reading-list a:hover {
  color: var(--color-primary);
  text-decoration-color: var(--color-primary);
}

/* Offer card */
.pyt-offer-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.pyt-offer-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.pyt-offer-card__image-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--color-bg-light);
}

.pyt-offer-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.pyt-offer-card:hover .pyt-offer-card__image {
  transform: scale(1.04);
}

.pyt-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
  color: #fff;
}

.pyt-badge--luxury      { background: #7B5EA7; }
.pyt-badge--popular     { background: var(--color-primary); }
.pyt-badge--value       { background: #2D8A6A; }
.pyt-badge--recommended { background: var(--color-brand-dark); }
.pyt-badge--romantic    { background: #C94F7F; }

.pyt-offer-card__body {
  padding: 1.1rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pyt-offer-card__category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 0.35rem;
}

.pyt-offer-card__title {
  font-family: var(--font-heading);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--color-brand-dark);
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.pyt-offer-card__desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 1rem;
}

.pyt-offer-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.85rem 1rem;
  min-height: 48px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  letter-spacing: 0.01em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pyt-offer-card__cta:hover {
  background: var(--color-primary);
  color: #fff;
}


/* =============================================================================
   LEAD FORM SECTION
   ============================================================================= */

.pyt-lead-section {
  margin-top: 0;
}

/* Section divider above form */
.pyt-lead-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.pyt-lead-divider::before,
.pyt-lead-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}
.pyt-lead-divider span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-light);
  white-space: nowrap;
}

/* Two-column wrapper */
.pyt-lead-wrap {
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: 2fr 3fr;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(18,32,46,0.14);
}

/* Left — dark intro panel */
.pyt-lead-intro {
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-brand-darker);
  position: relative;
  overflow: hidden;
}

/* Subtle gradient accent */
.pyt-lead-intro::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201,71,58,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.pyt-lead-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.85rem;
}

.pyt-lead-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.pyt-lead-sub {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.pyt-lead-perks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pyt-lead-perks li {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.75);
  padding: 0.4rem 0;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Right — form panel */
.pyt-lead-form {
  padding: 2.5rem 2.5rem 2rem;
  background: #fff;
}

.pyt-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.pyt-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pyt-form-group--full {
  grid-column: 1 / -1;
}

.pyt-form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pyt-form-group input,
.pyt-form-group select,
.pyt-form-group textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.18s ease, background 0.18s ease;
  outline: none;
  -webkit-appearance: none;
}

.pyt-form-group input:focus,
.pyt-form-group select:focus,
.pyt-form-group textarea:focus {
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.pyt-form-group textarea {
  resize: vertical;
  min-height: 95px;
}

.pyt-field-invalid {
  border-color: #e53e3e !important;
  background: #fff5f5 !important;
}

.pyt-form-error {
  font-size: 0.83rem;
  color: #c53030;
  font-weight: 500;
  padding: 0.7rem 1rem;
  background: #fff5f5;
  border: 1px solid #feb2b2;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

/* Big submit button */
.pyt-form-submit {
  width: 100%;
  font-size: 1rem;
  padding: 1rem 2rem;
  box-shadow: 0 4px 20px rgba(201, 71, 58, 0.28);
  letter-spacing: 0.02em;
}

.pyt-form-disclaimer {
  text-align: center;
  font-size: 0.76rem;
  color: var(--color-text-light);
  margin-top: 0.85rem;
}


/* =============================================================================
   SUBMISSION SUCCESS
   ============================================================================= */

.pyt-submission-success {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.pyt-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #38A169;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 16px rgba(56,161,105,0.30);
}

.pyt-submission-success h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-brand-dark);
  margin-bottom: 0.75rem;
}

.pyt-submission-success p {
  font-size: 0.93rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 0.5rem;
}


/* =============================================================================
   RESTART BAR
   ============================================================================= */

.pyt-restart-bar {
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  padding: 1.25rem;
  text-align: center;
}

.pyt-restart-bar p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.pyt-restart-link {
  background: none;
  border: none;
  color: var(--color-primary);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pyt-restart-link:hover { color: var(--color-primary-dark); }


/* =============================================================================
   RESPONSIVE — TABLET  (≤ 900px)
   ============================================================================= */

@media (max-width: 900px) {
  /* Primary match card stacks vertically */
  .pyt-match-card--primary {
    flex-direction: column;
  }
  .pyt-match-card--primary .pyt-match-card__image {
    width: 100%;
    height: 280px;
  }

  /* Detail overview stacks */
  .pyt-detail__overview {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Lead form stacks — intro on top, form below */
  .pyt-lead-wrap {
    grid-template-columns: 1fr;
  }
  .pyt-lead-intro {
    padding: 2.25rem 2rem;
  }
  .pyt-lead-intro::after { display: none; }

  /* How it works — single column */
  .pyt-steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 1.5rem;
  }
  .pyt-steps::before { display: none; }
}


/* =============================================================================
   RESPONSIVE — MOBILE  (≤ 640px)
   ============================================================================= */

@media (max-width: 640px) {

  /* ── Hero ─────────────────────────────────────────────────────────────── */
  .pyt-hero {
    min-height: 100svh;     /* use svh to avoid mobile browser chrome clipping */
  }
  .pyt-hero__content {
    padding: 5.5rem 1.25rem 3.5rem;
  }
  .pyt-hero__sub {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .pyt-hero__cta {
    width: 100%;
    justify-content: center;
  }

  /* Trust bar: reduce item padding so items don't wrap poorly */
  .pyt-trust-bar {
    padding: 0.6rem 1rem;
    gap: 0;
  }
  .pyt-trust-item {
    padding: 0.35rem 1rem;
    font-size: 0.74rem;
  }

  /* ── Quiz ─────────────────────────────────────────────────────────────── */
  .pyt-quiz-inner {
    padding: 2rem 1.25rem 4.5rem;
  }

  .pyt-quiz-header {
    margin-bottom: 1.75rem;
  }

  /* Question heading: slightly smaller on mobile to prevent wrapping */
  .pyt-question-heading {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  }

  /* Options: always single column, generous touch target */
  .pyt-options-grid--4,
  .pyt-options-grid--5 {
    grid-template-columns: 1fr;
  }

  .pyt-options-grid {
    gap: 0.7rem;
  }

  .pyt-option {
    min-height: 64px;
    padding: 0.95rem 1.1rem;
    gap: 0.85rem;
  }

  .pyt-option-label {
    font-size: 0.95rem;
  }

  /* Quiz nav: Continue full width and visually dominant */
  .pyt-quiz-nav {
    flex-wrap: wrap;
    margin-top: 1.75rem;
  }
  .pyt-quiz-nav__next {
    width: 100%;
    order: -1;
  }

  /* Back button: visible but secondary */
  .pyt-quiz-nav .pyt-btn--ghost {
    color: rgba(255,255,255,0.5);
    border-color: rgba(255,255,255,0.18);
    font-size: 0.88rem;
    padding: 0.7rem 1.25rem;
    min-height: 44px;
  }

  /* ── Results header ───────────────────────────────────────────────────── */
  .pyt-results-header {
    padding: 2.25rem 1.25rem 1.75rem;
  }

  .pyt-results-heading {
    font-size: clamp(1.65rem, 6vw, 2.2rem);
    margin-bottom: 0.5rem;
  }

  .pyt-results-sub {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  /* ── Results body ─────────────────────────────────────────────────────── */
  .pyt-results-body {
    padding: 1.5rem 1rem 4rem;
  }

  /* ── Match cards ──────────────────────────────────────────────────────── */
  .pyt-match-primary {
    margin-bottom: 1.25rem;
  }

  .pyt-match-alternates {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pyt-match-card--primary .pyt-match-card__image {
    height: 240px;
  }

  .pyt-match-card--alt-1 .pyt-match-card__image,
  .pyt-match-card--alt-2 .pyt-match-card__image {
    height: 180px;
  }

  .pyt-match-card__body {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .pyt-match-card__reason {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }

  /* CTA fills full width — no whitespace tap-miss risk */
  .pyt-match-card__cta {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }

  /* "You'd also love" divider */
  .pyt-alternates-label {
    margin: 0.5rem 0 0.875rem;
  }

  /* ── Destination detail ───────────────────────────────────────────────── */
  .pyt-detail__hero {
    min-height: 220px;
  }

  .pyt-detail__hero-content {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .pyt-detail__hero-name {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .pyt-detail__body {
    padding: 1.5rem 1.25rem;
  }

  /* Stats: 2-col instead of 3 so values aren't clipped */
  .pyt-detail__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  /* Highlights: slightly tighter on mobile */
  .pyt-highlights-list li {
    font-size: 0.875rem;
  }

  /* ── Offer cards ──────────────────────────────────────────────────────── */

  /* On mobile, all offer CTAs fill solid (not just featured) — easier to tap */
  .pyt-offer-card__cta {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
  }
  .pyt-offer-card__cta:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
  }

  .pyt-offer-card__image-wrap {
    height: 160px;
  }

  .pyt-offer-card__body {
    padding: 1rem 1rem 1.1rem;
  }

  /* Section headings in detail */
  .pyt-offers-heading {
    font-size: 1rem;
    margin-bottom: 0.875rem;
  }

  /* ── Lead form ────────────────────────────────────────────────────────── */
  .pyt-lead-intro {
    padding: 1.75rem 1.25rem;
  }

  .pyt-lead-heading {
    font-size: clamp(1.3rem, 5vw, 1.7rem);
  }

  .pyt-lead-form {
    padding: 1.5rem 1.25rem 1.5rem;
  }

  .pyt-form-grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .pyt-form-group--full {
    grid-column: 1;
  }

  .pyt-form-group input,
  .pyt-form-group select,
  .pyt-form-group textarea {
    font-size: 1rem; /* prevent iOS zoom on focus */
    min-height: 48px;
    padding: 0.875rem 1rem;
  }

  .pyt-form-group label {
    font-size: 0.8rem;
  }

  .pyt-form-submit {
    padding: 1.05rem 2rem;
    font-size: 1rem;
  }

  /* ── Section dividers ─────────────────────────────────────────────────── */
  .pyt-lead-divider {
    margin-bottom: 1.5rem;
  }

  /* ── Continue banner ──────────────────────────────────────────────────── */
  .pyt-continue-banner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    padding: 0.85rem 1.25rem;
  }

  .pyt-continue-banner__actions {
    width: 100%;
    justify-content: center;
  }

  .pyt-btn--continue,
  .pyt-btn--dismiss {
    flex: 1;
  }

  /* ── Email gate ───────────────────────────────────────────────────────── */
  #pyt-email-gate.pyt-section--active {
    align-items: flex-start;
    padding: 1.5rem 1rem 3rem;
  }

  .pyt-gate-wrap {
    padding-top: 0.25rem;
  }

  .pyt-gate-match-preview {
    padding: 0.875rem 1.25rem;
    margin-bottom: 1.5rem;
  }

  .pyt-gate-heading {
    font-size: 1.4rem;
  }

  .pyt-gate-sub {
    font-size: 0.875rem;
  }

  .pyt-gate-perks {
    margin-bottom: 1.4rem;
  }
}

/* =============================================================================
   CONTINUE BANNER  (shown on landing when saved quiz progress exists)
   ============================================================================= */

.pyt-continue-banner {
  background: var(--color-brand-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pyt-continue-banner__text {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  margin: 0;
}

.pyt-continue-banner__text strong {
  color: #fff;
}

.pyt-continue-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.pyt-btn--continue {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.15s;
}

.pyt-btn--continue:hover {
  background: #b03d31;
}

.pyt-btn--dismiss {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}

.pyt-btn--dismiss:hover {
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.35);
}


/* =============================================================================
   EMAIL GATE SECTION
   ============================================================================= */

#pyt-email-gate.pyt-section--active {
  background: var(--color-brand-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

.pyt-gate-wrap {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

/* Destination preview — builds desire before the ask */
.pyt-gate-match-preview {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1rem 1.5rem 1.1rem;
  margin-bottom: 2rem;
  position: relative;
}

.pyt-gate-match-preview::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201,71,58,0.25) 0%, transparent 60%);
  pointer-events: none;
}

.pyt-gate-match-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 0.3rem;
  position: relative;
}

.pyt-gate-match-dest {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: #fff;
  font-weight: 600;
  margin: 0 0 0.15rem;
  position: relative;
}

.pyt-gate-match-country {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
  position: relative;
}

/* Heading + sub */
.pyt-gate-eyebrow {
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.55rem;
}

.pyt-gate-heading {
  font-family: 'Playfair Display', Georgia, serif;
  color: #fff;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.85rem;
}

.pyt-gate-sub {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

/* Value prop bullets */
.pyt-gate-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pyt-gate-perks li {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  padding-left: 0.25rem;
}

/* Form */
.pyt-gate-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.pyt-gate-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.pyt-gate-field label {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.pyt-gate-field input {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
}

.pyt-gate-field input::placeholder {
  color: rgba(255,255,255,0.28);
}

.pyt-gate-field input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255,255,255,0.1);
}

.pyt-gate-field input.pyt-field-invalid {
  border-color: #e05c4b;
}

.pyt-gate-submit {
  margin-top: 0.25rem;
  width: 100%;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
}

.pyt-gate-error {
  color: #e05c4b;
  font-size: 0.83rem;
  text-align: left;
  display: none;
  margin-top: -0.25rem;
}

.pyt-gate-skip {
  margin-top: 0.75rem;
}

.pyt-gate-skip-btn {
  display: block;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
  line-height: 1.4;
}

.pyt-gate-skip-btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
}

.pyt-gate-privacy {
  margin-top: 0.85rem;
  color: rgba(255,255,255,0.25);
  font-size: 0.72rem;
  text-align: center;
  line-height: 1.5;
}


/* =============================================================================
   OFFER CARD IMPROVEMENTS
   ============================================================================= */

/* Offer card CTA — hover improvement for all cards */
.pyt-offer-card__cta:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ── Pending offer cards (Viator product code not yet set) ────────────────
   These render when an offer URL still contains VIATOR_PRODUCT_CODE.
   The card is visible to show what's coming, but the CTA is disabled
   to prevent routing users to a broken/generic Viator search page.
   ─────────────────────────────────────────────────────────────────────── */

.pyt-offer-card--pending {
  opacity: 0.72;
}

.pyt-offer-card--pending .pyt-offer-card__image-wrap {
  position: relative;
}

/* "Coming Soon" ribbon over the image */
.pyt-offer-card__pending-label {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  background: rgba(18, 32, 46, 0.80);
  color: rgba(255, 255, 255, 0.80);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Disabled CTA button — not clickable, clearly inactive */
.pyt-offer-card__cta--pending {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg-light);
  color: var(--color-text-light);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: default;
  letter-spacing: 0.03em;
  user-select: none;
}

/* Category + featured pill row */
.pyt-offer-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.pyt-offer-card__meta .pyt-offer-card__category {
  margin-bottom: 0;
}

.pyt-offer-card__price {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
  margin-left: auto;
}

.pyt-offer-featured-pill {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(184,150,106,0.12);
  border: 1px solid rgba(184,150,106,0.3);
  border-radius: 100px;
  padding: 0.2rem 0.55rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Featured offer — elevated visual treatment */
.pyt-offer-card--featured {
  border: 1.5px solid rgba(184,150,106,0.35);
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07), 0 0 0 4px rgba(184,150,106,0.06);
}


/* =============================================================================
   ANSWER SUMMARY — quiz recap shown above results
   ============================================================================= */

.pyt-answer-summary {
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #f8f6f2 0%, #faf9f7 100%);
  border: 1px solid rgba(184,150,106,0.2);
  border-radius: 14px;
}

.pyt-answer-summary__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold, #b8966a);
  margin: 0 0 0.85rem;
}

.pyt-answer-summary__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pyt-answer-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.75rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text, #1a1a1a);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  white-space: nowrap;
}

.pyt-answer-chip__emoji {
  font-size: 0.95rem;
  line-height: 1;
}

.pyt-answer-chip__label {
  color: var(--color-text-muted, #555);
}

@media (max-width: 480px) {
  .pyt-answer-summary {
    padding: 1rem 1rem;
  }
  .pyt-answer-chip {
    font-size: 0.75rem;
    padding: 0.32rem 0.6rem;
  }
}

.pyt-offer-card--featured .pyt-offer-card__cta {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.pyt-offer-card--featured .pyt-offer-card__cta:hover {
  background: #b03d31;
  border-color: #b03d31;
}

/* Match card "currently viewing" ghost state */
.pyt-match-card .pyt-btn--ghost-dark {
  background: rgba(0,0,0,0.18);
  color: rgba(255,255,255,0.65);
  border-color: rgba(255,255,255,0.2);
  font-weight: 500;
}

.pyt-match-card .pyt-btn--ghost-dark:hover {
  background: rgba(0,0,0,0.28);
  color: rgba(255,255,255,0.85);
}


/* =============================================================================
   RESPONSIVE — SMALL PHONES  (≤ 420px)
   ============================================================================= */

@media (max-width: 420px) {
  /* Quiz */
  .pyt-quiz-inner {
    padding: 1.75rem 1rem 4rem;
  }

  .pyt-question-heading {
    font-size: 1.3rem;
  }

  .pyt-option {
    min-height: 60px;
    padding: 0.875rem 1rem;
    gap: 0.75rem;
  }

  .pyt-option-emoji {
    font-size: 1.35rem;
  }

  /* Trust bar: hide separators, minimal padding */
  .pyt-trust-bar {
    padding: 0.5rem 0.75rem;
  }
  .pyt-trust-item {
    padding: 0.3rem 0.65rem;
    font-size: 0.7rem;
    border-right: none;
  }

  /* Match cards */
  .pyt-match-card__body {
    padding: 1.1rem 1.1rem 1.25rem;
  }

  /* Detail hero: compact on tiny screens */
  .pyt-detail__hero {
    min-height: 200px;
  }

  /* Stats: keep 2-col, tighten text */
  .pyt-stat {
    padding: 0.7rem 0.3rem;
  }
  .pyt-stat__value {
    font-size: 0.75rem;
  }

  /* Email gate */
  .pyt-gate-match-dest {
    font-size: 1.5rem;
  }

  .pyt-gate-heading {
    font-size: 1.2rem;
  }

  .pyt-gate-perks {
    font-size: 0.83rem;
  }

  .pyt-gate-field input {
    font-size: 1rem; /* prevent iOS zoom */
  }

  .pyt-gate-submit {
    padding: 0.95rem 1rem;
    font-size: 0.95rem;
  }
}
