/* ==========================================================================
   PROMPT FASHION LAB (PFL) - PRE-CHECKOUT UPSELL STYLES
   Visual Direction: Fashion Moodboard × Editorial Magazine × Creative Reference
   Compact Flow: Immediate Choice Without Excessive Scrolling
   ========================================================================== */

/* --- Top Pre-Checkout Alert Banner --- */
.upsell-status-bar {
  background-color: var(--color-black);
  color: var(--color-ivory);
  border-bottom: 1px solid rgba(247, 243, 234, 0.12);
  padding: 0.75rem 0;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 50;
}

.upsell-status-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.upsell-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.status-icon-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--color-yellow);
  color: var(--color-black);
  font-size: 0.8rem;
  font-weight: 800;
}

.upsell-step-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-grotesk);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-yellow);
  background: rgba(243, 227, 108, 0.12);
  border: 1px solid rgba(243, 227, 108, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: 40px;
}

/* --- Compact Hero Section --- */
.upsell-hero-section {
  padding: 2.75rem 0 3.5rem;
  background-color: var(--color-ivory);
  position: relative;
  border-bottom: 1px solid rgba(32, 32, 32, 0.1);
}

.hero-eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-grotesk);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-coral);
  background-color: rgba(241, 107, 85, 0.1);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.hero-main-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--color-black);
}

.hero-subtitle-transition {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 2.25rem;
  color: rgba(32, 32, 32, 0.85);
}

/* --- Immediate Decision Grid (Choice Above The Fold) --- */
.precheckout-decision-wrapper {
  max-width: 1040px;
  margin: 0 auto 2.5rem;
}

.choice-grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.75rem;
  align-items: stretch;
}

@media (max-width: 860px) {
  .choice-grid-two-col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.choice-card {
  background: #FFFFFF;
  border: 2px solid var(--color-black);
  padding: 2rem 1.75rem;
  box-shadow: 6px 6px 0 var(--color-black);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.choice-card.card-recommended {
  background: #FFFDF5;
  border: 2.5px solid var(--color-black);
  box-shadow: 8px 8px 0 var(--color-yellow);
}

.card-badge-top {
  position: absolute;
  top: -13px;
  left: 20px;
  font-family: var(--font-grotesk);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

.badge-standard {
  background-color: var(--color-black);
  color: var(--color-ivory);
}

.badge-upgrade {
  background-color: var(--color-yellow);
  color: var(--color-black);
  border: 1.5px solid var(--color-black);
}

.choice-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(32, 32, 32, 0.1);
}

.choice-header h3 {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-black);
  margin-bottom: 0.35rem;
}

.choice-header p {
  font-size: 0.88rem;
  color: rgba(32, 32, 32, 0.7);
  line-height: 1.4;
}

.choice-pricing-row {
  margin: 1.25rem 0 1.5rem;
}

.price-main-display {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price-main-display .curr {
  font-size: 1.5rem;
  font-weight: 700;
}

.price-main-display .amount {
  font-family: var(--font-grotesk);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.price-main-display .period {
  font-size: 0.82rem;
  opacity: 0.65;
}

.price-sub-note {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-coral);
  margin-top: 0.35rem;
}

.choice-feature-list {
  list-style: none;
  margin: 0 0 1.75rem 0;
  padding: 0;
  flex-grow: 1;
}

.choice-feature-list li {
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(32, 32, 32, 0.88);
}

.choice-feature-list li .f-check {
  font-weight: 800;
  color: #27AE60;
  flex-shrink: 0;
}

.choice-feature-list li .f-plus {
  font-weight: 800;
  color: var(--color-coral);
  flex-shrink: 0;
}

/* Action Buttons */
.btn-choice-upgrade {
  display: block;
  width: 100%;
  background-color: var(--color-black);
  color: var(--color-yellow);
  font-family: var(--font-grotesk);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 1.15rem 1.25rem;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--color-black);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 4px 4px 0 var(--color-yellow);
}

.btn-choice-upgrade:hover {
  background-color: #000;
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 var(--color-yellow);
}

.btn-choice-standard {
  display: block;
  width: 100%;
  background-color: transparent;
  color: var(--color-black);
  font-family: var(--font-grotesk);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 1.1rem 1.25rem;
  text-align: center;
  text-decoration: none;
  border: 1.5px solid var(--color-black);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-choice-standard:hover {
  background-color: var(--color-black);
  color: var(--color-ivory);
}

.btn-subtext {
  font-size: 0.76rem;
  text-align: center;
  margin-top: 0.65rem;
  color: rgba(32, 32, 32, 0.6);
}

/* --- Quick Preview: The Core Problem & 2 Libraries --- */
.section-compact-libraries {
  padding: 3.5rem 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid rgba(32, 32, 32, 0.1);
}

.compact-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.compact-header h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.compact-header p {
  font-size: 1.02rem;
  color: rgba(32, 32, 32, 0.8);
  line-height: 1.6;
}

.libraries-compact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1040px;
  margin: 0 auto;
  text-align: left;
}

@media (max-width: 820px) {
  .libraries-compact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.lib-compact-card {
  background-color: #FFFFFF;
  border: 1.5px solid var(--color-black);
  padding: 1.75rem;
  box-shadow: 6px 6px 0 var(--color-black);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.lib-card-top-preview {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: center;
}

@media (max-width: 480px) {
  .lib-card-top-preview {
    grid-template-columns: 1fr;
  }
}

.lib-compact-cover {
  box-shadow: 4px 6px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(32, 32, 32, 0.15);
  overflow: hidden;
}

.lib-compact-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.lib-compact-summary h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.lib-compact-summary p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(32, 32, 32, 0.8);
}

.lib-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.lib-pill {
  font-family: var(--font-grotesk);
  font-size: 0.7rem;
  font-weight: 700;
  background-color: #FFFFFF;
  border: 1px solid rgba(32, 32, 32, 0.2);
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  color: var(--color-black);
}

.lib-inside-strip {
  border: 1px solid rgba(32, 32, 32, 0.15);
  background: #FFFFFF;
  padding: 0.4rem;
}

.lib-inside-strip img {
  width: 100%;
  height: auto;
  display: block;
}

.lib-card-takeaway {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-coral);
  padding-left: 0.75rem;
  border-left: 2px solid var(--color-coral);
}

/* --- Section 6: Show, Don't Just Tell (Compact Visual Grid) --- */
.section-visual-compact {
  background-color: var(--color-black);
  color: var(--color-ivory);
  padding: 3.5rem 0;
}

.visual-compact-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.25rem;
}

