:root {
    --prm-navy: #092c4d;
    --prm-navy-light: #124d7d;
    --prm-blue: #356fc2;
    --prm-orange: #f2763b;
    --prm-bg: #f4f7fa;
    --prm-border: #dfe7ee;
    --prm-text: #183247;
    --prm-muted: #6b7f90;
    --prm-white: #fff;
    --prm-radius: 16px;
    --prm-shadow: 0 12px 35px rgba(9, 44, 77, .1);
}

body.prm-marketplace-page {
    background: var(--prm-bg);
}

#main > #content.prm-page,
#content.prm-page {
    float: none !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
}

.prm-page {
    padding: 28px 15px 60px;
    color: var(--prm-text);
    font-family: inherit;
}

.prm-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.prm-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
    gap: 45px;
    align-items: center;
    overflow: hidden;
    padding: 48px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 80% 10%, rgba(53, 111, 194, .7), transparent 35%),
        linear-gradient(135deg, #071f37, var(--prm-navy));
    color: #fff;
    box-shadow: var(--prm-shadow);
}

.prm-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #ffaf7f;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.prm-hero h1,
.prm-submit h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 4.4vw, 54px);
    line-height: 1.08;
}

.prm-hero p {
    max-width: 700px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .8);
    font-size: 17px;
    line-height: 1.7;
}

.prm-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.prm-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 11px 21px;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-weight: 800;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.prm-button:hover {
    transform: translateY(-2px);
}

.prm-button--orange {
    background: var(--prm-orange);
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(242, 118, 59, .3);
}

.prm-button--navy {
    background: var(--prm-navy);
    color: #fff !important;
}

.prm-button--ghost {
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .08);
    color: #fff !important;
}

.prm-button--whatsapp {
    background: #18a957;
    color: #fff !important;
}

.prm-hero__stats {
    display: grid;
    gap: 12px;
}

.prm-hero__stats span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 20px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 13px;
    background: rgba(255, 255, 255, .08);
}

.prm-hero__stats strong {
    color: #fff;
    font-size: 22px;
}

.prm-hero__stats small {
    color: rgba(255, 255, 255, .72);
}

.prm-category-strip {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    margin: 22px 0;
    padding: 4px 2px 10px;
    scrollbar-width: thin;
}

.prm-category-strip a {
    flex: 0 0 auto;
    padding: 10px 16px;
    border: 1px solid var(--prm-border);
    border-radius: 999px;
    background: #fff;
    color: var(--prm-text);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.prm-category-strip a:hover,
.prm-category-strip a.is-active {
    border-color: var(--prm-orange);
    background: var(--prm-orange);
    color: #fff;
}

.prm-market-layout {
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.prm-filter {
    position: sticky;
    float: none !important;
    top: 20px;
    box-sizing: border-box !important;
    width: 100% !important;
    padding: 22px;
    border: 1px solid var(--prm-border);
    border-radius: var(--prm-radius);
    background: #fff;
    box-shadow: 0 8px 24px rgba(9, 44, 77, .06);
}

.prm-filter__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.prm-filter h2 {
    margin: 0 0 18px;
    color: var(--prm-navy);
    font-size: 19px;
}

.prm-filter-close,
.prm-filter-toggle {
    display: none;
}

.prm-filter label,
.prm-field > label {
    display: block;
    margin: 14px 0 7px;
    color: #304b61;
    font-size: 13px;
    font-weight: 800;
}

.prm-filter input,
.prm-filter select,
.prm-results__bar select,
.prm-listing-form input,
.prm-listing-form select,
.prm-listing-form textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cedae4;
    border-radius: 9px;
    outline: 0;
    background: #fff;
    color: var(--prm-text);
    font: inherit;
}

.prm-filter input:focus,
.prm-filter select:focus,
.prm-listing-form input:focus,
.prm-listing-form select:focus,
.prm-listing-form textarea:focus {
    border-color: var(--prm-blue);
    box-shadow: 0 0 0 3px rgba(53, 111, 194, .12);
}

.prm-price-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.prm-filter .prm-button {
    width: 100%;
    margin-top: 20px;
}

.prm-filter-reset {
    display: block;
    margin-top: 13px;
    color: var(--prm-muted);
    font-size: 12px;
    text-align: center;
}

.prm-results__bar {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.prm-results__bar strong {
    color: var(--prm-navy);
}

.prm-results__bar select {
    width: auto;
    min-width: 190px;
}

.prm-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.prm-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--prm-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(9, 44, 77, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.prm-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--prm-shadow);
}

.prm-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e7edf2;
}

