body.motors-author-dealer-ui {
  --author-bg: oklch(0.98 0.01 70);
  --author-surface: rgba(255, 255, 255, 0.92);
  --author-surface-strong: rgba(255, 248, 238, 0.98);
  --author-surface-tint: linear-gradient(135deg, rgba(255, 137, 92, 0.14), rgba(255, 191, 87, 0.12) 36%, rgba(35, 170, 153, 0.1) 100%);
  --author-ink: oklch(0.23 0.03 32);
  --author-muted: oklch(0.51 0.03 42);
  --author-line: rgba(104, 68, 41, 0.12);
  --author-accent: oklch(0.68 0.19 38);
  --author-accent-strong: oklch(0.61 0.2 31);
  --author-gold: oklch(0.84 0.14 78);
  --author-teal: oklch(0.73 0.11 185);
  --author-shadow: 0 24px 60px rgba(69, 42, 20, 0.12);
  --author-shadow-soft: 0 16px 35px rgba(69, 42, 20, 0.08);
  --author-radius-xl: 32px;
  --author-radius-lg: 24px;
  --author-radius-md: 18px;
  --author-radius-sm: 14px;
  background:
    radial-gradient(circle at top left, rgba(255, 181, 105, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(42, 188, 169, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(255, 246, 238, 0.98));
  color: var(--author-ink);
}

body.motors-author-dealer-ui #main {
  padding-top: clamp(22px, 4vw, 46px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

body.motors-author-dealer-ui .stm-user-public-profile {
  position: relative;
}

body.motors-author-dealer-ui .stm-user-public-profile>.row {
  display: grid;
  gap: clamp(24px, 3.2vw, 34px);
  align-items: start;
}

body.motors-author-dealer-ui .stm-user-public-profile>.row::before,
body.motors-author-dealer-ui .stm-user-public-profile>.row::after {
  display: none;
}

body.motors-author-dealer-ui .stm-user-public-profile>.row>[class*="col-"] {
  float: none;
  width: 100%;
}

body.motors-author-dealer-ui .stm-user-public-profile>.row>.col-md-9 {
  width: 100%;
  max-width: min(100%, 930px);
}

body.motors-author-dealer-ui .stm-user-public-profile>.row>.col-md-3,
body.motors-author-dealer-ui .stm-user-public-profile>.row>.col-sm-4 {
  width: 100%;
  max-width: min(100%, 360px);
  justify-self: stretch;
}

body.motors-author-dealer-ui .sidebar-margin-top {
  display: none;
}

body.motors-author-dealer-ui .motors-author-shell {
  display: grid;
  gap: clamp(24px, 3vw, 34px);
}

body.motors-author-dealer-ui .motors-author-hero {
  position: relative;
  overflow: clip;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--author-radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 245, 232, 0.86)),
    var(--author-surface-tint);
  box-shadow: var(--author-shadow);
  isolation: isolate;
}

body.motors-author-dealer-ui .motors-author-hero__cover-banner {
  display: block;
  width: 100%;
  margin: 0;
  overflow: visible;
  border-radius: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
}

body.motors-author-dealer-ui .motors-author-hero__cover-banner img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

body.motors-author-dealer-ui .motors-author-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 3vw, 34px);
  padding: clamp(22px, 4vw, 38px);
}

body.motors-author-dealer-ui .motors-author-hero__brand {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 0;
}

body.motors-author-dealer-ui .motors-author-brandmark {
  position: absolute;
  top: clamp(16px, 2vw, 24px);
  inset-inline-end: clamp(20px, 3vw, 34px);
  z-index: 3;
  width: clamp(108px, 14vw, 148px);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(40, 22, 10, 0.16);
}

body.motors-author-dealer-ui .motors-author-brandmark img {
  width: 100%;
  max-height: 86px;
  object-fit: contain;
}

body.motors-author-dealer-ui .motors-author-heading {
  display: grid;
  gap: 14px;
}

body.motors-author-dealer-ui .motors-author-heading__eyebrow,
body.motors-author-dealer-ui .motors-author-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--author-accent-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.motors-author-dealer-ui .motors-author-heading h1 {
  margin: 0;
  color: var(--author-ink);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

body.motors-author-dealer-ui .motors-author-heading__lede,
body.motors-author-dealer-ui .motors-author-inventory__heading p {
  max-width: 62ch;
  margin: 0;
  color: var(--author-muted);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.75;
}

body.motors-author-dealer-ui .motors-author-signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.motors-author-dealer-ui .motors-author-signal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--author-ink);
  font-weight: 600;
  box-shadow: var(--author-shadow-soft);
}

