* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f4f4;
    color: #111;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

.header {
    background: #080808;
    color: #fff;
    padding: 18px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 26px;
    font-weight: 900;
}

.logo span {
    color: #e30613;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav a {
    font-weight: 700;
    color: #ddd;
}

nav a:hover {
    color: #e30613;
}

.btn {
    background: #e30613;
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 900;
    display: inline-block;
}

.btn:hover {
    background: #ff1724;
}

.btn.light {
    background: #fff;
    color: #111 !important;
}

.btn.big {
    padding: 16px 26px;
    font-size: 16px;
}

.hero {
    background:
        linear-gradient(110deg, rgba(0,0,0,.92), rgba(0,0,0,.72), rgba(227,6,19,.42)),
        url("https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&w=1800&q=80");
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 130px 0;
}

.badge {
    display: inline-block;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.18);
    padding: 10px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
    font-weight: 800;
}

.hero h1 {
    max-width: 800px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: .95;
    letter-spacing: -3px;
    margin-bottom: 24px;
}

.hero p {
    max-width: 650px;
    font-size: 20px;
    line-height: 1.6;
    color: #eee;
    margin-bottom: 32px;
}

.actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.categories {
    padding: 80px 0;
}

.categories h2 {
    font-size: 42px;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.card {
    background: #fff;
    padding: 28px;
    border-radius: 24px;
    font-size: 20px;
    font-weight: 900;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.footer {
    background: #080808;
    color: #fff;
    padding: 36px 0;
}

.footer p {
    color: #aaa;
    margin-top: 6px;
}

@media (max-width: 800px) {
    .nav {
        display: block;
    }

    nav {
        margin-top: 18px;
        flex-wrap: wrap;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        padding: 90px 0;
    }
}

@media (max-width: 520px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .actions .btn {
        width: 100%;
        text-align: center;
    }
}
.auth-section {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background:
        linear-gradient(135deg, rgba(0,0,0,.88), rgba(227,6,19,.55)),
        url("https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&w=1800&q=80");
    background-size: cover;
    background-position: center;
}

.auth-box {
    width: min(460px, 100%);
    background: #fff;
    padding: 36px;
    border-radius: 28px;
    box-shadow: 0 25px 70px rgba(0,0,0,.28);
}

.auth-box h1 {
    font-size: 34px;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.auth-box p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 24px;
}

.auth-box form {
    display: grid;
    gap: 12px;
}

.auth-box label {
    font-weight: 800;
    font-size: 14px;
    margin-top: 4px;
}

.auth-box input {
    width: 100%;
    padding: 15px 14px;
    border-radius: 14px;
    border: 1px solid #ddd;
    font-size: 15px;
    outline: none;
    background: #fafafa;
}

.auth-box input:focus {
    border-color: #e30613;
    background: #fff;
}

.btn.full {
    width: 100%;
    border: none;
    cursor: pointer;
    text-align: center;
    margin-top: 8px;
}

.alert {
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 800;
    margin-bottom: 18px;
}

.alert.error {
    background: #ffe7e7;
    color: #a30000;
}

.alert.success {
    background: #e7ffe9;
    color: #087b24;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0 !important;
}

.auth-link a {
    color: #e30613;
    font-weight: 900;
}
.dashboard-section {
    min-height: calc(100vh - 80px);
    padding: 70px 0;
    background: #f4f4f4;
}

.dashboard-hero {
    background:
        linear-gradient(135deg, rgba(0,0,0,.94), rgba(227,6,19,.62)),
        url("https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    color: #fff;
    border-radius: 34px;
    padding: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 18px 60px rgba(0,0,0,.18);
}

.dashboard-badge {
    display: inline-block;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.18);
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 900;
    margin-bottom: 18px;
}

.dashboard-hero h1 {
    font-size: clamp(36px, 5vw, 58px);
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 12px;
}

.dashboard-hero p {
    color: #eee;
    font-size: 18px;
    line-height: 1.5;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 28px 0;
}

.dashboard-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.dashboard-card span {
    color: #666;
    font-weight: 800;
}

.dashboard-card strong {
    display: block;
    font-size: 42px;
    margin-top: 8px;
    color: #e30613;
}

.dashboard-panel {
    background: #fff;
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.dashboard-panel h2 {
    font-size: 32px;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.dashboard-panel p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 22px;
}

@media (max-width: 760px) {
    .dashboard-hero {
        display: block;
        padding: 32px;
    }

    .dashboard-hero .btn {
        margin-top: 22px;
        width: 100%;
        text-align: center;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}
.form-section {
    padding: 70px 0;
    background: #f4f4f4;
    min-height: calc(100vh - 80px);
}

.form-heading {
    margin-bottom: 28px;
}

.form-heading span {
    display: inline-block;
    background: #080808;
    color: #fff;
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 900;
    margin-bottom: 16px;
}

.form-heading h1 {
    font-size: clamp(38px, 5vw, 60px);
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 12px;
}

.form-heading p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    max-width: 720px;
}

.form-card {
    background: #fff;
    border-radius: 30px;
    padding: 34px;
    box-shadow: 0 18px 60px rgba(0,0,0,.09);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.field {
    display: grid;
    gap: 8px;
}

.field.full-width {
    grid-column: 1 / -1;
}

.field label {
    font-weight: 900;
    font-size: 14px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 15px 14px;
    font-size: 15px;
    background: #fafafa;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: #e30613;
    background: #fff;
}

.field textarea {
    resize: vertical;
}

.notice-box {
    background: #fff4f4;
    border: 1px solid #ffd1d1;
    color: #8f0000;
    padding: 16px 18px;
    border-radius: 18px;
    margin: 22px 0;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .form-card {
        padding: 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}
.panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.panel-head p {
    margin-bottom: 0;
}

.empty-box {
    background: #f8f8f8;
    border: 1px dashed #ccc;
    border-radius: 22px;
    padding: 30px;
    text-align: center;
}

.empty-box h3 {
    font-size: 26px;
    margin-bottom: 8px;
}

.empty-box p {
    margin-bottom: 20px;
}

.user-listings {
    display: grid;
    gap: 14px;
}

.user-listing-card {
    display: grid;
    grid-template-columns: 150px 1fr 150px;
    gap: 20px;
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 24px;
    padding: 18px;
    transition: all .2s ease;
    align-items: center;
}

.user-listing-card:hover {
    background: #fff;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    transform: translateY(-2px);
}

.listing-category {
    display: inline-block;
    background: #080808;
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 10px;
}

.user-listing-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.listing-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.listing-meta span {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 7px 10px;
    border-radius: 999px;
    color: #666;
    font-weight: 700;
    font-size: 13px;
}

.listing-side {
    min-width: 140px;
    text-align: right;
    display: grid;
    align-content: center;
    justify-items: end;
    gap: 10px;
}

.listing-price {
    color: #e30613;
    font-size: 24px;
    font-weight: 950;
}

.status-badge {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.status-badge.pending {
    background: #fff4d8;
    color: #9a6500;
}

.status-badge.approved {
    background: #e5ffe9;
    color: #067b22;
}

.status-badge.rejected {
    background: #ffe5e5;
    color: #a30000;
}

@media (max-width: 760px) {
    .panel-head {
        display: block;
    }

    .panel-head .btn {
        margin-top: 18px;
        width: 100%;
        text-align: center;
    }
}
.admin-section {
    min-height: calc(100vh - 80px);
    padding: 70px 0;
    background: #f4f4f4;
}

.admin-hero {
    background: #080808;
    color: #fff;
    border-radius: 34px;
    padding: 42px;
    margin-bottom: 28px;
    box-shadow: 0 18px 60px rgba(0,0,0,.14);
}

.admin-hero span {
    display: inline-block;
    background: #e30613;
    padding: 8px 13px;
    border-radius: 999px;
    font-weight: 900;
    margin-bottom: 16px;
}

.admin-hero h1 {
    font-size: clamp(38px, 5vw, 60px);
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 12px;
}

.admin-hero p {
    color: #ccc;
    font-size: 18px;
    line-height: 1.5;
}

.admin-listings {
    display: grid;
    gap: 18px;
}

.admin-card {
    background: #fff;
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 24px;
}

.admin-topline {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.admin-card h2 {
    font-size: 28px;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.admin-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.admin-meta span {
    background: #f5f5f5;
    border: 1px solid #eee;
    padding: 8px 11px;
    border-radius: 999px;
    color: #555;
    font-weight: 700;
    font-size: 13px;
}

.admin-meta strong {
    color: #111;
}

.admin-description {
    color: #444;
    line-height: 1.6;
    margin-bottom: 18px;
}

.admin-user-box {
    background: #fff4f4;
    border: 1px solid #ffd3d3;
    border-radius: 18px;
    padding: 14px 16px;
    color: #7a0000;
    line-height: 1.5;
}

.admin-actions {
    display: grid;
    gap: 10px;
    align-content: start;
}

.admin-btn {
    width: 100%;
    border: none;
    padding: 13px 14px;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    transition: .2s ease;
}

.admin-btn:hover {
    transform: translateY(-1px);
}

.admin-btn.approve {
    background: #0b8f2a;
}

.admin-btn.reject {
    background: #d38a00;
}

.admin-btn.delete {
    background: #c40000;
}

@media (max-width: 800px) {
    .admin-card {
        grid-template-columns: 1fr;
    }

    .admin-actions {
        grid-template-columns: 1fr;
    }
}
.listings-hero {
    background:
        linear-gradient(135deg, rgba(0,0,0,.94), rgba(227,6,19,.56)),
        url("https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 0;
}

.listings-hero span {
    display: inline-block;
    background: #e30613;
    padding: 8px 13px;
    border-radius: 999px;
    font-weight: 900;
    margin-bottom: 16px;
}

.listings-hero h1 {
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 12px;
}

.listings-hero p {
    color: #eee;
    font-size: 19px;
    line-height: 1.5;
    max-width: 680px;
}

.listings-section {
    padding: 40px 0 80px;
}

.search-panel {
    background: #fff;
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 18px 60px rgba(0,0,0,.10);
    margin-top: -70px;
    position: relative;
    z-index: 2;
    margin-bottom: 36px;
}

.search-fields {
    display: grid;
    grid-template-columns: 1.5fr 1.1fr 1fr .9fr .9fr auto;
    gap: 12px;
    align-items: center;
}

.search-fields .btn {
    height: 52px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-fields input,
.search-fields select {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 15px 14px;
    font-size: 15px;
    background: #fafafa;
    outline: none;
}

.search-fields input:focus,
.search-fields select:focus {
    border-color: #e30613;
    background: #fff;
}

.search-fields button {
    border: none;
    cursor: pointer;
}

.results-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 26px;
}

.results-head h2 {
    font-size: 38px;
    letter-spacing: -1px;
    margin-bottom: 6px;
}

.results-head p {
    color: #666;
    font-weight: 700;
}

.public-listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.public-listing-card {
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    transition: all .25s ease;
}

.public-listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 55px rgba(0,0,0,.14);
}

.public-image-placeholder {
    height: 220px;
    background: linear-gradient(135deg, #111, #e30613);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    overflow: hidden;
}

.public-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.public-listing-body {
    padding: 22px;
}

.public-topline {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.featured-badge {
    display: inline-block;
    background: #e30613;
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.public-listing-body h3 {
    font-size: 22px;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.public-price {
    color: #e30613;
    font-size: 28px;
    font-weight: 950;
    margin-bottom: 14px;
}

.public-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.public-meta span {
    background: #f5f5f5;
    border: 1px solid #eee;
    padding: 7px 10px;
    border-radius: 999px;
    color: #555;
    font-weight: 700;
    font-size: 13px;
}

.public-listing-body p {
    color: #666;
    line-height: 1.5;
}

@media (max-width: 980px) {
    .search-fields {
        grid-template-columns: repeat(2, 1fr);
    }

    .public-listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .search-fields {
        grid-template-columns: 1fr;
    }

    .results-head {
        display: block;
    }

    .results-head .btn {
        margin-top: 18px;
        width: 100%;
        text-align: center;
    }

    .public-listings-grid {
        grid-template-columns: 1fr;
    }
}
.single-section {
    padding: 46px 0 80px;
    background: #f4f4f4;
    min-height: calc(100vh - 80px);
}

.back-link {
    display: inline-block;
    color: #e30613;
    font-weight: 900;
    margin-bottom: 24px;
}

.single-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}

.single-main {
    display: grid;
    gap: 24px;
}

.single-image-placeholder {
    height: 430px;
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(0,0,0,.88), rgba(227,6,19,.72)),
        url("https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 110px;
    box-shadow: 0 18px 60px rgba(0,0,0,.18);
}

.single-card,
.seller-card,
.safety-card,
.info-card {
    background: #fff;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.single-card h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -2px;
    margin: 18px 0 14px;
}

.single-price {
    color: #e30613;
    font-size: 42px;
    font-weight: 950;
    margin-bottom: 12px;
}

.single-location {
    color: #555;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 26px;
}

.single-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 34px;
}

.single-specs div {
    background: #f7f7f7;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 16px;
}

.single-specs span {
    display: block;
    color: #777;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 7px;
}

.single-specs strong {
    font-size: 18px;
}

.single-description {
    border-top: 1px solid #eee;
    padding-top: 26px;
}

.single-description h2 {
    font-size: 30px;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.single-description p {
    color: #444;
    line-height: 1.7;
    font-size: 17px;
}

.single-sidebar {
    position: sticky;
    top: 105px;
    display: grid;
    gap: 18px;
}

.seller-card {
    text-align: center;
}

.seller-card h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.seller-avatar {
    width: 78px;
    height: 78px;
    background: #080808;
    color: #fff;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 950;
}

.seller-card h3 {
    font-size: 24px;
    margin-bottom: 6px;
}

.seller-card p {
    color: #666;
    margin-bottom: 20px;
}

.whatsapp-btn {
    display: block;
    background: #25d366;
    color: #fff !important;
    padding: 15px 20px;
    border-radius: 999px;
    font-weight: 950;
    transition: .2s ease;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
    transform: translateY(-1px);
}

.safety-card h3,
.info-card h3 {
    font-size: 24px;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.safety-card ul {
    padding-left: 20px;
    color: #555;
    line-height: 1.8;
    font-weight: 700;
}

.info-card {
    display: grid;
    gap: 12px;
}

.info-card div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.info-card div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-card span {
    color: #666;
    font-weight: 800;
}

.info-card strong {
    color: #111;
}

@media (max-width: 980px) {
    .single-layout {
        grid-template-columns: 1fr;
    }

    .single-sidebar {
        position: static;
    }

    .single-specs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .single-image-placeholder {
        height: 300px;
        font-size: 80px;
    }

    .single-specs {
        grid-template-columns: 1fr;
    }

    .single-card,
    .seller-card,
    .safety-card,
    .info-card {
        padding: 24px;
    }
}
.field input[type="file"] {
    background: #fff;
    border: 2px dashed #ddd;
    cursor: pointer;
}

.field-help {
    color: #777;
    font-size: 13px;
    font-weight: 700;
}
.single-gallery {
    display: grid;
    gap: 14px;
}

.single-main-image {
    height: 430px;
    border-radius: 32px;
    overflow: hidden;
    background: #f2f2f2;
    box-shadow: 0 18px 60px rgba(0,0,0,.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    background: #f2f2f2;
}

.single-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.thumb-btn {
    width: 92px;
    height: 72px;
    border: 3px solid transparent;
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    background: #fff;
    flex: 0 0 auto;
    transition: .2s ease;
}

.thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-btn:hover,
.thumb-btn.active {
    border-color: #e30613;
    transform: translateY(-2px);
}

@media (max-width: 560px) {
    .single-main-image {
        height: 300px;
        border-radius: 24px;
    }

    .thumb-btn {
        width: 78px;
        height: 62px;
        border-radius: 14px;
    }
}
.listing-actions {
    display: grid;
    gap: 7px;
    width: 100%;
    margin-top: 6px;
}

.small-action {
    display: block;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
    cursor: pointer;
    transition: .2s ease;
    font-family: Arial, Helvetica, sans-serif;
}

.small-action:hover {
    transform: translateY(-1px);
}

.small-action.view {
    background: #080808;
    color: #fff;
}

.small-action.edit {
    background: #e30613;
    color: #fff;
}

.small-action.delete {
    background: #ffe5e5;
    color: #a30000;
}

.listing-actions form {
    margin: 0;
}
.current-images-box {
    margin-top: 24px;
}

.current-images-box h2 {
    font-size: 30px;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.edit-images-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.edit-image-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
    border: 1px solid #eee;
}

.edit-image-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.edit-image-card form {
    padding: 10px;
}

.edit-image-card button {
    width: 100%;
    border: none;
    background: #ffe5e5;
    color: #a30000;
    padding: 9px 10px;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    transition: .2s ease;
}

.edit-image-card button:hover {
    background: #ffd0d0;
    transform: translateY(-1px);
}

.image-note {
    color: #666;
    margin-top: 16px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .edit-images-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 560px) {
    .edit-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.report-mini-card {
    background: #fff;
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.report-mini-card h3 {
    font-size: 24px;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.report-mini-card p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
}

.report-mini-card a {
    display: block;
    text-align: center;
    background: #ffe5e5;
    color: #a30000;
    padding: 13px 18px;
    border-radius: 999px;
    font-weight: 950;
    transition: .2s ease;
}

.report-mini-card a:hover {
    background: #ffd0d0;
    transform: translateY(-1px);
}

.report-card {
    max-width: 720px;
}
.reports-list {
    display: grid;
    gap: 18px;
}

.report-admin-card {
    background: #fff;
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.report-admin-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.report-reason {
    display: inline-block;
    background: #ffe5e5;
    color: #a30000;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 950;
    font-size: 13px;
}

.report-date {
    color: #666;
    font-weight: 800;
}

.report-admin-card h2 {
    font-size: 28px;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.report-message {
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 16px;
    color: #444;
    line-height: 1.6;
    margin: 18px 0;
}

.report-message.muted {
    color: #777;
    font-style: italic;
}

.report-admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.report-admin-actions .admin-btn {
    width: auto;
    display: inline-block;
    text-align: center;
    padding: 12px 18px;
}
.admin-btn.feature {
    background: #111;
}

.admin-btn.unfeature {
    background: #555;
}
.report-admin-actions form {
    margin: 0;
}

.report-admin-actions .admin-btn.delete {
    background: #c40000;
    color: #fff;
}
.home-listings-section {
    padding: 10px 0 90px;
}

.home-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 30px;
}

.home-section-head span {
    display: inline-block;
    background: #080808;
    color: #fff;
    padding: 8px 13px;
    border-radius: 999px;
    font-weight: 900;
    margin-bottom: 14px;
}

.home-section-head h2 {
    font-size: clamp(34px, 5vw, 54px);
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 10px;
}

.home-section-head p {
    color: #666;
    font-size: 17px;
    line-height: 1.5;
}

.home-listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.home-listing-card {
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    transition: .25s ease;
}

.home-listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 55px rgba(0,0,0,.14);
}

.home-listing-image {
    height: 220px;
    background: linear-gradient(135deg, #111, #e30613);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    overflow: hidden;
}

.home-listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-listing-body {
    padding: 22px;
}

.home-listing-top {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.home-listing-body h3 {
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.home-listing-price {
    color: #e30613;
    font-size: 28px;
    font-weight: 950;
    margin-bottom: 14px;
}

.home-listing-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.home-listing-meta span {
    background: #f5f5f5;
    border: 1px solid #eee;
    padding: 7px 10px;
    border-radius: 999px;
    color: #555;
    font-weight: 700;
    font-size: 13px;
}

@media (max-width: 980px) {
    .home-listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .home-section-head {
        display: block;
    }

    .home-section-head .btn {
        margin-top: 18px;
        width: 100%;
        text-align: center;
    }

    .home-listings-grid {
        grid-template-columns: 1fr;
    }
}
.dashboard-listing-image {
    width: 150px;
    height: 115px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #111, #e30613);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
    flex-shrink: 0;
}

.dashboard-listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dashboard-listing-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.dashboard-listing-top {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.dashboard-listing-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.dashboard-listing-extra span {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 7px 10px;
    border-radius: 999px;
    color: #777;
    font-weight: 800;
    font-size: 13px;
}

@media (max-width: 900px) {
    .user-listing-card {
        grid-template-columns: 120px 1fr;
    }

    .dashboard-listing-image {
        width: 120px;
        height: 100px;
    }

    .listing-side {
        grid-column: 1 / -1;
        width: 100%;
        text-align: left;
        justify-items: start;
        margin-top: 0;
    }
}

@media (max-width: 620px) {
    .user-listing-card {
        grid-template-columns: 1fr;
    }

    .dashboard-listing-image {
        width: 100%;
        height: 210px;
    }
}
.card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 120px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,.13);
    color: #e30613;
}
/* FOOTER MOTOAFFARI */

.main-footer {
    background: #080808;
    color: #fff;
    margin-top: 80px;
    padding: 60px 0 28px;
    font-family: Arial, Helvetica, sans-serif;
}

.main-footer a {
    text-decoration: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 38px;
    padding-bottom: 38px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-brand {
    display: block;
}

.footer-logo {
    display: inline-block;
    font-size: 28px;
    font-weight: 950;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 18px;
}

.footer-logo span {
    color: #e30613;
}

.footer-brand p {
    color: #bdbdbd;
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 420px;
}

.footer-brand strong {
    display: block;
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 18px;
    color: #fff;
    font-weight: 900;
}

.footer-column a {
    display: block;
    color: #bdbdbd;
    margin-bottom: 12px;
    font-weight: 700;
    transition: .2s ease;
}

.footer-column a:hover {
    color: #e30613;
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    color: #999;
    font-size: 14px;
    line-height: 1.5;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom p:last-child {
    text-align: right;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom p:last-child {
        text-align: left;
        margin-top: 10px;
    }
}

@media (max-width: 560px) {
    .main-footer {
        padding: 46px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-logo {
        font-size: 24px;
    }
}
/* PAGINE INFORMATIVE */

.page-hero {
    background:
        linear-gradient(135deg, rgba(0,0,0,.94), rgba(227,6,19,.56)),
        url("https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 90px 0;
}

.page-hero span {
    display: inline-block;
    background: #e30613;
    padding: 8px 13px;
    border-radius: 999px;
    font-weight: 900;
    margin-bottom: 16px;
}

.page-hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.page-hero p {
    color: #eee;
    font-size: 19px;
    line-height: 1.6;
    max-width: 760px;
}

.info-page {
    padding: 70px 0 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}

.info-card-large,
.side-box,
.warning-section,
.legal-note-box {
    background: #fff;
    border-radius: 30px;
    padding: 34px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.info-card-large h2,
.warning-section h2,
.legal-note-box h2 {
    font-size: 34px;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.safety-list-page {
    display: grid;
    gap: 18px;
}

.safety-list-page div {
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 22px;
    padding: 22px;
}

.safety-list-page strong {
    display: block;
    font-size: 20px;
    margin-bottom: 8px;
}

.safety-list-page p {
    color: #555;
    line-height: 1.6;
}

.info-side {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 105px;
}

.side-box h3 {
    font-size: 25px;
    margin-bottom: 12px;
}

.side-box p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 18px;
}

.side-box.red {
    background: linear-gradient(135deg, #e30613, #820008);
    color: #fff;
}

.side-box.red p {
    color: #ffe5e5;
    margin-bottom: 0;
}

.warning-section {
    margin-top: 28px;
}

.warning-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.warning-grid div {
    background: #fff4f4;
    color: #8f0000;
    border: 1px solid #ffd1d1;
    border-radius: 18px;
    padding: 18px;
    font-weight: 900;
    line-height: 1.4;
}

.legal-note-box {
    margin-top: 28px;
}

.legal-note-box p {
    color: #555;
    line-height: 1.7;
    font-size: 17px;
}

@media (max-width: 900px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-side {
        position: static;
    }

    .warning-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .info-card-large,
    .side-box,
    .warning-section,
    .legal-note-box {
        padding: 24px;
        border-radius: 24px;
    }

    .warning-grid {
        grid-template-columns: 1fr;
    }
}
/* PAGINA TERMINI */

.legal-content {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    gap: 22px;
}

.legal-block {
    background: #fff;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.legal-block h2 {
    font-size: 30px;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.legal-block p {
    color: #555;
    line-height: 1.7;
    font-size: 17px;
    margin-bottom: 12px;
}

.legal-block p:last-child {
    margin-bottom: 0;
}

.legal-list {
    padding-left: 22px;
    color: #555;
    line-height: 1.8;
    font-size: 17px;
    font-weight: 700;
}

.warning-legal {
    background: #fff4f4;
    border: 1px solid #ffd1d1;
}

.warning-legal h2 {
    color: #a30000;
}

.warning-legal p {
    color: #7a0000;
}

@media (max-width: 560px) {
    .legal-block {
        padding: 24px;
        border-radius: 24px;
    }

    .legal-block h2 {
        font-size: 26px;
    }
}
/* PAGINA CONTATTI */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}

.contact-form-box h2 {
    font-size: 34px;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.contact-form-box > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.contact-form-box form {
    display: grid;
    gap: 16px;
}

.contact-side {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 105px;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-side {
        position: static;
    }
}
/* PROFILO VENDITORE */

.seller-profile-hero {
    background:
        linear-gradient(135deg, rgba(0,0,0,.94), rgba(227,6,19,.56)),
        url("https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 0;
}

.seller-profile-box {
    display: flex;
    align-items: center;
    gap: 28px;
}

.seller-profile-avatar {
    width: 120px;
    height: 120px;
    background: #fff;
    color: #080808;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 58px;
    font-weight: 950;
    box-shadow: 0 18px 60px rgba(0,0,0,.25);
    flex-shrink: 0;
}

.seller-profile-info span {
    display: inline-block;
    background: #e30613;
    padding: 8px 13px;
    border-radius: 999px;
    font-weight: 900;
    margin-bottom: 14px;
}

.seller-profile-info h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.seller-profile-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.seller-profile-meta div {
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    padding: 14px 18px;
}

.seller-profile-meta strong {
    display: block;
    font-size: 24px;
}

.seller-profile-meta small {
    color: #ddd;
    font-weight: 800;
}

.seller-listings-section {
    padding: 60px 0 20px;
}

@media (max-width: 640px) {
    .seller-profile-box {
        display: block;
        text-align: center;
    }

    .seller-profile-avatar {
        margin: 0 auto 22px;
    }

    .seller-profile-meta {
        justify-content: center;
    }
}
.seller-profile-link {
    color: #111;
    transition: .2s ease;
}

.seller-profile-link:hover {
    color: #e30613;
}
.photo-filter {
    height: 52px;
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    cursor: pointer;
    font-weight: 900;
    color: #333;
}

.photo-filter input {
    width: 16px;
    height: 16px;
    accent-color: #e30613;
}

.photo-filter span {
    font-size: 14px;
}
/* SIDEBAR FILTRI ANNUNCI */

.annunci-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 26px;
    align-items: start;
}

.filters-sidebar {
    position: sticky;
    top: 105px;
}

.filters-sidebar h3 {
    font-size: 26px;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.filters-box {
    background: #fff;
    border-radius: 26px;
    padding: 22px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    display: grid;
    gap: 18px;
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 14px;
    cursor: pointer;
    font-weight: 900;
    color: #333;
}

.filter-check input {
    width: 18px;
    height: 18px;
    accent-color: #e30613;
}

.filter-field {
    display: grid;
    gap: 8px;
}

.filter-field label {
    font-size: 14px;
    font-weight: 900;
}

.filter-field select {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 14px;
    font-size: 15px;
    background: #fafafa;
    outline: none;
}

.filter-field select:focus {
    border-color: #e30613;
    background: #fff;
}

.clear-filters-link {
    text-align: center;
    color: #666;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: .2s ease;
}

.clear-filters-link:hover {
    color: #e30613;
}

.annunci-content {
    min-width: 0;
}

@media (max-width: 980px) {
    .annunci-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: static;
    }
}
/* RICERCA HOME */

.home-search-box {
    margin-top: 28px;
    background: #fff;
    padding: 14px;
    border-radius: 22px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr auto;
    gap: 10px;
    max-width: 850px;
    box-shadow: 0 18px 60px rgba(0,0,0,.25);
}

.home-search-box input,
.home-search-box select {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 14px;
    padding: 14px 13px;
    font-size: 14px;
    background: #fafafa;
    outline: none;
    color: #111;
}

.home-search-box input:focus,
.home-search-box select:focus {
    border-color: #e30613;
    background: #fff;
}

.home-search-box button {
    border: none;
    background: #e30613;
    color: #fff;
    border-radius: 14px;
    padding: 0 26px;
    font-weight: 950;
    cursor: pointer;
    transition: .2s ease;
}

.home-search-box button:hover {
    background: #ff1724;
    transform: translateY(-1px);
}

.home-actions-clean {
    margin-top: 24px;
}

@media (max-width: 800px) {
    .home-search-box {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .home-search-box button {
        padding: 15px;
    }
}
.home-sell-cta {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.home-sell-cta span {
    color: #eee;
    font-weight: 800;
    font-size: 15px;
}
/* HOME MOBILE TIPO MARKETPLACE */

@media (max-width: 640px) {

    .hero {
        background: #fff !important;
        color: #111;
        padding: 28px 0 30px;
    }

    .hero .badge {
        display: none;
    }

    .hero h1 {
        color: #111;
        font-size: 31px;
        line-height: 1.05;
        letter-spacing: -1.4px;
        margin-bottom: 12px;
    }

    .hero p {
        color: #555;
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    .home-search-box {
        background: #fff;
        border: 1px solid #e5e5e5;
        box-shadow: 0 12px 35px rgba(0,0,0,.08);
        margin-top: 18px;
        padding: 12px;
    }

    .home-search-box input[name="q"] {
        height: 54px;
        font-size: 16px;
        border-radius: 18px;
    }

    .home-search-box select,
    .home-search-box input[name="province"] {
        height: 48px;
    }

    .home-search-box button {
        height: 50px;
        font-size: 15px;
    }

    .home-sell-cta {
        margin-top: 16px;
        background: #fff4f4;
        border: 1px solid #ffd1d1;
        border-radius: 18px;
        padding: 14px;
    }

    .home-sell-cta span {
        color: #7a0000;
        font-weight: 900;
    }

    .home-sell-cta .btn {
        margin-top: 10px;
    }

    .categories {
        padding-top: 30px;
    }
}
/* FIX DEFINITIVO MOBILE HOME */

@media (max-width: 640px) {

    body {
        font-size: 15px;
        overflow-x: hidden;
    }

    .container {
        width: calc(100% - 32px);
        max-width: 100%;
    }

    /* HEADER */
    .header {
        padding: 14px 0;
    }

    .nav {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .logo {
        font-size: 20px !important;
        line-height: 1;
        white-space: nowrap;
    }

    .nav nav {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    /* HERO MOBILE */
    .hero {
        background: #fff !important;
        color: #111 !important;
        padding: 34px 0 34px !important;
        min-height: auto !important;
    }

    .hero .badge {
        display: none !important;
    }

    .hero h1 {
        color: #111 !important;
        font-size: 34px !important;
        line-height: 1.04 !important;
        letter-spacing: -1.4px !important;
        margin-bottom: 14px !important;
    }

    .hero p {
        color: #555 !important;
        font-size: 16px !important;
        line-height: 1.55 !important;
        margin-bottom: 20px !important;
    }

    .home-search-box {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px !important;
        gap: 10px !important;
        border-radius: 22px !important;
        box-shadow: 0 12px 35px rgba(0,0,0,.08) !important;
        border: 1px solid #e5e5e5 !important;
    }

    .home-search-box input,
    .home-search-box select,
    .home-search-box button {
        height: 50px !important;
        font-size: 15px !important;
        border-radius: 15px !important;
    }

    .home-search-box button {
        padding: 0 !important;
        font-size: 16px !important;
    }

    .home-sell-cta {
        margin-top: 16px !important;
        padding: 16px !important;
        border-radius: 20px !important;
    }

    .home-sell-cta span {
        font-size: 15px !important;
    }

    .home-sell-cta .btn {
        width: 100% !important;
        text-align: center !important;
        padding: 15px 18px !important;
        font-size: 16px !important;
    }

    /* CATEGORIE */
    .categories {
        padding: 42px 0 34px !important;
    }

    .categories h2 {
        font-size: 34px !important;
        line-height: 1.05 !important;
        letter-spacing: -1.4px !important;
        margin-bottom: 22px !important;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .card {
        min-height: 92px !important;
        padding: 18px !important;
        border-radius: 20px !important;
        font-size: 15px !important;
        line-height: 1.25 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    /* ULTIMI ANNUNCI */
    .home-listings-section {
        padding: 22px 0 54px !important;
    }

    .home-section-head {
        display: block !important;
        margin-bottom: 22px !important;
    }

    .home-section-head span {
        font-size: 12px !important;
        padding: 7px 11px !important;
        margin-bottom: 12px !important;
    }

    .home-section-head h2 {
        font-size: 34px !important;
        line-height: 1.05 !important;
        letter-spacing: -1.4px !important;
        margin-bottom: 10px !important;
    }

    .home-section-head p {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    .home-section-head .btn {
        margin-top: 16px !important;
        width: 100% !important;
        text-align: center !important;
        padding: 14px 18px !important;
        font-size: 15px !important;
    }

    .home-listings-grid {
        grid-template-columns: 1fr !important;
    }

    .home-listing-card {
        border-radius: 24px !important;
    }

    .home-listing-image {
        height: 220px !important;
    }

    .home-listing-body {
        padding: 20px !important;
    }

    .home-listing-body h3 {
        font-size: 22px !important;
    }

    .home-listing-price {
        font-size: 30px !important;
    }

    /* FOOTER */
    .main-footer {
        margin-top: 40px !important;
        padding: 42px 0 24px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        padding-bottom: 28px !important;
    }

    .footer-logo {
        font-size: 24px !important;
    }

    .footer-brand p {
        font-size: 15px !important;
        line-height: 1.55 !important;
    }

    .footer-brand strong {
        font-size: 15px !important;
    }

    .footer-column h3 {
        font-size: 20px !important;
        margin-bottom: 14px !important;
    }

    .footer-column a {
        font-size: 15px !important;
        margin-bottom: 10px !important;
    }

    .footer-bottom {
        display: block !important;
        font-size: 13px !important;
        padding-top: 22px !important;
    }

    .footer-bottom p:last-child {
        text-align: left !important;
        margin-top: 10px !important;
    }
}
/* RIDUZIONE MOBILE HOME */

@media (max-width: 640px) {

    .logo {
        font-size: 22px !important;
    }

    .hero {
        padding: 28px 0 30px !important;
    }

    .hero h1 {
        font-size: 29px !important;
        line-height: 1.08 !important;
        letter-spacing: -1px !important;
        margin-bottom: 14px !important;
    }

    .hero p {
        font-size: 15px !important;
        line-height: 1.55 !important;
    }

    .home-search-box input,
    .home-search-box select,
    .home-search-box button {
        height: 46px !important;
        font-size: 14px !important;
    }

    .home-sell-cta {
        padding: 13px !important;
    }

    .home-sell-cta span {
        font-size: 14px !important;
    }

    .home-sell-cta .btn {
        font-size: 14px !important;
        padding: 13px 16px !important;
    }

    .categories {
        padding: 34px 0 28px !important;
    }

    .categories h2 {
        font-size: 31px !important;
        margin-bottom: 18px !important;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .card {
        min-height: 78px !important;
        padding: 14px !important;
        border-radius: 17px !important;
        font-size: 14px !important;
        line-height: 1.25 !important;
        box-shadow: 0 8px 24px rgba(0,0,0,.07) !important;
    }

    .home-listings-section {
        padding: 12px 0 45px !important;
    }

    .home-section-head span {
        font-size: 11px !important;
        padding: 6px 10px !important;
    }

    .home-section-head h2 {
        font-size: 31px !important;
        line-height: 1.08 !important;
        margin-bottom: 8px !important;
    }

    .home-section-head p {
        font-size: 14px !important;
    }

    .home-section-head .btn {
        font-size: 14px !important;
        padding: 13px 16px !important;
        border-radius: 999px !important;
    }

    .home-listing-card,
    .public-listing-card {
        border-radius: 22px !important;
    }

    .home-listing-image,
    .public-image-placeholder {
        height: 185px !important;
    }

    .home-listing-body,
    .public-listing-body {
        padding: 18px !important;
    }

    .home-listing-body h3,
    .public-listing-body h3 {
        font-size: 21px !important;
    }

    .home-listing-price,
    .public-price {
        font-size: 28px !important;
    }

    .listing-category {
        font-size: 11px !important;
        padding: 6px 10px !important;
    }

    .home-listing-meta span,
    .public-meta span {
        font-size: 12px !important;
        padding: 6px 9px !important;
    }

    .main-footer {
        padding: 36px 0 22px !important;
    }

    .footer-logo {
        font-size: 23px !important;
    }

    .footer-column h3 {
        font-size: 18px !important;
    }

    .footer-column a,
    .footer-brand p {
        font-size: 14px !important;
    }
}
/* HEADER UNICO + MENU MOBILE */

.mobile-menu-btn {
    display: none;
    background: #e30613;
    color: #fff;
    border: none;
    border-radius: 13px;
    width: 46px;
    height: 46px;
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
    line-height: 1;
}

.mobile-nav {
    display: none;
    background: #080808;
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 8px 20px 16px;
}

.mobile-nav a {
    display: block;
    color: #fff;
    padding: 14px 0;
    font-weight: 900;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav.open {
    display: block;
}

@media (max-width: 640px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .header {
        padding: 12px 0 !important;
    }

    .nav {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .logo {
        font-size: 20px !important;
    }
}
@media (max-width: 640px) {
    .mobile-menu-btn {
        width: 46px !important;
        height: 46px !important;
        font-size: 24px !important;
        border-radius: 13px !important;
    }

    .mobile-nav {
        padding: 8px 22px 14px !important;
    }

    .mobile-nav a {
        font-size: 17px !important;
        padding: 13px 0 !important;
    }
}
@media (max-width: 640px) {
    .logo {
        font-size: 18px !important;
    }

    .mobile-menu-btn {
        width: 42px !important;
        height: 42px !important;
        font-size: 22px !important;
        border-radius: 12px !important;
    }
}
/* FIX MOBILE PAGINE INTERNE */

@media (max-width: 640px) {

    /* HEADER */
    .header {
        padding: 10px 0 !important;
    }

    .logo {
        font-size: 18px !important;
    }

    .mobile-menu-btn {
        width: 42px !important;
        height: 42px !important;
        font-size: 22px !important;
        border-radius: 12px !important;
    }

    /* HERO PAGINA ANNUNCI / PAGINE INTERNE */
    .listings-hero,
    .page-hero,
    .seller-profile-hero {
        padding: 46px 0 !important;
    }

    .listings-hero span,
    .page-hero span,
    .form-heading span,
    .seller-profile-info span {
        font-size: 12px !important;
        padding: 7px 11px !important;
        margin-bottom: 12px !important;
    }

    .listings-hero h1,
    .page-hero h1,
    .form-heading h1,
    .seller-profile-info h1 {
        font-size: 34px !important;
        line-height: 1.05 !important;
        letter-spacing: -1.2px !important;
        margin-bottom: 12px !important;
    }

    .listings-hero p,
    .page-hero p,
    .form-heading p {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    /* SEZIONI */
    .form-section,
    .single-section,
    .admin-section,
    .info-page,
    .listings-section {
        padding: 34px 0 50px !important;
    }

    /* BARRA RICERCA ANNUNCI */
    .search-panel {
        margin-top: -35px !important;
        padding: 16px !important;
        border-radius: 22px !important;
    }

    .search-fields {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .search-fields input,
    .search-fields select,
    .search-fields button {
        height: 46px !important;
        font-size: 14px !important;
        border-radius: 14px !important;
    }

    /* SIDEBAR FILTRI */
    .filters-sidebar h3 {
        font-size: 28px !important;
        margin-bottom: 14px !important;
    }

    .filters-box {
        padding: 18px !important;
        border-radius: 22px !important;
        gap: 14px !important;
    }

    .filter-check {
        padding: 12px !important;
        font-size: 14px !important;
        border-radius: 14px !important;
    }

    .filter-field label {
        font-size: 13px !important;
    }

    .filter-field select {
        height: 46px !important;
        font-size: 14px !important;
        border-radius: 14px !important;
    }

    .filters-box .btn {
        height: 46px !important;
        font-size: 14px !important;
        padding: 0 !important;
    }

    .clear-filters-link {
        font-size: 14px !important;
    }

    /* RISULTATI ANNUNCI */
    .results-head {
        display: block !important;
        margin-bottom: 22px !important;
    }

    .results-head h2 {
        font-size: 34px !important;
        line-height: 1.05 !important;
        margin-bottom: 8px !important;
    }

    .results-head p {
        font-size: 15px !important;
    }

    .results-head .btn {
        width: 100% !important;
        text-align: center !important;
        margin-top: 16px !important;
        padding: 14px 18px !important;
        font-size: 15px !important;
    }

    .public-listings-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .public-image-placeholder {
        height: 190px !important;
    }

    .public-listing-body {
        padding: 18px !important;
    }

    .public-listing-body h3 {
        font-size: 22px !important;
    }

    .public-price {
        font-size: 28px !important;
    }

    /* FORM PUBBLICA / MODIFICA */
    .form-heading {
        margin-bottom: 22px !important;
    }

    .form-card {
        padding: 20px !important;
        border-radius: 24px !important;
    }

    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .field label {
        font-size: 14px !important;
    }

    .field input,
    .field select,
    .field textarea {
        font-size: 15px !important;
        padding: 13px 14px !important;
        border-radius: 14px !important;
    }

    .field input,
    .field select {
        height: 48px !important;
    }

    .field textarea {
        min-height: 140px !important;
    }

    .notice-box {
        font-size: 14px !important;
        padding: 14px !important;
        border-radius: 16px !important;
    }

    .btn.full,
    .form-card .btn {
        width: 100% !important;
        padding: 14px 18px !important;
        font-size: 15px !important;
    }
}
/* ANTEPRIMA PRIVATA ANNUNCIO */

.preview-alert {
    background: #fff4d8;
    border: 1px solid #ffd67a;
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.preview-alert strong {
    display: block;
    color: #8a5a00;
    font-size: 20px;
    margin-bottom: 6px;
}

.preview-alert p {
    color: #5f4300;
    line-height: 1.5;
}

.preview-alert .btn {
    white-space: nowrap;
}

@media (max-width: 700px) {
    .preview-alert {
        display: block;
    }

    .preview-alert .btn {
        margin-top: 16px;
        width: 100%;
        text-align: center;
    }
}
.small-action.preview {
    background: #fff4d8;
    color: #8a5a00;
}
/* MOTIVO RIFIUTO ANNUNCIO */

.reject-form {
    display: grid;
    gap: 8px;
}

.reject-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 14px;
    padding: 10px;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    resize: vertical;
    outline: none;
}

.reject-form textarea:focus {
    border-color: #d38a00;
}

.rejection-box {
    background: #ffe5e5;
    border: 1px solid #ffc9c9;
    border-radius: 18px;
    padding: 14px 16px;
    color: #8a0000;
    margin: 16px 0;
}

.rejection-box strong {
    display: block;
    margin-bottom: 6px;
}

.rejection-box p {
    margin: 0;
    line-height: 1.5;
}

.dashboard-rejection-reason {
    background: #ffe5e5;
    border: 1px solid #ffc9c9;
    color: #8a0000;
    border-radius: 16px;
    padding: 12px 14px;
    margin-top: 12px;
    line-height: 1.5;
    font-size: 14px;
}

.dashboard-rejection-reason strong {
    display: block;
    margin-bottom: 4px;
}
/* CHI SIAMO */

.about-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}

.about-main {
    display: grid;
    gap: 22px;
}

.about-side {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 105px;
}

.about-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.about-steps div {
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 18px;
}

.about-steps strong {
    display: block;
    font-size: 20px;
    margin-bottom: 8px;
    color: #111;
}

.about-steps p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-side {
        position: static;
    }

    .about-steps {
        grid-template-columns: 1fr;
    }
}
/* PREFERITI */

.favorite-form {
    margin-bottom: 12px;
}

.favorite-btn {
    width: 100%;
    display: block;
    text-align: center;
    border: none;
    background: #fff4d8;
    color: #8a5a00 !important;
    padding: 14px 18px;
    border-radius: 999px;
    font-weight: 950;
    cursor: pointer;
    transition: .2s ease;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
}

.favorite-btn:hover {
    background: #ffe8a8;
    transform: translateY(-1px);
}

.favorite-btn.active {
    background: #e30613;
    color: #fff !important;
}

.favorite-card-wrap {
    display: grid;
    gap: 10px;
}

.favorite-remove-form {
    margin: 0;
}

.favorite-remove-form button {
    width: 100%;
    border: none;
    background: #ffe5e5;
    color: #a30000;
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 950;
    cursor: pointer;
    transition: .2s ease;
}

.favorite-remove-form button:hover {
    background: #ffd0d0;
    transform: translateY(-1px);
}

.dashboard-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 760px) {
    .dashboard-hero-actions {
        display: grid;
        gap: 10px;
        margin-top: 22px;
    }

    .dashboard-hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}
/* PROFILO UTENTE */

.profile-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}

.profile-form-box h2 {
    font-size: 34px;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.profile-form-box > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.profile-form-box form {
    display: grid;
    gap: 16px;
}

.profile-side {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 105px;
}

.profile-info-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.profile-info-row:last-child {
    border-bottom: none;
}

.profile-info-row span {
    color: #666;
    font-weight: 800;
}

.profile-info-row strong {
    color: #111;
}

@media (max-width: 900px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-side {
        position: static;
    }
}
/* ADMIN UTENTI */

.users-admin-list {
    display: grid;
    gap: 18px;
}

.user-admin-card {
    background: #fff;
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    display: grid;
    grid-template-columns: 1fr 360px 180px;
    gap: 24px;
    align-items: center;
}

.user-admin-main {
    display: flex;
    gap: 18px;
    align-items: center;
    min-width: 0;
}

.user-admin-avatar {
    width: 72px;
    height: 72px;
    background: #080808;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 950;
    flex-shrink: 0;
}

.user-admin-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.user-admin-top h2 {
    font-size: 26px;
    letter-spacing: -1px;
}

.user-role-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
}

.user-role-badge.user {
    background: #f1f1f1;
    color: #555;
}

.user-role-badge.admin {
    background: #e30613;
    color: #fff;
}

.user-admin-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.user-admin-meta span {
    background: #f8f8f8;
    border: 1px solid #eee;
    padding: 7px 10px;
    border-radius: 999px;
    color: #555;
    font-size: 13px;
    font-weight: 700;
}

.user-admin-meta strong {
    color: #111;
}

.user-admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.user-admin-stats div {
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 14px;
    text-align: center;
}

.user-admin-stats strong {
    display: block;
    font-size: 24px;
    color: #e30613;
    margin-bottom: 4px;
}

.user-admin-stats span {
    color: #666;
    font-size: 12px;
    font-weight: 900;
}

.user-admin-actions {
    display: grid;
    gap: 10px;
}

@media (max-width: 1100px) {
    .user-admin-card {
        grid-template-columns: 1fr;
    }

    .user-admin-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .user-admin-card {
        padding: 18px;
        border-radius: 22px;
    }

    .user-admin-main {
        align-items: flex-start;
    }

    .user-admin-avatar {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .user-admin-top h2 {
        font-size: 22px;
    }

    .user-admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .user-admin-actions {
        grid-template-columns: 1fr;
    }
}
/* BLOCCO UTENTE ADMIN */

.user-status-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
}

.user-status-badge.active {
    background: #e5ffe9;
    color: #067b22;
}

.user-status-badge.blocked {
    background: #ffe5e5;
    color: #a30000;
}

.user-admin-actions form {
    margin: 0;
}

.admin-btn.user-block {
    background: #c40000;
    color: #fff;
}

.admin-btn.user-unblock {
    background: #0b8f2a;
    color: #fff;
}
/* RUOLI ADMIN UTENTI */

.admin-btn.make-admin {
    background: #080808;
    color: #fff;
}

.admin-btn.remove-admin {
    background: #555;
    color: #fff;
}
/* STATISTICHE ADMIN */

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.admin-stat-card {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    border-left: 6px solid #080808;
}

.admin-stat-card span {
    display: block;
    color: #666;
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 8px;
}

.admin-stat-card strong {
    display: block;
    color: #111;
    font-size: 42px;
    line-height: 1;
}

.admin-stat-card.success {
    border-left-color: #0b8f2a;
}

.admin-stat-card.warning {
    border-left-color: #d38a00;
}

.admin-stat-card.danger {
    border-left-color: #c40000;
}

@media (max-width: 900px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-stat-card strong {
        font-size: 34px;
    }
}

@media (max-width: 560px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .admin-stat-card {
        padding: 20px;
        border-radius: 20px;
    }

    .admin-stat-card strong {
        font-size: 32px;
    }
}
/* ADMIN PANEL WORDPRESS STYLE */

.admin-body {
    background: #f4f5f7;
    color: #111;
}

.admin-app {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
}

.admin-sidebar {
    background: #080808;
    color: #fff;
    padding: 26px 20px;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-sidebar-logo {
    display: block;
    color: #fff;
    font-size: 26px;
    font-weight: 950;
    letter-spacing: -1px;
    margin-bottom: 34px;
}

.admin-sidebar-logo span {
    color: #e30613;
}

.admin-sidebar-logo small {
    display: block;
    color: #888;
    font-size: 12px;
    letter-spacing: 0;
    margin-top: 4px;
    text-transform: uppercase;
}

.admin-sidebar-nav {
    display: grid;
    gap: 8px;
}

.admin-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cfcfcf;
    padding: 14px 14px;
    border-radius: 14px;
    font-weight: 900;
    transition: .2s ease;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.active {
    background: #e30613;
    color: #fff;
}

.admin-sidebar-nav span {
    width: 22px;
    display: inline-flex;
    justify-content: center;
}

.admin-sidebar-bottom {
    margin-top: auto;
    display: grid;
    gap: 8px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.admin-sidebar-bottom a {
    color: #aaa;
    font-weight: 800;
    padding: 10px 12px;
    border-radius: 12px;
}

.admin-sidebar-bottom a:hover {
    color: #fff;
    background: rgba(255,255,255,.08);
}

.admin-main {
    min-width: 0;
    padding: 28px;
}

.admin-topbar {
    background: #fff;
    border-radius: 24px;
    padding: 18px 22px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.admin-topbar strong {
    display: block;
    font-size: 22px;
    letter-spacing: -0.5px;
}

.admin-topbar span {
    color: #777;
    font-weight: 700;
    font-size: 14px;
}

.admin-topbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-topbar-user span {
    color: #111;
    font-weight: 900;
}

.admin-topbar-user div {
    width: 44px;
    height: 44px;
    background: #080808;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
}

.admin-control-section {
    max-width: 1280px;
    margin: 0 auto;
}

.admin-control-section .admin-hero {
    background: #fff;
    color: #111;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
    margin-bottom: 24px;
}

.admin-control-section .admin-hero span {
    background: #e30613;
    color: #fff;
}

.admin-control-section .admin-hero h1 {
    font-size: 42px;
    color: #111;
}

.admin-control-section .admin-hero p {
    color: #666;
}

/* Stats admin più compatte */

.admin-body .admin-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.admin-body .admin-stat-card {
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

.admin-body .admin-stat-card strong {
    font-size: 34px;
}

/* Card annunci admin più pannello */

.admin-body .admin-card {
    border-radius: 24px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
    border: 1px solid #eee;
}

.admin-body .admin-card h2 {
    font-size: 26px;
}

.admin-body .admin-actions {
    background: #f8f8f8;
    border-radius: 20px;
    padding: 16px;
}

.admin-body .admin-btn {
    border-radius: 12px;
}

/* Responsive admin */

@media (max-width: 1050px) {
    .admin-app {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
        padding: 18px;
    }

    .admin-sidebar-logo {
        margin-bottom: 18px;
    }

    .admin-sidebar-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-sidebar-bottom {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-main {
        padding: 18px;
    }

    .admin-body .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .admin-sidebar-nav,
    .admin-sidebar-bottom {
        grid-template-columns: 1fr;
    }

    .admin-topbar {
        display: block;
    }

    .admin-topbar-user {
        margin-top: 14px;
    }

    .admin-control-section .admin-hero {
        padding: 24px;
    }

    .admin-control-section .admin-hero h1 {
        font-size: 34px;
    }

    .admin-body .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}
.admin-sidebar-logo {
    font-size: 23px !important;
    line-height: 1.1;
    word-break: normal;
}

.admin-sidebar-logo span {
    color: #e30613;
}
/* ADMIN LISTA ANNUNCI COMPATTA */

.admin-compact-list {
    display: grid;
    gap: 14px;
}

.admin-compact-row {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 22px;
    align-items: start;
}

.admin-compact-topline {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.admin-compact-main h2 {
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -0.7px;
    margin-bottom: 12px;
}

.admin-compact-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.admin-compact-meta span {
    background: #f8f8f8;
    border: 1px solid #eee;
    padding: 7px 10px;
    border-radius: 999px;
    color: #555;
    font-size: 13px;
    font-weight: 700;
}

.admin-compact-meta strong {
    color: #111;
}

.admin-compact-description {
    color: #555;
    line-height: 1.5;
    font-size: 14px;
}

.admin-compact-actions {
    background: #f8f8f8;
    border-radius: 18px;
    padding: 14px;
    display: grid;
    gap: 8px;
}

.admin-compact-actions .admin-btn {
    width: 100%;
    border-radius: 12px;
    padding: 11px 12px;
    font-size: 13px;
}

.admin-btn.preview-admin {
    background: #080808;
    color: #fff;
    text-align: center;
}

.reject-form.compact {
    display: grid;
    gap: 7px;
}

.reject-form.compact textarea {
    min-height: 58px;
    font-size: 12px;
    border-radius: 12px;
}

.rejection-box.compact {
    margin-top: 12px;
    padding: 12px;
    border-radius: 14px;
}

.rejection-box.compact p {
    font-size: 13px;
}

@media (max-width: 900px) {
    .admin-compact-row {
        grid-template-columns: 1fr;
    }

    .admin-compact-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    .reject-form.compact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .admin-compact-row {
        padding: 16px;
        border-radius: 18px;
    }

    .admin-compact-main h2 {
        font-size: 22px;
    }

    .admin-compact-actions {
        grid-template-columns: 1fr;
    }
}
/* ADMIN COMPACT REFINEMENT */

.admin-compact-row {
    padding: 16px 18px !important;
    min-height: auto !important;
}

.admin-compact-main h2 {
    font-size: 22px !important;
    margin-bottom: 10px !important;
}

.admin-compact-meta {
    margin-bottom: 8px !important;
}

.admin-compact-description {
    margin-top: 4px !important;
    margin-bottom: 0 !important;
    font-size: 13px !important;
}

.admin-compact-actions {
    padding: 12px !important;
    gap: 7px !important;
}

.admin-compact-actions .admin-btn {
    padding: 10px 12px !important;
    font-size: 13px !important;
}

.reject-form.compact textarea {
    min-height: 52px !important;
}
/* ADMIN UTENTI COMPATTO */

.admin-users-compact-list {
    display: grid;
    gap: 14px;
}

.admin-user-compact-row {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
    display: grid;
    grid-template-columns: 1fr 360px 190px;
    gap: 20px;
    align-items: center;
}

.admin-user-compact-main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.admin-user-compact-avatar {
    width: 58px;
    height: 58px;
    background: #080808;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    font-size: 26px;
    flex-shrink: 0;
}

.admin-user-compact-content {
    min-width: 0;
}

.admin-user-compact-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 9px;
}

.admin-user-compact-top h2 {
    font-size: 24px;
    letter-spacing: -0.7px;
    line-height: 1.1;
}

.admin-user-compact-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.admin-user-compact-meta span {
    background: #f8f8f8;
    border: 1px solid #eee;
    padding: 7px 10px;
    border-radius: 999px;
    color: #555;
    font-size: 13px;
    font-weight: 700;
}

.admin-user-compact-meta strong {
    color: #111;
}

.admin-user-compact-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.admin-user-compact-stats div {
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 11px;
    text-align: center;
}

.admin-user-compact-stats strong {
    display: block;
    color: #e30613;
    font-size: 22px;
    line-height: 1;
    margin-bottom: 4px;
}

.admin-user-compact-stats span {
    color: #666;
    font-size: 11px;
    font-weight: 900;
}

.admin-user-compact-actions {
    background: #f8f8f8;
    border-radius: 18px;
    padding: 12px;
    display: grid;
    gap: 8px;
}

.admin-user-compact-actions form {
    margin: 0;
}

.admin-user-compact-actions .admin-btn {
    width: 100%;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
}

.current-admin-note {
    background: #fff4d8;
    color: #8a5a00;
    border-radius: 12px;
    padding: 11px 12px;
    text-align: center;
    font-weight: 950;
    font-size: 13px;
}

@media (max-width: 1200px) {
    .admin-user-compact-row {
        grid-template-columns: 1fr;
    }

    .admin-user-compact-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    .current-admin-note {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .admin-user-compact-row {
        padding: 16px;
        border-radius: 18px;
    }

    .admin-user-compact-main {
        align-items: flex-start;
    }

    .admin-user-compact-avatar {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .admin-user-compact-top h2 {
        font-size: 21px;
    }

    .admin-user-compact-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-user-compact-actions {
        grid-template-columns: 1fr;
    }
}
/* ADMIN SEARCH BAR */

.admin-search-bar {
    background: #fff;
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
    display: grid;
    grid-template-columns: 1fr 190px 190px auto auto;
    gap: 10px;
    margin-bottom: 24px;
    align-items: center;
}

.admin-search-bar input,
.admin-search-bar select {
    width: 100%;
    height: 46px;
    border: 1px solid #ddd;
    background: #fafafa;
    border-radius: 14px;
    padding: 0 14px;
    font-size: 14px;
    outline: none;
}

.admin-search-bar input:focus,
.admin-search-bar select:focus {
    border-color: #e30613;
    background: #fff;
}

.admin-search-bar button {
    height: 46px;
    border: none;
    background: #e30613;
    color: #fff;
    border-radius: 14px;
    padding: 0 22px;
    font-weight: 950;
    cursor: pointer;
}

.admin-search-bar a {
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #080808;
    color: #fff;
    border-radius: 14px;
    padding: 0 18px;
    font-weight: 950;
}

@media (max-width: 1100px) {
    .admin-search-bar {
        grid-template-columns: 1fr 1fr;
    }

    .admin-search-bar button,
    .admin-search-bar a {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .admin-search-bar {
        grid-template-columns: 1fr;
        padding: 14px;
    }
}
/* ADMIN SEARCH SEGNALAZIONI */

.reports-search-bar {
    grid-template-columns: 1fr 240px auto auto;
}

@media (max-width: 900px) {
    .reports-search-bar {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .reports-search-bar {
        grid-template-columns: 1fr;
    }
}
/* ELIMINA UTENTE ADMIN */

.admin-btn.delete-user {
    background: #b00000;
    color: #fff;
}

.admin-btn.delete-user:hover {
    background: #d00000;
}
/* LINK PANNELLO ADMIN NEL MENU PUBBLICO */

.admin-entry-link {
    background: #080808;
    color: #fff !important;
    padding: 11px 16px;
    border-radius: 999px;
    font-weight: 950;
}

.admin-entry-link:hover {
    background: #e30613;
    color: #fff !important;
}
/* PAGINA 404 */

.error-page-section {
    min-height: 70vh;
    background:
        radial-gradient(circle at top left, rgba(227,6,19,.12), transparent 34%),
        #f5f5f5;
    padding: 80px 0;
    display: flex;
    align-items: center;
}

.error-page-box {
    text-align: center;
}

.error-code {
    font-size: clamp(90px, 18vw, 190px);
    font-weight: 950;
    line-height: .8;
    color: #e30613;
    letter-spacing: -8px;
    margin-bottom: 24px;
}

.error-page-box h1 {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 18px;
}

.error-page-box > p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 28px;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 42px;
}

.error-suggestions {
    background: #fff;
    border-radius: 30px;
    padding: 30px;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.error-suggestions h2 {
    font-size: 28px;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.error-suggestion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.error-suggestion-grid a {
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 18px;
    color: #111;
    font-weight: 900;
    transition: .2s ease;
}

.error-suggestion-grid a:hover {
    background: #e30613;
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 760px) {
    .error-page-section {
        padding: 56px 0;
    }

    .error-actions {
        display: grid;
        gap: 10px;
    }

    .error-actions .btn {
        width: 100%;
        text-align: center;
    }

    .error-suggestion-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .error-suggestion-grid {
        grid-template-columns: 1fr;
    }

    .error-suggestions {
        padding: 22px;
        border-radius: 24px;
    }
}
/* ANNUNCI PUBBLICI PIÙ COMPATTI */

.public-listings-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.public-listing-card {
    border-radius: 22px;
}

.public-image-placeholder {
    height: 170px;
}

.public-listing-body {
    padding: 18px;
}

.public-listing-body h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.public-price {
    font-size: 24px;
    margin-bottom: 10px;
}

.public-meta {
    gap: 6px;
    margin-bottom: 10px;
}

.public-meta span {
    font-size: 12px;
    padding: 6px 9px;
}

.public-listing-body p {
    font-size: 14px;
    line-height: 1.45;
}

@media (max-width: 980px) {
    .public-listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .public-listings-grid {
        grid-template-columns: 1fr;
    }

    .public-image-placeholder {
        height: 190px;
    }
}
/* PAGINAZIONE ANNUNCI */

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.pagination a {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #eee;
    color: #111;
    font-weight: 950;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

.pagination a.active,
.pagination a:hover {
    background: #e30613;
    color: #fff;
}
/* ADMIN TOAST POPUP */

.admin-toast {
    position: fixed;
    right: 28px;
    bottom: 28px;
    background: #0b8f2a;
    color: #fff;
    padding: 16px 22px;
    border-radius: 16px;
    font-weight: 950;
    box-shadow: 0 18px 60px rgba(0,0,0,.22);
    z-index: 99999;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: .25s ease;
}

.admin-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.admin-toast.error {
    background: #c40000;
}

.admin-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none !important;
}
/* RISULTATI E PAGINAZIONE ADMIN */

.admin-results-count {
    color: #666;
    font-weight: 900;
    margin: -10px 0 22px;
    padding-left: 4px;
}

.admin-pagination {
    margin-bottom: 20px;
}
/* CARD ANNUNCI PUBBLICI COMPATTE */

.public-listings-grid {
    gap: 18px !important;
}

.public-listing-card {
    border-radius: 22px !important;
    overflow: hidden;
}

.public-image-placeholder {
    height: 155px !important;
    font-size: 52px !important;
}

.public-listing-body {
    padding: 16px 18px 18px !important;
}

.public-topline {
    margin-bottom: 12px !important;
}

.public-listing-body h3 {
    font-size: 20px !important;
    line-height: 1.15 !important;
    margin-bottom: 8px !important;
}

.public-price {
    font-size: 25px !important;
    line-height: 1 !important;
    margin-bottom: 10px !important;
}

.public-meta {
    gap: 6px !important;
    margin-bottom: 10px !important;
}

.public-meta span {
    font-size: 12px !important;
    padding: 6px 9px !important;
}

.public-listing-body p {
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #666 !important;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* ALLINEAMENTO TESTATA RISULTATI ANNUNCI */

.results-head {
    align-items: center !important;
}

.results-head .btn {
    margin-top: 6px;
}/* DETTAGLIO ANNUNCIO - RIFINITURA */

.single-card {
    padding: 32px !important;
}

.single-card h1 {
    font-size: 46px !important;
    margin-bottom: 14px !important;
}

.single-price {
    font-size: 42px !important;
    color: #d32b24 !important;
    margin-bottom: 14px !important;
}

.single-location {
    font-size: 16px !important;
    color: #555 !important;
    margin-bottom: 26px !important;
}

.single-specs {
    gap: 12px !important;
    margin-bottom: 30px !important;
}

.single-specs div {
    background: #fafafa !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
}

.single-specs span {
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: #777 !important;
}

.single-specs strong {
    font-size: 16px !important;
}

.single-description {
    padding-top: 24px !important;
}

.single-description h2 {
    font-size: 28px !important;
}

.seller-card {
    padding: 28px !important;
}

.seller-card h2 {
    font-size: 26px !important;
}

.favorite-btn,
.seller-card .favorite-btn {
    border-radius: 999px !important;
    padding: 13px 18px !important;
    font-weight: 950 !important;
}

.whatsapp-btn {
    background: #25d366 !important;
    border-radius: 999px !important;
    padding: 15px 20px !important;
    font-size: 15px !important;
    font-weight: 950 !important;
}

.whatsapp-btn:hover {
    background: #1ebe5d !important;
}

.safety-card,
.report-mini-card,
.info-card {
    padding: 26px !important;
}

.info-card div {
    font-size: 14px !important;
}
/* BOTTONI CONTATTO VENDITORE */

.phone-btn,
.email-btn {
    display: block;
    color: #fff !important;
    padding: 15px 20px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 950;
    text-align: center;
    transition: .2s ease;
}

.phone-btn {
    background: #080808;
}

.phone-btn:hover {
    background: #e30613;
    transform: translateY(-1px);
}

.email-btn {
    background: #e30613;
}

.email-btn:hover {
    background: #ff1724;
    transform: translateY(-1px);
}

.contact-unavailable {
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    color: #666;
    padding: 14px 16px;
    border-radius: 18px;
    text-align: center;
    font-weight: 850;
    line-height: 1.4;
}
/* CHAT INTERNA */

.messages-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.message-row {
    background: #fff;
    border-radius: 24px;
    padding: 18px;
    display: grid;
    grid-template-columns: 64px 1fr 150px;
    gap: 18px;
    align-items: center;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    transition: .2s ease;
}

.message-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 50px rgba(0,0,0,.12);
}

.message-avatar {
    width: 58px;
    height: 58px;
    background: #080808;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    font-size: 24px;
}

.message-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.message-unread {
    background: #e30613;
    color: #fff;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 950;
}

.message-content h3 {
    font-size: 21px;
    margin-bottom: 6px;
}

.message-content p {
    color: #666;
    line-height: 1.4;
}

.message-side {
    text-align: right;
}

.message-side span {
    display: block;
    color: #e30613;
    font-weight: 950;
    font-size: 22px;
    margin-bottom: 8px;
}

.message-side small {
    color: #777;
    font-weight: 800;
}

.chat-section {
    padding: 46px 0 80px;
    background: #f4f4f4;
    min-height: calc(100vh - 80px);
}

.chat-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 26px;
    align-items: start;
}

.chat-box {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    overflow: hidden;
}

.chat-header {
    padding: 28px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.chat-header span {
    display: inline-block;
    background: #080808;
    color: #fff;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 10px;
}

.chat-header h1 {
    font-size: 34px;
    letter-spacing: -1px;
    margin-bottom: 6px;
}

.chat-header p {
    color: #666;
    font-weight: 800;
}

.chat-header p a {
    color: #e30613;
}

.chat-header > strong {
    color: #e30613;
    font-size: 28px;
    white-space: nowrap;
}

.chat-warning {
    margin: 18px 28px 0;
    background: #fff4d8;
    color: #8a6200;
    border: 1px solid #ffe1a0;
    border-radius: 18px;
    padding: 14px 16px;
    font-weight: 850;
    line-height: 1.4;
}

.chat-messages {
    padding: 28px;
    display: grid;
    gap: 14px;
    min-height: 340px;
}

.chat-empty {
    background: #f7f7f7;
    border-radius: 20px;
    padding: 24px;
    color: #666;
    font-weight: 800;
    text-align: center;
}

.chat-message {
    display: flex;
}

.chat-message.mine {
    justify-content: flex-end;
}

.chat-message.theirs {
    justify-content: flex-start;
}

.chat-bubble {
    max-width: 72%;
    border-radius: 22px;
    padding: 14px 16px;
}

.chat-message.mine .chat-bubble {
    background: #e30613;
    color: #fff;
    border-bottom-right-radius: 6px;
}

.chat-message.theirs .chat-bubble {
    background: #f2f2f2;
    color: #111;
    border-bottom-left-radius: 6px;
}

.chat-bubble p {
    line-height: 1.45;
}

.chat-bubble small {
    display: block;
    margin-top: 8px;
    opacity: .75;
    font-size: 12px;
    font-weight: 800;
}

.chat-form {
    border-top: 1px solid #eee;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: end;
}

.chat-form textarea {
    width: 100%;
    resize: vertical;
    border: 1px solid #ddd;
    border-radius: 18px;
    padding: 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    outline: none;
}

.chat-form textarea:focus {
    border-color: #e30613;
}

.chat-form button {
    border: none;
    background: #e30613;
    color: #fff;
    border-radius: 999px;
    padding: 15px 22px;
    font-weight: 950;
    cursor: pointer;
}

.chat-side {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 105px;
}

@media (max-width: 900px) {
    .chat-layout {
        grid-template-columns: 1fr;
    }

    .chat-side {
        position: static;
    }

    .message-row {
        grid-template-columns: 54px 1fr;
    }

    .message-side {
        grid-column: 2;
        text-align: left;
    }
}

@media (max-width: 560px) {
    .chat-header {
        display: block;
    }

    .chat-header > strong {
        display: block;
        margin-top: 12px;
    }

    .chat-bubble {
        max-width: 88%;
    }

    .chat-form {
        grid-template-columns: 1fr;
    }

    .chat-form button {
        width: 100%;
    }
}
/* PULSANTE MESSAGGIO INTERNO */

.internal-message-form {
    margin-top: 12px;
}

.internal-message-btn {
    display: block;
    width: 100%;
    border: none;
    background: #080808;
    color: #fff !important;
    padding: 15px 20px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 950;
    text-align: center;
    cursor: pointer;
    transition: .2s ease;
    font-family: Arial, Helvetica, sans-serif;
}

.internal-message-btn:hover {
    background: #e30613;
    transform: translateY(-1px);
}
/* BADGE MESSAGGI NON LETTI MENU */

.nav-message-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.nav-message-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    background: #e30613;
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    line-height: 22px;
    text-align: center;
    display: inline-block;
}

.mobile-nav .nav-message-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav .nav-message-badge {
    margin-left: 10px;
}
/* FOOTER 5 COLONNE */

.footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1fr;
    gap: 34px;
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* FIX DEFINITIVO FOOTER 5 COLONNE */

.main-footer .footer-grid {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr 1.35fr 1fr !important;
    gap: 42px !important;
    align-items: start !important;
}

.main-footer .footer-brand,
.main-footer .footer-column {
    min-width: 0 !important;
}

.main-footer .footer-column h3 {
    white-space: normal !important;
}

.main-footer .footer-column a {
    display: block !important;
    line-height: 1.45 !important;
}

@media (max-width: 1200px) {
    .main-footer .footer-grid {
        grid-template-columns: 1fr 1fr 1fr !important;
    }
}

@media (max-width: 760px) {
    .main-footer .footer-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 520px) {
    .main-footer .footer-grid {
        grid-template-columns: 1fr !important;
    }
}
/* SPAZIATURA BOTTONI CONTATTO ANNUNCIO */

.seller-card .favorite-form,
.seller-card .whatsapp-btn,
.seller-card .phone-reveal-box,
.seller-card .phone-btn,
.seller-card .internal-message-form,
.seller-card .internal-message-btn {
    margin-top: 12px !important;
}

.seller-card .favorite-form {
    margin-top: 18px !important;
}

.seller-card .whatsapp-btn,
.seller-card .phone-btn,
.seller-card .internal-message-btn {
    width: 100% !important;
}

/* MOSTRA NUMERO TELEFONO */

.phone-reveal-box {
    width: 100%;
}

.phone-reveal-btn {
    border: none;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
}

.phone-number-hidden {
    display: none;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 22px;
    padding: 14px 16px;
    text-align: center;
}

.phone-reveal-box.revealed .phone-number-hidden {
    display: grid;
    gap: 10px;
}

.phone-number-hidden span {
    display: block;
    font-size: 22px;
    font-weight: 950;
    color: #111;
}

.phone-number-hidden a {
    display: block;
    background: #080808;
    color: #fff !important;
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 950;
    text-align: center;
}

.phone-number-hidden a:hover {
    background: #e30613;
}
/* DASHBOARD CARD MESSAGGI */

.dashboard-message-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    border-radius: 24px;
    padding: 22px;
    margin: 24px 0;
    color: #111;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    border: 2px solid transparent;
    transition: .2s ease;
}

.dashboard-message-card:hover {
    transform: translateY(-2px);
    border-color: #e30613;
    box-shadow: 0 18px 50px rgba(0,0,0,.12);
}

.dashboard-message-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #080808;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex: 0 0 auto;
}

.dashboard-message-content h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.dashboard-message-content p {
    color: #666;
    font-weight: 800;
    line-height: 1.4;
}

.dashboard-message-content strong {
    color: #e30613;
}

.dashboard-message-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    min-width: 30px;
    height: 30px;
    padding: 0 9px;
    border-radius: 999px;
    background: #e30613;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 560px) {
    .dashboard-message-card {
        align-items: flex-start;
        padding-right: 58px;
    }

    .dashboard-message-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}
/* DETTAGLIO ANNUNCIO MOBILE PIÙ COMPATTO */

@media (max-width: 640px) {

    .single-section {
        padding: 28px 0 48px !important;
    }

    .single-section .container {
        width: min(100% - 28px, 1180px) !important;
    }

    .back-link {
        font-size: 15px !important;
        margin-bottom: 18px !important;
        display: inline-block !important;
    }

    .single-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .single-gallery {
        margin-bottom: 18px !important;
    }

    .single-main-image,
    .single-image-placeholder {
        height: 260px !important;
        border-radius: 24px !important;
    }

    .single-main-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .single-image-placeholder span {
        font-size: 64px !important;
    }

    .single-thumbs {
        gap: 8px !important;
        margin-top: 10px !important;
        overflow-x: auto !important;
        padding-bottom: 4px !important;
    }

    .thumb-btn {
        width: 62px !important;
        height: 52px !important;
        border-radius: 12px !important;
        flex: 0 0 auto !important;
    }

    .single-card {
        padding: 24px !important;
        border-radius: 24px !important;
    }

    .single-card .listing-category {
        font-size: 12px !important;
        padding: 8px 12px !important;
        margin-bottom: 18px !important;
    }

    .single-card h1 {
        font-size: 36px !important;
        line-height: 1 !important;
        letter-spacing: -1.5px !important;
        margin-bottom: 12px !important;
    }

    .single-price {
        font-size: 36px !important;
        margin-bottom: 12px !important;
    }

    .single-location {
        font-size: 15px !important;
        margin-bottom: 20px !important;
    }

    .single-specs {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin-bottom: 22px !important;
    }

    .single-specs div {
        padding: 12px !important;
        border-radius: 14px !important;
    }

    .single-specs span {
        font-size: 11px !important;
    }

    .single-specs strong {
        font-size: 14px !important;
    }

    .single-description {
        padding-top: 20px !important;
    }

    .single-description h2 {
        font-size: 24px !important;
        margin-bottom: 10px !important;
    }

    .single-description p {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    .single-sidebar {
        display: grid !important;
        gap: 18px !important;
    }

    .seller-card,
    .safety-card,
    .report-mini-card,
    .info-card {
        border-radius: 24px !important;
        padding: 24px !important;
    }

    .seller-card h2 {
        font-size: 26px !important;
        margin-bottom: 16px !important;
    }

    .seller-avatar {
        width: 78px !important;
        height: 78px !important;
        font-size: 34px !important;
        margin-bottom: 12px !important;
    }

    .seller-card h3 {
        font-size: 24px !important;
        margin-bottom: 4px !important;
    }

    .seller-card p {
        font-size: 15px !important;
    }

    .favorite-btn,
    .whatsapp-btn,
    .phone-btn,
    .internal-message-btn {
        padding: 13px 16px !important;
        font-size: 15px !important;
        border-radius: 999px !important;
    }

    .phone-number-hidden span {
        font-size: 20px !important;
    }

    .safety-card h3,
    .report-mini-card h3,
    .info-card h3 {
        font-size: 24px !important;
    }

    .safety-card li,
    .report-mini-card p,
    .info-card div {
        font-size: 14px !important;
    }
}
/* DETTAGLIO ANNUNCIO - MOBILE ULTRA COMPATTO */

@media (max-width: 640px) {

    .single-section {
        padding: 22px 0 42px !important;
    }

    .single-section .container {
        width: calc(100% - 28px) !important;
    }

    .back-link {
        font-size: 15px !important;
        margin-bottom: 14px !important;
    }

    .single-layout {
        gap: 18px !important;
    }

    .single-gallery {
        margin-bottom: 16px !important;
    }

    .single-main-image,
    .single-image-placeholder {
        height: 210px !important;
        border-radius: 22px !important;
    }

.single-main-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #f2f2f2 !important;
}

    .single-image-placeholder span {
        font-size: 56px !important;
    }

    .single-thumbs {
        gap: 7px !important;
        margin-top: 9px !important;
    }

    .thumb-btn {
        width: 54px !important;
        height: 46px !important;
        border-radius: 11px !important;
    }

    .single-card {
        padding: 20px !important;
        border-radius: 24px !important;
    }

    .single-card .listing-category {
        font-size: 11px !important;
        padding: 7px 11px !important;
        margin-bottom: 18px !important;
    }

    .single-card h1 {
        font-size: 30px !important;
        line-height: 1.05 !important;
        letter-spacing: -1px !important;
        margin-bottom: 10px !important;
    }

    .single-price {
        font-size: 31px !important;
        line-height: 1 !important;
        margin-bottom: 12px !important;
    }

    .single-location {
        font-size: 14px !important;
        margin-bottom: 18px !important;
    }

    .single-specs {
        grid-template-columns: 1fr 1fr !important;
        gap: 9px !important;
        margin-bottom: 20px !important;
    }

    .single-specs div {
        padding: 11px 12px !important;
        border-radius: 14px !important;
    }

    .single-specs span {
        font-size: 10px !important;
        letter-spacing: .2px !important;
    }

    .single-specs strong {
        font-size: 14px !important;
        line-height: 1.2 !important;
    }

    .single-description {
        padding-top: 18px !important;
    }

    .single-description h2 {
        font-size: 24px !important;
        margin-bottom: 8px !important;
    }

    .single-description p {
        font-size: 15px !important;
        line-height: 1.45 !important;
    }

    .seller-card,
    .safety-card,
    .report-mini-card,
    .info-card {
        padding: 22px !important;
        border-radius: 24px !important;
    }

    .seller-card h2 {
        font-size: 26px !important;
        margin-bottom: 14px !important;
    }

    .seller-avatar {
        width: 70px !important;
        height: 70px !important;
        font-size: 30px !important;
        margin-bottom: 10px !important;
    }

    .seller-card h3 {
        font-size: 24px !important;
        margin-bottom: 2px !important;
    }

    .seller-card p {
        font-size: 14px !important;
        margin-bottom: 14px !important;
    }

    .favorite-btn,
    .whatsapp-btn,
    .phone-btn,
    .internal-message-btn {
        padding: 12px 14px !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        min-height: auto !important;
    }

    .seller-card .favorite-form,
    .seller-card .whatsapp-btn,
    .seller-card .phone-reveal-box,
    .seller-card .internal-message-form,
    .seller-card .internal-message-btn {
        margin-top: 10px !important;
    }

    .phone-number-hidden {
        padding: 12px !important;
        border-radius: 18px !important;
    }

    .phone-number-hidden span {
        font-size: 18px !important;
    }

    .phone-number-hidden a {
        padding: 11px 14px !important;
        font-size: 14px !important;
    }

    .safety-card h3,
    .report-mini-card h3,
    .info-card h3 {
        font-size: 23px !important;
        margin-bottom: 12px !important;
    }

    .safety-card ul {
        padding-left: 18px !important;
    }

    .safety-card li,
    .report-mini-card p,
    .info-card div {
        font-size: 14px !important;
        line-height: 1.45 !important;
    }
}
/* DASHBOARD ANNUNCI - RICERCA, SELEZIONE E LAYOUT */

.dashboard-listing-search {
    margin: 24px 0 28px;
    display: grid;
    grid-template-columns: 1fr 220px auto auto;
    gap: 12px;
    align-items: center;
}

.dashboard-listing-search input,
.dashboard-listing-search select {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 18px;
    padding: 15px 16px;
    font-size: 15px;
    outline: none;
    background: #fff;
}

.dashboard-listing-search input:focus,
.dashboard-listing-search select:focus {
    border-color: #d22d27;
}

.dashboard-listing-search button,
.dashboard-listing-search a {
    border: none;
    background: #d22d27;
    color: #fff !important;
    border-radius: 999px;
    padding: 15px 22px;
    font-weight: 950;
    text-align: center;
    cursor: pointer;
}

.dashboard-listing-search a {
    background: #080808;
}

.bulk-actions-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 18px;
}

.select-listings-btn,
.delete-selected-btn {
    border: none;
    border-radius: 999px;
    padding: 13px 20px;
    font-weight: 950;
    cursor: pointer;
}

.select-listings-btn {
    background: #080808;
    color: #fff;
}

.delete-selected-btn {
    background: #d22d27;
    color: #fff;
}

.delete-selected-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}

/* Card annuncio dashboard ordinata */
.user-listing-card {
    position: relative;
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) 170px !important;
    gap: 24px !important;
    align-items: center !important;
    padding: 22px 24px !important;
    min-height: 150px !important;
}

.user-listing-card .dashboard-listing-image {
    width: 150px !important;
    height: 105px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.user-listing-card .dashboard-listing-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.user-listing-card .dashboard-listing-image span {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.user-listing-card .dashboard-listing-content {
    min-width: 0 !important;
}

.user-listing-card .dashboard-listing-top {
    margin-bottom: 8px !important;
}

.user-listing-card h3 {
    font-size: 23px !important;
    line-height: 1.15 !important;
    margin: 0 0 8px !important;
}

.user-listing-card .listing-meta,
.user-listing-card .dashboard-listing-extra {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.user-listing-card .listing-side {
    display: grid !important;
    gap: 10px !important;
    justify-items: stretch !important;
    align-self: center !important;
}

.user-listing-card .listing-price {
    font-size: 26px !important;
    text-align: right !important;
    line-height: 1 !important;
}

.user-listing-card .status-badge {
    justify-self: end !important;
}

.user-listing-card .listing-actions {
    display: grid !important;
    gap: 8px !important;
}

.user-listing-card .listing-actions a,
.user-listing-card .listing-actions button {
    width: 100% !important;
    text-align: center !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    border-radius: 999px !important;
}

/* Checkbox selezione */
.listing-select-check {
    display: none;
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0,0,0,.18);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.listing-select-check input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #d22d27;
}

#bulkListingsForm.selection-active .listing-select-check {
    display: flex;
}

#bulkListingsForm.selection-active .user-listing-card {
    border: 2px solid #eee;
}

#bulkListingsForm.selection-active .user-listing-card:has(input[name="selected_listings[]"]:checked) {
    border-color: #d22d27;
    background: #fffafa;
}

@media (max-width: 760px) {
    .dashboard-listing-search {
        grid-template-columns: 1fr;
    }

    .bulk-actions-bar {
        display: grid;
        grid-template-columns: 1fr;
    }

    .user-listing-card {
        grid-template-columns: 92px 1fr !important;
        gap: 14px !important;
        padding: 16px !important;
    }

    .user-listing-card .dashboard-listing-image {
        width: 92px !important;
        height: 72px !important;
        border-radius: 14px !important;
    }

    .user-listing-card h3 {
        font-size: 20px !important;
    }

    .user-listing-card .listing-side {
        grid-column: 1 / -1 !important;
    }

    .user-listing-card .listing-price {
        text-align: left !important;
        font-size: 22px !important;
    }

    .user-listing-card .status-badge {
        justify-self: start !important;
    }

    .user-listing-card .listing-actions {
        grid-template-columns: 1fr 1fr !important;
    }

    .listing-select-check {
        top: 10px;
        left: 10px;
    }
}
/* DASHBOARD PAGINAZIONE ANNUNCI */

.dashboard-results-count {
    color: #666;
    font-weight: 900;
    margin: -10px 0 22px;
}

.dashboard-pagination {
    margin-top: 26px;
    margin-bottom: 4px;
}
/* FIX RESET DASHBOARD SEARCH */

.dashboard-listing-search {
    grid-template-columns: 1fr 190px 190px 130px 130px !important;
    align-items: center !important;
}

.dashboard-listing-search button,
.dashboard-listing-search a {
    height: 58px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 22px !important;
    white-space: nowrap !important;
}

.dashboard-listing-search a {
    min-width: 120px !important;
    max-width: 140px !important;
}

/* quando non c'è reset, resta comunque ordinato */
.dashboard-listing-search button {
    min-width: 120px !important;
}

/* MOBILE */
@media (max-width: 900px) {
    .dashboard-listing-search {
        grid-template-columns: 1fr 1fr !important;
    }

    .dashboard-listing-search input {
        grid-column: 1 / -1 !important;
    }

    .dashboard-listing-search button,
    .dashboard-listing-search a {
        width: 100% !important;
        max-width: none !important;
    }
}

@media (max-width: 560px) {
    .dashboard-listing-search {
        grid-template-columns: 1fr !important;
    }

    .dashboard-listing-search input {
        grid-column: auto !important;
    }
}
/* BOTTONE RINNOVA ANNUNCIO */

.small-action.renew {
    background: #0b8f2a !important;
    color: #fff !important;
}

.small-action.renew:hover {
    background: #087522 !important;
}
/* Campo anti-spam invisibile */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}
.main-photo-badge {
    display: block;
    text-align: center;
    background: #111;
    color: #fff;
    font-weight: 900;
    font-size: 13px;
    border-radius: 12px;
    padding: 10px 12px;
    margin-top: 8px;
}

.set-main-photo-btn {
    width: 100%;
    border: none;
    background: #f1f1f1;
    color: #111;
    font-weight: 900;
    border-radius: 12px;
    padding: 10px 12px;
    margin-top: 8px;
    cursor: pointer;
}

.set-main-photo-btn:hover {
    background: #e5e5e5;
}
.edit-image-missing {
    width: 100%;
    height: 160px;
    border-radius: 18px;
    background: #f2f2f2;
    color: #777;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
}
/* CUORE PREFERITI CARD ANNUNCI */
.public-listing-card-wrap {
    position: relative !important;
}

.public-listing-card-wrap .card-favorite-form,
.public-listing-card-wrap > .card-favorite-btn {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    z-index: 50 !important;
    margin: 0 !important;
}

.public-listing-card-wrap .card-favorite-form {
    width: 52px !important;
    height: 52px !important;
}

.public-listing-card-wrap .card-favorite-btn {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;

    border-radius: 50% !important;
    border: none !important;

    background: rgba(255,255,255,.96) !important;
    color: #111 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 31px !important;
    font-weight: 950 !important;
    line-height: 1 !important;

    cursor: pointer !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.18) !important;
    text-decoration: none !important;
    transition: .2s ease !important;
    font-family: inherit !important;
    padding: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.public-listing-card-wrap .card-favorite-btn:hover {
    transform: scale(1.08) !important;
    background: #fff !important;
}

.public-listing-card-wrap .card-favorite-btn.active {
    background: #e30613 !important;
    color: #fff !important;
}

.public-listing-card-wrap .card-favorite-btn:disabled {
    opacity: .65 !important;
    cursor: wait !important;
}

/* Card cliccabile */
.public-listing-card {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer !important;
}

.public-listing-card:hover {
    text-decoration: none !important;
}