/* =========================================================
   AccountKeys.ru — новый фронтенд-скин (2026)
   ========================================================= */
:root{
  --ak-ink:#0b1524;
  --ak-ink-2:#122238;
  --ak-bg:#f4f6fa;
  --ak-card:#ffffff;
  --ak-text:#17212f;
  --ak-muted:#68738a;
  --ak-line:#e2e7f0;
  --ak-cyan:#22d3ee;
  --ak-blue:#2f81f7;
  --ak-accent:#ff6a00;
  --ak-green:#12b76a;
  --ak-radius:16px;
  --ak-shadow:0 14px 34px -22px rgba(11,21,36,.35);
  --ak-font:"Inter","Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
}
body.ak-body{
  margin:0;
  background:var(--ak-bg);
  color:var(--ak-text);
  font-family:var(--ak-font);
  font-size:15px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
body.ak-body.dark-mode{
  --ak-bg:#0c1420;
  --ak-card:#111d2c;
  --ak-text:#e6edf7;
  --ak-muted:#94a3b8;
  --ak-line:#223247;
}
body.ak-body *{box-sizing:border-box}
body.ak-body img{max-width:100%;height:auto}
body.ak-body a{color:inherit;text-decoration:none}
body.ak-body button{font:inherit}
body.ak-body .clearfix::after{content:"";display:table;clear:both}

.ak-shell{min-height:100vh;display:flex;flex-direction:column}
.ak-wrap{width:100%;max-width:1340px;margin:0 auto;padding:0 22px}

/* ---------- header ---------- */
.ak-head{
  position:sticky;top:0;z-index:60;
  background:linear-gradient(115deg,#08111d 0%,#0e2035 58%,#0b1a2c 100%);
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 10px 30px -20px rgba(0,0,0,.8);
}
.ak-head__main{display:flex;align-items:center;gap:26px;min-height:80px}
.ak-brand{display:flex;align-items:center;flex:none}
.ak-brand img{display:block;height:48px;width:auto}
.ak-search{
  flex:1;display:flex;align-items:center;gap:8px;max-width:620px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;padding:5px 5px 5px 16px;
  transition:border-color .15s,background .15s;
}
.ak-search:focus-within{border-color:rgba(34,211,238,.65);background:rgba(255,255,255,.1)}
.ak-search input{
  flex:1;min-width:0;border:0;background:none;color:#fff;
  font-size:15px;padding:10px 0;outline:none;
}
.ak-search input::placeholder{color:#93a4bb}
.ak-search button{
  display:inline-flex;align-items:center;gap:6px;
  border:0;border-radius:10px;padding:10px 16px;cursor:pointer;
  background:var(--ak-cyan);color:#04222b;font-weight:700;
}
.ak-search button:hover{filter:brightness(1.06)}
.ak-tools{display:flex;align-items:center;gap:8px;margin-left:auto;flex:none}
.ak-icon-btn{
  width:42px;height:42px;border-radius:12px;border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);color:#dbe6f5;display:inline-flex;align-items:center;justify-content:center;
  cursor:pointer;font-size:18px;
}
.ak-icon-btn:hover{background:rgba(255,255,255,.12);color:#fff}
.ak-burger{display:none;flex-direction:column;gap:5px;width:44px;height:42px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);cursor:pointer;align-items:center;justify-content:center}
.ak-burger span{display:block;width:20px;height:2px;background:#dbe6f5;border-radius:2px;transition:.2s}
.ak-burger.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.ak-burger.is-open span:nth-child(2){opacity:0}
.ak-burger.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.ak-nav{display:flex;gap:4px;overflow-x:auto;padding:0 0 12px;scrollbar-width:none}
.ak-nav::-webkit-scrollbar{display:none}
.ak-nav a{
  flex:none;padding:8px 14px;border-radius:999px;font-size:13.5px;font-weight:600;color:#c2cfdf;
  border:1px solid transparent;white-space:nowrap;
}
.ak-nav a:hover{background:rgba(255,255,255,.08);color:#fff}
.ak-nav a.is-active{background:var(--ak-cyan);color:#04222b;border-color:transparent}

/* ---------- layout ---------- */
.ak-layout{
  display:grid;grid-template-columns:284px minmax(0,1fr);
  grid-template-areas:"side main";gap:26px;
  padding:26px 0 54px;align-items:start;flex:1;
}
.ak-main{grid-area:main;min-width:0}
.ak-side{grid-area:side;min-width:0}

/* ---------- sidebar ---------- */
.ak-side{
  background:var(--ak-card);border:1px solid var(--ak-line);border-radius:18px;
  box-shadow:var(--ak-shadow);position:sticky;top:128px;overflow:hidden;
}
.ak-side__top{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--ak-line);font-weight:800;font-size:15px}
.ak-side__close{display:none;border:0;background:none;font-size:24px;line-height:1;cursor:pointer;color:var(--ak-muted)}
.ak-side__scroll{max-height:calc(100vh - 200px);overflow:auto;padding:10px 12px 16px}
.ak-side__new{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  margin:4px 0 12px;padding:12px 14px;border-radius:12px;
  background:linear-gradient(120deg,rgba(34,211,238,.16),rgba(47,129,247,.16));
  color:var(--ak-text);font-weight:800;font-size:14px;
}
.ak-side__new b{background:var(--ak-accent);color:#fff;padding:2px 7px;border-radius:999px;font-size:10px;text-transform:uppercase}
.ak-side__title{font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:var(--ak-muted);font-weight:800;margin:14px 6px 8px}
.ak-alpha{display:flex;flex-wrap:wrap;gap:5px;padding:0 4px 8px}
.ak-alpha button{
  min-width:28px;height:28px;padding:0 5px;border-radius:8px;border:1px solid var(--ak-line);
  background:transparent;color:var(--ak-muted);font-size:11.5px;font-weight:700;cursor:pointer;
}
.ak-alpha button:hover,.ak-alpha button.is-active{border-color:var(--ak-blue);color:var(--ak-blue);background:rgba(47,129,247,.08)}
.ak-alpha-lists ul{list-style:none;margin:0;padding:0}
.ak-alpha-lists li a{display:block;padding:7px 10px;border-radius:8px;font-size:13.5px;color:var(--ak-text)}
.ak-alpha-lists li a:hover{background:rgba(47,129,247,.08);color:var(--ak-blue)}
.ak-cats{list-style:none;margin:0;padding:0}
.ak-cats>li{border-bottom:1px solid var(--ak-line)}
.ak-cats>li:last-child{border-bottom:0}
.ak-cat-link,.ak-cats summary{
  display:flex;align-items:center;gap:8px;padding:10px 8px;border-radius:9px;
  font-size:13.5px;font-weight:600;color:var(--ak-text);cursor:pointer;list-style:none;
}
.ak-cats summary::-webkit-details-marker{display:none}
.ak-cat-link:hover,.ak-cats summary:hover{background:rgba(47,129,247,.08);color:var(--ak-blue)}
.ak-cats summary .ak-caret{margin-left:auto;font-size:10px;color:var(--ak-muted);transition:.2s}
.ak-cats details[open] summary .ak-caret{transform:rotate(180deg)}
.ak-cats ul{list-style:none;margin:0 0 8px;padding:0 0 0 12px}
.ak-cats ul a{display:block;padding:6px 8px;border-radius:7px;font-size:13px;color:var(--ak-muted)}
.ak-cats ul a:hover{background:rgba(47,129,247,.08);color:var(--ak-blue)}
.ak-count{margin-left:auto;font-size:11px;color:var(--ak-muted);background:rgba(104,115,138,.1);padding:1px 6px;border-radius:999px}

/* ---------- headings / sections ---------- */
.ak-headline{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 18px}
.ak-headline h1,.ak-headline h2{margin:0;font-size:clamp(22px,2.4vw,30px);line-height:1.2;letter-spacing:-.02em;font-weight:850}
.ak-headline p{margin:4px 0 0;color:var(--ak-muted);font-size:13.5px}
.ak-section{margin:0 0 26px}
.ak-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(212px,1fr));gap:18px}

/* ---------- product cards ---------- */
.ak-card{
  display:flex;flex-direction:column;background:var(--ak-card);border:1px solid var(--ak-line);
  border-radius:var(--ak-radius);overflow:hidden;box-shadow:0 8px 24px -20px rgba(11,21,36,.35);
  transition:transform .18s,border-color .18s,box-shadow .18s;
}
.ak-card:hover{transform:translateY(-3px);border-color:rgba(47,129,247,.35);box-shadow:0 22px 40px -26px rgba(11,21,36,.45)}
.ak-card__link{display:flex;flex-direction:column;flex:1;min-width:0}
.ak-card__media{position:relative;aspect-ratio:1/1;padding:12px;background:linear-gradient(180deg,#f8fafc,#eef3f9)}
body.dark-mode .ak-card__media{background:linear-gradient(180deg,#162335,#101a28)}
.ak-card__media img{width:100%;height:100%;object-fit:contain;display:block}
.ak-card__price{
  position:absolute;left:10px;bottom:10px;background:var(--ak-ink);color:#fff;
  font-weight:800;font-size:15px;padding:5px 10px;border-radius:10px;
  box-shadow:0 8px 18px -10px rgba(0,0,0,.55);
}
.ak-card__price small{font-size:11px;font-weight:600;opacity:.85;margin-left:2px}
.ak-card__badge{
  position:absolute;top:10px;right:10px;background:var(--ak-accent);color:#fff;
  font-size:10.5px;font-weight:800;letter-spacing:.04em;padding:4px 8px;border-radius:999px;
  text-transform:uppercase;
}
.ak-card__body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:8px;flex:1}
.ak-card__title{font-size:13.8px;line-height:1.35;font-weight:650;margin:0;color:var(--ak-text);min-height:2.4em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ak-card__meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:12px;color:var(--ak-muted);margin-top:auto}
.ak-card__meta b{color:var(--ak-text);font-weight:700}
.ak-card__seller{display:inline-flex;align-items:center;gap:4px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ak-card__stats{display:inline-flex;gap:8px;margin-left:auto}
.ak-card__label{display:inline-flex;align-items:center;gap:4px}

/* ---------- filters / pagination / controls ---------- */
.ak-controls{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:space-between;
  background:var(--ak-card);border:1px solid var(--ak-line);border-radius:14px;padding:12px 16px;margin:0 0 18px;
}
.ak-controls form{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0}
.ak-controls label{font-size:12.5px;color:var(--ak-muted);display:inline-flex;align-items:center;gap:6px}
.ak-controls select,.ak-controls input[type=number]{
  border:1px solid var(--ak-line);background:var(--ak-card);color:var(--ak-text);
  border-radius:9px;padding:8px 10px;font:inherit;font-size:13px;outline:none;
}
.ak-controls select:focus,.ak-controls input:focus{border-color:var(--ak-blue)}
.ak-count-label{font-size:13px;color:var(--ak-muted)}
.ak-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:0;border-radius:11px;padding:11px 20px;font-weight:750;font-size:14px;cursor:pointer;
  background:var(--ak-ink);color:#fff;transition:.15s;
}
.ak-btn:hover{filter:brightness(1.1)}
.ak-btn--accent{background:var(--ak-accent)}
.ak-btn--cyan{background:var(--ak-cyan);color:#04222b}
.ak-btn--block{width:100%}
.ak-loadmore{
  display:flex;justify-content:center;margin:22px 0 0;
}
.ak-loadmore .load-more-button,.ak-loadmore button{
  border:1px solid var(--ak-line);background:var(--ak-card);color:var(--ak-text);
  border-radius:12px;padding:12px 28px;font-weight:700;cursor:pointer;
}
.ak-loadmore button:hover{border-color:var(--ak-blue);color:var(--ak-blue)}
.ak-pagination{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin:24px 0 0}
.ak-pagination a,.ak-pagination span{
  min-width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--ak-line);border-radius:10px;background:var(--ak-card);font-size:14px;font-weight:600;
}
.ak-pagination .current,.ak-pagination .active{background:var(--ak-ink);border-color:var(--ak-ink);color:#fff}
.ak-pagination a:hover{border-color:var(--ak-blue);color:var(--ak-blue)}

/* ---------- hero ---------- */
.ak-hero{
  position:relative;overflow:hidden;border-radius:20px;margin:0 0 26px;
  background:radial-gradient(900px 320px at 88% -10%,rgba(34,211,238,.4),transparent 62%),linear-gradient(120deg,#0a1727,#122b47 65%,#0b1a2c);
  color:#fff;padding:30px 34px;
}
.ak-hero h1{margin:0 0 8px;font-size:clamp(24px,3vw,34px);line-height:1.15;letter-spacing:-.02em;font-weight:850}
.ak-hero p{margin:0;color:#b9c8db;max-width:56ch;font-size:14.5px}
.ak-hero__tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.ak-hero__tags a{font-size:12.5px;font-weight:650;color:#dce9f8;border:1px solid rgba(255,255,255,.18);padding:6px 12px;border-radius:999px}
.ak-hero__tags a:hover{background:rgba(255,255,255,.1)}
.ak-hero__stats{display:flex;flex-wrap:wrap;gap:22px;margin-top:20px}
.ak-hero__stats b{display:block;font-size:20px;font-weight:800}
.ak-hero__stats span{font-size:12px;color:#9fb3c9}

/* ---------- description / prose ---------- */
.ak-prose{background:var(--ak-card);border:1px solid var(--ak-line);border-radius:18px;padding:24px 26px;box-shadow:var(--ak-shadow)}
.ak-prose h2{font-size:21px;margin:22px 0 10px;letter-spacing:-.01em}
.ak-prose h2:first-child{margin-top:0}
.ak-prose p{margin:0 0 12px;color:var(--ak-text)}
.ak-prose ul{margin:0 0 14px;padding-left:20px}
.ak-prose li{margin-bottom:6px}
.ak-prose a{color:var(--ak-blue);text-decoration:underline;text-underline-offset:2px}

/* ---------- footer ---------- */
.ak-foot{background:#08111d;color:#a8b7ca;margin-top:auto;padding:46px 0 20px}
.ak-foot__grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:32px}
.ak-foot__brand img{height:42px;width:auto;display:block;margin-bottom:14px}
.ak-foot__brand p{margin:0 0 14px;font-size:13px;color:#8fa1b7;max-width:34ch}
.ak-foot__stats{display:flex;flex-wrap:wrap;gap:12px}
.ak-foot__stats span{font-size:12px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);padding:6px 10px;border-radius:8px;color:#cbd8e8}
.ak-foot h3{font-size:12px;letter-spacing:.09em;text-transform:uppercase;color:#fff;margin:0 0 12px}
.ak-foot ul{list-style:none;margin:0;padding:0}
.ak-foot li{margin-bottom:7px}
.ak-foot a{font-size:13.5px;color:#9fb0c5}
.ak-foot a:hover{color:#fff}
.ak-foot__bottom{
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:center;
  border-top:1px solid rgba(255,255,255,.08);margin-top:34px;padding-top:18px;font-size:12px;color:#74869c;
}
.ak-foot__bottom a:hover{color:#fff}

/* ---------- overlay / drawer ---------- */
.ak-overlay{
  position:fixed;inset:0;background:rgba(6,13,23,.55);z-index:75;
  opacity:0;visibility:hidden;transition:.2s;
}
.ak-overlay.is-open{opacity:1;visibility:visible}
body.ak-no-scroll{overflow:hidden}

/* ---------- product page ---------- */
.ak-body .speedbar{font-size:12.5px;color:var(--ak-muted);margin:16px 0 10px}
.ak-body .speedbar a{color:var(--ak-muted)}
.ak-body .speedbar a:hover{color:var(--ak-blue)}
.ak-body .img-product{max-width:100%;height:auto;border-radius:14px;background:#fff;display:block}
.ak-body .ratings-price{font-size:26px;font-weight:850;color:var(--ak-text);margin:8px 0}
.ak-body .ratings-price .symbol_rub{font-size:16px;font-weight:700;margin-left:4px}
.ak-body .ratings-price .yes,.ak-body .ratings-price .no{display:inline-block;font-size:12px;font-weight:700;margin-left:12px;padding:4px 9px;border-radius:999px;background:rgba(18,183,106,.12);color:#0c8a50;vertical-align:middle}
.ak-body .ratings-price .no{background:rgba(230,46,4,.1);color:#b42318}
.ak-body .ratings-stats{font-size:12.5px;color:var(--ak-muted)}
.ak-body .ratings-seller{font-size:13px;color:var(--ak-muted);margin:6px 0}
.ak-body .custom-item{margin:0}
.ak-body .underlined-link{color:var(--ak-blue);text-decoration:underline;text-underline-offset:2px}
.ak-body .buy-button,.ak-body button[type=submit]{
  border-radius:12px;font-weight:800;
}
.ak-body .side-colored4{background:var(--ak-card);border:1px solid var(--ak-line);border-radius:18px;padding:20px;box-shadow:var(--ak-shadow);margin:0 0 20px}
.ak-body .side-item.side-colored4{background:var(--ak-card)}
.ak-body .player-box{background:var(--ak-card);border:1px solid var(--ak-line);border-radius:16px;padding:18px 20px}
.ak-body .help-block,.ak-body .problems-block,.ak-body .contacts-block{
  background:var(--ak-card);border:1px solid var(--ak-line);border-radius:18px;padding:22px;margin:0 0 20px;box-shadow:var(--ak-shadow);
}
.ak-body .help-steps-grid,.ak-body .problems-grid,.ak-body .contacts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.ak-body .help-step-card,.ak-body .problem-card,.ak-body .contact-card{background:rgba(47,129,247,.05);border:1px solid var(--ak-line);border-radius:12px;padding:14px}
.ak-body .help-step-number{width:28px;height:28px;border-radius:50%;background:var(--ak-blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;margin-bottom:8px}
.ak-body .help-step-title,.ak-body .problem-question{font-weight:750;font-size:14px;margin-bottom:6px}
.ak-body .help-step-desc,.ak-body .problem-answer{font-size:13px;color:var(--ak-muted)}
.ak-body .help-block-title,.ak-body .problems-block-title,.ak-body .contacts-block-title{font-size:20px;margin:0 0 14px;letter-spacing:-.01em}
.ak-body .contact-label{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--ak-muted);font-weight:750}
.ak-body .contact-value{font-size:14px;font-weight:650;word-break:break-word}
.ak-body .legal-notices{border:1px solid var(--ak-line);border-radius:12px;padding:10px 14px;background:rgba(47,129,247,.04);margin:12px 0}
.ak-body .legal-notices .toggle-link{font-weight:700;font-size:13px;cursor:pointer}
.ak-body .inf{font-size:14px;line-height:1.6}
.ak-body .inf img{max-width:100%;height:auto}

/* ---------- content pages ---------- */
.ak-body .advantages-section-title,.ak-body .section-header h2{font-size:22px;letter-spacing:-.01em}
.ak-body .advantages-feature,.ak-body .guarantee-item,.ak-body .faq-card,.ak-body .faq-item,.ak-body .terms-section,.ak-body .privacy-section{
  background:var(--ak-card);border:1px solid var(--ak-line);border-radius:14px;
}
.ak-body .faq-page-question,.ak-body .faq-question{cursor:pointer}
.ak-body .pagination-link{border-radius:9px}
.ak-body .title-edit{font-size:20px}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .ak-layout{grid-template-columns:250px minmax(0,1fr);gap:20px}
  .ak-side__scroll{max-height:calc(100vh - 190px)}
}
@media (max-width:960px){
  .ak-head__main{min-height:70px;gap:14px}
  .ak-brand img{height:40px}
  .ak-nav{display:none}
  .ak-burger{display:flex}
  .ak-layout{grid-template-columns:1fr;grid-template-areas:"main";padding:18px 0 44px}
  .ak-side{
    position:fixed;left:0;top:0;bottom:0;width:min(88vw,360px);z-index:80;
    transform:translateX(-105%);transition:transform .25s ease;border-radius:0;border:0;
    top:0;height:100%;max-height:none;
  }
  .ak-side.is-open{transform:none}
  .ak-side__scroll{max-height:calc(100vh - 58px)}
  .ak-side__close{display:inline-flex}
  .ak-foot__grid{grid-template-columns:1fr 1fr}
}
@media (max-width:680px){
  .ak-wrap{padding:0 16px}
  .ak-head__main{flex-wrap:wrap;padding:12px 0 10px;min-height:0}
  .ak-brand img{height:36px}
  .ak-search{order:3;flex-basis:100%;max-width:none}
  .ak-tools{margin-left:auto}
  .ak-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .ak-card__body{padding:10px 11px 12px}
  .ak-card__title{font-size:12.8px}
  .ak-card__price{font-size:13px;padding:4px 8px}
  .ak-hero{padding:22px 18px}
  .ak-hero__stats{gap:14px}
  .ak-foot__grid{grid-template-columns:1fr}
  .ak-foot{padding-top:34px}
  .ak-controls{align-items:flex-start}
  .ak-main .section-title h1,.ak-headline h1{font-size:22px}
}

/* --- flat card structure (link > media/title/meta) --- */
.ak-card__line{display:none}
.ak-card > .ak-card__title{padding:0 14px;margin:10px 0 6px;font-size:13.8px;line-height:1.35;font-weight:650;min-height:2.4em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ak-card > .ak-card__meta{padding:0 14px 14px;margin-top:auto;display:flex;flex-wrap:wrap;gap:6px 10px;font-size:12px;color:var(--ak-muted)}
.ak-card > .ak-card__meta .ak-card__seller{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.ak-card > .ak-card__meta .ak-card__stats{display:flex;gap:8px;margin-left:auto}
.ak-card > .ak-card__media > span{position:absolute;left:10px;bottom:10px;background:var(--ak-ink);color:#fff;font-weight:800;font-size:15px;padding:5px 10px;border-radius:10px}
.ak-card > .ak-card__media > span span{font-size:11px;font-weight:600;opacity:.85}
.ak-card > .ak-card__badge{position:absolute;top:10px;right:10px;background:var(--ak-accent);color:#fff;font-size:10.5px;font-weight:800;letter-spacing:.04em;padding:4px 8px;border-radius:999px;text-transform:uppercase;z-index:2}
.ak-card__media{position:relative}
.ak-card{display:flex;flex-direction:column}
.ak-hidden{display:none!important}
.ak-body .read-desc{border:1px solid var(--ak-line);background:var(--ak-card);color:var(--ak-text);border-radius:10px;padding:9px 16px;font-weight:700;cursor:pointer;margin-top:10px}
.ak-body .read-desc:hover{border-color:var(--ak-blue);color:var(--ak-blue)}
.ak-page{display:flex;flex-direction:column;flex:1;min-height:100vh}
.ak-layout{width:100%;max-width:1340px;margin:0 auto;padding:26px 22px 54px}
.ak-shell{display:flex;flex-direction:column;min-height:100vh}
@media(max-width:680px){.ak-card > .ak-card__title{padding:0 11px;font-size:12.8px}.ak-card > .ak-card__meta{padding:0 11px 12px;font-size:11.5px}.ak-layout{padding:18px 16px 44px}}

/* --- containers --- */
#aaa,.products-container{display:grid;grid-template-columns:repeat(auto-fill,minmax(212px,1fr));gap:18px;align-items:start}
#aaa > .ak-section{display:contents}
.products-container > #load-more-btn{grid-column:1/-1;justify-self:center}
.ak-alpha-lists ul[hidden]{display:none!important}
.ak-body .ak-main .section-title h1,.ak-body .ak-main .ak-headline h1{margin:0}
@media(max-width:680px){#aaa,.products-container{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

#aaa{grid-column:1/-1}


/* --- legacy overrides: headings, bars, controls --- */
.ak-body .ak-main h1,
.ak-body .section-title h1,
.ak-body .ak-headline h1{
  background:none!important;background-image:none!important;color:var(--ak-text)!important;
  text-shadow:none!important;text-transform:none!important;letter-spacing:-.02em!important;
  padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  font-size:clamp(22px,2.6vw,31px)!important;line-height:1.2!important;font-weight:850!important;
  display:block!important;
}
.ak-body .product-summary{
  display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center;
  background:var(--ak-card)!important;border:1px solid var(--ak-line);border-radius:14px;
  padding:12px 16px;margin:12px 0!important;color:var(--ak-text)!important;box-shadow:none!important;
}
.ak-body .product-summary span{color:var(--ak-text)!important;font-size:13.5px!important;font-weight:650}
.ak-body #searchtable{
  background:var(--ak-card)!important;border:1px solid var(--ak-line)!important;border-radius:12px!important;
  padding:10px 14px!important;margin:12px 0!important;display:inline-flex!important;align-items:center!important;gap:10px!important;
}
.ak-body #searchtable label{color:var(--ak-muted)!important;font-size:12.5px!important}
.ak-body #searchtable select{
  border:1px solid var(--ak-line)!important;background:var(--ak-card)!important;color:var(--ak-text)!important;
  border-radius:9px!important;padding:7px 10px!important;
}
.ak-body .category-updated{color:var(--ak-muted)!important;font-size:12.5px!important;background:none!important;padding:0!important}
.ak-body .category-updated i{color:var(--ak-blue)!important}
.ak-body .speedbar{color:var(--ak-muted)!important;background:none!important;padding:0!important;font-size:12.5px!important;margin:18px 0 10px!important}
.ak-body .speedbar a{color:var(--ak-muted)!important}
.ak-body .speedbar a:hover{color:var(--ak-blue)!important}
.ak-body .buy-button,.ak-body .ratings-seller .buy-button{
  background:linear-gradient(120deg,#0891b2,#22d3ee)!important;color:#04222b!important;
  border:0!important;border-radius:12px!important;font-weight:800!important;padding:13px 26px!important;box-shadow:0 12px 24px -14px rgba(34,211,238,.8)!important;
}
.ak-body .tabs li.current{background:var(--ak-ink)!important;color:#fff!important}
.ak-body .tabs li{background:var(--ak-card)!important;border:1px solid var(--ak-line)!important;border-radius:10px!important;color:var(--ak-text)!important}
.ak-body .player-box.full-text{font-size:14.5px;line-height:1.65}
.ak-body .player-box.full-text a{color:var(--ak-blue)}
.ak-body .inf{color:var(--ak-text)}
.ak-body .legal-notices{background:rgba(47,129,247,.05)!important}
.ak-body .category-photo{border-radius:14px}

/* --- final product/category polish --- */
.ak-body form button[type=submit]{
  background:linear-gradient(120deg,#0891b2,#22d3ee)!important;color:#04222b!important;
  border:0!important;border-radius:12px!important;font-weight:800!important;
  padding:13px 26px!important;box-shadow:0 14px 26px -16px rgba(34,211,238,.85)!important;
}
.ak-body form button[type=submit]:hover{filter:brightness(1.05)}
.ak-body .ratings-price{background:var(--ak-card)!important;border:1px solid var(--ak-line)!important;border-radius:14px!important;padding:10px 16px!important;display:inline-flex!important;align-items:center!important;gap:10px!important;box-shadow:none!important}
.ak-body .ratings-price .yes,.ak-body .ratings-price .no{margin-left:0!important}
.ak-body .read-more{
  width:38px;height:38px;border-radius:10px;background:var(--ak-card)!important;border:1px solid var(--ak-line)!important;
  color:var(--ak-muted)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  cursor:pointer;font-size:18px;line-height:1;margin-left:8px!important;
}
.ak-body .read-more:hover{border-color:var(--ak-blue)!important;color:var(--ak-blue)!important}
.ak-body .section-title{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
.ak-body .section-title h1{flex:1;min-width:200px}
.ak-body .category-description{flex-basis:100%}
.ak-body .product-summary{
  display:grid!important;grid-template-columns:repeat(3,1fr);gap:0!important;padding:0!important;overflow:hidden;
}
.ak-body .product-summary span{
  text-align:center!important;padding:12px 10px!important;border-left:1px solid var(--ak-line)!important;font-size:13px!important;
}
.ak-body .product-summary span:first-child{border-left:0!important}
@media(max-width:680px){.ak-body .product-summary{grid-template-columns:1fr!important}.ak-body .product-summary span{border-left:0!important;border-top:1px solid var(--ak-line)!important}}

/* --- cards flex fallback (fix grid auto-placement) --- */
#aaa{display:flex!important;flex-wrap:wrap!important;gap:18px!important;align-items:stretch!important}
#aaa > .ak-card{width:calc(25% - 14px)!important;flex:0 0 auto!important;max-width:none!important;grid-column:auto!important}
@media(max-width:1250px){#aaa > .ak-card{width:calc(33.333% - 12px)!important}}
@media(max-width:900px){#aaa > .ak-card{width:calc(50% - 9px)!important}}
@media(max-width:680px){#aaa > .ak-card{width:calc(50% - 9px)!important}}

/* ===== clean card component (akx) ===== */
#aaa{display:flex!important;flex-wrap:wrap!important;gap:18px!important;align-items:stretch!important}
#aaa > .akx-card{width:calc(25% - 14px);flex:0 0 auto;min-width:0}
@media(max-width:1250px){#aaa > .akx-card{width:calc(33.333% - 12px)}}
@media(max-width:900px){#aaa > .akx-card{width:calc(50% - 9px)}}
@media(max-width:680px){#aaa{gap:12px!important}#aaa > .akx-card{width:calc(50% - 6px)}}

.akx-card{display:flex;flex-direction:column;background:var(--ak-card);border:1px solid var(--ak-line);border-radius:16px;overflow:hidden;height:auto;transition:border-color .15s,transform .15s,box-shadow .15s}
.akx-card:hover{transform:translateY(-2px);border-color:rgba(47,129,247,.35);box-shadow:0 18px 34px -24px rgba(11,21,36,.45)}
.akx-media{display:block;position:relative;flex:none;aspect-ratio:1/1;padding:12px;background:linear-gradient(180deg,#f8fafc,#eef3f9)}
body.dark-mode .akx-media{background:linear-gradient(180deg,#162335,#101a28)}
.akx-media img{width:100%;height:100%;object-fit:contain;display:block}
.akx-badge{position:absolute;top:10px;right:10px;left:auto;bottom:auto;background:var(--ak-accent);color:#fff;font-size:10px;font-weight:800;letter-spacing:.04em;padding:4px 8px;border-radius:999px;text-transform:uppercase;z-index:2;line-height:1.2}
.akx-body{padding:12px 14px 14px;display:flex;flex-direction:column;flex:1;min-height:0}
.akx-title{display:-webkit-box;height:2.7em;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13.6px;line-height:1.35;font-weight:650;color:var(--ak-text);margin:0 0 8px}
.akx-title:hover{color:var(--ak-blue)}
.akx-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:9px;border-top:1px solid var(--ak-line)}
.akx-price{font-size:16px;font-weight:850;color:var(--ak-text);white-space:nowrap;display:inline-block;position:static}
.akx-price small{font-size:11px;font-weight:600;opacity:.6}
.akx-stats{display:flex;gap:8px;font-size:11px;color:var(--ak-muted);white-space:nowrap;margin-left:auto}
.akx-seller{margin-top:6px;font-size:11.5px;color:var(--ak-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.akx-seller::before{content:"@";opacity:.55;margin-right:2px}
.akx-card.movie-item{width:190px!important;min-width:190px;margin:0;float:none}
.akx-card.movie-item .akx-title{font-size:12.5px}
.products-container > .akx-card{min-width:0}
@media(max-width:680px){.akx-media{padding:9px}.akx-body{padding:10px 11px 12px}.akx-title{font-size:12.4px}.akx-price{font-size:14px}.akx-stats{font-size:10px;gap:6px}.akx-seller{font-size:10.5px}.akx-card.movie-item{width:160px!important;min-width:160px}}

#aaa{width:100%!important;max-width:100%!important;flex:1 1 100%!important}

.ak-grid{display:block!important;width:100%!important;max-width:100%!important}

.ak-main .main,.ak-main .trailers,.ak-main .ak-section{width:100%!important;max-width:100%!important;float:none!important}

#aaa{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;width:100%!important;max-width:100%!important;flex:none!important}
#aaa > .akx-card{width:auto!important;max-width:none!important;min-width:0!important;height:auto!important}
@media(max-width:1250px){#aaa{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:900px){#aaa{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:680px){#aaa{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}}

/* ===== консолидированные правки ===== */
/* FAQ */
.ak-body .faq-block{margin:34px 0 0}
.ak-body .faq-block h2{font-size:22px;margin:0 0 18px;letter-spacing:-.01em;text-transform:none}
.ak-body .faq-block .faq-item{background:var(--ak-card);border:1px solid var(--ak-line);border-radius:12px;padding:0;margin:0 0 10px;overflow:hidden}
.ak-body .faq-block .faq-question{padding:14px 18px;margin:0;font-size:15px;line-height:1.4;font-weight:700;color:var(--ak-text);cursor:pointer;background:transparent;border:0}
.ak-body .faq-block .faq-question:hover{color:var(--ak-blue)}
.ak-body .faq-block .faq-answer{padding:0 18px 14px;margin:0;font-size:14px;line-height:1.55;color:var(--ak-muted);border:0}
.ak-body .faq-block .faq-answer:not(.show){display:none}

/* отступ после сетки товаров */
.ak-body .advantages-block{margin-top:34px!important}

/* безопасные шаги без горизонтального выезда */
.ak-body .safety-steps{display:flex!important;flex-wrap:wrap!important;gap:12px!important}
.ak-body .safety-step{flex:1 1 240px!important;max-width:100%!important;min-width:0!important;margin:0!important}
.ak-body .safety-step *{max-width:100%}

/* статистика категории */
.ak-body .product-summary{height:auto!important;min-height:44px!important;line-height:1.4!important;overflow:visible!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;padding:0!important}
.ak-body .product-summary span{display:block!important;text-align:center!important;padding:12px 10px!important;border-left:1px solid var(--ak-line)!important;white-space:nowrap!important}
.ak-body .product-summary span:first-child{border-left:0!important}
@media(max-width:680px){.ak-body .product-summary{grid-template-columns:1fr!important}.ak-body .product-summary span{border-left:0!important;border-top:1px solid var(--ak-line)!important;white-space:normal!important}}
