.page-product { --product-wrap: var(--home-wrap); background: #070a0d; }
.product-wrap { width: min(calc(100% - 56px), var(--product-wrap)); margin-inline: auto; padding-inline: 0; }
.product-main { flex: 1; }

/* The product page used to restate the header with its own height, gaps and
   nav spacing, so the same menu sat differently depending on the page. It now
   inherits .site-head and .home-head like everywhere else, and keeps only what
   is genuinely its own: staying put while a long page scrolls. */
.product-head,
.product-head.is-scrolled { position: sticky; top: 0; width: 100%; background: rgba(7,10,13,.94); border-bottom: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(18px); }

.product-crumbs { display: flex; align-items: center; gap: 9px; min-height: 50px; color: rgba(255,255,255,.62); font-size: .8rem; }
.product-crumbs i { font-style: normal; color: rgba(255,255,255,.4); font-size: .95rem; line-height: 1; }
.product-crumbs a:hover { color: #fff; }
.product-crumbs span:last-child { min-width: 0; overflow: hidden; color: rgba(255,255,255,.75); text-overflow: ellipsis; white-space: nowrap; }

/* A fixed, narrow right column. As a fraction it grew with the page and stole
   width from the two images, which are the reason anyone is on this page. */
.product-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 24px; align-items: start; padding-bottom: 46px; }
.product-gallery { min-width: 0; }
/* Two generations side by side. Comparing a pair says more about a checkpoint
   than one image shown larger, and it is what every model site does. A lone
   image takes the whole row rather than leaving a hole beside it. */
.product-gallery { position: relative; }
.product-stage-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product-stage-row[data-count="1"] { grid-template-columns: 1fr; }
/* Portrait frames at a fixed ratio rather than a fixed height: the pair keeps
   its shape at every width instead of turning into two tall strips. */
.product-stage-wrap { position: relative; }
.product-stage { position: relative; width: 100%; aspect-ratio: 7 / 10; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: #11161b; cursor: zoom-in; }
.product-stage-row[data-count="1"] .product-stage { aspect-ratio: 4 / 3; }
.product-stage img,.product-stage video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease),filter .25s; }
.product-stage:hover img { transform: scale(1.015); }
.product-stage.is-gallery-blurred img,.product-stage.is-gallery-blurred video { filter: blur(24px) brightness(.55); transform: scale(1.12); }
.product-blur-label { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%,-50%); padding: 11px 16px; border: 1px solid rgba(255,255,255,.45); border-radius: 22px; background: rgba(8,11,14,.72); color: #fff; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.lb-media { position: relative; display: flex; align-items: center; justify-content: center; max-width: 100%; max-height: calc(100vh - 90px); }
.lb-media img,.lb-media video { display: block; max-width: 100%; max-height: calc(100vh - 90px); border-radius: 9px; object-fit: contain; }
.lb-media [hidden] { display: none; }
.lb-media.is-gallery-blurred img,.lb-media.is-gallery-blurred video { filter: blur(30px) brightness(.45); pointer-events: none; }
.lb-reveal { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%,-50%); padding: 13px 20px; border: 1px solid rgba(255,255,255,.45); border-radius: 24px; background: rgba(8,11,14,.82); color: #fff; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }

.product-arrow {
  position: absolute; z-index: 2; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  background: rgba(8,11,14,.72); color: #fff; backdrop-filter: blur(10px);
  transition: background .2s, opacity .2s;
}
.product-arrow:hover { background: rgba(8,11,14,.92); }
.product-arrow:disabled { opacity: .25; cursor: default; }
.product-arrow[hidden] { display: none !important; }
.product-arrow svg { width: 20px; height: 20px; }
.product-arrow-prev { left: -12px; }
.product-arrow-next { right: 10px; }

/* Position in the set, now that no thumbnail strip shows it. */
.product-gallery-count { margin-top: 14px; color: rgba(255,255,255,.62); font-size: .78rem; text-align: center; }
.product-zoom { position: absolute; right: 16px; bottom: 16px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: rgba(6,8,11,.7); font-size: .68rem; font-weight: 700; backdrop-filter: blur(10px); }