body.motors-author-dealer-ui .motors-author-signal i {
  color: var(--author-accent);
}

body.motors-author-dealer-ui .motors-author-signal--rating strong {
  font-size: 16px;
}

body.motors-author-dealer-ui .motors-author-signal--rating span {
  color: var(--author-muted);
  font-size: 13px;
  font-weight: 500;
}

body.motors-author-dealer-ui .motors-author-signal--link {
  text-decoration: none;
}

body.motors-author-dealer-ui .motors-author-signal--link:hover,
body.motors-author-dealer-ui .motors-author-signal--link:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(255, 148, 89, 0.16), rgba(255, 195, 89, 0.14));
}

body.motors-author-dealer-ui .motors-author-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.motors-author-dealer-ui .motors-author-stat-card {
  display: grid;
  gap: 10px;
  min-height: 120px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(255, 247, 239, 0.82)),
    var(--author-surface-tint);
  box-shadow: var(--author-shadow-soft);
}

body.motors-author-dealer-ui .motors-author-stat-card:nth-child(2) {
  background:
    linear-gradient(160deg, rgba(255, 248, 236, 0.94), rgba(255, 238, 225, 0.84)),
    radial-gradient(circle at top right, rgba(255, 191, 87, 0.22), transparent 58%);
}

body.motors-author-dealer-ui .motors-author-stat-card:nth-child(3) {
  background:
    linear-gradient(160deg, rgba(237, 253, 249, 0.92), rgba(255, 255, 255, 0.86)),
    radial-gradient(circle at top right, rgba(35, 170, 153, 0.18), transparent 58%);
}

body.motors-author-dealer-ui .motors-author-stat-card__label {
  color: var(--author-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.motors-author-dealer-ui .motors-author-stat-card strong {
  color: var(--author-ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

body.motors-author-dealer-ui .motors-author-stat-card:nth-child(2) strong {
  font-size: clamp(22px, 3vw, 30px);
}

body.motors-author-dealer-ui .motors-author-main {
  display: grid;
  gap: 24px;
}

body.motors-author-dealer-ui .motors-author-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.motors-author-dealer-ui .stm-dealer-info-unit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 114px;
  padding: 20px;
  border: 1px solid var(--author-line);
  border-radius: var(--author-radius-md);
  background: var(--author-surface);
  box-shadow: var(--author-shadow-soft);
}

body.motors-author-dealer-ui .stm-dealer-info-unit>i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 148, 89, 0.14), rgba(255, 195, 89, 0.16));
  color: var(--author-accent-strong);
  font-size: 20px;
}

body.motors-author-dealer-ui .stm-dealer-info-unit .inner {
  display: grid;
  gap: 6px;
}

body.motors-author-dealer-ui .stm-dealer-info-unit .inner h5 {
  margin: 0;
  color: var(--author-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.motors-author-dealer-ui .stm-dealer-info-unit .inner span,
body.motors-author-dealer-ui .stm-dealer-info-unit .inner a {
  color: var(--author-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
}

body.motors-author-dealer-ui .stm-dealer-info-unit .inner a:hover,
body.motors-author-dealer-ui .stm-dealer-info-unit .inner a:focus-visible {
  color: var(--author-accent-strong);
}

body.motors-author-dealer-ui .stm-show-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 4px;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--author-accent), var(--author-accent-strong));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

body.motors-author-dealer-ui .motors-author-utility-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--author-line);
  border-radius: var(--author-radius-lg);
  background: linear-gradient(135deg, rgba(255, 250, 244, 0.98), rgba(255, 255, 255, 0.94));
  box-shadow: var(--author-shadow-soft);
}

body.motors-author-dealer-ui .stm_website_url a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--author-accent), var(--author-accent-strong));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

body.motors-author-dealer-ui .stm_website_url a:hover,
body.motors-author-dealer-ui .stm_website_url a:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(174, 75, 31, 0.24);
}

body.motors-author-dealer-ui .socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.motors-author-dealer-ui .socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--author-accent-strong);
  box-shadow: var(--author-shadow-soft);
}

body.motors-author-dealer-ui .socials a:hover,
body.motors-author-dealer-ui .socials a:focus-visible {
  background: rgba(255, 255, 255, 1);
  color: var(--author-teal);
  transform: translateY(-1px);
}

