/* =========================================================================
ABC Marketplace — frontend stylesheet (refined)
Тот же набор классов, что и раньше (drop-in). Изменения — крафт:
шкала весов, спокойная глубина под dark UI, токены радиусов/ссылок/
фокуса, доступный :focus-visible, аккуратные ховеры.
========================================================================= */

.abc-marketplace {
/* surfaces */
--abc-bg: #0e1218;
--abc-surface: #161b22;
--abc-surface-2: #1c232c;
--abc-surface-3: #232c37;
--abc-card: rgba(22, 28, 36, .94);
--abc-input-bg: rgba(22, 27, 34, .92);
--abc-line: rgba(255, 255, 255, .07);
--abc-line-2: rgba(255, 255, 255, .13);

/* text */  
--abc-text: #f4f7fb;  
--abc-dim: #9aa7b5;  
--abc-dim-2: #7a8896;          /* было #697787 — чуть выше контраст плейсхолдеров */  

/* accent */  
--abc-gold: #f3b30f;  
--abc-gold-700: #d99513;  
--abc-gold-grad: linear-gradient(180deg, #ffcb45, var(--abc-gold));  
--abc-gold-grad-700: linear-gradient(180deg, var(--abc-gold), var(--abc-gold-700));  
--abc-orange: #f97316;         /* семантика: обязательное поле */  
--abc-link: #7ea3c9;           /* единый синий для «смотреть все» */  
--abc-green: #22c55e;  
--abc-blue: #2d7ff9;  
--abc-red: #ef4444;  

/* radius scale */  
--abc-r-xs: 6px;  
--abc-r-sm: 8px;  
--abc-r: 10px;  
--abc-r-lg: 14px;  
--abc-r-pill: 999px;  
/* совместимость со старыми именами */  
--abc-radius: var(--abc-r);  
--abc-radius-lg: var(--abc-r-lg);  

/* elevation / focus */  
--abc-shadow: 0 10px 28px rgba(0, 0, 0, .35);  
--abc-glow: 0 6px 16px rgba(246, 180, 42, .16);  
--abc-focus: 0 0 0 2px rgba(246, 180, 42, .55);  

width: 100%;  
max-width: 1920px;  
min-width: 1280px;  
margin: 0 auto;  
padding: 0 14px 28px;  
color: var(--abc-text);  
background: radial-gradient(circle at 50% -12%, #161c25 0, #0e1218 46%, #090c11 100%);  
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;  
font-size: 14px;  
line-height: 1.45;  
-webkit-font-smoothing: antialiased;  
text-rendering: optimizeLegibility;

}

.abc-marketplace,
.abc-marketplace *,
.abc-marketplace *::before,
.abc-marketplace *::after {
box-sizing: border-box;
}

.abc-marketplace a {
color: inherit;
text-decoration: none;
}

.abc-marketplace svg {
width: 1em;
height: 1em;
flex: none;
}

.abc-marketplace img {
display: block;
width: 100%;
max-width: 100%;
height: auto;
}

/* доступный фокус для клавиатуры на всех интерактивных элементах */
.abc-marketplace a:focus-visible,
.abc-marketplace button:focus-visible,
.abc-marketplace input:focus-visible,
.abc-marketplace textarea:focus-visible,
.abc-marketplace select:focus-visible,
.abc-marketplace [tabindex]:focus-visible {
outline: none;
box-shadow: var(--abc-focus);
border-radius: var(--abc-r-xs);
}

/* TOPBAR */

.abc-marketplace-topbar {
height: 74px;
display: grid;
grid-template-columns: 210px 150px minmax(360px, 1fr) 360px 230px;
align-items: center;
gap: 18px;
border-bottom: 1px solid var(--abc-line);
}

.abc-marketplace-brand {
display: flex;
flex-direction: column;
line-height: 1;
white-space: nowrap;
}

.abc-marketplace-brand strong {
font-size: 21px;
font-weight: 800;
letter-spacing: .3px;
color: #fff;
}

.abc-marketplace-brand .abc-brand-art { color: #fff; }
.abc-marketplace-brand .abc-brand-build { color: var(--abc-gold); }

.abc-marketplace-brand span {
margin-top: 5px;
color: var(--abc-dim);          /* подпись — приглушённая, не белая */
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1.2px;
}

.abc-marketplace-location,
.abc-marketplace-search input,
.abc-marketplace-search button {
height: 46px;
border-radius: var(--abc-r-sm);
}

.abc-marketplace-location {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 0 15px;
border: 1px solid var(--abc-line-2);
background: var(--abc-input-bg);
color: var(--abc-text);
font-weight: 600;
cursor: pointer;
white-space: nowrap;
transition: border-color .15s ease;
}

.abc-marketplace-location:hover {
border-color: var(--abc-line-2);
}

.abc-marketplace-location svg {
width: 16px;
height: 16px;
color: var(--abc-gold);
}

.abc-chevron {
margin-left: auto;
color: var(--abc-dim);
}

.abc-marketplace-search {
display: grid;
grid-template-columns: minmax(0, 1fr) 82px;
gap: 10px;
min-width: 0;
}

.abc-marketplace-search input {
width: 100%;
min-width: 0;
border: 1px solid var(--abc-line-2);
background: var(--abc-input-bg);
color: #fff;
padding: 0 18px;
font-size: 14px;
outline: none;
transition: border-color .15s ease, box-shadow .15s ease;
}

.abc-marketplace-search input::placeholder {
color: var(--abc-dim-2);
}

.abc-marketplace-search input:focus {
border-color: var(--abc-gold);
box-shadow: 0 0 0 1px rgba(246, 180, 42, .35);
}

.abc-marketplace-search button,
.abc-btn--gold {
border: 0;
background: var(--abc-gold-grad);
color: #1d1300;
font-weight: 700;
cursor: pointer;
box-shadow: var(--abc-glow);
transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}

.abc-marketplace-search button:hover,
.abc-btn--gold:hover {
background: var(--abc-gold-grad-700);   /* сохраняем градиент, не схлопываем в плоский */
box-shadow: 0 8px 20px rgba(246, 180, 42, .24);
}

.abc-marketplace-search button:active,
.abc-btn--gold:active {
transform: translateY(1px);
}

.abc-marketplace-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 34px;
}

.abc-action {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
gap: 3px;
color: #d6dde6;
font-size: 11px;
white-space: nowrap;
transition: color .15s ease;
}

.abc-action:hover {
color: var(--abc-text);
}

.abc-action svg {
width: 22px;
height: 22px;
}

.abc-action__badge {
position: absolute;
top: -8px;
left: 50%;
transform: translateX(4px);
min-width: 17px;
height: 17px;
padding: 0 4px;
border-radius: var(--abc-r-pill);
background: var(--abc-gold);
color: #1d1300;
font-size: 10px;
font-weight: 700;
line-height: 17px;
text-align: center;
}

.abc-marketplace-user {
display: inline-flex;
align-items: center;
justify-content: flex-end;
gap: 12px;
cursor: pointer;
white-space: nowrap;
}

.abc-marketplace-user__meta {
line-height: 1.25;
}

.abc-marketplace-user__meta strong {
display: block;
font-size: 13px;
font-weight: 700;
}

.abc-marketplace-user__meta span {
font-size: 12px;
color: var(--abc-dim);
}

/* NAV */

.abc-marketplace-nav {
height: 50px;
margin-left: 318px;            /* совпадает с левой колонкой .abc-marketplace-layout */
display: flex;
align-items: center;
gap: 42px;
overflow: hidden;
border-bottom: 1px solid var(--abc-line);
}

.abc-marketplace-nav a {
position: relative;
height: 50px;
display: inline-flex;
align-items: center;
color: var(--abc-dim);
font-weight: 600;
white-space: nowrap;
transition: color .15s ease;
}

.abc-marketplace-nav a:hover,
.abc-marketplace-nav a.is-active {
color: var(--abc-text);
}

.abc-marketplace-nav a.is-active {
font-weight: 700;
}

.abc-marketplace-nav a.is-active::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 3px;
border-radius: 3px 3px 0 0;
background: var(--abc-gold);
}

/* LAYOUT */

.abc-marketplace-layout {
display: grid;
grid-template-columns: 318px minmax(0, 1fr) 355px;
gap: 22px;
align-items: start;
}

.abc-marketplace-sidebar,
.abc-marketplace-main,
.abc-create-aside {
display: flex;
flex-direction: column;
gap: 16px;
min-width: 0;
}

.abc-card,
.abc-side-card,
.abc-listing-card,
.abc-company-card,
.abc-listing-detail,
.abc-create-panel,
.abc-create-side-card,
.abc-form-section {
background: var(--abc-card);
border: 1px solid var(--abc-line);
border-radius: var(--abc-r-lg);   /* единый крупный радиус для карточек */
}

.abc-card,
.abc-side-card {
padding: 18px;
}

.abc-link-all {
display: inline-block;
margin-top: 14px;
color: var(--abc-link);
font-weight: 600;
transition: color .15s ease;
}

.abc-link-all:hover {
color: #fff;
}

/* CATEGORIES */

.abc-categories__head {
display: flex;
align-items: center;
gap: 12px;
height: 52px;
padding: 0 16px;
margin: -6px -6px 12px;
border-radius: var(--abc-r-sm);
background: var(--abc-surface-2);
font-weight: 700;
font-size: 15px;
}

.abc-categories__head svg,
.abc-category-list a svg {
color: var(--abc-gold);
}

.abc-categories__head svg {
width: 20px;
height: 20px;
}

.abc-category-list {
display: flex;
flex-direction: column;
gap: 2px;
}

.abc-category-list a {
height: 39px;
display: flex;
align-items: center;
gap: 13px;
color: #cbd5e1;
padding: 0 8px;
border-radius: var(--abc-r-xs);
transition: background .15s ease, color .15s ease;
}

.abc-category-list a:hover,
.abc-category-list a.is-active {
background: var(--abc-surface-2);
color: #fff;
}

.abc-category-list a.is-active {
box-shadow: inset 3px 0 0 var(--abc-gold);
}

.abc-category-list a svg {
width: 18px;
height: 18px;
}

.abc-cat-name {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.abc-cat-count {
color: var(--abc-dim);
font-size: 12px;
}

/* BUTTONS */

.abc-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 46px;
padding: 0 24px;
border-radius: var(--abc-r-sm);
font-weight: 700;
cursor: pointer;
text-align: center;
transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.abc-btn--gold {
width: 100%;
}

.abc-btn--ghost {
background: transparent;
border: 1px solid rgba(246, 180, 42, .55);
color: #fff;
width: 100%;
}

.abc-btn--ghost:hover {
border-color: var(--abc-gold);
color: var(--abc-gold);
background: rgba(246, 180, 42, .06);
}

/* HERO */

.abc-marketplace-hero {
position: relative;
overflow: hidden;
border-radius: var(--abc-r-lg);
padding: 38px 48px;
min-height: 374px;
display: flex;
flex-direction: column;
justify-content: center;
background: linear-gradient(120deg, #1b212b, #10141a);
}

.abc-marketplace-hero::before,
.abc-projects-banner::before {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
}

.abc-marketplace-hero::before {
background: linear-gradient(90deg, rgba(14, 18, 24, .98), rgba(14, 18, 24, .88) 36%, rgba(14, 18, 24, .22) 70%, rgba(14, 18, 24, 0));
z-index: 1;
}

.abc-marketplace-hero > *,
.abc-projects-banner > * {
position: relative;
z-index: 2;
}

.abc-marketplace-hero h1 {
margin: 0 0 18px;
font-size: 38px;
font-weight: 800;
line-height: 1.12;
max-width: 540px;
letter-spacing: -.6px;
}

.abc-marketplace-hero p {
margin: 0;
max-width: 430px;
color: #c6d0dc;
font-size: 17px;
line-height: 1.45;
}

.abc-hero-stats {
display: flex;
flex-wrap: wrap;
gap: 48px;
margin: 30px 0 34px;
}

.abc-stat strong {
display: block;
font-size: 24px;
font-weight: 800;
color: var(--abc-gold);
letter-spacing: -.3px;
}

.abc-stat span {
color: var(--abc-dim);
font-size: 13px;
}

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

.abc-hero-actions .abc-btn {
width: auto;
min-width: 130px;
}

/* TRUST */

.abc-trust-row {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0;
padding: 0;
background: var(--abc-card);
border: 1px solid var(--abc-line);
border-radius: var(--abc-r-lg);
overflow: hidden;
}

.abc-trust {
display: flex;
align-items: center;
gap: 14px;
min-height: 84px;
padding: 16px 22px;
border-right: 1px solid var(--abc-line);
}

.abc-trust:last-child {
border-right: 0;
}

.abc-trust svg {
width: 28px;
height: 28px;
color: var(--abc-gold);
}

.abc-trust strong {
display: block;
font-size: 14px;
font-weight: 700;
margin-bottom: 3px;
}

.abc-trust span {
font-size: 12px;
color: var(--abc-dim);
line-height: 1.35;
}

/* SECTIONS */

.abc-marketplace-section {
display: flex;
flex-direction: column;
gap: 14px;
}

.abc-section-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}

.abc-section-head h2 {
margin: 0;
font-size: 20px;
font-weight: 700;
letter-spacing: -.2px;
}

.abc-section-head__right,
.abc-section-arrows {
display: flex;
align-items: center;
gap: 10px;
}

.abc-section-head__right a {
color: var(--abc-link);
font-weight: 600;
font-size: 13px;
transition: color .15s ease;
}

.abc-section-head__right a:hover {
color: #fff;
}

.abc-section-arrows button {
width: 28px;
height: 28px;
border: 1px solid var(--abc-line-2);
border-radius: var(--abc-r-xs);
background: var(--abc-surface);
color: var(--abc-dim);
cursor: pointer;
display: grid;
place-items: center;
transition: color .15s ease, border-color .15s ease;
}

.abc-section-arrows button:hover {
color: #fff;
}

/* LISTING CARDS */

.abc-listing-grid {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 14px;
}

.abc-listing-card {
position: relative;
overflow: hidden;
transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.abc-listing-card:hover {
transform: translateY(-2px);
border-color: var(--abc-line-2);
box-shadow: var(--abc-shadow);   /* глубина только на hover */
}

.abc-listing-card__image {
position: relative;
display: block;
height: 160px;
background: linear-gradient(135deg, #243140, #101923);
}

.abc-listing-card__image img {
width: 100%;
height: 100%;
object-fit: cover;
}

.abc-badge {
position: absolute;
top: 10px;
left: 10px;
padding: 4px 9px;
border-radius: var(--abc-r-xs);
font-size: 11px;
font-weight: 700;
color: #fff;
}

.abc-badge.is-hit {
background: var(--abc-blue);
}

.abc-badge.is-new {
background: var(--abc-green);
}

.abc-badge.is-sale {
background: var(--abc-orange);
}

.abc-fav {
position: absolute;
top: 10px;
right: 10px;
width: 30px;
height: 30px;
display: grid;
place-items: center;
border: 0;
background: transparent;
border-radius: var(--abc-r-pill);
color: rgba(255, 255, 255, .9);
cursor: pointer;
padding: 0;
transition: color .15s ease, transform .15s ease;
}

.abc-fav:hover {
color: var(--abc-gold);
transform: scale(1.1);
}

.abc-fav.is-active {
color: var(--abc-gold);
}

.abc-fav.is-active svg {
fill: var(--abc-gold);
}

.abc-fav svg {
width: 19px;
height: 19px;
}

.abc-listing-card__body {
padding: 13px;
}

.abc-listing-card__body h3 {
margin: 0 0 5px;
font-size: 15px;
font-weight: 700;
line-height: 1.25;
}

.abc-listing-card__body h3 a {
color: #fff;
transition: color .15s ease;
}

.abc-listing-card__body h3 a:hover {
color: var(--abc-gold);
}

.abc-listing-card__sub,
.abc-listing-card__location {
color: var(--abc-dim);
font-size: 12px;
margin-bottom: 8px;
}

.abc-listing-card__price {
font-size: 19px;
font-weight: 800;
color: var(--abc-gold);
margin-bottom: 12px;
}

.abc-listing-card__price small {
font-size: 12px;
font-weight: 600;
color: var(--abc-dim);
}

.abc-listing-card__seller {
display: flex;
align-items: center;
gap: 8px;
padding-top: 10px;
border-top: 1px solid var(--abc-line);
}

.abc-seller-name {
flex: 1;
min-width: 0;
font-size: 12px;
color: var(--abc-dim);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.abc-rating {
display: inline-flex;
align-items: center;
gap: 4px;
font-size: 12px;
font-weight: 700;
color: #fff;
}

.abc-rating svg {
width: 13px;
height: 13px;
color: var(--abc-gold);
}

/* PROJECTS / COMPANIES / RIGHT SIDEBAR */

.abc-projects-banner {
position: relative;
overflow: hidden;
border-radius: var(--abc-r-lg);
padding: 22px 28px;
min-height: 98px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
background: linear-gradient(90deg, #1b212b, #10141a);
}

.abc-projects-banner::before {
background: linear-gradient(90deg, rgba(14, 18, 24, .88), rgba(14, 18, 24, .48) 60%, rgba(14, 18, 24, .15));
z-index: 1;
}

.abc-projects-banner h2 {
margin: 0 0 5px;
font-size: 21px;
font-weight: 800;
}

.abc-projects-banner p {
margin: 0;
color: var(--abc-dim);
}

.abc-projects-banner .abc-btn {
width: auto;
min-width: 190px;
}

.abc-company-grid {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 14px;
}

.abc-company-card {
padding: 14px;
transition: border-color .15s ease;
}

.abc-company-card:hover {
border-color: var(--abc-line-2);
}

.abc-company-card__logo {
width: 48px;
height: 48px;
border-radius: 50%;
display: grid;
place-items: center;
background: var(--abc-surface-2);
border: 1px solid var(--abc-line-2);
margin-bottom: 10px;
}

.abc-company-card__logo svg {
width: 25px;
height: 25px;
color: var(--abc-gold);
}

.abc-company-card__name {
display: inline-flex;
align-items: center;
gap: 5px;
font-weight: 700;
}

.abc-verified {
color: var(--abc-green);
}

.abc-company-card__city {
font-size: 12px;
color: var(--abc-dim);
margin-top: 2px;
}

.abc-company-card__meta {
display: flex;
align-items: center;
gap: 12px;
padding-top: 12px;
margin-top: 12px;
border-top: 1px solid var(--abc-line);
font-size: 12px;
color: var(--abc-dim);
}

.abc-side-card h3,
.abc-promo-card h3,
.abc-help-card h3 {
margin: 0 0 12px;
font-size: 17px;
font-weight: 800;
}

.abc-side-card p,
.abc-promo-card p,
.abc-help-card p {
margin: 0 0 15px;
color: var(--abc-dim);
font-size: 13px;
}

.abc-activity-list,
.abc-top-list {
display: flex;
flex-direction: column;
margin: 0;
padding: 0;
}

.abc-activity-list li,
.abc-top-list li {
display: flex;
align-items: center;
gap: 12px;
min-height: 40px;
padding: 8px 0;
list-style: none;
border-bottom: 1px solid var(--abc-line);
}

.abc-activity-list li:last-child,
.abc-top-list li:last-child {
border-bottom: 0;
}

.abc-activity-name,
.abc-top-name {
flex: 1;
color: #cdd6e0;
}

.abc-activity-count,
.abc-top-count {
font-weight: 700;
color: var(--abc-text);
}

.abc-brand-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
}

.abc-brand {
min-height: 58px;
display: grid;
place-items: center;
border: 1px solid var(--abc-line-2);
border-radius: var(--abc-r-xs);
background: var(--abc-surface-2);
font-weight: 800;
font-size: 14px;
color: #e6edf5;
padding: 6px;
}

.abc-brand img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}

/* SIDEBAR CTA */

.abc-side-card .abc-btn {
min-height: 46px;
}

/* DETAIL / EMPTY */

.abc-marketplace-empty {
padding: 42px;
border-radius: var(--abc-r-lg);
text-align: center;
background: var(--abc-surface);
border: 1px solid var(--abc-line);
color: var(--abc-dim);
}

.abc-listing-detail {
max-width: 1100px;
margin: 0 auto;
padding: 32px;
}

.abc-listing-detail__price {
font-size: 32px;
font-weight: 800;
color: var(--abc-gold);
margin: 16px 0;
letter-spacing: -.4px;
}

.abc-listing-detail__location {
margin-bottom: 24px;
color: var(--abc-dim);
}

.ph,
.ph-hero,
.ph-proj {
background: linear-gradient(135deg, #28394a, #101923);
}

/* CREATE LISTING */

.abc-marketplace.abc-listing-create-page {
width: min(1400px, calc(100vw - 40px));
min-width: 0;
max-width: none;
margin: 32px auto;
padding: 0;
}

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

.abc-create-panel,
.abc-create-side-card,
.abc-auth-gate,
.abc-auth-gate__side {
background: var(--abc-surface);
border: 1px solid var(--abc-line);
border-radius: var(--abc-r-lg);
}

.abc-create-panel {
padding: 28px;
}

.abc-create-head {
margin-bottom: 28px;
}

.abc-create-back {
display: inline-flex;
align-items: center;
gap: 6px;
margin-bottom: 12px;
color: var(--abc-dim);
font-size: 14px;
transition: color .15s ease;
}

.abc-create-back:hover {
color: #fff;
}

.abc-create-head h1,
.abc-auth-gate h1 {
margin: 0 0 12px;
color: #fff;
font-weight: 800;
line-height: 1.1;
letter-spacing: -.4px;
}

.abc-create-head h1 {
font-size: clamp(24px, 3vw, 32px);
}

.abc-auth-gate h1 {
max-width: 720px;
font-size: clamp(28px, 5vw, 48px);
}

.abc-create-head p,
.abc-auth-gate p {
margin: 0;
color: var(--abc-dim);
}

.abc-auth-gate p {
max-width: 620px;
font-size: 16px;
}

.abc-create-form {
display: flex;
flex-direction: column;
gap: 24px;
}

.abc-form-section {
background: #0f172a;
border: 1px solid var(--abc-line);
border-radius: var(--abc-r-lg);
padding: 20px;
}

.abc-form-section h2 {
margin: 0 0 18px;
font-size: 18px;
font-weight: 700;
color: #fff;
}

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

.abc-form-field {
display: flex;
flex-direction: column;
gap: 8px;
margin-bottom: 16px;
}

.abc-form-field:last-child {
margin-bottom: 0;
}

.abc-form-field span {
font-size: 13px;
font-weight: 600;
color: #cbd5e1;
}

.abc-form-field em {
color: var(--abc-orange);
font-style: normal;
}

.abc-form-field input,
.abc-form-field textarea,
.abc-form-field select {
width: 100%;
border: 1px solid var(--abc-line-2);
background: #020617;
color: #fff;
border-radius: var(--abc-r-sm);
padding: 12px 14px;
font-size: 16px;
outline: none;
-webkit-appearance: none;
appearance: none;
transition: border-color .15s ease, box-shadow .15s ease;
}

.abc-form-field textarea {
resize: vertical;
min-height: 180px;
}

/* единый акцент фокуса — золотой, как везде (раньше был оранжевый) */
.abc-form-field input:focus,
.abc-form-field textarea:focus,
.abc-form-field select:focus {
border-color: var(--abc-gold);
box-shadow: 0 0 0 1px rgba(246, 180, 42, .45);
}

.abc-create-actions,
.abc-auth-gate__actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 24px;
}

.abc-create-actions .abc-btn,
.abc-auth-gate__actions .abc-btn {
width: auto;
min-width: 180px;
}

.abc-create-side-card {
padding: 20px;
}

.abc-create-side-card h3,
.abc-auth-gate__side h3 {
margin: 0 0 16px;
font-size: 16px;
font-weight: 700;
color: #fff;
}

.abc-create-side-card ul,
.abc-create-side-card ol,
.abc-auth-gate__side ul {
margin: 0;
padding-left: 18px;
}

.abc-create-side-card li,
.abc-auth-gate__side li {
margin-bottom: 10px;
color: #cbd5e1;
}

/* AUTH GATE */

.abc-auth-gate {
display: grid;
grid-template-columns: minmax(0, 1fr) 340px;
gap: 24px;
align-items: stretch;
padding: 28px;
}

.abc-auth-gate__content {
display: flex;
flex-direction: column;
justify-content: center;
min-height: 360px;
}

.abc-auth-gate__badge {
display: inline-flex;
width: max-content;
max-width: 100%;
margin-bottom: 16px;
padding: 7px 12px;
border-radius: var(--abc-r-pill);
background: rgba(246, 180, 42, .14);
color: var(--abc-gold);
font-size: 12px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: .08em;
}

.abc-auth-gate__side {
padding: 22px;
background: var(--abc-surface-2);
border-color: var(--abc-line-2);
}

.abc-form-notice {
margin-bottom: 20px;
padding: 14px 18px;
border-radius: var(--abc-r);
font-weight: 700;
}

.abc-form-notice--success {
background: rgba(34, 197, 94, .15);
color: #4ade80;
border: 1px solid rgba(34, 197, 94, .25);
}

.abc-form-notice--error {
background: rgba(239, 68, 68, .15);
color: #f87171;
border: 1px solid rgba(239, 68, 68, .25);
}

/* MOTION */

@media (prefers-reduced-motion: reduce) {
.abc-marketplace *,
.abc-marketplace *::before,
.abc-marketplace *::after {
transition-duration: .01ms !important;
animation-duration: .01ms !important;
}
}

/* RESPONSIVE */

@media (max-width: 1600px) {
.abc-marketplace {
min-width: 1180px;
}

.abc-marketplace-layout {  
	grid-template-columns: 300px minmax(0, 1fr) 330px;  
	gap: 18px;  
}  

.abc-marketplace-topbar {  
	grid-template-columns: 190px 140px minmax(320px, 1fr) 330px 210px;  
	gap: 14px;  
}  

.abc-marketplace-nav {  
	margin-left: 300px;          /* = новая левая колонка */  
	gap: 34px;  
}

}

@media (max-width: 1280px) {
.abc-marketplace {
min-width: 0;
padding: 0 12px 28px;
}

.abc-marketplace-topbar {  
	height: auto;  
	padding: 14px 0;  
	grid-template-columns: 180px 140px minmax(280px, 1fr);  
}  

.abc-marketplace-actions,  
.abc-marketplace-user {  
	display: none;  
}  

.abc-marketplace-nav {  
	margin-left: 0;  
	overflow-x: auto;  
}  

.abc-marketplace-layout {  
	grid-template-columns: 280px minmax(0, 1fr);  
}  

.abc-create-aside {  
	display: none;  
}  

.abc-listing-grid,  
.abc-company-grid {  
	grid-template-columns: repeat(4, minmax(0, 1fr));  
}

}

@media (max-width: 1024px) {
.abc-marketplace-layout {
grid-template-columns: 1fr;
}

.abc-marketplace-sidebar {  
	order: 2;  
}  

.abc-marketplace-main {  
	order: 1;  
}  

.abc-listing-grid {  
	grid-template-columns: repeat(3, minmax(0, 1fr));  
}  

.abc-company-grid,  
.abc-trust-row {  
	grid-template-columns: repeat(2, minmax(0, 1fr));  
}  

.abc-create-layout,  
.abc-auth-gate {  
	grid-template-columns: 1fr;  
}

}

@media (max-width: 768px) {
.abc-marketplace {
padding: 0 10px 28px;
}

.abc-marketplace-topbar {  
	grid-template-columns: 1fr;  
}  

.abc-marketplace-location {  
	width: 100%;  
}  

.abc-marketplace-search {  
	grid-template-columns: 1fr;  
}  

.abc-marketplace-search button {  
	width: 100%;  
}  

.abc-marketplace-hero {  
	min-height: 300px;  
	padding: 30px 24px;  
}  

.abc-marketplace-hero h1 {  
	font-size: 30px;  
}  

.abc-marketplace-hero p {  
	font-size: 15px;  
}  

.abc-hero-stats {  
	gap: 24px;  
}  

.abc-trust-row,  
.abc-company-grid {  
	grid-template-columns: 1fr;  
}  

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

.abc-projects-banner {  
	flex-direction: column;  
	align-items: flex-start;  
}  

.abc-projects-banner .abc-btn {  
	width: 100%;  
}  

.abc-marketplace.abc-listing-create-page {  
	width: 100%;  
	max-width: 100%;  
	margin: 0;  
	padding: 14px 12px 32px;  
}  

.abc-create-panel,  
.abc-auth-gate {  
	padding: 22px;  
}  

.abc-auth-gate__content {  
	min-height: 0;  
}  

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

.abc-create-actions,  
.abc-auth-gate__actions {  
	flex-direction: column;  
	align-items: stretch;  
}  

.abc-create-actions .abc-btn,  
.abc-auth-gate__actions .abc-btn {  
	width: 100%;  
	min-width: 0;  
}  

.abc-create-side-card,  
.abc-auth-gate__side {  
	padding: 18px;  
}

}

@media (max-width: 480px) {
.abc-marketplace {
padding: 0 8px 24px;
}

.abc-listing-grid {  
	grid-template-columns: 1fr;  
}  

.abc-listing-card__image {  
	height: 190px;  
}  

.abc-auth-gate h1 {  
	font-size: 28px;  
}  

.abc-auth-gate p {  
	font-size: 14px;  
}

}