.product-buy { position: sticky; top: 100px; margin-top: 0; padding: 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: linear-gradient(150deg,rgba(21,25,31,.96),rgba(12,15,19,.96)); box-shadow: 0 25px 70px rgba(0,0,0,.26); }
.product-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.product-badges span { padding: 6px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(255,255,255,.045); font-size: .61rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.product-badges .is-accent { border-color: rgba(232,100,45,.45); color: var(--accent); }
.product-badges .is-premium { border-color: rgba(251,191,36,.3); color: #fbbf24; }
/* The title runs the full width above the gallery, the way every model site
   does it: you read what it is before you look at it, and the panel on the
   right is left to do one job, selling. */
.product-headline { padding-bottom: 18px; }
.product-headline-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; }
.product-headline h1 { font-size: clamp(1.9rem,3.4vw,2.6rem); line-height: 1.05; letter-spacing: -.04em; }
/* The version is the second half of the name, said more quietly. */
.product-title-version { color: rgba(255,255,255,.5); font-weight: 700; }

/* Figures beside the name, not in a panel: it is where anyone arriving from
   CivitAI or Tensor already looks for them. */
.product-stats { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.product-stat {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 13px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-full);
  background: rgba(255,255,255,.03); color: #fff; font-size: .8rem;
}
.product-stat svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.product-stat b { font-weight: 700; }

.product-headline-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-top: 12px; color: rgba(255,255,255,.45); font-size: .73rem;
}
.product-headline-meta b {
  padding: 5px 11px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--r-full);
  background: transparent; color: #fff;
  font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.product-headline-meta .is-accent { border-color: var(--accent); background: transparent; color: var(--accent); }
