* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f6f8;
    color: #202124;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}


/* HEADER */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e4e6e8;
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    min-height: 74px;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.site-logo,
.footer-logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    white-space: nowrap;
}

.site-logo span,
.footer-logo span {
    font-weight: 400;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    margin-left: 30px;
}

.main-nav a {
    font-weight: 600;
    font-size: 15px;
}

.main-nav a:hover {
    opacity: 0.7;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.login-link {
    font-size: 14px;
    font-weight: 600;
}

.post-ad-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #111111;
    color: #ffffff;

    padding: 12px 20px;

    border-radius: 6px;

    font-size: 14px;
    font-weight: 700;
}


/* HERO */

.hero {
    background: #ffffff;
    padding: 70px 24px 65px;
    border-bottom: 1px solid #e5e7ea;
}

.hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    margin: 0 0 14px;

    font-size: 48px;
    line-height: 1.08;

    letter-spacing: -1.8px;
}

.hero-subtitle {
    margin: 0 auto 35px;

    max-width: 650px;

    font-size: 18px;
    line-height: 1.55;

    color: #60646c;
}


/* MAIN SEARCH */

.market-search {
    max-width: 900px;
    margin: 0 auto;

    background: #ffffff;

    border: 1px solid #dfe2e6;
    border-radius: 10px;

    padding: 10px;

    display: flex;
    align-items: center;

    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.07);
}

.market-search select,
.market-search input {
    border: 0;
    background: transparent;
    min-height: 48px;

    padding: 0 16px;

    font-size: 15px;

    outline: none;
}

.market-search select {
    width: 190px;
    border-right: 1px solid #e2e4e7;
}

.market-search input {
    flex: 1;
}

.market-search button {
    border: 0;
    background: #111111;
    color: #ffffff;

    min-height: 48px;

    padding: 0 28px;

    border-radius: 6px;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
}


/* MARKET SECTIONS */

.market-sections {
    max-width: 1180px;
    margin: 0 auto;
    padding: 60px 24px;
}

.section-heading {
    text-align: center;
    margin-bottom: 35px;
}

.section-heading h2 {
    margin: 0 0 8px;

    font-size: 30px;
    letter-spacing: -0.8px;
}

.section-heading p {
    margin: 0;
    color: #6d7178;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.market-card {
    background: #ffffff;

    border: 1px solid #e0e3e6;
    border-radius: 10px;

    padding: 34px 30px;

    transition: transform 0.15s ease,
                box-shadow 0.15s ease;
}

.market-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.07);
}

.market-card-label {
    display: inline-block;

    margin-bottom: 18px;

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;

    color: #777b82;
}

.market-card h3 {
    margin: 0 0 12px;

    font-size: 26px;
}

.market-card p {
    margin: 0 0 22px;

    color: #696d74;

    line-height: 1.55;
}

.market-card-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.market-card-links a {
    font-size: 14px;
    font-weight: 700;
}


/* SELL SECTION */

.sell-section {
    background: #111111;
    color: #ffffff;

    padding: 60px 24px;
}

.sell-inner {
    max-width: 1180px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;
}

.sell-content h2 {
    margin: 0 0 10px;

    font-size: 32px;
}

.sell-content p {
    margin: 0;
    color: #c5c7ca;
}

.sell-button {
    background: #ffffff;
    color: #111111;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 24px;

    border-radius: 6px;

    font-weight: 800;

    white-space: nowrap;
}


/* FOOTER */

