/* AYAGOZ.ONLINE: реклама 300×250 в правой колонке каждого каталога */
.ayg-listing-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start;margin-top:12px}
.ayg-listing-content{min-width:0}
.ayg-listing-aside{min-width:0;align-self:start}
.ayg-side-ad{box-sizing:border-box;width:100%;min-height:250px;border:1px dashed #cbdce9;border-radius:16px;padding:22px;background:linear-gradient(135deg,#eef5f8,#fbfdfe);color:#173856;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;overflow-wrap:anywhere}
.ayg-side-ad-label{font-size:10px;font-weight:800;letter-spacing:1.1px;color:#8294aa}
.ayg-side-ad-title{font-size:25px;line-height:1.08;color:#173856;font-weight:850}
.ayg-side-ad p{font-size:13px;line-height:1.5;color:#607892;margin:0}
.ayg-side-ad a{font-size:12px;color:#177b8c;text-decoration:none;font-weight:700}
.ayg-side-ad a:hover{text-decoration:underline}
@media(max-width:930px){.ayg-listing-layout{grid-template-columns:minmax(0,1fr)}.ayg-listing-aside{display:grid;grid-template-columns:minmax(0,300px);justify-content:center}}
@media(max-width:420px){.ayg-listing-layout{gap:16px}.ayg-side-ad{max-width:100%}}

.ayg-ad-picture{max-width:100%;width:100%;max-height:155px;object-fit:contain;border-radius:8px}
.ayg-ad-slot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
.ayg-ad-slot-tile,.ayg-slot-editor{border:1px solid #d6e0e9;border-radius:12px;padding:15px;display:flex;flex-direction:column;gap:9px;background:#f9fbfc;color:#173856;text-decoration:none}
.ayg-ad-slot-tile.selected{border:2px solid #008e88;background:#eaf8f7}
.ayg-ad-slot-tile small,.ayg-slot-editor small{color:#63778b}
.ayg-slot-editor input[type=number]{width:100%;max-width:170px}
.ayg-ad-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
@media(max-width:650px){.ayg-ad-fields{grid-template-columns:1fr}}
