/*
 * ThePetChef — Trial Pack  v5  (State-of-the-art)
 * Palette: Dark green #2d4a3e · Amber CTA #c9833c · Linen #f8f1e9
 *          Stone #5f6f68 · Gold #c9a96e · Text #2d302b
 */

/* ── Base tokens ────────────────────────────────────────────────────────── */
.pct-wrap {
  --g:   #2d4a3e;
  --g2:  #3d6b57;
  --glt: #edf3f0;
  --cta: #c9833c;
  --cta2:#b3722f;
  --ln:  #f8f1e9;
  --ln2: #ede4d8;
  --tp:  #d1b2a0;
  --tx:  #2d302b;
  --mid: #4a4f46;
  --mut: #8a8f86;
  --bdr: #e0d9d1;
  --wh:  #ffffff;
  --r:   12px;
  --r2:  20px;
  --r3:  28px;
  --sh:  0 4px 24px rgba(45,74,62,.08);
  --sh2: 0 16px 48px rgba(45,74,62,.14);
  --tr:  .17s ease;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--tx);
  background: var(--ln);
}
.pct-wrap *, .pct-wrap *::before, .pct-wrap *::after { box-sizing: border-box; }
.pct-wrap-inner { max-width: 1140px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px); }

/* ── Section headings ────────────────────────────────────────────────────── */
.pct-sh { text-align: center; margin-bottom: 52px; }
.pct-sh h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 900; letter-spacing: -.025em;
  margin: 10px 0 10px; color: var(--tx);
}
.pct-sh p { color: var(--mid); font-size: 1rem; margin: 0; }
.pct-sh p strong { color: var(--tx); }

/* Eyebrow pill */
.pct-eyebrow {
  display: inline-block;
  font-size: .7rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 50px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
  margin-bottom: 20px;
}
.pct-eyebrow--dark {
  background: var(--glt);
  border-color: rgba(45,74,62,.18);
  color: var(--g);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO — Full green (no image)
══════════════════════════════════════════════════════════════════════════ */
.pct-hero {
  position: relative;
  overflow: hidden;
}

.pct-hero--full {
  background: var(--g);
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 10vh, 130px) clamp(24px, 6vw, 80px);
}
.pct-hero--full .pct-hero__copy {
  text-align: center;
  max-width: 700px;
  position: relative;
  z-index: 2;
}

/* Decorative blobs */
.pct-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.pct-blob--1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(201,131,60,.18) 0%, transparent 70%);
  top: -140px; right: -140px;
}
.pct-blob--2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(201,169,110,.12) 0%, transparent 70%);
  bottom: -100px; left: -80px;
}

/* ── HERO — Split (with image) ─────────────────────────────────────────── */
.pct-hero--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 92svh;
  background: var(--wh);
}
.pct-hero--split .pct-hero__img-side {
  position: relative;
  background: var(--ln2);
  overflow: hidden;
}
.pct-hero--split .pct-hero__photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.pct-hero--split .pct-hero__copy {
  padding: clamp(48px,6vw,96px) clamp(32px,5vw,80px);
  display: flex; flex-direction: column;
  justify-content: center;
  background: var(--wh);
  position: relative;
  z-index: 2;
}
/* Switch blob colors for white bg */
.pct-hero--split .pct-blob--1 { background: radial-gradient(circle, rgba(201,131,60,.07) 0%, transparent 70%); }
.pct-hero--split .pct-blob--2 { background: radial-gradient(circle, rgba(45,74,62,.06) 0%, transparent 70%); }
.pct-hero--split .pct-eyebrow {
  background: var(--glt); border-color: rgba(45,74,62,.18); color: var(--g);
}
.pct-hero--split .pct-hero__h1  { color: var(--tx); }
.pct-hero--split .pct-hero__lead { color: var(--mid); }
.pct-hero--split .pct-chips .pct-chip {
  background: var(--ln); border-color: var(--bdr); color: var(--mid);
}
.pct-hero--split .pct-cta-sub { color: var(--mid); }
.pct-hero--split .pct-price-display { color: var(--cta); }