.site-footer {
    background: #ffffff;
    border-top: 1px solid #e0e3e6;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;

    padding: 50px 24px;

    display: flex;
    justify-content: space-between;

    gap: 50px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand p {
    color: #6c7076;
    margin: 14px 0 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 60px;
}

.footer-links h4 {
    margin: 0 0 15px;

    font-size: 14px;
}

.footer-links a {
    display: block;

    margin-bottom: 10px;

    color: #666a71;

    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid #e4e6e8;

    padding: 20px 24px;

    text-align: center;
}

.footer-bottom p {
    margin: 0;

    font-size: 13px;
    color: #767a81;
}



/* ACCOUNT PAGES */

.account-page {
    padding: 70px 20px;
    min-height: 650px;
}

.account-container {
    max-width: 560px;
    margin: 0 auto;
}

.account-box {
    background: #ffffff;
    border: 1px solid #e0e3e6;
    border-radius: 12px;
    padding: 38px;
}

.account-heading {
    margin-bottom: 28px;
}

.account-heading h1 {
    margin: 0 0 9px;
    font-size: 30px;
    letter-spacing: -0.8px;
}

.account-heading p {
    margin: 0;
    color: #686d74;
    line-height: 1.5;
}

.account-form {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 19px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 47px;
    border: 1px solid #cfd3d8;
    border-radius: 6px;
    background: #ffffff;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #777d85;
}

.primary-form-button {
    width: 100%;
    border: 0;
    border-radius: 6px;
    background: #111111;
    color: #ffffff;
    min-height: 48px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.inline-button {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.account-switch {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #e5e7e9;
    text-align: center;
    color: #696e75;
    font-size: 14px;
}

.account-switch a {
    color: #111111;
    font-weight: 700;
}

.form-errors {
    background: #fff5f5;
    border: 1px solid #efc8c8;
    border-radius: 6px;
    padding: 13px 15px;
    margin-bottom: 22px;
}

.form-errors p {
    margin: 4px 0;
    font-size: 14px;
}


/* DASHBOARD */

.dashboard-page {
    padding: 55px 24px 75px;
}

.dashboard-container {
    max-width: 1180px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.dashboard-eyebrow {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #777c83;
}

.dashboard-header h1 {
    margin: 0 0 8px;
    font-size: 34px;
    letter-spacing: -1px;
}

.dashboard-header p {
    margin: 0;
    color: #6b7077;
}

.dashboard-post-button {
    background: #111111;
    color: #ffffff;
    padding: 13px 21px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 25px;
}

.dashboard-stat {
    background: #ffffff;
    border: 1px solid #e0e3e6;
    border-radius: 9px;
    padding: 24px;
}

.dashboard-stat span {
    display: block;
    margin-bottom: 13px;
    color: #70757c;
    font-size: 14px;
}

.dashboard-stat strong {
    display: block;
    font-size: 30px;
}

.dashboard-panel {
    background: #ffffff;
    border: 1px solid #e0e3e6;
    border-radius: 10px;
    min-height: 300px;
}

.dashboard-panel-heading {
    padding: 24px 26px;
    border-bottom: 1px solid #e5e7e9;
}

.dashboard-panel-heading h2 {
    margin: 0 0 5px;
    font-size: 20px;
}

.dashboard-panel-heading p {
    margin: 0;
    color: #747980;
    font-size: 14px;
}

.empty-state {
    padding: 70px 25px;
    text-align: center;
}

.empty-state h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.empty-state p {
    margin: 0 0 23px;
    color: #70757c;
}

.dashboard-account {
    margin-top: 22px;
    padding: 20px 24px;
    background: #ffffff;
    border: 1px solid #e0e3e6;
    border-radius: 9px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-account strong,
.dashboard-account span {
    display: block;
}

.dashboard-account span {
    margin-top: 4px;
    color: #71767d;
    font-size: 14px;
}

.dashboard-account > a {
    font-size: 14px;
    font-weight: 700;
}

.register-link {
    font-size: 14px;
    font-weight: 600;
}



/* POST AN AD */

.post-ad-page {
    padding: 65px 24px 80px;
}

.post-ad-container {
    max-width: 1100px;
    margin: 0 auto;
}

.post-ad-heading {
    text-align: center;
    margin-bottom: 38px;
}

.post-ad-eyebrow {
    display: block;
    margin-bottom: 8px;

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;

    color: #777c83;
}

.post-ad-heading h1 {
    margin: 0 0 10px;

    font-size: 36px;
    letter-spacing: -1px;
}

.post-ad-heading p {
    margin: 0;

    font-size: 16px;
    color: #6d7279;
}

.post-type-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.post-type-card {
    display: block;

    background: #ffffff;

    border: 1px solid #e0e3e6;
    border-radius: 12px;

    padding: 34px 28px;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease;
}

.post-type-card:hover {
    transform: translateY(-3px);

    border-color: #b9bec5;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.post-type-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;

    margin-bottom: 24px;

    background: #f3f4f6;

    border-radius: 10px;

    font-size: 28px;
}

.post-type-content h2 {
    margin: 0 0 10px;

    font-size: 24px;
}

.post-type-content p {
    margin: 0 0 18px;

    color: #676c73;

    line-height: 1.55;
}

.post-type-content span {
    display: block;

    font-size: 13px;
    font-weight: 700;

    color: #33373c;
}

@media (max-width: 850px) {

    .post-type-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 560px) {

    .post-ad-page {
        padding: 40px 16px 60px;
    }

    .post-ad-heading h1 {
        font-size: 30px;
    }

    .post-type-card {
        padding: 26px 22px;
    }

}



/* RESPONSIVE */

@media (max-width: 850px) {

    .main-nav {
        display: none;
    }

    .hero {
        padding-top: 50px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .market-grid {
        grid-template-columns: 1fr;
    }

    .market-search {
        display: block;
    }

    .market-search select,
    .market-search input,
    .market-search button {
        width: 100%;
    }

    .market-search select {
        border-right: 0;
        border-bottom: 1px solid #e2e4e7;
    }

    .sell-inner {
        display: block;
        text-align: center;
    }

    .sell-button {
        margin-top: 25px;
    }

    .footer-inner {
        display: block;
    }

    .footer-links {
        margin-top: 35px;
    }

    .dashboard-stats {
    grid-template-columns: 1fr 1fr;
}

}

@media (max-width: 560px) {

    .header-inner {
        min-height: 66px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-logo {
        font-size: 23px;
    }

    .login-link {
        display: none;
    }

    .post-ad-button {
        padding: 10px 14px;
    }

    .hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .market-sections {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .register-link {
    display: none;
}

.account-page {
    padding: 35px 15px;
}

.account-box {
    padding: 25px 20px;
}

.form-row {
    grid-template-columns: 1fr;
    gap: 0;
}

.dashboard-page {
    padding: 35px 16px 55px;
}

.dashboard-header {
    display: block;
}

.dashboard-post-button {
    display: inline-flex;
    margin-top: 20px;
}

.dashboard-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dashboard-stat {
    padding: 18px;
}

.dashboard-account {
    align-items: flex-start;
    gap: 20px;
}

}


/* LISTING FORM */

.listing-form-page {
    padding: 55px 24px 80px;
}

.listing-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.listing-form-heading {
    margin-bottom: 30px;
}

.listing-form-heading h1 {
    margin: 0 0 8px;
    font-size: 34px;
    letter-spacing: -1px;
}

.listing-form-heading p {
    margin: 0;
    color: #6d7279;
}

.listing-form-section {
    background: #ffffff;
    border: 1px solid #e0e3e6;
    border-radius: 10px;
    padding: 28px;
    margin-bottom: 22px;
}

.listing-form-section h2 {
    margin: 0 0 24px;
    font-size: 20px;
}

.vehicle-type-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.vehicle-type-option {
    position: relative;
    cursor: pointer;
}

.vehicle-type-option input {
    position: absolute;
    opacity: 0;
}

.vehicle-type-option span {
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d4d8dc;
    border-radius: 7px;

    background: #ffffff;

    font-size: 15px;
    font-weight: 700;
}

.vehicle-type-option input:checked + span {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.listing-form textarea {
    resize: vertical;
    min-height: 150px;
}

.listing-submit-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.listing-submit-button {
    width: auto;
    min-width: 180px;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 22px;

    border: 1px solid #cfd3d8;
    border-radius: 6px;

    background: #ffffff;

    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 560px) {

    .listing-form-page {
        padding: 35px 16px 60px;
    }

    .listing-form-section {
        padding: 22px 18px;
    }

    .vehicle-type-options {
        grid-template-columns: 1fr;
    }

    .listing-submit-row {
        display: block;
    }

    .listing-submit-row .secondary-button,
    .listing-submit-button {
        width: 100%;
    }

    .listing-submit-button {
        margin-top: 10px;
    }

}
/* Vehicle marketplace */
.skip-link{position:absolute;left:12px;top:-100px;background:#111;color:white;padding:12px;z-index:100}.skip-link:focus{top:8px}
:focus-visible{outline:3px solid #1769aa;outline-offset:3px}.text-link{text-decoration:underline;text-underline-offset:3px}
.mobile-menu{display:none;position:relative}.mobile-menu summary{cursor:pointer;padding:10px;border:1px solid #d5d8dc;border-radius:6px}.mobile-menu nav{position:absolute;right:0;top:100%;background:white;border:1px solid #ddd;border-radius:8px;min-width:230px;z-index:20;padding:10px;box-shadow:0 8px 24px #0002}.mobile-menu nav a{display:block;padding:12px}
.marketplace-page{max-width:1240px;margin:0 auto;padding:48px 24px 72px;min-height:55vh}.narrow-page{max-width:820px}.marketplace-page h1{font-size:clamp(28px,4vw,40px);line-height:1.12;margin:8px 0 18px;overflow-wrap:anywhere}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.eyebrow{text-transform:uppercase;font-size:12px;font-weight:700;letter-spacing:.08em;color:#555}.notice{padding:18px 20px;background:#edf4fa;border:1px solid #cddfeb;border-radius:8px;line-height:1.6;margin:20px 0}.search-filters{background:#fff;border:1px solid #e1e3e6;border-radius:12px;padding:24px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.search-filters .form-group{margin:0}.search-filters .listing-actions{grid-column:1/-1}.listing-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.listing-actions form{display:flex;gap:10px;flex-wrap:wrap}.secondary-button{display:inline-flex;justify-content:center;align-items:center;min-height:42px;padding:10px 16px;background:white;border:1px solid #c8ccd1;border-radius:6px;font:inherit;cursor:pointer}.primary-form-button{cursor:pointer}.vehicle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.vehicle-card{background:white;border:1px solid #e0e3e6;border-radius:12px;overflow:hidden}.vehicle-card img{display:block;width:100%;height:220px;object-fit:cover}.vehicle-card-content{padding:20px}.vehicle-card h2{font-size:21px;overflow-wrap:anywhere}.vehicle-card p{line-height:1.5;color:#53575b}.vehicle-price{font-size:28px!important;font-weight:800;color:#111!important;margin:12px 0}.photo-placeholder{min-height:220px;background:#e9ebee;display:flex;align-items:center;justify-content:center;color:#62666d;border-radius:8px}.account-listings{display:grid;gap:18px}.account-listing{padding:24px;background:white;border:1px solid #e0e3e6;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:24px;overflow-wrap:anywhere}.account-listing h3{font-size:22px;margin:12px 0}.status-badge{display:inline-block;padding:6px 12px;border-radius:30px;background:#eff0f2;font-size:13px;font-weight:700}.pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:36px}.vehicle-detail-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:32px}.photo-gallery{display:grid;grid-template-columns:1fr 1fr;gap:12px}.photo-gallery a:first-child{grid-column:1/-1}.photo-gallery img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:cover;border-radius:10px}.vehicle-specs{display:grid;grid-template-columns:1fr 1fr;background:white;border:1px solid #e0e3e6;border-radius:10px;overflow:hidden}.vehicle-specs>div{padding:16px;border-bottom:1px solid #eee}.vehicle-specs dt{color:#666;font-size:13px}.vehicle-specs dd{margin:8px 0 0;font-weight:600;overflow-wrap:anywhere}.listing-description{line-height:1.8;overflow-wrap:anywhere}.contact-panel{background:white;border:1px solid #e0e3e6;border-radius:12px;padding:26px;align-self:start}.contact-actions{display:grid;gap:12px;margin:24px 0}.contact-actions a{text-align:center}.muted{color:#666;font-size:14px;line-height:1.6}.footer-links h2{font-size:15px}.form-errors:focus{outline:2px solid #a12020}
@media(max-width:1000px){.search-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.vehicle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vehicle-detail-layout{grid-template-columns:1fr}.contact-panel{order:-1}.header-inner{gap:18px}.main-nav{gap:16px;margin-left:0}}
@media(max-width:850px){.mobile-menu{display:block}.header-actions{margin-left:auto}.account-listing{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.marketplace-page{padding:32px 16px 48px}.header-inner{gap:10px}.site-logo{font-size:21px}.header-actions .post-ad-button{font-size:12px;padding:10px}.mobile-menu summary{font-size:13px;padding:9px}.search-filters,.vehicle-grid{grid-template-columns:1fr}.page-heading{align-items:flex-start;flex-direction:column}.account-listing{padding:18px}.vehicle-specs{grid-template-columns:1fr 1fr}.search-filters{padding:18px}.footer-links{grid-template-columns:1fr 1fr}.vehicle-type-option:has(input:disabled){opacity:.5}.vehicle-type-option:has(input:disabled)::after{content:'Coming soon';font-size:12px}}

.search-filters .listing-actions{align-items:stretch}.listing-actions>.primary-form-button,.listing-actions form>.primary-form-button{width:auto}.search-filters .listing-actions>.primary-form-button{flex:1}.contact-actions .primary-form-button{display:block}.account-listing h2{font-size:22px}

.photo-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}.photo-editor-card{padding:16px;border:1px solid #ddd;border-radius:10px;background:white;display:grid;gap:12px;min-width:0}.photo-editor-card img{width:100%;height:auto;aspect-ratio:8/5;object-fit:cover;border-radius:6px}.photo-editor-card label{display:flex;align-items:center;gap:8px;line-height:1.4}.photo-editor-card input[type=number]{width:100%;padding:10px;border:1px solid #ccc;border-radius:6px;font:inherit}.photo-editor-card input[type=radio],.photo-editor-card input[type=checkbox],.auto-cover input{width:auto;flex:none}.auto-cover{display:flex;align-items:center;gap:10px;margin:20px 0}.review-history{margin-top:36px}.review-entry{background:#fff;border:1px solid #e0e3e6;border-radius:8px;padding:18px 22px;margin:16px 0;overflow-wrap:anywhere}.review-reason{white-space:normal;line-height:1.7}.moderation-card{background:white;border:1px solid #e0e3e6;border-radius:12px;padding:24px;margin:24px 0}.moderation-card .page-heading{margin-bottom:16px}.rejection-feedback{flex-basis:100%;max-width:100%;overflow-wrap:anywhere}.account-listing:has(.rejection-feedback){flex-wrap:wrap}.account-listing:has(.rejection-feedback)>.listing-actions{width:100%}
@media(max-width:560px){.photo-editor-grid{grid-template-columns:1fr}.moderation-card{padding:18px}}

.upload-previews{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px;margin-top:16px}.upload-preview{position:relative;padding:0 0 12px;background:#fff;border:1px solid #d5dbe3;border-radius:10px;overflow:hidden;cursor:grab;min-width:0}.upload-preview img{display:block;width:100%;height:140px;object-fit:cover}.upload-preview p{margin:10px 12px;font-weight:600}.upload-preview .photo-remove{position:absolute;top:7px;right:7px;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:#172334;color:white;font-size:25px;line-height:1;cursor:pointer}.photo-move-controls{display:flex;gap:8px;padding:0 12px}.photo-move-controls button{padding:5px 14px;cursor:pointer;border:1px solid #bcc5d1;border-radius:5px;background:white}.photo-move-controls button:disabled{opacity:.35;cursor:default}.upload-preview button:focus-visible{outline:3px solid #1476ff;outline-offset:-3px}

.compact-search{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;align-items:end;gap:16px}.advanced-search{grid-column:1/-1}.advanced-search summary{cursor:pointer;list-style:none;padding:10px 0;font-weight:600}.advanced-search summary::-webkit-details-marker{display:none}.advanced-search .collapse-icon{display:none}.advanced-search[open] .expand-icon{display:none}.advanced-search[open] .collapse-icon{display:inline}.advanced-search-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:12px}.expand-icon,.collapse-icon{font-size:22px;margin-right:8px}@media(max-width:600px){.compact-search{grid-template-columns:1fr}.advanced-search-fields{grid-template-columns:1fr}}

.model-suggestions{border:1px solid #ccd3dc;border-radius:6px;background:#fff;max-height:260px;overflow-y:auto;margin-top:4px}.model-suggestions[hidden]{display:none}.model-suggestions button{display:block;width:100%;text-align:left;background:white;border:0;border-bottom:1px solid #edf0f4;padding:10px 12px;cursor:pointer;font:inherit}.model-suggestions button:hover,.model-suggestions button:focus,.model-suggestions button.highlighted{background:#edf5ff}

.promotion-page{max-width:1100px;margin:auto}.promotion-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}.promotion-section{padding:24px;background:#fff;border:1px solid #dce3eb;border-radius:14px;margin-bottom:22px}.promotion-section h2{margin-top:0}.promotion-section h2 small{font-size:14px;font-weight:400}.promotion-packages{display:grid;grid-template-columns:1fr 1fr;gap:14px}.promotion-package{display:flex;gap:12px;align-items:flex-start;padding:20px;border:2px solid #dce3eb;border-radius:12px;cursor:pointer}.promotion-package:has(input:checked){border-color:#1767cf;background:#f1f7ff}.promotion-package>span{display:grid;gap:9px}.promotion-package b{font-size:26px;color:#164f99}.promotion-package input,.promotion-location-list input{width:18px;height:18px;flex:none;accent-color:#1767cf}.promotion-locations{border-top:1px solid #e1e6ed;padding:16px 0}.promotion-locations summary,.promotion-section>summary{cursor:pointer;font-weight:600}.promotion-locations input[type=search]{width:100%;padding:12px;border:1px solid #c7d0db;border-radius:8px;margin:8px 0}.promotion-location-list{max-height:270px;overflow:auto;margin-top:12px}.promotion-location-list label{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #edf0f4;cursor:pointer}.promotion-location-list label[hidden]{display:none}.promotion-location-list label:has(input:checked){background:#edf5ff}.promotion-location-list label:has(input:disabled){opacity:.5}.promotion-location-list small{display:block;color:#596b80;margin-top:4px}.promotion-summary{background:#f4f7fb;border:1px solid #dce3eb;padding:24px;border-radius:14px;position:sticky;top:20px}.promotion-summary h2{margin-top:0}.promotion-summary button{display:block;width:100%;margin:12px 0}.promotion-summary small{display:block;line-height:1.5}.promotion-summary #promotion-breakdown p{display:flex;justify-content:space-between;gap:12px}.promotion-total{border-top:1px solid #cfd8e4;padding-top:18px;display:flex;justify-content:space-between}.promotion-total strong{font-size:26px}.promotion-test-note{font-size:12px;color:#596b80;line-height:1.6}.promotion-summary button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:800px){.promotion-layout{grid-template-columns:1fr}.promotion-summary{position:static}}@media(max-width:480px){.promotion-packages{grid-template-columns:1fr}.promotion-section,.promotion-summary{padding:18px}}

/* Compact page introductions: keep the useful content close to the navigation. */
.marketplace-page{padding-top:20px}
.marketplace-page h1{font-size:26px;line-height:1.2;margin:0 0 12px}
.page-heading{margin-bottom:18px;gap:16px}
.page-heading .eyebrow{display:none}
.page-heading p{margin:6px 0 0;line-height:1.4}
.browse-page .browse-title{font-size:18px;font-weight:600;text-transform:uppercase;color:#101b59;margin:0 0 16px;letter-spacing:0}
.browse-page .compact-search{margin-bottom:22px}
.results-count[hidden]{display:none}
.listing-form-page,.account-page,.post-ad-page{padding-top:20px}
.listing-form-heading,.account-heading,.post-ad-heading{margin-bottom:18px}
.listing-form-heading h1,.account-heading h1,.post-ad-heading h1{font-size:26px;margin:0 0 8px;line-height:1.2;letter-spacing:0}
.post-ad-eyebrow{display:none}
.home-page.marketplace-page{padding-top:20px}
.home-page .home-search{margin-bottom:24px}
.home-page .home-search>.eyebrow{margin:0 0 12px}
.home-page .home-listings{margin-top:24px}
@media(max-width:560px){.marketplace-page{padding-top:16px}.listing-form-page,.account-page,.post-ad-page{padding-top:16px}.marketplace-page h1,.listing-form-heading h1,.account-heading h1,.post-ad-heading h1{font-size:23px}.browse-page .browse-title{font-size:18px}.page-heading{gap:10px;margin-bottom:16px}}
.browse-page .promotion-section{margin-top:0;margin-bottom:28px}.latest-section-title{font-size:28px;margin:0 0 20px}