body.motors-author-dealer-ui .motors-author-story,
body.motors-author-dealer-ui .motors-author-tabs,
body.motors-author-dealer-ui .motors-author-map-shell,
body.motors-author-dealer-ui .motors-author-sidebar {
  border: 1px solid var(--author-line);
  border-radius: var(--author-radius-lg);
  background: var(--author-surface-strong);
  box-shadow: var(--author-shadow-soft);
}

body.motors-author-dealer-ui .motors-author-story {
  padding: 24px 26px;
}

body.motors-author-dealer-ui .motors-author-story .heading-font {
  margin-bottom: 12px;
  color: var(--author-ink);
  font-size: 22px;
}

body.motors-author-dealer-ui .motors-author-story p {
  margin: 0;
  color: var(--author-muted);
  line-height: 1.8;
}

body.motors-author-dealer-ui .motors-author-tabs {
  overflow: clip;
}

body.motors-author-dealer-ui .stm-dealer-tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 22px 22px 0;
  border: 0;
}

body.motors-author-dealer-ui .stm-dealer-tabs-list li {
  float: none;
  margin: 0;
}

body.motors-author-dealer-ui .stm-dealer-tabs-list li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(104, 68, 41, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--author-muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

body.motors-author-dealer-ui .stm-dealer-tabs-list li.active a,
body.motors-author-dealer-ui .stm-dealer-tabs-list li a:hover,
body.motors-author-dealer-ui .stm-dealer-tabs-list li a:focus-visible {
  background: linear-gradient(135deg, var(--author-accent), var(--author-accent-strong));
  color: #fff;
  box-shadow: 0 14px 28px rgba(174, 75, 31, 0.24);
}

body.motors-author-dealer-ui .stm-dealer-tabs-list li a::before {
  display: none;
}

body.motors-author-dealer-ui .motors-author-tab-panels {
  padding: 22px;
}

body.motors-author-dealer-ui .motors-author-inventory {
  display: grid;
  gap: 22px;
}

body.motors-author-dealer-ui .motors-author-inventory__toolbar {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--author-line);
  border-radius: var(--author-radius-lg);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.94), rgba(255, 244, 235, 0.94)),
    var(--author-surface-tint);
  box-shadow: var(--author-shadow-soft);
}

body.motors-author-dealer-ui .motors-author-inventory__heading {
  display: grid;
  gap: 10px;
}

