/* AutoMarket page adaptation layer for inner pages */
:root {
  --am-bg: #f4f7fb;
  --am-card: #ffffff;
  --am-text: #0f172a;
  --am-muted: #64748b;
  --am-line: #e5edf5;
  --am-primary: #2563eb;
  --am-primary-dark: #1d4ed8;
  --am-danger: #dc2626;
  --am-success: #16a34a;
  --am-dark: #0b1220;
  --am-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --am-shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --am-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.14);
  --am-radius: 20px;
  --am-radius-sm: 14px;
}
body.frontend-premium {
  background: radial-gradient(circle at top left, rgba(37,99,235,0.08), transparent 22%), var(--am-bg);
  color: var(--am-text);
}
body.frontend-premium .primary-btn,
body.frontend-premium .search-btn,
body.frontend-premium .header-search button {
  background: linear-gradient(135deg, var(--am-primary), var(--am-primary-dark));
  box-shadow: 0 12px 24px rgba(37,99,235,0.24);
}
body.frontend-premium .ghost-btn,
body.frontend-premium .mini-btn,

body.frontend-premium .card-pad,
body.frontend-premium .table-card,
body.frontend-premium .detail-surface,
body.frontend-premium .empty-state,
body.frontend-premium .listing-card,
body.frontend-premium .dashboard-stat-card,
body.frontend-premium .user-quick-card,
body.frontend-premium .package-card,
body.frontend-premium .package-metric-card,
body.frontend-premium .store-stat-box,
body.frontend-premium .store-side-card,
body.frontend-premium .messages-conversation-sidebar,
body.frontend-premium .messages-chat-card,
body.frontend-premium .compare-table-card,
body.frontend-premium .results-topbar,
body.frontend-premium .results-filter,
body.frontend-premium .results-item,
body.frontend-premium .profile-panel-card,
body.frontend-premium .premium-panel-sidebar,
body.frontend-premium .premium-panel-content,
body.frontend-premium .cms-page-surface {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border: 1px solid var(--am-line);
  border-radius: var(--am-radius);
  box-shadow: var(--am-shadow-md);
}
body.frontend-premium .page-wrap { padding-top: 26px; padding-bottom: 54px; }
body.frontend-premium .page-title-block,
body.frontend-premium .premium-panel-hero,
body.frontend-premium .editorial-page-hero,
body.frontend-premium .favorites-hero-block,
body.frontend-premium .compare-page-head,
body.frontend-premium .store-signature-band,
body.frontend-premium .package-hero-card,
body.frontend-premium .results-editorial-hero,
body.frontend-premium .detail-page-hero-shell {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0f172a 0%, #172554 55%, #1d4ed8 100%);
  border-radius: 28px;
  box-shadow: var(--am-shadow-lg);
  border: none;
}
body.frontend-premium .page-title-block::before,
body.frontend-premium .premium-panel-hero::before,
body.frontend-premium .editorial-page-hero::before,
body.frontend-premium .favorites-hero-block::before,
body.frontend-premium .compare-page-head::before,
body.frontend-premium .store-signature-band::before,
body.frontend-premium .package-hero-card::before,
body.frontend-premium .results-editorial-hero::before,
body.frontend-premium .detail-page-hero-shell::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -70px;
  top: -90px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
}
body.frontend-premium .page-title-block::after,
body.frontend-premium .premium-panel-hero::after,
body.frontend-premium .editorial-page-hero::after,
body.frontend-premium .favorites-hero-block::after,
body.frontend-premium .compare-page-head::after,
body.frontend-premium .store-signature-band::after,
body.frontend-premium .package-hero-card::after,
body.frontend-premium .results-editorial-hero::after,
body.frontend-premium .detail-page-hero-shell::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: 120px;
  bottom: -120px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
}
body.frontend-premium .page-title-block > *,
body.frontend-premium .premium-panel-hero > *,
body.frontend-premium .editorial-page-hero > *,
body.frontend-premium .favorites-hero-block > *,
body.frontend-premium .compare-page-head > *,
body.frontend-premium .store-signature-band > *,
body.frontend-premium .package-hero-card > *,
body.frontend-premium .results-editorial-hero > *,
body.frontend-premium .detail-page-hero-shell > * {
  position: relative;
  z-index: 2;
}
body.frontend-premium .page-title-block,
body.frontend-premium .editorial-page-hero,
body.frontend-premium .favorites-hero-block,
body.frontend-premium .compare-page-head,
body.frontend-premium .package-hero-card { padding: 32px; }
body.frontend-premium .premium-panel-hero { padding: 28px 30px; }
body.frontend-premium .results-editorial-hero { padding: 0; }
body.frontend-premium .results-editorial-inner { padding: 34px; }
body.frontend-premium .page-title-block h1,
body.frontend-premium .premium-panel-hero h1,
body.frontend-premium .editorial-page-hero h1,
body.frontend-premium .favorites-hero-block h1,
body.frontend-premium .compare-page-head h1,
body.frontend-premium .package-hero-card h1,
body.frontend-premium .results-editorial-copy h1,
body.frontend-premium .store-signature-copy h2 {
  color: #fff;
  font-size: 2.2rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
body.frontend-premium .page-title-block p,
body.frontend-premium .premium-panel-hero p,
body.frontend-premium .editorial-page-hero p,
body.frontend-premium .favorites-hero-block p,
body.frontend-premium .compare-page-head p,
body.frontend-premium .package-hero-card p,
body.frontend-premium .results-editorial-copy p,
body.frontend-premium .store-signature-copy p { color: rgba(255,255,255,0.82); }
body.frontend-premium .hero-badge,
body.frontend-premium .package-chip,
body.frontend-premium .store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}
body.frontend-premium .panel-layout,
body.frontend-premium .results-layout,
body.frontend-premium .store-content-grid { gap: 24px; }
body.frontend-premium .panel-sidebar,
body.frontend-premium .results-filter,
body.frontend-premium .store-side-column .detail-surface {
  position: sticky;
  top: 112px;
}
body.frontend-premium .panel-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 10px;
  background: #f8fbff;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}
