/* DELOVAROFF v92: gallery in cards, zero changes to original grid sizes. */
a.dv92-gallery { position:relative; isolation:isolate; cursor:pointer; touch-action:pan-y; -webkit-user-select:none; user-select:none; }
a.dv92-gallery>img { display:block; width:100%; height:100%; object-fit:cover; }
a.dv92-gallery .dv92-gallery-indicators { position:absolute; z-index:3; left:50%; bottom:9px; transform:translateX(-50%); display:flex; align-items:center; justify-content:center; gap:5px; min-width:0; max-width:96%; padding:5px 8px; border-radius:50px; background:rgba(18,38,66,.47); color:#fff; pointer-events:none; box-shadow:0 2px 12px #162f4b20; }
a.dv92-gallery .dv92-dot { display:block; flex:0 0 auto; width:5px; height:5px; background:rgba(255,255,255,.56); border-radius:50%; transition:background .18s,transform .18s; }
a.dv92-gallery .dv92-dot.is-current { background:#fff; transform:scale(1.45); }
a.dv92-gallery .dv92-count { color:#fff; font-size:11px; font-weight:750; letter-spacing:.02em; white-space:nowrap; font-variant-numeric:tabular-nums; }
a.dv92-gallery:focus-visible { outline:3px solid #0b75e9; outline-offset:-3px; }
/* Category and city links on the home page. Overrides the circular 'open listing' arrow style. */
body.dv3-page .dv3-listing-info>a.dv92-category-link { display:inline-flex; width:max-content; max-width:100%; text-decoration:none; }
body.dv3-page .dv3-listing-info>a.dv92-category-link:hover { color:#075fcb; text-decoration:underline; text-underline-offset:3px; }
body.dv3-page .dv3-listing-bottom span a.dv92-city-link { display:inline!important; width:auto!important; height:auto!important; min-width:0!important; min-height:0!important; padding:0!important; margin:0!important; background:transparent!important; border:0!important; border-radius:0!important; box-shadow:none!important; font:inherit!important; color:inherit!important; text-decoration:none; vertical-align:baseline; }
body.dv3-page .dv3-listing-bottom span a.dv92-city-link:hover { color:#086be1!important; text-decoration:underline; text-underline-offset:2px; }
/* List page category badge and hover on existing city link */
body.dv82-listings .dv82-card-info>.dv92-listings-category { display:inline-flex; align-self:flex-start; max-width:100%; color:#116bdf; font-size:11px; line-height:1.3; font-weight:750; padding:4px 9px; border-radius:50px; background:#edf5ff; border:1px solid #e1eefd; margin:0 0 8px; text-decoration:none; }
body.dv82-listings .dv82-card-info>.dv92-listings-category:hover { background:#dceaff; text-decoration:underline; }
body.dv82-listings .dv82-meta a[href^="/city/"] { color:#336a9c; font-weight:650; }
body.dv82-listings .dv82-meta a[href^="/city/"]:hover { color:#086bd7; text-decoration:underline; text-underline-offset:2px; }
@media(max-width:460px){
  a.dv92-gallery .dv92-gallery-indicators { padding:4px 7px; bottom:7px; gap:4px; }
  a.dv92-gallery .dv92-dot { width:4px;height:4px; }
  body.dv82-listings .dv82-card-info>.dv92-listings-category { font-size:10px; padding:3px 7px; margin-bottom:5px; }
}

/* Каталог категорий и подкатегорий v93, дизайн карточек остается прежним. */
body.dv5-catalog .dv5-admedia a.dv92-gallery{display:block;position:relative;width:100%;height:100%;}
body.dv5-catalog .dv5-admedia a.dv92-gallery img{display:block;width:100%;height:100%;object-fit:cover;}
body.dv5-catalog .dv93-category-tag{display:inline-flex;align-self:flex-start;max-width:100%;font-size:11px;font-weight:750;line-height:1.35;color:#126edf!important;background:#eef5ff;border:1px solid #dceafd;border-radius:999px;padding:4px 9px;text-decoration:none;margin:0 0 8px;}
body.dv5-catalog .dv93-category-tag:hover{color:#0658b7!important;background:#e1efff;text-decoration:underline;}
body.dv5-catalog .dv5-admeta a.dv93-city-link{color:inherit;font:inherit;text-decoration:none;}
body.dv5-catalog .dv5-admeta a.dv93-city-link:hover{color:#096de1;text-decoration:underline;text-underline-offset:2px;}
@media(max-width:600px){body.dv5-catalog .dv93-category-tag{font-size:10px;margin-bottom:5px;padding:3px 8px;}}
