:root {
    /* Amarillo maquinaria (referencia Caterpillar / equipo pesado) */
    --ams-yellow: #ffc20e;
    --ams-yellow-hover: #e6ad00;
    --ams-yellow-soft: #fff8e1;
    --ams-yellow-muted: rgba(255, 194, 14, 0.14);

    /* Negros suaves — acentos, no fondo dominante */
    --ams-black: #141414;
    --ams-charcoal: #1e1e1e;
    --ams-gray-800: #2d2d2d;
    --ams-gray-600: #525252;
    --ams-muted: #737373;
    --ams-border: #e5e5e3;
    --ams-surface: #ffffff;
    --ams-bg: #f6f6f4;

    --ams-primary: var(--ams-yellow);
    --ams-dark: var(--ams-black);

    /* Bootstrap overrides */
    --bs-primary: #ffc20e;
    --bs-primary-rgb: 255, 194, 14;
    --bs-body-bg: var(--ams-bg);
    --bs-body-color: var(--ams-black);
    --bs-link-color: var(--ams-black);
    --bs-link-hover-color: var(--ams-gray-800);
    --bs-border-color: var(--ams-border);
    --bs-focus-ring-color: rgba(255, 194, 14, 0.35);
}

@font-face {
    font-family: "bootstrap-icons";
    src: url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/fonts/bootstrap-icons.woff2") format("woff2");
    font-display: block;
}

html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--ams-bg);
    color: var(--ams-black);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

.site-main {
    flex: 1 0 auto;
    width: 100%;
}

body.modal-open {
    padding-right: 0 !important;
}

html.modal-open {
    overflow: hidden;
}

/* ── Botones marca ───────────────────────────────────── */
.btn-ams {
    --bs-btn-bg: var(--ams-yellow);
    --bs-btn-border-color: var(--ams-yellow);
    --bs-btn-color: var(--ams-black);
    --bs-btn-hover-bg: var(--ams-yellow-hover);
    --bs-btn-hover-border-color: var(--ams-yellow-hover);
    --bs-btn-hover-color: var(--ams-black);
    --bs-btn-active-bg: var(--ams-yellow-hover);
    --bs-btn-active-border-color: var(--ams-yellow-hover);
    --bs-btn-active-color: var(--ams-black);
    --bs-btn-focus-shadow-rgb: 255, 194, 14;
    font-weight: 600;
}

.btn-ams-outline {
    --bs-btn-color: var(--ams-black);
    --bs-btn-border-color: var(--ams-border);
    --bs-btn-hover-bg: var(--ams-yellow-muted);
    --bs-btn-hover-border-color: var(--ams-yellow);
    --bs-btn-hover-color: var(--ams-black);
    --bs-btn-active-bg: var(--ams-yellow-soft);
    --bs-btn-active-border-color: var(--ams-yellow);
    font-weight: 500;
}

.btn-primary {
    --bs-btn-bg: var(--ams-yellow);
    --bs-btn-border-color: var(--ams-yellow);
    --bs-btn-color: var(--ams-black);
    --bs-btn-hover-bg: var(--ams-yellow-hover);
    --bs-btn-hover-border-color: var(--ams-yellow-hover);
    --bs-btn-hover-color: var(--ams-black);
    --bs-btn-active-bg: var(--ams-yellow-hover);
    --bs-btn-active-border-color: var(--ams-yellow-hover);
    --bs-btn-disabled-bg: #e8e8e5;
    --bs-btn-disabled-border-color: #e8e8e5;
    --bs-btn-disabled-color: #a3a3a3;
    font-weight: 600;
}

.text-primary {
    color: var(--ams-black) !important;
}

/* ── Header ──────────────────────────────────────────── */
.site-header {
    flex-shrink: 0;
    background: var(--ams-surface);
    border-bottom: 1px solid var(--ams-border);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.site-header .container {
    max-width: 1140px;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin-right: 1rem;
}

.site-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.site-logo--nav {
    height: 42px;
    width: auto;
    aspect-ratio: 330 / 103;
}

.site-logo--hero {
    width: min(100%, 440px);
    filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.45));
}

.site-logo--hero-mobile {
    width: min(100%, 320px);
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.4));
}

.home-hero__logo-wrap {
    margin-bottom: 0.75rem;
}

.navbar-nav .nav-link {
    color: var(--ams-gray-600);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.4rem 0.75rem !important;
    border-radius: 0.65rem;
    white-space: nowrap;
    border: 1px solid transparent;
    background: transparent;
    transition: color 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible {
    color: var(--ams-black);
    background: #fffdf5;
    border-color: rgba(255, 194, 14, 0.45);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.active:hover,
.navbar-nav .nav-link.active:focus-visible {
    color: var(--ams-black);
    background: var(--ams-yellow-soft);
    border-color: var(--ams-yellow);
    font-weight: 600;
    box-shadow: none;
}

.bi::before {
    display: inline-block;
    width: 1em;
    min-width: 1em;
    text-align: center;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 1;
    vertical-align: -0.125em;
    -webkit-font-smoothing: antialiased;
}

.site-header .btn-ams.is-nav-active {
    --bs-btn-bg: var(--ams-yellow-hover);
    --bs-btn-border-color: var(--ams-black);
    box-shadow: inset 0 0 0 1px var(--ams-black);
}

.nav-user-menu {
    position: relative;
}

.nav-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.25rem 0.55rem 0.25rem 0.25rem !important;
    border: 1px solid var(--ams-border);
    border-radius: 999px;
    background: var(--ams-surface);
    color: var(--ams-black);
    font: inherit;
    line-height: 1.2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.nav-user-btn:hover,
.nav-user-btn:focus-visible,
.nav-user-btn.show {
    border-color: rgba(255, 194, 14, 0.45);
    background: #fffdf5;
    color: var(--ams-black);
    box-shadow: 0 2px 8px rgba(255, 194, 14, 0.1);
}

.nav-user-btn.is-open {
    border-color: var(--ams-yellow);
    background: var(--ams-yellow-soft);
    color: var(--ams-black);
    box-shadow: 0 4px 14px rgba(255, 194, 14, 0.18);
}

.nav-user-btn::after {
    margin-left: 0;
    vertical-align: middle;
}

.nav-user-btn__avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.nav-user-btn__avatar {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ams-yellow);
}

.nav-user-btn__avatar--empty {
    border-style: dashed;
    background: var(--ams-yellow-muted);
    object-fit: contain;
    padding: 0.35rem;
}

.nav-user-btn__avatar-badge {
    position: absolute;
    right: -2px;
    bottom: -2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: var(--ams-yellow);
    color: var(--ams-black);
    font-size: 0.55rem;
    border: 2px solid var(--ams-surface);
}

.nav-user-btn__text {
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    max-width: 8.5rem;
}

.nav-user-btn__name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ams-black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.nav-user-btn__unread {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

.nav-user-btn__status {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ams-muted);
}

.nav-user-dropdown {
    min-width: 16.5rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.nav-user-dropdown-wrap {
    width: min(18rem, calc(100vw - 1.5rem));
}

.nav-user-dropdown-wrap .nav-picker-dropdown__arrow {
    right: 1.35rem;
}

.nav-user-dropdown__menu {
    display: block;
}

.nav-user-dropdown__list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.nav-user-dropdown__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

.nav-user-dropdown__logout {
    margin-top: 0.35rem;
    position: relative;
}

.nav-user-dropdown__logout::before {
    content: '';
    position: absolute;
    top: -0.2rem;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--ams-border);
}

.picker-option--link {
    text-decoration: none;
    color: inherit;
}

.picker-option--link .picker-option__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    font-size: 1.1rem;
    line-height: 1;
}

.picker-option--link .picker-option__icon .bi {
    color: var(--ams-muted);
}

.picker-option--link:hover .picker-option__icon .bi,
.picker-option--link.is-active .picker-option__icon .bi {
    color: var(--ams-black);
}

.picker-option--link.is-active {
    border-color: var(--ams-yellow);
    background: var(--ams-yellow-soft);
}

.picker-option--danger {
    border-color: rgba(220, 53, 69, 0.18);
    background: #fff;
}

.picker-option--danger .picker-option__name,
.picker-option--danger .picker-option__icon .bi {
    color: #dc3545;
}

.picker-option--danger:hover {
    border-color: rgba(220, 53, 69, 0.45);
    background: #fff5f5;
}

.picker-option--danger:hover .picker-option__name,
.picker-option--danger:hover .picker-option__icon .bi {
    color: #b02a37;
}

.nav-user-dropdown__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.15rem 0.1rem 0;
    margin-bottom: 0.65rem;
}

.nav-user-dropdown__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ams-yellow);
    flex-shrink: 0;
}

.nav-user-dropdown__avatar--empty {
    border-style: dashed;
    background: var(--ams-yellow-muted);
    object-fit: contain;
    padding: 0.45rem;
}

.nav-user-dropdown__name {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ams-black);
}

.nav-user-dropdown__status {
    margin: 0.1rem 0 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #198754;
}

.navbar-toggler {
    border-color: var(--ams-border);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 194, 14, 0.25);
}

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
    flex-shrink: 0;
    margin-top: auto;
    background: var(--ams-charcoal);
    border-top: 3px solid var(--ams-yellow);
}

.site-footer__grid,
.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer__grid {
    align-items: flex-start;
}

.site-footer__bottom {
    align-items: center;
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

.site-footer__brand {
    font-weight: 600;
    color: #fff;
}

.site-footer__tagline {
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

.site-footer__contact,
.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
}

.site-footer__contact {
    justify-content: flex-end;
    font-style: normal;
}

.site-footer__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
    color: #fff;
}

.site-footer__copy {
    color: rgba(255, 255, 255, 0.55);
}

/* ── Legal pages ────────────────────────────────────── */
.legal-page {
    background: var(--ams-bg);
}

.legal-page__content {
    max-width: 820px;
    margin-inline: auto;
    background: #fff;
    border: 1px solid var(--ams-border);
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: var(--ams-shadow-soft);
}

.legal-page__eyebrow {
    margin-bottom: 0.35rem;
    color: var(--ams-muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.legal-page__title {
    margin-bottom: 1rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.legal-page__lead {
    margin-bottom: 0.75rem;
    color: var(--ams-muted);
    font-size: 1.05rem;
}

.legal-page__meta {
    margin-bottom: 2rem;
    color: var(--ams-muted);
    font-size: 0.9rem;
}

.legal-page__content h2 {
    margin-top: 1.65rem;
    margin-bottom: 0.65rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.legal-page__content p {
    color: #3f3f3f;
    line-height: 1.7;
}

/* ── Safety guide (presentation) ───────────────────── */
.is-safety-page .site-main {
    padding-bottom: 0;
}

.safety-page {
    overflow-x: clip;
}

.safety-hero {
    position: relative;
    min-height: clamp(28rem, 72vh, 40rem);
    display: flex;
    align-items: flex-end;
    padding: clamp(3rem, 8vw, 5rem) 0;
    background:
        linear-gradient(115deg, rgba(20, 20, 20, 0.94) 0%, rgba(20, 20, 20, 0.78) 48%, rgba(20, 20, 20, 0.45) 100%),
        var(--safety-hero-image) center / cover no-repeat;
    color: #fff;
}

.safety-hero__inner {
    position: relative;
    z-index: 1;
}

.safety-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 214, 0, 0.16);
    border: 1px solid rgba(255, 214, 0, 0.45);
    color: var(--ams-yellow);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.safety-hero__title {
    max-width: 14ch;
    margin-bottom: 1rem;
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.safety-hero__lead {
    max-width: 42rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.65;
}

.safety-hero__cta {
    margin-bottom: 1.75rem;
}

.safety-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.safety-hero__stats li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    font-weight: 600;
}

.safety-hero__stats .bi {
    color: var(--ams-yellow);
}

.safety-slide {
    padding: clamp(3rem, 7vw, 5rem) 0;
}

.safety-slide--light {
    background: var(--ams-bg);
}

.safety-slide--muted {
    background: #f3f3f1;
}

.safety-slide--dark {
    background: var(--ams-charcoal);
    color: #fff;
}

.safety-slide__header {
    max-width: 40rem;
    margin-inline: auto;
    margin-bottom: 2.5rem;
}

.safety-slide__eyebrow {
    margin-bottom: 0.5rem;
    color: var(--ams-muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.safety-slide__eyebrow--yellow {
    color: var(--ams-yellow);
}

.safety-slide--dark .safety-slide__subtitle,
.safety-slide__subtitle {
    color: var(--ams-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.safety-slide--dark .safety-slide__subtitle {
    color: rgba(255, 255, 255, 0.68);
}

.safety-slide__title {
    margin-bottom: 0.65rem;
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.safety-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.safety-split--reverse .safety-split__media {
    order: 2;
}

.safety-slide__image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.safety-rules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.safety-rule-card {
    position: relative;
    min-height: 100%;
    padding: 1.35rem 1.25rem 1.25rem;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--ams-border);
    box-shadow: var(--ams-shadow-soft);
    overflow: hidden;
}

.safety-rule-card__num {
    position: absolute;
    top: 0.75rem;
    right: 0.9rem;
    color: rgba(20, 20, 20, 0.08);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
}

.safety-rule-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.85rem;
    border-radius: 14px;
    background: rgba(255, 214, 0, 0.18);
    color: var(--ams-charcoal);
    font-size: 1.35rem;
}

.safety-rule-card__title {
    margin-bottom: 0.45rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.safety-rule-card__text {
    margin: 0;
    color: #4a4a4a;
    font-size: 0.94rem;
    line-height: 1.6;
}

.safety-alert-list {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.safety-alert-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.55;
}

.safety-alert-list__icon {
    flex-shrink: 0;
    color: #ff6b6b;
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

.safety-checklist {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.safety-checklist li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--ams-border);
    box-shadow: var(--ams-shadow-soft);
    line-height: 1.55;
}

.safety-checklist__box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--ams-charcoal);
    color: var(--ams-yellow);
    font-size: 1rem;
}

.safety-scam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.safety-scam-card {
    padding: 1.35rem;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--ams-border);
    box-shadow: var(--ams-shadow-soft);
}

.safety-scam-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.85rem;
    border-radius: 12px;
    background: rgba(220, 53, 69, 0.1);
    color: #c92a2a;
    font-size: 1.2rem;
}

.safety-scam-card__title {
    margin-bottom: 0.45rem;
    font-size: 1.02rem;
    font-weight: 800;
}

.safety-scam-card__text {
    margin: 0;
    color: #4a4a4a;
    line-height: 1.6;
}

.safety-sellers {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: start;
}

.safety-sellers__list {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.safety-sellers__list li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--ams-border);
    box-shadow: var(--ams-shadow-soft);
    line-height: 1.55;
}

.safety-sellers__list .bi {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--ams-charcoal);
    font-size: 1.15rem;
}

.safety-cta {
    padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 4.5rem);
    background: linear-gradient(180deg, var(--ams-bg) 0%, #fff 100%);
}

.safety-cta__card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: clamp(1.25rem, 3vw, 2rem);
    margin-bottom: 1rem;
    border-radius: 24px;
    background: var(--ams-charcoal);
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.safety-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    flex-shrink: 0;
    border-radius: 14px;
    background: rgba(255, 214, 0, 0.16);
    color: var(--ams-yellow);
    font-size: 1.35rem;
}

.safety-cta__title {
    margin-bottom: 0.5rem;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
}

.safety-cta__text {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.safety-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.safety-remember {
    padding: 1.15rem 1.25rem;
    border-radius: 18px;
    background: rgba(255, 214, 0, 0.14);
    border: 1px solid rgba(255, 214, 0, 0.35);
}

.safety-remember__title {
    margin-bottom: 0.35rem;
    font-size: 1rem;
    font-weight: 800;
}

.safety-remember__text {
    color: #3f3f3f;
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .safety-split,
    .safety-split--reverse,
    .safety-sellers {
        grid-template-columns: 1fr;
    }

    .safety-split--reverse .safety-split__media {
        order: 0;
    }
}

@media (max-width: 767.98px) {
    .safety-hero__title {
        max-width: none;
    }

    .safety-cta__card {
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .site-footer__grid,
    .site-footer__bottom,
    .site-footer__contact,
    .site-footer__legal {
        justify-content: center;
        text-align: center;
    }

    .site-footer__brand-block,
    .site-footer__copy {
        width: 100%;
    }
}

/* ── Home: Hero ─────────────────────────────────────── */
.home-hero {
    --home-hero-overlay: linear-gradient(
        105deg,
        rgba(20, 20, 20, 0.94) 0%,
        rgba(20, 20, 20, 0.82) 42%,
        rgba(20, 20, 20, 0.45) 72%,
        rgba(20, 20, 20, 0.25) 100%
    );
    background-color: var(--ams-charcoal);
    background-image: var(--home-hero-overlay), var(--home-hero-image);
    background-size: cover;
    background-position: center;
    padding: 4rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.home-hero .container {
    position: relative;
    z-index: 1;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 55% 80% at 88% 45%, rgba(255, 194, 14, 0.1) 0%, transparent 65%);
    pointer-events: none;
}

.home-hero__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ams-yellow);
    background: rgba(255, 194, 14, 0.12);
    border: 1px solid rgba(255, 194, 14, 0.35);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.home-hero__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 0.75rem;
}

.home-hero__lead {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 32rem;
    margin-bottom: 1.75rem;
    line-height: 1.55;
}

.home-hero__country {
    color: rgba(255, 255, 255, 0.62);
    font-weight: 500;
}

.home-hero__search {
    max-width: 34rem;
    margin-bottom: 1.25rem;
}

.home-hero__search .input-group {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--ams-surface);
}

.home-hero__search .input-group-text {
    background: var(--ams-surface);
    border: 0;
    color: var(--ams-muted);
    padding-left: 1.1rem;
}

.home-hero__search .form-control {
    border: 0;
    padding: 0.85rem 0.5rem;
    font-size: 1rem;
}

.home-hero__search .form-control:focus {
    box-shadow: none;
}