body.motors-author-dealer-ui .stm-directory-listing-top__right>.clearfix {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

body.motors-author-dealer-ui .stm-view-by,
body.motors-author-dealer-ui .stm-sort-by-options,
body.motors-author-dealer-ui .multilisting-select .select-type {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 12px;
  border: 1px solid rgba(104, 68, 41, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

body.motors-author-dealer-ui .multilisting-select .select-type {
  margin-right: 0 !important;
}

body.motors-author-dealer-ui .stm-sort-by-options span,
body.motors-author-dealer-ui .stm-label-type {
  color: var(--author-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.motors-author-dealer-ui .stm-modern-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--author-muted);
}

body.motors-author-dealer-ui .stm-modern-view.active,
body.motors-author-dealer-ui .stm-modern-view:hover,
body.motors-author-dealer-ui .stm-modern-view:focus-visible {
  background: linear-gradient(135deg, rgba(255, 148, 89, 0.18), rgba(255, 195, 89, 0.24));
  color: var(--author-accent-strong);
}

body.motors-author-dealer-ui .motors-author-inventory__feed {
  padding: clamp(16px, 2.6vw, 24px);
  border: 1px solid var(--author-line);
  border-radius: var(--author-radius-lg);
  background: var(--author-surface);
}

body.motors-author-dealer-ui .motors-author-inventory .mvl-card-inner,
body.motors-author-dealer-ui .motors-author-inventory .listing-list-loop {
  border-radius: 22px;
  overflow: clip;
  box-shadow: 0 16px 32px rgba(64, 34, 17, 0.08);
}

body.motors-author-dealer-ui .motors-author-inventory .skin_1.image {
  border-radius: 18px 18px 0 0;
}

body.motors-author-dealer-ui .motors-author-load-more,
body.motors-author-dealer-ui .user-listings-pagination {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

body.motors-author-dealer-ui .motors-author-load-more a,
body.motors-author-dealer-ui .user-listings-pagination a,
body.motors-author-dealer-ui .user-listings-pagination span {
  min-width: 48px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(104, 68, 41, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: var(--author-ink);
}

body.motors-author-dealer-ui .motors-author-load-more a:hover,
body.motors-author-dealer-ui .motors-author-load-more a:focus-visible {
  background: linear-gradient(135deg, var(--author-accent), var(--author-accent-strong));
  color: #fff;
}

body.motors-author-dealer-ui .motors-author-empty-state {
  padding: 34px 24px;
  border: 1px dashed rgba(104, 68, 41, 0.22);
  border-radius: var(--author-radius-lg);
  background: rgba(255, 255, 255, 0.68);
  text-align: center;
}

body.motors-author-dealer-ui .motors-author-empty-state .stm-seller-title {
  margin: 0 0 8px;
  color: var(--author-ink);
}

body.motors-author-dealer-ui .motors-author-empty-state p {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--author-muted);
}

body.motors-author-dealer-ui .stm-dealer-review-tab,
body.motors-author-dealer-ui .stm-comment-dealer-wrapper,
body.motors-author-dealer-ui .stm-write-dealer-review,
body.motors-author-dealer-ui .stm-login-review-leave,
body.motors-author-dealer-ui .stm_user_added_review {
  border: 1px solid var(--author-line);
  border-radius: var(--author-radius-lg);
  background: var(--author-surface);
  box-shadow: var(--author-shadow-soft);
}

body.motors-author-dealer-ui .stm-dealer-review-tab,
body.motors-author-dealer-ui .stm-login-review-leave,
body.motors-author-dealer-ui .stm_user_added_review {
  padding: 24px;
}

body.motors-author-dealer-ui .stm-dealer-review-title {
  margin: 0 0 18px;
  color: var(--author-ink);
}

body.motors-author-dealer-ui .stm-comment-dealer-wrapper {
  padding: 22px;
  margin-bottom: 16px;
}

body.motors-author-dealer-ui .stm-comment-dealer-wrapper .title {
  color: var(--author-ink);
  font-size: 20px;
  font-weight: 700;
}

body.motors-author-dealer-ui .stm-comment-dealer-wrapper .content,
body.motors-author-dealer-ui .stm-comment-dealer-wrapper .stm-bottom,
body.motors-author-dealer-ui .stm-dealer-review-tab .stm-label {
  color: var(--author-muted);
}

body.motors-author-dealer-ui .stm-write-dealer-review {
  padding: 24px;
}

body.motors-author-dealer-ui .stm-write-dealer-review .left,
body.motors-author-dealer-ui .stm-write-dealer-review .right {
  width: calc(50% - 14px);
}

body.motors-author-dealer-ui .stm-write-dealer-review .form-group h4,
body.motors-author-dealer-ui .stm-write-dealer-review .right h4,
body.motors-author-dealer-ui .stm-dealer-review-tab h4 {
  color: var(--author-ink);
}

body.motors-author-dealer-ui .stm-write-dealer-review input[type="text"],
body.motors-author-dealer-ui .stm-write-dealer-review textarea,
body.motors-author-dealer-ui .stm-user-sidebar input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
body.motors-author-dealer-ui .stm-user-sidebar textarea,
body.motors-author-dealer-ui .stm-user-sidebar select {
  width: 100%;
  border: 1px solid rgba(104, 68, 41, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--author-ink);
  box-shadow: none;
}

body.motors-author-dealer-ui .stm-write-dealer-review input[type="text"],
body.motors-author-dealer-ui .stm-user-sidebar input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
body.motors-author-dealer-ui .stm-user-sidebar select {
  min-height: 50px;
  padding: 0 16px;
}

body.motors-author-dealer-ui .stm-write-dealer-review textarea,
body.motors-author-dealer-ui .stm-user-sidebar textarea {
  min-height: 140px;
  padding: 14px 16px;
}

body.motors-author-dealer-ui .stm-write-dealer-review .button,
body.motors-author-dealer-ui .stm-user-sidebar input[type="submit"],
body.motors-author-dealer-ui .stm-user-sidebar button,
body.motors-author-dealer-ui .stm-user-sidebar .vc_btn3,
body.motors-author-dealer-ui .stm-user-sidebar .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--author-accent), var(--author-accent-strong));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(174, 75, 31, 0.24);
}

body.motors-author-dealer-ui .stm-user-sidebar {
  padding: 22px;
}

body.motors-author-dealer-ui .motors-author-sidebar>* {
  color: var(--author-ink);
}

body.motors-author-dealer-ui .motors-author-sidebar .wpb_wrapper>*,
body.motors-author-dealer-ui .motors-author-sidebar .vc_column_container,
body.motors-author-dealer-ui .motors-author-sidebar .vc_column-inner,
body.motors-author-dealer-ui .motors-author-sidebar .stm_listing_car_form,
body.motors-author-dealer-ui .motors-author-sidebar .wpcf7,
body.motors-author-dealer-ui .motors-author-sidebar .vc_custom_heading,
body.motors-author-dealer-ui .motors-author-sidebar .wpb_single_image,
body.motors-author-dealer-ui .motors-author-sidebar .wpb_text_column {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 239, 0.94));
  color: var(--author-ink);
}

