@font-face {
  font-family: SourceHan;
  src: url("../fonts/SourceHanSansK-Regular.ttf");
}

:root {
  --app-bg: #f6f4ef;
  --panel: #fffdf8;
  --panel-2: #eef5f1;
  --ink: #19211f;
  --muted: #64716c;
  --line: #dce3de;
  --line-strong: #c8d2cc;
  --brand: #117864;
  --brand-deep: #0b5d50;
  --accent: #d6852a;
  --accent-soft: #fff1dc;
  --danger: #b9453d;
  --shadow: 0 16px 42px rgba(48, 58, 53, .1);
  --radius: 8px;
}

* {
  letter-spacing: 0 !important;
}

body,
.vin-home-body,
.vin-buy-page,
.vin-order-page,
.epc-body,
.vin-fitment-body,
.package-buy-body,
.vin-result-body {
  background:
    linear-gradient(180deg, rgba(238, 245, 241, .9), rgba(246, 244, 239, .9) 360px),
    var(--app-bg) !important;
  color: var(--ink) !important;
  font-family: SourceHan, "Microsoft YaHei", Arial, sans-serif !important;
}

a {
  color: var(--brand);
}

a:hover,
a:focus {
  color: var(--brand-deep);
}

button,
.btn,
.buy-btn,
#buy-submit {
  border-radius: 6px !important;
  box-shadow: none !important;
}

.form-control,
input,
select,
textarea {
  border-color: var(--line-strong) !important;
  color: var(--ink);
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(17, 120, 100, .12) !important;
  outline: 0;
}

.table,
.data-table,
.part-simple-table,
.order-table,
.buy-service-table,
.epc-cata-table,
.epc-part-table {
  background: var(--panel);
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.table th,
.data-table th,
.part-simple-table th,
.order-table th,
.buy-service-table th,
.buy-service-table .buy-head-row td,
.epc-cata-table th,
.epc-part-table th {
  background: #edf3ef !important;
  color: #25302d !important;
  border-color: var(--line) !important;
  font-weight: 700 !important;
}

.table td,
.data-table td,
.part-simple-table td,
.order-table td,
.buy-service-table td,
.epc-cata-table td,
.epc-part-table td {
  background: var(--panel) !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}

.table tr:nth-child(even) td,
.data-table tr:nth-child(even) td,
.part-simple-table tr:nth-child(even) td,
.order-table tr:nth-child(even) td,
.epc-cata-table tr:nth-child(even) td,
.epc-part-table tr:nth-child(even) td {
  background: #faf7ef !important;
}

.home-header {
  min-height: 420px;
  padding: 22px min(5vw, 64px) 42px !important;
  text-align: left !important;
  background:
    linear-gradient(135deg, rgba(17, 120, 100, .96), rgba(36, 82, 76, .95)),
    #117864 !important;
  color: #fff !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 640px);
  grid-template-areas:
    "user user"
    "brand search"
    "tabs search"
    "msg msg";
  align-items: center;
  column-gap: min(6vw, 72px);
}

.home-userbar {
  position: static !important;
  grid-area: user;
  justify-content: flex-end;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, .82) !important;
  gap: 10px 16px !important;
  margin-bottom: 36px;
}

.home-userbar a,
.home-userbar span {
  color: rgba(255, 255, 255, .9) !important;
}

.home-logo {
  grid-area: brand;
  padding: 0 !important;
}

.home-logo div {
  color: #fff !important;
  font-size: 52px !important;
  line-height: 1.08 !important;
}

.home-logo div span,
.home-logo div em,
.fit-logo span,
.vin-auth-logo span,
.vin-layout-brand span {
  color: var(--accent) !important;
}

.home-logo p {
  max-width: 520px;
  margin: 18px 0 0 !important;
  color: rgba(255, 255, 255, .78) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
}

.home-tabs {
  grid-area: tabs;
  justify-content: flex-start !important;
  flex-wrap: wrap;
  gap: 10px !important;
  margin: 28px 0 0 !important;
}

.home-tabs a {
  height: 38px;
  line-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 6px;
  color: #fff !important;
  background: rgba(255, 255, 255, .08);
}

.home-tabs a.active,
.home-tabs a:hover {
  background: #fff !important;
  color: var(--brand-deep) !important;
}