.home-hero__search .btn-ams {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 0;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.publish-landing__hero .home-hero__lead {
    max-width: 42rem;
}

.publish-landing__hero .home-hero__actions {
    justify-content: center;
}

.home-hero__free {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

.home-hero__free i {
    color: var(--ams-yellow);
}

.home-hero__free-hint {
    margin: 0.65rem 0 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
}

.home-hero__free-hint i {
    color: var(--ams-yellow);
    margin-right: 0.25rem;
}

.home-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin: 0 0 1.35rem;
    padding: 0;
}

.home-hero__stats li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
}

.home-hero__stats i {
    color: var(--ams-yellow);
}

.home-hero__catalog-btn {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255, 255, 255, 0.35);
    --bs-btn-hover-bg: rgba(255, 255, 255, 0.1);
    --bs-btn-hover-border-color: rgba(255, 255, 255, 0.5);
    --bs-btn-hover-color: #fff;
}

.home-hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 260px;
    padding: 1rem;
}

/* ── Home: Trust bar ────────────────────────────────── */
.home-trust {
    background: var(--ams-surface);
    border-bottom: 1px solid var(--ams-border);
    padding: 1.75rem 0 1.5rem;
}

.home-trust__heading {
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 1.25rem;
    color: var(--ams-text);
}

.home-trust__item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.85rem;
    text-align: left;
    padding: 0.5rem 1rem;
}

.home-trust__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: var(--ams-yellow-muted);
    flex-shrink: 0;
}

.home-trust__icon i {
    font-size: 1.15rem;
    color: var(--ams-yellow-hover);
}

.home-trust__item strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ams-black);
    margin-bottom: 0.15rem;
}

.home-trust__item p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--ams-muted);
    line-height: 1.45;
}

/* ── Home: About ────────────────────────────────────── */
.home-about {
    padding: 3.5rem 0;
    background: linear-gradient(180deg, var(--ams-bg) 0%, #fff 100%);
}

.home-about__lead {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ams-black);
    line-height: 1.5;
    margin-bottom: 0.85rem;
}

.home-about__text {
    color: var(--ams-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    max-width: 34rem;
}

.home-about__grid {
    display: grid;
    gap: 1rem;
}

.home-about__card {
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 4px 20px rgba(20, 20, 20, 0.04);
}

.home-about__card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.65rem;
    background: var(--ams-yellow-muted);
    color: var(--ams-yellow-hover);
    margin-bottom: 0.75rem;
}

.home-about__card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.home-about__card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ams-muted);
    line-height: 1.55;
}

/* ── Home: Publish types ────────────────────────────── */
.home-publish-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    height: 100%;
    padding: 1.15rem 1.25rem;
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.home-publish-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(20, 20, 20, 0.08);
    border-color: rgba(255, 194, 14, 0.45);
    color: inherit;
}

.home-publish-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: var(--ams-yellow-muted);
    flex-shrink: 0;
}

.home-publish-card__icon i {
    font-size: 1.2rem;
    color: var(--ams-yellow-hover);
}

.home-publish-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.home-publish-card__body strong {
    font-size: 0.975rem;
    color: var(--ams-black);
}

.home-publish-card__body span {
    font-size: 0.8125rem;
    color: var(--ams-muted);
    line-height: 1.45;
}

.home-publish-card__arrow {
    color: var(--ams-muted);
    margin-top: 0.15rem;
    flex-shrink: 0;
    transition: transform 0.15s, color 0.15s;
}

.home-publish-card:hover .home-publish-card__arrow {
    color: var(--ams-yellow-hover);
    transform: translateX(3px);
}

/* ── Home: How it works ─────────────────────────────── */
.home-how {
    padding: 3.5rem 0;
    background: var(--ams-charcoal);
    color: #fff;
}

.home-how .home-section__title {
    color: #fff;
}

.home-how .home-section__title::before {
    background: var(--ams-yellow);
}

.home-how .home-section__subtitle {
    color: rgba(255, 255, 255, 0.62);
}

.home-how.home-section--alt {
    background: var(--ams-surface);
    color: var(--ams-black);
}

.home-how.home-section--alt .home-section__title {
    color: var(--ams-black);
}

.home-how.home-section--alt .home-section__subtitle {
    color: var(--ams-muted);
}

.home-how.home-section--alt .home-how__step {
    background: var(--ams-bg);
    border-color: var(--ams-border);
}

.home-how.home-section--alt .home-how__step h3 {
    color: var(--ams-black);
}

.home-how.home-section--alt .home-how__step p {
    color: var(--ams-muted);
}

.home-how__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0 0;
    counter-reset: home-step;
}

.home-how__step {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.35rem 1.15rem 1.25rem;
}

.home-how__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--ams-yellow);
    color: var(--ams-black);
    font-size: 0.875rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.home-how__step h3 {
    font-size: 0.975rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.home-how__step p {
    margin: 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.5;
}

/* ── Home: FAQ ──────────────────────────────────────── */
.home-faq {
    padding: 3.5rem 0;
}

.home-faq__intro {
    color: var(--ams-muted);
    line-height: 1.6;
    margin: 0.75rem 0 1.25rem;
}

.home-faq__accordion .accordion-item {
    border: 1px solid var(--ams-border);
    border-radius: 0.75rem !important;
    overflow: hidden;
    margin-bottom: 0.65rem;
    background: var(--ams-surface);
}

.home-faq__accordion .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1rem 1.15rem;
    background: var(--ams-surface);
    color: var(--ams-black);
    box-shadow: none;
}

.home-faq__accordion .accordion-button:not(.collapsed) {
    background: var(--ams-yellow-muted);
    color: var(--ams-black);
}

.home-faq__accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.home-faq__accordion .accordion-body {
    font-size: 0.9rem;
    color: var(--ams-muted);
    line-height: 1.6;
    padding: 0 1.15rem 1rem;
}

.home-section__head--stack {
    align-items: flex-start;
    margin-bottom: 1.75rem;
}

.home-section__title--center {
    padding-left: 0;
}

.home-section__title--center::before {
    display: none;
}

.home-section__subtitle--center {
    margin-left: 0;
}

.home-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-cta__secondary {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255, 255, 255, 0.35);
    --bs-btn-hover-bg: rgba(255, 255, 255, 0.1);
    --bs-btn-hover-border-color: rgba(255, 255, 255, 0.5);
    --bs-btn-hover-color: #fff;
}

/* ── Home: Sections ─────────────────────────────────── */
.home-section {
    padding: 3rem 0;
}

.home-section--alt {
    background: var(--ams-surface);
    border-top: 1px solid var(--ams-border);
    border-bottom: 1px solid var(--ams-border);
}

.home-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.home-section__title {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ams-black);
    position: relative;
    padding-left: 0.85rem;
}

.home-section__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 3px;
    border-radius: 2px;
    background: var(--ams-yellow);
}

.home-section__subtitle {
    color: var(--ams-muted);
    font-size: 0.9375rem;
    margin: 0.35rem 0 0 0.85rem;
}

.home-section__link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ams-gray-600);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
}

.home-section__link:hover {
    color: var(--ams-black);
}

.home-section__link i {
    font-size: 0.8rem;
    transition: transform 0.15s;
}

.home-section__link:hover i {
    transform: translateX(3px);
}

.home-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--ams-muted);
    background: var(--ams-bg);
    border-radius: 1rem;
    border: 1px dashed var(--ams-border);
}

.home-empty i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.home-empty p {
    margin: 0;
}

/* ── Home: Featured (premium placement) ───────────── */
.home-featured {
    padding-top: 2.5rem;
    background: linear-gradient(180deg, rgba(255, 194, 14, 0.16) 0%, rgba(255, 255, 255, 0) 88%);
    border-bottom: 1px solid rgba(255, 194, 14, 0.22);
}

.home-featured__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: var(--ams-yellow);
    color: var(--ams-black);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.home-featured .home-section__title::before {
    width: 4px;
    background: var(--ams-yellow);
}

.home-featured .listing-card {
    border-color: rgba(255, 194, 14, 0.4);
    box-shadow: 0 6px 22px rgba(20, 20, 20, 0.07);
}

.home-featured .listing-card:hover {
    border-color: rgba(255, 194, 14, 0.65);
    box-shadow: 0 10px 28px rgba(20, 20, 20, 0.1);
}

.home-featured .listing-card__badge--featured {
    background: var(--ams-yellow);
    color: var(--ams-black);
    font-weight: 800;
}

/* ── Home: CTA ──────────────────────────────────────── */
.home-cta {
    padding: 0 0 3.5rem;
}

.home-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: linear-gradient(135deg, var(--ams-charcoal) 0%, var(--ams-gray-800) 100%);
    border-radius: 1.25rem;
    padding: 2.25rem 2.5rem;
    box-shadow: 0 12px 40px rgba(20, 20, 20, 0.12);
}

.home-cta__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.35rem;
}

.home-cta__text {
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    max-width: 28rem;
    font-size: 0.975rem;
}

/* ── Category cards ───────────────────────────────────── */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    height: 100%;
    min-height: 130px;
    padding: 1.5rem 1rem;
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    text-decoration: none;
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(20, 20, 20, 0.08);
    border-color: rgba(255, 194, 14, 0.45);
}

.category-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: var(--ams-yellow-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s;
}

.category-card__icon i {
    font-size: 1.35rem;
    color: var(--ams-gray-800);
}

.category-card:hover .category-card__icon {
    background: var(--ams-yellow);
}

.category-card__name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ams-black);
    text-align: center;
    line-height: 1.3;
}

/* ── Listing cards ────────────────────────────────────── */
.listing-card {
    height: 100%;
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.18s, box-shadow 0.18s;
}

.listing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(20, 20, 20, 0.09);
}

.listing-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.listing-card__media {
    position: relative;
    overflow: hidden;
}

.listing-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #e8e8e5;
    display: block;
    transition: transform 0.3s ease;
}

.listing-card:hover .listing-card__img {
    transform: scale(1.03);
}

.listing-card__badge {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--ams-yellow);
    color: var(--ams-black);
    padding: 0.25rem 0.55rem;
    border-radius: 0.35rem;
}

.listing-card__badge--featured {
    background: var(--ams-yellow);
    color: var(--ams-black);
}

.listing-card__badge--boost {
    background: #0dcaf0;
    color: var(--ams-black);
}

.listing-card__price-hint {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ams-muted);
    margin: -0.1rem 0 0.25rem;
}

.listing-card__price-secondary {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ams-muted);
    margin: -0.1rem 0 0.25rem;
}

.listing-card__price-ref {
    margin: -0.05rem 0 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ams-muted);
    line-height: 1.3;
}

.listing-card__price-ref span {
    font-weight: 500;
}

.listing-card--seller-catalog .listing-card__body {
    display: flex;
    flex-direction: column;
}

.listing-card--seller-catalog .listing-card__meta {
    margin-top: auto;
}

.listing-card__rent-terms {
    list-style: none;
    margin: 0.15rem 0 0.35rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.45rem;
}

.listing-card__rent-terms li {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ams-gray-700);
    background: var(--ams-bg);
    border: 1px solid var(--ams-border);
    border-radius: 999px;
    padding: 0.15rem 0.5rem;
    line-height: 1.3;
}

.listing-card__rent-terms-more {
    color: var(--ams-muted);
    background: transparent;
    border-style: dashed;
}

.listing-card__body {
    padding: 1rem 1.1rem 1.15rem;
}

.listing-card__operation {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 0.55rem;
    padding-left: 0.55rem;
    border-left: 3px solid var(--ams-yellow);
    color: var(--ams-gray-800);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
}

.listing-card__operation-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 999px;
    background: var(--ams-yellow-soft);
    color: var(--ams-black);
    flex-shrink: 0;
}

.listing-card__operation-icon .bi {
    font-size: 0.82rem;
    line-height: 1;
}

.listing-card__operation--rent {
    border-left-color: #0d6efd;
}

.listing-card__operation--rent .listing-card__operation-icon {
    background: rgba(13, 110, 253, 0.12);
    color: #0a58ca;
}

.listing-card__operation--both {
    border-left-color: var(--ams-gray-600);
}

.listing-card__operation--both .listing-card__operation-icon {
    background: var(--ams-bg);
    color: var(--ams-gray-800);
}

.listing-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ams-black);
    margin: 0 0 0.35rem;
    line-height: 1.35;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-card__price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ams-black);
    margin: 0 0 0.25rem;
}

.listing-card__meta {
    font-size: 0.8125rem;
    color: var(--ams-muted);
    margin: 0;
}

/* ── Catalog / search page ───────────────────────────── */
.catalog-page__title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
    padding-left: 0.85rem;
    position: relative;
}

.catalog-page__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.12em;
    bottom: 0.12em;
    width: 3px;
    border-radius: 2px;
    background: var(--ams-yellow);
}

.catalog-listings-grid > [class*="col-"] {
    display: flex;
}

.catalog-listings-grid > [class*="col-"] > .listing-card {
    width: 100%;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .catalog-listings-grid .listing-card__img {
        height: 185px;
    }
}

