/* Tregflix Store default storefront template. Store color comes from /store-name/theme.css (--brand). */
:root { --brand: #18352b; --brand-ink: #fff; --ink: #1d1f1e; --muted: #6a6e69; --line: #e7e4dd; --bg: #fff; --soft: #f7f6f2; --danger: #a02d22; --f-head: Georgia, serif; --f-body: system-ui, sans-serif; --radius: 6px; --grid: 3; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 400 16px/1.6 var(--f-body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, .s-brand span { font-family: var(--f-head); font-weight: 600; letter-spacing: -.01em; }
h1, h2, p, ul { margin: 0; } ul { padding: 0; list-style: none; }
a { color: inherit; } img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.s-wrap { width: min(100% - 2rem, 1120px); margin-inline: auto; }
.s-narrow { max-width: 720px; }
.preview-bar { background: #fbf1dc; color: #5f4200; text-align: center; font-size: 14px; padding: .5rem 1rem; }
.s-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.s-header-in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.s-brand { text-decoration: none; font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; }
.s-brand img { max-height: 44px; width: auto; }
.s-cart { text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: .4rem; }
.s-count { background: var(--brand); color: var(--brand-ink); border-radius: 999px; font-size: 12px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; padding: 0 6px; }
.s-main { min-height: 60vh; padding-bottom: 4rem; }
.s-hero { background: var(--brand); color: var(--brand-ink); padding: 3rem 0; margin-bottom: 2rem; }
.s-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -.02em; }
.s-hero p { margin-top: .75rem; max-width: 40rem; opacity: .9; }
.s-cats { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.s-cats a { text-decoration: none; padding: .35rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.s-cats a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.s-grid { display: grid; grid-template-columns: repeat(var(--grid), 1fr); gap: 2rem 1.25rem; }
.s-card a { text-decoration: none; display: block; }
.s-card-img { position: relative; aspect-ratio: 1; background: var(--soft); border-radius: 6px; overflow: hidden; margin-bottom: .75rem; }
.s-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.s-card a:hover img { transform: scale(1.03); }
.s-tag { position: absolute; top: .6rem; left: .6rem; background: #fff; font-size: 12px; font-weight: 600; padding: .2rem .55rem; border-radius: 4px; }
.s-card h2 { font-size: 1rem; font-weight: 500; }
.s-price { color: var(--muted); margin-top: .15rem; }
.s-empty { color: var(--muted); padding: 2rem 0; }
.s-product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; padding-top: 2rem; align-items: start; }
.s-main-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: var(--soft); }
.s-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: .6rem; }
.s-thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.s-back a { font-size: 14px; color: var(--muted); }
.s-info h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; margin: .4rem 0 .5rem; }
.s-price-lg { font-size: 1.35rem; font-weight: 600; margin-bottom: 1.5rem; }
.s-price-lg s { color: var(--muted); font-weight: 400; font-size: 1.05rem; margin-right: .3rem; }
.s-from { font-size: .9rem; font-weight: 400; color: var(--muted); }
.s-buy { display: grid; gap: .45rem; margin-bottom: 1.75rem; max-width: 360px; }
.s-buy label, .s-form label { font-size: 14px; font-weight: 500; }
input:not([type=radio]), select, textarea { width: 100%; font: inherit; border: 1px solid var(--line); border-radius: min(var(--radius), 8px); padding: .65rem .8rem; background: var(--bg); color: inherit; min-height: 46px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
#qty { max-width: 100px; }
.s-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: .7rem 1.6rem; background: var(--brand); color: var(--brand-ink); border: 1px solid var(--brand); border-radius: var(--radius); font: 600 15px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; margin-top: .5rem; }
.s-btn:hover { filter: brightness(1.08); }
.s-btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.s-btn-block { width: 100%; }
.s-link { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.s-desc { border-top: 1px solid var(--line); padding-top: 1.25rem; color: #3a3d3b; }
.s-note { font-size: 14px; color: var(--muted); margin-top: .75rem; }
.s-soldout { font-weight: 600; color: var(--danger); margin-bottom: 1.5rem; }
.s-alert { background: #fbefed; color: var(--danger); border-radius: 6px; padding: .7rem .9rem; font-size: 14px; margin: .5rem 0 1rem; }
.s-ok { background: #eef6f1; color: #23613f; border-radius: 6px; padding: .7rem .9rem; font-size: 14px; margin-bottom: 1rem; }
.s-narrow h1, .s-checkout h1 { font-size: 1.9rem; letter-spacing: -.02em; margin: 2rem 0 1.25rem; }
.s-lines { border-top: 1px solid var(--line); margin-bottom: 1rem; }
.s-lines li { display: grid; grid-template-columns: 72px 1fr auto auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.s-lines-plain li { grid-template-columns: 1fr auto; }
.s-lines img, .s-line-noimg { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; background: var(--soft); }
.s-line-info span { color: var(--muted); font-size: 14px; }
.s-line-qty { display: grid; gap: .3rem; justify-items: start; }
.s-line-qty input { width: 76px; min-height: 40px; }
.s-line-total { font-weight: 600; text-align: right; }
.s-cart-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.s-subtotal { font-size: 1.05rem; }
.s-checkout { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start; }
.s-form fieldset { border: 0; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .45rem; }
.s-form legend { font-size: 1.1rem; font-weight: 600; margin-bottom: .6rem; }
.s-opt { color: var(--muted); font-weight: 400; }
.s-err { color: var(--danger); font-size: 13px; }
.s-radio { display: flex; gap: .65rem; align-items: flex-start; border: 1px solid var(--line); border-radius: 6px; padding: .85rem 1rem; }
.s-radio input { margin-top: .3rem; accent-color: var(--brand); }
.s-radio label span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.s-address { display: grid; gap: .45rem; margin: .5rem 0; }
.s-two { display: grid; grid-template-columns: 2fr 1fr; gap: .75rem; }
.s-two > div { display: grid; gap: .45rem; }
.s-pay { background: var(--soft); border-radius: 6px; padding: .85rem 1rem; }
.s-summary { background: var(--soft); border-radius: 8px; padding: 1.5rem; position: sticky; top: 90px; margin-top: 2rem; }
.s-summary h2 { font-size: 1.05rem; margin-bottom: 1rem; }
.s-summary li, .s-sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; font-size: 15px; }
.s-summary ul { border-bottom: 1px solid var(--line); padding-bottom: .5rem; margin-bottom: .5rem; }
.s-total { font-weight: 700; font-size: 1.1rem; border-top: 1px solid var(--line); margin-top: .25rem; padding-top: .75rem; }
.s-lead { font-size: 1.1rem; color: #3a3d3b; margin-bottom: 1.5rem; }
.s-confirm .s-btn { margin-top: 1.5rem; }
.s-footer { border-top: 1px solid var(--line); background: var(--soft); padding: 2.5rem 0; font-size: 14px; color: #3a3d3b; }
.s-footer-in { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 2rem; align-items: start; }
.s-footer-info p + p { margin-top: .3rem; }

@media (max-width: 900px) { .s-grid { grid-template-columns: repeat(min(var(--grid), 3), 1fr); } }
@media (max-width: 820px) {
  .s-product, .s-checkout { grid-template-columns: 1fr; gap: 1.5rem; }
  .s-summary { position: static; margin-top: 0; order: -1; }
  .s-footer-in { grid-template-columns: 1fr; }
  .s-lines li { grid-template-columns: 60px 1fr; }
  .s-line-qty, .s-line-total { grid-column: 2; }
  .s-line-total { text-align: left; }
}

/* Header, menu, announcement */
.s-announce { background: var(--brand); color: var(--brand-ink); text-align: center; font-size: 14px; padding: .45rem 1rem; }
.s-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-right: auto; margin-left: 2.5rem; }
.s-nav a { text-decoration: none; font-size: 15px; } .s-nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.s-header-center .s-header-in { display: grid; grid-template-columns: 1fr auto 1fr; }
.s-header-center .s-brand { grid-column: 2; text-align: center; } .s-header-center .s-nav { grid-column: 1; grid-row: 1; margin: 0; } .s-header-center .s-cart { grid-column: 3; justify-self: end; }
/* Hero variants */
.s-hero-image { position: relative; overflow: hidden; padding: 6rem 0; color: #fff; background: #111; }
.s-hero-image .s-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.s-hero-image .s-wrap { position: relative; }
.s-hero-min { padding: 3rem 0 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.s-hero-min h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); } .s-hero-min p { color: var(--muted); margin-top: .5rem; max-width: 40rem; }
.s-pill { display: inline-block; font-size: 12px; font-weight: 600; background: var(--soft); border-radius: 999px; padding: .1rem .55rem; }
.s-buy-actions { display: flex; gap: .6rem; flex-wrap: wrap; } .s-buy-actions .s-btn { flex: 1 1 auto; }
/* Single-product store */
.sp-hero { padding: clamp(2rem, 5vw, 4.5rem) 0; }
.sp-hero-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.sp-visual img, .sp-noimg { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: min(var(--radius), 14px); background: var(--soft); }
.sp-eyebrow { text-transform: none; color: var(--muted); font-size: 15px; margin-bottom: .75rem; }
.sp-copy h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin-bottom: 1rem; }
.sp-lede { font-size: 1.1rem; color: var(--muted); margin-bottom: 1.5rem; max-width: 34rem; }
.sp-copy .s-buy { max-width: 420px; }
.sp-gallery { padding: 0 0 clamp(2rem, 5vw, 4rem); } .sp-gallery ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.sp-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: min(var(--radius), 10px); }
.sp-details { padding: clamp(3rem, 7vw, 5.5rem) 0; background: var(--soft); }
.sp-narrow { max-width: 760px; } .sp-details h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.25rem; }
.sp-facts { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--line); }
.sp-facts-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; } .sp-facts h3 { font-size: 1.1rem; margin-bottom: .4rem; } .sp-facts p { color: var(--muted); }
.sp-final { padding: clamp(3rem, 7vw, 5rem) 0; text-align: center; } .sp-final h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.sp-empty { padding: 5rem 0; text-align: center; }
/* Pages, footer, downloads */
.s-pagebody { padding-bottom: 2rem; } .s-pagebody .rich { line-height: 1.7; }
.s-contact { margin-top: 2rem; display: grid; gap: .75rem; } .s-contact dt { font-size: 13px; color: var(--muted); }
.s-footer-links { display: flex; flex-direction: column; gap: .35rem; } .s-footer-links a { text-decoration: none; } .s-footer-links a:hover { text-decoration: underline; }
.s-powered { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; color: var(--muted); font-size: 13px; opacity: .9; }
.s-powered img { width: 92px; height: auto; } .s-powered:hover { opacity: 1; }
.s-downloads { background: var(--soft); border-radius: 10px; padding: 1.25rem 1.5rem; margin: 0 0 2rem; }
.s-downloads h2 { font-size: 1.15rem; margin-bottom: .75rem; } .s-downloads li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.s-downloads small { color: var(--muted); } .s-downloads .s-btn { margin: 0; min-height: 42px; }
.s-ship-table ul { border: 0 !important; margin: 0 !important; padding: 0 0 .5rem .75rem !important; } .s-ship-table li { font-size: 14px; color: var(--muted); padding: .15rem 0; }
@media (max-width: 820px) { .sp-hero-in, .sp-facts-in { grid-template-columns: 1fr; } .s-nav { order: 3; width: 100%; margin: 0 0 .75rem; gap: 1rem; } .s-header-in { flex-wrap: wrap; } .s-header-center .s-header-in { display: flex; } .s-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem .9rem; } }

