/* Generated from assets/scss/pages/trade-offers.scss by scripts/build-css.mjs. Do not edit; edit the .scss source. */
@charset "UTF-8";
/* Limited-time trade offers (trade-offers.php, includes/trade-offers.php).
   Design: OpenDesign "Vixeoo trade offers page" (refined tech), on the site tokens.
   Colours follow the store accent (Settings sets --accent, --accent-text and
   --accent-hover per theme); dark values follow html[data-theme="dark"]. */
.pf-tox {
  --tox-radius: var(--rf-r-panel, 20px);
  --tox-radius-sm: 12px;
  --tox-accent-ink: var(--accent-text, var(--accent));
  --tox-btn-hover: var(--accent-hover, var(--accent));
  --tox-urgent: #b4232c;
  --tox-urgent-soft: #fdecec;
  --tox-cover-a: color-mix(in srgb, var(--accent) 8%, var(--surface));
  --tox-cover-b: color-mix(in srgb, var(--accent) 18%, var(--surface));
  --tox-shadow: 0 1px 2px rgb(20 22 40 / .06), 0 8px 24px -12px rgb(20 22 40 / .14);
}

html[data-theme=dark] .pf-tox {
  --tox-urgent: #ff9a8f;
  --tox-urgent-soft: #3b1d1f;
  --tox-shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 28px -14px rgb(0 0 0 / .6);
}

body:not(.pf-admin) .pf-tox :is(h1, h2, h3) {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-head);
  letter-spacing: -0.02em;
}

.pf-tox p {
  margin: 0;
}

.pf-tox :focus-visible {
  outline: 2px solid var(--tox-accent-ink);
  outline-offset: 3px;
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.pf-tox-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  padding: 24px 0 40px;
}

.pf-tox-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px !important;
  color: var(--tox-accent-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body:not(.pf-admin) .pf-tox-hero h1 {
  max-width: 14ch;
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  line-height: 1.02;
  text-wrap: balance;
}

.pf-tox-lede {
  max-width: 60ch;
  margin-top: 18px !important;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
  text-wrap: pretty;
}

.pf-tox-lede a {
  color: var(--tox-accent-ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

.pf-tox-lede a:hover {
  color: var(--ink);
}

.pf-tox-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.pf-tox-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.pf-tox-trust .bi {
  color: var(--ok);
  font-size: 16px;
}

.pf-tox-summary {
  min-width: 240px;
  margin: 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--tox-radius);
  background: var(--surface);
  box-shadow: var(--tox-shadow);
}

.pf-tox-summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.pf-tox-summary__row + .pf-tox-summary__row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.pf-tox-summary dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.pf-tox-summary dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: right;
}

.pf-tox-summary dd.is-big {
  font-size: 28px;
}

/* ── Sections ─────────────────────────────────────────────────────── */
.pf-tox-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

body:not(.pf-admin) .pf-tox-head h2 {
  font-size: 22px;
  font-weight: 600;
}

.pf-tox-head p {
  color: var(--muted);
  font-size: 14px;
}

/* ── Offer cards ──────────────────────────────────────────────────── */
.pf-tox-offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pf-tox-offer {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "cover head" "cover prices" "foot foot";
  gap: 16px 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--tox-radius);
  background: var(--surface);
  box-shadow: var(--tox-shadow);
}

.pf-tox-offer.is-urgent {
  border-color: color-mix(in srgb, var(--tox-urgent) 45%, var(--line));
}

.pf-tox-cover {
  position: relative;
  display: flex;
  grid-area: cover;
  align-self: start;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--tox-radius-sm);
  background: linear-gradient(160deg, var(--tox-cover-a), var(--tox-cover-b));
}

.pf-tox-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--surface);
}

.pf-tox-cover__tag {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pf-tox-cover__name {
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.pf-tox-offer__head {
  grid-area: head;
  min-width: 0;
}

.pf-tox-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.pf-tox-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
}

.pf-tox-chip--count {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--tox-accent-ink);
}

.pf-tox-chip--urgent {
  border-color: transparent;
  background: var(--tox-urgent-soft);
  color: var(--tox-urgent);
}

.pf-tox-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pf-tox-pulse 1.6s ease-in-out infinite;
}

@keyframes pf-tox-pulse {
  50% {
    opacity: 0.35;
  }
}
body:not(.pf-admin) .pf-tox-offer h3 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}

.pf-tox-offer h3 a {
  color: inherit;
  text-decoration: none;
}

.pf-tox-offer h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pf-tox-ends {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px !important;
  color: var(--muted);
  font-size: 14px;
}