/* Catalog mobile: horizontal cards, compact info, tighter spacing */
@media (max-width: 767.98px) {
    .catalog-page > .container {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .catalog-page__head {
        margin-bottom: 0.85rem !important;
    }

    .catalog-page__results-col > .text-muted.mb-3 {
        margin-bottom: 0.65rem !important;
        font-size: 0.875rem;
    }

    .catalog-type-filters-bar {
        position: sticky;
        top: var(--site-nav-bar-height, 4.35rem);
        z-index: 12;
        margin: 0 -0.65rem 0.75rem;
        padding: 0.45rem 0.65rem 0.55rem;
        background: var(--ams-bg);
        border-bottom: 1px solid var(--ams-border);
    }

    .catalog-type-filters {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0.3rem;
        margin-bottom: 0;
        overflow: visible;
    }

    .catalog-type-filters__chip {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        padding: 0.36rem 0.4rem;
        font-size: 0.72rem;
        line-height: 1.15;
        white-space: nowrap;
    }

    .seller-catalog__body > .container {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .seller-catalog__toolbar {
        margin-bottom: 1rem;
    }

    .seller-catalog__toolbar .catalog-type-filters-bar {
        background: var(--ams-bg);
    }

    .catalog-listings-grid {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }

    .catalog-listings-grid .listing-card {
        border-radius: 0.85rem;
        min-height: 7.25rem;
    }

    .catalog-listings-grid .listing-card:hover {
        transform: none;
    }

    .catalog-listings-grid .listing-card__link {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        min-height: 7.25rem;
    }

    .catalog-listings-grid .listing-card__media {
        flex: 0 0 38%;
        max-width: 38%;
        min-width: 7.5rem;
        min-height: 7.25rem;
    }

    .catalog-listings-grid .listing-card__img {
        width: 100%;
        height: 100%;
        min-height: 7.25rem;
        aspect-ratio: auto;
        object-fit: cover;
    }

    .catalog-listings-grid .listing-card__badge {
        top: 0.4rem;
        left: 0.4rem;
        font-size: 0.58rem;
        padding: 0.18rem 0.38rem;
        letter-spacing: 0.03em;
    }

    .catalog-listings-grid .listing-card__body {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0.65rem 0.75rem;
    }

    .catalog-listings-grid .listing-card__operation {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        max-width: 100%;
        margin-bottom: 0.3rem;
        padding: 0.12rem 0.42rem;
        border-left: 0;
        border-radius: 999px;
        background: var(--ams-bg);
        font-size: 0.68rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .catalog-listings-grid .listing-card__operation-icon {
        display: none;
    }

    .catalog-listings-grid .listing-card__title {
        font-size: 0.84rem;
        line-height: 1.3;
        margin-bottom: 0.2rem;
    }

    .catalog-listings-grid .listing-card__price {
        font-size: 1.12rem;
        font-weight: 800;
        line-height: 1.15;
        margin-bottom: 0.1rem;
    }

    .catalog-listings-grid .listing-card__price-secondary,
    .catalog-listings-grid .listing-card__price-hint {
        font-size: 0.7rem;
        margin: 0 0 0.15rem;
        line-height: 1.25;
    }

    .catalog-listings-grid .listing-card__price-ref {
        display: none;
    }

    .catalog-listings-grid .listing-card__rent-terms {
        margin: 0.1rem 0 0.2rem;
        gap: 0.25rem;
    }

    .catalog-listings-grid .listing-card__rent-terms li:not(:first-child):not(.listing-card__rent-terms-more) {
        display: none;
    }

    .catalog-listings-grid .listing-card__rent-terms li {
        font-size: 0.65rem;
        padding: 0.1rem 0.4rem;
    }

    .catalog-listings-grid .listing-card__meta {
        font-size: 0.72rem;
        margin-top: auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    section.container:has(.catalog-listings-grid) {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

.catalog-page__subtitle {
    color: var(--ams-muted);
    margin: 0;
    padding-left: 0.85rem;
    font-size: 0.975rem;
}

.catalog-filters {
    border: 1px solid var(--ams-border) !important;
    border-radius: 1rem !important;
}

.catalog-filters-offcanvas {
    --bs-offcanvas-height: min(88vh, 42rem);
}

@media (max-width: 991.98px) {
    .catalog-page {
        padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
    }

    .catalog-page__filters-col {
        height: 0;
        min-height: 0;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible;
        border: 0;
    }

    .catalog-filters-offcanvas {
        border-radius: 1.1rem 1.1rem 0 0;
        border-top: 1px solid var(--ams-border);
    }

    .catalog-filters-offcanvas__header {
        padding: 0.85rem 1rem;
    }

    .catalog-filters-offcanvas__body {
        padding: 0 0 0.5rem;
    }

    .catalog-filters-offcanvas__body .catalog-filters {
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .catalog-filters-offcanvas__body .catalog-filters .card-body {
        padding-top: 0.25rem;
        padding-bottom: 0.5rem;
    }

    .catalog-filters-offcanvas__footer {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
        background: var(--ams-surface, #fff);
    }

    .catalog-filters-fab {
        position: fixed;
        left: 50%;
        bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
        z-index: 1035;
        transform: translateX(-50%);
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        padding: 0.65rem 1.1rem;
        border: 0;
        border-radius: 999px;
        background: var(--ams-black);
        color: #fff;
        font-size: 0.875rem;
        font-weight: 700;
        line-height: 1.2;
        box-shadow: 0 8px 28px rgba(20, 20, 20, 0.28);
        transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
    }

    .catalog-filters-fab:hover,
    .catalog-filters-fab:focus-visible {
        color: #fff;
        box-shadow: 0 10px 32px rgba(20, 20, 20, 0.34);
    }

    .catalog-filters-fab:active {
        transform: translateX(-50%) scale(0.98);
    }

    .catalog-filters-fab.is-hidden {
        opacity: 0;
        pointer-events: none;
        transform: translateX(-50%) translateY(0.75rem);
    }

    .catalog-filters-fab__badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 1.35rem;
        height: 1.35rem;
        padding: 0 0.35rem;
        border-radius: 999px;
        background: var(--ams-yellow);
        color: var(--ams-black);
        font-size: 0.72rem;
        font-weight: 800;
        line-height: 1;
    }
}

@media (min-width: 992px) {
    .catalog-filters-offcanvas {
        position: static;
        transform: none !important;
        visibility: visible !important;
        height: auto !important;
        width: 100% !important;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .catalog-filters-offcanvas__body {
        padding: 0;
        overflow: visible;
    }
}

.catalog-type-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.catalog-type-filters__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--ams-border);
    background: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--ams-gray-600);
    transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}

.catalog-type-filters__chip:hover,
.catalog-type-filters__chip:focus-visible {
    border-color: rgba(255, 194, 14, 0.45);
    background: #fffdf5;
    color: var(--ams-black);
}

.catalog-type-filters__chip.is-active {
    border-color: var(--ams-yellow);
    background: var(--ams-yellow-soft);
    color: var(--ams-black);
    box-shadow: 0 2px 8px rgba(255, 194, 14, 0.12);
}

.catalog-type-filters__chip.listing-type-badge--rent.is-active {
    background: rgba(13, 110, 253, 0.12);
    border-color: rgba(13, 110, 253, 0.45);
    color: #0a58ca;
}

.catalog-type-filters__chip .bi {
    font-size: 0.9rem;
    line-height: 1;
}

.catalog-pagination .page-link {
    color: var(--ams-gray-800);
    border-color: var(--ams-border);
}

.catalog-pagination .page-item.active .page-link {
    background: var(--ams-yellow);
    border-color: var(--ams-yellow);
    color: var(--ams-black);
    font-weight: 600;
}

.catalog-pagination .page-link:hover {
    background: var(--ams-yellow-muted);
    border-color: rgba(255, 194, 14, 0.45);
    color: var(--ams-black);
}

/* ── Legacy / shared ──────────────────────────────────── */
.hero-section {
    background: linear-gradient(180deg, #fff 0%, var(--ams-bg) 100%);
}

.search-hero {
    max-width: 640px;
}

.category-card.card {
    border-radius: 1rem;
}

.listing-card.card {
    border-radius: 1rem;
    overflow: hidden;
}

.listing-card.card:hover {
    transform: translateY(-2px);
}

.listing-card__img,
.listing-card .listing-card__img {
    height: 200px;
    object-fit: cover;
    background: #e8e8e5;
}

.edit-photo-card {
    cursor: pointer;
}

.edit-photo-card__img {
    height: 120px;
    object-fit: cover;
    display: block;
}

.edit-photo-card__status {
    transition: background-color 0.15s, color 0.15s;
}

.edit-photo-card--marked .edit-photo-card__frame {
    border-color: #dc3545 !important;
}

.edit-photo-card--marked .edit-photo-card__frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(220, 53, 69, 0.25);
    pointer-events: none;
}

.edit-photo-card--marked .edit-photo-card__badge {
    background: #dc3545 !important;
    color: #fff !important;
}

.edit-photo-card--marked .edit-photo-card__status {
    background: #f8d7da !important;
    color: #842029 !important;
}

.listing-photo-item__img {
    height: 120px;
    object-fit: cover;
    display: block;
}

.listing-photo-item--primary .listing-photo-item__frame {
    border-color: var(--ams-primary) !important;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}

.listing-photo-item__primary {
    font-size: 0.8rem;
}

.edit-photo-card__remove.edit-photo-card--marked {
    opacity: 1;
}

.listing-photo-item:has(.edit-photo-card--marked) {
    opacity: 0.55;
}

.listing-photo-item:has(.edit-photo-card--marked) .listing-photo-item__frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(220, 53, 69, 0.25);
    pointer-events: none;
}

/* ── Listing detail ───────────────────────────────────── */
.listing-detail {
    background: linear-gradient(180deg, #fff 0%, var(--ams-bg) 45%);
}

.listing-detail__gallery-wrap {
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 20px rgba(20, 20, 20, 0.04);
}

.listing-gallery .carousel-inner {
    border-radius: 0;
}

.listing-gallery {
    position: relative;
}

.listing-gallery img,
.listing-gallery__img {
    max-height: 520px;
    object-fit: contain;
    background: var(--ams-bg);
}

.listing-gallery__img--solo {
    width: 100%;
    display: block;
    border-radius: 0;
}

.listing-gallery__open {
    position: relative;
    cursor: zoom-in;
    display: block;
}

.listing-gallery__zoom {
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    background: rgba(20, 20, 20, 0.72);
    color: var(--ams-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    font-size: 1rem;
}

.listing-gallery__control {
    z-index: 5;
    width: 15%;
    opacity: 1;
}

.listing-gallery__control-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: rgba(20, 20, 20, 0.65);
    color: #fff;
    font-size: 1.25rem;
    margin: 0 0.5rem;
    transition: background 0.15s;
}

.listing-gallery__control:hover .listing-gallery__control-icon {
    background: var(--ams-charcoal);
    color: var(--ams-yellow);
}

.listing-gallery__counter {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(20, 20, 20, 0.65);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    pointer-events: none;
}

.listing-lightbox {
    background: #000;
}

.listing-lightbox .modal-body {
    touch-action: pan-y;
    overscroll-behavior: contain;
}

.listing-lightbox__img {
    max-width: 100%;
    max-height: calc(100vh - 4rem);
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: pan-y;
}

.listing-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.listing-lightbox__nav:hover {
    background: rgba(255, 194, 14, 0.35);
    color: #fff;
}

.listing-lightbox__nav--prev {
    left: 1rem;
}

.listing-lightbox__nav--next {
    right: 1rem;
}

.listing-detail__header {
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    padding: 1.25rem 1.35rem;
    margin-bottom: 1.25rem;
}

.listing-detail__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.listing-detail__badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--ams-bg);
    color: var(--ams-gray-600);
    border: 1px solid var(--ams-border);
}

.listing-detail__badge--featured {
    background: var(--ams-yellow-muted);
    color: var(--ams-black);
    border-color: rgba(255, 194, 14, 0.45);
}

.listing-detail__badge--boost {
    background: rgba(13, 202, 240, 0.18);
    color: var(--ams-black);
    border-color: rgba(13, 202, 240, 0.45);
}

.listing-detail__badge--status {
    background: var(--ams-yellow-soft);
    color: var(--ams-gray-800);
    border-color: rgba(255, 194, 14, 0.35);
}

.listing-detail__operation {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.75rem;
    padding: 0.55rem 0.75rem;
    border-left: 4px solid var(--ams-yellow);
    border-radius: 0.75rem;
    background: #fffdf5;
    color: var(--ams-black);
    font-size: 0.9rem;
    font-weight: 800;
}

.listing-detail__operation-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    background: var(--ams-yellow-soft);
    color: var(--ams-black);
    flex-shrink: 0;
}

.listing-detail__operation--rent {
    border-left-color: #0d6efd;
    background: rgba(13, 110, 253, 0.06);
    color: #0a58ca;
}

.listing-detail__operation--rent .listing-detail__operation-icon {
    background: rgba(13, 110, 253, 0.12);
    color: #0a58ca;
}

.listing-detail__operation--both {
    border-left-color: var(--ams-gray-600);
    background: var(--ams-bg);
    color: var(--ams-gray-800);
}

.listing-detail__operation--both .listing-detail__operation-icon {
    background: #fff;
    color: var(--ams-gray-800);
}

.listing-detail__title {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin: 0 0 0.75rem;
}

.listing-detail__price-row {
    margin-bottom: 0.5rem;
}

.listing-detail__price {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ams-black);
    margin: 0;
    line-height: 1.15;
}

.listing-detail__price-hint {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ams-muted);
    margin: 0.15rem 0 0;
}

.listing-detail__price-ref {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    color: var(--ams-muted);
}

.listing-detail__price-ref span {
    font-style: italic;
}

.listing-detail__meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin: 0;
    font-size: 0.875rem;
    color: var(--ams-gray-600);
}

.listing-detail__meta-line i {
    color: var(--ams-yellow-hover);
    margin-right: 0.15rem;
}

.listing-detail__meta-sep {
    color: var(--ams-muted);
}

.listing-detail__specs {
    margin-bottom: 1.25rem;
}

.listing-spec {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    height: 100%;
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    transition: border-color 0.15s;
}

.listing-spec:hover {
    border-color: rgba(255, 194, 14, 0.45);
}

.listing-spec__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.55rem;
    background: var(--ams-yellow-muted);
    color: var(--ams-black);
    font-size: 1rem;
    flex-shrink: 0;
}

.listing-spec__label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ams-muted);
    margin-bottom: 0.15rem;
}

.listing-spec__value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ams-black);
    line-height: 1.35;
}

.listing-detail__section {
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    padding: 1.25rem 1.35rem;
    margin-bottom: 1rem;
}

.listing-detail__section-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.85rem;
    color: var(--ams-black);
}

.listing-detail__description {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--ams-gray-800);
    margin: 0;
}

.listing-video-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-top: 0;
    padding: 1rem 1.15rem;
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    background: var(--ams-surface);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.listing-video-link:hover {
    border-color: var(--ams-yellow);
    box-shadow: 0 4px 16px rgba(20, 20, 20, 0.05);
    color: inherit;
}

.listing-video-link__icon {
    font-size: 1.35rem;
    flex-shrink: 0;
}

.listing-video-link__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.listing-video-link__label {
    font-weight: 600;
    line-height: 1.3;
}

.listing-video-link__hint {
    color: var(--ams-muted);
}

.listing-video-link__external {
    margin-left: auto;
    color: var(--ams-muted);
    flex-shrink: 0;
}

.listing-video-link--youtube .listing-video-link__icon {
    color: #ff0000;
}

.listing-video-link--tiktok .listing-video-link__icon {
    color: #010101;
}

.listing-video-link--facebook .listing-video-link__icon {
    color: #1877f2;
}

@media (min-width: 992px) {
    .listing-detail__sidebar {
        align-self: stretch;
    }

    .seller-card {
        position: sticky;
        top: 5.5rem;
        z-index: 50;
    }
}

.listing-related {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ams-border);
}

.listing-related__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.listing-related__title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--ams-black);
}

.listing-related__subtitle {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: var(--ams-gray-600);
}

.listing-related__link {
    flex-shrink: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ams-gray-600);
    text-decoration: none;
    white-space: nowrap;
}

.listing-related__link:hover {
    color: var(--ams-black);
}

.listing-related__link i {
    font-size: 0.8rem;
    transition: transform 0.15s;
}

.listing-related__link:hover i {
    transform: translateX(3px);
}

.listing-related__track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.listing-related__slide > .listing-card {
    height: 100%;
}

@media (min-width: 768px) {
    .listing-related__track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 1200px) {
    .listing-related__track {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .listing-related__track {
        display: flex;
        gap: 0.85rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 0.25rem;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        padding-bottom: 0.35rem;
        margin-inline: -0.25rem;
        padding-inline: 0.25rem;
        scrollbar-width: none;
    }

    .listing-related__track::-webkit-scrollbar {
        display: none;
    }

    .listing-related__slide {
        flex: 0 0 min(78vw, 16.5rem);
        max-width: 16.5rem;
        scroll-snap-align: start;
        scroll-snap-stop: normal;
    }

    .listing-related__slide > .listing-card {
        height: auto;
    }
}

@media (max-width: 575.98px) {
    .listing-related__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .listing-related__slide {
        flex-basis: min(82vw, 15.5rem);
    }
}

.seller-card__inner {
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    padding: 1.35rem 1.5rem;
    box-shadow: 0 4px 20px rgba(20, 20, 20, 0.04);
}

.seller-card__heading {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ams-muted);
    margin: 0 0 1rem;
}

.seller-card__profile {
    text-align: center;
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--ams-border);
}

.seller-card__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ams-yellow-muted);
    background: var(--ams-bg);
}

.seller-card__name {
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0.75rem 0 0.15rem;
}

.seller-card__company {
    font-size: 0.875rem;
    color: var(--ams-muted);
    margin: 0;
}

.seller-card__meta {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    font-size: 0.875rem;
    color: var(--ams-gray-600);
}

.seller-card__meta li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.3rem 0;
}

.seller-card__meta i {
    color: var(--ams-yellow-hover);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.seller-card__verified {
    margin-bottom: 1rem;
    padding: 0.75rem 0.85rem;
    background: #ecfdf5;
    border-radius: 0.65rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.seller-card__verified p {
    font-size: 0.8125rem;
    margin: 0;
    color: #047857;
}

.seller-card__verified p + p {
    margin-top: 0.35rem;
}

.seller-card__verified i {
    margin-right: 0.25rem;
}

.seller-card__trust {
    margin-bottom: 1rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.65rem;
    font-size: 0.8125rem;
}

.seller-card__trust--pending {
    background: #fffbeb;
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #92400e;
}

.seller-card__trust p {
    margin: 0;
}

.seller-card__trust i {
    margin-right: 0.25rem;
}

.seller-card__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.seller-card__whatsapp {
    font-weight: 600;
}

.listing-safety-banner {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 214, 0, 0.14) 0%, rgba(255, 214, 0, 0.06) 100%);
    border: 1px solid rgba(255, 214, 0, 0.45);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.listing-safety-banner:hover,
.listing-safety-banner:focus-visible {
    border-color: var(--ams-yellow);
    box-shadow: 0 8px 24px rgba(20, 20, 20, 0.08);
    transform: translateY(-1px);
    color: inherit;
}

.listing-safety-banner__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--ams-charcoal);
    color: var(--ams-yellow);
    font-size: 1.2rem;
}

.listing-safety-banner__body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.listing-safety-banner__title {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.3;
}

.listing-safety-banner__text {
    display: block;
    color: var(--ams-muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

.listing-safety-banner__link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.15rem;
    color: var(--ams-charcoal);
    font-size: 0.84rem;
    font-weight: 700;
}

/* ── Seller catalog (premium) ─────────────────────── */
body.is-seller-catalog {
    background: var(--ams-bg);
}

.seller-catalog__hero {
    position: relative;
    padding: 1.25rem 0 2.5rem;
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255, 194, 14, 0.22) 0%, transparent 55%),
        linear-gradient(145deg, var(--ams-charcoal) 0%, #1f1f1f 48%, var(--ams-gray-800) 100%);
    color: #fff;
    border-bottom: 3px solid var(--ams-yellow);
}

.seller-catalog__breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb--light {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.45);
}

.breadcrumb--light .breadcrumb-item,
.breadcrumb--light .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.72);
}

.breadcrumb--light .breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb--light .breadcrumb-item.active {
    color: #fff;
}

.seller-catalog__hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

@media (min-width: 992px) {
    .seller-catalog__hero-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
        align-items: start;
        gap: 2rem;
    }
}

.seller-catalog__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--ams-yellow);
    color: var(--ams-black);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.seller-catalog__profile {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.seller-catalog__avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.seller-catalog__avatar {
    display: block;
    width: 6.5rem;
    height: 6.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.seller-catalog__avatar-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 194, 14, 0.65);
    pointer-events: none;
}

.seller-catalog__title {
    margin: 0 0 0.25rem;
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
}

.seller-catalog__company {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
}

.seller-catalog__lead {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.62);
    max-width: 36rem;
}

.seller-catalog__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0 0 1rem;
}

.seller-catalog__stats li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.seller-catalog__stats i {
    color: var(--ams-yellow);
}

.seller-catalog__verified {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.seller-catalog__verified span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
}

.seller-catalog__verified i {
    color: #5eead4;
}

.seller-catalog__cta-card {
    padding: 1.35rem 1.5rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 194, 14, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
}

.seller-catalog__cta-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ams-yellow);
}

.seller-catalog__cta-title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.seller-catalog__cta-text {
    margin: 0 0 1.1rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.5;
}

.seller-catalog__cta-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.seller-catalog__whatsapp {
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.seller-catalog__body {
    background: linear-gradient(180deg, rgba(255, 194, 14, 0.08) 0%, rgba(255, 255, 255, 0) 12rem);
}

.seller-catalog__toolbar {
    margin-bottom: 1.5rem;
}

.seller-catalog__toolbar .catalog-type-filters {
    margin-bottom: 0;
}

.seller-catalog__section + .seller-catalog__section {
    margin-top: 2.75rem;
    padding-top: 2.75rem;
    border-top: 1px solid var(--ams-border);
}

.seller-catalog__section-head {
    margin-bottom: 1.35rem;
}

.seller-catalog__section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.45rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: var(--ams-yellow);
    color: var(--ams-black);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.seller-catalog__section-kicker--muted {
    background: var(--ams-surface);
    color: var(--ams-muted);
    border: 1px solid var(--ams-border);
}

.seller-catalog__section-title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
}

.seller-catalog__section-subtitle {
    margin: 0;
    color: var(--ams-muted);
    font-size: 0.95rem;
}

.seller-catalog__section--featured .listing-card {
    border-color: rgba(255, 194, 14, 0.45);
    box-shadow: 0 8px 26px rgba(20, 20, 20, 0.08);
}