/* ================= One-page templates ================= */
.tpl-trybar { background: #101820; color: #f5f1e8; text-align: center; font-size: 14px; padding: .55rem 1rem; } .tpl-trybar a { color: #d9c49a; }
.s-anchors { margin-left: auto; margin-right: 1.5rem; } .s-anchors a { font-size: 14px; }
.s-accordion details { border-top: 1px solid var(--line); padding: 1.05rem 0; } .s-accordion details:last-child { border-bottom: 1px solid var(--line); }
.s-accordion summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; }
.s-accordion summary::-webkit-details-marker { display: none; }
.s-accordion summary::after { content: "+"; font-weight: 400; transition: transform .25s ease; } .s-accordion details[open] summary::after { transform: rotate(45deg); }
.s-accordion details > p, .s-accordion details > div, .s-accordion details > ul { margin-top: .75rem; color: color-mix(in srgb, var(--ink) 78%, var(--bg)); }
@media (prefers-reduced-motion: no-preference) { .tpl .s-main > section { animation: tpl-in .7s ease both; } @keyframes tpl-in { from { opacity: 0; transform: translateY(10px); } } }

/* ---------- Old Money Luxury ---------- */
.tpl-luxury { --gold: #B49A67; }
.tpl-luxury .s-header { border-bottom: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.tpl-luxury .s-header-in { min-height: 76px; }
.tpl-luxury .s-brand span { font-size: 1.55rem; font-weight: 500; letter-spacing: .02em; }
.tpl-luxury .s-nav a, .tpl-luxury .s-cart { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.tpl-luxury .s-btn { letter-spacing: .1em; text-transform: uppercase; font-size: 13px; font-weight: 500; min-height: 52px; padding: .8rem 2rem; }
.tpl-luxury .s-main { padding-bottom: 0; }
.lx-hero { padding: clamp(2.5rem, 6vw, 5.5rem) 0; }
.lx-hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.lx-visual { position: relative; padding: 14px; border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); }
.lx-visual img, .lx-noimg { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: color-mix(in srgb, var(--ink) 6%, var(--bg)); }
.lx-eyebrow, .lx-kicker { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: color-mix(in srgb, var(--gold) 80%, var(--ink)); margin-bottom: 1.1rem; }
.lx-center { text-align: center; }
.lx-title { font-family: var(--f-head); font-weight: 500; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.01em; }
.lx-lede { margin-top: 1.4rem; font-size: 1.12rem; line-height: 1.7; color: color-mix(in srgb, var(--ink) 72%, var(--bg)); max-width: 32rem; }
.lx-rule { width: 64px; height: 1px; background: var(--gold); margin: 2rem 0 1.75rem; }
.lx-copy .s-price-lg { font-family: var(--f-head); font-size: 1.9rem; font-weight: 500; }
.lx-copy .s-buy { max-width: 420px; }
.lx-benefits { border-top: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.lx-benefit-list { counter-reset: lx; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; }
.lx-benefit-list li { counter-increment: lx; }
.lx-benefit-list li::before { content: counter(lx, upper-roman); display: block; font-family: var(--f-head); color: var(--gold); font-size: 1.2rem; margin-bottom: .8rem; }
.lx-benefit-list h3 { font-family: var(--f-head); font-weight: 500; font-size: 1.5rem; margin-bottom: .4rem; }
.lx-benefit-list p { color: color-mix(in srgb, var(--ink) 70%, var(--bg)); }
.lx-gallery { padding: clamp(2.5rem, 6vw, 5rem) 0 0; }
.lx-gallery-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.lx-gallery-grid.lx-n1 { grid-template-columns: 1fr; } .lx-gallery-grid.lx-n3 { grid-template-columns: 2fr 1fr 1fr; } .lx-gallery-grid.lx-n4 { grid-template-columns: repeat(4, 1fr); }
.lx-gallery-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.lx-gallery-grid.lx-n1 img { aspect-ratio: 16 / 7; }
.lx-details { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.lx-narrow { max-width: 740px; }
.lx-rich { font-size: 1.08rem; line-height: 1.8; } .lx-rich h2, .lx-rich h3 { font-family: var(--f-head); font-weight: 500; }
.lx-story { background: var(--brand); color: var(--brand-ink); padding: clamp(3.5rem, 8vw, 7rem) 0; }
.lx-story-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; } .lx-story-in.no-img { grid-template-columns: 1fr; max-width: 760px; text-align: center; margin-inline: auto; }
.lx-story img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.lx-story h2 { font-family: var(--f-head); font-weight: 500; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.1rem; }
.lx-story p { line-height: 1.8; opacity: .9; } .lx-story .lx-kicker { color: #d9c49a; }
.lx-voices { padding: clamp(3rem, 7vw, 6rem) 0; }
.lx-voice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.5rem; }
.lx-voice-grid blockquote { font-family: var(--f-head); font-size: 1.45rem; line-height: 1.4; margin: 0 0 1rem; }
.lx-voice-grid figcaption { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 60%, var(--bg)); }
.lx-facts { padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); }
.lx-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.lx-facts h3 { font-family: var(--f-head); font-weight: 500; font-size: 1.3rem; margin-bottom: .35rem; } .lx-facts p { color: color-mix(in srgb, var(--ink) 70%, var(--bg)); font-size: .97rem; }
.lx-faq { padding: clamp(3rem, 7vw, 6rem) 0; background: color-mix(in srgb, var(--ink) 4%, var(--bg)); }
.lx-faq h2 { font-family: var(--f-head); font-weight: 500; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1.5rem; }
.tpl-luxury .s-accordion summary { font-family: var(--f-head); font-weight: 500; font-size: 1.25rem; }
.lx-final { padding: clamp(4rem, 9vw, 7.5rem) 0; text-align: center; }
.lx-final h2 { font-family: var(--f-head); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1.75rem; }
.tpl-luxury .s-footer { background: color-mix(in srgb, var(--ink) 4%, var(--bg)); border-top: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); }