.visual-compact-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--color-ivory);
  margin-bottom: 0.5rem;
}

.visual-compact-header p {
  font-size: 0.95rem;
  color: rgba(247, 243, 234, 0.8);
  line-height: 1.55;
}

.visual-proof-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}

@media (max-width: 1024px) {
  .visual-proof-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 680px) {
  .visual-proof-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.85rem;
    padding: 0.25rem 0.25rem 1rem;
    -webkit-overflow-scrolling: touch;
  }
  .proof-card {
    flex: 0 0 65%;
    scroll-snap-align: center;
  }
}

.visual-swipe-hint {
  display: none;
  font-family: var(--font-grotesk);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-yellow);
  text-align: center;
  margin-bottom: 1rem;
}

@media (max-width: 680px) {
  .visual-swipe-hint {
    display: block;
  }
}

.proof-card {
  background-color: #1A1A1A;
  border: 1px solid rgba(247, 243, 234, 0.15);
  padding: 0.5rem;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.proof-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-yellow);
}

.proof-card-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  background-color: #262626;
}

.proof-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.proof-card-info {
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.proof-title {
  font-family: var(--font-grotesk);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-yellow);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proof-tag {
  font-family: var(--font-grotesk);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(247, 243, 234, 0.5);
}

/* --- How 3 Books Work Together (Compact Strip) --- */
.section-synergy-compact {
  padding: 3rem 0;
  background-color: var(--color-ivory);
  border-bottom: 1px solid rgba(32, 32, 32, 0.1);
}

.synergy-compact-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1.2fr;
  gap: 0.75rem;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .synergy-compact-flow {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.flow-mini-box {
  background: #FFFFFF;
  border: 1.5px solid var(--color-black);
  padding: 1.15rem 1rem;
  box-shadow: 3px 3px 0 var(--color-black);
  text-align: center;
}

.flow-mini-box .role-label {
  font-family: var(--font-grotesk);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-coral);
  display: block;
  margin-bottom: 0.25rem;
}

.flow-mini-box h5 {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
}

.flow-mini-box p {
  font-size: 0.78rem;
  font-style: italic;
  opacity: 0.75;
  margin-top: 0.2rem;
}

.flow-mini-plus {
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  color: var(--color-coral);
}

.flow-mini-arrow {
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  color: var(--color-black);
}

@media (max-width: 860px) {
  .flow-mini-arrow {
    transform: rotate(90deg);
  }
}

.flow-mini-result {
  background-color: var(--color-black);
  color: var(--color-ivory);
  border: 1.5px solid var(--color-black);
  padding: 1.25rem 1rem;
  box-shadow: 4px 4px 0 var(--color-yellow);
  text-align: center;
}

.flow-mini-result h5 {
  font-size: 1.05rem;
  color: var(--color-yellow);
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.flow-mini-result p {
  font-size: 0.76rem;
  color: rgba(247, 243, 234, 0.85);
  line-height: 1.4;
}

/* --- Bottom Reconfirmation Section --- */
.section-bottom-decision {
  padding: 3.5rem 0 4.5rem;
  background-color: #FFFFFF;
}

.bottom-decision-box {
  max-width: 780px;
  margin: 0 auto;
  border: 2px solid var(--color-black);
  padding: 2.5rem 2rem;
  box-shadow: 6px 6px 0 var(--color-black);
  text-align: center;
}

.bottom-decision-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

/* --- Mobile Sticky Decision Bar --- */
.mobile-sticky-decision-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  border-top: 1.5px solid var(--color-black);
  padding: 0.65rem 1rem;
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  z-index: 999;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .mobile-sticky-decision-bar {
    display: flex;
  }
}

.sticky-choice-btn-upgrade {
  flex: 1.2;
  background-color: var(--color-black);
  color: var(--color-yellow);
  font-family: var(--font-grotesk);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.7rem 0.6rem;
  border: 1px solid var(--color-black);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  box-shadow: 2px 2px 0 var(--color-yellow);
}

.sticky-choice-btn-standard {
  flex: 1;
  background-color: transparent;
  color: var(--color-black);
  font-family: var(--font-grotesk);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.65rem 0.5rem;
  border: 1px solid var(--color-black);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}