.seller-catalog__section--featured .listing-card:hover {
    border-color: rgba(255, 194, 14, 0.7);
    box-shadow: 0 12px 32px rgba(20, 20, 20, 0.12);
}

.seller-catalog__section--featured .listing-card__badge--featured {
    background: var(--ams-yellow);
    color: var(--ams-black);
    font-weight: 800;
}

.seller-catalog .listing-card {
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.seller-catalog .listing-card:hover {
    transform: translateY(-3px);
}

.seller-catalog__empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--ams-muted);
}

.seller-catalog__empty i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
    opacity: 0.5;
}

/* Legacy alias */
.spec-box {
    background: var(--ams-surface);
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--ams-border);
}

.publish-review {
    background: var(--ams-bg);
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.publish-review__list {
    display: grid;
    grid-template-columns: minmax(8rem, 35%) 1fr;
    gap: 0.65rem 1rem;
    margin: 0;
    font-size: 0.9375rem;
}

.publish-review__list dt {
    color: var(--ams-muted);
    font-weight: 500;
    margin: 0;
}

.publish-review__list dd {
    margin: 0;
    color: var(--ams-black);
    font-weight: 500;
}

.publish-review__price {
    color: var(--ams-black);
    font-weight: 700;
}

/* ── Publish form ─────────────────────────────────────── */
.publish-page {
    background: linear-gradient(180deg, #fff 0%, var(--ams-bg) 100%);
    min-height: 60vh;
}

.publish-page__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.publish-page__title {
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
}

.publish-page__subtitle {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ams-gray-600);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.publish-page__subtitle i {
    color: var(--ams-yellow-hover);
}

.publish-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.publish-steps__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 4.5rem;
    flex-shrink: 0;
}

.publish-steps__marker {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 2px solid var(--ams-border);
    background: var(--ams-surface);
    color: var(--ams-muted);
    transition: all 0.2s ease;
}

.publish-steps__item--current .publish-steps__marker {
    background: var(--ams-yellow);
    border-color: var(--ams-yellow);
    color: var(--ams-black);
    box-shadow: 0 4px 14px rgba(255, 194, 14, 0.35);
}

.publish-steps__item--done .publish-steps__marker {
    background: var(--ams-charcoal);
    border-color: var(--ams-charcoal);
    color: #fff;
}

.publish-steps__label {
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    color: var(--ams-muted);
    max-width: 5.5rem;
    line-height: 1.25;
}

.publish-steps__item--current .publish-steps__label {
    color: var(--ams-black);
}

.publish-steps__item--done .publish-steps__label {
    color: var(--ams-gray-600);
}

.publish-steps__line {
    flex: 1;
    height: 2px;
    background: var(--ams-border);
    margin-top: 1.2rem;
    min-width: 1.5rem;
    max-width: 3rem;
}

.publish-steps__line--done {
    background: var(--ams-charcoal);
}

.publish-card {
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px rgba(20, 20, 20, 0.06);
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .publish-card {
        padding: 2rem 2.25rem;
    }
}

.publish-section {
    padding-bottom: 1.75rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--ams-border);
}

.publish-section:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.publish-section--compact {
    padding-bottom: 0;
    margin-bottom: 1.5rem;
}

.publish-section__head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.publish-section__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    background: var(--ams-yellow-muted);
    color: var(--ams-gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.publish-section__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
}

.publish-section__hint {
    font-size: 0.85rem;
    color: var(--ams-muted);
    margin: 0.2rem 0 0;
}

.publish-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--ams-gray-800);
    margin-bottom: 0.4rem;
}

.publish-input,
.publish-form .form-select,
.publish-form .form-control {
    border-color: var(--ams-border);
    border-radius: 0.6rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.9375rem;
}

.publish-input:focus,
.publish-form .form-select:focus,
.publish-form .form-control:focus {
    border-color: var(--ams-yellow);
    box-shadow: 0 0 0 0.2rem rgba(255, 194, 14, 0.2);
}

.publish-textarea {
    min-height: 9rem;
    resize: vertical;
}

.publish-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

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

.publish-account-panel__hint {
    font-size: 0.875rem;
    color: var(--ams-muted);
    margin: 0 0 1rem;
}

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

.publish-type-option__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.publish-type-option__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    border: 2px solid var(--ams-border);
    border-radius: 0.85rem;
    background: var(--ams-surface);
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ams-gray-600);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.publish-type-option__card i {
    font-size: 1.35rem;
}

.publish-type-option__input:checked + .publish-type-option__card {
    border-color: var(--ams-yellow);
    background: var(--ams-yellow-soft);
    color: var(--ams-black);
}

.publish-type-option__input:focus-visible + .publish-type-option__card {
    outline: 2px solid var(--ams-yellow);
    outline-offset: 2px;
}

.publish-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 2rem 1.5rem;
    border: 2px dashed var(--ams-border);
    border-radius: 1rem;
    background: var(--ams-bg);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s, background 0.15s;
    margin-bottom: 0.75rem;
}

.publish-upload:hover {
    border-color: var(--ams-yellow);
    background: var(--ams-yellow-muted);
}

.publish-upload__input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.publish-upload__icon {
    font-size: 2rem;
    color: var(--ams-yellow-hover);
}

.publish-upload__title {
    font-weight: 700;
    color: var(--ams-black);
}

.publish-upload__hint {
    font-size: 0.8rem;
    color: var(--ams-muted);
}

.publish-upload__status {
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.publish-confirm-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    background: var(--ams-yellow-muted);
    border: 1px solid rgba(255, 194, 14, 0.35);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.publish-confirm-note i {
    color: var(--ams-yellow-hover);
    font-size: 1.15rem;
    margin-top: 0.1rem;
}

.publish-confirm-note p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ams-gray-800);
}

.publish-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ams-border);
}

.publish-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.35rem;
    font-weight: 600;
}

.publish-form .input-group-text {
    background: var(--ams-bg);
    border-color: var(--ams-border);
    border-radius: 0.6rem 0 0 0.6rem;
    color: var(--ams-muted);
}

.publish-form .input-group .form-control {
    border-radius: 0 0.6rem 0.6rem 0;
}

.publish-form .listing-photo-item--primary .listing-photo-item__frame {
    border-color: var(--ams-yellow) !important;
}

.publish-form .badge.text-bg-primary {
    background: var(--ams-yellow) !important;
    color: var(--ams-black) !important;
}

.publish-form .btn-outline-primary {
    --bs-btn-color: var(--ams-gray-800);
    --bs-btn-border-color: var(--ams-border);
    --bs-btn-hover-bg: var(--ams-yellow-muted);
    --bs-btn-hover-border-color: var(--ams-yellow);
    --bs-btn-hover-color: var(--ams-black);
}

/* ── Publish step 2 ───────────────────────────────────── */
.publish-step2__intro {
    margin-bottom: 1.75rem;
}

.publish-step2__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    letter-spacing: -0.01em;
}

.publish-step2__subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ams-muted);
    max-width: 38rem;
}

.publish-step2-sections {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.publish-section--panel {
    margin: 0;
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    background: #fff;
    border-bottom: 1px solid var(--ams-border);
}

.publish-section--panel .publish-section__head {
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.publish-section__head-copy {
    flex: 1;
    min-width: 0;
}

.publish-section__icon--sm {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1rem;
}

.publish-step2-type-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    align-self: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: var(--ams-yellow-muted);
    color: var(--ams-gray-800);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.publish-step2__block {
    margin-bottom: 1.5rem;
}

.publish-step2__layout,
.publish-step3__layout {
    align-items: stretch;
}

.publish-step2__aside,
.publish-step3__aside {
    display: flex;
    flex-direction: column;
}

.publish-label--lg {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.publish-label--sm {
    font-size: 0.8125rem;
    margin-bottom: 0.35rem;
    color: var(--ams-gray-600);
}

.publish-input--lg {
    font-size: 1.05rem;
    padding: 0.75rem 1rem;
    font-weight: 500;
}

.publish-input--sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.publish-fields-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: flex-end;
}

.publish-field {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
}

.publish-field .form-control,
.publish-field .form-select {
    width: 100%;
}

.publish-field--title {
    max-width: 34rem;
}

.publish-field--year {
    width: 6.75rem;
}

.publish-field--currency {
    width: 6.25rem;
    flex-shrink: 0;
}

.publish-field--price {
    width: 11.5rem;
}

.publish-field--period {
    width: 10.75rem;
}

.publish-field--select {
    width: min(100%, 14.5rem);
}

.publish-field--metric {
    width: 8.75rem;
}

.publish-field--min-value {
    width: 6.5rem;
}

.publish-rent-terms {
    margin-top: 1.15rem;
    padding-top: 1.15rem;
    border-top: 1px dashed var(--ams-border);
}

.publish-rent-terms__title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ams-gray-800);
}

.publish-rent-terms__hint {
    margin: 0.2rem 0 0.85rem;
    font-size: 0.8rem;
    color: var(--ams-muted);
}

.publish-review__rent-terms {
    margin: 0;
    padding-left: 1.1rem;
}

.publish-review__rent-terms li + li {
    margin-top: 0.2rem;
}

.listing-detail__rent-terms {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    font-size: 0.875rem;
    color: var(--ams-gray-700);
}

.listing-detail__rent-terms li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.listing-detail__rent-terms .bi {
    color: var(--ams-yellow-dark, #c9a000);
}

.listing-detail__rent-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ams-border);
}

.listing-detail__section-title--inline {
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
}

.listing-detail__rent-specs {
    margin-bottom: 0.25rem;
}

.listing-spec--rent {
    background: linear-gradient(180deg, #fff 0%, var(--ams-bg) 100%);
}

.panel-listing-card__rent-terms {
    margin: 0.15rem 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ams-gray-700);
    line-height: 1.35;
}

.publish-price-group .form-select {
    max-width: 5.5rem;
    flex-shrink: 0;
    border-radius: 0.6rem 0 0 0.6rem;
    font-weight: 600;
}

.publish-price-group .form-control {
    border-radius: 0 0.6rem 0.6rem 0;
    font-weight: 600;
}

.publish-pricing__panel + .publish-pricing__panel {
    margin-top: 0.5rem;
}

.publish-pricing__hint {
    margin: 0.45rem 0 0;
    font-size: 0.8rem;
    color: var(--ams-muted);
}

.publish-review__price-period,
.listing-detail__price-period {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--ams-muted);
}

.listing-detail__price-label {
    margin: 0 0 0.15rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ams-muted);
}

.listing-detail__price-label--rent {
    margin-top: 0.65rem;
}

.listing-detail__price--rent {
    font-size: 1.35rem;
}

.publish-field-group {
    background: var(--ams-bg);
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.25rem;
}

.publish-field-group__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ams-black);
    margin: 0 0 1rem;
}

.publish-field-group__custom-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.publish-field-group__custom-actions--location {
    margin-top: 0.75rem;
}

.publish-custom-value--compact {
    margin-top: 0.75rem;
}

.publish-custom-value {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-top: 0.75rem;
    padding: 0.625rem 0.75rem;
    background: var(--ams-bg);
    border: 1px solid var(--ams-border);
    border-radius: 0.625rem;
    font-size: 0.85rem;
}

.publish-custom-value__lines {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    flex: 1;
}

.publish-custom-value__line {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    align-items: baseline;
}

.publish-custom-value__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.publish-custom-value__label {
    color: var(--ams-muted);
}

.publish-custom-value__name {
    font-weight: 600;
    color: var(--ams-black);
}

.publish-custom-value__action {
    padding: 0;
    font-size: 0.85rem;
    text-decoration: none;
}

.publish-custom-value__action:hover {
    text-decoration: underline;
}

.publish-input--disabled-custom {
    opacity: 0.55;
    pointer-events: none;
}

.publish-custom-modal__content {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.15);
}

.publish-custom-modal__lead {
    color: var(--ams-muted);
    font-size: 0.9rem;
    margin: 0;
}

.publish-field-group__alt {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--ams-border);
}

.publish-field-group__alt-label {
    font-size: 0.8rem;
    color: var(--ams-muted);
    margin: 0 0 0.5rem;
}

.publish-optional {
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    background: var(--ams-surface);
    overflow: hidden;
}

.publish-optional__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.15s;
}

.publish-optional__summary::-webkit-details-marker {
    display: none;
}

.publish-optional__summary:hover {
    background: var(--ams-bg);
}

.publish-optional__lead {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
}

.publish-optional__lead .publish-section__icon {
    margin-top: 0.05rem;
}

.publish-optional__title {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ams-black);
    letter-spacing: -0.01em;
}

.publish-optional__subtitle {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--ams-muted);
    line-height: 1.35;
}

.publish-optional__chevron {
    color: var(--ams-muted);
    transition: transform 0.2s;
}

.publish-optional[open] .publish-optional__chevron {
    transform: rotate(180deg);
}

.publish-optional__body {
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid var(--ams-border);
}

.publish-optional__hint {
    font-size: 0.8rem;
    color: var(--ams-muted);
    margin: 0.85rem 0 1rem;
}

.publish-location-card {
    background: linear-gradient(165deg, var(--ams-charcoal) 0%, var(--ams-gray-800) 100%);
    color: #fff;
    border-radius: 1rem;
    padding: 1.35rem 1.25rem;
    position: sticky;
    top: 5.5rem;
    align-self: flex-start;
    width: 100%;
    z-index: 2;
}

.publish-location-card__head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.publish-location-card__head > i {
    font-size: 1.35rem;
    color: var(--ams-yellow);
    margin-top: 0.1rem;
}

.publish-location-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    color: #fff;
}

.publish-location-card__hint {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.4;
}

.publish-location-card .publish-label {
    color: rgba(255, 255, 255, 0.85);
}

.publish-location-card .publish-input,
.publish-location-card .form-select {
    background: rgba(255, 255, 255, 0.96);
    border-color: transparent;
}

.publish-location-card .publish-input:focus,
.publish-location-card .form-select:focus {
    border-color: var(--ams-yellow);
    box-shadow: 0 0 0 0.2rem rgba(255, 194, 14, 0.3);
}

.publish-location-card .publish-field-group__custom-actions .btn-ams-outline {
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
}

.publish-location-card .publish-field-group__custom-actions .btn-ams-outline:hover,
.publish-location-card .publish-field-group__custom-actions .btn-ams-outline:focus {
    color: var(--ams-black);
    background: var(--ams-yellow);
    border-color: var(--ams-yellow);
}

.publish-location-card .publish-custom-value {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.publish-location-card .publish-custom-value__label {
    color: rgba(255, 255, 255, 0.62);
}

.publish-location-card .publish-custom-value__name {
    color: #fff;
}

.publish-location-card .publish-custom-value__action {
    color: var(--ams-yellow);
}

.publish-location-card .publish-custom-value__action.text-danger {
    color: #ffb4b4;
}

.publish-location-card .publish-custom-value__action:hover {
    color: #fff;
}

.publish-location-card .publish-custom-value__action.text-danger:hover {
    color: #ffd0d0;
}

/* ── Publish step 3 ───────────────────────────────────── */
.publish-step3__intro {
    margin-bottom: 1.75rem;
}

.publish-step3__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    letter-spacing: -0.01em;
}

.publish-step3__subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ams-muted);
}

.publish-media-card,
.publish-photos-card {
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    padding: 1.25rem 1.35rem;
    margin-bottom: 1rem;
}

.publish-media-card--video {
    margin-bottom: 0;
}

.publish-media-card__head,
.publish-photos-card__head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.publish-media-card__head--inline {
    align-items: center;
    margin-bottom: 0.85rem;
}

.publish-media-card__icon,
.publish-photos-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: var(--ams-yellow-muted);
    color: var(--ams-black);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.publish-media-card__icon--sm {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 1rem;
}

.publish-media-card__title,
.publish-photos-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.15rem;
    color: var(--ams-black);
}

.publish-media-card__hint,
.publish-photos-card__hint {
    font-size: 0.8rem;
    color: var(--ams-muted);
    margin: 0;
    line-height: 1.4;
}

.publish-photos-card {
    position: sticky;
    top: 5.5rem;
    align-self: flex-start;
    width: 100%;
    z-index: 2;
    margin-bottom: 0;
}

.publish-upload--card {
    margin-top: 0.25rem;
}

.publish-textarea {
    min-height: 10.5rem;
    resize: vertical;
}

/* ── Publish images loading modal ─────────────────────── */
.publish-loading-modal .modal-content {
    border: none;
    border-radius: 1.1rem;
    box-shadow: 0 1.25rem 3rem rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

.publish-loading-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--ams-yellow-muted);
    color: var(--ams-black);
    font-size: 1.5rem;
}

.publish-loading-modal__title {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.publish-loading-modal__status {
    font-size: 0.9rem;
    min-height: 1.35rem;
}

.publish-loading-modal__percent {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ams-black);
    line-height: 1;
}

.publish-loading-modal__bar {
    height: 0.55rem;
    border-radius: 999px;
    background: var(--ams-bg);
    overflow: hidden;
}

.publish-loading-modal__bar .progress-bar {
    background: linear-gradient(90deg, var(--ams-yellow) 0%, #ffd84d 100%);
    border-radius: 999px;
    transition: width 0.25s ease;
}

/* ── Publish leave guard modal ────────────────────────── */
.publish-leave-modal {
    z-index: 1065;
}

.publish-leave-modal .modal-dialog {
    max-width: 26rem;
}

.publish-leave-modal__content {
    position: relative;
    border: none;
    border-radius: 1.1rem;
    background: var(--ams-surface);
    box-shadow: 0 1.25rem 3rem rgba(15, 23, 42, 0.16);
    overflow: hidden;
}

.publish-leave-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
}

.publish-leave-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--ams-yellow-muted);
    color: var(--ams-black);
    font-size: 1.45rem;
}

.publish-leave-modal__title {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ams-black);
}