.prm-card__image img,
.prm-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prm-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dfe9f2, #f4f7fa);
    color: var(--prm-navy);
    font-weight: 900;
}

.prm-condition,
.prm-featured {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    padding: 6px 9px;
    border-radius: 7px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.prm-condition--sifir {
    background: #15885d;
}

.prm-condition--ikinci-el {
    background: var(--prm-blue);
}

.prm-featured {
    right: 12px;
    left: auto;
    background: var(--prm-orange);
}

.prm-favorite {
    position: absolute;
    z-index: 4;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .93);
    color: var(--prm-navy);
    font-size: 24px;
    line-height: 38px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(9, 44, 77, .18);
}

.prm-card:has(.prm-featured) .prm-favorite {
    top: 50px;
}

.prm-favorite.is-active {
    color: #e23d52;
}

.prm-card__body {
    padding: 15px;
}

.prm-card__category {
    color: var(--prm-blue);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.prm-card h2 {
    min-height: 44px;
    margin: 7px 0 11px;
    font-size: 16px;
    line-height: 1.4;
}

.prm-card h2 a {
    color: var(--prm-navy);
    text-decoration: none;
}

.prm-card__price {
    display: block;
    color: var(--prm-orange);
    font-size: 21px;
}

.prm-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid #edf1f4;
    color: var(--prm-muted);
    font-size: 11px;
}

.prm-pagination {
    margin-top: 30px;
    text-align: center;
}

.prm-pagination .page-numbers {
    display: inline-flex;
    min-width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin: 3px;
    border-radius: 8px;
    background: #fff;
    color: var(--prm-navy);
    text-decoration: none;
}

.prm-pagination .current {
    background: var(--prm-orange);
    color: #fff;
}

.prm-empty {
    padding: 50px 25px;
    border: 1px dashed #bdcad5;
    border-radius: var(--prm-radius);
    background: #fff;
    text-align: center;
}

.prm-empty strong {
    display: block;
    color: var(--prm-navy);
    font-size: 22px;
}

.prm-breadcrumb {
    display: flex;
    gap: 8px;
    overflow: hidden;
    margin: 0 0 18px;
    color: var(--prm-muted);
    font-size: 13px;
    white-space: nowrap;
}

.prm-breadcrumb a {
    color: var(--prm-blue);
}

.prm-single__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(330px, .75fr);
    gap: 24px;
    align-items: start;
}

.prm-gallery,
.prm-listing-summary,
.prm-description,
.prm-report {
    border: 1px solid var(--prm-border);
    border-radius: var(--prm-radius);
    background: #fff;
    box-shadow: 0 8px 25px rgba(9, 44, 77, .06);
}

.prm-gallery {
    padding: 14px;
}

.prm-gallery__main {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #e7edf2;
    cursor: zoom-in;
}

.prm-gallery__thumbs {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    margin-top: 11px;
}

.prm-gallery__thumbs button {
    flex: 0 0 76px;
    overflow: hidden;
    height: 62px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: none;
    cursor: pointer;
}

.prm-gallery__thumbs button.is-active {
    border-color: var(--prm-orange);
}

.prm-gallery__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prm-gallery__zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 10px;
    border-radius: 8px;
    background: rgba(9, 44, 77, .86);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

body.prm-lightbox-open {
    overflow: hidden;
}

.prm-lightbox[hidden] {
    display: none !important;
}

.prm-lightbox {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px 80px;
    background: rgba(2, 13, 23, .94);
}