/* ── Hero copy content ───────────────────────────────────────────────────── */
.pct-hero__h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: #fff;
  margin: 0 0 18px;
}
.pct-hero__lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  margin: 0 0 36px;
}

/* Value chips row */
.pct-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.pct-hero--split .pct-chips { justify-content: flex-start; }
.pct-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 700;
  padding: 7px 16px;
  border-radius: 50px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.88);
  white-space: nowrap;
}

/* CTA block */
.pct-cta-block {
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
}
.pct-hero--split .pct-cta-block { align-items: flex-start; }

.pct-hero-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cta);
  color: #fff;
  font-size: 1rem; font-weight: 800;
  padding: 17px 40px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  box-shadow: 0 8px 28px rgba(201,131,60,.45);
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
  letter-spacing: .01em;
}
.pct-hero-btn:hover {
  background: var(--cta2);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(201,131,60,.5);
  color: #fff;
}

.pct-cta-sub {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}
.pct-price-display { font-weight: 900; font-size: 1.05rem; color: var(--cta); }
.pct-price-sep     { opacity: .4; }

/* ═══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════════════════════════════════ */
.pct-how {
  padding: 96px 0;
  background: var(--wh);
  border-bottom: 1px solid var(--bdr);
}
.pct-steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2px;
  background: var(--bdr);
  border-radius: var(--r2);
  overflow: hidden;
}
.pct-step {
  background: var(--wh);
  padding: 40px 36px;
  position: relative;
  transition: background var(--tr);
}
.pct-step:hover { background: var(--ln); }
.pct-step__n {
  font-size: 2.8rem; font-weight: 900;
  color: var(--ln2); line-height: 1;
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}
.pct-step h3 {
  font-size: 1.05rem; font-weight: 800;
  margin: 0 0 10px; color: var(--tx);
}
.pct-step p {
  font-size: .875rem; color: var(--mid);
  line-height: 1.65; margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUILDER
══════════════════════════════════════════════════════════════════════════ */
.pct-builder { padding: 96px 0 180px; }

/* Progress tracker */
.pct-tracker {
  display: flex; align-items: center; gap: 20px;
  background: var(--wh);
  border: 1px solid var(--bdr);
  border-radius: 50px;
  padding: 14px 24px;
  margin-bottom: 40px;
  box-shadow: var(--sh);
}
.pct-tracker__bar {
  flex: 1; height: 4px;
  background: var(--ln2); border-radius: 4px; overflow: hidden;
}
.pct-tracker__fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--g), var(--cta));
  border-radius: 4px;
  transition: width .35s cubic-bezier(.4,0,.2,1);
}
.pct-tracker__dots { display: flex; gap: 8px; }
.pct-tdot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--bdr);
  background: var(--wh);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 800; color: var(--mut);
  transition: all .2s ease;
}
.pct-tdot.on {
  background: var(--cta); border-color: var(--cta);
  color: #fff; transform: scale(1.1);
}
.pct-tdot.full { background: var(--g); border-color: var(--g); color: #fff; }
.pct-tracker__label {
  font-size: .85rem; color: var(--mid); white-space: nowrap;
  font-weight: 600;
}
.pct-tracker__label b { color: var(--cta); font-size: 1rem; }

/* Grid */
.pct-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px,1fr));
  gap: 20px;
  margin-bottom: 36px;
}

/* ── Product card ────────────────────────────────────────────────────────── */
.pct-card {
  background: var(--wh);
  border: 2px solid var(--bdr);
  border-radius: var(--r2);
  overflow: hidden;
  display: flex; flex-direction: column;
  cursor: default;
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
}
.pct-card:hover { box-shadow: var(--sh); transform: translateY(-3px); }
.pct-card.sel {
  border-color: var(--cta);
  box-shadow: 0 0 0 4px rgba(201,131,60,.13), var(--sh);
}
.pct-card.pct-out { opacity: .4; pointer-events: none; }