.publish-leave-modal__message {
    color: var(--ams-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
    max-width: 22rem;
    margin-inline: auto;
}

.publish-leave-modal .modal-footer .btn {
    min-width: 9.5rem;
}

@media (max-width: 575.98px) {
    .publish-leave-modal .modal-footer {
        flex-direction: column;
    }

    .publish-leave-modal .modal-footer .btn {
        width: 100%;
        min-width: 0;
    }
}

.country-select .list-group-item {
    cursor: pointer;
    border-radius: .5rem !important;
    margin-bottom: .25rem;
    border: 1px solid #e5e7eb !important;
}

.country-item.d-none {
    display: none !important;
}

.country-modal .modal-content {
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
}

.country-picker-wrap,
.nav-picker-wrap {
    position: relative;
}

.site-header .navbar-collapse {
    overflow: visible;
}

.country-dropdown,
.nav-picker-dropdown {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    z-index: 1060;
    width: min(19rem, calc(100vw - 1.5rem));
    perspective: 900px;
}

.country-dropdown__arrow,
.nav-picker-dropdown__arrow {
    position: absolute;
    top: -0.45rem;
    right: 1.1rem;
    width: 0.85rem;
    height: 0.85rem;
    background: #fffef8;
    border-top: 1px solid var(--ams-border);
    border-left: 1px solid var(--ams-border);
    transform: rotate(45deg);
    z-index: 1;
    opacity: 0;
}

.nav-picker-dropdown.is-open:not(.is-closing) .nav-picker-dropdown__arrow {
    animation: nav-picker-arrow-in 0.34s 0.06s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.country-dropdown__panel,
.nav-picker-dropdown__panel {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 252, 235, 0.95) 0%, rgba(255, 255, 255, 0.98) 22%, #fff 58%, rgba(255, 251, 238, 0.92) 100%);
    border: 1px solid var(--ams-border);
    border-radius: 0.85rem;
    padding: 0.85rem;
    box-shadow:
        0 14px 34px rgba(20, 20, 20, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -3px 8px rgba(255, 194, 14, 0.07);
    transform-origin: top center;
    backface-visibility: hidden;
    will-change: transform, opacity;
}

.nav-picker-dropdown.is-open:not(.is-closing) .nav-picker-dropdown__panel {
    animation: nav-picker-unroll 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nav-picker-dropdown.is-closing .nav-picker-dropdown__panel {
    animation: nav-picker-rollup 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.nav-picker-dropdown.is-open:not(.is-closing) .nav-picker-dropdown__title,
.nav-picker-dropdown.is-open:not(.is-closing) .country-picker__search,
.nav-picker-dropdown.is-open:not(.is-closing) .picker-option__list,
.nav-picker-dropdown.is-open:not(.is-closing) .country-picker__form > .btn-ams,
.nav-picker-dropdown.is-open:not(.is-closing) .locale-picker__form > .btn-ams,
.nav-picker-dropdown.is-open:not(.is-closing) .nav-user-dropdown__header,
.nav-picker-dropdown.is-open:not(.is-closing) .nav-user-dropdown__list {
    animation: nav-picker-content-in 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.14s;
}

.nav-picker-dropdown.is-open:not(.is-closing) .country-picker__search,
.nav-picker-dropdown.is-open:not(.is-closing) .picker-option__list {
    animation-delay: 0.2s;
}

.nav-picker-dropdown.is-open:not(.is-closing) .country-picker__form > .btn-ams,
.nav-picker-dropdown.is-open:not(.is-closing) .locale-picker__form > .btn-ams {
    animation-delay: 0.26s;
}

@keyframes nav-picker-unroll {
    0% {
        opacity: 0.35;
        transform: rotateX(-24deg) scaleY(0.14) translateY(-0.2rem);
        border-radius: 1.1rem 1.1rem 0.35rem 0.35rem;
        box-shadow:
            0 4px 10px rgba(20, 20, 20, 0.06),
            inset 0 2px 0 rgba(255, 255, 255, 0.8);
    }
    52% {
        opacity: 1;
        transform: rotateX(-5deg) scaleY(0.92) translateY(0);
        border-radius: 0.9rem;
    }
    76% {
        transform: rotateX(2deg) scaleY(1.015);
    }
    100% {
        opacity: 1;
        transform: rotateX(0deg) scaleY(1) translateY(0);
        border-radius: 0.85rem;
        box-shadow:
            0 14px 34px rgba(20, 20, 20, 0.14),
            inset 0 1px 0 rgba(255, 255, 255, 0.95),
            inset 0 -3px 8px rgba(255, 194, 14, 0.07);
    }
}

@keyframes nav-picker-rollup {
    0% {
        opacity: 1;
        transform: rotateX(0deg) scaleY(1);
        border-radius: 0.85rem;
    }
    100% {
        opacity: 0;
        transform: rotateX(-18deg) scaleY(0.12) translateY(-0.15rem);
        border-radius: 1rem 1rem 0.3rem 0.3rem;
    }
}

@keyframes nav-picker-arrow-in {
    0% {
        opacity: 0;
        transform: rotate(45deg) scale(0.35) translateY(-0.35rem);
    }
    100% {
        opacity: 1;
        transform: rotate(45deg) scale(1) translateY(0);
    }
}

@keyframes nav-picker-content-in {
    0% {
        opacity: 0;
        transform: translateY(-0.35rem);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-picker-dropdown.is-open:not(.is-closing) .nav-picker-dropdown__panel,
    .nav-picker-dropdown.is-closing .nav-picker-dropdown__panel,
    .nav-picker-dropdown.is-open:not(.is-closing) .nav-picker-dropdown__arrow,
    .nav-picker-dropdown.is-open:not(.is-closing) .nav-picker-dropdown__title,
    .nav-picker-dropdown.is-open:not(.is-closing) .country-picker__search,
    .nav-picker-dropdown.is-open:not(.is-closing) .picker-option__list,
    .nav-picker-dropdown.is-open:not(.is-closing) .country-picker__form > .btn-ams,
    .nav-picker-dropdown.is-open:not(.is-closing) .locale-picker__form > .btn-ams,
    .nav-picker-dropdown.is-open:not(.is-closing) .nav-user-dropdown__header,
    .nav-picker-dropdown.is-open:not(.is-closing) .nav-user-dropdown__list {
        animation: none;
    }

    .nav-picker-dropdown.is-open .nav-picker-dropdown__arrow {
        opacity: 1;
    }
}

.country-confirm-modal__content {
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 252, 235, 0.95) 0%, rgba(255, 255, 255, 0.98) 24%, #fff 100%);
    box-shadow: 0 18px 42px rgba(20, 20, 20, 0.16);
}

.country-confirm-modal__flag {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0.85rem;
}

.country-confirm-modal__change {
    color: var(--ams-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.country-confirm-modal__change:hover,
.country-confirm-modal__change:focus {
    color: var(--ams-black);
}

.country-confirm-modal__list {
    max-height: min(38vh, 14rem);
}

.country-dropdown__title,
.nav-picker-dropdown__title {
    margin: 0 0 0.65rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ams-black);
}

.nav-country-btn.is-open,
.nav-picker-btn.is-open {
    color: var(--ams-black);
    background: var(--ams-yellow-soft);
    border-color: var(--ams-yellow);
}

.country-picker__search {
    margin-bottom: 0.85rem;
}

.country-picker__list,
.picker-option__list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-height: min(42vh, 16rem);
    overflow-y: auto;
    padding-right: 0.1rem;
}

.country-option,
.picker-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--ams-border);
    border-radius: 0.65rem;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    margin: 0;
}

.country-option:hover,
.picker-option:hover {
    border-color: rgba(255, 194, 14, 0.45);
    background: #fffdf5;
}

.country-option__input,
.picker-option__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.country-option:has(.country-option__input:checked),
.picker-option:has(.picker-option__input:checked) {
    border-color: var(--ams-yellow);
    background: var(--ams-yellow-soft);
}

.country-option__flag,
.picker-option__icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.country-option__body,
.picker-option__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.country-option__name,
.picker-option__name {
    font-weight: 600;
    color: var(--ams-black);
}

.country-option__code,
.picker-option__code {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ams-muted);
    letter-spacing: 0.04em;
}

.nav-country-btn,
.nav-picker-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--ams-border);
    border-radius: 0.65rem;
    background: var(--ams-surface);
    font: inherit;
    color: var(--ams-gray-600);
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    transition: color 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.nav-country-btn:hover,
.nav-country-btn:focus-visible,
.nav-picker-btn:hover,
.nav-picker-btn:focus-visible {
    color: var(--ams-black);
    background: #fffdf5;
    border-color: rgba(255, 194, 14, 0.45);
}

.nav-picker-btn__value {
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    color: var(--ams-black);
}

.nav-country-btn__flag,
.nav-picker-btn__icon {
    font-size: 1.1rem;
    line-height: 1;
}

/* ── User panel ───────────────────────────────────────── */
.panel-page {
    background: linear-gradient(180deg, #fff 0%, var(--ams-bg) 55%);
    min-height: 60vh;
}

.panel-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 992px) {
    .panel-layout {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 2rem;
    }
}

.panel-sidebar {
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    padding: 1rem;
}

@media (min-width: 992px) {
    .panel-sidebar {
        padding: 1.15rem;
        position: sticky;
        top: 5.5rem;
    }
}

.panel-sidebar__brand {
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0.5rem 1rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid var(--ams-border);
}

.panel-sidebar__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ams-yellow-muted);
    flex-shrink: 0;
}

.panel-sidebar__title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ams-muted);
    margin: 0 0 0.1rem;
}

.panel-sidebar__user {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ams-black);
    margin: 0;
    line-height: 1.3;
}

.panel-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.panel-nav::-webkit-scrollbar {
    display: none;
}

@media (min-width: 992px) {
    .panel-nav {
        flex-direction: column;
        flex-wrap: wrap;
        overflow: visible;
        gap: 0.2rem;
    }
}

.panel-nav__item {
    flex-shrink: 0;
}

.panel-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    border-radius: 0.65rem;
    color: var(--ams-gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.panel-nav__link:hover,
.panel-nav__link:focus {
    color: var(--ams-black);
    background: var(--ams-yellow-muted);
}

.panel-nav__link.active {
    color: var(--ams-black);
    background: var(--ams-yellow-muted);
    box-shadow: inset 0 -2px 0 var(--ams-yellow);
}

@media (min-width: 992px) {
    .panel-nav__link {
        width: 100%;
    }

    .panel-nav__link.active {
        box-shadow: inset 3px 0 0 var(--ams-yellow);
    }
}

.panel-nav__link .bi {
    font-size: 1rem;
    line-height: 1;
}

.panel-nav__icon {
    color: var(--ams-gray-600);
}

.panel-nav__link.active .panel-nav__icon {
    color: var(--ams-black);
}

.panel-nav__label {
    flex: 1;
    min-width: 0;
}

.panel-nav__badge {
    margin-left: auto;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.panel-main {
    min-width: 0;
}

.panel-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.panel-page-header__title {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.25rem;
}

.panel-page-header__subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ams-muted);
}

.panel-welcome {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(165deg, var(--ams-charcoal) 0%, var(--ams-gray-800) 100%);
    color: #fff;
    border-radius: 1rem;
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.5rem;
}

.panel-welcome__content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.panel-welcome__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 194, 14, 0.45);
    flex-shrink: 0;
}

.panel-welcome__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    color: #fff;
}

.panel-welcome__subtitle {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.panel-stat {
    display: block;
    height: 100%;
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    padding: 1.15rem 1.2rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.panel-stat--link:hover {
    border-color: var(--ams-yellow);
    box-shadow: 0 4px 18px rgba(20, 20, 20, 0.06);
    transform: translateY(-1px);
    color: inherit;
}

.panel-stat__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.7rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.panel-stat__icon--yellow {
    background: var(--ams-yellow-muted);
    color: var(--ams-black);
}

.panel-stat__icon--blue {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.panel-stat__icon--red {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.panel-stat__icon--orange {
    background: rgba(249, 115, 22, 0.12);
    color: #ea580c;
}

.panel-stat__value {
    display: block;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0.15rem;
}

.panel-stat__label {
    display: block;
    color: var(--ams-muted);
    font-size: 0.8125rem;
    line-height: 1.35;
}

.panel-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-section-header__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.panel-section-header__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ams-gray-600);
    text-decoration: none;
}

.panel-section-header__link:hover {
    color: var(--ams-black);
}

.panel-empty {
    background: var(--ams-surface);
    border: 1px dashed var(--ams-border);
    border-radius: 1rem;
    text-align: center;
    padding: 3rem 1.5rem;
}

.panel-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--ams-yellow-muted);
    color: var(--ams-black);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.panel-empty__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.panel-empty__text {
    color: var(--ams-muted);
    max-width: 28rem;
    margin: 0 auto 1.25rem;
    font-size: 0.9rem;
}

.panel-reviews-summary__avg {
    font-size: 1.1rem;
}

.panel-reviews-summary__stars {
    color: #f5a623;
    margin-right: 0.35rem;
}

.panel-reviews-list__item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--ams-border);
}

.panel-reviews-list__item:last-child {
    border-bottom: 0;
}

.panel-reviews-list__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.panel-reviews-list__stars {
    color: #f5a623;
}

.panel-reviews-list__comment {
    font-size: 0.95rem;
}

.panel-alert {
    display: flex;
    gap: 0.85rem;
    border-radius: 1rem;
    padding: 1rem 1.15rem;
    margin-bottom: 1.5rem;
}

.panel-alert--warning {
    background: #fff8e1;
    border: 1px solid rgba(255, 194, 14, 0.45);
}

.panel-alert--info {
    background: #eff6ff;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.panel-alert__icon {
    font-size: 1.25rem;
    color: #b45309;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.panel-alert--info .panel-alert__icon {
    color: #2563eb;
}

.panel-alert__title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.panel-profile-banner__body {
    flex: 1;
    min-width: 0;
}

.panel-profile-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.panel-profile-checklist__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-profile-checklist__percent {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: var(--ams-yellow-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.panel-profile-checklist__percent-value {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--ams-gray-800);
}

.panel-profile-checklist__bar {
    height: 0.45rem;
    background: var(--ams-gray-200);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.panel-profile-checklist__bar-fill {
    display: block;
    height: 100%;
    background: var(--ams-yellow);
    border-radius: 999px;
    transition: width 0.3s ease;
}

.panel-profile-checklist__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.panel-profile-checklist__step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.panel-profile-checklist__step.is-done {
    color: var(--ams-muted);
}

.panel-profile-checklist__step.is-done .panel-profile-checklist__step-icon {
    color: #198754;
}

.panel-profile-checklist__step-icon {
    color: var(--ams-muted);
    flex-shrink: 0;
}

.panel-profile-checklist__step-label {
    flex: 1;
}

.panel-profile-checklist__step-link {
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.panel-alert__list {
    margin: 0 0 0.5rem;
    padding-left: 1.1rem;
    font-size: 0.875rem;
}

.panel-alert__list a {
    color: var(--ams-black);
    font-weight: 600;
}

.panel-toolbar {
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.25rem;
}

.panel-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ams-gray-600);
    margin-bottom: 0.35rem;
}

.panel-input {
    border-color: var(--ams-border);
    border-radius: 0.6rem;
}

.panel-input:focus {
    border-color: var(--ams-yellow);
    box-shadow: 0 0 0 0.2rem rgba(255, 194, 14, 0.2);
}

.panel-card {
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    overflow: hidden;
}

.panel-card--danger {
    border-color: rgba(220, 53, 69, 0.35);
}

.account-delete-card__lead {
    line-height: 1.55;
    max-width: 42rem;
}

.account-delete-modal .modal-dialog {
    max-width: 32rem;
}

.account-delete-modal__content {
    display: flex;
    flex-direction: column;
    max-height: 100%;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 1.25rem 3rem rgba(15, 23, 42, 0.14);
    overflow: hidden;
}

.account-delete-modal__form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.account-delete-modal .modal-header,
.account-delete-modal__footer {
    flex-shrink: 0;
}

.account-delete-modal .modal-body {
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    min-height: 0;
}

.account-delete-modal__footer {
    position: sticky;
    bottom: 0;
    z-index: 1;
    background: var(--ams-surface);
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -0.75rem 1rem rgba(255, 255, 255, 0.92);
}

@media (max-width: 575.98px) {
    .account-delete-modal .modal-content {
        border-radius: 0;
    }

    .account-delete-modal .modal-header {
        padding-top: calc(1rem + env(safe-area-inset-top, 0px));
    }

    .account-delete-modal .modal-body {
        padding-bottom: 0.5rem;
    }
}

.account-delete-modal__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ams-muted);
}

.account-delete-modal__lead {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.account-delete-modal__confirm {
    padding: 1rem 1rem 0.25rem;
    border-top: 1px solid var(--ams-border);
}

.account-delete-modal__confirm-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ams-black);
    margin-bottom: 0.75rem;
}

.account-delete-survey__options {
    display: grid;
    gap: 0.65rem;
}

.account-delete-survey__option {
    margin: 0;
    cursor: pointer;
}

.account-delete-survey__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.account-delete-survey__card {
    display: block;
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--ams-border);
    border-radius: 0.85rem;
    background: var(--ams-surface);
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--ams-black);
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.account-delete-survey__option:hover .account-delete-survey__card {
    border-color: rgba(255, 194, 14, 0.55);
    background: var(--ams-bg);
}

.account-delete-survey__input:checked + .account-delete-survey__card {
    border-color: var(--ams-yellow);
    background: var(--ams-yellow-soft);
    box-shadow: inset 0 0 0 1px rgba(255, 194, 14, 0.35);
}

.account-delete-survey__input:focus-visible + .account-delete-survey__card {
    outline: 2px solid var(--ams-yellow);
    outline-offset: 2px;
}

.account-delete-survey__comment .panel-label {
    margin-bottom: 0.45rem;
}

.panel-card--chat {
    overflow: hidden;
}

.panel-card__body {
    padding: 1.35rem 1.5rem;
}

.panel-card__body--center {
    text-align: center;
}

.panel-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--ams-black);
}

.panel-card__title--danger {
    color: #dc3545;
}

.panel-card__divider {
    border-top: 1px solid var(--ams-border);
    padding-top: 1.25rem;
    margin-top: 0.5rem;
}