/* ---------- Modern Premium ---------- */
.tpl-modern .s-header { position: sticky; backdrop-filter: blur(8px); background: color-mix(in srgb, var(--bg) 88%, transparent); }
.tpl-modern .s-brand span { font-weight: 800; letter-spacing: -.03em; font-size: 1.35rem; }
.tpl-modern h1, .tpl-modern h2, .tpl-modern h3 { letter-spacing: -.03em; font-weight: 800; }
.md-hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.md-head { max-width: 860px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.md-chip { display: inline-block; font-size: 13px; font-weight: 600; padding: .3rem .8rem; border-radius: 999px; background: color-mix(in srgb, var(--brand) 9%, var(--bg)); color: var(--brand); margin-bottom: 1rem; }
.md-title { font-size: clamp(2.6rem, 6.5vw, 5.4rem); line-height: .98; }
.md-lede { margin-top: 1.25rem; font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.md-stage { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.25rem; align-items: stretch; }
.md-visual img, .md-noimg { width: 100%; height: 100%; min-height: 420px; max-height: 640px; object-fit: cover; border-radius: 24px; background: color-mix(in srgb, var(--ink) 6%, var(--bg)); display: block; }
.md-buy-card { border-radius: 24px; padding: clamp(1.5rem, 3vw, 2.25rem); background: color-mix(in srgb, var(--ink) 4%, var(--bg)); display: flex; flex-direction: column; justify-content: center; }
.md-pname { font-size: 1.5rem; margin-bottom: .6rem; }
.md-buy-card .s-price-lg { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.md-benefits { padding: clamp(1.5rem, 4vw, 3rem) 0; }
.md-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.md-card { border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem; background: var(--bg); margin: 0; }
.md-num { font-size: 13px; font-weight: 700; color: var(--brand); } .md-card h3 { font-size: 1.2rem; margin: .6rem 0 .4rem; } .md-card p { color: var(--muted); }
.md-details { padding: clamp(3rem, 7vw, 6rem) 0; }
.md-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.md-split h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 1.25rem; }
.md-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; } .md-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.md-gallery img:first-child:nth-last-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.md-facts { padding: 0 0 clamp(3rem, 6vw, 5rem); }
.md-fact-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.md-fact { padding: 1.4rem; border-radius: 18px; background: color-mix(in srgb, var(--ink) 4%, var(--bg)); } .md-fact h3 { font-size: 1.05rem; margin-bottom: .35rem; } .md-fact p { color: var(--muted); font-size: .95rem; }
.md-story { background: var(--brand); color: var(--brand-ink); padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.md-story-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; } .md-story h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; } .md-story p { opacity: .85; font-size: 1.1rem; }
.md-story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.md-voices { padding: clamp(3rem, 6vw, 5rem) 0; } .md-quote blockquote { margin: 0 0 1rem; font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; } .md-quote figcaption { color: var(--muted); font-size: 14px; }
.md-faq { padding: clamp(3rem, 6vw, 5rem) 0; } .md-faq-in { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 4rem); } .md-faq h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.md-final { padding: 0 0 clamp(3rem, 6vw, 5rem); }
.md-final-in { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: clamp(2rem, 4vw, 3rem); border-radius: 28px; background: var(--ink); color: var(--bg); }
.md-final h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); } .md-final p { opacity: .7; } .md-final .s-btn { background: var(--bg); color: var(--ink); border-color: var(--bg); margin: 0; }
.md-sticky { display: none; }
@media (max-width: 820px) {
  .md-stage, .md-split, .md-story-in, .md-faq-in { grid-template-columns: 1fr; }
  .md-visual img, .md-noimg { min-height: 0; aspect-ratio: 4 / 5; }
  .md-sticky { display: flex; position: sticky; bottom: 0; z-index: 20; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 1rem; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); border-top: 1px solid var(--line); font-weight: 600; font-size: 14px; }
  .md-sticky .s-btn { margin: 0; min-height: 44px; padding: .5rem 1.2rem; }
}

/* ---------- Classic Ecommerce ---------- */
.cl-crumbs { padding: 1.25rem 0 .5rem; font-size: 14px; color: var(--muted); } .cl-crumbs a { color: inherit; }
.cl-product { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); padding: .75rem 0 2.5rem; align-items: start; }
.cl-main { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: color-mix(in srgb, var(--ink) 5%, var(--bg)); border: 1px solid var(--line); }
.cl-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; margin-top: .6rem; } .cl-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.cl-eyebrow { font-size: 13px; color: var(--muted); margin-bottom: .4rem; }
.cl-title { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.2; margin-bottom: .75rem; }
.cl-info .s-price-lg { font-size: 1.8rem; color: var(--brand); font-weight: 700; }
.cl-info .s-buy { max-width: none; padding: 1.1rem; border: 1px solid var(--line); border-radius: 10px; background: color-mix(in srgb, var(--ink) 2%, var(--bg)); }
.cl-summary { margin-top: 1.25rem; color: color-mix(in srgb, var(--ink) 80%, var(--bg)); }
.cl-trust { margin-top: 1.5rem; display: grid; gap: .75rem; }
.cl-trust li { display: grid; grid-template-columns: 22px 1fr; column-gap: .6rem; font-size: 14px; }
.cl-trust li::before { content: ""; grid-row: span 2; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--brand); -webkit-mask: radial-gradient(circle at 50% 50%, #000 0 4px, transparent 5px); mask: radial-gradient(circle at 50% 50%, #000 0 4px, transparent 5px); box-shadow: inset 0 0 0 2px var(--brand); }
.cl-trust span { color: var(--muted); }
.cl-tabs { padding: 0 0 3rem; max-width: 900px; } .cl-acc summary { font-size: 1.05rem; }
.cl-highlights li { padding: .35rem 0; }
.cl-story { background: color-mix(in srgb, var(--ink) 4%, var(--bg)); padding: clamp(3rem, 6vw, 5rem) 0; }
.cl-story-in { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; align-items: center; } .cl-story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; } .cl-story h2 { margin-bottom: .75rem; font-size: 1.6rem; }
.cl-reviews { padding: clamp(3rem, 6vw, 4.5rem) 0; } .cl-reviews h2, .cl-faq h2 { font-size: 1.6rem; margin-bottom: 1.25rem; }
.cl-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.cl-review-grid figure { margin: 0; border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem; } .cl-review-grid blockquote { margin: 0 0 .75rem; } .cl-review-grid figcaption { color: var(--muted); font-size: 14px; }
.cl-faq { padding: 0 0 4rem; max-width: 900px; }
@media (max-width: 820px) { .lx-hero-in, .lx-story-in, .cl-product, .cl-story-in { grid-template-columns: 1fr; } .lx-gallery-grid.lx-n3, .lx-gallery-grid.lx-n4 { grid-template-columns: 1fr 1fr; } .s-anchors { display: none; } }
.lx-benefit-list { list-style: none; padding: 0; margin: 0; }

/* ================= Sales-page sections (all templates) ================= */
.s-notice { padding: 1.5rem 0 2.5rem; } .s-notice p { font-size: 13px; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }
/* purchase box shared structure */
[class$="-purchase-in"] { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
[class$="-purchase-media"] img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
[class$="-purchase-box"] h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.1; margin-bottom: 1rem; }
[class$="-purchase-box"] .s-buy { max-width: 440px; }
.lx-assure, .md-assure, .cl-assure { margin-top: 1.25rem; display: grid; gap: .4rem; font-size: 14px; color: var(--muted); }
@media (max-width: 820px) { [class$="-purchase-in"] { grid-template-columns: 1fr; } }

/* ---- Luxury additions ---- */
.lx-price { font-family: var(--f-head); font-size: 1.6rem; margin-bottom: 1.5rem; }
.lx-actions { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.lx-textlink { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: .2rem; }
.lx-problem { padding: clamp(3.5rem, 8vw, 6.5rem) 0; border-top: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); }
.lx-center-text { text-align: center; }
.lx-statement { font-family: var(--f-head); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.35; }
.lx-benefits .lx-kicker { margin-bottom: 2rem; }
.lx-two { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.lx-included li { padding: .85rem 0 .85rem 1.8rem; border-bottom: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); position: relative; font-size: 1.05rem; }
.lx-included li::before { content: ""; position: absolute; left: .2rem; top: 1.35rem; width: .8rem; height: 1px; background: var(--gold); }
.lx-steps { padding: clamp(3rem, 7vw, 6rem) 0; background: color-mix(in srgb, var(--ink) 4%, var(--bg)); }
.lx-step-list li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); }
.lx-step-n { font-family: var(--f-head); font-size: 1.6rem; color: color-mix(in srgb, var(--gold) 85%, var(--ink)); }
.lx-step-list h3 { font-family: var(--f-head); font-weight: 500; font-size: 1.35rem; margin-bottom: .25rem; } .lx-step-list p { color: color-mix(in srgb, var(--ink) 70%, var(--bg)); }
.lx-audience { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.lx-h2 { font-family: var(--f-head); font-weight: 500; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2.5rem; }
.lx-aud-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); max-width: 960px; margin: 0 auto; }
.lx-aud-grid h3 { font-family: var(--f-head); font-weight: 500; font-size: 1.4rem; margin-bottom: .75rem; }
.lx-yes li, .lx-no li { padding: .6rem 0 .6rem 1.8rem; position: relative; border-bottom: 1px solid color-mix(in srgb, var(--gold) 25%, transparent); }
.lx-yes li::before { content: ""; position: absolute; left: .15rem; top: 1rem; width: .75rem; height: .4rem; border-left: 1px solid var(--brand); border-bottom: 1px solid var(--brand); transform: rotate(-45deg); }
.lx-no li::before { content: ""; position: absolute; left: .1rem; top: 1.2rem; width: .8rem; height: 1px; background: color-mix(in srgb, var(--ink) 50%, var(--bg)); }
.lx-midcta { border-top: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); padding: 1.6rem 0; }
.lx-midcta-in { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; } .lx-midcta p { font-family: var(--f-head); font-size: 1.35rem; } .lx-midcta .s-btn { margin: 0; }
.lx-purchase { padding: clamp(4rem, 9vw, 7rem) 0; background: color-mix(in srgb, var(--ink) 4%, var(--bg)); border-top: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); }
.lx-purchase-media img { padding: 12px; border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); background: var(--bg); }
.lx-purchase-kicker { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: color-mix(in srgb, var(--gold) 80%, var(--ink)); margin-bottom: .9rem; }
.lx-purchase-box h2 { font-family: var(--f-head); font-weight: 500; }
@media (max-width: 820px) { .lx-two { grid-template-columns: 1fr; } }