body.motors-author-dealer-ui .stm-user-sidebar .wpb_wrapper>*,
body.motors-author-dealer-ui .stm-user-sidebar .vc_column-inner,
body.motors-author-dealer-ui .stm-user-sidebar .stm_listing_car_form,
body.motors-author-dealer-ui .stm-user-sidebar .wpcf7 {
  border-radius: var(--author-radius-md);
}

body.motors-author-dealer-ui .motors-author-sidebar .vc_column-inner,
body.motors-author-dealer-ui .motors-author-sidebar .stm_listing_car_form,
body.motors-author-dealer-ui .motors-author-sidebar .wpcf7 {
  padding: 18px !important;
  border: 1px solid var(--author-line);
  box-shadow: var(--author-shadow-soft);
}

body.motors-author-dealer-ui .motors-author-sidebar .vc_custom_heading *,
body.motors-author-dealer-ui .motors-author-sidebar h1,
body.motors-author-dealer-ui .motors-author-sidebar h2,
body.motors-author-dealer-ui .motors-author-sidebar h3,
body.motors-author-dealer-ui .motors-author-sidebar h4,
body.motors-author-dealer-ui .motors-author-sidebar h5,
body.motors-author-dealer-ui .motors-author-sidebar p,
body.motors-author-dealer-ui .motors-author-sidebar span,
body.motors-author-dealer-ui .motors-author-sidebar label {
  color: var(--author-ink) !important;
}

body.motors-author-dealer-ui .motors-author-sidebar .wpb_single_image img,
body.motors-author-dealer-ui .motors-author-sidebar .vc_single_image-img {
  border-radius: 18px;
}

body.motors-author-dealer-ui .motors-author-map-shell {
  overflow: hidden;
}

body.motors-author-dealer-ui #stm-dealer-gmap {
  min-height: 320px;
  border-radius: var(--author-radius-lg);
}

body.motors-author-dealer-ui .select2-container .select2-selection--single {
  height: 44px;
  border: 0;
  background: transparent;
}

body.motors-author-dealer-ui .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 44px;
  color: var(--author-ink);
  font-weight: 700;
}

body.motors-author-dealer-ui .stm-star-rating .stm-star-rating-upper:before,
body.motors-author-dealer-ui .stm-star-rating .stm-star-rating-lower:before {
  color: #f4b23a;
}

body.motors-author-dealer-ui a:focus-visible,
body.motors-author-dealer-ui button:focus-visible,
body.motors-author-dealer-ui input:focus-visible,
body.motors-author-dealer-ui textarea:focus-visible,
body.motors-author-dealer-ui select:focus-visible {
  outline: 3px solid rgba(47, 167, 151, 0.28);
  outline-offset: 2px;
}

body.site-rtl.motors-author-dealer-ui .motors-author-hero__brand {
  grid-template-columns: 1fr;
}

body.site-rtl.motors-author-dealer-ui .stm-directory-listing-top__right>.clearfix,
body.site-rtl.motors-author-dealer-ui .motors-author-utility-row,
body.site-rtl.motors-author-dealer-ui .motors-author-signal-row {
  justify-content: flex-start;
}

body.site-rtl.motors-author-dealer-ui .stm-dealer-info-unit {
  text-align: right;
}

body.site-rtl.motors-author-dealer-ui .stm-dealer-info-unit>i {
  order: 2;
}

body.site-rtl.motors-author-dealer-ui .stm_website_url a,
body.site-rtl.motors-author-dealer-ui .motors-author-signal,
body.site-rtl.motors-author-dealer-ui .stm-dealer-tabs-list li a {
  flex-direction: row-reverse;
}