.prm-lightbox__stage {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.prm-lightbox__stage img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
}

.prm-lightbox__close,
.prm-lightbox__nav {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .13);
    color: #fff;
    cursor: pointer;
}

.prm-lightbox__close {
    top: 18px;
    right: 22px;
    width: 44px;
    height: 44px;
    font-size: 32px;
}

.prm-lightbox__nav {
    top: 50%;
    width: 52px;
    height: 52px;
    transform: translateY(-50%);
    font-size: 42px;
}

.prm-lightbox__nav--prev {
    left: 18px;
}

.prm-lightbox__nav--next {
    right: 18px;
}

.prm-lightbox__count {
    position: absolute;
    bottom: 18px;
    left: 50%;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .13);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    transform: translateX(-50%);
}

.prm-listing-summary {
    position: sticky;
    float: none !important;
    box-sizing: border-box !important;
    width: 100% !important;
    top: 20px;
    padding: 25px;
}

.prm-summary__top {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: space-between;
    color: var(--prm-blue);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.prm-favorite--inline {
    position: static;
    border: 1px solid var(--prm-border);
    box-shadow: none;
}

.prm-listing-summary h1 {
    margin: 10px 0;
    color: var(--prm-navy);
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.2;
}

.prm-single__price {
    display: inline-block;
    color: var(--prm-orange);
    font-size: 30px;
}

.prm-negotiable {
    display: inline-block;
    margin-left: 8px;
    padding: 5px 8px;
    border-radius: 6px;
    background: #fff1e8;
    color: #bd5526;
    font-size: 11px;
    font-weight: 800;
}

.prm-details {
    margin: 20px 0;
    border-top: 1px solid #e8eef3;
}

.prm-details div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 0;
    border-bottom: 1px solid #e8eef3;
}

.prm-details dt {
    color: var(--prm-muted);
}

.prm-details dd {
    margin: 0;
    color: var(--prm-navy);
    font-weight: 800;
    text-align: right;
}

.prm-seller {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    background: #f5f8fb;
}

.prm-seller__avatar {
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--prm-navy);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.prm-seller small,
.prm-seller strong {
    display: block;
}

.prm-seller small {
    color: var(--prm-muted);
}

.prm-contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 15px;
}

.prm-safety-note {
    margin: 15px 0 0;
    padding: 12px;
    border-left: 3px solid #e6a622;
    background: #fff9e7;
    color: #6b5a2b;
    font-size: 12px;
    line-height: 1.55;
}

.prm-description,
.prm-report {
    margin-top: 24px;
    padding: 26px;
}

.prm-description h2 {
    margin: 0 0 17px;
    color: var(--prm-navy);
}

.prm-description > div {
    font-size: 15px;
    line-height: 1.8;
}

.prm-report {
    display: flex;
    justify-content: space-between;
    padding: 16px 22px;
}

.prm-report a {
    color: #c63f4f;
    font-weight: 800;
}

.prm-submit {
    display: grid;
    grid-template-columns: minmax(300px, .7fr) minmax(0, 1.3fr);
    width: min(1120px, calc(100% - 30px));
    margin: 30px auto 60px;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--prm-shadow);
}

.prm-auth {
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.1fr);
    width: min(960px, calc(100% - 30px));
    margin: 35px auto 65px;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--prm-shadow);
}

.prm-auth__intro {
    padding: 48px;
    background:
        radial-gradient(circle at 90% 10%, rgba(53, 111, 194, .68), transparent 38%),
        var(--prm-navy);
    color: #fff;
}

.prm-auth__intro h1 {
    margin: 0;
    color: #fff;
    font-size: 40px;
    line-height: 1.12;
}

.prm-auth__intro p {
    color: rgba(255, 255, 255, .78);
    line-height: 1.7;
}

.prm-auth__intro ul {
    display: grid;
    gap: 12px;
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
}

.prm-auth__intro li::before {
    margin-right: 9px;
    color: #ff9a62;
    content: "✓";
    font-weight: 900;
}

