/* =========================================================
   Bootleg Gift — Trainer Card PDP (warm-editorial, pink).
   Shared chrome (promo/header/switch/btn/reviews/footer) is in
   theme.css. This file = card-page-specific styles.
   ========================================================= */

/* ===== Two-column hero ===== */
.pdp__cols {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px) var(--gutter) clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  align-items: start;
}

/* ----- Gallery (sticky on desktop) ----- */
.gallery { position: sticky; top: 84px; align-self: start; display: flex; flex-direction: column; gap: 12px; }
.gallery__main { margin: 0; aspect-ratio: 1 / 1; border: 1px solid var(--faint); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-soft); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.gallery__thumb { aspect-ratio: 1 / 1; padding: 0; border: 1px solid var(--faint); border-radius: 10px; overflow: hidden; background: var(--bg-soft); cursor: pointer; transition: border-color .12s ease, box-shadow .12s ease; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { border-color: var(--muted); }
.gallery__thumb.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

/* ----- Buy column ----- */
.buy { display: flex; flex-direction: column; gap: 16px; }
.buy__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--pill); background: var(--bg-soft); color: var(--muted); border: 1px solid var(--faint); }
.tag--hot { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; }
.buy__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -.02em; }
.buy__rating { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.buy__rating .stars { color: var(--star); letter-spacing: 1px; }
.buy__rating b { color: var(--ink); font-weight: 700; }

/* ----- Form as a guided builder ----- */
.form { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 30px); margin-top: 6px; }
.form__group { display: flex; flex-direction: column; gap: 16px; }
.form__glabel { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.f { display: flex; flex-direction: column; gap: 7px; }
.f__label { font-size: 13px; font-weight: 600; color: var(--ink); }
.f__label .req { color: var(--accent-text); margin-left: 1px; }
.f__help { margin: 0; font-size: 12.5px; color: var(--muted); }
.f input[type=text],
.f select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--faint);
  border-radius: var(--r);
  background: var(--surface);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.f input[type=text]::placeholder { color: #b6b1aa; }
.f input[type=text]:focus,
.f select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.f select {
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236f6a62' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* Option pills */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1px solid var(--faint); border-radius: var(--pill); background: var(--surface); font-size: 13.5px; font-weight: 600; color: var(--ink); transition: border-color .12s ease, background .12s ease, color .12s ease; }
.pill:hover { border-color: var(--muted); }
.pill.is-active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-text); }