.home-search {
  grid-area: search;
  width: 100% !important;
  height: auto !important;
  min-height: 168px;
  margin: 0 !important;
  padding: 20px;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) 48px;
  grid-template-rows: 54px 48px;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, .2) !important;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: var(--shadow);
}

.home-search input {
  height: 54px;
  padding: 0 4px;
  background: transparent;
  font-size: 17px !important;
}

.home-search .search-icon,
.home-search .scan-icon {
  height: 54px;
  color: var(--brand) !important;
  background: #edf5f1 !important;
  border-radius: 6px;
}

.home-search > button[type="submit"] {
  grid-column: 1 / -1;
  height: 48px;
  background: var(--accent) !important;
  color: #fff !important;
  border: 0;
}

.home-message {
  grid-area: msg;
  height: auto !important;
  min-height: 24px;
  margin-top: 16px;
  color: #fff1dc !important;
}

.home-nav {
  position: sticky;
  top: 0;
  z-index: 12;
  height: auto !important;
  min-height: 58px;
  gap: 6px !important;
  padding: 10px 5vw;
  background: rgba(255, 253, 248, .95) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: 0 8px 26px rgba(34, 44, 40, .08) !important;
}

.home-nav a {
  height: 38px !important;
  line-height: 38px !important;
  padding: 0 16px !important;
  border-radius: 6px;
  color: var(--muted) !important;
}

.home-nav a:hover {
  background: #eef5f1;
  color: var(--brand) !important;
}

.home-main,
.vin-wrap {
  width: min(1240px, 92vw) !important;
}

.home-intro,
.brand-section,
.faq-section,
.recent-box,
.contact-section,
.result-section,
.package-section {
  padding: 42px 0 !important;
}

.home-intro {
  text-align: left !important;
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 36px;
  border-bottom: 1px solid var(--line);
}

.home-intro h1 {
  margin: 0 !important;
  color: var(--ink) !important;
  font-size: 30px !important;
  font-weight: 800 !important;
}

.home-intro p {
  margin: 0 0 10px !important;
  color: var(--muted) !important;
}

.brand-section h2,
.faq-section h2,
.section-title h2,
.contact-section h2 {
  text-align: left !important;
  color: var(--ink) !important;
  font-size: 24px !important;
  font-weight: 800 !important;
}

.brand-section h2 span,
.faq-section h2 span,
.contact-section h2 span {
  width: 9px !important;
  height: 9px !important;
  margin: 0 10px 2px 0 !important;
  border-radius: 50% !important;
  background: var(--accent) !important;
}

.brand-section h2 span:last-child,
.faq-section h2 span:last-child {
  display: none !important;
}

.brand-matrix {
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)) !important;
  justify-content: stretch !important;
  gap: 12px !important;
}

.brand-row-title {
  grid-column: 1 / -1;
  text-align: left !important;
  color: var(--brand-deep) !important;
  font-weight: 800;
  padding-top: 10px;
}

.brand-card,
.faq-grid article,
.result-item,
.data-panel,
.tools-panel,
.package-card,
.center-panel {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  background: var(--panel) !important;
  box-shadow: 0 10px 30px rgba(48, 58, 53, .07) !important;
}

.brand-card {
  height: 86px !important;
}

.brand-card img {
  width: 38px !important;
  height: 34px !important;
}

.faq-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
}

.faq-grid h3 b,
.faq-grid p b {
  background: var(--brand) !important;
}

.recent-box {
  border-top: 1px solid var(--line) !important;
  text-align: left !important;
  color: var(--muted) !important;
}

.recent-codes {
  max-width: none !important;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
  gap: 10px !important;
}

.recent-codes span {
  padding: 8px 10px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.contact-section {
  gap: 24px;
  border-top: 1px solid var(--line) !important;
}

.qr-box {
  border: 1px solid var(--line) !important;
  background: var(--panel-2) !important;
  color: var(--brand-deep) !important;
}

.home-footer,
.vin-footer,
.buy-footer {
  border-top: 1px solid var(--line) !important;
  color: var(--muted) !important;
}

.site-footer {
  clear: both;
  width: min(1180px, 94vw);
  margin: 34px auto 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--brand-deep);
}

#mainbody {
  min-height: calc(100vh - 92px) !important;
  height: auto !important;
  overflow: visible !important;
  background:
    linear-gradient(135deg, rgba(17, 120, 100, .94), rgba(36, 82, 76, .94)),
    #117864 !important;
}