/* Photo */
.pct-card__photo {
  position: relative;
  aspect-ratio: 1;
  background: var(--ln);
  overflow: hidden;
  flex-shrink: 0;
}
.pct-card__img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s ease;
}
.pct-card:hover .pct-card__img { transform: scale(1.05); }

/* Gram tag (bottom-left) */
.pct-card__grams-tag {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(45,74,62,.82);
  color: #fff; font-size: .68rem; font-weight: 800;
  padding: 3px 10px; border-radius: 50px;
  letter-spacing: .05em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
/* Variant tag (top-left) */
.pct-card__var-tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--cta); color: #fff;
  font-size: .65rem; font-weight: 800;
  padding: 3px 10px; border-radius: 50px;
  text-transform: uppercase; letter-spacing: .07em;
}
.pct-card.var-ok .pct-card__var-tag { display: none; }

/* Count badge (top-right, visible when selected) */
.pct-card__count-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--cta); color: #fff;
  width: 28px; height: 28px; border-radius: 50%;
  font-size: .82rem; font-weight: 900;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(201,131,60,.45);
}
.pct-card.sel .pct-card__count-badge { display: flex; }

/* Info */
.pct-card__info {
  padding: 16px 16px 18px;
  display: flex; flex-direction: column;
  gap: 8px; flex: 1;
}
.pct-card__name { font-size: .97rem; font-weight: 800; margin: 0; line-height: 1.25; color: var(--tx); }
.pct-card__desc { font-size: .78rem; color: var(--mut); margin: 0; line-height: 1.5; }