.prm-auth__panel {
    padding: 48px;
}

.prm-auth__panel h2 {
    margin: 0 0 22px;
    color: var(--prm-navy);
    font-size: 28px;
}

.prm-auth__panel label {
    display: block;
    margin-bottom: 6px;
    color: #304b61;
    font-weight: 800;
}

.prm-auth__panel input[type="text"],
.prm-auth__panel input[type="password"] {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #cedae4;
    border-radius: 9px;
}

.prm-auth__panel .login-remember label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
}

.prm-auth__panel .button-primary {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 9px;
    background: var(--prm-navy);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.prm-auth__links {
    display: grid;
    gap: 13px;
    margin-top: 18px;
    text-align: center;
}

.prm-submit__intro {
    padding: 45px;
    background:
        radial-gradient(circle at 90% 10%, rgba(53, 111, 194, .65), transparent 35%),
        var(--prm-navy);
    color: #fff;
}

.prm-submit__intro h1 {
    font-size: 42px;
}

.prm-submit__intro > p {
    color: rgba(255, 255, 255, .78);
    line-height: 1.7;
}

.prm-submit__intro ol {
    display: grid;
    gap: 14px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: prm-steps;
}

.prm-submit__intro li {
    position: relative;
    padding: 15px 15px 15px 58px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background: rgba(255, 255, 255, .07);
    counter-increment: prm-steps;
}

.prm-submit__intro li::before {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--prm-orange);
    content: counter(prm-steps);
    font-weight: 900;
}

.prm-submit__intro li strong,
.prm-submit__intro li span {
    display: block;
}

.prm-submit__intro li span {
    margin-top: 3px;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
}

.prm-submit__form {
    padding: 36px;
}

.prm-listing-form fieldset {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 17px;
    margin: 0 0 28px;
    padding: 0;
    border: 0;
}

.prm-listing-form legend {
    grid-column: 1 / -1;
    width: 100%;
    margin-bottom: 5px;
    padding-bottom: 11px;
    border-bottom: 1px solid #e4ebf1;
    color: var(--prm-navy);
    font-size: 21px;
    font-weight: 900;
}

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

.prm-field small {
    display: block;
    margin-top: 5px;
    color: var(--prm-muted);
    font-size: 11px;
}

.prm-listing-form textarea {
    resize: vertical;
}

.prm-field--check {
    display: flex;
    align-items: end;
    padding-bottom: 10px;
}

.prm-field--check > label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 14px 0 0;
    cursor: pointer;
}

.prm-field--check input {
    width: 17px;
    min-height: 17px;
    margin-top: 1px;
}

.prm-upload {
    padding: 25px;
    border: 2px dashed #b9cad7;
    border-radius: 13px;
    background: #f7fafc;
    text-align: center;
    cursor: pointer;
}

.prm-upload strong,
.prm-upload span {
    display: block;
}

.prm-upload span {
    margin-top: 5px;
    color: var(--prm-muted);
    font-size: 12px;
}

.prm-upload input {
    margin-top: 14px;
    padding: 8px;
    background: #fff;
}

.prm-image-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.prm-image-preview img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    object-fit: cover;
}

.prm-submit-button {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
}

.prm-form-note {
    margin: 12px 0 0;
    color: var(--prm-muted);
    font-size: 11px;
    text-align: center;
}

.prm-notice {
    padding: 16px;
    border-radius: 10px;
    line-height: 1.6;
}

.prm-notice--error {
    margin-bottom: 20px;
    border: 1px solid #f1b7bd;
    background: #fff0f2;
    color: #952d3a;
}

.prm-notice--success {
    padding: 45px 25px;
    background: #f0fbf5;
    color: #226345;
    text-align: center;
}

.prm-notice--success h2 {
    color: #155138;
    font-size: 30px;
}