#mainbody > .container > .text-center {
  min-height: calc(100vh - 92px);
  height: auto !important;
  padding: 16vh 0 12vh !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

#mainbody > .container > .text-center h1 {
  color: #fff !important;
  font-size: clamp(34px, 6vw, 58px) !important;
  font-weight: 800 !important;
}

#mainbody > .container > .text-center > a {
  margin-top: 18px;
  padding: 12px 24px !important;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 6px !important;
  background: var(--accent) !important;
  color: #fff !important;
  text-decoration: none;
}

.navbar-white {
  background: rgba(255, 253, 248, .96) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: 0 8px 26px rgba(34, 44, 40, .08) !important;
}

.navbar-white .navbar-nav > li > a,
.navbar-white .dropdown-menu > li > a {
  color: var(--muted) !important;
}

.navbar-white .navbar-nav > li > a:hover,
.navbar-white .navbar-nav > li > a:focus,
.navbar-white .dropdown-menu > li > a:hover,
.navbar-white .dropdown-menu > li > a:focus {
  color: var(--brand-deep) !important;
  background: #eef5f1 !important;
}

.dropdown-menu {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
}

main.content {
  width: min(1240px, 94vw) !important;
  margin: 0 auto;
  padding: 28px 0 !important;
  min-height: calc(100vh - 150px) !important;
}

footer.footer,
.footer {
  background: #20342f !important;
  color: rgba(255, 255, 255, .62) !important;
}

footer.footer .copyright {
  background: transparent !important;
}

footer.footer a,
.footer a {
  color: rgba(255, 255, 255, .78) !important;
}

.user-section,
.sidenav,
.panel-default,
.panel-page {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  background: var(--panel) !important;
  box-shadow: 0 10px 30px rgba(48, 58, 53, .06) !important;
}

.sidenav .list-group .list-group-item.active {
  border-left-color: var(--brand) !important;
  background: #eef5f1 !important;
}

.sidenav .list-group .list-group-item.active > a,
.sidenav .list-group .list-group-item > a:hover {
  color: var(--brand-deep) !important;
}

.nav-pills > li.active > a,
.btn-primary {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
}

.panel-default h2.page-header,
h2.page-header {
  color: var(--ink);
  border-bottom-color: var(--line) !important;
  font-weight: 800;
}

.section-title span {
  color: var(--brand) !important;
}

.result-grid,
.package-grid,
.origin-attrs {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
}

.result-item label,
.origin-attr label,
.pay-tip {
  color: var(--muted) !important;
}

.tool-btn,
.epc-viewbar button,
.epc-toolbar button,
.epc-link {
  border: 1px solid var(--line-strong) !important;
  background: var(--panel) !important;
  color: var(--brand-deep) !important;
  border-radius: 6px !important;
}

.tool-btn.active,
.epc-viewbar button.active,
.tool-form button,
.buy-btn {
  border-color: var(--brand) !important;
  background: var(--brand) !important;
  color: #fff !important;
}

.price,
.buy-final b,
.buy-summary-price {
  color: var(--accent) !important;
}

.vin-buy-page,
.vin-order-page {
  min-height: 100vh;
  padding: 18px min(4vw, 42px) 40px;
}

.buy-top,
.order-top {
  width: min(1220px, 100%) !important;
  height: auto !important;
  margin: 0 auto 14px !important;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .9);
}

.buy-shell,
.order-shell {
  width: min(1220px, 100%) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 190px minmax(0, 1fr) !important;
  gap: 18px !important;
}

.buy-side,
.order-side {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  align-self: start;
}

.buy-side a,
.order-side a {
  height: 42px !important;
  line-height: 42px !important;
  margin-bottom: 6px;
  border-radius: 6px;
  color: var(--muted) !important;
  text-align: left !important;
  padding: 0 12px;
}

.buy-side a.profile,
.order-side a.profile,
.buy-side a.current,
.order-side a.current,
.buy-side a.active {
  background: #eef5f1 !important;
  color: var(--brand-deep) !important;
  font-weight: 700 !important;
}

.buy-main,
.order-main {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .92);
  box-shadow: var(--shadow);
}

.buy-title,
.order-main h1 {
  height: auto !important;
  line-height: 1.4 !important;
  margin: 0 0 18px !important;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line) !important;
  font-size: 22px !important;
}