.panel-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.panel-info-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--ams-gray-600);
    padding: 0.35rem 0;
}

.panel-info-list .bi {
    color: var(--ams-muted);
}

.panel-avatar-upload {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.panel-listings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.panel-listing-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) minmax(230px, 280px);
    gap: 0;
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.panel-listing-card:hover {
    border-color: rgba(255, 194, 14, 0.45);
    box-shadow: 0 4px 16px rgba(20, 20, 20, 0.05);
}

.panel-listing-card__thumb {
    display: block;
    background: #e8e8e5;
    min-height: 140px;
}

.panel-listing-card__thumb img {
    width: 100%;
    height: 100%;
    min-height: 140px;
    object-fit: cover;
    display: block;
}

.panel-listing-card__body {
    padding: 1rem 1.15rem;
    min-width: 0;
}

.panel-listing-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.panel-listing-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    line-height: 1.35;
}

.panel-listing-card__title a {
    color: var(--ams-black);
    text-decoration: none;
}

.panel-listing-card__title a:hover {
    color: var(--ams-gray-800);
}

.panel-listing-card__price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ams-black);
    margin: 0 0 0.35rem;
}

.panel-listing-card__meta {
    font-size: 0.8125rem;
    color: var(--ams-muted);
    margin: 0 0 0.85rem;
}

.panel-listing-card__meta .bi {
    margin-right: 0.15rem;
}

.panel-listing-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.panel-listing-card__status-form {
    display: inline-block;
}

.panel-listing-card__status-form .form-select {
    min-width: 8.5rem;
}

.panel-listing-card__promotion {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    border-left: 1px solid rgba(255, 194, 14, 0.35);
    background: linear-gradient(180deg, rgba(255, 194, 14, 0.12), rgba(255, 255, 255, 0.92));
}

.panel-listing-card__promotion-head {
    display: grid;
    gap: 0.25rem;
}

.panel-listing-card__promotion-kicker {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--ams-black);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.panel-listing-card__promotion-optional {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.35;
    font-weight: 600;
    color: var(--ams-black);
}

.panel-listing-card__promotion-head .panel-listing-card__promotion-text {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--ams-muted);
}

.panel-listing-card__promotion-link {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 800;
    color: var(--ams-black);
    text-decoration: underline;
    text-decoration-color: rgba(255, 194, 14, 0.85);
    text-underline-offset: 0.15em;
    cursor: pointer;
}

.panel-listing-card__promotion-link:hover,
.panel-listing-card__promotion-link:focus-visible {
    color: #000;
    text-decoration-color: var(--ams-yellow, #ffc20e);
}

.panel-listing-card__promotion-actions {
    display: grid;
    gap: 0.55rem;
}

.panel-listing-card__promotion-btn {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    font-weight: 800;
    white-space: normal;
}

.panel-listing-card__promotion-state {
    display: block;
    width: 100%;
    padding: 0.55rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--ams-border);
    background: var(--ams-surface);
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    color: var(--ams-muted);
}

.panel-listing-card__promotion-state--active {
    border-color: rgba(25, 135, 84, 0.3);
    background: rgba(25, 135, 84, 0.1);
    color: #146c43;
}

.panel-conversations {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.panel-conversation {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, background 0.15s;
}

.panel-conversation:hover {
    border-color: var(--ams-yellow);
    background: #fffdf5;
    color: inherit;
}

.panel-conversation--unread {
    border-color: rgba(255, 194, 14, 0.5);
    background: var(--ams-yellow-soft);
}

.panel-conversation__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.7rem;
    background: var(--ams-yellow-muted);
    color: var(--ams-black);
    flex-shrink: 0;
}

.panel-conversation__body {
    flex: 1;
    min-width: 0;
}

.panel-conversation__top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.15rem;
}

.panel-conversation__title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ams-black);
}

.panel-conversation__badge {
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.panel-conversation__meta {
    display: block;
    font-size: 0.8125rem;
    color: var(--ams-muted);
}

.panel-conversation__preview {
    display: block;
    font-size: 0.8125rem;
    color: var(--ams-gray-600);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.15rem;
}

.panel-conversation__chevron {
    color: var(--ams-muted);
    flex-shrink: 0;
}

.panel-inquiries {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.panel-inquiry-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    border-radius: 0.85rem;
    padding: 0.75rem 0.85rem;
    transition: border-color 0.15s, background 0.15s;
}

.panel-inquiry-card:hover {
    border-color: rgba(255, 194, 14, 0.45);
    background: #fffdf5;
}

.panel-inquiry-card--unread {
    border-color: rgba(255, 194, 14, 0.5);
    background: var(--ams-yellow-soft);
}

.panel-inquiry-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.6rem;
    background: var(--ams-yellow-muted);
    color: var(--ams-black);
    flex-shrink: 0;
    font-size: 0.95rem;
}

.panel-inquiry-card__body {
    flex: 1;
    min-width: 0;
}

.panel-inquiry-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.15rem;
}

.panel-inquiry-card__listing-link {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ams-black);
    text-decoration: none;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel-inquiry-card__listing-link:hover {
    color: var(--ams-black);
    text-decoration: underline;
}

.panel-inquiry-card__meta {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--ams-muted);
    line-height: 1.35;
}

.panel-inquiry-card__preview {
    margin: 0.2rem 0 0;
    font-size: 0.8125rem;
    color: var(--ams-gray-600);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel-inquiry-card__view {
    flex-shrink: 0;
    white-space: nowrap;
    padding-inline: 0.75rem;
    gap: 0.35rem;
}

.panel-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ams-gray-600);
    text-decoration: none;
}

.panel-back-link:hover {
    color: var(--ams-black);
}

.panel-chat {
    max-height: 420px;
    overflow-y: auto;
    padding: 1.15rem;
    background: var(--ams-bg);
}

.panel-chat__empty {
    color: var(--ams-muted);
    text-align: center;
    margin: 2rem 0;
}

.panel-chat__message {
    margin-bottom: 0.85rem;
}

.panel-chat__message--mine {
    text-align: right;
}

.panel-chat__bubble {
    display: inline-block;
    max-width: min(75%, 28rem);
    padding: 0.65rem 0.85rem;
    border-radius: 1rem;
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    text-align: left;
}

.panel-chat__message--mine .panel-chat__bubble {
    background: var(--ams-yellow-muted);
    border-color: rgba(255, 194, 14, 0.45);
}

.panel-chat__text {
    font-size: 0.9rem;
    line-height: 1.45;
}

.panel-chat__time {
    font-size: 0.7rem;
    color: var(--ams-muted);
    margin-top: 0.35rem;
}

.panel-chat-form__wrap {
    display: flex;
    gap: 0.65rem;
    align-items: stretch;
}

.panel-chat-form__input {
    resize: vertical;
    min-height: 2.75rem;
}

.panel-chat-form__btn {
    align-self: flex-end;
    white-space: nowrap;
}

.panel-modal {
    border: none;
    border-radius: 1rem;
}

.panel-promotion-modal__listing {
    font-size: 0.875rem;
    color: var(--ams-muted, #6c757d);
}

.panel-promotion-modal__optional {
    margin: 0;
    padding: 0.55rem 0.75rem;
    border-radius: 0.5rem;
    background: rgba(25, 135, 84, 0.1);
    border: 1px solid rgba(25, 135, 84, 0.25);
    font-size: 0.86rem;
    line-height: 1.4;
    font-weight: 600;
    color: #0f5132;
}

.panel-promotion-modal__lead {
    font-size: 0.95rem;
}

.panel-promotion-modal__benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    gap: 0.5rem;
}

.panel-promotion-modal__benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.panel-promotion-modal__benefits .bi {
    color: var(--ams-yellow, #ffc20e);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.panel-promotion-modal__price {
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.5rem;
    background: var(--ams-yellow-muted, rgba(255, 194, 14, 0.15));
}

.panel-promotion-price-box {
    margin-top: 0.25rem;
    padding: 1rem 1.1rem;
    border-radius: 0.75rem;
    border: 2px solid var(--ams-yellow, #ffc20e);
    background: var(--ams-yellow-muted, rgba(255, 194, 14, 0.12));
    text-align: center;
}

.panel-promotion-price-box__label {
    margin: 0 0 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ams-muted, #6c757d);
}

.panel-promotion-price-box__amount {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--ams-dark, #212529);
}

.panel-promotion-price-box__meta {
    margin: 0.35rem 0 0;
    font-size: 0.85rem;
    color: var(--ams-muted, #6c757d);
}

.panel-promotions-banner {
    padding: 1rem 1.15rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 194, 14, 0.45);
    background: rgba(255, 194, 14, 0.08);
}

.panel-promotions-banner__title {
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0;
}

.panel-promotions-banner__optional {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.4;
    color: var(--ams-black);
}

.panel-promotions-banner__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.45rem;
}

.panel-promotions-banner__list li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
    font-size: 0.95rem;
}

.panel-promotions-banner__product {
    font-weight: 600;
    min-width: 6.5rem;
}

.panel-promotions-banner__summary {
    flex: 1 1 100%;
    font-size: 0.82rem;
    color: var(--ams-muted);
}

.panel-catalog-profile-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 194, 14, 0.45);
    background: linear-gradient(135deg, rgba(255, 194, 14, 0.14) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.panel-catalog-profile-banner__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--ams-yellow);
    color: var(--ams-black);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.panel-catalog-profile-banner__body {
    flex: 1 1 14rem;
    min-width: 0;
}

.panel-catalog-profile-banner__title {
    font-weight: 700;
    margin: 0;
}

.panel-catalog-profile-banner__text {
    font-size: 0.9rem;
    color: var(--ams-muted);
}

.panel-catalog-profile-banner__cta {
    flex-shrink: 0;
}

.panel-catalog-profile-modal__lead {
    font-size: 0.95rem;
    color: var(--ams-black);
}

.panel-catalog-profile-modal__warning {
    padding: 0.75rem 0.9rem;
    border-radius: 0.75rem;
    background: rgba(255, 194, 14, 0.16);
    border: 1px solid rgba(255, 194, 14, 0.45);
    font-size: 0.9rem;
    color: var(--ams-black);
    margin: 0;
}

.panel-catalog-profile-modal__progress {
    margin-bottom: 1rem;
}

.panel-catalog-profile-modal__progress-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ams-muted);
    margin-bottom: 0.35rem;
}

.panel-catalog-profile-modal__progress-bar {
    height: 0.45rem;
    border-radius: 999px;
    background: var(--ams-border);
    overflow: hidden;
}

.panel-catalog-profile-modal__progress-bar > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ams-yellow) 0%, #e6a800 100%);
}

.panel-catalog-profile-modal__steps-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
}

.panel-catalog-profile-modal__steps {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    gap: 0.4rem;
}

.panel-catalog-profile-modal__steps li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    color: var(--ams-gray-800);
}

.panel-catalog-profile-modal__steps .bi {
    color: var(--ams-yellow);
    font-size: 0.55rem;
}

.panel-promotion-modal__upsell-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ams-dark, #212529);
}

.panel-promotion-modal__price--free {
    background: rgba(25, 135, 84, 0.12);
    color: #146c43;
}

.panel-promotion-modal__upsell {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    border: 1px dashed rgba(13, 202, 240, 0.45);
    background: rgba(13, 202, 240, 0.06);
}

.panel-promotion-modal__upsell-title {
    font-weight: 600;
    font-size: 0.9rem;
}

.panel-listing-card__actions .btn-ams-outline--renew {
    border-color: var(--ams-yellow, #ffc20e);
}

.payment-checkout {
    max-width: 520px;
    padding: 1.5rem;
}

.payment-checkout__title {
    font-weight: 700;
}

.payment-checkout__amount-label {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.payment-checkout__amount {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.payment-checkout__currencies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Wompi Waybox: no bajar z-index del modal (el backdrop nativo usa 2147483646) */
.waybox-backdrop {
    z-index: 2147483646 !important;
    pointer-events: none !important;
}

.waybox-modal {
    z-index: 2147483647 !important;
    pointer-events: auto !important;
}

.waybox-preload-wrapper,
.waybox-preload {
    pointer-events: none !important;
}

.payment-checkout__error {
    margin-top: 1rem;
}

.payment-result__icon .bi {
    font-size: 3rem;
}

.profile-avatar-preview {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ams-yellow-muted);
    background: var(--ams-bg);
}

.profile-avatar-preview--lg {
    width: 120px;
    height: 120px;
}

.nav-item--cta-desktop {
    display: none;
}

@media (min-width: 992px) {
    .site-header .navbar-nav {
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.15rem;
    }

    .nav-item--cta-desktop {
        display: list-item;
        flex-shrink: 0;
    }

    .nav-item--home,
    .nav-item--listings,
    .nav-picker-wrap,
    .nav-user-menu,
    .nav-item--account {
        flex-shrink: 0;
    }

    .site-header .navbar-nav .nav-link {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
    }

    .site-header .nav-link__icon {
        font-size: 0.9rem;
        color: var(--ams-muted);
        flex-shrink: 0;
        line-height: 1;
    }

    .site-header .nav-link:hover .nav-link__icon,
    .site-header .nav-link:focus-visible .nav-link__icon,
    .site-header .nav-link.active .nav-link__icon {
        color: var(--ams-black);
    }

    .nav-picker-btn__icon--locale {
        align-items: center;
        justify-content: center;
        color: var(--ams-muted);
    }

    .nav-picker-btn__icon--locale .bi {
        font-size: 0.95rem;
        line-height: 1;
    }

    .nav-picker-btn:hover .nav-picker-btn__icon--locale,
    .nav-picker-btn:focus-visible .nav-picker-btn__icon--locale,
    .nav-picker-btn.is-open .nav-picker-btn__icon--locale {
        color: var(--ams-black);
    }

    .site-header .btn-ams.btn-sm,
    .site-header .nav-cta-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
    }

    .nav-cta-btn__icon {
        font-size: 0.85rem;
        line-height: 1;
        flex-shrink: 0;
    }

    .site-header .btn-ams.btn-sm {
        border-radius: 0.65rem;
        padding: 0.42rem 0.9rem;
        transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
    }

    .site-header .btn-ams.btn-sm:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(255, 194, 14, 0.28);
    }

    .site-header .btn-ams.is-nav-active {
        box-shadow: inset 0 0 0 1px var(--ams-black), 0 2px 8px rgba(255, 194, 14, 0.15);
    }

    .nav-picker-btn.is-open {
        box-shadow: 0 2px 8px rgba(255, 194, 14, 0.12);
    }

    .nav-item--home { order: 1; }
    .nav-item--listings { order: 2; }
    .nav-picker-wrap--country { order: 3; }
    .nav-picker-wrap--locale { order: 4; }
    .nav-item--cta-desktop { order: 5; }
    .nav-user-menu,
    .nav-item--account { order: 6; }
}

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

    .site-header {
        z-index: 1050;
    }

    .nav-mobile-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1035;
        border: 0;
        padding: 0;
        margin: 0;
        background: rgba(20, 20, 20, 0.42);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s cubic-bezier(0.22, 1, 0.36, 1);
        cursor: pointer;
    }

    .nav-mobile-backdrop.is-visible {
        opacity: 1;
        visibility: visible;
    }

    body.nav-mobile-open {
        overflow: hidden;
    }

    body.nav-mobile-open .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1055;
        width: 100%;
    }

    .site-header .navbar-collapse {
        flex-basis: auto;
        width: auto;
        margin-top: 0;
        padding: 0;
        border-top: 0;
        background: transparent;
    }

    .site-header .navbar-collapse.collapsing,
    .site-header .navbar-collapse.show {
        position: fixed;
        top: var(--site-nav-bar-height, 4.35rem);
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        width: 100%;
        max-width: 100%;
        max-height: none !important;
        height: auto !important;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        background: var(--ams-surface);
        border-top: 1px solid var(--ams-border);
        box-shadow: 0 16px 40px rgba(20, 20, 20, 0.14);
        padding: 0.5rem 0 1rem;
        will-change: transform, opacity;
    }

    .site-header .navbar-collapse.collapsing {
        opacity: 0;
        transform: translateY(-0.65rem);
        transition: none;
    }

    .site-header .navbar-collapse.show {
        animation: nav-mobile-panel-in 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .site-header .navbar-collapse.show.nav-mobile-panel--closing {
        animation: nav-mobile-panel-out 0.26s cubic-bezier(0.4, 0, 0.2, 1) both;
    }

    @keyframes nav-mobile-panel-in {
        from {
            opacity: 0;
            transform: translateY(-0.75rem);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes nav-mobile-panel-out {
        from {
            opacity: 1;
            transform: translateY(0);
        }

        to {
            opacity: 0;
            transform: translateY(-0.55rem);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .nav-mobile-backdrop,
        .site-header .navbar-collapse.show,
        .site-header .navbar-collapse.show.nav-mobile-panel--closing {
            animation: none !important;
            transition: none !important;
        }
    }

    .site-header .navbar-nav {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        width: 100%;
        gap: 0;
        padding-inline: 0.75rem;
    }

    .nav-item--cta-mobile {
        order: 1;
        width: 100%;
        padding-bottom: 0.65rem;
    }

    .nav-mobile-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        font-weight: 700;
        font-size: 1rem;
        padding: 0.75rem 1rem;
        box-shadow: 0 4px 14px rgba(255, 194, 14, 0.28);
    }

    .nav-mobile-section {
        order: 2;
        width: 100%;
        flex: 0 0 100%;
        list-style: none;
        padding: 0.85rem 0 0.35rem;
    }

    .nav-mobile-section--account {
        order: 5;
        padding-top: 1rem;
        margin-top: 0.15rem;
        border-top: 1px solid var(--ams-border);
    }

    .nav-mobile-section--prefs {
        order: 8;
        padding-top: 0.85rem;
        margin-top: 0.15rem;
        border-top: 1px solid var(--ams-border);
    }

    .nav-mobile-section__label {
        display: block;
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--ams-muted);
    }

    .nav-item--home {
        order: 3;
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 0;
        padding-right: 0.2rem;
    }

    .nav-item--listings {
        order: 4;
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 0;
        padding-left: 0.2rem;
    }

    .nav-link--menu {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        min-height: 2.85rem;
        padding: 0.55rem 0.65rem !important;
        border: 1px solid var(--ams-border);
        border-radius: 0.75rem;
        background: var(--ams-surface);
        font-weight: 600;
        text-align: center;
    }

    .nav-link--menu:hover,
    .nav-link--menu:focus-visible {
        background: #fffdf5;
        border-color: rgba(255, 194, 14, 0.45);
        color: var(--ams-black);
    }

    .nav-link--menu.active {
        border-color: var(--ams-yellow);
        background: var(--ams-yellow-soft);
        color: var(--ams-black);
    }

    .nav-link__icon {
        font-size: 1rem;
        color: var(--ams-muted);
    }

    .nav-link--menu.active .nav-link__icon {
        color: var(--ams-black);
    }

    .nav-item--account {
        order: 6;
        width: 100%;
    }

    .nav-mobile-login {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        font-weight: 600;
        padding: 0.65rem 1rem;
    }

    .nav-user-menu {
        order: 6;
        width: 100%;
    }

    .nav-picker-wrap {
        order: 9;
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 0;
        padding-top: 0.15rem;
    }

    .nav-picker-wrap--country {
        padding-right: 0.2rem;
    }

    .nav-picker-wrap--locale {
        padding-left: 0.2rem;
    }

    .site-header .navbar-nav > .nav-picker-wrap:only-of-type {
        flex-basis: 100%;
        padding-inline: 0;
    }

    .nav-picker-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        width: 100%;
        min-height: 2.65rem;
        padding: 0.5rem 0.65rem !important;
        border: 1px solid var(--ams-border);
        border-radius: 0.75rem;
        background: #fafafa;
        font-size: 0.875rem;
        color: var(--ams-black);
        font-weight: 600;
    }

    .nav-picker-btn:hover,
    .nav-picker-btn:focus-visible {
        background: #fffdf5;
        border-color: rgba(255, 194, 14, 0.45);
    }

    .nav-picker-btn.is-open {
        background: var(--ams-yellow-soft);
        border-color: var(--ams-yellow);
        box-shadow: none;
    }

    .nav-picker-btn__label {
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--ams-muted);
    }

    .nav-picker-btn__value {
        margin-left: auto;
        font-weight: 700;
        color: var(--ams-black);
    }

    .nav-picker-btn__icon + .nav-picker-btn__label {
        margin-left: 0.15rem;
    }

    .nav-picker-dropdown {
        position: static;
        width: 100%;
        margin-top: 0.35rem;
        perspective: none;
    }

    .nav-picker-dropdown__arrow {
        display: none;
    }

    .nav-picker-dropdown__panel {
        box-shadow: none;
    }

    .nav-user-mobile__profile {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        padding: 0.15rem 0.15rem 0.55rem;
    }

    .nav-user-mobile__avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--ams-yellow);
        flex-shrink: 0;
    }

    .nav-user-mobile__avatar--empty {
        border-style: dashed;
        background: var(--ams-yellow-muted);
        object-fit: contain;
        padding: 0.35rem;
    }

    .nav-user-mobile__identity {
        min-width: 0;
        flex: 1;
    }

    .nav-user-mobile__name {
        margin: 0;
        font-size: 0.9375rem;
        font-weight: 700;
        color: var(--ams-black);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-user-mobile__unread {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 1.35rem;
        height: 1.35rem;
        padding: 0 0.35rem;
        border-radius: 999px;
        background: #dc3545;
        color: #fff;
        font-size: 0.7rem;
        font-weight: 700;
        flex-shrink: 0;
    }

    .nav-user-mobile__links {
        display: grid;
        gap: 0.1rem;
    }

    .nav-user-mobile__link {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.55rem 0.65rem;
        border-radius: 0.65rem;
        color: var(--ams-gray-800);
        text-decoration: none;
        font-size: 0.9375rem;
        font-weight: 500;
    }

    .nav-user-mobile__link--primary {
        margin-bottom: 0.15rem;
        border: 1px solid var(--ams-border);
        background: var(--ams-yellow-muted);
        font-weight: 700;
        color: var(--ams-black);
    }

    .nav-user-mobile__link .bi {
        width: 1rem;
        text-align: center;
        color: var(--ams-muted);
    }

    .nav-user-mobile__link.is-active,
    .nav-user-mobile__link:active {
        background: var(--ams-yellow-muted);
        color: var(--ams-black);
    }

    .nav-user-mobile__link--primary.is-active,
    .nav-user-mobile__link--primary:active {
        border-color: rgba(255, 194, 14, 0.75);
    }

    .nav-user-mobile__link.is-active .bi,
    .nav-user-mobile__link:active .bi {
        color: var(--ams-black);
    }

    .nav-user-mobile__link--danger {
        margin-top: 0.35rem;
        padding-top: 0.65rem;
        border-top: 1px solid var(--ams-border);
        border-radius: 0;
        color: #dc3545;
    }

    .nav-user-mobile__link--danger .bi {
        color: #dc3545;
    }

    .nav-user-mobile__badge {
        margin-left: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 1.25rem;
        height: 1.25rem;
        padding: 0 0.35rem;
        border-radius: 999px;
        background: #dc3545;
        color: #fff;
        font-size: 0.68rem;
        font-weight: 700;
    }
}