.prm-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 980px) {
    .prm-listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .prm-single__layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    }

    .prm-submit {
        grid-template-columns: 1fr;
    }

    .prm-auth {
        grid-template-columns: 1fr;
    }

    .prm-submit__intro {
        padding: 35px;
    }

    .prm-submit__intro ol {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .prm-page {
        padding: 15px 10px 45px;
    }

    .prm-hero {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 30px 22px;
        border-radius: 18px;
    }

    .prm-hero__stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .prm-hero__stats span {
        display: block;
        padding: 13px 8px;
        text-align: center;
    }

    .prm-hero__stats strong,
    .prm-hero__stats small {
        display: block;
    }

    .prm-hero__stats strong {
        font-size: 16px;
    }

    .prm-hero__stats small {
        margin-top: 4px;
        font-size: 9px;
    }

    .prm-market-layout {
        display: block;
    }

    .prm-filter {
        position: fixed !important;
        z-index: 99999;
        inset: 0 0 0 auto;
        box-sizing: border-box;
        width: min(340px, 90vw);
        overflow-y: auto;
        border-radius: 0;
        transform: translateX(110%);
        transition: transform .25s ease;
    }

    body.prm-filter-open {
        overflow: hidden;
    }

    body.prm-filter-open .prm-filter {
        transform: translateX(0);
    }

    .prm-filter-close {
        display: block;
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 50%;
        background: #edf2f6;
        color: var(--prm-navy);
        font-size: 25px;
    }

    .prm-filter-toggle {
        display: inline-flex;
        margin-right: 10px;
        padding: 8px 13px;
        border: 0;
        border-radius: 8px;
        background: var(--prm-navy);
        color: #fff;
        font-weight: 800;
    }

    .prm-results__bar {
        gap: 8px;
    }

    .prm-results__bar strong {
        font-size: 12px;
    }

    .prm-results__bar select {
        min-width: 130px;
        max-width: 145px;
        font-size: 11px;
    }

    .prm-single__layout {
        grid-template-columns: 1fr;
    }

    .prm-listing-summary {
        position: static !important;
    }

    .prm-submit {
        width: calc(100% - 20px);
        margin: 15px auto 45px;
        border-radius: 16px;
    }

    .prm-submit__intro,
    .prm-submit__form {
        padding: 27px 20px;
    }

    .prm-auth {
        width: calc(100% - 20px);
        margin: 15px auto 45px;
        border-radius: 16px;
    }

    .prm-auth__intro,
    .prm-auth__panel {
        padding: 28px 22px;
    }

    .prm-lightbox {
        padding: 55px 10px;
    }

    .prm-lightbox__nav {
        width: 42px;
        height: 42px;
        background: rgba(9, 44, 77, .72);
    }

    .prm-lightbox__nav--prev {
        left: 8px;
    }

    .prm-lightbox__nav--next {
        right: 8px;
    }

    .prm-submit__intro ol {
        grid-template-columns: 1fr;
    }

    .prm-listing-form fieldset {
        grid-template-columns: 1fr;
    }

    .prm-field--full,
    .prm-listing-form legend {
        grid-column: auto;
    }
}

@media (max-width: 520px) {
    .prm-listing-grid {
        gap: 10px;
    }

    .prm-card h2 {
        min-height: 40px;
        font-size: 14px;
    }

    .prm-card__body {
        padding: 11px;
    }

    .prm-card__price {
        font-size: 17px;
    }

    .prm-card__meta {
        display: block;
    }

    .prm-card__meta span {
        display: block;
        margin-top: 4px;
    }

    .prm-condition,
    .prm-featured {
        top: 7px;
        left: 7px;
        padding: 5px 7px;
        font-size: 9px;
    }

    .prm-featured {
        right: 7px;
        left: auto;
    }

    .prm-favorite {
        top: 7px;
        right: 7px;
        width: 32px;
        height: 32px;
        font-size: 20px;
        line-height: 32px;
    }

    .prm-card:has(.prm-featured) .prm-favorite {
        top: 42px;
    }

    .prm-contact-actions {
        grid-template-columns: 1fr;
    }

    .prm-image-preview {
        grid-template-columns: repeat(3, 1fr);
    }
}