.buy-title b,
.order-main h1 b {
  width: 10px !important;
  height: 10px !important;
  background: var(--accent) !important;
  border-radius: 50%;
}

.buy-content {
  grid-template-columns: minmax(0, 1fr) 340px !important;
}

.buy-table-wrap {
  max-height: none !important;
  padding-right: 0 !important;
  border-right: 0 !important;
  overflow: auto;
}

.buy-service-table td,
.order-table td,
.order-table th {
  height: 42px !important;
}

.buy-row.selected td {
  background: #eef5f1 !important;
}

.buy-radio span {
  border-color: var(--brand) !important;
}

.buy-row.selected .buy-radio span:after {
  background: var(--brand) !important;
}

.buy-pay-panel {
  padding: 16px !important;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #faf7ef;
  align-self: start;
}

.buy-coupon {
  grid-template-columns: 1fr 92px !important;
  gap: 8px;
  height: auto !important;
}

.buy-coupon input,
.buy-coupon button {
  height: 40px;
  border-radius: 6px !important;
}

.buy-coupon button,
#buy-submit {
  background: var(--brand) !important;
  color: #fff !important;
}

.buy-summary,
.pay-choice {
  border-color: var(--line) !important;
  background: var(--panel) !important;
  border-radius: 6px;
}

.wx-icon {
  background: #1f9d68 !important;
}

.ali-icon {
  background: #3186a8 !important;
}

.center-panel {
  margin-bottom: 18px;
  padding: 20px;
}

.center-number {
  color: var(--brand-deep) !important;
}

.epc-body {
  padding: 16px min(3vw, 34px);
}

.epc-shell {
  width: min(1480px, 100%) !important;
  padding: 0 0 34px !important;
}

.epc-header {
  height: auto !important;
  min-height: 68px;
  padding: 14px 18px;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.epc-logo {
  color: var(--brand-deep) !important;
}

.epc-title {
  color: var(--ink) !important;
}

.epc-userbar {
  flex-wrap: wrap;
}

.epc-location,
.epc-searchbar,
.epc-filter,
.epc-toolbar,
.epc-content {
  padding: 12px 14px !important;
  margin-top: 12px;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius);
  background: var(--panel);
}

.epc-searchbar {
  display: grid !important;
  grid-template-columns: auto minmax(160px, 1fr) auto minmax(180px, 1fr) auto;
  gap: 10px !important;
}

.epc-searchbar input,
.epc-searchbar button {
  height: 38px !important;
  border-radius: 6px;
}

.epc-filter {
  color: var(--muted) !important;
}

.epc-filter label {
  color: var(--brand-deep) !important;
}

.epc-content {
  min-height: 540px;
  overflow: auto;
}

.epc-thumb-grid,
.epc-page .epc-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  gap: 12px !important;
}

.epc-thumb-card,
.epc-thumb,
.epc-figure-panel {
  border-color: var(--line) !important;
  border-radius: var(--radius) !important;
  background: var(--panel) !important;
}

.epc-thumb-card:hover,
.epc-page .epc-thumb:hover {
  outline: 3px solid rgba(17, 120, 100, .18) !important;
}

.epc-thumb-caption b,
.epc-thumb b {
  background: var(--brand-deep) !important;
}

.epc-hotspot,
.hotspot {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

.epc-hotspot.active,
.hotspot.active {
  background: var(--accent) !important;
  color: #fff !important;
  box-shadow: 0 0 0 8px rgba(214, 133, 42, .18) !important;
}

.epc-part-row.active td {
  background: #fff1dc !important;
}

.epc-part-row.active td:nth-child(2) {
  background: #ffe0ad !important;
  color: var(--brand-deep) !important;
}

.vin-fitment-body {
  background: var(--app-bg) !important;
}

.fit-shell {
  grid-template-columns: 236px minmax(0, 1fr) !important;
}

.fit-side {
  background: #20342f !important;
  color: #d9e5df !important;
  padding: 14px !important;
}

.fit-logo {
  height: auto !important;
  line-height: 1.15 !important;
  padding: 16px 12px;
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .96) !important;
  color: var(--ink) !important;
}

.fit-menu-title {
  height: auto !important;
  line-height: 1.4 !important;
  padding: 22px 12px 10px !important;
}