@media (max-width: 576px) {
    .home-hero {
        padding: 2.25rem 0 2rem;
    }

    .home-hero__title {
        font-size: 1.65rem;
    }

    .home-hero__actions .btn-lg {
        width: 100%;
    }

    .home-how__steps {
        grid-template-columns: 1fr;
    }

    .home-trust__item {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .publish-steps__label {
        font-size: 0.65rem;
        max-width: 4.5rem;
    }

    .publish-card {
        padding: 1.25rem;
    }

    .publish-review__list {
        grid-template-columns: 1fr;
        gap: 0.15rem 0;
    }

    .publish-review__list dt {
        margin-top: 0.5rem;
    }

    .publish-actions {
        flex-wrap: wrap;
    }

    .publish-actions .btn.ms-auto {
        width: 100%;
        justify-content: center;
    }

    .publish-location-card {
        position: static;
        align-self: auto;
        margin-top: 0.5rem;
    }

    .publish-photos-card {
        position: static;
        align-self: auto;
        margin-top: 0.5rem;
    }

    .site-logo--nav {
        height: 36px;
    }

    .site-logo--hero-mobile {
        width: min(100%, 280px);
    }

    .home-cta__inner {
        padding: 1.75rem 1.5rem;
    }

    .home-section {
        padding: 2.25rem 0;
    }

    .listing-card__img,
    .listing-card .listing-card__img {
        height: 160px;
    }

    .listing-gallery img,
    .listing-gallery__img {
        max-height: 320px;
    }

    .listing-detail__title {
        font-size: 1.2rem;
    }

    .listing-detail__price {
        font-size: 1.35rem;
    }

    .panel-listing-card {
        grid-template-columns: 1fr;
    }

    .panel-listing-card__thumb {
        min-height: 180px;
    }

    .panel-listing-card__thumb img {
        min-height: 180px;
    }

    .panel-listing-card__actions .btn,
    .panel-listing-card__actions .form-select,
    .panel-listing-card__status-form {
        width: 100%;
    }

    .panel-listing-card__status-form .form-select {
        width: 100%;
    }

    .panel-listing-card__promotion {
        border-left: 0;
        border-top: 1px solid rgba(255, 194, 14, 0.35);
    }

    .panel-inquiry-card {
        padding: 0.7rem 0.75rem;
        flex-wrap: wrap;
    }

    .panel-inquiry-card__view {
        width: 100%;
        justify-content: center;
    }

    .inquiry-detail__row {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .inquiry-detail__actions .btn {
        width: 100%;
    }

    .inquiry-detail.panel-card .panel-card__body {
        padding: 1.15rem;
    }

    .panel-chat-form__wrap {
        flex-direction: column;
    }

    .panel-chat-form__btn {
        width: 100%;
    }

    .panel-welcome {
        padding: 1.15rem;
    }
}

/* Consultas (mensajes de una vía) */
.inquiry-form-page {
    background: var(--ams-bg);
    min-height: 60vh;
}

.inquiry-form-card {
    padding: 1.75rem;
}

.inquiry-form-card__head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.inquiry-form-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: var(--ams-yellow-muted);
    color: var(--ams-black);
    font-size: 1.35rem;
    flex-shrink: 0;
}

.inquiry-form-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.inquiry-form-card__listing {
    font-size: 0.9rem;
    color: var(--ams-muted);
    margin: 0;
}

.inquiry-form-card__intro {
    color: var(--ams-gray-600);
    margin-bottom: 1.5rem;
}

.inquiry-form-card__notice {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: 0.65rem;
    background: rgba(255, 194, 14, 0.12);
    border: 1px solid rgba(255, 194, 14, 0.35);
    font-size: 0.875rem;
    color: var(--ams-gray-700);
}

.inquiry-detail__notice {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: 0.65rem;
    background: rgba(255, 194, 14, 0.12);
    border: 1px solid rgba(255, 194, 14, 0.35);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.inquiry-detail.panel-card .panel-card__body {
    padding: 1.35rem 1.5rem;
}

.inquiry-detail__listing-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--ams-black);
    text-decoration: none;
}

.inquiry-detail__listing-link:hover {
    color: var(--ams-black);
    text-decoration: underline;
}

.inquiry-detail__listing-link .bi {
    font-size: 0.8rem;
    color: var(--ams-muted);
}

.inquiry-detail__notice--buyer {
    background: rgba(25, 135, 84, 0.08);
    border-color: rgba(25, 135, 84, 0.25);
}

.inquiry-detail__meta {
    margin: 0;
}

.inquiry-detail__row {
    display: grid;
    grid-template-columns: minmax(7rem, 9rem) 1fr;
    gap: 0.35rem 1.25rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--ams-border);
}

.inquiry-detail__row:last-child {
    border-bottom: none;
}

.inquiry-detail__row dt {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ams-muted);
    margin: 0;
}

.inquiry-detail__row dd {
    margin: 0;
    font-size: 0.9375rem;
}

.inquiry-detail__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #198754;
    font-weight: 500;
    text-decoration: none;
}

.inquiry-detail__whatsapp:hover {
    color: #146c43;
}

.inquiry-detail__message {
    margin-top: 1.25rem;
    padding: 1rem 1.15rem;
    border-radius: 0.65rem;
    background: var(--ams-bg);
    border: 1px solid var(--ams-border);
}

.inquiry-detail__message-title {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.inquiry-detail__message-body {
    margin: 0;
    line-height: 1.55;
    white-space: pre-wrap;
}

.inquiry-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0 0.15rem;
}

.inquiry-status {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.inquiry-status--pending {
    background: rgba(255, 194, 14, 0.2);
    color: #856404;
}

.inquiry-status--contacted {
    background: rgba(25, 135, 84, 0.12);
    color: #146c43;
}

.inquiry-modal .modal-content {
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
}

.inquiry-modal .modal-header {
    align-items: flex-start;
    padding: 1.25rem 1.25rem 0;
}

.inquiry-modal .modal-body {
    padding: 0.75rem 1.25rem 1rem;
}

.inquiry-modal .modal-footer {
    padding: 0 1.25rem 1.25rem;
}

.inquiry-modal__success {
    padding: 0.5rem 0 0.25rem;
}

.inquiry-already-modal .modal-content {
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
}

.inquiry-already-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: rgba(255, 194, 14, 0.18);
    color: #856404;
    font-size: 1.75rem;
}

/* ── Seller trust & reviews ────────────────────────────── */
.seller-trust {
    margin-bottom: 1rem;
    padding: 0.875rem 1rem;
    border: 1px solid var(--ams-border);
    border-radius: 0.75rem;
    background: var(--ams-bg);
}

.seller-trust--compact {
    margin-bottom: 0.85rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.seller-card .seller-trust--compact .seller-trust__rating {
    margin-bottom: 0.5rem;
}

.seller-card .seller-trust--compact .seller-trust__meta {
    margin-top: 0;
}

.seller-trust__title {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ams-muted);
    margin-bottom: 0.5rem;
}

.seller-trust__stars {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    color: #f5a623;
    font-size: 1rem;
}

.seller-trust__stars-text,
.seller-trust__stars-muted {
    color: var(--ams-text);
    font-size: 0.875rem;
    font-weight: 500;
}

.seller-trust__meta {
    margin: 0.75rem 0 0;
    font-size: 0.875rem;
    color: var(--ams-muted);
}

.seller-trust__meta li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}

.seller-trust__verified {
    color: #198754;
}

.seller-trust__pending {
    color: #856404;
}

.seller-trust__reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.seller-reviews-modal__avg-stars {
    color: #f5a623;
}

.seller-reviews__list {
    margin: 0;
}

.seller-reviews__item {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--ams-border);
}

.seller-reviews__item:first-child {
    padding-top: 0;
}

.seller-reviews__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.seller-reviews__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.seller-reviews__stars {
    color: #f5a623;
}

.seller-reviews__author {
    font-weight: 600;
    font-size: 0.9rem;
}

.seller-reviews__date {
    font-size: 0.8rem;
    color: var(--ams-muted);
    margin-left: auto;
}

.seller-reviews__comment {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: var(--ams-text);
    line-height: 1.5;
}

.seller-reviews__comment--muted {
    color: var(--ams-muted);
    font-style: italic;
}

.report-target-picker {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.report-target-picker__option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    cursor: pointer;
}

.review-stars-picker__buttons {
    display: flex;
    gap: 0.35rem;
}

.review-stars-picker__star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--ams-border);
    border-radius: 0.5rem;
    cursor: pointer;
    color: #adb5bd;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.review-stars-picker__star:hover,
.review-stars-picker__star.is-active {
    color: #f5a623;
    border-color: #f5a623;
    background: rgba(245, 166, 35, 0.08);
}

.review-stars-picker__star input:checked + i,
.review-stars-picker__star.is-active i {
    font-weight: 700;
}

.review-modal .modal-content {
    border-radius: 1rem;
}

.seller-catalog__trust {
    margin-top: 1rem;
}

