/* «Набір для товару»: блоки головної (приклад набору, ціни, питання, вікно «Ваш товар» — st-*), сторінка набору (set.html) і список наборів (sets.html).
   Шапка, кнопки й вікна — зі спільних platform.css і home.css; тут лише те, чого там немає. */

/* ── Головна: рядок із ціною під кнопкою ───────────────────────────────────────────────────────────────────────────────── */
.st-price{max-width:560px;margin:16px 0 0;color:#4a4458;font-size:15px;font-weight:600;line-height:1.5;text-align:center;text-wrap:balance}
.st-price strong{color:#4b2fd6}
.rl-hero h1 .pf-grad{display:block}

/* ── Заголовки розділів ────────────────────────────────────────────────────────────────────────────────────────────────── */
.st-head{margin:0 0 24px}
.st-head h2{margin:0;font-size:clamp(26px,2.6vw,34px);font-weight:800;letter-spacing:-.02em;color:#1c1830}
.st-head p{margin:8px 0 0;max-width:680px;color:#6b6578;font-size:15.5px;line-height:1.5}
.rl-main>.st-example,.rl-main>.st-pricing,.rl-main>.st-faq{display:block;margin-top:56px}

/* ── Приклад набору: фото товару по центру → «полиця» з усім, що з нього вийшло ─────────────────────────────────────────── */
.st-head-center{text-align:center}
.st-head-center p{margin-inline:auto}
.st-flow{display:flex;flex-direction:column;align-items:center}
.st-source{position:relative;z-index:1;width:min(208px,54vw);margin:4px 0 0;padding:9px 9px 0;border-radius:20px;background:#fff;box-shadow:0 18px 40px rgba(44,28,100,.18);transform:rotate(-2.5deg)}
.st-source img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:13px;background:#eeeaf6}
.st-source figcaption{display:flex;flex-direction:column;gap:1px;padding:10px 4px 12px;text-align:center}
.st-source figcaption strong{color:#231f2e;font-size:14.5px;font-weight:800}
.st-source figcaption span{color:#857e93;font-size:12.5px}
/* Пунктир від фото до полиці: «за кілька хвилин» і стрілка вниз. */
.st-branch{position:relative;display:grid;place-items:center;width:100%;height:78px}
.st-branch::before{content:"";position:absolute;top:2px;bottom:9px;left:50%;margin-left:-1px;border-left:2px dashed #c6b8f6}
.st-branch::after{content:"";position:absolute;left:50%;bottom:3px;width:11px;height:11px;margin-left:-6.5px;border-right:2px solid #a893f2;border-bottom:2px solid #a893f2;transform:rotate(45deg)}
.st-branch span{position:relative;padding:6px 14px;border:1px solid #e3dafc;border-radius:999px;background:#f3efff;color:#5b3df0;font-size:12.5px;font-weight:800;white-space:nowrap}
.st-source[hidden]+.st-branch{display:none}
/* Полиця: рілси 9:16 і картинки 4:5 однієї висоти. Вільну ширину групи ділять у пропорції «кількість × ширина картки за однакової висоти»
   (9/16 проти 4/5 → 9 проти 12,8), а проміжки між картками лежать у flex-basis — тож висоти збігаються за будь-якої кількості карток. */
.st-shelf{--g:14px;--G:30px;display:flex;align-items:flex-start;gap:var(--G);width:100%;padding:24px 24px 22px;border:1px solid #ebe6fa;border-radius:28px;background:#fff;box-shadow:0 14px 40px rgba(60,40,140,.07)}
.st-group{display:grid;gap:12px var(--g);align-content:start;min-width:0}
.st-reels{flex:calc(var(--reels,3) * 9) 0 calc((var(--reels,3) - 1) * var(--g));grid-template-columns:repeat(var(--reels,3),minmax(0,1fr))}
.st-stills{flex:calc(var(--stills,4) * 12.8) 0 calc((var(--stills,4) - 1) * var(--g));grid-template-columns:repeat(var(--stills,4),minmax(0,1fr))}
.st-shelf-single{justify-content:center}
.st-shelf-single .st-group{flex:0 1 auto;width:min(100%,760px)}
.st-group-label{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;margin:0 0 2px;color:#857e93;font-size:13px;line-height:1.35}
.st-group-label strong{color:#1c1830;font-size:16.5px;font-weight:800;letter-spacing:-.01em}
.st-shelf[aria-busy="true"]{min-height:320px;border-color:transparent;box-shadow:none;background:linear-gradient(110deg,#ece9f5 30%,#f6f4fb 50%,#ece9f5 70%);background-size:200% 100%;animation:rl-shimmer 1.4s linear infinite}
.st-example-empty{flex:1;margin:0;padding:18px;color:#4a4458;text-align:center}
.st-card{margin:0;min-width:0}
.st-card img,.st-card video{display:block;width:100%;border-radius:14px;background:#e9e5f3}
.st-card-reel img,.st-card-reel video{aspect-ratio:9/16;object-fit:cover}
.st-card-image img{aspect-ratio:4/5;object-fit:cover}
.st-card figcaption{display:flex;flex-direction:column;gap:1px;padding:9px 2px 0;color:#231f2e;font-size:13px;line-height:1.3}
.st-card figcaption strong{font-weight:700}
.st-card figcaption span{color:#857e93;font-size:12px}
.st-carousel{position:relative;border-radius:14px;overflow:hidden;background:#e9e5f3}
.st-carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;outline-offset:2px}
.st-carousel-track::-webkit-scrollbar{display:none}
.st-card .st-carousel-track img{flex:none;width:100%;aspect-ratio:4/5;object-fit:cover;scroll-snap-align:start;border-radius:0;user-select:none}
.st-carousel-dots{position:absolute;left:0;right:0;bottom:8px;display:flex;justify-content:center;gap:6px;pointer-events:none}
.st-carousel-dots button{pointer-events:auto;width:7px;height:7px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.6);box-shadow:0 0 0 1px rgba(0,0,0,.18);cursor:pointer}
.st-carousel-dots button.on{background:#fff;transform:scale(1.25)}
.st-carousel-nav{position:absolute;top:50%;width:30px;height:30px;margin-top:-15px;padding:0 0 3px;border:0;border-radius:50%;background:rgba(20,16,36,.55);color:#fff;font-size:20px;line-height:1;cursor:pointer;backdrop-filter:blur(4px)}
.st-carousel-nav.prev{left:6px}.st-carousel-nav.next{right:6px}
.st-carousel-nav[hidden]{display:none}
/* Рілс: обкладинка, поверх неї тихе відео; натискання відкриває перегляд на весь екран зі звуком. */
.st-card-media{position:relative;border-radius:14px;overflow:hidden;cursor:pointer;transition:transform .18s,box-shadow .18s}
.st-card-media:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(44,28,100,.2)}
.st-card-media video{position:absolute;inset:0;height:100%;border-radius:0;opacity:0;transition:opacity .25s}
.st-card.playing .st-card-media video{opacity:1}
.st-play{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:46px;height:46px;margin:-23px 0 0 -23px;padding:0;border:0;border-radius:50%;background:rgba(20,16,36,.58);color:#fff;cursor:pointer;backdrop-filter:blur(6px)}
.st-play svg{width:20px;height:20px;margin-left:2px;fill:currentColor}
.st-play:focus-visible{outline:3px solid #fff;outline-offset:2px}
/* Поки прев'ю грає, кнопка не затуляє товар: вона в кутку й каже «зі звуком». */
.st-card.playing .st-play{left:auto;top:auto;right:7px;bottom:7px;width:30px;height:30px;margin:0}
.st-card.playing .st-play svg{width:16px;height:16px;margin:0;fill:none}
.st-card-time{position:absolute;left:7px;top:7px;padding:2px 7px;border-radius:999px;background:rgba(20,16,36,.58);color:#fff;font-size:11.5px;font-weight:700;line-height:1.5;pointer-events:none;backdrop-filter:blur(6px)}
/* Перегляд рілса на весь екран (rl-viewer із home.css): стрілки «попередній / наступний» поруч із відео — лише там, де є миша й місце збоку. */
.st-viewer-nav{position:absolute;left:calc(50% + min(50vw,50dvh * 9 / 16) + 16px);top:50%;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;cursor:pointer;transition:background .15s}
.st-viewer-nav.prev{margin-top:-50px}.st-viewer-nav.next{margin-top:6px}
.st-viewer-nav:hover{background:rgba(255,255,255,.26)}
.st-viewer-nav:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media (hover:none),(max-aspect-ratio:3/4){.st-viewer-nav{display:none}}
.st-extra{max-width:560px;margin:22px 0 0;color:#5a5468;font-size:15px;line-height:1.5;text-align:center;text-wrap:balance}
.st-flow-cta{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:20px}
.st-flow-btn{display:inline-flex;align-items:center;gap:10px;min-height:56px;padding:0 30px;border:0;border-radius:18px;background:linear-gradient(100deg,#5b3df0 0%,#8a52fa 55%,#b567ff 100%);color:#fff;font:inherit;font-size:16.5px;font-weight:800;cursor:pointer;box-shadow:0 14px 32px rgba(104,66,240,.3);transition:transform .16s,box-shadow .16s}
.st-flow-btn:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(104,66,240,.4)}
.st-flow-btn:focus-visible{outline:3px solid #1c1830;outline-offset:3px}
.st-flow-cta small{color:#857e93;font-size:13px}

/* ── Ціни ──────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.st-packs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.st-pack{position:relative;display:flex;flex-direction:column;padding:26px 24px 24px;border:1px solid #e6e1f3;border-radius:22px;background:#fff}
.st-pack.featured{border-color:#7c5cff;box-shadow:0 16px 36px rgba(104,66,240,.16)}
.st-pack-tag{position:absolute;top:18px;right:18px;padding:4px 10px;border-radius:999px;background:#efeaff;color:#4b2fd6;font-size:12.5px;font-weight:800}
.st-pack h3{margin:0;color:#1c1830;font-size:18px;font-weight:800}
.st-pack-price{margin:14px 0 0}.st-pack-price strong{color:#1c1830;font-size:34px;font-weight:800;letter-spacing:-.02em}
.st-pack-unit{margin:4px 0 0;color:#4b2fd6;font-size:14px;font-weight:700}
.st-pack-tagline{flex:1;margin:12px 0 20px;color:#6b6578;font-size:14px;line-height:1.45}
.st-pack-buy{min-height:48px;border:1px solid #d9d1e6;border-radius:14px;background:#fff;color:#352745;font:inherit;font-size:15px;font-weight:800;cursor:pointer;transition:background .15s,border-color .15s}
.st-pack-buy:hover{border-color:#bfb2f2;background:#f7f4ff}
.st-pack-buy.primary{border:0;background:linear-gradient(100deg,#5b3df0,#a85bff);color:#fff}
.st-pack-buy.primary:hover{filter:brightness(1.06)}
.st-pack-buy:disabled{opacity:.55;cursor:wait}
.st-pack-buy:focus-visible,.st-pay-pack:focus-visible{outline:3px solid #8b78d0;outline-offset:2px}
.st-pricing-note{max-width:760px;margin:20px 0 0;color:#6b6578;font-size:13.5px;line-height:1.55}
.st-pricing-note a,.st-faq a{color:#6549c8;font-weight:700}

/* ── Питання ───────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.st-faq details{border-bottom:1px solid #e9e5f3}
.st-faq details:first-of-type{border-top:1px solid #e9e5f3}
.st-faq summary{padding:18px 34px 18px 2px;color:#1c1830;font-size:16.5px;font-weight:700;cursor:pointer;list-style:none;position:relative}
.st-faq summary::-webkit-details-marker{display:none}
.st-faq summary::after{content:"+";position:absolute;right:6px;top:50%;transform:translateY(-50%);color:#7c5cff;font-size:24px;font-weight:500;line-height:1}
.st-faq details[open] summary::after{content:"−"}
.st-faq summary:focus-visible{outline:3px solid #8b78d0;outline-offset:2px;border-radius:6px}
.st-faq details p{max-width:760px;margin:0 0 20px 2px;color:#4a4458;font-size:15px;line-height:1.6}

/* ── Вікно «Ваш товар» ─────────────────────────────────────────────────────────────────────────────────────────────────── */
.st-dialog{width:min(480px,calc(100vw - 24px))}
.st-dialog .pf-modal-body{padding:28px;gap:16px}
.st-dialog h2:focus{outline:none}
.st-color{display:grid;gap:8px}
.st-color-title{font-size:13.5px;font-weight:700;color:#1c1830}
.st-color-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.st-swatch{width:30px;height:30px;padding:0;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px rgba(44,28,100,.22);cursor:pointer;font:inherit;font-size:11px;font-weight:800;color:#4a4458;background:#f0edf8}
.st-swatch.auto{width:auto;min-width:44px;padding:0 10px;border-radius:999px}
.st-swatch.on{box-shadow:0 0 0 2px #7c5cff}
.st-swatch:disabled,.st-swatch-custom:disabled{opacity:.45;cursor:not-allowed}
.st-swatch-custom{width:34px;height:30px;padding:0;border:1px solid rgba(44,28,100,.25);border-radius:8px;background:none;cursor:pointer}
.st-photo{position:relative;display:grid;place-items:center;height:260px;overflow:hidden;border-radius:16px;background:#f0edf8}
.st-photo img{max-width:100%;max-height:260px;object-fit:contain;display:block}
.st-photo-change{position:absolute;right:10px;bottom:10px;min-height:34px;padding:0 14px;border:0;border-radius:999px;background:rgba(20,16,36,.72);color:#fff;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.st-photo-change:disabled{opacity:.4;cursor:not-allowed}
.st-extra{display:flex;flex-direction:column;gap:8px}
.st-thumbs{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.st-thumbs:empty{display:none}
.st-thumb{position:relative;width:64px;height:64px;border-radius:12px;overflow:hidden;background:#f0edf8;box-shadow:0 0 0 1px rgba(44,28,100,.14)}
.st-thumb.main{box-shadow:0 0 0 2px #7c5cff}
.st-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.st-thumb button{position:absolute;right:3px;top:3px;display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:rgba(20,16,36,.72);color:#fff;font:inherit;font-size:14px;line-height:1;cursor:pointer}
.st-thumb button:disabled{opacity:.4;cursor:not-allowed}
.st-add{align-self:flex-start;min-height:36px;padding:0 14px;border:1px dashed rgba(124,92,255,.6);border-radius:999px;background:#faf8ff;color:#5b3fd6;font:inherit;font-size:13.5px;font-weight:700;cursor:pointer}
.st-add:disabled{opacity:.45;cursor:not-allowed}
.st-add[hidden]{display:none}
.st-extra-note{margin:0;color:#6b6580;font-size:12.5px;line-height:1.45}
.st-dialog-text{margin:0;color:#4a4458;font-size:14.5px;line-height:1.5}
.st-dialog-text:empty{display:none}
.st-dialog-text strong{color:#1c1830}
.st-dialog .rl-create{margin-top:0}
.st-dialog .rl-create[hidden]{display:none}
.st-pay-packs{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
.st-pay-packs[hidden]{display:none}
.st-pay-pack{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:14px 16px;border:1px solid #e3def0;border-radius:14px;background:#fff;color:#231f2e;font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,background .15s}
.st-pay-pack:hover{border-color:#7c5cff;background:#f7f4ff}
.st-pay-pack:disabled{opacity:.55;cursor:wait}
.st-pay-pack strong{display:block;font-size:15.5px}
.st-pay-pack small{display:block;margin-top:2px;color:#6b6578;font-size:13px}
.st-pay-price{flex:none;color:#4b2fd6;font-size:17px;font-weight:800}
.st-legal{margin:0;color:#6b6578;font-size:12.5px;line-height:1.5}
.st-legal[hidden]{display:none}
.st-legal a{color:#6549c8;font-weight:700}

/* ── Меню акаунта: оплачені набори ─────────────────────────────────────────────────────────────────────────────────────── */
.st-account-sets p{margin-bottom:0}

/* ── Сторінка набору й список наборів (спільна шапка сторінок бібліотеки — css/my-videos.css) ─────────────────────────────── */
.set-page{max-width:1180px;margin:0 auto;padding:32px 24px 72px}
.set-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px 28px;flex-wrap:wrap;margin-bottom:22px}
.set-top h1{margin:0;font-size:clamp(26px,3.4vw,36px);letter-spacing:-.6px;color:#1c1830}
.set-top h1.is-ready{display:flex;align-items:center;gap:12px}
.set-top h1.is-ready::before{content:"";flex:none;width:.9em;height:.9em;border-radius:50%;background:#1f9d55 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.4l2.8 2.8L12 5.6'/%3E%3C/svg%3E") center/70% no-repeat}
.set-top p{margin:8px 0 0;max-width:640px;color:#706c80;line-height:1.5}
.set-status{margin:0 0 20px;color:#6a6278}
.set-status:empty{display:none}
.set-status.is-error{padding:14px 16px;border-radius:14px;background:#fdecea;color:#8a1c12}

/* Генерація */
.set-progress{max-width:560px;margin:40px auto;padding:34px 30px;border:1px solid #e5e3ec;border-radius:22px;background:#fff;text-align:center}
.set-progress h2{margin:0 0 6px;font-size:22px;color:#1c1830}
.set-progress p{margin:0 0 22px;color:#706c80;line-height:1.5}
.set-progress-bar{height:10px;border-radius:5px;background:#e9e4fb;overflow:hidden}
.set-progress-bar span{display:block;height:100%;width:3%;border-radius:5px;background:linear-gradient(90deg,#5b3df0,#b567ff);transition:width .6s}
.set-progress-row{display:flex;justify-content:space-between;gap:12px;margin-top:12px;color:#4a4458;font-size:14px;font-weight:600}
.set-progress small{display:block;margin-top:18px;color:#857e93;font-size:13px}

/* Оплата: панель над файлами */
.set-pay{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px 28px;align-items:center;margin:0 0 28px;padding:24px 26px;border-radius:22px;background:linear-gradient(100deg,#2b1f78 0%,#5b3df0 58%,#a85bff 100%);color:#fff;box-shadow:0 18px 40px rgba(70,42,170,.24)}
.set-pay h2{margin:0;font-size:clamp(19px,2.2vw,24px);font-weight:800}
.set-pay p{margin:6px 0 0;color:rgba(255,255,255,.86);font-size:14.5px;line-height:1.5}
.set-pay-actions{display:flex;flex-direction:column;gap:8px;min-width:260px}
.set-pay-btn{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:0 20px;border:0;border-radius:14px;background:#fff;color:#3a23b8;font:inherit;font-size:15.5px;font-weight:800;cursor:pointer;text-align:left}
.set-pay-btn span:last-child{flex:none}
.set-pay-btn.secondary{min-height:44px;background:rgba(255,255,255,.14);color:#fff;font-size:14px;font-weight:700}
.set-pay-more{align-self:center;display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 8px;border:0;background:none;color:rgba(255,255,255,.88);font:inherit;font-size:13.5px;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.set-pay-more::after{content:"";width:7px;height:7px;margin-top:-3px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);transition:transform .15s}
.set-pay-more[aria-expanded="true"]::after{margin-top:3px;transform:rotate(-135deg)}
.set-pay-more:hover{color:#fff}
.set-pay-more:focus-visible{outline:3px solid #fff;outline-offset:2px;border-radius:8px}
.set-pay-extra{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid rgba(255,255,255,.22)}
.set-pay-extra[hidden]{display:none}
.set-pay-btn:hover{filter:brightness(.97)}
.set-pay-btn.secondary:hover{background:rgba(255,255,255,.22);filter:none}
.set-pay-btn:disabled{opacity:.6;cursor:wait}
.set-pay-btn:focus-visible{outline:3px solid #fff;outline-offset:2px}
.set-pay-legal{grid-column:1/-1;margin:0;color:rgba(255,255,255,.72);font-size:12.5px}
.set-pay-legal a{color:#fff}
.set-pay-error{grid-column:1/-1;margin:0;padding:10px 12px;border-radius:10px;background:rgba(255,255,255,.94);color:#8a1c12;font-size:14px}
.set-paid{display:flex;align-items:center;justify-content:space-between;gap:14px 24px;flex-wrap:wrap;margin:0 0 28px;padding:18px 22px;border:1px solid #cfe9d6;border-radius:18px;background:#f1faf3;color:#1f5a2f}
.set-paid strong{font-size:16px}
.set-paid p{margin:4px 0 0;color:#3d6b49;font-size:14px}
.set-note{margin:0 0 24px;padding:14px 16px;border-radius:14px;background:#fff7e6;color:#6b4a00;font-size:14.5px;line-height:1.5}

/* Файли набору */
.set-group{margin:0 0 34px}
.set-group h2{margin:0 0 14px;font-size:20px;color:#1c1830}
.set-group h2+.set-group-hint{margin:-8px 0 14px;color:#6a6479;font-size:14px;line-height:1.45}
.set-grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));align-items:start}
.set-grid.reels{grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr))}
.set-file{overflow:hidden;border:1px solid #e5e3ec;border-radius:18px;background:#fff}
.set-file-media{position:relative;background:#17161b}
.set-file-media video,.set-file-media img{display:block;width:100%;object-fit:contain}
.set-file[data-kind="reel"] .set-file-media video{aspect-ratio:9/16;background:#17161b}
.set-file[data-kind="image"] .set-file-media img{aspect-ratio:4/5;background:#f1eff6}
.set-file[data-kind="photo"] .set-file-media img{aspect-ratio:1/1;background:#fff}
.set-file-lock{position:absolute;left:10px;top:10px;padding:4px 10px;border-radius:999px;background:rgba(20,16,36,.66);color:#fff;font-size:12px;font-weight:700;pointer-events:none}
.set-file-body{padding:14px 16px 16px}
.set-file h3{margin:0;font-size:15.5px;color:#231f2e}
.set-file p{margin:5px 0 12px;color:#706c80;font-size:13px;line-height:1.4}
.set-file .library-button{width:100%}
.set-file .library-error{margin:8px 0 0}
.set-caption{padding:20px 22px;border:1px solid #e5e3ec;border-radius:18px;background:#fff}
.set-caption-text{margin:0 0 10px;color:#231f2e;font-size:15.5px;line-height:1.6;white-space:pre-wrap}
.set-caption-tags{margin:0 0 16px;color:#5b3df0;font-size:14.5px;line-height:1.6;overflow-wrap:anywhere}
.set-bottom{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
.set-bottom a{text-decoration:none}

/* Список наборів */
.sets-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:20px;align-items:start}
.set-card{display:block;overflow:hidden;border:1px solid #e5e3ec;border-radius:18px;background:#fff;color:inherit;text-decoration:none;transition:box-shadow .15s,transform .15s}
.set-card:hover{box-shadow:0 12px 28px rgba(44,28,100,.12);transform:translateY(-2px)}
.set-card:focus-visible{outline:3px solid #bba6fc;outline-offset:3px}
.set-card-cover{display:grid;place-items:center;aspect-ratio:4/5;background:#efecf7;color:#857e93;font-size:14px;font-weight:600;text-align:center;padding:0}
.set-card-cover img{display:block;width:100%;height:100%;object-fit:cover}
.set-card-body{padding:14px 16px 16px}
.set-card h2{margin:0 0 6px;font-size:16px;color:#231f2e;overflow-wrap:anywhere}
.set-card time{display:block;color:#706c80;font-size:13.5px}
.set-badge{display:inline-block;margin-top:10px;padding:4px 10px;border-radius:999px;font-size:12.5px;font-weight:700}
.set-badge.paid{background:#e7f6ea;color:#1f6a33}
.set-badge.trial{background:#efeaff;color:#4b2fd6}
.set-badge.busy{background:#fff3d6;color:#7a5200}
.set-badge.failed{background:#fdecea;color:#8a1c12}
.sets-empty{max-width:520px;margin:48px auto;padding:36px 28px;border:1px dashed #d8d0f0;border-radius:22px;background:#fff;text-align:center}
.sets-empty h2{margin:0 0 8px;font-size:21px;color:#1c1830}
.sets-empty p{margin:0 0 20px;color:#706c80;line-height:1.5}
.sets-empty a{display:inline-block;text-decoration:none}
.sets-legacy{margin:36px 0 0;color:#706c80;font-size:14px}
.sets-legacy a{color:#6549c8;font-weight:700}

/* Вужче за 1100 px — два ряди: рілси (не ширші за 200 px кожен, по центру), під ними картинки. */
@media (max-width:1099px){
  .st-shelf{flex-direction:column;align-items:stretch;gap:26px}
  .st-reels,.st-stills{flex:none}
  .st-reels{width:min(100%,calc(var(--reels,3) * 200px + (var(--reels,3) - 1) * var(--g)));margin-inline:auto}
  .st-shelf-single .st-group{width:auto}
}
@media (max-width:820px){
  .st-packs{grid-template-columns:1fr}
  .set-pay{grid-template-columns:1fr}
  .set-pay-actions{min-width:0}
}
@media (max-width:600px){
  .rl-main>.st-example,.rl-main>.st-pricing,.rl-main>.st-faq{margin-top:44px}
  .st-source{width:min(176px,48vw)}
  .st-branch{height:66px}
  .st-shelf{--g:8px;gap:22px;padding:16px 14px 16px;border-radius:22px}
  .st-stills{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}
  .st-reels{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}
  .st-group-label strong{font-size:15.5px}
  .st-card img,.st-card video,.st-carousel,.st-card-media{border-radius:12px}
  .st-card figcaption{padding-top:7px;font-size:12px}
  .st-card figcaption span{font-size:11.5px}
  .st-play{width:38px;height:38px;margin:-19px 0 0 -19px}.st-play svg{width:16px;height:16px}
  .st-card.playing .st-play{right:5px;bottom:5px;width:26px;height:26px}.st-card.playing .st-play svg{width:14px;height:14px}
  .st-card-time{left:5px;top:5px;font-size:10.5px}
  .st-flow-btn{width:100%;justify-content:center;padding:0 18px}
  .st-flow-cta{width:100%}
  .st-dialog .pf-modal-body{padding:22px 18px}
  .st-photo{height:220px}.st-photo img{max-height:220px}
  .set-page{padding:20px 12px 48px}
  .set-grid,.set-grid.reels,.sets-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .set-file-body{padding:10px 10px 12px}.set-file h3{font-size:14px}.set-file p{font-size:12px}
  .set-file .library-button{padding:10px 8px;font-size:13px;white-space:normal}
  .set-pay{padding:20px 18px;border-radius:18px}
  .set-progress{margin:20px auto;padding:26px 18px}
}
@media (prefers-reduced-motion:reduce){
  .st-card-media,.st-card-media video,.st-flow-btn,.set-card,.set-progress-bar span{transition:none}
  .set-card:hover,.st-card-media:hover,.st-flow-btn:hover{transform:none}
  .st-shelf[aria-busy="true"]{animation:none}
}
.set-paid a,.sets-empty a{text-decoration:none}
.sets-empty .set-bottom{justify-content:center}
