/* Компактный каталог «Струны будущего», 15.11.2026 */
.hero{min-height:0;padding:48px 0 32px}
.hero h1{max-width:820px;font-size:clamp(36px,4.15vw,60px);line-height:1.05}
.hero-lead{margin:16px auto 22px;font-size:14px}
.search-wrap{height:56px;margin-bottom:18px;border-radius:15px}
.tabs{gap:6px}
.tabs button{min-height:34px;padding:0 12px;font-size:11px}
.catalog-section{padding:44px 0 85px}
.catalog-head{margin-bottom:20px;align-items:center}
.catalog-head h2{font-size:clamp(28px,3vw,37px)}
.catalog-tools select{min-width:170px;font-size:12px}
.song-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.song-grid .song-card{min-width:0;display:flex;flex-direction:column;border:1px solid #e7dfea;border-radius:17px;background:#fff;box-shadow:0 4px 15px rgba(43,24,54,.045);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.song-grid .song-card:hover{transform:translateY(-2px);border-color:#c6add8;box-shadow:0 12px 30px rgba(43,24,54,.09)}
.card-header{min-width:0;min-height:103px;padding:12px 12px 8px;display:flex;align-items:flex-start;gap:12px}
.song-grid .cover-button{width:80px;height:80px;flex:0 0 80px;border-radius:12px;overflow:hidden}
.song-grid .song-cover{width:80px;height:80px;min-height:0;aspect-ratio:1;padding:0;border-radius:12px}
.song-grid .song-cover .cover-copy{display:none}
.song-grid .record{top:14%;right:-11%;width:86%;box-shadow:inset 0 0 0 9px rgba(255,255,255,.03),inset 0 0 0 11px rgba(255,255,255,.09)}
.song-cover.has-image img{position:absolute;z-index:1;inset:0;width:100%;height:100%;object-fit:cover}
.song-cover.has-image .record,.song-cover.has-image .cover-copy{display:none}
.song-grid .new-label{right:5px;bottom:5px;padding:3px 5px;font-size:8px;border-radius:5px}
.card-info{min-width:0;flex:1;padding-top:2px}
.song-grid .card-section-line{min-height:0;margin:0 0 8px;justify-content:flex-start}
.song-grid .level-badge{padding:4px 6px;font-size:9px;line-height:1.1}
.card-title{width:100%;padding:0;display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;border:0;background:transparent;color:#261b32;text-align:left;font-size:16px;line-height:1.21;font-weight:800;letter-spacing:-.025em;overflow-wrap:anywhere;cursor:pointer}
.card-title:hover{color:#7534a6}
.card-artist{margin:6px 0 0;overflow:hidden;color:#796c81;font-size:11px;font-weight:600;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.song-grid .card-body{margin-top:auto;padding:0 12px 12px}
.song-grid .feature-list{min-height:17px;max-height:17px;overflow:hidden;display:flex;flex-wrap:nowrap;align-items:center;gap:7px;color:#766b7d;font-size:10px}
.song-grid .feature-list span{flex:0 0 auto}
.song-grid .feature-list span:nth-last-child(-n+2){display:inline}
.song-grid .purchase-options{margin-top:9px;padding-top:9px;gap:7px;border-color:#eee7f2}
.song-grid .purchase-options button{min-width:0;min-height:48px;padding:7px 9px;border-radius:10px;justify-content:center}
.song-grid .purchase-options span{max-width:100%;font-size:9px;line-height:1.1}
.song-grid .purchase-options strong{margin-top:4px;font-size:15px;line-height:1}
.song-grid .song-card button:focus-visible{outline:3px solid #7534a6;outline-offset:-3px}
.modal-backdrop{padding:20px}
.song-modal{width:min(790px,100%);max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #e3dbe9;border-radius:22px;background:#fff;box-shadow:0 28px 90px rgba(22,14,33,.24)}
.modal-close{top:16px;right:17px;width:38px;height:38px;z-index:5}
.modal-content{padding:26px}
.modal-identity{display:grid;grid-template-columns:132px minmax(0,1fr);align-items:center;gap:23px;padding-right:35px}
.modal-cover{width:132px;height:132px;min-height:0;aspect-ratio:1;padding:12px;border-radius:15px;box-shadow:none}
.modal-cover .record{width:84%;right:-15%;top:16%}
.modal-cover .cover-copy span{margin-bottom:5px;font-size:9px;line-height:1.2}
.modal-cover .cover-copy strong{width:95%;font-size:18px;line-height:1.07;-webkit-line-clamp:3}
.modal-heading{min-width:0}
.modal-heading .level-badge{margin-bottom:9px;font-size:10px}
.modal-artist{margin:0 0 5px;color:#796c81;font-size:12px;font-weight:800;letter-spacing:.035em;text-transform:uppercase}
.modal-heading h2{margin:0;max-width:100%;color:#261b32;font-size:clamp(23px,3vw,36px);line-height:1.08;letter-spacing:-.045em;overflow-wrap:anywhere}
.modal-description{margin:10px 0 0;color:#756a7d;font-size:12px;line-height:1.5}
.modal-bottom{margin-top:23px;padding-top:20px;display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;border-top:1px solid #eee7f2}
.modal-details h3,.modal-buy h3{margin:0 0 12px;color:#2a1d33;font-size:15px}
.modal-details .facts{margin:0 0 16px;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.modal-details .facts span{min-width:0;padding:11px 9px;background:#faf7fc}
.modal-details .facts small{margin-bottom:6px;font-size:9px}
.modal-details .facts strong{color:#32213c;font-size:11px;overflow-wrap:anywhere}
.modal-details .modal-features{gap:6px}
.modal-details .modal-features span{padding:7px 9px;font-size:10px}
.modal-buy{padding:17px;border:1px solid #e5d8ed;border-radius:15px;background:#faf7fc}
.modal-buy h3{margin-bottom:4px}
.modal-buy>p{margin:0;color:#796c81;font-size:11px;line-height:1.4}
.modal-buy .purchase-options{margin-top:14px;padding:0;display:grid;grid-template-columns:1fr;gap:8px;border:0}
.modal-buy .purchase-options button{min-height:49px;padding:10px 11px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:8px;background:#fff;color:#261b32}
.modal-buy .purchase-options span{font-size:10px;font-weight:750;text-align:left;text-transform:none}
.modal-buy .purchase-options strong{margin:0;white-space:nowrap;font-size:15px}
.modal-buy .purchase-options button.added{background:#f0e3f9}
.modal-cart{min-height:45px;margin-top:10px;font-size:12px}
.modal-buy .purchase-options button:focus-visible{outline:3px solid #7534a6;outline-offset:2px}
@media(max-width:1130px){.song-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:860px){.song-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-bottom{grid-template-columns:1fr;gap:16px}.modal-buy .purchase-options{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-buy .purchase-options button{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.hero{padding:32px 0 24px}.hero h1{font-size:clamp(32px,9vw,43px)}.hero-lead{margin:12px auto 19px}.catalog-section{padding:28px 0 65px}.catalog-head{margin-bottom:17px}.catalog-head h2{font-size:27px}.song-grid{grid-template-columns:1fr;gap:11px}.card-header{min-height:95px;padding:11px 11px 7px;gap:12px}.song-grid .cover-button,.song-grid .song-cover{width:72px;height:72px}.song-grid .cover-button{flex-basis:72px}.song-grid .card-body{padding:0 11px 10px}.song-grid .purchase-options button{min-height:45px}.modal-backdrop{padding:9px;align-items:center}.song-modal{max-height:calc(100dvh - 18px);border-radius:16px}.modal-close{top:10px;right:10px;width:34px;height:34px}.modal-content{padding:16px}.modal-identity{grid-template-columns:78px minmax(0,1fr);gap:13px;padding-right:30px;align-items:start}.modal-cover{width:78px;height:78px;padding:7px;border-radius:10px}.modal-cover .cover-copy span{font-size:7px}.modal-cover .cover-copy strong{font-size:12px}.modal-heading .level-badge{margin-bottom:5px;font-size:9px}.modal-heading h2{font-size:clamp(21px,6vw,27px)}.modal-artist{font-size:10px}.modal-description{margin-top:7px}.modal-bottom{margin-top:15px;padding-top:15px}.modal-details .facts{grid-template-columns:repeat(3,minmax(0,1fr))}.modal-details .facts span{padding:9px 7px}.modal-buy{padding:13px}.modal-buy .purchase-options{grid-template-columns:1fr}.modal-buy .purchase-options button{flex-direction:row;align-items:center}}
@media(prefers-reduced-motion:reduce){.song-grid .song-card{transition:none}.song-grid .song-card:hover{transform:none}}


/* Обложка как в музыкальном каталоге: крупное фото, но четыре песни в ряд. */
@media (min-width: 861px) {
  .song-grid .song-card { min-height: 352px; }
  .song-grid .card-header {
    display: flex; flex-direction: column; align-items: center; gap: 0;
    min-height: 0; padding: 14px 12px 8px;
  }
  .song-grid .cover-button {
    width: 100%; height: 200px; flex: none; display: flex;
    align-items: center; justify-content: center; border-radius: 12px;
  }
  .song-grid .song-cover {
    width: 200px; height: 200px; min-height: 0; aspect-ratio: 1;
    padding: 0; border-radius: 12px;
  }
  .song-grid .card-info { width: 100%; min-width: 0; flex: 0 0 auto; padding-top: 9px; text-align: center; }
  .song-grid .card-section-line { margin-bottom: 5px; justify-content: center; }
  .song-grid .card-title {
    max-width: 100%; min-height: 36px; font-size: 14px;
    line-height: 1.26; text-align: center; font-weight: 800;
  }
  .song-grid .card-artist { margin: 4px 0 0; font-size: 11px; }
  .song-grid .card-body { padding: 0 12px 12px; }
  .song-grid .feature-list { justify-content: center; font-size: 9px; }
  .song-grid .purchase-options { margin-top: 7px; padding-top: 8px; }
  .song-grid .purchase-options button { min-height: 43px; }
}
@media (min-width: 861px) and (max-width: 1130px) {
  .song-grid .cover-button { height: 168px; }
  .song-grid .song-cover { width: 168px; height: 168px; }
  .song-grid .song-card { min-height: 320px; }
}


/* Крупные, читаемые разделы каталога после объединения категорий. */
.tabs {
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.tabs button {
  min-height: 48px;
  padding: 10px 19px;
  border: 1px solid #d9c5e6;
  border-radius: 13px;
  color: #503a60;
  background: #fff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -.015em;
  text-align: center;
  white-space: normal;
}
.tabs button:hover,
.tabs button.active,
.tabs button[aria-pressed="true"] {
  border-color: #7534a6;
  color: #fff;
  background: #7534a6;
  box-shadow: 0 4px 14px rgba(117, 52, 166, .14);
}
.tabs button:focus-visible {
  outline: 3px solid #7534a6;
  outline-offset: 3px;
}
@media (max-width: 640px) {
  .tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }
  .tabs button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 49px;
    padding: 9px 10px;
    font-size: 14px;
    font-weight: 800;
  }
}
@media (max-width: 350px) {
  .tabs button { font-size: 13px; padding-inline: 6px; }
}


/* Verified music albums: separate browsing and whole-album selection */
.album-grid{align-items:start}
.album-card{min-width:0;border:1px solid #e5d9eb;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 8px 28px rgba(45,25,58,.045);transition:transform .18s ease,box-shadow .18s ease}
.album-card:hover{transform:translateY(-2px);box-shadow:0 12px 34px rgba(45,25,58,.1)}
.album-open{width:100%;padding:14px;border:0;background:transparent;display:block;text-align:left;color:#2c2038;cursor:pointer}
.album-art{width:100%;max-width:230px;aspect-ratio:1;margin:0 auto;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:linear-gradient(125deg,#224c58,#26142e);color:#fff;font-size:58px}
.album-art img,.album-dialog-cover img{width:100%;height:100%;object-fit:cover}
.album-copy{margin:13px 2px 0;min-height:84px}
.album-copy h3{margin:5px 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:17px;letter-spacing:-.025em;line-height:1.25;color:#271b35}
.album-artist{margin:0;color:#785c8b;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
.album-count{margin:0;color:#817487;font-size:11px}
.album-prices{padding:12px 16px;border-top:1px solid #eee7f2;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px}
.album-prices>span:first-child{font-weight:850;color:#382246}
.album-prices>span:last-child{font-weight:800;color:#7534a6}
.album-dialog{padding:27px}
.album-dialog-head{display:grid;grid-template-columns:152px minmax(0,1fr);align-items:center;gap:22px;padding-right:35px}
.album-dialog-cover{width:152px;height:152px;border-radius:13px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(130deg,#195c52,#1e142f);color:#fff;font-size:50px}
.album-dialog-head .eyebrow{margin:0 0 10px;color:#785c8b}
.album-dialog-head h2{margin:0;font-size:clamp(25px,3.6vw,37px);line-height:1.08;letter-spacing:-.05em;overflow-wrap:anywhere}
.album-subtitle{margin:12px 0 0;color:#7c6e84;font-size:12px;line-height:1.6}
.album-track-group{margin-top:25px;padding-top:20px;border-top:1px solid #efe6f3}
.album-track-group h3,.album-bundle h3{margin:0 0 14px;font-size:16px;letter-spacing:-.02em}
.album-track{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #f1ebf5}
.album-track-number{color:#aaa0ae;font-size:11px;font-weight:850}
.album-track-meta{min-width:0}
.album-track-meta strong{display:block;color:#2b2037;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.album-track-meta small{display:block;margin-top:4px;color:#867a91;font-size:10px}
.album-track-actions{display:flex;gap:6px}
.album-track-action{min-height:34px;padding:6px 10px;border:1px solid #e3d4ec;border-radius:9px;color:#624778;background:#faf7fc;font-size:10px;font-weight:800}
.album-track-action:hover,.album-track-action.selected{background:#f0e4f9;border-color:#7534a6;color:#5d208d}
.album-bundle{margin-top:20px;padding:20px;border:1px solid #e5d6eb;border-radius:15px;background:#faf7fc}
.album-bundle h3{margin-bottom:6px}
.album-bundle p{margin:0;color:#7f7187;font-size:11px;line-height:1.6}
.album-bundle-buttons{margin-top:13px;display:grid;grid-template-columns:1fr 1fr;gap:9px}
.album-bundle-buttons .button{padding:7px 12px;min-height:45px;font-size:11px}
.album-checkout{width:100%;margin-top:9px}
.cart-minimum{margin:6px 0 14px;padding:12px 13px;border:1px solid #ecd19d;border-radius:10px;background:#fff8e9;color:#765121;font-size:11px;font-weight:650;line-height:1.5}
#telegram-order[disabled]{opacity:.7;cursor:not-allowed;filter:grayscale(.35)}
@media(max-width:860px){.album-dialog-head{grid-template-columns:110px minmax(0,1fr)}.album-dialog-cover{width:110px;height:110px}}
@media(max-width:560px){
  .album-card{border-radius:14px}
  .album-open{padding:12px}
  .album-art{width:100%;max-width:none}
  .album-copy{min-height:0;margin-top:10px}
  .album-dialog{padding:17px}
  .album-dialog-head{grid-template-columns:82px minmax(0,1fr);gap:12px;padding-right:24px}
  .album-dialog-cover{width:82px;height:82px}
  .album-dialog-head h2{font-size:23px}
  .album-subtitle{font-size:11px;margin-top:7px}
  .album-track{grid-template-columns:18px minmax(0,1fr);gap:8px}
  .album-track-actions{grid-column:2;justify-content:flex-start}
  .album-bundle{padding:13px}
  .album-bundle-buttons{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.album-card{transition:none}.album-card:hover{transform:none}}


/* Show paid order floor before the customer opens the basket */
.pricing-caption{margin:15px auto 0;max-width:900px;color:#695b72;font-size:12px;font-weight:650;line-height:1.5;text-align:center}
@media(max-width:640px){.pricing-caption{font-size:11px;text-align:left;margin-top:14px}}

/* Unverified videos from screenshot imports must never become orderable */
.purchase-options button:disabled,.album-track-action:disabled,.album-bundle .button:disabled{
  cursor:not-allowed;opacity:.64;filter:grayscale(.15);background:#f5f2f7;color:#8c8094;border-color:#e5deea;box-shadow:none
}


/* Music release filtering. No calendar years are printed in the customer UI. */
.catalog-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}
.release-filter-label{color:#695c73;font-size:11px;font-weight:750;white-space:nowrap}
.catalog-tools #release-period,.catalog-tools #sort{
  min-width:150px;height:41px;padding:0 34px 0 12px;border:1px solid #e0d5e7;
  border-radius:11px;background:#fff;color:#45314f;font-size:12px;line-height:1.25;
}
.catalog-tools #release-period:focus-visible,.catalog-tools #sort:focus-visible{outline:3px solid #bd97d5;outline-offset:2px}
.song-grid .new-label{max-width:70px;padding:5px 6px;line-height:1.18;font-size:8px;letter-spacing:0;text-align:center;white-space:normal;background:#8144ac;color:#fff}
.song-grid .new-label.release-fresh{background:#d5f17a;color:#27360c;box-shadow:0 1px 4px rgba(20,35,10,.14)}
.song-release-tag{display:inline-flex;align-items:center;padding:5px 8px;margin:0 0 8px 7px;
  border-radius:7px;background:#e4f4bb;color:#354d12;font-size:10px;font-weight:850}
@media(max-width:900px){
  .catalog-head{align-items:flex-start;flex-wrap:wrap}
  .catalog-tools{justify-content:flex-start;width:100%}
}
@media(max-width:560px){
  .release-filter-label{width:100%}
  .catalog-tools #release-period,.catalog-tools #sort{flex:1 1 140px;min-width:0;font-size:11px}
  .song-grid .new-label{max-width:76px}
}


/* Album-track status for recently released recordings, never prints the year. */
.album-track-fresh{display:inline-block;margin-top:5px;padding:3px 7px;border:1px solid #d8e6ac;
  border-radius:7px;background:#ebf7d4;color:#50672c;font-size:10px;font-weight:800}


/* Song preview controls: discreet, clear and mobile-friendly. */
.song-card .preview-button{
  display:flex;width:100%;min-height:34px;align-items:center;justify-content:center;gap:8px;
  border:1px solid #e9dfef;border-radius:9px;background:#faf8fc;color:#746580;
  font-size:10px;font-weight:800;letter-spacing:.01em;cursor:pointer;
  transition:background .15s ease,border-color .15s ease,transform .15s ease;
}
.song-card .preview-button:hover{background:#f2eaf8;border-color:#d2b5e3}
.song-card .preview-button.preview-available{
  background:#f2ebfa;color:#673397;border-color:#d7bde9
}
.song-card .preview-button.preview-available:hover{background:#e9dcf5}
.song-card .preview-button:focus-visible,.modal-preview-action .preview-button:focus-visible,
.album-track-actions .preview-button:focus-visible{outline:3px solid #995fc3;outline-offset:2px}
.song-card .card-body{gap:9px}
.modal-preview-action{margin:14px 0 0}
.modal-preview-action .preview-button{min-height:40px;border:1px solid #d9c5e8;border-radius:10px;
  background:#f8f2fc;color:#713f95;padding:9px 18px;font-size:12px;font-weight:800;cursor:pointer}
.modal-preview-action .preview-button:hover{background:#eee3f5}
.album-track-actions .preview-button{min-height:34px;border:1px solid #e6dbee;border-radius:9px;
  background:#faf8fc;color:#765d89;padding:5px 9px;font-size:10px;cursor:pointer}
.album-track-actions .preview-button.preview-available{color:#7535a7;border-color:#d5bce8}
.preview-backdrop[hidden]{display:none!important}
.preview-backdrop{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;
  padding:20px;background:rgba(19,14,27,.78);backdrop-filter:blur(10px)}
.preview-dialog{width:min(100%,730px);max-height:calc(100dvh - 32px);overflow:auto;
  background:#fff;border:1px solid #e7d9ee;border-radius:20px;box-shadow:0 30px 100px rgba(0,0,0,.33)}
.preview-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 23px}
.preview-title-block{min-width:0}
.preview-title-block small{font-size:10px;font-weight:850;letter-spacing:.12em;color:#976eae}
.preview-title-block h2{margin:5px 0 4px;color:#35203d;font-size:22px;line-height:1.2;overflow-wrap:anywhere}
.preview-title-block p{margin:0;font-size:12px;color:#806b8b}
.preview-close{border:0;background:#f4edf7;border-radius:50%;width:40px;height:40px;min-width:40px;
  display:grid;place-items:center;font-size:28px;color:#54345c;cursor:pointer}
.preview-player{width:100%;min-height:270px;background:#15141a;aspect-ratio:16/9;display:grid;place-items:center}
.preview-player iframe{display:block;width:100%;height:100%;border:0;min-height:270px}
.preview-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;
  padding:15px 23px;color:#766b7e}
.preview-foot p{font-size:11px;line-height:1.5;margin:0;max-width:440px}
.preview-foot a{white-space:nowrap;font-size:11px;font-weight:850;color:#7441a2;text-decoration:none}
.preview-foot a:hover{text-decoration:underline}
@media(max-width:650px){
  .preview-backdrop{padding:10px}
  .preview-dialog{max-height:calc(100dvh - 20px);border-radius:15px}
  .preview-head{padding:14px 15px}
  .preview-title-block h2{font-size:18px}
  .preview-player{min-height:220px;aspect-ratio:16/10}
  .preview-player iframe{min-height:220px}
  .preview-foot{padding:13px 15px;flex-wrap:wrap}
  .album-track-actions{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.song-card .preview-button{transition:none}}

/* Keep the catalog heading and search visually connected. */
.hero h1{margin-bottom:24px}.hero .search-wrap{margin-top:0}.modal-buy h3{margin-bottom:14px}.request-card h2{margin-bottom:0}.about-grid h2{margin-bottom:12px}@media(max-width:560px){.hero h1{margin-bottom:18px}}