.seller-catalog__trust .seller-trust {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.seller-catalog__trust .seller-trust__title,
.seller-catalog__trust .seller-trust__stars-text,
.seller-catalog__trust .seller-trust__meta {
    color: rgba(255, 255, 255, 0.9);
}

.seller-catalog__trust .seller-trust__reviews-link {
    color: #fff;
    text-decoration: underline;
}

.seller-catalog__trust .seller-trust__reviews-link:hover,
.seller-catalog__trust .seller-trust__reviews-link:focus {
    color: rgba(255, 255, 255, 0.85);
}

/* ── Admin dashboard ───────────────────────────────────── */
.admin-page {
    background: linear-gradient(180deg, #fff 0%, var(--ams-bg) 55%);
    min-height: 60vh;
}

.admin-container {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding-inline: clamp(0.65rem, 1.25vw, 1.25rem);
}

body.is-admin .site-header .container {
    max-width: 100%;
    padding-inline: clamp(0.65rem, 1.25vw, 1.25rem);
}

.admin-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

@media (min-width: 992px) {
    .admin-layout {
        grid-template-columns: 212px minmax(0, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1400px) {
    .admin-layout {
        grid-template-columns: 196px minmax(0, 1fr);
        gap: 1rem;
    }
}

.admin-sidebar {
    background: var(--ams-charcoal);
    color: #fff;
    border-radius: 1rem;
    padding: 1rem;
}

@media (min-width: 992px) {
    .admin-sidebar {
        position: sticky;
        top: 5.5rem;
        padding: 1.15rem;
    }
}

.admin-sidebar__brand {
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0.5rem 1rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-sidebar__icon {
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    background: rgba(255, 194, 14, 0.15);
    color: var(--ams-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.admin-sidebar__title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 0.1rem;
}

.admin-sidebar__user {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.admin-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.35rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: thin;
}

@media (min-width: 992px) {
    .admin-nav {
        flex-direction: column;
        overflow: visible;
        padding-bottom: 0;
    }
}

.admin-nav__link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    min-width: max-content;
    padding: 0.65rem 0.75rem;
    border: none;
    border-radius: 0.65rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.admin-nav__link:hover,
.admin-nav__link:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.admin-nav__link.active {
    background: var(--ams-yellow);
    color: var(--ams-black);
}

.admin-nav__icon {
    font-size: 1.05rem;
    flex-shrink: 0;
}

.admin-nav__label {
    flex: 1;
}

.admin-nav__badge {
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-nav__link.active .admin-nav__badge {
    background: rgba(20, 20, 20, 0.12);
    color: var(--ams-black);
}

.admin-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-subnav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--ams-border);
    background: var(--ams-surface);
    color: var(--ams-text);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.admin-subnav__link:hover,
.admin-subnav__link:focus-visible {
    border-color: var(--ams-black);
    color: var(--ams-black);
}

.admin-subnav__link.is-active {
    background: var(--ams-black);
    border-color: var(--ams-black);
    color: #fff;
}

.admin-subnav__link.is-active .admin-nav__badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.admin-main {
    min-width: 0;
}

.admin-page-header {
    margin-bottom: 1.5rem;
}

.admin-page-header__title {
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
}

.admin-page-header__subtitle {
    color: var(--ams-muted);
    font-size: 0.925rem;
    margin: 0;
    max-width: 42rem;
}

.admin-section {
    display: none;
}

.admin-section.is-active {
    display: block;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .admin-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .admin-stats {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.admin-stat {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 0.9rem;
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
}

.admin-stat__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.admin-stat--warning .admin-stat__icon {
    background: rgba(255, 193, 7, 0.15);
    color: #856404;
}

.admin-stat--yellow .admin-stat__icon {
    background: var(--ams-yellow-muted);
    color: var(--ams-gray-800);
}

.admin-stat--blue .admin-stat__icon {
    background: rgba(13, 110, 253, 0.12);
    color: #0d6efd;
}

.admin-stat--dark .admin-stat__icon {
    background: rgba(20, 20, 20, 0.08);
    color: var(--ams-black);
}

.admin-stat--danger .admin-stat__icon {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

.admin-stat--success .admin-stat__icon {
    background: rgba(25, 135, 84, 0.12);
    color: #146c43;
}

.admin-stats--compact {
    gap: 0.75rem;
}

.admin-stats--compact .admin-stat {
    padding: 0.85rem 1rem;
}

.admin-code {
    font-size: 0.75rem;
    color: var(--ams-gray-700);
    word-break: break-all;
}

.admin-overview-revenue__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.admin-overview-revenue__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.admin-overview-revenue__subtitle {
    margin: 0.2rem 0 0;
    font-size: 0.875rem;
    color: var(--ams-muted);
}

.admin-stat__meta {
    margin: 0.2rem 0 0;
    font-size: 0.75rem;
    color: var(--ams-muted);
    font-weight: 500;
}

.admin-stat__link {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.admin-stat--highlight {
    border-color: rgba(25, 135, 84, 0.25);
    background: linear-gradient(180deg, #fff 0%, rgba(25, 135, 84, 0.05) 100%);
}

.admin-revenue-breakdown {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.admin-revenue-breakdown__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
}

.admin-revenue-breakdown__icon--featured {
    background: var(--ams-yellow-muted);
    color: var(--ams-black);
}

.admin-revenue-breakdown__icon--boost {
    background: rgba(13, 202, 240, 0.15);
    color: #087990;
}

.admin-revenue-breakdown__label {
    margin: 0;
    font-size: 0.8rem;
    color: var(--ams-muted);
    font-weight: 600;
}

.admin-revenue-breakdown__value {
    margin: 0.15rem 0 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ams-black);
}

.admin-revenue-breakdown__meta {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    color: var(--ams-muted);
}

.admin-revenue-breakdown__meta a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.admin-stat__value {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.admin-stat__label {
    font-size: 0.78rem;
    color: var(--ams-muted);
    margin: 0.15rem 0 0;
}

.admin-card {
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    border-radius: 1rem;
    overflow: hidden;
}

.admin-card--muted {
    background: var(--ams-bg);
}

.admin-card__body {
    padding: 1.25rem;
}

.admin-card__title {
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.admin-card__text,
.admin-card__meta {
    color: var(--ams-muted);
    font-size: 0.875rem;
    margin: 0 0 0.75rem;
}

.admin-section-block {
    margin-bottom: 1.5rem;
}

.admin-section-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.admin-section-block__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.admin-section-block__count {
    min-width: 1.75rem;
    height: 1.75rem;
    padding: 0 0.5rem;
    border-radius: 999px;
    background: var(--ams-yellow-muted);
    color: var(--ams-gray-800);
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-review-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.admin-review-card {
    background: var(--ams-surface);
    border: 1px solid var(--ams-border);
    border-radius: 0.9rem;
    padding: 1rem 1.1rem;
}

.admin-review-card__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--ams-border);
}

.admin-review-card__name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.admin-review-card__sub {
    font-size: 0.8rem;
    color: var(--ams-muted);
    margin: 0;
}

.admin-review-card__user {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
    font-size: 0.85rem;
    text-align: right;
}

.admin-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ams-gray-600);
    margin-bottom: 0.35rem;
}

.admin-input {
    border-color: var(--ams-border);
}

.admin-input:focus {
    border-color: var(--ams-yellow);
    box-shadow: 0 0 0 0.2rem rgba(255, 194, 14, 0.2);
}

.admin-table {
    --bs-table-bg: transparent;
    font-size: 0.8125rem;
    width: 100%;
}

.admin-table thead th {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ams-muted);
    border-bottom-width: 1px;
    white-space: nowrap;
    padding: 0.65rem 0.5rem;
    vertical-align: bottom;
}

.admin-table tbody td {
    vertical-align: middle;
    padding: 0.55rem 0.5rem;
}

.admin-table__id {
    color: var(--ams-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    width: 1%;
}

.admin-table__title {
    font-weight: 600;
    max-width: none;
    min-width: 8rem;
}

.admin-table__cell-meta {
    white-space: normal;
    min-width: 7.25rem;
    max-width: 11rem;
    line-height: 1.35;
}

.admin-table__cell-meta .admin-table__muted {
    display: block;
    margin-top: 0.12rem;
    word-break: break-word;
}

.admin-card .table-responsive {
    -webkit-overflow-scrolling: touch;
}

.admin-table .badge {
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
}

.admin-table .btn-sm {
    --bs-btn-padding-y: 0.2rem;
    --bs-btn-padding-x: 0.45rem;
    font-size: 0.75rem;
}

.admin-table__muted {
    font-size: 0.78rem;
    color: var(--ams-muted);
}

.admin-table__total-row {
    --bs-table-bg: var(--ams-bg);
    font-weight: 600;
}

.admin-table__total-row td {
    border-top-width: 2px;
}

.admin-table__row--muted {
    --bs-table-bg: rgba(0, 0, 0, 0.02);
}

.admin-table__row--warning {
    --bs-table-bg: rgba(255, 193, 7, 0.1);
}

.admin-table__actions,
.admin-inline-form {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}

.admin-inline-form .form-select {
    min-width: 8.5rem;
}

.admin-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--ams-surface);
    border: 1px dashed var(--ams-border);
    border-radius: 1rem;
}

.admin-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--ams-bg);
    color: var(--ams-muted);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.admin-empty__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.admin-empty__text {
    color: var(--ams-muted);
    margin: 0;
    max-width: 28rem;
    margin-inline: auto;
}

.admin-empty--compact {
    padding: 1.25rem 1rem;
}

.admin-promotions__heading {
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.admin-promotions__price-block {
    height: 100%;
    padding: 1rem 1.1rem;
    border: 1px solid var(--ams-border, #e5e5e3);
    border-radius: 0.75rem;
    background: var(--ams-bg, #fafaf9);
}

.admin-promotions__queue-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.admin-table__actions--stack {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.admin-reports-table .admin-table__actions-cell,
.admin-reviews-table .admin-table__actions-cell {
    min-width: 10.5rem;
    max-width: 13rem;
}

.admin-table-inline-form {
    display: grid;
    gap: 0.35rem;
}

.admin-table-inline-form .form-control-sm {
    font-size: 0.72rem;
}

.admin-table__col-comment {
    min-width: 8rem;
    max-width: 14rem;
    white-space: normal;
    font-size: 0.78rem;
    line-height: 1.35;
    word-break: break-word;
}

.admin-review-stars {
    color: #e6a800;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.admin-reports-table .admin-table__actions--stack .btn,
.admin-reviews-table .admin-table__actions--stack .btn {
    width: 100%;
}

.admin-promotions-table .admin-promotions-table__col-product {
    width: 5.5rem;
}

.admin-promotions-table .admin-promotions-table__col-amount {
    width: 6.5rem;
    white-space: nowrap;
}

.admin-promotions-table .admin-promotions-table__col-status {
    width: 5.5rem;
    white-space: nowrap;
}

.admin-promotions-table .admin-promotions-table__col-ref {
    min-width: 11rem;
    width: 12rem;
}

.admin-code--ref {
    display: inline-block;
    max-width: 100%;
    font-size: 0.72rem;
    line-height: 1.35;
    word-break: break-all;
    white-space: normal;
}

.admin-promotions-table .admin-promotions-table__col-actions {
    width: 7.25rem;
    max-width: 7.25rem;
    vertical-align: top;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
}

.admin-promotions-actions {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
}

.admin-promotions-actions__item {
    width: 100%;
    margin: 0;
}

.admin-promotions-actions .btn {
    width: 100%;
    padding-inline: 0.35rem;
    font-size: 0.72rem;
    line-height: 1.25;
    white-space: normal;
}

.admin-promotions-actions__hint {
    margin: 0;
    font-size: 0.68rem;
    line-height: 1.3;
    color: var(--ams-muted);
}

.admin-manual-activate {
    text-align: left;
    width: 100%;
}

.admin-manual-activate > summary {
    list-style: none;
    cursor: pointer;
    display: block;
}

.admin-manual-activate > summary::-webkit-details-marker {
    display: none;
}

.admin-manual-activate__form {
    position: absolute;
    z-index: 5;
    right: 0.75rem;
    margin-top: 0.35rem;
    width: min(16rem, calc(100vw - 2rem));
    padding: 0.75rem;
    border: 1px solid var(--ams-border, #e5e5e3);
    border-radius: 0.65rem;
    background: var(--ams-surface, #fff);
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.12);
    display: grid;
    gap: 0.45rem;
}

.admin-promotions-table__col-actions {
    position: relative;
}

.admin-submission-group {
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--ams-border);
}

.admin-submission-group:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.admin-submission-group__head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.admin-submission-group__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: var(--ams-yellow-muted);
    color: var(--ams-gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.admin-submission-group__icon--location {
    background: rgba(13, 110, 253, 0.12);
    color: #0d6efd;
}

.admin-submission-group__title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 0.2rem;
}

.admin-submission-group__hint {
    font-size: 0.85rem;
    color: var(--ams-muted);
    margin: 0;
}

.admin-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.45rem;
    border-radius: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-right: 0.45rem;
    vertical-align: middle;
}

.admin-type-badge--brand {
    background: rgba(255, 194, 14, 0.2);
    color: #856404;
}

.admin-type-badge--model {
    background: rgba(25, 135, 84, 0.14);
    color: #146c43;
}

.admin-type-badge--state {
    background: rgba(13, 110, 253, 0.14);
    color: #0a58ca;
}

.admin-type-badge--city {
    background: rgba(111, 66, 193, 0.14);
    color: #6f42c1;
}

.admin-country-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--ams-muted);
}

.admin-review-card__kicker {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ams-muted);
    margin: 0 0 0.35rem;
}

.admin-review-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    align-items: center;
    margin-bottom: 0.35rem;
}

.admin-review-card__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--ams-border);
}

.admin-review-card__actions--inline {
    justify-content: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.admin-submission-pair {
    display: grid;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .admin-submission-pair {
        grid-template-columns: 1fr 1fr;
    }
}

.admin-submission-field__value {
    margin: 0;
    padding: 0.55rem 0.75rem;
    background: var(--ams-gray-100);
    border-radius: 0.5rem;
    font-weight: 600;
}

.admin-section-block__title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.admin-listings-filters .admin-label {
    margin-bottom: 0.25rem;
}

.admin-listings-summary {
    font-variant-numeric: tabular-nums;
}

.admin-table__thumb-col {
    width: 3.25rem;
    padding-right: 0.25rem !important;
}

.admin-listing-thumb {
    display: block;
    width: 3rem;
    height: 2.25rem;
    border-radius: 0.35rem;
    overflow: hidden;
    background: var(--ams-gray-100);
    border: 1px solid var(--ams-border);
}

.admin-listing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-listing-detail__back {
    color: var(--ams-muted);
}

.admin-listing-detail__back:hover {
    color: var(--ams-black);
}

.admin-listing-detail__price {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
}

.admin-listing-detail__specs {
    display: grid;
    grid-template-columns: minmax(6rem, 38%) 1fr;
    gap: 0.45rem 0.75rem;
    margin: 0;
    font-size: 0.875rem;
}

.admin-listing-detail__specs dt {
    margin: 0;
    color: var(--ams-muted);
    font-weight: 600;
}

.admin-listing-detail__specs dd {
    margin: 0;
}

.admin-listing-detail__description {
    font-size: 0.925rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.admin-listing-detail__hero {
    width: 100%;
    max-height: 20rem;
    object-fit: cover;
    border-radius: 0.65rem;
}

.admin-listing-detail__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
    gap: 0.5rem;
}

.admin-listing-detail__gallery-item {
    display: block;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--ams-border);
    aspect-ratio: 4 / 3;
}

.admin-listing-detail__gallery-item--main {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}

.admin-listing-detail__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-detail__report-btn {
    text-decoration: none;
}

.listing-detail__report-btn:hover {
    color: #dc3545 !important;
}

.admin-report-card__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.admin-report-card__reports {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-report-item {
    padding: 0.85rem 1rem;
    border-radius: 0.65rem;
    background: var(--ams-bg);
    border: 1px solid var(--ams-border);
}

.admin-report-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.admin-report-item__comment {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    color: var(--ams-gray-800);
}

.admin-report-item__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-user-detail__avatar {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ams-border);
    flex-shrink: 0;
}

.admin-user-detail__avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ams-gray-100);
    color: var(--ams-muted);
    font-size: 1.75rem;
}

/* Honeypot anti-bot field (hidden from users, visible to simple bots) */
.auth-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.admin-bot-value {
    display: inline-block;
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
    font-size: 0.8125rem;
    color: var(--ams-gray-800);
    background: var(--ams-bg);
    padding: 0.1rem 0.35rem;
    border-radius: 0.25rem;
}

.password-toggle-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.password-toggle-wrap .form-control,
.password-toggle-wrap .panel-input,
.password-toggle-wrap .publish-input {
    padding-right: 2.75rem;
}

.password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--ams-muted);
    border-radius: 0.375rem;
    cursor: pointer;
    line-height: 1;
    z-index: 2;
}

.password-toggle-btn:hover {
    color: var(--ams-gray-800);
    background: var(--ams-bg);
}

.password-toggle-btn:focus-visible {
    outline: 2px solid var(--ams-yellow);
    outline-offset: 2px;
}

.password-toggle-btn .bi {
    font-size: 1.1rem;
    pointer-events: none;
}

.password-strength-wrap.password-strength--weak .form-control,
.password-strength-wrap.password-strength--weak .panel-input,
.password-strength-wrap.password-strength--weak .publish-input {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.password-strength-wrap.password-strength--weak .form-control:focus,
.password-strength-wrap.password-strength--weak .panel-input:focus,
.password-strength-wrap.password-strength--weak .publish-input:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

.password-strength-wrap.password-strength--partial .form-control,
.password-strength-wrap.password-strength--partial .panel-input,
.password-strength-wrap.password-strength--partial .publish-input {
    border-color: #fd7e14;
    background-color: #fff8f0;
}

.password-strength-wrap.password-strength--partial .form-control:focus,
.password-strength-wrap.password-strength--partial .panel-input:focus,
.password-strength-wrap.password-strength--partial .publish-input:focus {
    border-color: #fd7e14;
    box-shadow: 0 0 0 0.2rem rgba(253, 126, 20, 0.15);
}

.password-strength-wrap.password-strength--valid .form-control,
.password-strength-wrap.password-strength--valid .panel-input,
.password-strength-wrap.password-strength--valid .publish-input {
    border-color: #198754;
    background-color: #f3fbf6;
}

.password-strength-wrap.password-strength--valid .form-control:focus,
.password-strength-wrap.password-strength--valid .panel-input:focus,
.password-strength-wrap.password-strength--valid .publish-input:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.15);
}

.password-strength-meter {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.45rem;
}

.password-strength-meter__light {
    flex: 1;
    height: 0.35rem;
    border-radius: 999px;
    background: var(--ams-border);
    opacity: 0.45;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.password-strength-meter__light--red.is-active {
    background: #dc3545;
    opacity: 1;
}

.password-strength-meter__light--orange.is-active {
    background: #fd7e14;
    opacity: 1;
}

.password-strength-meter__light--green.is-active {
    background: #198754;
    opacity: 1;
}

.password-strength-status {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ams-muted);
    min-height: 1.25rem;
}

.password-strength-wrap.password-strength--weak .password-strength-status {
    color: #dc3545;
}

.password-strength-wrap.password-strength--partial .password-strength-status {
    color: #fd7e14;
}

.password-strength-wrap.password-strength--valid .password-strength-status {
    color: #198754;
}

.password-strength-checklist {
    list-style: none;
    margin: 0.25rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.2rem 0.75rem;
}

.password-strength-checklist__item {
    font-size: 0.75rem;
    color: var(--ams-muted);
    position: relative;
    padding-left: 1rem;
}

.password-strength-checklist__item::before {
    content: '○';
    position: absolute;
    left: 0;
    color: #dc3545;
    font-size: 0.7rem;
    line-height: 1.4;
}

.password-strength-checklist__item.is-done {
    color: #198754;
}

.password-strength-checklist__item.is-done::before {
    content: '●';
    color: #198754;
}

.password-strength-wrap.password-strength--none .password-strength-meter,
.password-strength-wrap.password-strength--none .password-strength-status,
.password-strength-wrap.password-strength--none .password-strength-checklist {
    display: none;
}

.auth-cooldown__timer {
    display: inline-block;
    min-width: 3.5rem;
    margin-left: 0.35rem;
    font-variant-numeric: tabular-nums;
    font-size: 1.35rem;
    line-height: 1.2;
    letter-spacing: 0.04em;
    color: #b45309;
}

.auth-cooldown--modal .auth-cooldown__timer {
    display: block;
    margin: 0.35rem auto 0;
    font-size: 2rem;
    color: #dc3545;
}

.auth-cooldown.alert-success .auth-cooldown__label {
    color: #198754;
    font-weight: 600;
}

.admin-traffic-chart {
    display: grid;
    grid-template-columns: repeat(14, minmax(0, 1fr));
    gap: 0.5rem;
    align-items: end;
    min-height: 180px;
    padding-top: 0.5rem;
}

.admin-traffic-chart__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.admin-traffic-chart__bar-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 120px;
}

.admin-traffic-chart__bar {
    width: 100%;
    max-width: 2rem;
    min-height: 4px;
    border-radius: 0.35rem 0.35rem 0 0;
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
}

.admin-traffic-chart__value {
    font-size: 0.72rem;
    font-weight: 600;
    color: #334155;
    line-height: 1;
}

.admin-traffic-chart__label {
    font-size: 0.68rem;
    color: #64748b;
    line-height: 1.1;
    text-align: center;
}

@media (max-width: 767.98px) {
    .admin-traffic-chart {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        row-gap: 1rem;
    }
}