/* Option tiles (card back) */
.tiles { display: flex; gap: 10px; }
.tile { flex: 1; padding: 14px 12px; border: 1px solid var(--faint); border-radius: var(--r); background: var(--surface); text-align: center; cursor: pointer; transition: border-color .12s ease, background .12s ease; }
.tile:hover { border-color: var(--muted); }
.tile.is-active { border-color: var(--accent); background: var(--accent-soft); }
.tile b { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.tile span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Segmented toggle (floating hearts) */
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--faint); border-radius: var(--pill); background: var(--bg); align-self: flex-start; }
.seg button { padding: 8px 16px; border-radius: var(--pill); font-size: 13.5px; font-weight: 600; color: var(--muted); transition: color .12s ease; }
.seg button.is-active { background: var(--ink); color: #fff; }

/* Compact upload field — horizontal so it fills the width and hugs its content */
.updrop { display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 14px; padding: 14px 16px; text-align: left; background: var(--surface); border: 1.5px dashed var(--faint); border-radius: var(--r); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.updrop:hover { border-color: var(--accent); }
.updrop.is-drag { border-color: var(--accent); background: var(--accent-soft); }
.updrop__icon { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border: 1.5px dashed var(--faint); border-radius: 12px; color: var(--accent-text); }
.updrop__icon svg { width: 22px; height: 22px; }
.updrop__body { flex: 1 1 auto; min-width: 0; }
.updrop__hint { margin: 0; font-weight: 700; font-size: 15px; }
.updrop__sub { margin: 1px 0 0; font-size: 12.5px; color: var(--muted); }
.updrop__btn { flex-shrink: 0; padding: 10px 18px; border-radius: var(--pill); background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; transition: background .15s ease; }
.updrop__btn:hover { background: var(--accent-hover); }
.uploaded { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--faint); border-radius: var(--r); background: var(--surface); }
.uploaded img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.uploaded__name { flex: 1; font-size: 13px; font-weight: 600; color: var(--ink); word-break: break-word; }
.uploaded__rm { font-size: 12px; font-weight: 700; color: var(--accent-text); }

/* CTA + trust */
.buy__cta { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.buy__ctahint { margin: 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.buy__ctahint .stars { color: var(--star); letter-spacing: 1px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px 18px; margin: 6px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--faint); }
.feature { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink); }
.feature svg { width: 17px; height: 17px; color: var(--muted); flex-shrink: 0; }
.guarantee { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: 13px; font-weight: 600; color: var(--ink); }
.guarantee svg { width: 16px; height: 16px; color: var(--accent-text); }

/* ===== Press strip (quiet) ===== */
.press { margin: 0 auto; padding: clamp(28px, 4vw, 44px) 0; text-align: center; border-top: 1px solid var(--faint); }
.press__label { margin: 0 0 18px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
/* infinite logo ticker — fades at both edges, pauses on hover */
.press__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.press__track { display: inline-flex; align-items: center; width: max-content; animation: pressScroll 28s linear infinite; }
.press__track:hover { animation-play-state: paused; }
/* margin-right (not flex gap) so translateX(-50%) loops seamlessly */
.press__track span { margin-right: clamp(34px, 5vw, 56px); color: #a8a299; font-size: 18px; font-weight: 800; letter-spacing: .01em; white-space: nowrap; }
.press__track .s-serif { font-family: var(--font-display); font-weight: 600; font-style: italic; }
.press__track .press__sp { letter-spacing: .2em; }
/* press logos in their real brand colors */
.press__track .p-cnn { color: #cc0000; }   /* CNN red */
.press__track .p-bf  { color: #ee3322; }   /* BuzzFeed red */
.press__track .p-rs  { color: #ee6c2c; }   /* Real Simple orange */
.press__track .p-mc  { color: #1a1a1a; }   /* marie claire black */
.press__track .p-br  { color: #6e2c8f; }   /* BRIDES purple */
@keyframes pressScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== FAQ ===== */
.faq { background: var(--bg-soft); border-top: 1px solid var(--faint); padding: var(--section) var(--gutter) clamp(28px, 4vw, 44px); }
.faq__inner { max-width: 760px; margin: 0 auto; }
.faq__title { margin: 0 0 clamp(18px, 3vw, 32px); text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.01em; }
.faq__item { border-bottom: 1px solid var(--faint); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ic { position: relative; flex-shrink: 0; width: 16px; height: 16px; color: var(--muted); transition: transform .2s ease; }
.faq__item summary .ic::before,
.faq__item summary .ic::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.faq__item summary .ic::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq__item summary .ic::after { left: 7px; top: 0; width: 2px; height: 16px; transition: opacity .2s ease; }
.faq__item[open] summary .ic::after { opacity: 0; }
.faq__item p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 64ch; }

/* ===== Mobile sticky CTA ===== */
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 253, 251, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--faint); }
.stickybar__hint { margin: 0 0 6px; text-align: center; font-size: 11.5px; color: var(--muted); }
.stickybar .btn { width: 100%; max-width: none; padding: 14px; font-size: 16px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .pdp__cols { grid-template-columns: 1fr; gap: 26px; }
  .gallery { position: static; }
  .gallery__thumbs { grid-template-columns: repeat(6, 1fr); }
  .stickybar.is-show { display: block; }
  .footer { padding-bottom: 88px; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .press__logos span { font-size: 16px; }
}