body.frontend-premium .panel-nav a:hover,
body.frontend-premium .panel-nav a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--am-primary), var(--am-primary-dark));
  box-shadow: 0 12px 24px rgba(37,99,235,0.22);
}
body.frontend-premium .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--am-line);
}
body.frontend-premium .section-head h2,
body.frontend-premium .section-head h1 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--am-text);
}
body.frontend-premium .section-head span,
body.frontend-premium .section-head a {
  font-size: 13px;
  font-weight: 700;
}
body.frontend-premium .section-head a {
  color: var(--am-primary);
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.08);
  padding: 10px 14px;
  border-radius: 10px;
}
body.frontend-premium .section-head a:hover { color: #fff; background: var(--am-primary); }
body.frontend-premium .modern-table th,
body.frontend-premium .modern-table td {
  padding: 14px 16px;
  border-color: var(--am-line);
  vertical-align: top;
}
body.frontend-premium .modern-table thead th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--am-muted);
  background: #f8fbff;
}
body.frontend-premium .modern-table tbody tr:hover { background: rgba(37,99,235,0.03); }
body.frontend-premium .table-actions a,
body.frontend-premium .table-actions button,
body.frontend-premium .listing-card-tools .mini-btn,
body.frontend-premium .compare-selected-actions .ghost-btn,
body.frontend-premium .messages-thread-actions .ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}
body.frontend-premium .listing-grid,
body.frontend-premium .favorites-premium-grid,
body.frontend-premium .compare-selected-grid,
body.frontend-premium .package-grid-modern {
  gap: 18px;
}
body.frontend-premium .listing-card {
  overflow: hidden;
  transition: all .25s ease;
}
body.frontend-premium .listing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(15,23,42,0.12);
  border-color: rgba(37,99,235,0.15);
}
body.frontend-premium .listing-image {
  background: #eef4fb;
}
body.frontend-premium .listing-image img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform .45s ease;
}
body.frontend-premium .listing-card:hover .listing-image img { transform: scale(1.05); }
body.frontend-premium .listing-body { padding: 14px; }
body.frontend-premium .listing-body h3 {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--am-text);
}
body.frontend-premium .listing-meta strong,
body.frontend-premium .package-price,
body.frontend-premium .detail-price-block strong,
body.frontend-premium .store-stat-box strong,
body.frontend-premium .dashboard-stat-card strong,
body.frontend-premium .package-metric-card strong,
body.frontend-premium .user-quick-card strong {
  color: var(--am-danger);
  font-weight: 800;
}
body.frontend-premium .summary-chip,
body.frontend-premium .compare-summary-strip span,
body.frontend-premium .store-feature-chips span,
body.frontend-premium .package-feature-pills span,
body.frontend-premium .footer-mini-pills span,
body.frontend-premium .active-filter-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fbff;
  border: 1px solid var(--am-line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--am-text);
}
body.frontend-premium .messages-live-layout {
  align-items: stretch;
}
body.frontend-premium .messages-conversation-sidebar,
body.frontend-premium .messages-chat-panel {
  min-height: 72vh;
}
body.frontend-premium .messages-box-title,
body.frontend-premium .messages-chat-header strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--am-text);
}
body.frontend-premium .messages-thread-item,
body.frontend-premium .conversation-card,
body.frontend-premium .conversation-item {
  background: #f8fbff;
  border: 1px solid var(--am-line);
  border-radius: 14px;
}
body.frontend-premium .messages-composer textarea,
body.frontend-premium textarea,
body.frontend-premium input,
body.frontend-premium select {
  border: 1px solid var(--am-line);
  border-radius: 12px;
}
body.frontend-premium .detail-gallery-premium,
body.frontend-premium .detail-main-column > .detail-surface:first-child {
  overflow: hidden;
}
body.frontend-premium .detail-gallery-slide img,
body.frontend-premium .detail-main-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
body.frontend-premium .detail-side-column .detail-surface,
body.frontend-premium .detail-main-column .detail-surface { margin-bottom: 20px; }
body.frontend-premium .detail-gallery-toolbar,
body.frontend-premium .detail-price-block,
body.frontend-premium .store-hero-actions,
body.frontend-premium .favorites-toolbar,
body.frontend-premium .compare-toolbar,
body.frontend-premium .results-editorial-actions,
body.frontend-premium .premium-panel-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
body.frontend-premium .results-editorial-stats > div,
body.frontend-premium .dashboard-stat-card,
body.frontend-premium .user-quick-card,
body.frontend-premium .store-stat-box,
body.frontend-premium .package-metric-card {
  min-width: 120px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
}
body.frontend-premium .dashboard-stats-grid .dashboard-stat-card,
body.frontend-premium .user-quick-grid .user-quick-card,
body.frontend-premium .package-metrics-grid .package-metric-card,
body.frontend-premium .store-stats-row .store-stat-box {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  color: var(--am-text);
  border: 1px solid var(--am-line);
  border-radius: 18px;
  box-shadow: var(--am-shadow-sm);
}
body.frontend-premium .results-item,
body.frontend-premium .compact-listing-card,
body.frontend-premium .premium-favorite-card,
body.frontend-premium .compare-selected-card {
  border: 1px solid var(--am-line);
  border-radius: 18px;
  box-shadow: var(--am-shadow-sm);
}
body.frontend-premium .results-grid,
body.frontend-premium .listing-grid.four-col-listing {
  gap: 16px;
}
body.frontend-premium .breadcrumb-pro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
body.frontend-premium .crumb-item,
body.frontend-premium .crumb-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--am-line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
}
body.frontend-premium .results-loading-overlay {
  border-radius: 18px;
  backdrop-filter: blur(10px);
}
body.frontend-premium .package-card-modern.is-active,
body.frontend-premium .listing-card.listing-type-premium,
body.frontend-premium .listing-card.listing-type-vitrin {
  border-color: rgba(37,99,235,0.22);
  box-shadow: 0 20px 44px rgba(37,99,235,0.12);
}
body.frontend-premium .store-hero,
body.frontend-premium .store-cover {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--am-shadow-lg);
}
@media (max-width: 991px) {
  body.frontend-premium .panel-sidebar,
  body.frontend-premium .results-filter,
  body.frontend-premium .store-side-column .detail-surface { position: static; }
  body.frontend-premium .page-title-block,
  body.frontend-premium .premium-panel-hero,
  body.frontend-premium .editorial-page-hero,
  body.frontend-premium .favorites-hero-block,
  body.frontend-premium .compare-page-head,
  body.frontend-premium .package-hero-card,
  body.frontend-premium .results-editorial-inner { padding: 24px; }
  body.frontend-premium .page-title-block h1,
  body.frontend-premium .premium-panel-hero h1,
  body.frontend-premium .editorial-page-hero h1,
  body.frontend-premium .favorites-hero-block h1,
  body.frontend-premium .compare-page-head h1,
  body.frontend-premium .package-hero-card h1,
  body.frontend-premium .results-editorial-copy h1 { font-size: 1.8rem; }
}
@media (max-width: 575px) {
  body.frontend-premium .page-wrap { padding-top: 18px; padding-bottom: 34px; }
  body.frontend-premium .card-pad,
  body.frontend-premium .table-card,
  body.frontend-premium .detail-surface,
  body.frontend-premium .listing-card,
  body.frontend-premium .panel-sidebar,
  body.frontend-premium .premium-panel-content,
  body.frontend-premium .messages-conversation-sidebar,
  body.frontend-premium .messages-chat-card,
  body.frontend-premium .compare-table-card,
  body.frontend-premium .results-filter,
  body.frontend-premium .results-topbar,
  body.frontend-premium .cms-page-surface { border-radius: 16px; }
  body.frontend-premium .page-title-block,
  body.frontend-premium .premium-panel-hero,
  body.frontend-premium .editorial-page-hero,
  body.frontend-premium .favorites-hero-block,
  body.frontend-premium .compare-page-head,
  body.frontend-premium .package-hero-card,
  body.frontend-premium .results-editorial-inner { border-radius: 22px; }
}