/* Variant pills */
.pct-variants { display: flex; flex-direction: column; gap: 10px; }
.pct-attr { display: flex; flex-direction: column; gap: 5px; }
.pct-attr__label {
  font-size: .67rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--mut);
}
.pct-attr__pills { display: flex; flex-wrap: wrap; gap: 5px; }
.pct-pill {
  padding: 4px 12px;
  border: 1.5px solid var(--bdr);
  border-radius: 50px;
  font-size: .78rem; font-weight: 700;
  color: var(--mid); background: transparent;
  cursor: pointer; transition: all var(--tr);
  font-family: inherit;
}
.pct-pill:hover { border-color: var(--cta); color: var(--cta); }
.pct-pill.active { background: var(--cta); border-color: var(--cta); color: #fff; }
.pct-var-hint { font-size: .74rem; color: var(--cta); font-weight: 700; margin: 0; }
.pct-card.var-ok .pct-var-hint { display: none; }

/* Qty control — locked for unresolved variants */
.pct-qty {
  display: flex; align-items: center;
  border: 1.5px solid var(--bdr);
  border-radius: 50px; overflow: hidden;
  margin-top: auto;
  transition: opacity var(--tr);
}
.pct-card--var:not(.var-ok) .pct-qty { opacity: .35; pointer-events: none; }

.pct-q-btn {
  width: 42px; height: 42px;
  border: none; background: transparent;
  font-size: 1.35rem; font-weight: 700;
  color: var(--g); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background var(--tr);
  font-family: inherit;
}
.pct-q-btn:hover:not([disabled]) { background: var(--glt); }
.pct-q-btn[disabled] { color: var(--bdr); cursor: not-allowed; }
.pct-q-num {
  flex: 1; text-align: center;
  font-size: 1rem; font-weight: 900;
  border-left: 1.5px solid var(--bdr);
  border-right: 1.5px solid var(--bdr);
  height: 42px; line-height: 42px;
  color: var(--tx);
}

/* Message */
.pct-msg {
  padding: 14px 20px; border-radius: var(--r);
  font-weight: 700; font-size: .9rem; margin-top: 12px;
}
.pct-msg--error   { background: #fff0f0; color: #a00; border: 1px solid #fcc; }
.pct-msg--success { background: #f0faf3; color: #1a7030; border: 1px solid #aeddbf; }

/* Claimed */
.pct-claimed {
  text-align: center;
  background: var(--wh); border: 1px solid var(--bdr);
  border-radius: var(--r2); padding: 48px;
  max-width: 480px; margin: 0 auto;
}
.pct-claimed__icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--g); color: #fff;
  font-size: 1.4rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.pct-claimed strong { display: block; font-size: 1.05rem; margin-bottom: 8px; }
.pct-claimed p { color: var(--mut); margin: 0; font-size: .9rem; }
.pct-claimed a { color: var(--cta); font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════════════════
   STICKY CART BAR
══════════════════════════════════════════════════════════════════════════ */
.pct-sticky {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 990;
  background: var(--g);
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.pct-sticky.on { transform: translateY(0); }
.pct-sticky__in {
  max-width: 1140px; margin: 0 auto;
  padding: 16px clamp(20px,5vw,72px);
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.pct-sticky__heading {
  font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.5);
  margin-bottom: 3px;
}
.pct-sticky__detail {
  font-size: .88rem; font-weight: 600;
  color: rgba(255,255,255,.85);
  max-width: 440px; overflow: hidden;
  white-space: nowrap; text-overflow: ellipsis;
}
.pct-sticky__right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.pct-sticky__price {
  font-size: .9rem; font-weight: 700;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
}

/* Go button */
.pct-go-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cta); color: #fff;
  font-size: .92rem; font-weight: 800;
  padding: 12px 28px; border-radius: 50px;
  border: none; cursor: pointer;
  font-family: inherit;
  box-shadow: 0 6px 20px rgba(201,131,60,.4);
  transition: background var(--tr), transform var(--tr);
  white-space: nowrap;
}
.pct-go-btn:hover:not([disabled]) { background: var(--cta2); transform: translateY(-1px); }
.pct-go-btn[disabled] {
  background: rgba(255,255,255,.15);
  box-shadow: none; cursor: not-allowed;
  color: rgba(255,255,255,.45);
}

/* Spinner */
.pct-spin {
  width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .65s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════════════════════
   TRUST STRIP
══════════════════════════════════════════════════════════════════════════ */
.pct-trust {
  background: var(--tx);
  padding: 44px 0;
}
.pct-trust .pct-wrap-inner {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 32px;
  border-left: 1px solid rgba(255,255,255,.08);
}
.pct-trust__item {
  padding-left: 28px;
  border-left: none;
}
.pct-trust__item strong {
  display: block; color: #fff;
  font-size: .92rem; font-weight: 800;
  margin-bottom: 4px;
}
.pct-trust__item span {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .pct-hero--split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .pct-hero--split .pct-hero__img-side { min-height: 320px; }
  .pct-hero--split .pct-hero__copy {
    padding: 48px 32px;
    text-align: center;
  }
  .pct-hero--split .pct-chips      { justify-content: center; }
  .pct-hero--split .pct-cta-block  { align-items: center; }
  .pct-steps { grid-template-columns: 1fr; gap: 2px; }
  .pct-trust .pct-wrap-inner { grid-template-columns: repeat(2,1fr); }
  .pct-tracker { flex-wrap: wrap; border-radius: var(--r2); }
}
@media (max-width: 640px) {
  .pct-hero--full { min-height: auto; padding: 80px 24px; }
  .pct-hero__h1   { font-size: clamp(2rem,8vw,2.8rem); }
  .pct-chips      { gap: 8px; }
  .pct-chip       { font-size: .74rem; padding: 6px 13px; }
  .pct-grid       { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .pct-trust .pct-wrap-inner { grid-template-columns: 1fr 1fr; }
  .pct-sticky__in { flex-direction: column; gap: 12px; text-align: center; }
  .pct-sticky__right { flex-direction: column; gap: 10px; width: 100%; }
  .pct-go-btn     { width: 100%; justify-content: center; }
  .pct-sticky__detail { max-width: 100%; text-align: center; }
  .pct-tracker__bar { display: none; }
}
@media (max-width: 420px) {
  .pct-grid { grid-template-columns: 1fr; }
  .pct-trust .pct-wrap-inner { grid-template-columns: 1fr; }
}
