.anunciaweb-listings-search{display:grid;grid-template-columns:2fr 1fr repeat(2,minmax(130px,1fr)) minmax(150px,auto) auto;gap:10px;margin:0 0 24px}.anunciaweb-listings-search input,.anunciaweb-listings-search select,.anunciaweb-listings-search button{min-height:42px;padding:9px 12px;border:1px solid #d9dde5;border-radius:8px;box-sizing:border-box}.anunciaweb-listings-search button{cursor:pointer}.anunciaweb-listings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.anunciaweb-listing-card{border:1px solid #e4e7ec;border-radius:12px;overflow:hidden;background:#fff}.anunciaweb-listing-card h3,.anunciaweb-listing-card p,.anunciaweb-listing-card .anunciaweb-listing-price,.anunciaweb-listing-card .anunciaweb-listing-location{margin-left:16px;margin-right:16px}.anunciaweb-listing-card h3{margin-top:16px}.anunciaweb-listing-gallery{display:flex;gap:8px;overflow:hidden}.anunciaweb-listing-gallery.is-card{height:210px}.anunciaweb-listing-gallery.is-single{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-bottom:20px}.anunciaweb-gallery-media{display:block;width:100%;height:100%;object-fit:cover;background:#f3f4f6}.anunciaweb-listing-gallery.is-single .anunciaweb-gallery-media{height:260px;border-radius:10px}.anunciaweb-listing-single{max-width:1000px;margin:auto}.anunciaweb-notice{padding:12px 16px;border-radius:8px;margin-bottom:16px;background:#eef8f0}.anunciaweb-my-listings{overflow-x:auto}.anunciaweb-my-listings table{width:100%;border-collapse:collapse}.anunciaweb-my-listings th,.anunciaweb-my-listings td{padding:10px;border-bottom:1px solid #e5e7eb;text-align:left}@media(max-width:900px){.anunciaweb-listings-search{grid-template-columns:1fr 1fr}.anunciaweb-listings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.anunciaweb-listings-search,.anunciaweb-listings-grid{grid-template-columns:1fr}.anunciaweb-listing-gallery.is-single{grid-template-columns:1fr}.anunciaweb-listing-gallery.is-single .anunciaweb-gallery-media{height:220px}}

.anunciaweb-listings-summary{margin:0 0 14px;color:#667085;font-size:14px}.anunciaweb-card-body{padding:0 16px 16px}.anunciaweb-card-top,.anunciaweb-listing-single-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.anunciaweb-card-top h3{margin-left:0!important;margin-right:0!important;flex:1}.anunciaweb-favorite-form{margin:12px 12px 0 0}.anunciaweb-card-top .anunciaweb-favorite-form{margin:0}.anunciaweb-favorite-form button{width:38px;height:38px;border:1px solid #d9dde5;border-radius:50%;background:#fff;cursor:pointer;font-size:21px;line-height:1}.anunciaweb-favorite-form button.is-active{font-weight:700}.anunciaweb-pagination{display:flex;justify-content:center;gap:7px;margin:28px 0;flex-wrap:wrap}.anunciaweb-pagination a{padding:8px 12px;border:1px solid #d9dde5;border-radius:7px;text-decoration:none}.anunciaweb-pagination a.is-current{font-weight:700}.anunciaweb-profile{max-width:1100px;margin:auto}.anunciaweb-profile-head{display:flex;align-items:center;gap:20px;padding:24px;margin-bottom:28px;border:1px solid #e4e7ec;border-radius:14px;background:#fff}.anunciaweb-profile-head h1{margin:0 0 6px}.anunciaweb-profile-head p{margin:0 0 8px;color:#667085}.anunciaweb-seller-box{display:flex;align-items:center;gap:12px;margin-top:28px;padding:16px;border:1px solid #e4e7ec;border-radius:12px}.anunciaweb-seller-box a{display:block;margin-top:4px}.anunciaweb-listing-single-head h1{margin-top:0}.anunciaweb-listing-single-head .anunciaweb-favorite-form{margin:0}@media(max-width:600px){.anunciaweb-profile-head{align-items:flex-start;flex-direction:column}.anunciaweb-listing-single-head{gap:8px}.anunciaweb-listing-single-head h1{font-size:26px}}
.anunciaweb-notification-list{display:grid;gap:12px}.anunciaweb-notification{display:flex;justify-content:space-between;gap:16px;padding:16px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.anunciaweb-notification.is-unread{border-left:4px solid #2271b1}.anunciaweb-notification p{margin:.35rem 0}.anunciaweb-notification small{opacity:.7}.anunciaweb-notification button{padding:8px 10px;border:1px solid #d1d5db;border-radius:8px;background:#f8fafc}

.anunciaweb-media-uploader{margin:20px 0;padding:16px;border:1px dashed #cfd4dc;border-radius:12px;background:#fafbfc}.anunciaweb-media-uploader-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.anunciaweb-media-uploader-head span{color:#667085;font-size:13px}.anunciaweb-media-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;margin:12px 0}.anunciaweb-media-preview-item{position:relative;aspect-ratio:1;border-radius:9px;overflow:hidden;background:#eef0f3;border:1px solid #e1e4e8}.anunciaweb-media-preview-item img{width:100%;height:100%;object-fit:cover}.anunciaweb-media-preview-video{display:grid;place-items:center;width:100%;height:100%;font-size:32px}.anunciaweb-media-remove{position:absolute;top:5px;right:5px;width:28px;height:28px;border:0;border-radius:50%;background:#fff;cursor:pointer;font-size:18px;line-height:1}.anunciaweb-media-select{padding:9px 14px;border:1px solid #d1d5db;border-radius:8px;background:#fff;cursor:pointer}@media(max-width:600px){.anunciaweb-media-uploader-head{flex-direction:column}}

.anunciaweb-my-listings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}.anunciaweb-my-listing-card{border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;background:#fff}.anunciaweb-my-listing-card .anunciaweb-card-body{padding:16px;display:grid;gap:10px}.anunciaweb-status{display:inline-flex;width:max-content;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:600;background:#f1f5f9}.anunciaweb-status-active{background:#dcfce7}.anunciaweb-status-pending{background:#fef3c7}.anunciaweb-status-rejected,.anunciaweb-status-blocked{background:#fee2e2}.anunciaweb-status-expired,.anunciaweb-status-paused{background:#e2e8f0}.anunciaweb-listing-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.anunciaweb-listing-action-form{margin:0}.anunciaweb-listing-action-form button{cursor:pointer}.anunciaweb-action-note{font-size:13px;opacity:.75}.anunciaweb-my-listing-card small{opacity:.7}

/* Perfil moderno */
.anunciaweb-profile-modern{max-width:1180px;margin:0 auto;padding:10px 0 50px;color:#172033}.anunciaweb-profile-cover{position:relative;display:flex;gap:26px;align-items:flex-end;min-height:245px;padding:38px 38px 30px;border-radius:24px;background:linear-gradient(135deg,#172033 0%,#243b64 55%,#3b65b7 100%);color:#fff;box-shadow:0 18px 50px rgba(16,24,40,.12);overflow:visible}.anunciaweb-profile-avatar{flex:0 0 auto;margin-bottom:-66px;border:6px solid #fff;border-radius:50%;background:#fff;box-shadow:0 10px 28px rgba(0,0,0,.18)}.anunciaweb-profile-avatar .avatar{display:block;border-radius:50%}.anunciaweb-profile-cover-content{flex:1;min-width:0}.anunciaweb-profile-identity{display:flex;align-items:center;justify-content:space-between;gap:18px}.anunciaweb-profile-identity h1{margin:0;font-size:32px;line-height:1.15;color:#fff}.anunciaweb-profile-identity p{margin:5px 0 0;color:rgba(255,255,255,.72)}.anunciaweb-profile-bio{max-width:760px;margin:16px 0 8px;color:rgba(255,255,255,.9);font-size:15px;line-height:1.6}.anunciaweb-profile-meta{display:flex;flex-wrap:wrap;gap:14px;margin-top:12px;font-size:13px;color:rgba(255,255,255,.72)}.anunciaweb-profile-meta a{color:#fff;text-decoration:none}.anunciaweb-profile-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border:1px solid #d8dee9;border-radius:10px;background:#fff;color:#172033;text-decoration:none;font-weight:600;box-sizing:border-box;cursor:pointer}.anunciaweb-profile-button:hover{text-decoration:none;transform:translateY(-1px)}.anunciaweb-profile-button-primary{border-color:#2563eb;background:#2563eb;color:#fff}.anunciaweb-profile-cover .anunciaweb-profile-button{border-color:rgba(255,255,255,.35);background:rgba(255,255,255,.12);color:#fff;backdrop-filter:blur(8px)}.anunciaweb-profile-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:78px 0 20px}.anunciaweb-profile-action{display:flex;min-height:106px;flex-direction:column;justify-content:center;gap:5px;padding:16px;border:1px solid #e4e7ec;border-radius:15px;background:#fff;color:#172033;text-decoration:none;box-shadow:0 4px 14px rgba(16,24,40,.04);transition:.15s ease}.anunciaweb-profile-action:hover{transform:translateY(-2px);border-color:#cbd5e1;text-decoration:none}.anunciaweb-profile-action.primary{border-color:#c7d7ff;background:#f4f7ff}.anunciaweb-profile-action span{font-size:25px;line-height:1}.anunciaweb-profile-action strong{font-size:14px}.anunciaweb-profile-action small{font-size:12px;color:#667085;line-height:1.35}.anunciaweb-profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0 34px}.anunciaweb-profile-stats>div{padding:20px;border:1px solid #e4e7ec;border-radius:15px;background:#fff}.anunciaweb-profile-stats strong{display:block;font-size:22px;line-height:1.2;text-transform:capitalize}.anunciaweb-profile-stats span{display:block;margin-top:5px;color:#667085;font-size:13px}.anunciaweb-profile-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:16px}.anunciaweb-profile-section-head h2{margin:0;font-size:24px}.anunciaweb-profile-section-head p{margin:5px 0 0;color:#667085}.anunciaweb-profile-section-head a{font-size:14px;font-weight:600;text-decoration:none}.anunciaweb-profile-contact{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:12px 0;padding:14px 16px;border:1px solid #e4e7ec;border-radius:12px;background:#fff}.anunciaweb-profile-contact strong{font-size:13px}.anunciaweb-profile-contact span{color:#475467;font-size:14px}.anunciaweb-profile-public-actions{display:flex;justify-content:flex-end;margin:28px 0 20px}.anunciaweb-profile-panel{margin:78px 0 20px;padding:24px;border:1px solid #e4e7ec;border-radius:18px;background:#fff;box-shadow:0 5px 18px rgba(16,24,40,.04)}.anunciaweb-profile-panel-title h2{margin:0}.anunciaweb-profile-panel-title p{margin:5px 0 20px;color:#667085}.anunciaweb-profile-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.anunciaweb-profile-form-grid label{display:grid;gap:7px;font-size:13px;font-weight:600}.anunciaweb-profile-form-grid label.is-wide{grid-column:1/-1}.anunciaweb-profile-form input,.anunciaweb-profile-form textarea{width:100%;padding:11px 12px;border:1px solid #d8dee9;border-radius:9px;background:#fff;box-sizing:border-box;font:inherit;font-weight:400}.anunciaweb-profile-form textarea{resize:vertical}.anunciaweb-profile-form-actions{display:flex;gap:10px;margin-top:20px}.anunciaweb-profile-empty,.anunciaweb-profile-empty-list{padding:45px 25px;text-align:center;border:1px solid #e4e7ec;border-radius:18px;background:#fff}.anunciaweb-profile-empty{max-width:600px;margin:30px auto}.anunciaweb-profile-empty-icon{width:54px;height:54px;margin:0 auto 15px;display:grid;place-items:center;border-radius:50%;background:#eef3ff;font-size:22px}.anunciaweb-profile-empty h2,.anunciaweb-profile-empty-list h3{margin:0 0 8px}.anunciaweb-profile-empty p,.anunciaweb-profile-empty-list p{margin:0 0 18px;color:#667085}.anunciaweb-profile-empty-list{grid-column:1/-1}.anunciaweb-profile-empty-list>span{font-size:30px;color:#98a2b3}.anunciaweb-notice{border:1px solid #b7ebc6;background:#effbf2;color:#176b32}
@media(max-width:900px){.anunciaweb-profile-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.anunciaweb-profile-cover{padding:30px 24px 26px}.anunciaweb-profile-stats{grid-template-columns:1fr 1fr}.anunciaweb-profile-stats>div:last-child{grid-column:1/-1}}
@media(max-width:600px){.anunciaweb-profile-cover{display:block;min-height:0;padding:25px 20px 22px;border-radius:18px}.anunciaweb-profile-avatar{width:96px;margin:0 0 18px}.anunciaweb-profile-avatar .avatar{width:96px;height:96px}.anunciaweb-profile-identity{align-items:flex-start;flex-direction:column}.anunciaweb-profile-identity h1{font-size:27px}.anunciaweb-profile-actions{grid-template-columns:1fr;margin-top:20px}.anunciaweb-profile-stats{grid-template-columns:1fr;margin-top:14px}.anunciaweb-profile-stats>div:last-child{grid-column:auto}.anunciaweb-profile-section-head{align-items:flex-start;flex-direction:column}.anunciaweb-profile-form-grid{grid-template-columns:1fr}.anunciaweb-profile-form-grid label.is-wide{grid-column:auto}.anunciaweb-profile-panel{margin-top:20px;padding:18px}.anunciaweb-profile-meta{gap:9px;line-height:1.5}.anunciaweb-profile-contact{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:12px 0;padding:14px 16px;border:1px solid #e4e7ec;border-radius:12px;background:#fff}.anunciaweb-profile-contact strong{font-size:13px}.anunciaweb-profile-contact span{color:#475467;font-size:14px}.anunciaweb-profile-public-actions{justify-content:flex-start}}


/* Real listing integration: presentation only; data and business rules remain in the plugin. */
.anunciaweb-real-listings-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.anunciaweb-real-listing-card{position:relative;min-width:0;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:12px;overflow:hidden}.anunciaweb-real-listing-link{display:block;color:inherit;text-decoration:none}.anunciaweb-real-listing-media-wrap{aspect-ratio:4/3;background:#f3f4f6;overflow:hidden}.anunciaweb-real-listing-media{display:block;width:100%;height:100%;object-fit:cover}.anunciaweb-real-listing-no-media{display:grid;place-items:center;color:#6b7280;font-size:13px}.anunciaweb-real-listing-body{padding:14px}.anunciaweb-real-listing-category{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.04em;opacity:.7;margin-bottom:5px}.anunciaweb-real-listing-body h3{margin:0 0 7px;font-size:17px;line-height:1.25}.anunciaweb-real-listing-body p{margin:0 0 10px;color:#5b6470;font-size:13px;line-height:1.45}.anunciaweb-real-listing-price{display:block;font-size:16px;margin-bottom:5px}.anunciaweb-real-listing-location,.anunciaweb-real-listing-body time{display:block;font-size:12px;color:#6b7280;margin-top:3px}.anunciaweb-real-favorite{position:absolute;right:10px;top:10px}.anunciaweb-real-favorite button{width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.95);cursor:pointer;font-size:18px}.anunciaweb-real-listings-empty{grid-column:1/-1;padding:24px;text-align:center}.anunciaweb-edit-listing{max-width:900px;margin:auto}.anunciaweb-edit-listing input,.anunciaweb-edit-listing textarea,.anunciaweb-edit-listing select{width:100%;max-width:100%;box-sizing:border-box}.anunciaweb-listing-edit-link{display:inline-block;margin-right:8px}
@media(max-width:1024px){.anunciaweb-real-listings-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:767px){.anunciaweb-real-listings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}@media(max-width:480px){.anunciaweb-real-listings-grid{grid-template-columns:1fr}}

/* Authentication components are plugin-owned integration markup; they are scoped to anunciaweb-* classes. */
.anunciaweb-auth-form,.anunciaweb-auth-account{max-width:760px;margin:24px auto;padding:24px;background:#fff;border:1px solid rgba(0,0,0,.10);border-radius:12px;box-sizing:border-box}.anunciaweb-auth-form form{display:grid;gap:14px}.anunciaweb-auth-form label{display:grid;gap:6px;font-weight:600}.anunciaweb-auth-form input,.anunciaweb-auth-form button,.anunciaweb-auth-account button{font:inherit}.anunciaweb-auth-form input{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #ccd1d9;border-radius:7px}.anunciaweb-auth-form button,.anunciaweb-auth-account button{padding:11px 16px;border:0;border-radius:7px;cursor:pointer;background:#1f5eff;color:#fff}.anunciaweb-auth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.anunciaweb-auth-check{display:flex!important;align-items:center;gap:8px;font-weight:400!important}.anunciaweb-auth-check input{width:auto}.anunciaweb-auth-error,.anunciaweb-auth-success{padding:12px 14px;border-radius:7px;margin-bottom:14px}.anunciaweb-auth-error{background:#fff0f0;color:#8a1c1c}.anunciaweb-auth-success{background:#eefaf1;color:#176b2c}.anunciaweb-auth-account ul{padding-left:20px}.anunciaweb-auth-account li{margin-bottom:8px}@media(max-width:700px){.anunciaweb-auth-grid{grid-template-columns:1fr}.anunciaweb-auth-form,.anunciaweb-auth-account{margin:16px 0;padding:18px}}


/* Account/authentication pages */
.anunciaweb-account-page{max-width:980px;margin:28px auto;padding:26px;box-sizing:border-box}.anunciaweb-account-page header{margin-bottom:22px}.anunciaweb-account-page header h1{margin:0 0 7px;font-size:30px;line-height:1.2}.anunciaweb-account-page header p{margin:0;color:#667085;line-height:1.55}.anunciaweb-account-form{display:grid;gap:16px;max-width:620px;padding:22px;border:1px solid #e4e7ec;border-radius:14px;background:#fff}.anunciaweb-account-form label{display:grid;gap:7px;font-weight:600;font-size:14px}.anunciaweb-account-form input{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #ccd1d9;border-radius:8px;background:#fff;font:inherit}.anunciaweb-account-form button,.anunciaweb-account-page>form>button{width:max-content;padding:11px 17px;border:0;border-radius:8px;background:#1f5eff;color:#fff;cursor:pointer;font:inherit;font-weight:600}.anunciaweb-account-links,.anunciaweb-account-nav{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:20px}.anunciaweb-account-links a,.anunciaweb-account-nav a{color:inherit;text-decoration:none;font-weight:600}.anunciaweb-account-links a:hover,.anunciaweb-account-nav a:hover{text-decoration:underline}.anunciaweb-account-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.anunciaweb-account-cards article{padding:20px;border:1px solid #e4e7ec;border-radius:14px;background:#fff}.anunciaweb-account-cards h2{margin:0 0 8px;font-size:18px}.anunciaweb-account-cards p{color:#667085;line-height:1.5}.anunciaweb-session-list{display:grid;gap:10px;margin-bottom:18px}.anunciaweb-session-item{display:grid;gap:4px;padding:15px;border:1px solid #e4e7ec;border-radius:12px;background:#fff}.anunciaweb-session-item span,.anunciaweb-session-item time{font-size:13px;color:#667085;word-break:break-word}.anunciaweb-account-data{padding:20px;border:1px solid #e4e7ec;border-radius:14px;background:#fff}.anunciaweb-account-data dl{display:grid;grid-template-columns:220px 1fr;margin:0}.anunciaweb-account-data dt,.anunciaweb-account-data dd{padding:10px 0;border-bottom:1px solid #eef0f3}.anunciaweb-account-data dt{font-weight:700}.anunciaweb-account-data dd{margin:0}.anunciaweb-auth-warning{margin:0 0 20px;padding:16px;border:1px solid #f2c94c;border-radius:12px;background:#fff9e6}.anunciaweb-auth-warning p{margin:7px 0 0}.anunciaweb-danger-action{background:#b42318!important}.anunciaweb-auth-state{padding:18px;border:1px solid #e4e7ec;border-radius:12px;background:#fff}.anunciaweb-auth-state a{font-weight:700}.anunciaweb-change-page{max-width:760px}.anunciaweb-delete-page{max-width:760px}.anunciaweb-privacy-page{max-width:820px}
@media(max-width:760px){.anunciaweb-account-page{padding:18px;margin:18px 0}.anunciaweb-account-cards{grid-template-columns:1fr}.anunciaweb-account-data dl{grid-template-columns:1fr}.anunciaweb-account-data dt{padding-bottom:2px;border-bottom:0}.anunciaweb-account-data dd{padding-top:2px}.anunciaweb-account-form{padding:18px}.anunciaweb-account-page header h1{font-size:25px}}
/* Social networks and external links in listings */
.anunciaweb-links-fieldset{margin:24px 0;padding:18px;border:1px solid #d9e0ea;border-radius:12px;background:#fff}
.anunciaweb-links-fieldset legend{font-weight:700;font-size:18px;padding:0 6px}
.anunciaweb-links-help{font-size:13px;color:#667085;margin:6px 0 14px}
.anunciaweb-links-list{display:grid;gap:10px}
.anunciaweb-link-row{display:grid;grid-template-columns:150px 180px 150px minmax(180px,1fr) minmax(180px,1fr) auto;gap:8px;align-items:center}
.anunciaweb-link-row input,.anunciaweb-link-row select{width:100%;min-height:40px;box-sizing:border-box}
.anunciaweb-add-link,.anunciaweb-remove-link{min-height:40px;padding:0 12px;cursor:pointer}
.anunciaweb-listing-links{margin:24px 0;padding:18px;border:1px solid #e5e7eb;border-radius:12px}
.anunciaweb-listing-links h3{margin:0 0 12px}
.anunciaweb-listing-links-list{display:flex;flex-wrap:wrap;gap:10px}
.anunciaweb-listing-link{display:inline-flex;align-items:center;gap:8px;text-decoration:none;padding:8px 12px;border:1px solid #e5e7eb;border-radius:999px}
.anunciaweb-listing-link img{width:22px;height:22px;object-fit:contain;border-radius:50%}
@media (max-width:900px){.anunciaweb-link-row{grid-template-columns:1fr 1fr}.anunciaweb-link-row input,.anunciaweb-link-row select{grid-column:auto}.anunciaweb-remove-link{grid-column:1/-1}}
@media (max-width:560px){.anunciaweb-link-row{grid-template-columns:1fr}}

/* BLOCO 10 — acessibilidade e responsividade */
.anunciaweb-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.anunciaweb-listings-search input,.anunciaweb-listings-search select,.anunciaweb-listings-search button,.anunciaweb-favorite-form button,.anunciaweb-listing-action-form button,.anunciaweb-pagination a,.anunciaweb-media-select,.anunciaweb-media-remove,.anunciaweb-notification button{min-height:44px}
.anunciaweb-listings-search input:focus-visible,.anunciaweb-listings-search select:focus-visible,.anunciaweb-listings-search button:focus-visible,.anunciaweb-favorite-form button:focus-visible,.anunciaweb-listing-action-form button:focus-visible,.anunciaweb-pagination a:focus-visible,.anunciaweb-media-select:focus-visible,.anunciaweb-media-remove:focus-visible,.anunciaweb-notification button:focus-visible,.anunciaweb-profile-button:focus-visible,.anunciaweb-profile-action:focus-visible{outline:3px solid currentColor;outline-offset:2px}
.anunciaweb-listings-grid>*{min-width:0}.anunciaweb-listing-card img,.anunciaweb-listing-gallery img,.anunciaweb-media-preview-item img{max-width:100%}.anunciaweb-notification,.anunciaweb-profile-contact,.anunciaweb-listing-actions{min-width:0}.anunciaweb-notification>*{min-width:0}
@media(max-width:900px){.anunciaweb-listings-search{grid-template-columns:repeat(2,minmax(0,1fr))}.anunciaweb-profile-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.anunciaweb-listings-search{grid-template-columns:1fr}.anunciaweb-listing-gallery.is-card{height:min(210px,55vw)}.anunciaweb-profile-modern{padding-left:10px;padding-right:10px}.anunciaweb-profile-cover{min-height:0;padding:28px 20px 24px;flex-direction:column;align-items:flex-start;border-radius:18px}.anunciaweb-profile-avatar{margin-bottom:-56px}.anunciaweb-profile-identity{width:100%;align-items:flex-start;flex-direction:column}.anunciaweb-profile-identity h1{font-size:27px}.anunciaweb-profile-actions{grid-template-columns:1fr;margin-top:72px}.anunciaweb-profile-stats{grid-template-columns:1fr}.anunciaweb-profile-contact{align-items:flex-start;flex-direction:column}.anunciaweb-notification{align-items:flex-start;flex-direction:column}.anunciaweb-notification button{width:100%}.anunciaweb-pagination{gap:5px}.anunciaweb-pagination a{padding:8px 10px}}
@media(prefers-reduced-motion:reduce){.anunciaweb-carousel__track,.anunciaweb-carousel__slide,.anunciaweb-carousel__cta-button{transition:none!important}.anunciaweb-profile-button,.anunciaweb-profile-action{transition:none!important;transform:none!important}}

/* Elementor plan data presentation */
.anunciaweb-elementor-plan-limits{list-style:none;margin:1rem 0;padding:0;display:grid;gap:.5rem}
.anunciaweb-elementor-plan-limits li{display:flex;justify-content:space-between;gap:1rem}
.anunciaweb-elementor-plan-badge{display:inline-block;margin-top:.5rem}
.anunciaweb-elementor-plan-action{display:inline-block;margin-top:1rem}

.anunciaweb-listings-grid.list{display:grid;grid-template-columns:1fr;gap:16px}.anunciaweb-listings-grid.list .anunciaweb-real-listing-card{display:grid;grid-template-columns:minmax(180px,280px) 1fr;align-items:stretch}.anunciaweb-listings-grid.list .anunciaweb-real-listing-media-wrap{height:100%;min-height:180px}.anunciaweb-listings-grid.list .anunciaweb-real-listing-body{display:flex;flex-direction:column;justify-content:center}@media(max-width:600px){.anunciaweb-listings-grid.list .anunciaweb-real-listing-card{grid-template-columns:1fr}.anunciaweb-listings-grid.list .anunciaweb-real-listing-media-wrap{height:220px}}

/* =========================================================
   SPACE ANÚNCIO — PAINEL DO USUÁRIO / NOVO ANÚNCIO
   Integração da interface visual do protótipo no shortcode público.
   ========================================================= */
.space-user-new-listing{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#102a43;background:#f5f8fc;margin:0;padding:0;min-width:0}.space-user-new-listing *{box-sizing:border-box}.space-user-topbar{min-height:68px;background:linear-gradient(90deg,#06385e,#052c4b);color:#fff;display:flex;align-items:center;gap:28px;padding:0 24px}.space-user-brand{display:flex;align-items:center;gap:11px;min-width:280px}.space-user-brand-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:#1275ee;font-size:21px}.space-user-brand strong{display:block;font-size:21px;line-height:1}.space-user-brand strong b{color:#1682ff}.space-user-brand small{display:block;margin-top:4px;font-size:10px;color:rgba(255,255,255,.72)}.space-user-search{height:40px;max-width:630px;flex:1;background:#fff;color:#64748b;border-radius:6px;display:flex;align-items:center;gap:9px;padding:0 14px}.space-user-search input{width:100%;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;font-size:13px}.space-user-top-actions{display:flex;align-items:center;gap:16px;margin-left:auto;white-space:nowrap}.space-user-theme{font-weight:600}.space-user-bell{position:relative;font-size:21px}.space-user-bell i{position:absolute;right:-7px;top:-8px;width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:#ef4444;color:#fff;font-size:10px;font-style:normal}.space-user-avatar{width:40px;height:40px;border-radius:50%;background:#e2e8f0;color:#94a3b8;display:grid;place-items:center}.space-user-shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:700px}.space-user-sidebar{background:#fff;border-right:1px solid #e2e8f0;padding:22px 14px}.space-user-sidebar nav{display:grid;gap:4px}.space-user-nav-item{display:flex;align-items:center;gap:13px;min-height:43px;padding:10px 12px;border-radius:9px;text-decoration:none;color:#19324f;font-size:14px;font-weight:500}.space-user-nav-item:hover{background:#f1f5f9;color:#1267dc}.space-user-nav-item.is-active{background:#1677f5;color:#fff;font-weight:700}.space-user-nav-item:first-letter{font-size:19px}.space-user-pro-card{margin-top:24px;padding:18px;border:1px solid #dbeafe;border-radius:11px;background:#f7fbff}.space-user-pro-card h3{margin:0 0 8px;font-size:17px;color:#102a43}.space-user-pro-card p{margin:0 0 14px;color:#64748b;font-size:12px;line-height:1.5}.space-user-pro-card button{width:100%;height:38px;border:0;border-radius:6px;background:#126ff0;color:#fff;font-weight:700}.space-user-main{min-width:0;padding:18px 22px 0}.space-user-breadcrumb{font-size:12px;color:#64748b;margin:0 0 12px}.space-user-breadcrumb a{color:#64748b;text-decoration:none}.space-user-breadcrumb span{margin:0 7px;color:#94a3b8}.space-user-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.space-user-heading h1{margin:0;color:#0f172a;font-size:28px;line-height:1.2}.space-user-heading p{margin:5px 0 0;color:#64748b;font-size:13px}.space-user-heading-actions{display:flex;gap:10px}.space-user-button{min-height:42px;padding:0 18px;border-radius:7px;border:1px solid #cbd5e1;background:#fff;color:#18304b;font-weight:700;cursor:pointer;transition:.18s}.space-user-button:hover{transform:translateY(-1px)}.space-user-button-secondary{border-color:#1775f2;color:#126de7;background:#fff}.space-user-button-primary{border-color:#126ff0;background:#126ff0;color:#fff}.space-user-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-bottom:18px}.space-user-step{min-height:68px;display:flex;align-items:center;gap:9px;text-align:left;padding:10px 11px;border:1px solid #dbe3ed;border-radius:8px;background:#fff;color:#17304c;cursor:pointer}.space-user-step.is-active{background:#1677f5;color:#fff;border-color:#1677f5}.space-user-step>span:last-child{min-width:0}.space-user-step strong,.space-user-step small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.space-user-step strong{font-size:12px}.space-user-step small{margin-top:3px;font-size:10px;opacity:.72}.space-user-step.is-active small{opacity:.9}.space-user-grid-layout{display:grid;grid-template-columns:minmax(0,1fr) 395px;gap:18px;align-items:start}.space-user-form-card,.space-user-card{background:#fff;border:1px solid #e0e7ef;border-radius:10px;box-shadow:0 2px 8px rgba(15,23,42,.035)}.space-user-form-card{padding:22px}.space-user-panel-heading{display:flex;gap:12px;align-items:center;padding-bottom:17px;margin-bottom:17px;border-bottom:1px solid #e5eaf0}.space-user-panel-heading>b{width:30px;height:30px;border-radius:7px;display:grid;place-items:center;background:#e9f2ff;color:#126ff0}.space-user-panel-heading h2{margin:0;color:#0f172a;font-size:18px}.space-user-panel-heading p{margin:3px 0 0;color:#64748b;font-size:12px}.space-user-fields{display:grid;gap:16px}.space-user-field{min-width:0}.space-user-field label{display:block;margin-bottom:7px;color:#1e293b;font-size:13px;font-weight:700}.space-user-field label em{color:#ef4444;font-style:normal}.space-user-field input,.space-user-field select,.space-user-field textarea{width:100%;min-height:40px;border:1px solid #cbd5e1!important;border-radius:7px!important;background:#fff!important;color:#1e293b!important;box-shadow:none!important;padding:9px 12px!important}.space-user-field textarea{min-height:180px;resize:vertical}.space-user-field input:focus,.space-user-field select:focus,.space-user-field textarea:focus{border-color:#1677f5!important;box-shadow:0 0 0 3px rgba(22,119,245,.12)!important;outline:0}.space-user-field-footer{display:flex;justify-content:flex-end;color:#64748b;font-size:11px;margin-top:4px}.space-user-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.space-user-info-tip{display:flex;gap:9px;align-items:center;padding:11px 13px;border:1px solid #bfdbfe;border-radius:7px;background:#eaf4ff;color:#42617e;font-size:12px;margin-top:17px}.space-user-info-tip>b{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#1680ef;color:#fff}.space-user-info-tip strong{color:#126ff0}.space-user-divider{height:1px;background:#e5eaf0;margin:20px 0}.space-user-radio-row{display:flex;flex-wrap:wrap;gap:16px;min-height:40px;align-items:center}.space-user-radio{display:inline-flex!important;align-items:center;gap:7px;margin:0!important;font-weight:500!important}.space-user-radio input{width:auto!important;min-height:0!important}.space-user-right{display:grid;gap:16px}.space-user-card{padding:17px}.space-user-card h3{margin:0 0 14px;font-size:16px;color:#0f172a}.space-user-card>p{color:#64748b;font-size:13px;line-height:1.5}.space-user-preview{display:grid;grid-template-columns:120px 1fr;gap:16px;padding:12px;border:1px solid #e1e7ee;border-radius:8px}.space-user-preview-image{height:155px;border-radius:7px;background:#eef2f6;display:grid;place-items:center;color:#94a3b8;font-size:34px}.space-user-preview h4{margin:0 0 9px;color:#1e293b;font-size:14px;line-height:1.4}.space-user-preview strong{display:block;margin-bottom:10px;color:#126ff0;font-size:21px}.space-user-preview p{margin:7px 0;color:#64748b;font-size:12px;line-height:1.45}.space-user-tips{background:#effaf3;border-color:#cdeed7}.space-user-tips ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}.space-user-tips li{font-size:12px;color:#23603d}.space-user-tips li:before{content:'✓';display:inline-grid;place-items:center;width:17px;height:17px;margin-right:7px;border-radius:50%;background:#16a34a;color:#fff;font-size:10px}.space-user-outline-button{min-height:40px;width:100%;border:1px solid #1677f5;border-radius:7px;background:#fff;color:#126ff0;font-weight:700;cursor:pointer}.space-user-media-box,.space-user-links-box{padding:0;margin:0}.space-user-media-box .anunciaweb-media-uploader,.space-user-links-box .anunciaweb-links-fieldset{margin:0}.space-user-final-submit{display:block;margin-top:15px}.space-user-bottom-actions{margin:18px -22px 0;padding:14px 22px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 20px;border-top:1px solid #e0e7ef;background:#fff;box-shadow:0 -2px 10px rgba(15,23,42,.03)}.space-user-save-status{display:flex;align-items:center;gap:10px;flex:1 1 240px;min-width:220px;max-width:100%}.space-user-save-status>div{min-width:0;max-width:100%}.space-user-save-status strong,.space-user-save-status small{display:block;overflow-wrap:normal;word-break:normal;white-space:normal}.space-user-save-status>div{display:grid;gap:3px;min-width:0}.space-user-save-status strong{font-size:13px;color:#b45309}.space-user-save-status small{font-size:11px;color:#64748b}.space-user-save-status>span{width:34px;height:34px;flex:0 0 34px;border-radius:9px;display:grid;place-items:center;background:#fef3c7;color:#d97706;font-weight:800}.space-user-bottom-buttons{display:flex;flex:0 1 auto;flex-wrap:wrap;gap:9px;min-width:0}.space-user-bottom-buttons .space-user-button{white-space:nowrap;flex:0 1 auto}.space-user-step-panel[hidden]{display:none}.space-user-new-listing .anunciaweb-links-fieldset{font-size:inherit}.space-user-new-listing .anunciaweb-links-fieldset legend{font-size:15px}.space-user-new-listing .anunciaweb-links-help{font-size:11px}.space-user-new-listing .anunciaweb-link-row{grid-template-columns:1fr 1fr}.space-user-new-listing form>p{display:none}.space-user-new-listing .anunciaweb-notice{margin:0 0 12px}.space-user-new-listing .anunciaweb-media-uploader{background:#fbfcfe}.space-user-new-listing .anunciaweb-media-uploader-head{font-size:12px}.space-user-new-listing .anunciaweb-media-select{min-height:40px;background:#fff}.space-user-new-listing .space-user-fields [name="title"],.space-user-new-listing .space-user-fields [name="parent_category_id"],.space-user-new-listing .space-user-fields [name="category_id"],.space-user-new-listing .space-user-fields [name="price"],.space-user-new-listing .space-user-fields [name="ad_type_id"],.space-user-new-listing .space-user-fields [name="description"],.space-user-new-listing .space-user-fields [name="location"]{display:block}.space-user-new-listing .space-user-fields[data-active="info"] [name="description"],.space-user-new-listing .space-user-fields[data-active="info"] [name="location"],.space-user-new-listing .space-user-fields[data-active="media"] .space-user-links-box,.space-user-new-listing .space-user-fields[data-active="media"] .space-user-field,.space-user-new-listing .space-user-fields[data-active="location"] .space-user-field,.space-user-new-listing .space-user-fields[data-active="contact"] .space-user-field,.space-user-new-listing .space-user-fields[data-active="publish"] .space-user-field{display:none}.space-user-new-listing .space-user-fields[data-active="description"] .space-user-media-box,.space-user-new-listing .space-user-fields[data-active="description"] .space-user-links-box,.space-user-new-listing .space-user-fields[data-active="description"] .space-user-field:not(:has([name="description"])){display:none}.space-user-new-listing .space-user-fields[data-active="media"] .space-user-media-box{display:block}.space-user-new-listing .space-user-fields[data-active="location"] .space-user-field:has([name="location"]){display:block}.space-user-new-listing .space-user-fields[data-active="contact"] .space-user-links-box{display:block}.space-user-new-listing .space-user-fields[data-active="publish"] .space-user-fields{display:block}
@media(max-width:1100px){.space-user-grid-layout{grid-template-columns:minmax(0,1fr) 320px}.space-user-steps{grid-template-columns:repeat(3,minmax(0,1fr))}.space-user-brand{min-width:220px}.space-user-top-actions{gap:9px}.space-user-name{display:none}}
@media(max-width:800px){.space-user-shell{grid-template-columns:1fr}.space-user-sidebar{border-right:0;border-bottom:1px solid #e2e8f0}.space-user-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.space-user-grid-layout{grid-template-columns:1fr}.space-user-topbar{padding:0 14px;gap:12px}.space-user-brand{min-width:0}.space-user-search{display:none}.space-user-heading{flex-direction:column}.space-user-heading-actions{width:100%}.space-user-button{flex:1}.space-user-bottom-actions{flex-direction:column;align-items:stretch}.space-user-bottom-buttons{width:100%}.space-user-bottom-buttons .space-user-button{width:100%}}
@media(max-width:560px){.space-user-sidebar nav{grid-template-columns:1fr}.space-user-main{padding:14px 12px 0}.space-user-steps{grid-template-columns:1fr 1fr}.space-user-grid{grid-template-columns:1fr}.space-user-preview{grid-template-columns:1fr}.space-user-preview-image{height:170px}.space-user-bottom-buttons{display:grid;grid-template-columns:1fr}.space-user-heading h1{font-size:24px}.space-user-top-actions{display:none}.space-user-brand strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){.space-user-new-listing *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* =========================================================
   SPACE ANÚNCIO — PARTE 8 — VALIDAÇÃO E FLUXO
   ========================================================= */
.space-user-new-listing .space-field-error{display:flex;align-items:center;gap:6px;margin-top:6px;color:#dc2626;font-size:12px;line-height:1.4;animation:space-user-error-enter .18s ease-out}
.space-user-new-listing .space-field-error::before{content:"!";width:15px;height:15px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 15px;border-radius:50%;color:#fff;background:#dc2626;font-size:10px;font-weight:700}
.space-user-new-listing .space-user-field input[aria-invalid="true"],
.space-user-new-listing .space-user-field select[aria-invalid="true"],
.space-user-new-listing .space-user-field textarea[aria-invalid="true"]{border-color:#dc2626!important;background:#fffafa!important}
.space-user-new-listing .space-user-field input[aria-invalid="true"]:focus,
.space-user-new-listing .space-user-field select[aria-invalid="true"]:focus,
.space-user-new-listing .space-user-field textarea[aria-invalid="true"]:focus{border-color:#dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.10)!important}
.space-user-new-listing .space-user-field-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:6px;color:#94a3b8;font-size:11px;line-height:1.4}
.space-user-new-listing .space-user-title-counter{white-space:nowrap}
.space-user-new-listing .space-user-save-status{transition:opacity .2s ease,transform .2s ease}
.space-user-new-listing .space-user-save-status:not(.is-visible){opacity:.72}
.space-user-new-listing .space-user-save-status.is-visible{opacity:1;transform:translateY(0)}
.space-user-new-listing .space-user-save-status.is-visible>span{animation:space-user-status-pulse 1.8s ease-in-out infinite}
.space-user-new-listing .space-user-step{transition:color .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .15s ease}
.space-user-new-listing .space-user-step:hover{border-color:#93c5fd;background:#f8fbff;transform:translateY(-1px)}
.space-user-new-listing .space-user-step:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(37,99,235,.14)}
.space-user-new-listing .space-user-step.is-active{box-shadow:0 2px 6px rgba(22,119,245,.12)}
.space-user-new-listing .space-user-button:focus-visible,.space-user-new-listing .space-user-outline-button:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(37,99,235,.14)}
.space-user-new-listing .space-user-button:disabled{opacity:.55;cursor:not-allowed;pointer-events:none}
.space-user-new-listing .space-user-field input,.space-user-new-listing .space-user-field select,.space-user-new-listing .space-user-field textarea{transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}
@keyframes space-user-error-enter{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}
@keyframes space-user-status-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.04)}}
@media(prefers-reduced-motion:reduce){.space-user-new-listing .space-field-error,.space-user-new-listing .space-user-save-status.is-visible>span{animation:none}.space-user-new-listing *{scroll-behavior:auto!important;transition:none!important}}

/* =========================================================
   SPACE ANÚNCIO — PARTE 9/CONTINUAÇÃO
   PAINÉIS REAIS DAS 6 ETAPAS
   ========================================================= */

.space-user-new-listing .space-user-step-panel{width:100%;display:block;animation:space-user-panel-enter .18s ease-out}
.space-user-new-listing .space-user-step-panel[hidden]{display:none!important}
.space-user-new-listing .space-user-panel-fields{display:grid;gap:16px}
.space-user-new-listing .space-user-location-grid,.space-user-new-listing .space-user-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
.space-user-new-listing .space-user-location-grid .space-user-field,.space-user-new-listing .space-user-contact-grid .space-user-field{min-width:0}
.space-user-new-listing .space-user-media-upload{padding:0;border:2px dashed #cbd5e1;border-radius:12px;background:#f8fafc;overflow:hidden}
.space-user-new-listing .space-user-media-upload .anunciaweb-media-uploader{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:20px!important}
.space-user-new-listing .space-user-media-upload .anunciaweb-media-uploader-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}
.space-user-new-listing .space-user-media-upload .anunciaweb-media-select{border:1px solid #1677f5!important;border-radius:8px!important;background:#1677f5!important;color:#fff!important;font-weight:700!important}
.space-user-new-listing .space-user-media-upload .anunciaweb-media-preview{min-height:80px}
.space-user-new-listing .space-user-dynamic-fields{padding-top:4px}
.space-user-new-listing .space-user-dynamic-fields h3{margin:0 0 12px;color:#0f172a;font-size:14px}
.space-user-new-listing .space-user-links-box .anunciaweb-links-fieldset{margin:0!important}
.space-user-new-listing .space-user-option-group{display:flex;flex-wrap:wrap;gap:9px}
.space-user-new-listing .space-user-option{min-height:40px;padding:0 16px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#1e293b;font:600 13px inherit;cursor:pointer;transition:.18s}
.space-user-new-listing .space-user-option:hover{border-color:#93c5fd;background:#f8fbff}
.space-user-new-listing .space-user-option.is-active{border-color:#1677f5;background:#eff6ff;color:#126ff0;box-shadow:inset 0 0 0 1px rgba(22,119,245,.08)}
.space-user-new-listing .space-user-publication-notice{display:flex;gap:10px;align-items:flex-start;margin:0 0 18px;padding:13px 14px;border:1px solid #bfdbfe;border-radius:9px;background:#eff6ff;color:#475569;font-size:12px;line-height:1.5}
.space-user-new-listing .space-user-publication-notice>span{width:19px;height:19px;display:grid;place-items:center;flex:0 0 19px;border-radius:50%;background:#2563eb;color:#fff;font-size:11px;font-weight:800}
.space-user-new-listing .space-user-publication-notice p{margin:0}
.space-user-new-listing .space-review-box{overflow:hidden;margin-bottom:18px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}
.space-user-new-listing .space-review-item{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:52px;padding:0 15px;border-bottom:1px solid #e2e8f0}
.space-user-new-listing .space-review-item:last-child{border-bottom:0}
.space-user-new-listing .space-review-item span{color:#64748b;font-size:13px}
.space-user-new-listing .space-review-item strong{color:#1e293b;font-size:13px;text-align:right;max-width:70%;overflow-wrap:anywhere}
.space-user-new-listing .space-user-final-submit{width:100%;min-height:44px;margin-top:0;border:0!important;border-radius:8px!important;background:#1677f5!important;color:#fff!important;font:700 13px inherit!important;cursor:pointer;box-shadow:none!important}
.space-user-new-listing .space-user-final-submit:hover{background:#1d4ed8!important}
.space-user-new-listing .space-user-panel-heading{margin-bottom:20px}
.space-user-new-listing .space-user-panel-heading>b{font-size:16px}
.space-user-new-listing .space-user-field-footer{justify-content:space-between}
.space-user-new-listing .space-user-field-footer span:last-child{white-space:nowrap}
.space-user-new-listing [data-panel-fields="description"] .space-user-field{width:100%}
.space-user-new-listing [data-panel-fields="description"] textarea{min-height:220px}
.space-user-new-listing .space-user-step.is-complete:not(.is-active){border-color:#bfdbfe}
.space-user-new-listing .space-user-step.is-complete:not(.is-active) .space-user-step-icon{background:#eff6ff;color:#2563eb}
@keyframes space-user-panel-enter{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:800px){.space-user-new-listing .space-user-location-grid,.space-user-new-listing .space-user-contact-grid{grid-template-columns:1fr}}
@media(max-width:560px){.space-user-new-listing .space-user-option-group{display:grid;grid-template-columns:1fr}.space-user-new-listing .space-user-option{width:100%}.space-user-new-listing .space-review-item{align-items:flex-start;flex-direction:column;justify-content:center;gap:4px;padding:11px 14px}.space-user-new-listing .space-review-item strong{max-width:100%;text-align:left}}
@media(prefers-reduced-motion:reduce){.space-user-new-listing .space-user-step-panel{animation:none}}

/* =========================================================
   SPACE ANÚNCIO — PARTE 10 — DESCRIÇÃO
   ========================================================= */
.space-user-new-listing #space-description{display:block;width:100%;min-height:220px;resize:vertical;box-sizing:border-box}
.space-user-new-listing .space-user-description-counter{white-space:nowrap;transition:color .2s ease}
.space-user-new-listing #space-description[data-limit-warning="true"] ~ .space-user-field-footer .space-user-description-counter{color:#d97706;font-weight:700}
.space-user-new-listing #space-description[aria-invalid="true"]{border-color:#dc2626!important;background:#fffafa!important}
.space-user-new-listing #space-description[aria-invalid="true"]:focus{border-color:#dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.10)!important}
.space-user-new-listing [data-review="description"]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.45}
@media(prefers-reduced-motion:reduce){.space-user-new-listing .space-user-description-counter{transition:none}}

/* =========================================================
   SPACE ANÚNCIO — MÍDIA DO NOVO ANÚNCIO
   ========================================================= */
.space-user-new-listing .space-user-media-upload{position:relative;padding:0;border:2px dashed #cbd5e1;border-radius:12px;background:#f8fafc;overflow:hidden;transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease}
.space-user-new-listing .space-user-media-upload:hover{border-color:#93c5fd;background:#f8fbff}
.space-user-new-listing .space-user-media-upload.has-error{border-color:#fca5a5;background:#fffafa}
.space-user-new-listing .space-user-media-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid #e2e8f0;background:#fff}
.space-user-new-listing .space-user-media-toolbar>div:first-child{display:grid;gap:4px;min-width:0}
.space-user-new-listing .space-user-media-toolbar strong{font-size:14px;color:#0f172a}
.space-user-new-listing .space-user-media-toolbar span{font-size:11px;color:#64748b;line-height:1.45}
.space-user-new-listing .space-user-media-count{flex:0 0 auto;padding:6px 9px;border-radius:999px;background:#eff6ff;color:#126ff0;font-size:11px;font-weight:700}
.space-user-new-listing .space-user-media-upload .anunciaweb-media-uploader{margin:0!important;padding:18px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.space-user-new-listing .space-user-media-upload .anunciaweb-media-uploader-head{margin-bottom:10px}
.space-user-new-listing .space-user-media-upload .anunciaweb-media-select{min-height:42px!important;padding:0 16px!important;border-color:#1677f5!important;background:#1677f5!important;color:#fff!important;font-weight:700!important}
.space-user-new-listing .space-user-media-upload .anunciaweb-media-preview{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 0}
.space-user-new-listing .anunciaweb-media-preview-item{position:relative;overflow:hidden;aspect-ratio:1;border:1px solid #dbe3ed;border-radius:9px;background:#eef2f6}
.space-user-new-listing .anunciaweb-media-preview-item img{width:100%;height:100%;object-fit:cover}
.space-user-new-listing .space-user-media-type{position:absolute;left:6px;top:6px;padding:4px 6px;border-radius:5px;background:rgba(15,23,42,.72);color:#fff;font-size:9px;font-weight:700;text-transform:uppercase}
.space-user-new-listing .anunciaweb-media-remove{z-index:2;width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;position:absolute;right:6px;top:6px;border:0!important;border-radius:50%!important;background:rgba(15,23,42,.72)!important;color:#fff!important;font-size:18px!important;line-height:1!important}
.space-user-new-listing .anunciaweb-media-remove:hover{background:#dc2626!important}
.space-user-new-listing .space-user-media-status{min-height:0;padding:0 18px;color:#dc2626;font-size:12px;line-height:1.45}
.space-user-new-listing .space-user-media-status:not(:empty){padding-bottom:10px}
.space-user-new-listing .space-user-media-hint{padding:0 18px 16px;color:#94a3b8;font-size:11px;line-height:1.45}
@media(max-width:800px){.space-user-new-listing .space-user-media-upload .anunciaweb-media-preview{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.space-user-new-listing .space-user-media-toolbar{align-items:flex-start;flex-direction:column}.space-user-new-listing .space-user-media-upload .anunciaweb-media-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* =========================================================
   SPACE ANÚNCIO — PARTE 12 — LOCALIZAÇÃO
   ========================================================= */
.space-user-new-listing .space-cep-wrapper{position:relative}
.space-user-new-listing .space-cep-wrapper input{padding-right:100px!important}
.space-user-new-listing .space-cep-loading{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#64748b;font-size:11px;pointer-events:none}
.space-user-new-listing #space-cep.is-loading{background:#f8fafc;color:#64748b}
.space-user-new-listing #space-cep.is-success{border-color:#86efac!important;background:#f0fdf4!important}
.space-user-new-listing #space-cep.is-error{border-color:#fca5a5!important;background:#fffafa!important}
.space-user-new-listing .space-user-location-grid .space-user-field{min-width:0}
.space-user-new-listing .space-user-location-grid input,.space-user-new-listing .space-user-location-grid select{width:100%;max-width:100%}
@media(max-width:560px){.space-user-new-listing .space-cep-wrapper input{padding-right:12px!important}.space-user-new-listing .space-cep-loading{position:static;display:block;margin-top:6px;transform:none}}

/* =========================================================
   SPACE ANÚNCIO — PARTE 13 — CONTATO
   ========================================================= */
.space-user-new-listing .space-form-group{margin-bottom:20px}
.space-user-new-listing .space-form-label{display:block;margin-bottom:7px;font-size:13px;font-weight:600;color:var(--space-text-color)}
.space-user-new-listing .space-form-input{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--space-border-color);border-radius:10px;background:var(--space-card-bg);color:var(--space-text-color);box-sizing:border-box;outline:none;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}
.space-user-new-listing .space-form-input:focus{border-color:var(--space-blue);box-shadow:0 0 0 3px rgba(37,99,235,.10)}
.space-user-new-listing .space-field-help{margin-top:6px;font-size:12px;line-height:1.45;color:var(--space-muted-text)}
.space-user-new-listing .space-required{color:#dc2626}
.space-user-new-listing .space-contact-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:10px}
.space-user-new-listing .space-contact-methods .space-option{display:flex;align-items:center;gap:12px;min-height:76px;padding:14px 16px;text-align:left;border:1px solid var(--space-border-color);border-radius:10px;background:var(--space-card-bg);color:var(--space-text-color);cursor:pointer;transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease,transform .2s ease}
.space-user-new-listing .space-contact-methods .space-option:hover{border-color:var(--space-blue);transform:translateY(-1px)}
.space-user-new-listing .space-contact-methods .space-option:focus-visible{outline:none;border-color:var(--space-blue);box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.space-user-new-listing .space-contact-methods .space-option-icon{width:38px;height:38px;flex:0 0 38px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:var(--space-light-blue);color:var(--space-blue)}
.space-user-new-listing .space-contact-methods .space-option-content{display:flex;flex-direction:column;gap:3px;min-width:0}
.space-user-new-listing .space-contact-methods .space-option-content strong{font-size:14px;font-weight:600}
.space-user-new-listing .space-contact-methods .space-option-content small{font-size:12px;color:var(--space-muted-text);line-height:1.4}
.space-user-new-listing .space-contact-methods .space-option.is-active{border-color:var(--space-blue);background:rgba(37,99,235,.06);box-shadow:0 0 0 2px rgba(37,99,235,.08)}
.space-user-new-listing .space-contact-methods .space-option.is-active .space-option-icon{background:var(--space-blue);color:#fff}
.space-user-new-listing .space-contact-methods .space-option.space-option-error{border-color:#dc2626}
.space-user-new-listing .space-form-notice{display:flex;align-items:flex-start;gap:10px;margin-top:22px;padding:14px 16px;border:1px solid var(--space-border-color);border-radius:10px;background:var(--space-light-bg)}
.space-user-new-listing .space-form-notice-icon{flex:0 0 auto;display:flex;align-items:center;justify-content:center;color:var(--space-blue)}
.space-user-new-listing .space-form-notice p{margin:0;font-size:13px;line-height:1.5;color:var(--space-muted-text)}
.space-user-new-listing .space-review-preview{margin-top:20px;padding:16px;border-radius:10px;border:1px solid var(--space-border-color);background:var(--space-light-bg)}
.space-user-new-listing .space-review-preview-title{margin-bottom:6px;font-size:12px;font-weight:600;color:var(--space-muted-text);text-transform:uppercase;letter-spacing:.03em}
.space-user-new-listing .space-review-preview-value{font-size:14px;font-weight:500;color:var(--space-text-color)}
.space-user-new-listing .space-input-invalid{border-color:#dc2626!important;background:#fffafa!important;box-shadow:0 0 0 2px rgba(220,38,38,.06)!important}
.space-user-new-listing #space-contact-method-error{margin-top:8px;color:#dc2626;font-size:12px;line-height:1.4}
@media(max-width:900px){.space-user-new-listing .space-contact-methods{grid-template-columns:1fr}}
@media(max-width:600px){.space-user-new-listing .space-contact-methods .space-option{min-height:68px;padding:12px}.space-user-new-listing .space-form-notice{padding:12px}}

/* =========================================================
   SPACE ANÚNCIO — PARTE 14 — REVISÃO E PUBLICAÇÃO
   ========================================================= */
.space-user-new-listing .space-publication-status{display:flex;align-items:flex-start;gap:12px;padding:16px;margin-bottom:20px;border:1px solid var(--space-border-color);border-radius:10px;background:var(--space-light-bg)}
.space-user-new-listing .space-publication-status-icon{width:38px;height:38px;flex:0 0 38px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--space-light-blue);color:var(--space-blue)}
.space-user-new-listing .space-publication-status strong{display:block;margin-bottom:3px;font-size:14px}
.space-user-new-listing .space-publication-status p{margin:0;font-size:13px;line-height:1.5;color:var(--space-muted-text)}
.space-user-new-listing .space-review-card{margin-bottom:16px;border:1px solid var(--space-border-color);border-radius:12px;background:var(--space-card-bg);overflow:hidden}
.space-user-new-listing .space-review-card-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 18px;border-bottom:1px solid var(--space-border-color)}
.space-user-new-listing .space-review-card-step{display:block;margin-bottom:3px;font-size:10px;font-weight:700;color:var(--space-blue);letter-spacing:.06em}
.space-user-new-listing .space-review-card-header h3{margin:0;font-size:15px;font-weight:600;color:var(--space-text-color)}
.space-user-new-listing .space-review-edit{border:0;padding:6px 10px;border-radius:6px;background:transparent;color:var(--space-blue);font-size:12px;font-weight:600;cursor:pointer;transition:background-color .2s ease}
.space-user-new-listing .space-review-edit:hover,.space-user-new-listing .space-review-edit:focus-visible{background:var(--space-light-blue);outline:none}
.space-user-new-listing .space-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.space-user-new-listing .space-review-item{display:flex;flex-direction:column;gap:5px;min-width:0;padding:14px 18px;border-bottom:1px solid var(--space-border-color)}
.space-user-new-listing .space-review-item:nth-child(odd):last-child{border-bottom:0}
.space-user-new-listing .space-review-item span{font-size:11px;color:var(--space-muted-text)}
.space-user-new-listing .space-review-item strong{min-width:0;overflow-wrap:anywhere;font-size:13px;font-weight:600;color:var(--space-text-color)}
.space-user-new-listing .space-review-item-wide{grid-column:1/-1}
.space-user-new-listing .space-review-description{padding:18px;font-size:13px;line-height:1.65;color:var(--space-text-color);white-space:pre-wrap;overflow-wrap:anywhere}
.space-user-new-listing .space-review-media-summary{padding:16px 18px}
.space-user-new-listing .space-review-media-count{margin-bottom:12px;font-size:13px;font-weight:600;color:var(--space-text-color)}
.space-user-new-listing .space-review-media-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.space-user-new-listing .space-review-media-item{position:relative;aspect-ratio:1/1;overflow:hidden;border-radius:8px;border:1px solid var(--space-border-color);background:var(--space-light-bg)}
.space-user-new-listing .space-review-media-item img{width:100%;height:100%;display:block;object-fit:cover}
.space-user-new-listing .space-review-media-video{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:var(--space-muted-text);font-size:22px}
.space-user-new-listing .space-publication-confirmation{margin-top:22px;padding:16px;border:1px solid var(--space-border-color);border-radius:10px;background:var(--space-light-bg)}
.space-user-new-listing .space-publication-checkbox{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:13px;line-height:1.5;color:var(--space-text-color)}
.space-user-new-listing .space-publication-checkbox input{position:absolute;opacity:0;pointer-events:none}
.space-user-new-listing .space-publication-checkmark{position:relative;width:18px;height:18px;flex:0 0 18px;margin-top:1px;border:1px solid var(--space-border-color);border-radius:4px;background:var(--space-card-bg);transition:background-color .2s ease,border-color .2s ease}
.space-user-new-listing .space-publication-checkbox input:checked + .space-publication-checkmark{border-color:var(--space-blue);background:var(--space-blue)}
.space-user-new-listing .space-publication-checkbox input:checked + .space-publication-checkmark::after{content:"";position:absolute;left:5px;top:2px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.space-user-new-listing .space-publication-checkbox input:focus-visible + .space-publication-checkmark{box-shadow:0 0 0 3px rgba(37,99,235,.18)}
.space-user-new-listing .space-publication-notice{display:flex;align-items:flex-start;gap:10px;margin-top:16px;padding:14px 16px;border:1px solid var(--space-border-color);border-radius:10px;color:var(--space-muted-text)}
.space-user-new-listing .space-publication-notice svg{flex:0 0 auto;margin-top:1px;color:var(--space-blue)}
.space-user-new-listing .space-publication-notice p{margin:0;font-size:12px;line-height:1.5}
.space-user-new-listing .space-publication-confirmation.is-invalid{border-color:#dc2626;background:#fffafa}
.space-user-new-listing #space-publication-confirm-error{margin-top:10px}
@media(max-width:700px){.space-user-new-listing .space-review-grid{grid-template-columns:1fr}.space-user-new-listing .space-review-item{border-bottom:1px solid var(--space-border-color)!important}.space-user-new-listing .space-review-item:last-child{border-bottom:0!important}.space-user-new-listing .space-review-media-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:480px){.space-user-new-listing .space-review-card-header{align-items:flex-start}.space-user-new-listing .space-review-media-grid{grid-template-columns:repeat(2,1fr)}}


/* =========================================================
   SPACE ANÚNCIO — PARTE 15 — PUBLICAÇÃO REAL
   ========================================================= */
.space-user-new-listing .space-publish-status{display:flex;align-items:center;gap:14px;margin-top:20px;padding:16px;border:1px solid var(--space-border-color);border-radius:10px;background:var(--space-light-bg)}
.space-user-new-listing .space-publish-loading{width:36px;height:36px;flex:0 0 36px;display:flex;align-items:center;justify-content:center}
.space-user-new-listing .space-publish-spinner{width:22px;height:22px;display:block;border:3px solid var(--space-border-color);border-top-color:var(--space-blue);border-radius:50%;animation:space-publish-spin .8s linear infinite}
@keyframes space-publish-spin{to{transform:rotate(360deg)}}
.space-user-new-listing .space-publish-content strong{display:block;margin-bottom:4px;font-size:14px;color:var(--space-text-color)}
.space-user-new-listing .space-publish-content p,.space-user-new-listing .space-publish-result p,.space-user-new-listing .space-publish-error p{margin:0;font-size:12px;line-height:1.5;color:var(--space-muted-text)}
.space-user-new-listing .space-publish-result,.space-user-new-listing .space-publish-error{display:flex;align-items:flex-start;gap:14px;margin-top:20px;padding:18px;border-radius:10px}
.space-user-new-listing .space-publish-result{border:1px solid #16a34a;background:rgba(22,163,74,.06)}
.space-user-new-listing .space-publish-error{border:1px solid #dc2626;background:rgba(220,38,38,.06)}
.space-user-new-listing .space-publish-result-icon,.space-user-new-listing .space-publish-error-icon{width:40px;height:40px;flex:0 0 40px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#fff}
.space-user-new-listing .space-publish-result-icon{background:#16a34a}.space-user-new-listing .space-publish-error-icon{background:#dc2626}
.space-user-new-listing .space-publish-result strong,.space-user-new-listing .space-publish-error strong{display:block;margin-bottom:4px;font-size:14px;color:var(--space-text-color)}
.space-user-new-listing .space-publish-button{width:100%;min-height:46px;margin-top:20px;border:0;border-radius:8px;background:var(--space-blue);color:#fff;font:700 13px inherit;cursor:pointer;transition:opacity .2s,background .2s}
.space-user-new-listing .space-publish-button:hover{background:#1d4ed8}.space-user-new-listing .space-publish-button.is-publishing{opacity:.65;cursor:wait;pointer-events:none}
.space-user-new-listing .space-publish-button:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(37,99,235,.16)}
@media(max-width:600px){.space-user-new-listing .space-publish-status,.space-user-new-listing .space-publish-result,.space-user-new-listing .space-publish-error{padding:14px}}
@media(prefers-reduced-motion:reduce){.space-user-new-listing .space-publish-spinner{animation:none}}

/* =========================================================
   SPACE ANÚNCIO — PARTE 18 — UPLOAD REAL DE MÍDIA
   ========================================================= */
.space-user-new-listing .space-user-media-direct-upload{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px;padding:14px;border:1px dashed var(--space-border-color);border-radius:10px;background:var(--space-light-bg)}
.space-user-new-listing .space-user-media-upload-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 14px;border-radius:8px;background:var(--space-blue);color:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:opacity .2s ease,transform .2s ease}
.space-user-new-listing .space-user-media-upload-button:hover{opacity:.92;transform:translateY(-1px)}
.space-user-new-listing .space-user-media-direct-upload small{flex:1 1 260px;font-size:11px;line-height:1.5;color:var(--space-muted-text)}
.space-user-new-listing .space-user-media-status.has-error{color:#b91c1c;border-color:#fecaca;background:#fffafa;padding:9px 10px;border-radius:7px}
.space-user-new-listing .space-user-media-upload.is-uploading{opacity:.75;pointer-events:none}
@media(max-width:600px){.space-user-new-listing .space-user-media-direct-upload{align-items:stretch}.space-user-new-listing .space-user-media-upload-button{width:100%}}

/* =========================================================
   SPACE ANÚNCIO — PARTE 18 — CONTROLE DE MÍDIA RESTAURADA
   ========================================================= */
.space-user-new-listing .space-media-item{position:relative;overflow:hidden}
.space-user-new-listing .space-media-remove{position:absolute;top:6px;right:6px;width:24px;height:24px;border:0;border-radius:50%;background:rgba(0,0,0,.7);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;line-height:1;cursor:pointer;z-index:2}
.space-user-new-listing .space-media-remove:hover{background:#dc2626}

/* =========================================================
   SPACE ANÚNCIO — OPÇÕES COMERCIAIS
   ========================================================= */
.space-user-new-listing .space-options{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.space-user-new-listing .space-options .space-option{appearance:none;border:1px solid var(--space-border-color);background:var(--space-card-bg);color:var(--space-text-color);border-radius:9px;padding:10px 14px;min-height:42px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease,transform .2s ease}
.space-user-new-listing .space-options .space-option:hover{border-color:var(--space-blue);transform:translateY(-1px)}
.space-user-new-listing .space-options .space-option:focus-visible{outline:none;border-color:var(--space-blue);box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.space-user-new-listing .space-options .space-option.is-active{border-color:var(--space-blue);background:rgba(37,99,235,.07);color:var(--space-blue);box-shadow:0 0 0 2px rgba(37,99,235,.08)}
@media(max-width:600px){.space-user-new-listing .space-options .space-option{flex:1 1 calc(50% - 8px);min-width:120px}}

/* =========================================================
   SPACE ANÚNCIO — PARTE 24 — CATEGORIAS
   ========================================================= */
.space-user-new-listing .space-user-category-fields{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:16px;
    margin:0 0 4px;
}
.space-user-new-listing .space-user-category-fields .space-form-group{
    margin:0;
}
.space-user-new-listing .space-user-category-fields select:disabled{
    opacity:.65;
    cursor:not-allowed;
}
.space-user-new-listing .space-user-category-fields .space-required{
    color:#dc2626;
}
@media (max-width:700px){
    .space-user-new-listing .space-user-category-fields{
        grid-template-columns:1fr;
    }
}

/* Space Anúncio — ação de exclusão controlada */
.space-user-button.space-user-button-danger {
    border: 1px solid #dc2626;
    color: #b91c1c;
    background: #fff;
}
.space-user-button.space-user-button-danger:hover:not(:disabled) {
    background: #fef2f2;
    border-color: #b91c1c;
}
.space-user-button.space-user-button-danger:disabled,
.space-user-button.space-user-button-danger[hidden] {
    display: none;
}

/* Parte 32 — conflito de concorrência do rascunho */
.space-draft-conflict{
    display:flex;
    align-items:center;
    gap:14px;
    width:100%;
    box-sizing:border-box;
    padding:16px 18px;
    margin:0 0 20px;
    border:1px solid #f0b429;
    border-radius:12px;
    background:#fff8e1;
    color:#6b4f00;
}
.space-draft-conflict[hidden]{display:none!important}
.space-draft-conflict-icon{
    width:34px;height:34px;display:flex;align-items:center;justify-content:center;
    flex:0 0 34px;border-radius:50%;background:#f0b429;color:#fff;font-weight:700;
}
.space-draft-conflict-content{flex:1;min-width:0}
.space-draft-conflict-content strong{display:block;margin-bottom:4px}
.space-draft-conflict-content p{margin:0;font-size:13px;line-height:1.5}
.space-draft-conflict .space-user-button{white-space:nowrap}
@media(max-width:700px){
    .space-draft-conflict{align-items:flex-start;flex-direction:column}
    .space-draft-conflict .space-user-button{width:100%}
}

/* Parte 33 — sincronização entre abas e detecção de atualização externa */
.space-external-update{
    display:flex;
    align-items:center;
    gap:14px;
    width:100%;
    box-sizing:border-box;
    margin:0 0 20px;
    padding:16px 18px;
    border:1px solid #8ab4f8;
    border-radius:12px;
    background:#eef5ff;
    color:#17365d;
}
.space-external-update[hidden]{display:none!important}
.space-external-update-icon{
    width:36px;height:36px;flex:0 0 36px;
    display:flex;align-items:center;justify-content:center;
    border-radius:50%;background:#d8e8ff;font-size:18px;font-weight:700;
}
.space-external-update-content{flex:1;min-width:0}
.space-external-update-content strong{display:block;margin-bottom:4px}
.space-external-update-content p{margin:0;font-size:13px;line-height:1.5}
.space-external-update-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
@media(max-width:800px){
    .space-external-update{align-items:flex-start;flex-direction:column}
    .space-external-update-actions{width:100%}
    .space-external-update-actions .space-user-button{flex:1}
}
@media(max-width:480px){
    .space-external-update-actions{flex-direction:column}
    .space-external-update-actions .space-user-button{width:100%}
}


/* =========================================================
   SPACE ANÚNCIO — PARTE 34 — AUTOSAVE
   ========================================================= */
.space-autosave-status{
    display:inline-flex;
    align-items:center;
    gap:7px;
    min-height:28px;
    font-size:13px;
    line-height:1.4;
}
.space-autosave-status-icon{
    width:8px;
    height:8px;
    border-radius:50%;
    background:currentColor;
    flex:0 0 8px;
}
.space-autosave-status.is-saving{opacity:.8}
.space-autosave-status.is-saving .space-autosave-status-icon{animation:spaceAutoSavePulse 1s ease-in-out infinite}
.space-autosave-status.is-saved{opacity:1}
.space-autosave-status.is-error,.space-autosave-status.is-conflict{font-weight:600}
@keyframes spaceAutoSavePulse{0%,100%{opacity:.35}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){.space-autosave-status.is-saving .space-autosave-status-icon{animation:none}}
@media (max-width:700px){.space-autosave-status{width:100%}}


/* Parte 35 — recuperação segura após fechamento/queda de conexão */
.space-recovery-notice{display:flex;align-items:center;gap:14px;width:100%;box-sizing:border-box;margin:0 0 20px;padding:16px 18px;border:1px solid #7aa7d9;border-radius:12px;background:#f1f7ff;color:#17365d}
.space-recovery-notice[hidden]{display:none!important}
.space-recovery-icon{width:36px;height:36px;flex:0 0 36px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#dcecff;font-size:18px;font-weight:700}
.space-recovery-content{flex:1;min-width:0}.space-recovery-content strong{display:block;margin-bottom:4px}.space-recovery-content p{margin:0;font-size:13px;line-height:1.5}
.space-recovery-actions{display:flex;gap:8px;flex-shrink:0}
@media(max-width:800px){.space-recovery-notice{align-items:flex-start;flex-direction:column}.space-recovery-actions{width:100%}.space-recovery-actions .space-user-button{flex:1}}
@media(max-width:480px){.space-recovery-actions{flex-direction:column}.space-recovery-actions .space-user-button{width:100%}}

/* =========================================================
   PARTE 36 — ESTADO UNIFICADO DE SALVAMENTO
   ========================================================= */
.space-save-state{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:28px;
    font-size:13px;
    line-height:1.4;
    transition:opacity .2s ease,transform .2s ease;
}
.space-save-state-icon{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:currentColor}
.space-save-state-text{display:inline-block}
.space-save-state[data-state="idle"]{opacity:.8}
.space-save-state[data-state="dirty"],
.space-save-state[data-state="saving"],
.space-save-state[data-state="error"],
.space-save-state[data-state="conflict"],
.space-save-state[data-state="external_update"],
.space-save-state[data-state="recoverable"],
.space-save-state[data-state="offline"]{font-weight:600}
.space-save-state[data-state="saved"]{opacity:.9}
.space-save-state[data-state="saving"] .space-save-state-icon{animation:spaceSaveStatePulse 1s ease-in-out infinite}
@keyframes spaceSaveStatePulse{0%,100%{opacity:.35}50%{opacity:1}}
.space-user-save-status[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){.space-save-state[data-state="saving"] .space-save-state-icon{animation:none}}

.space-anuncio-recovery-panel{margin-top:24px}.space-anuncio-recovery-list{display:grid;gap:12px}.space-anuncio-recovery-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.space-anuncio-recovery-card>div{display:flex;align-items:center;gap:12px;min-width:0}.space-anuncio-recovery-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.space-anuncio-recovery-card button{flex:0 0 auto}

/* =====================================================
   SPACE ANÚNCIO — POLÍTICA VISUAL POR ESTADO
   ===================================================== */
.space-ad-status{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:600;line-height:1.2}
.space-ad-status.is-draft{background:#f3f4f6;color:#374151}
.space-ad-status.is-pending{background:#fff7ed;color:#9a3412}
.space-ad-status.is-published{background:#ecfdf5;color:#047857}
.space-ad-status.is-paused{background:#fefce8;color:#854d0e}
.space-ad-status.is-expired{background:#fef2f2;color:#b91c1c}
.space-ad-status.is-rejected{background:#fff1f2;color:#be123c}
.space-ad-status.is-deleted{background:#f3f4f6;color:#6b7280}
.space-ad-action[disabled],.space-button[disabled][data-space-action]{opacity:.55;cursor:not-allowed;pointer-events:none}

/* =========================================================
   PARTE 57 — COMPARADOR DE REVISÕES
   ========================================================= */
.space-revision-diff{margin-top:24px;border:1px solid var(--space-border);border-radius:16px;background:var(--space-card-bg);overflow:hidden}.space-revision-diff[hidden]{display:none!important}.space-revision-diff__header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;border-bottom:1px solid var(--space-border)}.space-revision-diff__eyebrow{display:block;margin-bottom:5px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--space-muted)}.space-revision-diff__header h3{margin:0;font-size:18px}.space-revision-diff__versions{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:10px;background:var(--space-soft-bg);font-size:13px}.space-revision-diff__summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:20px 24px}.space-diff-summary-card{padding:14px;border:1px solid var(--space-border);border-radius:12px}.space-diff-summary-card__label{display:block;margin-bottom:5px;font-size:12px;color:var(--space-muted)}.space-diff-summary-card__value{font-size:20px;font-weight:700}.space-revision-diff__fields{padding:0 24px 24px}.space-diff-field{border-top:1px solid var(--space-border);padding:18px 0}.space-diff-field__title{margin-bottom:12px;font-weight:700}.space-diff-values{display:grid;grid-template-columns:1fr 1fr;gap:12px}.space-diff-value{min-width:0;padding:14px;border-radius:10px;overflow-wrap:anywhere}.space-diff-value--old{background:rgba(220,38,38,.07)}.space-diff-value--new{background:rgba(22,163,74,.07)}.space-diff-value__label{display:block;margin-bottom:6px;font-size:11px;font-weight:700;text-transform:uppercase;color:var(--space-muted)}.space-revision-diff__media{padding:0 24px 24px}.space-diff-media-group{border-top:1px solid var(--space-border);padding-top:18px}.space-diff-media-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.space-diff-media-item{position:relative;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid var(--space-border);border-radius:12px;background:var(--space-soft-bg);font-size:12px}.space-diff-media-item span{padding:8px;text-align:center}.space-diff-media-item img{display:block;width:100%;height:100%;object-fit:cover}@media(max-width:800px){.space-revision-diff__header{flex-direction:column;align-items:flex-start}.space-revision-diff__summary{grid-template-columns:repeat(2,minmax(0,1fr))}.space-diff-values{grid-template-columns:1fr}.space-diff-media-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.space-revision-diff__summary{grid-template-columns:1fr}.space-diff-media-list{grid-template-columns:1fr}}

/* Space Anúncio — ciclo de moderação / notificações */
.space-notification-panel{position:fixed;top:72px;right:24px;z-index:99999;width:min(420px,calc(100vw - 32px));max-height:min(70vh,620px);overflow:auto;border:1px solid var(--space-border,#e5e7eb);border-radius:16px;background:var(--space-card-bg,#fff);box-shadow:0 18px 50px rgba(0,0,0,.16)}
.space-notification-panel[hidden]{display:none!important}
.space-notification-panel__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--space-border,#e5e7eb)}
.space-notification-panel__header strong,.space-notification-panel__header span{display:block}.space-notification-panel__header span{margin-top:3px;color:var(--space-muted,#6b7280);font-size:12px}
.space-notification-list{padding:8px}.space-notification-item{display:flex;width:100%;gap:10px;padding:13px 12px;border:0;border-bottom:1px solid var(--space-border,#e5e7eb);background:transparent;text-align:left;cursor:pointer}.space-notification-item:last-child{border-bottom:0}.space-notification-item:hover{background:var(--space-soft-bg,#f8fafc)}.space-notification-item.is-unread{background:rgba(37,99,235,.055)}
.space-notification-item__dot{flex:0 0 8px;width:8px;height:8px;margin-top:6px;border-radius:50%;background:transparent}.space-notification-item.is-unread .space-notification-item__dot{background:var(--space-blue,#2563eb)}
.space-notification-item__body{display:flex;min-width:0;flex-direction:column;gap:4px}.space-notification-item__body strong{font-size:13px}.space-notification-item__body span{color:var(--space-muted,#6b7280);font-size:12px;line-height:1.45}.space-notification-item__body small{color:var(--space-muted,#6b7280);font-size:11px}
.space-notification-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;font-size:10px;font-weight:700;line-height:1}.space-notification-badge[hidden]{display:none}
@media(max-width:700px){.space-notification-panel{top:60px;right:8px;width:calc(100vw - 16px)}}

/* Parte 85 — sincronização do painel do usuário com moderação. */
.space-user-moderation-sync{display:flex;align-items:center;gap:14px;padding:15px 17px;margin:0 0 20px;border:1px solid #f0c36d;border-radius:10px;background:#fff8e8}.space-user-moderation-sync[hidden]{display:none}.space-user-moderation-sync-icon{width:36px;height:36px;flex:0 0 36px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-weight:700}.space-user-moderation-sync-content{flex:1;min-width:0}.space-user-moderation-sync-content>strong{display:block}.space-user-moderation-sync-content p{margin:4px 0 7px}.space-user-moderation-sync-meta{font-size:13px}.space-user-moderation-sync-button{min-height:38px;padding:0 14px;border:0;border-radius:8px;cursor:pointer}@media(max-width:700px){.space-user-moderation-sync{align-items:flex-start;flex-wrap:wrap}.space-user-moderation-sync-button{width:100%}}

/* =========================================================
   AJUSTE EXCLUSIVO — REDUÇÃO DOS ESPAÇOS ENTRE BLOCOS
   Novo Anúncio — coluna principal e barra lateral direita
   ========================================================= */
.space-user-new-listing .space-user-grid-layout {
    gap: 10px !important;
}

.space-user-new-listing .space-user-right {
    gap: 10px !important;
}

.space-user-new-listing .space-user-steps {
    margin-bottom: 10px !important;
}


/* =========================================================
   NOVO ANÚNCIO — MÍDIAS DO ANÚNCIO
   Correção isolada do carrossel de pré-visualização.
   Não altera outros componentes de mídia.
   ========================================================= */
.space-user-new-listing .anunciaweb-media-uploader .anunciaweb-media-preview{
    display:flex;
    flex-wrap:nowrap;
    align-items:stretch;
    gap:10px;
    width:100%;
    max-width:100%;
    margin:12px 0 8px;
    padding:2px;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-behavior:smooth;
    overscroll-behavior-x:contain;
    scrollbar-width:thin;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
}
.space-user-new-listing .anunciaweb-media-uploader .anunciaweb-media-preview-item{
    position:relative;
    flex:0 0 140px;
    width:140px;
    min-width:140px;
    max-width:140px;
    height:140px;
    aspect-ratio:auto;
    scroll-snap-align:start;
}
.space-user-new-listing .anunciaweb-media-uploader .anunciaweb-media-carousel-nav{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:6px;
    width:100%;
    margin:8px 0 2px;
}
.space-user-new-listing .anunciaweb-media-uploader .anunciaweb-media-carousel-nav[hidden]{
    display:none;
}
.space-user-new-listing .anunciaweb-media-uploader .anunciaweb-media-carousel-indicator{
    min-width:28px;
    height:28px;
    padding:0 7px;
    border:1px solid #d1d5db;
    border-radius:999px;
    background:#fff;
    color:#475467;
    font-size:12px;
    font-weight:700;
    line-height:26px;
    text-align:center;
    cursor:pointer;
}
.space-user-new-listing .anunciaweb-media-uploader .anunciaweb-media-carousel-indicator:hover{
    border-color:#1677f5;
    color:#126ff0;
}
.space-user-new-listing .anunciaweb-media-uploader .anunciaweb-media-carousel-indicator.is-active{
    border-color:#1677f5;
    background:#1677f5;
    color:#fff;
}
@media(max-width:600px){
    .space-user-new-listing .anunciaweb-media-uploader .anunciaweb-media-preview-item{
        flex-basis:110px;
        width:110px;
        min-width:110px;
        max-width:110px;
        height:110px;
    }
}

/* =========================================================
   BLOCO DE CARDS DE MÍDIA
   Escopo exclusivo: .anunciaweb-media-block
   ========================================================= */

.anunciaweb-media-block {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.anunciaweb-media-cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    padding-bottom: 4px;
}

.anunciaweb-media-card {
    position: relative;
    width: 180px;
    height: 180px;
    flex: 0 0 180px;
    min-width: 180px;
    max-width: 180px;
    overflow: hidden;
    border: 1px solid #d9dee7;
    border-radius: 10px;
    background: #ffffff;
    box-sizing: border-box;
    white-space: normal;
}

.anunciaweb-media-card__preview {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f4f6f8;
}

.anunciaweb-media-card__preview img,
.anunciaweb-media-card__preview video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.anunciaweb-media-card__number {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 5;
    min-width: 28px;
    height: 28px;
    padding: 0 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.anunciaweb-media-card__type {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    padding: 5px 8px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.anunciaweb-media-card[data-media-id] {
    /* O identificador permanece associado ao card */
}

@media (max-width: 767px) {
    .anunciaweb-media-cards {
        gap: 12px;
    }

    .anunciaweb-media-card {
        width: 160px;
        min-width: 160px;
        max-width: 160px;
        flex: 0 0 160px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .anunciaweb-media-cards {
        gap: 12px;
    }

    .anunciaweb-media-card {
        width: 160px;
        min-width: 160px;
        max-width: 160px;
        flex: 0 0 160px;
        height: 160px;
    }
}