.pf-tox-offer.is-urgent .pf-tox-ends {
  color: var(--tox-urgent);
  font-weight: 600;
}

.pf-tox-prices {
  grid-area: prices;
  align-self: end;
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.pf-tox-prices thead th {
  padding: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-align: right;
}

.pf-tox-prices thead th:first-child {
  text-align: left;
}

.pf-tox-prices :is(td, tbody th) {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  vertical-align: baseline;
}

.pf-tox-prices tbody th {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}

.pf-tox-prices td {
  text-align: right;
  white-space: nowrap;
}

.pf-tox-credit {
  color: var(--tox-accent-ink);
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.pf-tox-prices td.pf-tox-cash {
  padding-left: 16px;
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.pf-tox-prices small {
  margin-left: 3px;
  color: var(--muted);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.pf-tox-none {
  color: var(--muted);
  font-size: 14px;
}

.pf-tox-offer__foot {
  display: flex;
  flex-wrap: wrap;
  grid-area: foot;
  align-items: center;
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

body:not(.pf-admin) .pf-tox-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

body:not(.pf-admin) .pf-tox-btn:hover {
  background: var(--tox-btn-hover);
  color: #fff;
}

.pf-tox-btn:active {
  transform: translateY(1px);
}

.pf-tox-btn:focus-visible {
  border-radius: 999px;
}

.pf-tox-quiet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
}

.pf-tox-quiet:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── How it works, fine print, empty state ────────────────────────── */
.pf-tox-how {
  margin-top: 56px;
}

.pf-tox-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pf-tox-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--tox-radius);
  background: var(--surface);
}

.pf-tox-step__num {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--tox-accent-ink);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
}

body:not(.pf-admin) .pf-tox-step h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.pf-tox-step p {
  margin-top: 4px !important;
  color: var(--muted);
  font-size: 14px;
}

.pf-tox-fine {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 72ch;
  margin-top: 28px !important;
  color: var(--muted);
  font-size: 13px;
}

.pf-tox-fine .bi {
  margin-top: 1px;
}

.pf-tox-empty {
  max-width: 560px;
  padding: 36px 24px;
  border: 1px solid var(--line);
  border-radius: var(--tox-radius);
  background: var(--surface);
  text-align: center;
}

.pf-tox-empty__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 22px;
}

.pf-tox-empty p {
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  text-wrap: balance;
}

.pf-tox-empty a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-top: 6px;
  color: var(--tox-accent-ink);
  font-size: 15px;
  font-weight: 600;
  text-underline-offset: 3px;
}

.pf-tox-empty a:hover {
  color: var(--ink);
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .pf-tox-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
  .pf-tox-summary {
    display: flex;
    min-width: 0;
    padding: 0;
  }
  .pf-tox-summary__row, .pf-tox-summary__row + .pf-tox-summary__row {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
    padding: 16px 18px;
    border-top: 0;
  }
  .pf-tox-summary__row + .pf-tox-summary__row {
    border-left: 1px solid var(--line);
  }
  .pf-tox-summary dd {
    text-align: left;
  }
  .pf-tox-summary dd.is-big {
    font-size: 22px;
  }
  .pf-tox-offers {
    grid-template-columns: minmax(0, 1fr);
  }
  .pf-tox-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}
@media (max-width: 560px) {
  .pf-tox-hero {
    padding: 12px 0 28px;
  }
  .pf-tox-lede {
    font-size: 16px;
  }
  .pf-tox-summary {
    flex-direction: column;
  }
  .pf-tox-summary__row, .pf-tox-summary__row + .pf-tox-summary__row {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
  .pf-tox-summary__row + .pf-tox-summary__row {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .pf-tox-summary dd {
    text-align: right;
  }
  .pf-tox-offer {
    grid-template-columns: 84px minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "cover head" "prices prices" "foot foot";
    column-gap: 14px;
    padding: 16px;
  }
  .pf-tox-cover {
    padding: 7px;
  }
  .pf-tox-cover__name {
    font-size: 10.5px;
  }
  .pf-tox-cover__tag {
    font-size: 8.5px;
  }
  body:not(.pf-admin) .pf-tox-offer h3 {
    font-size: 18px;
  }
  .pf-tox-credit {
    font-size: 20px;
  }
  .pf-tox-offer__foot {
    gap: 6px 16px;
  }
  .pf-tox-offer__foot .pf-tox-btn {
    flex: 1 1 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pf-tox-dot {
    animation: none;
  }
  .pf-tox-btn {
    transition: none;
  }
}