@media (max-width: 1199px) {
  body.motors-author-dealer-ui .stm-user-public-profile>.row {
    grid-template-columns: 1fr;
  }

  body.motors-author-dealer-ui .stm-user-public-profile>.row>.col-md-9,
  body.motors-author-dealer-ui .stm-user-public-profile>.row>.col-md-3,
  body.motors-author-dealer-ui .stm-user-public-profile>.row>.col-sm-4 {
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  body.motors-author-dealer-ui .stm-user-public-profile>.row {
    grid-template-columns: minmax(0, 1.9fr) minmax(280px, 0.84fr);
  }
}

@media (max-width: 991px) {

  body.motors-author-dealer-ui .motors-author-hero__brand,
  body.site-rtl.motors-author-dealer-ui .motors-author-hero__brand {
    grid-template-columns: 1fr;
  }

  body.motors-author-dealer-ui .motors-author-hero__brand {
    margin-top: 0;
  }

  body.motors-author-dealer-ui .motors-author-brandmark {
    top: 18px;
  }

  body.motors-author-dealer-ui .motors-author-stat-grid,
  body.motors-author-dealer-ui .motors-author-info-grid {
    grid-template-columns: 1fr;
  }

  body.motors-author-dealer-ui .stm-write-dealer-review .left,
  body.motors-author-dealer-ui .stm-write-dealer-review .right {
    width: 100%;
  }
}

@media (max-width: 767px) {
  body.motors-author-dealer-ui #main {
    padding-top: 18px;
  }

  body.motors-author-dealer-ui .motors-author-hero__cover-banner,
  body.motors-author-dealer-ui .motors-author-hero__cover-banner img {
    height: auto;
    min-height: 0;
  }

  body.motors-author-dealer-ui .motors-author-hero__content,
  body.motors-author-dealer-ui .motors-author-tab-panels,
  body.motors-author-dealer-ui .motors-author-inventory__toolbar,
  body.motors-author-dealer-ui .motors-author-story,
  body.motors-author-dealer-ui .stm-dealer-review-tab,
  body.motors-author-dealer-ui .stm-comment-dealer-wrapper,
  body.motors-author-dealer-ui .stm-write-dealer-review,
  body.motors-author-dealer-ui .stm-user-sidebar {
    padding: 18px;
  }

  body.motors-author-dealer-ui .stm-dealer-tabs-list {
    padding: 18px 18px 0;
  }

  body.motors-author-dealer-ui .motors-author-hero__brand {
    margin-top: 0;
  }

  body.motors-author-dealer-ui .motors-author-brandmark {
    top: 14px;
    inset-inline-end: 18px;
    width: 98px;
    padding: 12px;
    border-radius: 22px;
  }

  body.motors-author-dealer-ui .stm-directory-listing-top__right>.clearfix {
    align-items: stretch;
  }

  body.motors-author-dealer-ui .stm-view-by,
  body.motors-author-dealer-ui .stm-sort-by-options,
  body.motors-author-dealer-ui .multilisting-select,
  body.motors-author-dealer-ui .multilisting-select .select-type {
    width: 100%;
  }

  body.motors-author-dealer-ui .stm-sort-by-options,
  body.motors-author-dealer-ui .multilisting-select .select-type {
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {

  body.motors-author-dealer-ui *,
  body.motors-author-dealer-ui *::before,
  body.motors-author-dealer-ui *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/*
======================================================================
   PRODUCTION-READY DEALER PROFILE REDESIGN (NEO-LUXURY)
======================================================================
*/

body.motors-author-dealer-ui {
  background-color: #f4f7fa;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body.motors-author-dealer-ui .stm-user-public-profile {
  padding: 0 4vw 4% !important;
  max-width: 100% !important;
}

/* 2. Hero & Cover Banner */
body.motors-author-dealer-ui .motors-author-shell {
  border-radius: 0 0 24px 24px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08), 0 25px 80px -20px rgba(0, 0, 0, 0.04);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-top: none;
  overflow: hidden;
}

body.motors-author-dealer-ui .motors-author-hero {
  background: #ffffff;
  padding-bottom: 40px;
  overflow: hidden;
}

body.motors-author-dealer-ui .motors-author-hero__cover-banner {
  position: relative;
  width: 100%;
  height: 360px;
  /* Slightly taller for premium feel */
  border-radius: 0;
  overflow: hidden;
}

body.motors-author-dealer-ui .motors-author-hero__cover-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  /* Starts the image flush from the top edge */
}

body.motors-author-dealer-ui .motors-author-hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 60px 10px;
  /* Wider side padding */
}

/* 3. Avatar / Profile Picture Overhaul */
body.motors-author-dealer-ui .motors-author-hero__brand {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  margin-top: 0;
}