/* RESULTS PHP FULL CLEAN INTEGRATION */
.results-page{padding:20px 0 56px;background:radial-gradient(circle at top left, rgba(37,99,235,.08), transparent 22%), #f4f7fb;}
.results-layout{display:grid;grid-template-columns:minmax(320px,360px) minmax(0,1fr);gap:24px;align-items:start;}
.results-content{position:relative;min-width:0;}
.card-pad,.results-topbar,.listing-card,.no-results-warning,.pagination-bar,.results-filter{background:linear-gradient(180deg,#ffffff 0%,#fcfdff 100%);border:1px solid #e5edf5;border-radius:20px;box-shadow:0 10px 30px rgba(15,23,42,.08);}
.results-filter{padding:18px;position:sticky;top:112px;overflow:hidden;}
.mobile-filter-head{display:none;}
.compact-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid #e5edf5;}
.compact-head h2{margin:0;font-size:18px;font-weight:800;letter-spacing:-.02em;color:#0f172a;}
.compact-head span{font-size:11px;font-weight:700;color:#2563eb;background:rgba(37,99,235,.08);border:1px solid rgba(37,99,235,.12);padding:6px 10px;border-radius:999px;}
.enhanced-results-form details{border:1px solid #e5edf5;border-radius:16px;background:#fff;margin-bottom:14px;overflow:hidden;}
.enhanced-results-form summary{list-style:none;cursor:pointer;padding:14px 16px;font-size:13px;font-weight:800;color:#0f172a;border-bottom:1px solid transparent;}
.enhanced-results-form details[open] summary{border-bottom-color:#e5edf5;background:#f8fbff;}
.enhanced-results-form summary::-webkit-details-marker{display:none;}
.filter-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px;}
.form-group{display:flex;flex-direction:column;gap:6px;}
.form-group.full-span{grid-column:1/-1;}
.form-group label{font-size:11px;font-weight:800;color:#475569;letter-spacing:.02em;}
.form-group input,.form-group select{height:46px;border-radius:12px;border:1px solid #e5edf5;background:#fff;padding:0 14px;font-size:14px;font-weight:600;box-shadow:none;}
.form-group input:focus,.form-group select:focus{outline:none;border-color:rgba(37,99,235,.35);box-shadow:0 0 0 4px rgba(37,99,235,.08);}
.range-input-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.checkbox-group-wrap{display:flex;flex-wrap:wrap;gap:8px;}
.checkbox-chip{position:relative;display:inline-flex;align-items:center;}
.checkbox-chip input{position:absolute;opacity:0;pointer-events:none;}
.checkbox-chip span{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:999px;background:#f8fbff;border:1px solid #e5edf5;color:#334155;font-size:12px;font-weight:700;transition:all .2s ease;}
.checkbox-chip input:checked + span{background:rgba(37,99,235,.1);border-color:rgba(37,99,235,.24);color:#2563eb;}
.field-help{padding:10px 12px;border-radius:12px;background:#f8fbff;border:1px dashed #dbe6f2;color:#64748b;font-size:12px;line-height:1.5;}
.filter-action-row{display:flex;justify-content:space-between;gap:10px;padding-top:6px;}
.primary-btn,.ghost-btn,.pagination-number,.mobile-filter-fab{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;padding:11px 16px;font-size:14px;font-weight:700;border:1px solid transparent;text-decoration:none;transition:all .25s ease;}
.primary-btn{color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 12px 24px rgba(37,99,235,.24);}
.primary-btn:hover{transform:translateY(-2px);color:#fff;}
.ghost-btn{color:#334155;background:#fff;border-color:#e5edf5;box-shadow:0 2px 8px rgba(15,23,42,.05);}
.ghost-btn:hover{color:#2563eb;border-color:rgba(37,99,235,.18);}
.results-topbar{padding:18px 20px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;margin-bottom:18px;position:sticky;top:92px;z-index:12;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);}
.results-sort-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.results-sort-form label{font-size:12px;font-weight:800;color:#475569;margin:0;}
.results-sort-form select{height:44px;border-radius:12px;border:1px solid #e5edf5;background:#fff;padding:0 14px;font-size:14px;font-weight:700;}
.results-topbar-copy{min-width:0;}
.results-topbar-copy strong{display:block;font-size:18px;color:#0f172a;letter-spacing:-.02em;}
.results-topbar-copy > span{display:block;font-size:13px;color:#64748b;}
.active-filter-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;}
.active-filter-chip{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:rgba(37,99,235,.08);border:1px solid rgba(37,99,235,.12);color:#2563eb;font-size:12px;font-weight:700;}
.results-topbar-stats{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
.results-mini-stat{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border-radius:14px;background:#f8fbff;border:1px solid #e5edf5;min-width:92px;}
.results-mini-stat span{font-size:11px;color:#64748b;display:block;}
.results-mini-stat strong{font-size:15px;color:#0f172a;display:block;}
.results-listing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.listing-card{position:relative;overflow:hidden;padding:0;transition:all .25s ease;}
.listing-card:hover{transform:translateY(-5px);box-shadow:0 18px 36px rgba(15,23,42,.12);border-color:rgba(37,99,235,.15);}
.listing-link{display:block;color:inherit;text-decoration:none;height:100%;}
.listing-image{position:relative;overflow:hidden;background:#eef4fb;}
.listing-image img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block;transition:transform .45s ease;}
.listing-card:hover .listing-image img{transform:scale(1.06);}
.listing-image .tag{position:absolute;top:10px;left:10px;z-index:2;font-size:10px;font-weight:800;letter-spacing:.02em;color:#fff;background:rgba(15,23,42,.82);backdrop-filter:blur(6px);padding:6px 8px;border-radius:999px;}
.listing-image .tag.premium{background:linear-gradient(135deg,#2563eb,#1d4ed8);}
.listing-card .fav-btn{position:absolute;top:10px;right:10px;z-index:3;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.92);color:#475569;box-shadow:0 8px 20px rgba(15,23,42,.12);display:flex;align-items:center;justify-content:center;text-decoration:none;}
.listing-card .fav-btn.active,.listing-card .fav-btn:hover{background:#fff1f2;color:#dc2626;}
.listing-body{padding:13px;}
.listing-body h3{font-size:14px;font-weight:800;line-height:1.45;margin:0 0 8px;min-height:40px;color:#0f172a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.listing-body p{margin:0 0 10px;font-size:12px;color:#64748b;line-height:1.6;}
.listing-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#64748b;}
.listing-meta strong{font-size:16px;font-weight:800;color:#dc2626;letter-spacing:-.01em;}
.listing-body-badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px;}
.listing-body-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border-radius:999px;background:#f8fbff;border:1px solid #e5edf5;color:#475569;font-size:11px;font-weight:700;line-height:1;}
.listing-body-badge.featured{background:rgba(37,99,235,.08);border-color:rgba(37,99,235,.12);color:#2563eb;}
.listing-body-badge.urgent{background:rgba(220,38,38,.08);border-color:rgba(220,38,38,.12);color:#dc2626;}
.listing-card .listing-cta-row{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:12px;padding-top:12px;border-top:1px solid #eef2f7;}
.listing-inline-link{font-size:12px;font-weight:800;color:#2563eb;text-decoration:none;}
.listing-inline-link:hover{color:#1d4ed8;}
.no-results-warning{padding:22px 20px;text-align:center;color:#475569;margin-bottom:18px;font-size:14px;font-weight:600;}
.pagination-bar{margin-top:20px;padding:14px 16px;display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;}
.pagination-numbers{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.pagination-number{min-width:42px;height:42px;padding:0 12px;background:#fff;border-color:#e5edf5;color:#334155;box-shadow:0 2px 8px rgba(15,23,42,.05);}
.pagination-number.active,.pagination-number:hover{background:#2563eb;border-color:#2563eb;color:#fff;}
.small-btn{padding:10px 14px;font-size:13px;}
.results-loading-overlay{position:absolute;inset:0;background:rgba(255,255,255,.75);backdrop-filter:blur(4px);display:none;align-items:center;justify-content:center;flex-direction:column;gap:12px;z-index:20;border-radius:24px;}
.results-loading-overlay.active{display:flex;}
.results-spinner{width:44px;height:44px;border-radius:50%;border:4px solid rgba(37,99,235,.18);border-top-color:#2563eb;animation:spinResults .8s linear infinite;}
@keyframes spinResults{to{transform:rotate(360deg);}}
.mobile-filter-fab,.mobile-filter-backdrop{display:none;}
@media (max-width:1199px){.results-layout{grid-template-columns:320px minmax(0,1fr);}.results-listing-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.results-topbar{grid-template-columns:1fr;}.results-topbar-stats{justify-content:flex-start;}}
@media (max-width:991px){.results-page{padding:18px 0 40px;}.results-layout{grid-template-columns:1fr;}.results-filter{position:fixed;top:0;left:0;bottom:0;width:min(420px,100%);z-index:1400;border-radius:0;overflow:auto;transform:translateX(-105%);transition:transform .25s ease;padding:16px;background:#fff;}.mobile-filter-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:1390;display:none;}body.filter-panel-open.page-results .results-filter{transform:translateX(0);}body.filter-panel-open.page-results .mobile-filter-backdrop{display:block;}.mobile-filter-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:14px;margin-bottom:12px;border-bottom:1px solid #e5edf5;}.mobile-filter-close{border:1px solid #e5edf5;background:#fff;color:#334155;border-radius:10px;padding:8px 12px;font-size:12px;font-weight:700;}.results-topbar{position:static;grid-template-columns:1fr;}.mobile-filter-fab{position:fixed;right:18px;bottom:18px;z-index:1200;display:inline-flex;box-shadow:0 14px 30px rgba(37,99,235,.28);}}
@media (max-width:767px){.results-listing-grid{grid-template-columns:1fr;}.filter-grid-two,.range-input-row{grid-template-columns:1fr;}.filter-action-row{flex-direction:column;}.primary-btn,.ghost-btn{width:100%;}.compact-head{flex-direction:column;align-items:flex-start;}}

/* ===== Results/page shell adaptive width sync ===== */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl,
.container-fluid {
  width: min(calc(100% - (var(--site-shell-gutter, 24px) * 2)), var(--site-shell-max, 1720px)) !important;
  max-width: var(--site-shell-max, 1720px) !important;
}

.expertise-card-visual{padding:1rem;}
.expertise-card-visual .expertizWidget{margin:0;}
.detail-expertise-visual{margin-top:1rem;}
.detail-expertise-visual .expertizLegendPanel{max-width:420px;}
@media (max-width:991px){.detail-expertise-visual .expertizLegendPanel{max-width:none;}}


/* ===== Adaptive 80% site width sync ===== */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl,
.container-fluid {
  width: min(calc(100% - (var(--site-shell-gutter, 16px) * 2)), var(--site-shell-width, 80vw)) !important;
  max-width: var(--site-shell-width, 80vw) !important;
}
