/* =====================================================================
   Pages « Gâteaux à thèmes » (template-parts/content-theme-page.php)
   Mêmes couleurs, polices et boutons que l'accueil et les fiches produit.
   ===================================================================== */
.upg-theme-page .site-main { max-width: none; padding: 0; }
.tp { --tp-pad: clamp(16px, 5vw, 72px); --tp-gap: clamp(12px, 1.6vw, 20px); --tp-sec: clamp(64px, 9vw, 128px); }
.tp-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--tp-pad); }
.tp-eyebrow { margin: 0 0 14px; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.tp-h2 { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; }
.tp-h2--long { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; }
.tp-h2 em, .tp-title em, .tp-cta h2 em { font-style: italic; }
.tp .ic { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- Boutons (pilule, comme l'accueil) ---------- */
.tp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px;
  border: 1px solid var(--fg); border-radius: 999px; font-size: 11.5px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.tp-btn--fill { background: var(--fg); color: var(--on-fg); }
.tp-btn--fill:hover { background: transparent; color: var(--fg); }
.tp-btn--line { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.tp-btn--line:hover { border-color: var(--fg); background: var(--fg); color: var(--on-fg); }
.tp-btn--light { background: var(--on-fg); color: var(--fg); border-color: var(--on-fg); }
.tp-btn--light:hover { background: transparent; color: var(--on-fg); }
.tp-btn--ghost { background: transparent; color: var(--on-fg); border-color: rgba(250, 249, 247, .4); }
.tp-btn--ghost:hover { background: var(--on-fg); color: var(--fg); border-color: var(--on-fg); }
.tp-btn .ic { width: 17px; height: 17px; }
.tp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tp-link { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg); text-decoration: none; padding-bottom: 5px; border-bottom: 1px solid var(--fg); }
.tp-link .ic { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.tp-link:hover .ic { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.tp-hero { background: var(--bg); }
.tp-hero-inner {
  max-width: var(--wrap); margin-inline: auto; padding: clamp(28px, 4vw, 56px) var(--tp-pad) clamp(40px, 5vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(32px, 6vw, 96px); align-items: center;
}
.tp-crumbs { margin: 0 0 clamp(28px, 4vw, 52px); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); display: flex; flex-wrap: wrap; gap: 8px; }
.tp-crumbs a { color: var(--muted); text-decoration: none; }
.tp-crumbs a:hover { color: var(--fg); }
.tp-title { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(44px, 6vw, 86px); line-height: .98; letter-spacing: -.02em; text-wrap: balance; }
.tp-lede { max-width: 540px; margin: 24px 0 34px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.tp-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.tp-facts li { display: inline-flex; align-items: center; gap: 9px; }
.tp-facts .ic { width: 18px; height: 18px; color: var(--fg); }
.tp-hero-media { position: relative; margin: 0; aspect-ratio: 4 / 5; max-height: min(78vh, 760px); width: 100%; overflow: hidden; background: var(--thumb); }
.tp-hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); animation: tpHero 1.6s var(--ease) forwards; }
@keyframes tpHero { to { transform: scale(1); } }

/* ---------- Pastilles des thèmes ---------- */
.tp-pills { position: sticky; top: var(--header-h); z-index: 20; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.tp-pills-track { max-width: var(--wrap); margin-inline: auto; padding: 12px var(--tp-pad); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.tp-pills-track::-webkit-scrollbar { display: none; }
@media (min-width: 901px) { .tp-pills-track { flex-wrap: wrap; justify-content: center; overflow: visible; } }
.tp-pill {
  flex: 0 0 auto; scroll-snap-align: start; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 12.5px; letter-spacing: .02em; color: var(--fg); text-decoration: none; white-space: nowrap;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.tp-pill:hover { border-color: var(--fg); }
.tp-pill.is-current { background: var(--fg); border-color: var(--fg); color: var(--on-fg); }

/* ---------- Sections ---------- */
.tp-section { padding-block: var(--tp-sec) 0; }
.tp-head { margin: 0 0 clamp(28px, 4vw, 48px); }
.tp-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.tp-head-note { max-width: 380px; margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* ---------- Introduction ---------- */
.tp-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 96px); padding-top: var(--tp-sec); align-items: start; }
.tp-intro-head { position: sticky; top: calc(var(--header-h) + 90px); }

/* Texte riche (texte de la page) */
.tp-rich { font-size: 16.5px; line-height: 1.8; color: #2b2927; }
.tp-rich > :first-child { margin-top: 0; }
.tp-rich > :last-child { margin-bottom: 0; }
.tp-rich p { margin: 0 0 1.1em; }
.tp-intro-text > p:first-child { font-size: 20px; line-height: 1.65; color: var(--fg); }
.tp-rich strong, .tp-rich b { font-weight: 500; color: var(--fg); }
.tp-rich a { color: var(--fg); text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.tp-rich h2, .tp-rich h3, .tp-rich h4, .tp-rich h5 { margin: 1.6em 0 .5em; font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; color: var(--fg); }
.tp-rich ul, .tp-rich ol { margin: 1.4em 0; padding: clamp(20px, 2.4vw, 28px); list-style: none; background: var(--surface); border: 1px solid var(--line); }
.tp-rich ul li, .tp-rich ol li { position: relative; padding-left: 30px; margin: 0 0 .8em; }
.tp-rich ul li:last-child, .tp-rich ol li:last-child { margin-bottom: 0; }
.tp-rich ul li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--tp-tick) center / contain no-repeat; mask: var(--tp-tick) center / contain no-repeat; color: var(--fg); }
.tp-rich ol { counter-reset: tp; }
.tp-rich ol li { counter-increment: tp; padding-left: 40px; }
.tp-rich ol li::before { content: counter(tp, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--font-display); font-size: 20px; line-height: 1.35; color: var(--dim); }
.tp-rich ul.tp-points { background: transparent; border: 0; border-top: 1px solid var(--line); padding: 0; }
.tp-rich ul.tp-points li { margin: 0; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.6; }
.tp-rich ul.tp-points li::before { top: 18px; }

/* ---------- Blocs « thème » de la page parente ---------- */
.tp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.tp-feature { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); transition: border-color var(--t) var(--ease); }
.tp-feature:hover { border-color: var(--line-strong); }
.tp-feature-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--thumb); }
.tp-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tp-feature:hover .tp-feature-media img { transform: scale(1.04); }
.tp-feature-body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: clamp(20px, 2.2vw, 28px); }
.tp-feature-body h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.tp-feature-text { font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.tp-feature-text p { margin: 0 0 .7em; }
.tp-feature .tp-link { align-self: flex-start; margin-top: auto; }

/* ---------- Galerie ---------- */
.tp-gallery { columns: 4 240px; column-gap: var(--tp-gap); margin: 0; padding: 0; list-style: none; }
.tp-shot { break-inside: avoid; margin: 0 0 var(--tp-gap); }
.tp-shot[hidden] { display: none; }
.tp-shot a { position: relative; display: block; overflow: hidden; background: var(--thumb); color: #fff; text-decoration: none; }
.tp-shot img { width: 100%; height: auto; transition: transform .9s var(--ease), filter .6s var(--ease); }
.tp-shot a:hover img { transform: scale(1.04); }
.tp-shot-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-family: var(--font-display); font-size: 22px; line-height: 1.1;
  background: linear-gradient(180deg, rgba(23, 22, 21, 0) 0%, rgba(23, 22, 21, .62) 100%);
}
.tp-shot-zoom {
  position: absolute; top: 12px; right: 12px; display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(250, 249, 247, .9); color: var(--fg); opacity: 0; transform: translateY(-4px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.tp-shot-zoom .ic { width: 18px; height: 18px; }
.tp-shot a:hover .tp-shot-zoom, .tp-shot a:focus-visible .tp-shot-zoom { opacity: 1; transform: none; }
.tp-more { margin: clamp(20px, 3vw, 32px) 0 0; text-align: center; }

/* ---------- Produits ---------- */
.tp-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: clamp(14px, 1.8vw, 24px); margin: 0; padding: 0; list-style: none; }
.tp-product { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); transition: border-color var(--t) var(--ease); }
.tp-product:hover { border-color: var(--line-strong); }
.tp-product-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--thumb); }
.tp-product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tp-product:hover .tp-product-media img { transform: scale(1.04); }
.tp-badge { position: absolute; top: 14px; left: 14px; padding: 7px 12px; border-radius: 999px; background: var(--fg); color: var(--on-fg); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.tp-product-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 20px 20px; }
.tp-product-name { font-family: var(--font-display); font-size: 26px; line-height: 1.1; color: var(--fg); text-decoration: none; }
.tp-product-text { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.tp-product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.tp-product-price { font-size: 15px; font-variant-numeric: tabular-nums; color: var(--fg); }
.tp-product-price .upg-po-from { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tp-product-go { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--fg); border-radius: 999px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg); text-decoration: none; transition: background var(--t) var(--ease), color var(--t) var(--ease); }
.tp-product-go .ic { width: 15px; height: 15px; }
.tp-product-go:hover, .tp-product.is-cfg .tp-product-go { background: var(--fg); color: var(--on-fg); }
.tp-product.is-cfg .tp-product-go:hover { background: transparent; color: var(--fg); }

/* ---------- Devis mariage ---------- */
.tp-devis-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.tp-devis-text { position: sticky; top: calc(var(--header-h) + 90px); }
.tp-steps { margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.tp-steps li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.tp-steps .ic { width: 22px; height: 22px; margin-top: 2px; }
.tp-steps strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.2; }
.tp-steps span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.tp-devis-note { margin: 20px 0 0; font-size: 14px; color: var(--muted); }
.tp-devis-form { padding: clamp(20px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); }
.tp-devis-form .pro-form-wrap { margin: 0; }

/* ---------- Texte détaillé ---------- */
.tp-text-inner { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 6vw, 112px); align-items: start; }
.tp-text-aside { position: sticky; top: calc(var(--header-h) + 90px); }
.tp-toc { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--fg); counter-reset: toc; }
.tp-toc li { counter-increment: toc; border-bottom: 1px solid var(--line); }
.tp-toc a { display: flex; gap: 12px; padding: 11px 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); text-decoration: none; transition: color var(--t) var(--ease); }
.tp-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-display); color: var(--dim); }
.tp-toc a:hover { color: var(--fg); }
.tp-text-main { min-width: 0; }
.tp-block { scroll-margin-top: calc(var(--header-h) + 80px); }
.tp-block + .tp-block { margin-top: clamp(28px, 3.4vw, 44px); padding-top: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--line); }
.tp-block-title { margin: 0 0 16px; font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; }
h3.tp-block-title { font-size: clamp(25px, 2.5vw, 31px); }
.tp-block--cols .tp-rich { columns: 2 300px; column-gap: clamp(28px, 4vw, 56px); }
.tp-block--cols .tp-rich p { break-inside: avoid; }

