/* Рекламные места Bestseller Shelf (по образцу amz-store). Скрыты, пока ads.js их не заполнит. */
.ad-slot{display:none;position:relative;align-items:center;justify-content:center;margin:40px auto 24px;width:100%}
.ad-slot.ad-on{display:flex}
.ad-slot::before{content:attr(data-label);position:absolute;top:-20px;left:0;font-family:var(--mono,monospace);font-size:10px;color:var(--muted,#7a6f63);letter-spacing:.08em;text-transform:uppercase}
.ad-top,.ad-footer,.ad-section{max-width:1140px;width:calc(100% - 40px);min-height:90px}
.ad-section{margin:56px auto 8px}
.ad-footer{margin:72px auto 0}
.ad-result{max-width:336px;min-height:250px}
.ad-slot picture,.ad-slot img{max-width:100%}

/* Страница книги: колонка справа = карточка книги + рекламный блок, который едет при прокрутке */
.aside-col{align-self:stretch}
.aside-col .aside{position:static}
.ad-sidebar{position:sticky;top:88px;margin:48px 0 0;width:300px;min-height:600px}
@media (max-width:1000px){.aside-col{display:none}}

@media (max-width:639px){
  .ad-top,.ad-footer,.ad-section{width:calc(100% - 32px);min-height:100px}
  .ad-result{max-width:300px}
}
body.debug .ad-slot{display:flex;outline:2px dashed var(--gold,#b08a4a);background:repeating-linear-gradient(45deg,#f5efe3,#f5efe3 10px,#ece3d2 10px,#ece3d2 20px)}
body.debug .ad-slot::after{content:attr(data-size);color:var(--muted,#7a6f63);font-size:13px}