/* ---- Modern additions ---- */
.md-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.md-hero .md-head { margin: 0; }
.md-hero .md-visual img, .md-hero .md-noimg { min-height: 0; aspect-ratio: 4 / 5; max-height: 680px; }
.md-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; } .md-actions .s-btn { margin: 0; }
.md-mini-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; } .md-mini-facts li { font-size: 13px; font-weight: 600; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line); }
.md-problem { padding: clamp(3rem, 7vw, 5.5rem) 0; } .md-problem-in { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(1.5rem, 4vw, 3rem); }
.md-problem h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); } .md-problem p { font-size: 1.2rem; color: var(--muted); line-height: 1.6; }
.md-h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 1.5rem; }
.md-sub { font-size: 1.15rem; margin: 2rem 0 .75rem; }
.md-checks li { padding: .55rem 0 .55rem 2rem; position: relative; border-bottom: 1px solid var(--line); }
.md-checks li::before { content: "✓"; position: absolute; left: 0; top: .5rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-size: 12px; display: grid; place-items: center; }
.md-steps { padding: clamp(3rem, 7vw, 5.5rem) 0; background: color-mix(in srgb, var(--ink) 3%, var(--bg)); }
.md-step-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; counter-reset: s; }
.md-step-list li { border-radius: 20px; padding: 1.6rem; background: var(--bg); border: 1px solid var(--line); }
.md-step-list span { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 800; margin-bottom: .9rem; }
.md-step-list h3 { font-size: 1.15rem; margin-bottom: .35rem; } .md-step-list p { color: var(--muted); }
.md-cta-band { padding: clamp(2.5rem, 6vw, 4rem) 0; } .md-cta-in { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; border-radius: 28px; padding: clamp(1.75rem, 4vw, 2.75rem); background: var(--brand); color: var(--brand-ink); }
.md-cta-in h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); } .md-cta-in .s-btn { background: var(--brand-ink); color: var(--brand); border-color: var(--brand-ink); margin: 0; }
.md-audience { padding: clamp(2.5rem, 6vw, 4.5rem) 0; } .md-aud { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.md-aud h3 { font-size: 1.2rem; margin-bottom: .75rem; } .md-aud li { padding: .45rem 0 .45rem 1.6rem; position: relative; }
.md-yes li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; } .md-no li::before { content: "–"; position: absolute; left: .2rem; color: var(--muted); font-weight: 800; }
.md-purchase { padding: clamp(3.5rem, 8vw, 6rem) 0; } .md-purchase-in { border-radius: 28px; background: color-mix(in srgb, var(--ink) 4%, var(--bg)); padding: clamp(1.5rem, 4vw, 3rem); }
.md-purchase-media img { border-radius: 20px; } .md-purchase-kicker { font-weight: 700; color: var(--brand); margin-bottom: .5rem; }
.md-purchase-box .s-price-lg { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
@media (max-width: 820px) { .md-hero-grid, .md-problem-in, .md-aud { grid-template-columns: 1fr; } .md-hero .md-visual { order: -1; } }

/* ---- Classic additions ---- */
.cl-price-top { font-size: 1.8rem; font-weight: 700; color: var(--brand); margin-bottom: .75rem; }
.cl-quick { margin: 1rem 0; } .cl-quick li { padding: .3rem 0 .3rem 1.5rem; position: relative; } .cl-quick li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.cl-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.25rem 0 .5rem; } .cl-actions .s-btn { margin: 0; flex: 1 1 auto; }
.cl-band { background: color-mix(in srgb, var(--ink) 4%, var(--bg)); padding: clamp(2.5rem, 5vw, 3.5rem) 0; margin-bottom: 2.5rem; }
.cl-band-in { max-width: 820px; } .cl-band h2 { font-size: 1.5rem; margin-bottom: .6rem; } .cl-band p { font-size: 1.08rem; }
.cl-steps { padding-left: 1.3rem; list-style: decimal; } .cl-steps li { padding: .3rem 0; }
.cl-audience { padding: 0 0 3rem; max-width: 900px; } .cl-audience h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.cl-aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } .cl-aud-grid > div { border: 1px solid var(--line); border-radius: 10px; padding: 1.2rem; }
.cl-aud-grid h3 { font-size: 1.05rem; margin-bottom: .5rem; } .cl-yes li, .cl-no li { padding: .3rem 0 .3rem 1.4rem; position: relative; }
.cl-yes li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; } .cl-no li::before { content: "×"; position: absolute; left: .1rem; color: var(--muted); }
.cl-purchase { padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); } .cl-purchase-media img { border-radius: 10px; border: 1px solid var(--line); }
.cl-purchase-kicker { font-size: 13px; color: var(--muted); margin-bottom: .3rem; } .cl-purchase-box .s-price-lg { color: var(--brand); font-weight: 700; font-size: 1.8rem; }
.cl-purchase-box .s-buy { padding: 1.1rem; border: 1px solid var(--line); border-radius: 10px; background: color-mix(in srgb, var(--ink) 2%, var(--bg)); }
@media (max-width: 820px) { .cl-aud-grid { grid-template-columns: 1fr; } }
.cl-ctabar { padding: 0 0 2.5rem; } .cl-ctabar-in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.25rem; background: color-mix(in srgb, var(--brand) 6%, var(--bg)); }
.cl-ctabar-in div { display: grid; } .cl-ctabar-in span { color: var(--brand); font-weight: 700; } .cl-ctabar .s-btn { margin: 0; }
/* Advertising cookie consent */
.s-consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50; max-width: 640px; margin: 0 auto; display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 1rem 1.15rem; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px -20px rgba(0,0,0,.45); font-size: 14px; }
.s-consent[hidden] { display: none; } .s-consent p { flex: 1 1 260px; } .s-consent div { display: flex; gap: .5rem; } .s-consent .s-btn { margin: 0; min-height: 40px; padding: .5rem 1rem; }

/* ================= Category templates (shared base) ================= */
.ct-hero { padding: clamp(2.5rem, 6vw, 5rem) 0; position: relative; overflow: hidden; }
.ct-hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; }
.ct-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 1rem; }
.ct-title { font-family: var(--f-head); font-size: clamp(2.5rem, 5.5vw, 4.6rem); line-height: 1.02; }
.ct-lede { margin-top: 1.25rem; font-size: 1.15rem; line-height: 1.65; color: var(--muted); max-width: 34rem; }
.ct-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.75rem; } .ct-actions .s-btn { margin: 0; }
.ct-price { font-weight: 700; font-size: 1.15rem; }
.ct-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; } .ct-chips li { font-size: 13px; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; }
.ct-visual img, .ct-noimg { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--soft); }
.ct-h2 { font-family: var(--f-head); font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.1; margin-bottom: 1.5rem; }
.ct-stats, .ct-problem, .ct-details, .ct-steps, .ct-audience, .ct-story, .ct-voices, .ct-faq, .ct-gallery { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.ct-stat-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.ct-stat-list li { padding: 1.5rem; border: 1px solid var(--line); }
.ct-num { display: block; font-family: var(--f-head); font-size: 2.4rem; line-height: 1; color: var(--brand); margin-bottom: .8rem; }
.ct-stat-list h3 { font-size: 1.15rem; margin-bottom: .35rem; } .ct-stat-list p { color: var(--muted); }
.ct-problem-in { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(1.5rem, 4vw, 3.5rem); } .ct-problem p { font-size: 1.2rem; line-height: 1.65; }
.ct-details-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; } .ct-details-in.ct-single { grid-template-columns: minmax(0, 760px); }
.ct-spec-list li { display: flex; gap: .75rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.ct-spec-list li::before { content: ""; flex-shrink: 0; width: .55rem; height: .55rem; margin-top: .5rem; background: var(--brand); }
.ct-gallery-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); } .ct-gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ct-gallery-grid.ct-g1 { grid-template-columns: 1fr; } .ct-gallery-grid.ct-g1 img { aspect-ratio: 16 / 7; }
.ct-gallery-grid.ct-g3 { grid-template-columns: repeat(3, 1fr); } .ct-gallery-grid.ct-g4 { grid-template-columns: repeat(4, 1fr); }
.ct-step-list { display: grid; gap: 1rem; counter-reset: s; }
.ct-step-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.ct-step-n { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; background: var(--brand); color: var(--brand-ink); font-weight: 700; }
.ct-step-list h3 { font-size: 1.15rem; margin-bottom: .25rem; } .ct-step-list p { color: var(--muted); }
.ct-aud { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; } .ct-aud > div { padding: 1.5rem; border: 1px solid var(--line); }
.ct-aud h3 { font-size: 1.15rem; margin-bottom: .75rem; } .ct-aud li { padding: .4rem 0 .4rem 1.6rem; position: relative; }
.ct-yes li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; } .ct-no li::before { content: "–"; position: absolute; left: .2rem; color: var(--muted); font-weight: 800; }
.ct-cta { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.ct-cta-in { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: clamp(1.75rem, 4vw, 2.75rem); background: var(--brand); color: var(--brand-ink); }
.ct-cta h2 { font-family: var(--f-head); font-size: clamp(1.6rem, 3.5vw, 2.4rem); } .ct-cta p { opacity: .85; font-weight: 600; }
.ct-cta .s-btn { margin: 0; background: var(--brand-ink); color: var(--brand); border-color: var(--brand-ink); }
.ct-story-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; } .ct-story-in.ct-single { grid-template-columns: minmax(0, 760px); }
.ct-story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; } .ct-story p { line-height: 1.75; color: var(--muted); font-size: 1.08rem; }
.ct-voice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.ct-voice-grid figure { margin: 0; padding: 1.5rem; border: 1px solid var(--line); } .ct-voice-grid blockquote { margin: 0 0 1rem; font-size: 1.1rem; line-height: 1.5; } .ct-voice-grid figcaption { color: var(--muted); font-size: 14px; font-weight: 600; }
.ct-facts { padding: clamp(2.5rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ct-fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; } .ct-fact-grid h3 { font-size: 1rem; margin-bottom: .3rem; } .ct-fact-grid p { color: var(--muted); font-size: .95rem; }
.ct-faq-in { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 4rem); }
.ct-purchase { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--soft); }
.ct-purchase-kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .5rem; }
.ct-purchase-box h2 { font-family: var(--f-head); } .ct-purchase-box .s-price-lg { font-weight: 800; font-size: 1.9rem; }
@media (max-width: 820px) {
  .ct-hero-in, .ct-problem-in, .ct-details-in, .ct-story-in, .ct-aud, .ct-faq-in { grid-template-columns: 1fr; }
  .ct-visual { order: -1; } .ct-gallery-grid.ct-g3, .ct-gallery-grid.ct-g4 { grid-template-columns: 1fr 1fr; }
}

