/* 1.1.75 — scoped CSS, independent from old broad frontend rules. */
/* Consistent, compact sort selector and its arrow (not flush with edge). */
body.ae-frontend #ae-demo-sort {
 appearance:none!important;-webkit-appearance:none!important;
 display:block!important;box-sizing:border-box!important;
 min-width:176px!important;max-width:100%!important;
 min-height:45px!important;padding:10px 43px 10px 16px!important;
 border:1px solid #dce5f0!important;border-radius:7px!important;
 background-color:#fff!important;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23334d6c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
 background-position:right 15px center!important;background-repeat:no-repeat!important;background-size:16px 16px!important;
 font-size:13px!important;line-height:1.3!important;color:#263e5d!important;
 box-shadow:none!important;cursor:pointer;
}
/* Keep catalog sorter consistent as well, if selector is in the filter bar. */
body.ae-frontend .ae-catalog select[name="sort"] {
 box-sizing:border-box;padding-right:42px!important;background-position:right 15px center!important;
}
/* Original, single-piece gradient tile: no leftover split-card elements or oversized styles. */
body.ae-frontend .ae-listings-grid > .ae-listing-add-tile,
body.ae-frontend .ae-catalog .ae-listing-add-tile {
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
 gap:0!important;min-height:300px;height:100%;overflow:hidden;
 padding:0!important;text-align:center!important;
 background:linear-gradient(130deg,#eaf3ff 0%,#edf0ff 45%,#f3e2ff 100%)!important;
 border:1px solid #cbd7fa!important;border-radius:9px;box-shadow:none!important;
}
body.ae-frontend .ae-listings-grid > .ae-listing-add-tile > .ae-listing-add-tile-content,
body.ae-frontend .ae-catalog .ae-listing-add-tile > .ae-listing-add-tile-content {
 display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;
 width:100%!important;max-width:330px!important;gap:0!important;padding:24px 18px!important;
 background:none!important;text-align:center!important;
}
body.ae-frontend .ae-listing-add-tile .ae-listing-add-tile-plus {
 display:grid!important;place-items:center!important;position:static!important;
 flex:0 0 auto!important;width:57px!important;height:57px!important;margin:0 0 20px!important;
 padding:0!important;border:0!important;border-radius:50%!important;background:#858d9e!important;
 color:#fff!important;box-shadow:none!important;
}
body.ae-frontend .ae-listing-add-tile .ae-listing-add-tile-plus svg{display:block;width:28px;height:28px;stroke:#fff}
body.ae-frontend .ae-listing-add-tile .ae-listing-add-tile-content h3{
 font-size:18px!important;font-weight:760!important;line-height:1.25!important;margin:0!important;color:#1a2c49!important;
}
body.ae-frontend .ae-listing-add-tile .ae-listing-add-tile-content p{
 font-size:12px!important;line-height:1.45!important;margin:10px 0 20px!important;color:#5e7292!important;
}
body.ae-frontend .ae-listing-add-tile .ae-listing-add-tile-content > a{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:auto!important;min-width:180px!important;max-width:100%!important;min-height:41px!important;
 margin:0!important;padding:10px 20px!important;border:0!important;border-radius:6px!important;
 background:#263e5d!important;color:#fff!important;font-size:12px!important;line-height:1.25!important;
 font-weight:700!important;text-decoration:none!important;box-shadow:none!important;
}
body.ae-frontend .ae-listing-add-tile .ae-listing-add-tile-content > a:hover{background:#1b314e!important;color:#fff!important}
/* Ensure promotion link behaves like the existing primary CTA. */
body.ae-frontend a.ae-promo-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}
body.ae-frontend a.ae-promo-button:hover,body.ae-frontend a.ae-promo-button:visited{color:#fff}
/* All listing detail action labels inherit one measured typography; SVGs share size and stroke. */
body.ae-detail-page .ae-dp-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px 20px;justify-content:flex-end}
body.ae-detail-page .ae-dp-actions .ae-dp-action{
 appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;
 min-height:32px!important;margin:0!important;padding:3px 0!important;
 border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
 color:#52657f!important;font-family:inherit!important;font-size:12px!important;font-weight:550!important;
 line-height:1.4!important;text-decoration:none!important;white-space:nowrap;
}
body.ae-detail-page .ae-dp-actions .ae-dp-action > span{font:inherit!important;line-height:inherit!important;letter-spacing:0!important}
body.ae-detail-page .ae-dp-actions .ae-dp-action svg{width:16px!important;height:16px!important;flex:none;stroke-width:1.65!important}
body.ae-detail-page .ae-dp-actions .ae-dp-action:hover{color:#1685e9!important}
@media(max-width:700px){
 body.ae-detail-page .ae-dp-actions{justify-content:flex-start;gap:8px 16px}
 body.ae-detail-page .ae-dp-actions .ae-dp-action{font-size:11px!important}
 body.ae-frontend #ae-demo-sort{min-width:145px!important;padding-right:38px!important;background-position:right 12px center!important}
 body.ae-frontend .ae-listings-grid > .ae-listing-add-tile,body.ae-frontend .ae-catalog .ae-listing-add-tile{min-height:255px}
}