.fit-menu {
  height: 40px !important;
  line-height: 40px !important;
  padding-left: 12px !important;
  border-radius: 6px;
  color: #d9e5df !important;
}

.fit-menu.active,
.fit-menu:hover {
  background: rgba(255, 255, 255, .12) !important;
}

.fit-main {
  padding: 20px min(3vw, 32px) 44px !important;
}

.fit-top,
.fit-card,
.fit-modal {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  background: var(--panel) !important;
  box-shadow: 0 10px 30px rgba(48, 58, 53, .07) !important;
}

.fit-top {
  height: auto !important;
  min-height: 58px;
  padding: 12px 16px;
}

.fit-top h2 {
  font-weight: 800 !important;
  color: var(--ink);
}

.fit-card {
  padding: 18px !important;
}

.fit-card h3 {
  color: var(--ink);
}

.fit-form-grid label span,
.fit-wide span,
.fit-select-filters span,
.fit-oe-search label span {
  background: #edf3ef !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}

.fit-category-control button,
.fit-submit,
.fit-go-model,
.fit-select-filters .btn,
.fit-oe-search .btn {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
}

.fit-category-control #fit-del-category-btn {
  background: var(--danger) !important;
  border-color: var(--danger) !important;
}

.fit-yellow {
  background: var(--accent-soft) !important;
  color: #7b4c14 !important;
}

.fit-toolbar .btn-success {
  background: #4f8f5f !important;
  border-color: #4f8f5f !important;
}

.fit-select-table th {
  background: #20342f !important;
  color: #fff !important;
}

.fit-modal-close {
  background: var(--ink) !important;
}

.vin-auth-page {
  background:
    linear-gradient(135deg, rgba(238, 245, 241, .95), rgba(255, 241, 220, .58)),
    var(--app-bg) !important;
}

.vin-auth-shell {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px) !important;
}

.vin-auth-logo,
.vin-layout-brand {
  color: var(--ink) !important;
}

.vin-auth-brand h1 {
  color: var(--ink) !important;
  font-weight: 800 !important;
}

.vin-auth-brand p,
.vin-auth-tags span {
  color: var(--muted) !important;
}

.vin-auth-card {
  border-color: var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
}

.vin-auth-card .logon-tab,
.vin-auth-card.login-section .logon-tab {
  background: #edf3ef !important;
}

.vin-auth-card .logon-tab a.active,
.vin-auth-card.login-section .logon-tab>a.active,
.vin-auth-card .btn-primary {
  background: var(--brand) !important;
  color: #fff !important;
}

.vin-auth-card .form-control:focus {
  border-color: var(--brand) !important;
}