/* ---- Sports: dark, energetic, condensed uppercase, angled cuts ---- */
.tpl-sports .ct-title, .tpl-sports .ct-h2, .tpl-sports .ct-cta h2, .tpl-sports .ct-purchase-box h2 { text-transform: uppercase; font-style: italic; letter-spacing: -.01em; }
.tpl-sports .ct-hero { background: radial-gradient(1200px 400px at 85% 10%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 60%), var(--bg); }
.tpl-sports .ct-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70px; background: var(--soft); clip-path: polygon(0 100%, 100% 30%, 100% 100%); }
.tpl-sports .ct-visual img { clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); aspect-ratio: 5 / 6; }
.tpl-sports .ct-eyebrow { color: var(--brand); } .tpl-sports .ct-price { color: var(--brand); font-family: var(--f-head); font-size: 1.6rem; }
.tpl-sports .ct-stats { background: var(--soft); }
.tpl-sports .ct-stat-list li { border: 0; border-left: 4px solid var(--brand); background: color-mix(in srgb, #fff 4%, var(--bg)); transform: skewX(-4deg); }
.tpl-sports .ct-stat-list li > * { transform: skewX(4deg); }
.tpl-sports .ct-num { font-size: 3.4rem; font-style: italic; }
.tpl-sports .s-btn { text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.tpl-sports .ct-cta-in { clip-path: polygon(0 0, 100% 0, 97% 100%, 0 100%); }
.tpl-sports .ct-chips li { border-color: color-mix(in srgb, var(--brand) 50%, transparent); color: var(--brand); text-transform: uppercase; font-weight: 700; letter-spacing: .05em; }

/* ---- Product & Production: industrial precision, blueprint grid, spec sheet ---- */
.tpl-production .ct-hero { background-image: linear-gradient(color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px); background-size: 32px 32px; border-bottom: 1px solid var(--line); }
.tpl-production .ct-title { font-weight: 800; letter-spacing: -.03em; }
.tpl-production .ct-visual { position: relative; padding: 12px; border: 1px solid var(--ink); background: var(--bg); }

.tpl-production .ct-visual img { aspect-ratio: 1; }
.tpl-production .ct-eyebrow { color: var(--ink); } .tpl-production .ct-eyebrow::before { content: ""; display: inline-block; width: 1.6rem; height: 3px; background: var(--brand); vertical-align: middle; margin-right: .6rem; }
.tpl-production .ct-h2 { font-weight: 800; letter-spacing: -.02em; }
.tpl-production .ct-spec { border: 1px solid var(--ink); padding: 1.25rem 1.5rem; background: var(--bg); }
.tpl-production .ct-spec-list li { font-variant-numeric: tabular-nums; } .tpl-production .ct-spec-list li::before { width: 1rem; height: 2px; margin-top: .7rem; }
.tpl-production .ct-steps { background: var(--ink); color: var(--bg); }
.tpl-production .ct-steps .ct-step-list { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; }
.tpl-production .ct-steps .ct-step-list li { display: block; padding: 1.5rem; border: 1px solid color-mix(in srgb, var(--bg) 20%, transparent); border-bottom-width: 1px; }
.tpl-production .ct-steps .ct-step-n { margin-bottom: 1rem; } .tpl-production .ct-steps p { color: color-mix(in srgb, var(--bg) 70%, var(--ink)); }
.tpl-production .ct-stat-list li { border-color: var(--ink); background: var(--bg); }

/* ---- Health and Beauty: soft, airy, arches and rounded forms ---- */
.tpl-beauty .ct-hero { background: radial-gradient(600px 400px at 80% 30%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%); }
.tpl-beauty .ct-visual img { border-radius: 999px 999px 24px 24px; aspect-ratio: 4 / 5; }
.tpl-beauty .ct-title { font-weight: 400; } .tpl-beauty .ct-h2 { font-weight: 400; }
.tpl-beauty .ct-eyebrow { letter-spacing: .2em; font-weight: 500; }
.tpl-beauty .ct-stat-list li { border: 0; border-radius: 24px; background: var(--soft); text-align: center; }
.tpl-beauty .ct-num { width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem; font-size: 1.2rem; background: color-mix(in srgb, var(--brand) 15%, var(--bg)); }
.tpl-beauty .ct-problem { text-align: center; } .tpl-beauty .ct-problem-in { grid-template-columns: minmax(0, 760px); justify-content: center; } .tpl-beauty .ct-problem p { font-family: var(--f-head); font-size: clamp(1.4rem, 3vw, 2rem); }
.tpl-beauty .ct-gallery-grid img, .tpl-beauty .ct-story img, .tpl-beauty .ct-purchase-media img { border-radius: 24px; }
.tpl-beauty .ct-step-n { border-radius: 50%; } .tpl-beauty .ct-aud > div, .tpl-beauty .ct-voice-grid figure { border-radius: 24px; background: var(--soft); border: 0; }
.tpl-beauty .ct-cta-in { border-radius: 32px; } .tpl-beauty .ct-spec-list li::before { border-radius: 50%; }

/* ---- People and Services: warm, trustworthy, portrait and timeline ---- */
.tpl-services .ct-hero { background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 7%, var(--bg)), var(--bg)); }
.tpl-services .ct-hero-in { grid-template-columns: 1.15fr .85fr; }
.tpl-services .ct-visual img { border-radius: 50%; aspect-ratio: 1; box-shadow: 0 0 0 10px var(--bg), 0 0 0 11px color-mix(in srgb, var(--brand) 35%, transparent); }
.tpl-services .ct-title { font-weight: 700; letter-spacing: -.02em; } .tpl-services .ct-h2 { font-weight: 700; }
.tpl-services .ct-voices { background: var(--soft); padding: clamp(2rem, 5vw, 3rem) 0; }
.tpl-services .ct-voice-grid figure { background: var(--bg); border-radius: 16px; border: 0; box-shadow: 0 10px 30px -18px rgba(0,0,0,.25); }
.tpl-services .ct-stat-list li { border-radius: 16px; }
.tpl-services .ct-step-list { position: relative; padding-left: 1.6rem; border-left: 2px solid color-mix(in srgb, var(--brand) 35%, transparent); }
.tpl-services .ct-step-list li { border-bottom: 0; } .tpl-services .ct-step-n { border-radius: 50%; margin-left: -2.95rem; }
.tpl-services .ct-aud > div { border-radius: 16px; } .tpl-services .ct-cta-in { border-radius: 20px; }
.tpl-services .ct-gallery-grid img, .tpl-services .ct-story img, .tpl-services .ct-purchase-media img { border-radius: 16px; }

/* ---- Fashion: editorial, tall imagery, big serif, asymmetric lookbook ---- */
.tpl-fashion .ct-hero { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.tpl-fashion .ct-hero-in { grid-template-columns: .9fr 1.1fr; }
.tpl-fashion .ct-visual img { aspect-ratio: 3 / 4; }
.tpl-fashion .ct-title { font-size: clamp(3rem, 7vw, 6rem); font-weight: 400; line-height: .95; letter-spacing: -.02em; }
.tpl-fashion .ct-eyebrow, .tpl-fashion .s-btn, .tpl-fashion .s-nav a, .tpl-fashion .ct-chips li { text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 500; }
.tpl-fashion .ct-eyebrow { color: var(--ink); }
.tpl-fashion .ct-h2 { font-weight: 400; font-size: clamp(2rem, 4.5vw, 3.4rem); }
.tpl-fashion .ct-gallery-grid { grid-template-columns: 1.4fr 1fr; grid-auto-rows: auto; }
.tpl-fashion .ct-gallery-grid img { aspect-ratio: 3 / 4; } .tpl-fashion .ct-gallery-grid img:nth-child(2) { margin-top: 4rem; } .tpl-fashion .ct-gallery-grid img:nth-child(3) { margin-top: -4rem; }
.tpl-fashion .ct-gallery-grid.ct-g1 { grid-template-columns: 1fr; } .tpl-fashion .ct-gallery-grid.ct-g1 img { aspect-ratio: 16 / 9; margin: 0; }
.tpl-fashion .ct-stat-list li { border: 0; border-top: 1px solid var(--ink); padding: 1.25rem 0 0; } .tpl-fashion .ct-num { font-size: 1rem; letter-spacing: .2em; }
.tpl-fashion .ct-cta-in { background: var(--ink); color: var(--bg); } .tpl-fashion .ct-cta .s-btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.tpl-fashion .ct-cta h2 { font-weight: 400; } .tpl-fashion .ct-chips li { border-radius: 0; }

/* ---- Cars & Bikes: graphite, racing red, cinematic hero, spec grid ---- */
.tpl-motors .ct-hero-in { grid-template-columns: 1fr; text-align: left; }
.tpl-motors .ct-visual { order: 2; } .tpl-motors .ct-visual img { aspect-ratio: 21 / 9; }
.tpl-motors .ct-title { text-transform: uppercase; font-size: clamp(2.8rem, 7vw, 6rem); letter-spacing: -.01em; max-width: 14ch; }
.tpl-motors .ct-hero { background: repeating-linear-gradient(115deg, transparent 0 60px, color-mix(in srgb, #fff 2.5%, transparent) 60px 62px), var(--bg); }
.tpl-motors .ct-copy { display: grid; grid-template-columns: 1fr auto; gap: 0 3rem; align-items: end; }
.tpl-motors .ct-copy > * { grid-column: 1; } .tpl-motors .ct-actions { grid-column: 2; grid-row: 2 / span 2; margin: 0; flex-direction: column; align-items: flex-end; }
.tpl-motors .ct-price { font-family: var(--f-head); font-size: 2rem; }
.tpl-motors .ct-eyebrow::before { content: ""; display: inline-block; width: 2.5rem; height: 3px; background: var(--brand); margin-right: .7rem; vertical-align: middle; }
.tpl-motors .ct-h2, .tpl-motors .ct-cta h2, .tpl-motors .ct-purchase-box h2 { text-transform: uppercase; }
.tpl-motors .ct-stats { background: var(--soft); }
.tpl-motors .ct-stat-list { gap: 0; } .tpl-motors .ct-stat-list li { border: 0; border-right: 1px solid var(--line); padding: 1.5rem 1.75rem; } .tpl-motors .ct-stat-list li:last-child { border-right: 0; }
.tpl-motors .ct-num { font-size: 3rem; color: var(--brand); }
.tpl-motors .ct-spec { background: var(--soft); padding: 1.25rem 1.5rem; border-left: 3px solid var(--brand); }
.tpl-motors .ct-fact-grid > div { border-left: 3px solid var(--brand); padding-left: 1rem; }
.tpl-motors .s-btn { text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.tpl-motors .ct-gallery-grid img { aspect-ratio: 16 / 10; }
@media (max-width: 820px) { .tpl-motors .ct-copy { grid-template-columns: 1fr; } .tpl-motors .ct-actions { grid-column: 1; grid-row: auto; flex-direction: row; align-items: center; margin-top: 1.5rem; } .tpl-motors .ct-visual img { aspect-ratio: 16 / 10; } .tpl-motors .ct-stat-list li { border-right: 0; border-bottom: 1px solid var(--line); } .tpl-services .ct-hero-in, .tpl-fashion .ct-hero-in { grid-template-columns: 1fr; } .tpl-fashion .ct-gallery-grid img:nth-child(n) { margin-top: 0; } }
.demo-flag { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .65; margin-bottom: .75rem; } .tpl-block { display: block; } .tpl .s-main > .tpl-block > section { animation: tpl-in .7s ease both; }

/* ================= Template blocks: specs for the original three ================= */
.lx-specs { padding: clamp(3rem, 7vw, 5rem) 0; border-top: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); }
.lx-spec-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); }
.lx-spec-list dt { font-family: var(--f-head); font-size: 1.1rem; } .lx-spec-list dd { margin: 0; color: color-mix(in srgb, var(--ink) 70%, var(--bg)); text-align: right; }
.md-specs { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.md-spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.md-spec-grid div { padding: 1.4rem; border-radius: 18px; background: color-mix(in srgb, var(--ink) 4%, var(--bg)); }
.md-spec-grid dt { font-size: 13px; color: var(--muted); font-weight: 600; } .md-spec-grid dd { margin: .3rem 0 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.cl-specs { padding: 0 0 3rem; max-width: 900px; } .cl-specs h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.cl-spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
.cl-spec-table th, .cl-spec-table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.cl-spec-table th { width: 38%; background: color-mix(in srgb, var(--ink) 3%, var(--bg)); font-weight: 600; }

/* ================= Category blocks (shared) ================= */
.ct-center { text-align: center; }
.ct-ticker { overflow: hidden; background: var(--brand); color: var(--brand-ink); padding: .9rem 0; }
.ct-ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ct-ticker ul { display: flex; gap: 3rem; padding-right: 3rem; }
.ct-ticker li { font-family: var(--f-head); font-size: 1.15rem; text-transform: uppercase; font-style: italic; white-space: nowrap; display: flex; align-items: center; gap: 3rem; }
.ct-ticker li::after { content: "◆"; font-size: .7rem; font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ct-ticker-track { animation: none; } }
.ct-specs { padding: clamp(3rem, 7vw, 5rem) 0; }
.ct-spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ct-spec-grid div { background: var(--bg); padding: 1.25rem 1.4rem; }
.ct-spec-grid dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ct-spec-grid dd { margin: .35rem 0 0; font-family: var(--f-head); font-size: 1.45rem; }
.ct-offers { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.ct-offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.ct-offer { padding: 1.75rem; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.ct-offer:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.ct-offer-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: color-mix(in srgb, var(--brand) 12%, var(--bg)); color: var(--brand); margin-bottom: 1rem; }
.ct-offer h3 { font-size: 1.15rem; margin-bottom: .35rem; } .ct-offer p { color: var(--muted); }
.ct-ingredients { padding: clamp(3rem, 7vw, 5.5rem) 0; background: var(--soft); }
.ct-ing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.25rem; max-width: 960px; margin: 0 auto; }
.ct-ing-grid li { display: grid; justify-items: center; gap: .7rem; text-align: center; font-weight: 500; }
.ct-ing-dot { display: grid; place-items: center; width: 5.5rem; height: 5.5rem; border-radius: 50%; background: var(--bg); border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); font-family: var(--f-head); font-size: 2rem; color: var(--brand); }

/* ================= Category header banners ================= */
/* Sports */
.sp-hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.sp-hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; }
.sp-numbers { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); }
.sp-numbers dd { margin: 0; font-family: var(--f-head); font-size: 2.2rem; font-style: italic; color: var(--brand); line-height: 1; } .sp-numbers dt { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: .35rem; }
.sp-visual { position: relative; } .sp-visual img, .sp-visual .ct-noimg { display: block; width: 100%; aspect-ratio: 5 / 6; object-fit: cover; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); }
.sp-slash { position: absolute; left: -6%; bottom: 8%; width: 40%; height: 14px; background: var(--brand); transform: skewX(-20deg); }
/* Product & Production */
.pr-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; }
.pr-hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pr-frame { margin: 0; position: relative; padding: 14px; border: 1px solid var(--ink); background: var(--bg); }
.pr-frame::before, .pr-frame::after { content: ""; position: absolute; width: 22px; height: 22px; border: 3px solid var(--brand); }
.pr-frame::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; } .pr-frame::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.pr-frame img, .pr-frame .ct-noimg { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.pr-frame figcaption { position: absolute; left: 14px; bottom: 14px; background: var(--ink); color: var(--bg); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .7rem; }
.pr-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(2rem, 5vw, 3.5rem); border: 1px solid var(--ink); background: var(--bg); }
.pr-strip div { padding: 1.1rem 1.25rem; border-right: 1px solid var(--line); } .pr-strip div:last-child { border-right: 0; }
.pr-strip dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); } .pr-strip dd { margin: .3rem 0 0; font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.tpl-production .ct-spec-grid { background: var(--ink); border-color: var(--ink); } .tpl-production .ct-spec-grid dd { font-weight: 800; font-family: var(--f-body); font-variant-numeric: tabular-nums; }
/* Health and Beauty */
.be-hero { padding: clamp(3rem, 6vw, 5rem) 0; text-align: center; }
.be-hero-in { max-width: 880px; } .be-hero .ct-lede { margin-inline: auto; }
.be-stage { position: relative; width: min(380px, 80%); margin: 2.5rem auto 0; }
.be-arch img, .be-arch .ct-noimg { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 28px 28px; }
.be-tag { position: absolute; z-index: 2; background: var(--bg); border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); border-radius: 999px; padding: .5rem 1rem; font-size: 14px; font-weight: 500; box-shadow: 0 14px 30px -18px rgba(0,0,0,.3); white-space: nowrap; }
.be-tag-1 { top: 18%; left: -30%; } .be-tag-2 { top: 46%; right: -34%; } .be-tag-3 { bottom: 14%; left: -24%; }
.be-actions { justify-content: center; margin-top: 2rem; }
/* People and Services */
.sv-hero { padding: clamp(3rem, 6vw, 5rem) 0; background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 8%, var(--bg)), var(--bg)); }
.sv-hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.sv-link { font-weight: 600; text-decoration: underline; text-underline-offset: .25em; } .sv-price { margin-top: 1rem; color: var(--muted); font-weight: 600; }
.sv-visual { position: relative; } .sv-portrait img, .sv-portrait .ct-noimg { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 12px var(--bg), 0 0 0 13px color-mix(in srgb, var(--brand) 35%, transparent); }
.sv-float { position: absolute; left: -12%; bottom: 4%; max-width: 270px; margin: 0; padding: 1rem 1.2rem; border-radius: 14px; background: var(--bg); box-shadow: 0 20px 44px -22px rgba(0,0,0,.35); display: grid; gap: .3rem; }
.sv-float blockquote { margin: 0; font-size: .95rem; } .sv-float figcaption, .sv-float span { font-size: 13px; color: var(--muted); }
/* Fashion */
.fa-hero { padding: 0; } .fa-hero-in { display: grid; grid-template-columns: 1.25fr 1fr; min-height: min(92vh, 860px); }
.fa-visual { position: relative; } .fa-visual img, .fa-visual .ct-noimg { width: 100%; height: 100%; object-fit: cover; display: block; }
.fa-vertical { position: absolute; left: 1.25rem; bottom: 1.25rem; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: #fff; mix-blend-mode: difference; }
.fa-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 6vw, 5rem); }
.fa-season { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 1.5rem; }
.fa-price { margin: 1.5rem 0; font-size: 1.1rem; letter-spacing: .05em; } .fa-copy .s-btn { align-self: flex-start; margin: 0; }
.tpl-fashion .ct-spec-grid { background: none; border: 0; grid-template-columns: 1fr; gap: 0; max-width: 720px; }
.tpl-fashion .ct-spec-grid div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--ink); padding: 1rem 0; background: none; }
.tpl-fashion .ct-spec-grid dd { margin: 0; font-family: var(--f-body); font-size: 1rem; }
/* Cars & Bikes */
.mo-hero { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem); background: repeating-linear-gradient(115deg, transparent 0 60px, color-mix(in srgb, #fff 2.5%, transparent) 60px 62px), var(--bg); }
.mo-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.mo-head .ct-title { text-transform: uppercase; font-size: clamp(2.8rem, 7vw, 6rem); max-width: 14ch; }
.mo-buy { display: grid; justify-items: end; gap: .75rem; } .mo-buy .ct-price { font-family: var(--f-head); font-size: 2rem; } .mo-buy .s-btn { margin: 0; }
.mo-stage { position: relative; } .mo-stage img, .mo-stage .ct-noimg { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.mo-bar { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: color-mix(in srgb, #000 55%, transparent); backdrop-filter: blur(6px); }
.mo-bar div { padding: 1rem 1.5rem; border-right: 1px solid rgba(255,255,255,.12); } .mo-bar div:last-child { border-right: 0; }
.mo-bar dd { margin: 0; font-family: var(--f-head); font-size: 1.8rem; color: #fff; } .mo-bar dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.tpl-motors .ct-spec-grid dd { font-size: 2rem; color: var(--brand); } .tpl-motors .ct-spec-grid div { background: var(--soft); }
.tpl-sports .ct-spec-grid dd { font-style: italic; color: var(--brand); font-size: 1.9rem; } .tpl-sports .ct-spec-grid div { background: var(--soft); }
.tpl-services .ct-spec-grid { border-radius: 14px; overflow: hidden; }
@media (max-width: 820px) {
  .sp-hero-in, .pr-hero-in, .sv-hero-in, .fa-hero-in { grid-template-columns: 1fr; }
  .sp-visual, .pr-frame, .sv-visual { order: -1; } .fa-hero-in { min-height: 0; } .fa-visual img { aspect-ratio: 4 / 5; height: auto; }
  .pr-strip { grid-template-columns: 1fr 1fr; } .pr-strip div:nth-child(2) { border-right: 0; }
  .be-tag-1 { left: -8%; } .be-tag-2 { right: -8%; } .be-tag-3 { left: -4%; } .be-tag { font-size: 12px; padding: .35rem .7rem; }
  .sv-float { left: 0; } .mo-bar { position: static; grid-template-columns: repeat(3, 1fr); } .mo-stage img { aspect-ratio: 16 / 10; } .mo-buy { justify-items: start; }
}

/* Smart mobile header for stores: hides while scrolling down, returns on scroll up */
.s-header { transition: transform .3s ease; }
@media (max-width: 820px) { .s-header.is-hidden:not(:focus-within) { transform: translateY(-100%); } }
@media (prefers-reduced-motion: reduce) { .s-header { transition: none; } }
/* Store navigation tabs on phones: a sideways-scrolling row under the header (previously hidden) */
@media (max-width: 820px) {
  .s-header-in { flex-wrap: wrap; row-gap: 0; }
  .s-anchors { display: flex !important; order: 3; width: 100%; margin: 0 !important; padding: .1rem 0 .7rem; gap: 1.15rem; overflow-x: auto; white-space: nowrap; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .s-anchors::-webkit-scrollbar { display: none; } .s-anchors a { flex: 0 0 auto; font-size: 14px; }
}

/* ================= Business-website blocks (all templates) ================= */
.tb-products, .tb-catalog, .tb-cats, .tb-team, .tb-contact { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.tb-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.tb-h2 { font-family: var(--f-head); font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.1; }
.tb-more { font-weight: 600; text-decoration: underline; text-underline-offset: .25em; }
.tb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.tb-card { display: flex; flex-direction: column; } .tb-card > a:first-child { text-decoration: none; color: inherit; display: block; }
.tb-card-img { position: relative; overflow: hidden; background: var(--soft); aspect-ratio: 1; }
.tb-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; } .tb-card:hover .tb-card-img img { transform: scale(1.04); }
.tb-tag { position: absolute; top: .75rem; left: .75rem; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 600; padding: .25rem .6rem; }
.tb-card-body { padding: .9rem 0 0; } .tb-card-cat { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tb-card h3 { font-size: 1.02rem; margin: .25rem 0; font-weight: 600; } .tb-card-price { font-weight: 700; }
.tb-card-cta { margin-top: .75rem; display: inline-block; font-weight: 600; font-size: 14px; color: var(--brand); text-decoration: none; }
.tb-filter { display: flex; gap: .5rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 1.5rem; padding-bottom: .25rem; }
.tb-filter::-webkit-scrollbar { display: none; }
.tb-filter a { flex: 0 0 auto; padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; white-space: nowrap; }
.tb-filter a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tb-empty { color: var(--muted); }
.tb-cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.tb-cat-grid a { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); text-decoration: none; color: #fff; }
.tb-cat-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; } .tb-cat-grid a:hover img { transform: scale(1.05); }
.tb-cat-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.25rem; background: linear-gradient(transparent, rgba(0,0,0,.6)); display: grid; }
.tb-cat-label strong { font-family: var(--f-head); font-size: 1.4rem; } .tb-cat-label small { opacity: .85; }
.tb-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.tb-team-grid li { text-align: center; padding: 1.75rem 1.25rem; border: 1px solid var(--line); background: var(--bg); }
.tb-avatar { display: grid; place-items: center; width: 5rem; height: 5rem; margin: 0 auto 1rem; border-radius: 50%; background: color-mix(in srgb, var(--brand) 16%, var(--bg)); color: var(--brand); font-family: var(--f-head); font-size: 1.6rem; font-weight: 700; }
.tb-team-grid h3 { font-size: 1.1rem; } .tb-role { color: var(--brand); font-weight: 600; font-size: 14px; margin: .2rem 0 .5rem; } .tb-bio { color: var(--muted); font-size: 14px; }
.tb-banner { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.tb-banner-in { position: relative; overflow: hidden; display: grid; align-items: center; min-height: 260px; background: var(--brand); color: var(--brand-ink); }
.tb-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.tb-banner-copy { position: relative; padding: clamp(2rem, 5vw, 3.5rem); max-width: 620px; }
.tb-banner-copy h2 { font-family: var(--f-head); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.05; margin-bottom: .75rem; }
.tb-banner-copy p { opacity: .9; font-size: 1.1rem; margin-bottom: 1.25rem; } .tb-banner .s-btn { margin: 0; background: var(--brand-ink); color: var(--brand); border-color: var(--brand-ink); }
.tb-contact { background: var(--soft); }
.tb-contact-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.tb-contact-text { color: var(--muted); font-size: 1.08rem; margin: .75rem 0 1.5rem; max-width: 34rem; }
.tb-contact-actions { display: flex; gap: .75rem; flex-wrap: wrap; } .tb-contact-actions .s-btn { margin: 0; }
.tb-contact-list { display: grid; gap: 1rem; padding: 1.5rem; background: var(--bg); border: 1px solid var(--line); }
.tb-contact-list dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } .tb-contact-list dd { margin: .2rem 0 0; font-weight: 500; }
/* Footer */
.tb-footer { padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; }
.tb-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.tb-footer-name { font-family: var(--f-head); font-size: 1.5rem; display: block; margin-bottom: .6rem; } .tb-footer-brand p { color: var(--muted); max-width: 22rem; font-size: 14px; }
.tb-footer-h { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; color: var(--muted); font-weight: 600; }
.tb-footer-list li { padding: .25rem 0; font-size: 14px; } .tb-footer-list a { text-decoration: none; } .tb-footer-list a:hover { text-decoration: underline; }
.tb-footer-hours { color: var(--muted); }
.tb-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
/* Popup */
.tb-popup { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1rem; background: rgba(0,0,0,.5); animation: pop-in .25s ease; }
.tb-popup[hidden] { display: none; }
.tb-popup-box { position: relative; max-width: 440px; width: 100%; background: var(--bg); color: var(--ink); padding: 2rem 1.75rem 1.75rem; text-align: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); border-top: 4px solid var(--brand); }
.tb-popup-box h2 { font-family: var(--f-head); font-size: 1.7rem; line-height: 1.15; margin-bottom: .6rem; } .tb-popup-box p { color: var(--muted); margin-bottom: 1.25rem; } .tb-popup-box .s-btn { margin: 0; }
.tb-popup-close { position: absolute; top: .5rem; right: .7rem; border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); width: 2.25rem; height: 2.25rem; }
@keyframes pop-in { from { opacity: 0; } }
/* Editor preview */
.tf-editing [data-block] { position: relative; cursor: pointer; }
.tf-editing [data-block]:hover { outline: 2px dashed color-mix(in srgb, #3b82f6 70%, transparent); outline-offset: -2px; }
.tf-editing [data-block].tf-selected { outline: 3px solid #3b82f6; outline-offset: -3px; }

/* ---- Per-template character of the business blocks ---- */
.tpl-luxury .tb-h2, .tpl-fashion .tb-h2 { font-weight: 400; }
.tpl-luxury .tb-card-img { padding: 10px; border: 1px solid color-mix(in srgb, var(--gold) 50%, transparent); background: var(--bg); } .tpl-luxury .tb-card h3 { font-family: var(--f-head); font-weight: 500; font-size: 1.25rem; }
.tpl-luxury .tb-banner-in, .tpl-luxury .tb-team-grid li { border: 1px solid color-mix(in srgb, var(--gold) 50%, transparent); }
.tpl-modern .tb-card-img, .tpl-modern .tb-cat-grid a, .tpl-modern .tb-banner-in, .tpl-modern .tb-contact-list, .tpl-modern .tb-team-grid li { border-radius: 20px; }
.tpl-classic .tb-card { border: 1px solid var(--line); padding: .75rem; border-radius: 8px; } .tpl-classic .tb-card-img { border-radius: 6px; } .tpl-classic .tb-card-price { color: var(--brand); font-size: 1.1rem; }
.tpl-classic .tb-cat-grid a { border-radius: 8px; } .tpl-classic .tb-banner-in { border-radius: 10px; }
.tpl-sports .tb-h2 { text-transform: uppercase; font-style: italic; } .tpl-sports .tb-card-img { clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%); }
.tpl-sports .tb-card h3 { text-transform: uppercase; font-family: var(--f-head); font-style: italic; letter-spacing: .02em; } .tpl-sports .tb-card-price { color: var(--brand); }
.tpl-sports .tb-cat-label strong { text-transform: uppercase; font-style: italic; } .tpl-sports .tb-banner-in { clip-path: polygon(0 0, 100% 0, 97% 100%, 0 100%); }
.tpl-production .tb-card { border: 1px solid var(--ink); background: var(--bg); } .tpl-production .tb-card-body { padding: .9rem 1rem; } .tpl-production .tb-card-cta { margin: 0 1rem 1rem; }
.tpl-production .tb-card h3 { font-weight: 800; } .tpl-production .tb-team-grid li { border-color: var(--ink); text-align: left; } .tpl-production .tb-avatar { margin: 0 0 1rem; border-radius: 0; }
.tpl-beauty .tb-card-img, .tpl-beauty .tb-cat-grid a, .tpl-beauty .tb-banner-in, .tpl-beauty .tb-contact-list, .tpl-beauty .tb-team-grid li { border-radius: 24px; } .tpl-beauty .tb-card { text-align: center; }
.tpl-beauty .tb-h2 { font-weight: 400; } .tpl-beauty .tb-cat-grid a { aspect-ratio: 1; }
.tpl-services .tb-card { border-radius: 16px; background: var(--bg); box-shadow: 0 14px 34px -22px rgba(0,0,0,.3); overflow: hidden; } .tpl-services .tb-card-body { padding: 1rem 1.1rem 1.2rem; }
.tpl-services .tb-card-img { aspect-ratio: 16 / 10; } .tpl-services .tb-team-grid li { border-radius: 16px; border: 0; box-shadow: 0 14px 34px -22px rgba(0,0,0,.3); } .tpl-services .tb-banner-in { border-radius: 20px; }
.tpl-fashion .tb-card-img { aspect-ratio: 3 / 4; } .tpl-fashion .tb-card h3 { font-weight: 400; letter-spacing: .02em; } .tpl-fashion .tb-card-price { font-weight: 400; } .tpl-fashion .tb-cat-grid a { aspect-ratio: 3 / 4; }
.tpl-fashion .tb-banner-in { background: var(--ink); color: var(--bg); } .tpl-fashion .tb-banner .s-btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.tpl-motors .tb-h2 { text-transform: uppercase; } .tpl-motors .tb-card { background: var(--soft); } .tpl-motors .tb-card-img { aspect-ratio: 16 / 10; } .tpl-motors .tb-card-body { padding: 1rem 1.1rem; }
.tpl-motors .tb-card h3 { text-transform: uppercase; font-family: var(--f-head); font-size: 1.25rem; } .tpl-motors .tb-card-price { color: var(--brand); font-size: 1.2rem; } .tpl-motors .tb-card-cta { margin: 0 1.1rem 1.1rem; }
.tpl-motors .tb-grid, .tpl-production .tb-grid, .tpl-services .tb-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .tb-grid, .tpl-motors .tb-grid, .tpl-production .tb-grid, .tpl-services .tb-grid { grid-template-columns: repeat(2, 1fr); } .tb-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .tb-contact-in { grid-template-columns: 1fr; } .tb-footer-grid { grid-template-columns: 1fr; } .tpl-motors .tb-grid, .tpl-services .tb-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .tb-grid { gap: .75rem; } .tb-card h3 { font-size: .95rem; } }

/* ---------- Special-offer popup (image or designed) ---------- */
.tb-popup { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 1rem; background: rgba(10,12,15,.55); animation: pop-in .25s ease; overflow-y: auto; }
.tb-popup[hidden] { display: none !important; }
.tb-popup-close { position: absolute; top: .5rem; right: .5rem; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #111; font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px -6px rgba(0,0,0,.4); }
/* A: complete image — never stretched */
.tb-popup-img { position: relative; max-width: min(92vw, 640px); }
.tb-popup-img img { display: block; max-width: 100%; max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); }
.tb-popup-img a { display: block; }
/* B: designed popup */
.tb-popup-box { position: relative; width: 100%; max-width: 460px; background: var(--bg); color: var(--ink); border-radius: max(var(--radius, 6px), 10px); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.tb-size-small .tb-popup-box { max-width: 360px; } .tb-size-large .tb-popup-box { max-width: 640px; }
.tb-popup-body { position: relative; z-index: 2; padding: 2rem 1.75rem 1.75rem; }
.tb-align-center .tb-popup-body { text-align: center; } .tb-align-left .tb-popup-body { text-align: left; }
.tb-popup-body h2 { font-family: var(--f-head); font-size: clamp(1.4rem, 4.5vw, 1.9rem); line-height: 1.12; margin-bottom: .6rem; }
.tb-popup-body p { margin-bottom: 1.25rem; opacity: .85; }
.tb-popup-ctas { display: flex; gap: .5rem; flex-wrap: wrap; } .tb-align-center .tb-popup-ctas { justify-content: center; } .tb-popup-ctas .s-btn { margin: 0; }
.tb-popup-media img { display: block; width: 100%; height: 100%; }
.tb-fit-cover img { object-fit: cover; } .tb-fit-contain img { object-fit: contain; background: var(--soft); }
/* image behind the text */
.tb-pos-background .tb-popup-box.has-image { color: #fff; min-height: 320px; display: grid; align-items: end; }
.tb-pos-background .tb-popup-media { position: absolute; inset: 0; } .tb-pos-background .tb-popup-shade { position: absolute; inset: 0; background: #000; opacity: .35; }
.tb-pos-background .has-image .tb-popup-body p { opacity: .95; }
.tb-pos-background .has-image .s-btn-ghost { color: #fff; border-color: rgba(255,255,255,.8); }
/* image on top */
.tb-pos-top .tb-popup-media { aspect-ratio: 16 / 9; }
/* image on the left */
.tb-pos-left .tb-popup-box.has-image { max-width: 720px; display: grid; grid-template-columns: 1fr 1.1fr; } .tb-pos-left .tb-popup-media { min-height: 280px; }
@media (max-width: 560px) { .tb-pos-left .tb-popup-box.has-image { grid-template-columns: 1fr; } .tb-pos-left .tb-popup-media { min-height: 0; aspect-ratio: 16 / 10; } .tb-popup-body { padding: 1.6rem 1.25rem 1.35rem; } }
.tb-popup-preview-note { position: fixed; bottom: .75rem; left: 50%; transform: translateX(-50%); background: #111; color: #fff; font-size: 12px; padding: .35rem .8rem; border-radius: 999px; }

/* Tregflix Terms of Use notice on Stores (all templates). Always above the page, below the special-offer popup. */
.s-terms { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.25rem; flex-wrap: wrap;
  padding: .8rem max(1rem, calc((100vw - 1140px) / 2)) calc(.8rem + env(safe-area-inset-bottom)); background: var(--bg); color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -18px rgba(0,0,0,.35); font-family: var(--f-body); }
.s-terms p { flex: 1 1 420px; margin: 0; font-size: 14px; line-height: 1.5; } .s-terms a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.s-terms form { display: flex; gap: .5rem; flex: 0 0 auto; margin: 0; } .s-terms .s-btn { margin: 0 !important; min-height: 42px; padding: .55rem 1.1rem !important; display: inline-flex !important; align-items: center; justify-content: center; visibility: visible !important; opacity: 1 !important; }
.s-terms .s-btn-ghost { text-decoration: none; }
body:has(.s-terms) { padding-bottom: 110px; }
body:has(.s-terms) .s-consent { bottom: calc(1rem + 110px); }
@media (max-width: 640px) { .s-terms form { width: 100%; } .s-terms .s-btn { flex: 1; } body:has(.s-terms) { padding-bottom: 190px; } body:has(.s-terms) .s-consent { bottom: calc(1rem + 190px); } }
.s-legal-checks { display: grid; gap: .6rem; margin: 1rem 0; font-size: 14px; }
.s-check { display: flex; gap: .6rem; align-items: flex-start; } .s-check input { width: 20px; height: 20px; margin-top: 1px; flex: 0 0 auto; accent-color: var(--brand); } .s-check a { color: inherit; text-decoration: underline; }
.s-check.has-error label { color: #b42318; } .s-legal-note { color: var(--muted); margin: 0; } .s-legal-note a { color: inherit; }