body.motors-author-dealer-ui .motors-author-brandmark {
  background: #fff;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  z-index: 10;
  position: relative;
  margin-top: 0;
}

body.motors-author-dealer-ui .motors-author-brandmark:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.motors-author-dealer-ui .motors-author-brandmark img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

/* 4. Typography & Headings */
body.motors-author-dealer-ui .motors-author-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

body.motors-author-dealer-ui .motors-author-heading__eyebrow {
  background: rgba(255, 71, 87, 0.08);
  color: #ff4757;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 12px;
}

body.motors-author-dealer-ui .motors-author-heading h1 {
  color: #1e272e;
  margin: 0 0 10px;
  font-weight: 900;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

body.motors-author-dealer-ui .motors-author-heading__lede {
  color: #747d8c;
  font-size: 16px;
  max-width: 600px;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

/* 5. Hero Signals */
body.motors-author-dealer-ui .motors-author-signal-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 15px;
}

body.motors-author-dealer-ui .motors-author-signal {
  background: #ffffff;
  padding: 8px 18px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #57606f;
  font-weight: 700;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

body.motors-author-dealer-ui .motors-author-signal i {
  color: #ff4757;
  font-size: 14px;
}

body.motors-author-dealer-ui .motors-author-signal--link:hover {
  background: #ff4757;
  border-color: #ff4757;
  transform: translateY(-3px);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(255, 71, 87, 0.25);
}

body.motors-author-dealer-ui .motors-author-signal--link:hover i {
  color: #fff;
}

/* 6. Stats Grid */
body.motors-author-dealer-ui .motors-author-stat-grid {
  display: flex;
  gap: 15px;
  margin: 40px auto 0;
  max-width: 800px;
  justify-content: center;
  flex-wrap: wrap;
}

body.motors-author-dealer-ui .motors-author-stat-card {
  flex: 0 1 auto;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 15px 25px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}

body.motors-author-dealer-ui .motors-author-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 71, 87, 0.15);
  box-shadow: 0 10px 25px rgba(255, 71, 87, 0.08);
}

body.motors-author-dealer-ui .motors-author-stat-card__label {
  font-size: 12px;
  color: #a4b0be;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
  font-weight: 800;
}

body.motors-author-dealer-ui .motors-author-stat-card strong {
  font-size: 28px;
  font-weight: 900;
  color: #1e272e;
  letter-spacing: -1px;
  line-height: 1;
}

/* 7. Contact Details Cards & Internal Structure */
body.motors-author-dealer-ui .motors-author-main {
  padding: 60px;
  background: #ffffff;
}

body.motors-author-dealer-ui .motors-author-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

body.motors-author-dealer-ui .stm-dealer-info-unit {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.025);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.motors-author-dealer-ui .stm-dealer-info-unit:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

body.motors-author-dealer-ui .stm-dealer-info-unit i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  font-size: 20px;
  background: rgba(255, 71, 87, 0.08) !important;
  color: #ff4757 !important;
  box-shadow: none !important;
}

body.motors-author-dealer-ui .stm-dealer-info-unit .inner {
  display: flex;
  flex-direction: column;
}

body.motors-author-dealer-ui .stm-dealer-info-unit h5 {
  margin: 0 0 8px;
  font-size: 13px;
  color: #a4b0be;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1.5px;
}

body.motors-author-dealer-ui .stm-dealer-info-unit .inner span,
body.motors-author-dealer-ui .stm-dealer-info-unit .inner a {
  font-size: 19px;
  color: #1e272e;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.5px;
}

/* 8. Web & Social Strip */
body.motors-author-dealer-ui .motors-author-utility-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fdfdfd;
  padding: 25px 40px;
  border-radius: 20px;
  margin-bottom: 60px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.015);
}

body.motors-author-dealer-ui .stm_website_url a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #1e272e;
  color: #fff;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 8px 25px rgba(30, 39, 46, 0.15);
  transition: all 0.4s;
}

body.motors-author-dealer-ui .stm_website_url a:hover {
  background: #3742fa;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(55, 66, 250, 0.25);
}

body.motors-author-dealer-ui .socials a {
  width: 50px;
  height: 50px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  color: #57606f;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.4s;
}

body.motors-author-dealer-ui .socials a:hover {
  background: #1e272e;
  color: #fff;
  border-color: #1e272e;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(30, 39, 46, 0.15);
}