/* ---------- Réassurance ---------- */
.tp-trust { margin-top: var(--tp-sec); border-block: 1px solid var(--line); background: var(--surface); }
.tp-trust-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 auto; list-style: none; }
.tp-trust-list--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tp-trust-list li { display: flex; gap: 16px; padding: clamp(24px, 3vw, 36px) clamp(12px, 2vw, 28px); }
.tp-trust-list li + li { border-left: 1px solid var(--line); }
.tp-trust-list--6 li { flex-direction: column; gap: 12px; }
.tp-trust-ic { display: inline-flex; flex: 0 0 46px; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 50%; }
.tp-trust-ic .ic { width: 20px; height: 20px; }
.tp-trust-list strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 21px; line-height: 1.2; }
.tp-trust-list div > span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* ---------- Bandeau de fin ---------- */
.tp-cta { background: var(--fg); color: var(--on-fg); }
.tp-cta-inner { max-width: var(--wrap); margin-inline: auto; padding: clamp(56px, 8vw, 112px) var(--tp-pad); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.tp-cta-media { aspect-ratio: 1; overflow: hidden; }
.tp-cta-media img { width: 100%; height: 100%; object-fit: cover; }
.tp-cta .tp-eyebrow { color: rgba(250, 249, 247, .6); }
.tp-cta h2 { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(36px, 4.6vw, 62px); line-height: 1.02; text-wrap: balance; }
.tp-cta p:not(.tp-eyebrow) { max-width: 560px; margin: 20px 0 32px; color: rgba(250, 249, 247, .72); line-height: 1.7; }

/* ---------- Autres thèmes ---------- */
.tp-others { padding-bottom: var(--tp-sec); }
.tp-themes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--tp-gap); margin: 0; padding: 0; list-style: none; }
.tp-theme { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--thumb); color: #fff; text-decoration: none; }
.tp-theme img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tp-theme:hover img { transform: scale(1.05); }
.tp-theme::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 22, 21, 0) 45%, rgba(23, 22, 21, .7) 100%); }
.tp-theme-name { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--font-display); font-size: 23px; line-height: 1.1; }
.tp-theme-name .ic { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.tp-theme:hover .tp-theme-name .ic { transform: translateX(3px); }

/* ---------- Visionneuse (fond flouté progressif) ---------- */
.tp-lightbox {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 64px 72px;
  background: rgba(23, 22, 21, 0); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); opacity: 0;
  transition: opacity .35s var(--ease), background .45s var(--ease), backdrop-filter .45s var(--ease), -webkit-backdrop-filter .45s var(--ease);
}
.tp-lightbox[hidden] { display: none; }
.tp-lightbox.is-open { opacity: 1; background: rgba(23, 22, 21, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.tp-lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.tp-lb-fig img { max-width: min(1200px, 100%); max-height: calc(100vh - 170px); width: auto; height: auto; object-fit: contain; transform: scale(.98); transition: transform .45s var(--ease); }
.tp-lightbox.is-open .tp-lb-fig img { transform: none; }
.tp-lb-fig figcaption { font-family: var(--font-display); font-size: 24px; color: #faf9f7; }
.tp-lb-fig figcaption:empty { display: none; }
.tp-lb-close, .tp-lb-arrow { position: absolute; display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid rgba(250, 249, 247, .35); border-radius: 50%; color: #faf9f7; background: rgba(23, 22, 21, .3); transition: background var(--t) var(--ease), color var(--t) var(--ease); }
.tp-lb-close:hover, .tp-lb-arrow:hover { background: #faf9f7; color: var(--fg); }
.tp-lb-close .ic, .tp-lb-arrow .ic { width: 22px; height: 22px; }
.tp-lb-close { top: calc(18px + var(--wp-admin--admin-bar--height, 0px)); right: 18px; }
.tp-lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.tp-lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.tp-lb-count { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; text-align: center; font-size: 11px; letter-spacing: .24em; color: rgba(250, 249, 247, .7); }
.tp-lb-open { overflow: hidden; }

/* ---------- Mise en page tablette et mobile ---------- */
@media (max-width: 1100px) {
  .tp-themes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tp-trust-list--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tp-trust-list--6 li:nth-child(4) { border-left: 0; }
  .tp-trust-list--6 li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .tp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .tp-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 20px; }
  .tp-hero-media { order: -1; aspect-ratio: 4 / 3; max-height: none; margin-inline: calc(var(--tp-pad) * -1); width: auto; }
  .tp-crumbs { margin-bottom: 18px; }
  .tp-intro, .tp-text-inner, .tp-devis-inner, .tp-cta-inner { grid-template-columns: minmax(0, 1fr); }
  .tp-intro-head, .tp-text-aside, .tp-devis-text { position: static; }
  .tp-cta-media { aspect-ratio: 16 / 10; }
  .tp-trust-list, .tp-trust-list--6 { grid-template-columns: minmax(0, 1fr); }
  .tp-trust-list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .tp-trust-list--6 li { flex-direction: row; }
  .tp-toc { display: none; }
}
@media (max-width: 680px) {
  .tp { --tp-sec: 64px; }
  .tp-title { font-size: clamp(40px, 11vw, 54px); }
  .tp-lede { font-size: 16px; margin: 18px 0 26px; }
  .tp-actions { flex-direction: column; align-items: stretch; }
  .tp-btn { width: 100%; }
  .tp-facts { gap: 10px 18px; margin-top: 26px; }
  .tp-pills-track { padding-block: 10px; }
  .tp-gallery { columns: 2; column-gap: 10px; }
  .tp-shot { margin-bottom: 10px; }
  .tp-shot-cap { font-size: 17px; padding: 28px 10px 10px; }
  .tp-shot-zoom { display: none; }
  .tp-features { grid-template-columns: minmax(0, 1fr); }
  .tp-products { grid-template-columns: minmax(0, 1fr); }
  .tp-product { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
  .tp-product-media { aspect-ratio: auto; min-height: 100%; }
  .tp-product-body { padding: 14px 14px 14px 16px; gap: 6px; }
  .tp-product-name { font-size: 22px; }
  .tp-product-text { display: none; }
  .tp-product-foot { padding-top: 10px; flex-wrap: wrap; }
  .tp-product-go { padding: 9px 13px; }
  .tp-badge { top: 8px; left: 8px; padding: 5px 8px; font-size: 8.5px; letter-spacing: .14em; }
  .tp-rich { font-size: 16px; }
  .tp-intro-text > p:first-child { font-size: 18px; }
  .tp-block--cols .tp-rich { columns: 1; }
  .tp-themes { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: calc(var(--tp-pad) * -1); padding-inline: var(--tp-pad); }
  .tp-themes li { scroll-snap-align: start; }
  .tp-theme-name { font-size: 19px; }
  .tp-head--split { align-items: flex-start; }
  .tp-lightbox { padding: 56px 12px 64px; }
  .tp-lb-arrow { top: auto; bottom: 10px; transform: none; width: 42px; height: 42px; }
  .tp-lb-count { bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-hero-img { animation: none; transform: none; }
  .tp-shot img, .tp-feature-media img, .tp-product-media img, .tp-theme img, .tp-lightbox, .tp-lb-fig img { transition: none; }
}