@media (max-width: 1080px) {
  .home-header {
    grid-template-columns: 1fr;
    grid-template-areas:
      "user"
      "brand"
      "tabs"
      "search"
      "msg";
  }

  .home-search {
    margin-top: 26px !important;
  }

  .home-intro,
  .buy-content {
    grid-template-columns: 1fr !important;
  }

  .epc-searchbar {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 900px) {
  .buy-shell,
  .order-shell,
  .fit-shell,
  .vin-auth-shell {
    grid-template-columns: 1fr !important;
  }

  .buy-side,
  .order-side {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
  }

  .fit-side {
    display: block !important;
  }
}

@media (max-width: 680px) {
  .home-header {
    padding: 16px 14px 32px !important;
  }

  .home-logo div {
    font-size: 38px !important;
  }

  .home-search {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .home-search .scan-icon {
    grid-column: 1 / -1;
    width: 100%;
  }

  .home-nav {
    justify-content: flex-start !important;
    overflow-x: auto;
  }

  .contact-section {
    display: block !important;
  }

  .qr-list {
    margin-top: 20px;
  }

  .buy-side,
  .order-side {
    grid-template-columns: 1fr;
  }
}

/* Keep the new visual system, but restore the faster centered query workflow. */
.vin-home-body .home-header {
  min-height: 354px;
  padding: 16px min(5vw, 64px) 34px !important;
  display: block !important;
  position: relative;
  text-align: center !important;
  background:
    linear-gradient(135deg, rgba(17, 120, 100, .97), rgba(31, 91, 82, .96)),
    #117864 !important;
}

.vin-home-body .home-userbar {
  position: static !important;
  display: flex;
  justify-content: flex-end;
  margin: 0 0 34px !important;
  min-height: 28px;
}

.vin-home-body .home-logo {
  display: block;
  padding: 0 !important;
  text-align: center;
}

.vin-home-body .home-logo div {
  font-size: 48px !important;
}

.vin-home-body .home-logo p {
  max-width: none;
  margin: 12px 0 28px !important;
  text-align: center;
}

.vin-home-body .home-tabs {
  display: flex;
  justify-content: center !important;
  gap: 10px !important;
  margin: 0 0 12px !important;
}

.vin-home-body .home-tabs a {
  min-width: 90px;
  height: 38px;
  line-height: 38px;
  padding: 0 14px;
  text-align: center;
  border-color: rgba(255, 255, 255, .28);
}

.vin-home-body .home-search {
  width: min(760px, 92vw) !important;
  min-height: 54px;
  height: 54px !important;
  margin: 0 auto !important;
  padding: 0;
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) 48px 112px;
  grid-template-rows: 54px;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: 8px;
  background: rgba(255, 253, 248, .98) !important;
  box-shadow: 0 16px 38px rgba(21, 48, 42, .18);
}

.vin-home-body .home-search input {
  height: 54px;
  padding: 0 12px;
  font-size: 17px !important;
}

.vin-home-body .home-search .search-icon,
.vin-home-body .home-search .scan-icon {
  height: 54px;
  border-radius: 0;
  background: transparent !important;
  color: var(--brand) !important;
}

.vin-home-body .home-search .scan-icon {
  border-left: 1px solid var(--line);
}

.vin-home-body .home-search .scan-icon img {
  max-width: 22px;
  max-height: 22px;
  opacity: .72;
}

.vin-home-body .home-search > button[type="submit"] {
  grid-column: auto;
  height: 54px;
  border-radius: 0 !important;
  background: var(--accent) !important;
  font-size: 16px !important;
}

.vin-home-body .home-message {
  margin-top: 10px;
  text-align: center;
}

.vin-home-body .home-intro {
  margin: 34px 0 12px;
  padding: 0 !important;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(48, 58, 53, .06);
}

.vin-home-body .home-intro h1 {
  margin: 0 !important;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  background: #edf3ef;
  color: var(--ink) !important;
  font-size: 26px !important;
  line-height: 1.35;
  border-right: 1px solid var(--line);
}

.vin-home-body .home-intro p {
  margin: 0 !important;
  padding: 18px 22px;
  min-height: 72px;
  display: flex;
  align-items: center;
  color: var(--muted) !important;
  line-height: 1.75 !important;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.vin-home-body .home-intro p:first-of-type {
  color: var(--brand-deep) !important;
  font-weight: 700;
}

.vin-home-body .home-intro p:last-child {
  border-bottom: 0;
}

.vin-home-body .seo-copy-section {
  margin: 18px 0 8px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fffdf8, #faf7ef);
  box-shadow: 0 10px 28px rgba(48, 58, 53, .05);
}

.vin-home-body .seo-copy-section h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
}

.vin-home-body .seo-copy-section p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.9;
}

.vin-home-body .seo-copy-section p:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .vin-home-body .home-header {
    min-height: 0;
    padding: 14px 12px 28px !important;
  }

  .vin-home-body .home-userbar {
    justify-content: center;
    margin-bottom: 22px !important;
  }

  .vin-home-body .home-logo div {
    font-size: 38px !important;
  }

  .vin-home-body .home-tabs {
    justify-content: flex-start !important;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .vin-home-body .home-tabs a {
    flex: 0 0 auto;
  }

  .vin-home-body .home-search {
    height: auto !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    grid-template-rows: 52px 46px;
  }

  .vin-home-body .home-search input,
  .vin-home-body .home-search .search-icon,
  .vin-home-body .home-search .scan-icon {
    height: 52px;
  }

  .vin-home-body .home-search > button[type="submit"] {
    grid-column: 1 / -1;
    height: 46px;
  }

  .vin-home-body .home-intro {
    grid-template-columns: 1fr;
  }

  .vin-home-body .home-intro h1 {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    font-size: 22px !important;
  }

  .vin-home-body .home-intro p {
    min-height: 0;
    padding: 14px 16px;
  }

  .vin-home-body .seo-copy-section {
    padding: 18px 16px;
  }
}