/* 9. Seller Notes */
body.motors-author-dealer-ui .motors-author-story {
  padding: 45px 50px;
  background: #f9fbfc;
  border-radius: 20px;
  border: none;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

body.motors-author-dealer-ui .motors-author-story::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #3742fa, #5352ed);
  border-radius: 6px 0 0 6px;
}

body.motors-author-dealer-ui .motors-author-story .heading-font {
  font-size: 26px;
  font-weight: 900;
  color: #1e272e;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

body.motors-author-dealer-ui .motors-author-story p {
  color: #57606f;
  font-size: 17px;
  line-height: 1.9;
  margin: 0;
}

/* 10. Premium Modern Tabs */
body.motors-author-dealer-ui .stm-dealer-tabs-list {
  display: flex;
  gap: 20px;
  border-bottom: none;
  padding: 0;
  margin: 0 0 50px;
}

body.motors-author-dealer-ui .stm-dealer-tabs-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 50px;
  background: #fdfdfd;
  color: #57606f;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.4s;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
}

body.motors-author-dealer-ui .stm-dealer-tabs-list li.active a,
body.motors-author-dealer-ui .stm-dealer-tabs-list li a:hover {
  background: #1e272e;
  color: #fff;
  border-color: #1e272e;
  box-shadow: 0 10px 30px rgba(30, 39, 46, 0.2);
  transform: translateY(-2px);
}

/* 11. Inventory Enhancements */
body.motors-author-dealer-ui .motors-author-inventory__toolbar {
  background: #ffffff;
  padding: 30px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  margin-bottom: 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

body.motors-author-dealer-ui .motors-author-section-tag {
  background: linear-gradient(135deg, #ff4757, #ff6b81);
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

body.motors-author-dealer-ui .motors-author-inventory__heading h4 {
  font-size: 32px;
  font-weight: 900;
  color: #1e272e;
  margin: 0 0 10px;
  letter-spacing: -1px;
}

body.motors-author-dealer-ui .stm-sort-by-options select,
body.motors-author-dealer-ui .select-type select {
  border: 2px solid rgba(0, 0, 0, 0.05);
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 800;
  color: #2f3542;
  background: #fdfdfd;
  cursor: pointer;
  transition: all 0.4s;
  font-family: inherit;
  font-size: 15px;
}

body.motors-author-dealer-ui .stm-sort-by-options select:focus,
body.motors-author-dealer-ui .select-type select:focus {
  border-color: #3742fa;
  box-shadow: 0 0 0 5px rgba(55, 66, 250, 0.1);
  outline: none;
}

body.motors-author-dealer-ui .stm-modern-view {
  padding: 14px;
  border-radius: 14px;
  background: #f4f7fa;
  color: #a4b0be;
  transition: all 0.4s;
  margin-right: 8px;
}

body.motors-author-dealer-ui .stm-modern-view.active,
body.motors-author-dealer-ui .stm-modern-view:hover {
  background: #1e272e;
  color: #fff;
  box-shadow: 0 8px 20px rgba(30, 39, 46, 0.15);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  body.motors-author-dealer-ui .motors-author-hero__brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  body.motors-author-dealer-ui .motors-author-brandmark {
    margin-top: -100px;
    /* Kept for mobile layout */
  }

  body.motors-author-dealer-ui .motors-author-signal-row {
    justify-content: center;
  }

  body.motors-author-dealer-ui .motors-author-stat-grid {
    flex-direction: column;
  }
}

/* Layout Row Override */
@media (min-width: 1200px) {
  body.motors-author-dealer-ui .stm-user-public-profile>.row {
    grid-template-columns: 1fr !important;
  }
}

/* Custom Review Tab Colors */
body.motors-author-dealer-ui .stm-dealer-tabs-list li a[href="#stm_d_rev"],
body.motors-author-dealer-ui .stm-dealer-tabs-list li a[href="#stm_w_rev"] {
  color: #ff4757 !important;
  border-color: rgba(255, 71, 87, 0.1) !important;
}

body.motors-author-dealer-ui .stm-dealer-tabs-list li.active a[href="#stm_d_rev"],
body.motors-author-dealer-ui .stm-dealer-tabs-list li.active a[href="#stm_w_rev"],
body.motors-author-dealer-ui .stm-dealer-tabs-list li a[href="#stm_d_rev"]:hover,
body.motors-author-dealer-ui .stm-dealer-tabs-list li a[href="#stm_w_rev"]:hover {
  background: #ff4757 !important;
  color: #fff !important;
  border-color: #ff4757 !important;
  box-shadow: 0 10px 30px rgba(255, 71, 87, 0.25) !important;
}