.product-headline-meta .is-premium { border-color: rgba(251,191,36,.32); color: #fbbf24; }
.product-headline-meta .is-free { border-color: rgba(74,222,128,.3); color: #4ade80; }
.character-tagline { margin-top: 7px; color: rgba(255,255,255,.66); font-size: .84rem; }
.page-character .product-headline-meta { margin-top: 10px; }
.page-character .product-headline-meta b:first-of-type { border-color: var(--accent); background: var(--accent); color: #fff; }
.product-headline .product-summary { max-width: 72ch; margin-top: 14px; color: rgba(255,255,255,.86); font-size: .9rem; -webkit-line-clamp: 3; }

/* The version bar. Full width and scrollable sideways, because ten versions
   never fit a sidebar and wrapping them into four rows is worse. */
.product-versionbar { padding-bottom: 16px; }
.product-versionbar-row {
  display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.product-versionbar-row::-webkit-scrollbar { display: none; }
.product-versionbar .product-version { flex: none; }
.product-summary { display: -webkit-box; overflow: hidden; margin-top: 15px; color: rgba(255,255,255,.72); line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.product-label { display: block; margin-bottom: 9px; color: rgba(255,255,255,.48); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-versions,.product-formats { margin-top: 22px; }
#productVersionRow,#productFormatRow { display: flex; flex-wrap: wrap; gap: 7px; }
.product-version,.product-format { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: transparent; font-size: .74rem; font-weight: 700; }
.product-version { height: 36px; padding: 0 14px; }
.product-version em { font-style: normal; font-weight: 600; }
.product-version:hover { border-color: var(--accent); }
.product-version.is-on { border-color: var(--accent); background: var(--accent); }
.product-format small { color: rgba(255,255,255,.5); }

.product-offers { display: grid; gap: 14px; }
.product-offer { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 11px 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; background: rgba(255,255,255,.03); transition: transform .2s,border-color .2s,background .2s; }
.product-offer:hover { transform: translateY(-2px); border-color: var(--accent); }
.product-offer-icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.18); font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.product-offer span { display: flex; flex: 1; min-width: 0; flex-direction: column; line-height: 1.2; }
.product-offer strong { font-size: .76rem; }
.product-offer small { margin-top: 4px; color: rgba(255,255,255,.62); font-size: .62rem; line-height: 1.35; }
.product-offer b { flex: none; font-size: .88rem; font-weight: 800; }
.product-offer.is-buy b { font-size: 1.02rem; }
.product-offer-go { flex: none; font-style: normal; font-size: 1rem; color: rgba(255,255,255,.8); }
.product-pro-card { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 13px 14px; border: 1px solid rgba(232,100,45,.38); border-radius: 14px; background: rgba(232,100,45,.09); }
.product-pro-card > span { display: flex; flex: 1; flex-direction: column; }
.product-pro-card strong { font-size: .8rem; }
.product-pro-card small { margin-top: 3px; color: rgba(255,255,255,.55); font-size: .65rem; }
.product-pro-card b { color: var(--accent); font-size: .72rem; white-space: nowrap; }

.product-facts { display: grid; grid-template-columns: repeat(3,1fr); overflow: hidden; margin-top: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; }
.product-facts div { padding: 16px 12px; }
.product-facts div:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.08); }
.product-facts dt { color: rgba(255,255,255,.55); font-size: .66rem; font-weight: 500; }
.product-facts dd { margin-top: 8px; font-size: .86rem; font-weight: 600; }
.character-product-intro { padding: 17px 7px 0; }
.character-product-intro h2 { font-size: 1rem; letter-spacing: -.025em; }
.character-product-intro p { margin-top: 8px; color: rgba(255,255,255,.66); font-size: .78rem; line-height: 1.55; }
.page-character .product-facts { display: block; margin-top: 14px; border: 0; border-radius: 0; }
.page-character .product-facts div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 7px; border-bottom: 1px solid rgba(255,255,255,.09); }
.page-character .product-facts div:last-child { border-bottom: 0; }
.page-character .product-facts dt { display: inline-flex; align-items: center; gap: 10px; }
.page-character .product-facts dt svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.page-character .product-facts dd { margin: 0; font-size: .76rem; text-align: right; }
.page-character .product-actions { margin-top: 12px; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.product-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; background: transparent; cursor: pointer; font-size: .72rem; font-weight: 700; }
.product-actions svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.product-actions button:hover,.product-actions button[aria-pressed=true] { border-color: var(--accent); color: var(--accent); }

.product-details { display: grid; grid-template-columns: minmax(0,1fr) 326px; gap: 22px 40px; padding-top: 22px; padding-bottom: 38px; border-top: 1px solid rgba(255,255,255,.1); }
.product-details-side { display: grid; align-content: start; gap: 18px; min-width: 0; }
.product-overline { color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.product-description h2 { margin-top: 8px; font-size: clamp(1.7rem,2.8vw,2.1rem); letter-spacing: -.035em; }
#productDescription { margin-top: 12px; color: rgba(255,255,255,.88); font-size: .98rem; line-height: 1.55; white-space: pre-line; }
.character-quote { position: relative; margin: 20px 0 0; padding: 18px 22px 20px 58px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: linear-gradient(145deg,#121920,#0b1015); }
.character-quote > span { position: absolute; left: 18px; top: 11px; color: var(--accent); font-family: Georgia,serif; font-size: 3.3rem; line-height: 1; }
.character-quote p { color: rgba(255,255,255,.82); font-size: .85rem; font-style: italic; line-height: 1.5; }
.character-quote cite { display: block; margin-top: 8px; color: var(--accent); font-size: .82rem; font-style: italic; text-align: right; }
.character-tags h3 { margin-bottom: 12px; color: var(--accent); font-size: .69rem; letter-spacing: .13em; text-transform: uppercase; }
.character-tags > div { display: flex; flex-wrap: wrap; gap: 8px; }
.character-tags span { padding: 6px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; color: rgba(255,255,255,.78); font-size: .68rem; }
.page-character .product-specs { padding: 18px 20px; }
.page-character .product-specs h3 { color: var(--accent); }
.page-character .product-specs dl { margin-top: 12px; }
.page-character .product-specs dl div { align-items: center; gap: 12px; padding: 10px 0; }
.page-character .product-specs dt { min-width: 90px; }
.page-character .product-specs dt i { display: inline-flex; vertical-align: middle; margin-right: 8px; color: var(--accent); }
.page-character .product-specs dt svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.page-character .product-infostrip { display: none; }
.product-specs { align-self: start; padding: 20px 22px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: #0b0f14; }
.product-specs h3 { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.product-specs.is-strengths h3 { color: var(--accent); }

.product-strengths { display: grid; gap: 14px; margin: 16px 0 0; padding: 0; list-style: none; }
.product-strengths li { display: flex; align-items: center; gap: 16px; font-size: .86rem; }
.product-strengths i { display: grid; place-items: center; width: 26px; height: 26px; flex: none; color: var(--accent); }
.product-strengths svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.product-infostrip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(var(--cells,4), minmax(0,1fr)); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: #0b0f14; }
.product-infostrip[data-count="2"] { --cells: 2; }
.product-infostrip[data-count="3"] { --cells: 3; }
.product-info-cell { display: flex; gap: 14px; padding: 18px 16px; }
.product-info-cell + .product-info-cell { border-left: 1px solid rgba(255,255,255,.1); }
.product-info-cell i { flex: none; color: var(--accent); }
.product-info-cell svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.product-info-cell strong { display: block; font-size: .8rem; }
.product-info-cell p { margin-top: 8px; color: rgba(255,255,255,.72); font-size: .76rem; line-height: 1.5; white-space: pre-line; }
.product-specs dl { margin-top: 13px; }
.product-specs div { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .75rem; }
.product-specs div:last-child { border: 0; }
.product-specs dt { color: rgba(255,255,255,.48); }
.product-specs dd { font-weight: 700; text-align: right; }

.product-related { padding-top: 14px; padding-bottom: 20px; }
.product-section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.product-section-head h2 { margin-top: 5px; font-size: 2rem; letter-spacing: -.04em; }
.product-section-head > a { display: inline-flex; gap: 8px; padding: 10px 18px; border: 1px solid rgba(255,255,255,.25); border-radius: 22px; font-size: .74rem; font-weight: 700; }
.product-section-head > a:hover { border-color: var(--accent); }
.product-related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.product-related-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #0f1419; transition: transform .25s,border-color .25s; }
.product-related-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.product-related-card img { width: 100%; aspect-ratio: 17 / 10; object-fit: cover; }
.product-related-card div { padding: 12px 12px 13px; }
.product-related-card strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; }
.product-related-card span { display: flex; justify-content: space-between; align-items: baseline; margin-top: 9px; color: rgba(255,255,255,.55); font-size: .72rem; }
.product-related-card b { color: #fff; font-size: .82rem; }
.product-not-found { padding-top: 90px; padding-bottom: 140px; }
.product-not-found h1 { font-size: 3rem; }
.product-not-found p { margin-top: 10px; color: rgba(255,255,255,.62); }
.product-not-found a { display: inline-block; margin-top: 25px; color: var(--accent); }

@media (max-width: 820px) {
  /* The homepage narrows its gutters here; the product page follows. */
  .product-wrap { width: calc(100% - 36px); }
}
@media (max-width: 940px) {
  .product-head .head-search { display: none; }
  .product-layout { grid-template-columns: 1fr; }
  .product-buy { position: static; margin-top: 0; }
  .product-infostrip { --cells: 2 !important; }
  .product-info-cell:nth-child(3) { border-left: 0; }
  .product-info-cell:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .product-details { grid-template-columns: 1fr; gap: 35px; }
  .product-related-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 680px) {
  .product-head .home-nav { display: none; }
  .product-head .head-pro { margin-left: auto; }
  .product-stage { height: auto; aspect-ratio: 4 / 5; }
  .product-layout { gap: 18px; }
  .product-buy { padding: 20px; }
  .product-details { padding-top: 45px; padding-bottom: 55px; }
  .product-related-grid { gap: 9px; }
  .product-section-head { align-items: flex-start; flex-direction: column; gap: 16px; }
}


@media (max-width: 720px) {
  /* One at a time on a phone: two portraits side by side are two thumbnails. */
  .product-stage-row { grid-template-columns: 1fr; }
  .product-stage-row > .product-stage:nth-child(2) { display: none; }
  .product-arrow-prev { left: 8px; }
  .product-arrow-next { right: 8px; }
}


/* Three destinations, told apart by their colour rather than their size:
   buying, looking, subscribing. */
.product-offer-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; background: rgba(255,255,255,.06); }
.product-offer-icon svg { width: 17px; height: 17px; }
.product-offer.is-buy { border-color: var(--accent-line); background: var(--accent-soft); }
.product-offer.is-buy .product-offer-icon { background: var(--accent); color: #fff; }
.product-offer.is-buy b { color: var(--accent); }
.product-offer.is-pro { border-color: rgba(167,139,250,.35); background: rgba(167,139,250,.08); }
.product-offer.is-pro .product-offer-icon { background: rgba(167,139,250,.9); color: #14121c; }
.product-offer.is-pro b { color: #fff; font-size: .8rem; }

/* A format is a name, a dash and a price. The cheapest is marked because the
   button says "from", and that word has to point at something. */
.product-format { gap: 6px; }
.product-format em { font-style: normal; color: rgba(255,255,255,.3); }
.product-format small { color: rgba(255,255,255,.8); font-weight: 600; }
.product-format.is-low { border-color: var(--accent-line); background: var(--accent-soft); }
.product-format.is-low small { color: var(--accent); }
.product-format b {
  margin-left: 2px; padding: 2px 6px; border-radius: 20px;
  background: var(--accent); color: #fff;
  font-size: .56rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}

/* Already theirs: green instead of orange, and no price. */
.product-offer.is-buy.is-owned { border-color: rgba(80,200,140,.45); background: rgba(80,200,140,.1); }
.product-offer.is-buy.is-owned .product-offer-icon { background: #3fbf7f; }
.product-offer.is-buy.is-owned b { color: #8ee6b4; }

/* Direct sale: the buy button, its card / PayPal choice, and its sold state. */
.product-offer.is-off { cursor: default; opacity: .6; transform: none !important; }
.product-pay-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: -6px; }
.product-pay-choice button { height: 42px; border: 1px solid var(--accent-line); border-radius: 10px; background: var(--accent-soft); color: #fff; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.product-pay-choice button:hover { background: var(--accent); }
.product-pay-choice button:disabled { opacity: .6; cursor: wait; }

/* Versions: the latest five, the rest behind "More versions". */
.product-version[hidden] { display: none; }
.product-version-more { color: rgba(255,255,255,.72); border-style: dashed; cursor: pointer; font: inherit; font-size: .74rem; font-weight: 700; }
.product-version-more span { padding: 1px 7px; border-radius: 10px; background: rgba(255,255,255,.1); font-size: .68rem; }
.product-version-more i { font-style: normal; color: var(--accent); }
.product-version-more:hover { color: #fff; }

/* About: laid-out text, then short lines instead of boxes. */
#productDescription { white-space: normal; max-width: 680px; }
#productDescription p { margin: 0 0 12px; color: rgba(255,255,255,.78); }
#productDescription p.product-lead { margin-top: 18px; color: #fff; font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
#productDescription ul { margin: 4px 0 14px; padding: 0; list-style: none; display: grid; gap: 6px; }
#productDescription li { position: relative; padding-left: 18px; color: rgba(255,255,255,.8); }
#productDescription li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.product-about-lines { display: grid; gap: 0; margin: 22px 0 0; max-width: 680px; border-top: 1px solid rgba(255,255,255,.08); }
.product-about-lines[hidden] { display: none; }
.product-about-lines div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.product-about-lines dt { color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.product-about-lines dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: rgba(255,255,255,.88); font-size: .9rem; font-weight: 600; }
.product-about-lines dd i { color: rgba(255,255,255,.3); font-style: normal; }
@media (max-width: 620px) { .product-about-lines div { grid-template-columns: 1fr; gap: 6px; } }

/* Formats sit above the buy button with room to breathe. */
.product-buy .product-formats { margin: 12px 8px 16px; }
.product-buy .product-formats #productFormatRow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

@media (max-width: 720px) {
  /* Versions on one line that scrolls sideways, rather than two rows. */
  #productVersionRow { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-right: -18px; padding-right: 18px; }
  .product-versionbar-row::-webkit-scrollbar { display: none; }
  .product-version { flex: none; }
  .product-format b { font-size: .6rem; }
}

/* Phone: one image at a time, in portrait like the images themselves.
   (The landscape frame is only for a single image on a wide screen.) */
@media (max-width: 720px) {
  .product-stage-row[data-count="1"] .product-stage, .product-stage { aspect-ratio: 4 / 5; }
}

/* Coming soon: the buy panel says what is coming instead of selling it. */
.product-offers:has(.product-soon) { grid-template-columns: minmax(0, 1fr); }
.product-soon { min-width: 0; display: grid; gap: 14px; padding: 16px 14px; border: 1px solid rgba(232,100,45,.4); border-radius: 12px; background: rgba(232,100,45,.05); }
.product-soon-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.product-soon-head span { color: rgba(255,255,255,.66); font-size: .74rem; font-weight: 600; }
.product-soon-teaser { font-size: 1.05rem; font-weight: 800; line-height: 1.35; letter-spacing: -.01em; }
.product-soon-points { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.product-soon-points li { position: relative; padding-left: 20px; color: rgba(255,255,255,.8); font-size: .8rem; line-height: 1.45; }
.product-soon-points li::before { content: '✓'; position: absolute; left: 2px; color: var(--accent); font-weight: 900; }
.product-notify { display: grid; gap: 9px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); }
.product-notify > p { color: rgba(255,255,255,.72); font-size: .76rem; }
.product-notify form { display: flex; gap: 8px; }
.product-notify input { flex: 1 1 0; width: 0; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; background: #0d1115; color: #fff; font: inherit; font-size: .8rem; outline: 0; }
.product-notify input:focus { border-color: var(--accent); }
.product-notify button { flex: none; height: 42px; padding: 0 16px; border: 0; border-radius: 99px; background: var(--accent); color: #0b0d0f; font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; }
.product-notify button.is-wide { flex: 1; }
.product-notify button:disabled { opacity: .5; cursor: default; }
.product-notify-note { color: rgba(255,255,255,.5); font-size: .7rem; }
.product-notify-done { color: #a8efbd; font-size: .8rem; line-height: 1.5; }
.product-notify-done b { color: #64d991; }

/* A way in for people new to ComfyUI */
.product-help { margin: 10px 2px 0; font-size: .74rem; }
.product-help a { color: rgba(255,255,255,.6); }
.product-help a:hover { color: #fff; }
.product-help span { color: var(--accent); }
