/* Clipora additions on top of styles.css */
.paylogos { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.paylogos img { width: 38px; height: 24px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.hero-logos .paylogos { justify-content: flex-start; margin: -4px 0 16px; }
.final-logos .paylogos { margin-top: 18px; }

/* template catalog */
.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 34px 0 24px; }
.tpl { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.tpl-media { aspect-ratio: 4 / 3; background: #0c0c0d; overflow: hidden; }
.tpl-media video { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.tpl-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.tpl-body .ex-tag { align-self: flex-start; }
.tpl-body h3 { font-size: 22px; line-height: 1.15; margin: 4px 0 0; }
.tpl-body > p { margin: 0; color: #cfc9c1; font-size: 15.5px; }
.tpl-price { margin: auto 0 10px !important; padding-top: 12px; color: var(--muted) !important; }
.tpl-price b { font: 900 34px/1 var(--display); color: var(--text); letter-spacing: -.03em; margin-right: 4px; }
.tpl-price small { display: block; margin-top: 6px; font-size: 13px; }
.tpl-bundle { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border: 1.5px dashed #4a4b50; border-radius: 14px; padding: 16px 20px; }
.tpl-bundle span { color: #cfc9c1; }
@media (max-width: 960px) { .tpl-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .tpl-grid { grid-template-columns: 1fr; } .tpl-bundle .btn { width: 100%; } }

/* checkout dialog */
.pay-what { margin: -8px 0 16px; color: var(--muted); font-size: 15px; }
.voice { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.voice legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.voice-opt { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #202125; }
.voice-opt:has(input:checked) { border-color: var(--pink); background: #2a1d24; }
.voice-opt input { accent-color: var(--pink); width: 18px; height: 18px; margin: 0; }
.voice-opt span { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.voice-opt small { color: var(--muted); font-size: 13px; }
.voice-opt em { font-style: normal; font-weight: 800; }
.voice-all { margin: 0 0 12px; color: #9fe3a8; font-weight: 600; }
.pay-up { display: flex; flex-direction: column; gap: 4px; background: #24201a; border: 1px solid #4a3f26; border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; font-size: 14px; color: #e9dcc0; }
.link-btn { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--yellow); font-weight: 700; text-decoration: underline; }
.pay-lbl { display: block; font-weight: 600; margin-bottom: 6px; }
.pay-lbl small { color: var(--muted); font-weight: 400; }
#payEmail { width: 100%; padding: 13px 14px; border-radius: 10px; border: 1.5px solid #3a3b40; background: #121314; color: var(--text); font: inherit; }
#payEmail:focus { outline: none; border-color: var(--pink); }
.pay-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.pay-total b { font: 900 28px/1 var(--display); }
.pay .paylogos { margin: 12px 0 4px; }

/* guide page */
.gids { padding: 40px 0 70px; max-width: 760px; }
.gids h1 { font: 900 clamp(32px, 6vw, 52px)/1.05 var(--display); margin: 6px 0 14px; }
.os-pick { display: inline-flex; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin: 10px 0 26px; }
.os-pick button { border: 0; background: none; padding: 10px 18px; border-radius: 9px; font-weight: 700; color: var(--muted); }
.os-pick button[aria-selected="true"] { background: var(--pink); color: #160a10; }
.gids-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 18px; }
.gids-steps > li { counter-increment: s; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 20px 74px; }
.gids-steps > li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 38px; height: 38px; border-radius: 50%; background: var(--pink); color: #160a10; font: 900 19px/38px var(--display); text-align: center; }
.gids-steps h2 { font-size: 22px; margin: 4px 0 8px; }
.gids-steps p { margin: 0 0 10px; color: #ddd7cf; }
.gids-steps .help { background: #24201a; border: 1px solid #4a3f26; border-radius: 10px; padding: 12px 14px; margin: 10px 0 0; font-size: 15px; color: #e9dcc0; }
.gids-steps .help b { color: var(--yellow); }
.gids-steps .cmd { font: 700 18px/1 var(--mono); background: #0c0c0d; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 4px 0 12px; color: #9fe3a8; }
.ok-txt { color: #9fe3a8; }
@media (max-width: 560px) { .gids-steps > li { padding: 70px 18px 18px; } .gids-steps > li::before { left: 18px; top: 18px; } }
.voice-opt em { white-space: nowrap; }
/* templates whose whole vertical frame matters: show it complete, with a blurred fill behind */
.tpl-media { position: relative; }
.tpl-media.contain video { position: relative; object-fit: contain; }
.tpl-blur { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(18px) brightness(.55); }
.tpl-media { aspect-ratio: 4 / 5; }

/* "everything" banner above the templates */
.bundle-banner { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 22px; width: 100%; margin: 30px 0 4px; padding: 18px 22px; border-radius: 20px;
  background: radial-gradient(120% 160% at 0% 0%, rgba(236,79,143,.32), transparent 55%), linear-gradient(135deg, #2a1622, #1d1e21 60%);
  border: 2px solid var(--pink); box-shadow: 0 24px 70px -30px rgba(236,79,143,.75); transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden; }
.bundle-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.09) 45%, transparent 60%); transform: translateX(-100%); animation: bbShine 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes bbShine { 0%, 55% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .bundle-banner::after { animation: none; } }
.bundle-banner:hover { transform: translateY(-2px); box-shadow: 0 30px 80px -26px rgba(236,79,143,.9); }
.bundle-banner:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.bb-thumbs { display: flex; flex-shrink: 0; }
.bb-thumbs img { width: 46px; height: 82px; object-fit: cover; border-radius: 8px; border: 2px solid #121314; box-shadow: 0 6px 16px rgba(0,0,0,.5); }
.bb-thumbs img + img { margin-left: -18px; }
.bb-thumbs img:nth-child(odd) { transform: rotate(-4deg); } .bb-thumbs img:nth-child(even) { transform: rotate(4deg) translateY(4px); }
.bb-text { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.bb-tag { align-self: flex-start; font: 700 11.5px/1 var(--mono); letter-spacing: .1em; background: var(--yellow); color: #121314; padding: 6px 8px; border-radius: 5px; }
.bb-title { font: 900 clamp(20px, 2.6vw, 28px)/1.1 var(--display); color: var(--text); }
.bb-sub { color: #d8cfd3; font-size: 15px; }
.bb-price { display: flex; flex-direction: column; align-items: center; gap: 2px; flex-shrink: 0; }
.bb-price s { color: var(--muted); font-size: 16px; }
.bb-price b { font: 900 46px/1 var(--display); letter-spacing: -.04em; color: var(--text); }
.bb-cta { margin-top: 8px; background: var(--pink); color: #160a10; font-weight: 800; padding: 11px 18px; border-radius: 10px; white-space: nowrap; }
.bundle-banner:hover .bb-cta { background: var(--pink-2); }
@media (max-width: 720px) {
  .bundle-banner { flex-wrap: wrap; gap: 14px; padding: 18px; }
  .bb-text { flex-basis: calc(100% - 150px); }
  .bb-price { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 10px; width: 100%; }
  .bb-price b { font-size: 38px; }
  .bb-cta { margin: 0 0 0 auto; }
}
.bb-own { align-self: flex-start; margin-top: 4px; font-weight: 800; font-size: 15px; color: var(--pink-2); border: 1.5px dashed var(--pink); border-radius: 8px; padding: 5px 10px; background: rgba(236,79,143,.1); }
