.storefront-home-shell {
  min-height: 100vh;
  background: #f4f8fd;
}

.storefront-contact-shell {
  min-height: 100vh;
  background: #fff;
}

.storefront-entry-notice {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 24px;
  background: #f6f7f9;
  color: #1e2938;
}

.storefront-entry-notice-content {
  width: min(460px, 100%);
  text-align: center;
}

.storefront-entry-notice-animation {
  position: relative;
  width: 180px;
  height: 108px;
  margin: 0 auto 28px;
}

.storefront-entry-notice-road {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 12px;
  border-top: 2px solid #cfd6df;
  border-bottom: 2px dashed #cfd6df;
}

.storefront-entry-notice-road::after {
  position: absolute;
  top: -6px;
  right: 20px;
  width: 9px;
  height: 9px;
  border: 3px solid #f6f7f9;
  border-radius: 50%;
  background: #e9a83a;
  content: "";
}

.storefront-entry-notice-car,
.storefront-entry-notice-search {
  position: absolute;
  display: grid;
  place-items: center;
}

.storefront-entry-notice-car {
  z-index: 1;
  bottom: 28px;
  left: 48px;
  color: #183b62;
  font-size: 48px;
  animation: storefront-car-search 2.8s ease-in-out infinite;
}

.storefront-entry-notice-search {
  top: 0;
  right: 22px;
  width: 38px;
  height: 38px;
  border: 1px solid #dce2e9;
  border-radius: 50%;
  background: #fff;
  color: #27877d;
  box-shadow: 0 8px 22px rgba(35, 54, 74, 0.1);
  font-size: 18px;
  animation: storefront-search-scan 2.8s ease-in-out infinite;
}

.storefront-entry-notice-content h1 {
  margin: 0;
  color: #1e2938;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
  white-space: normal;
}

.storefront-entry-notice-content p {
  margin: 14px 0 0;
  color: #6f7a89;
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

@keyframes storefront-car-search {
  0%, 100% { transform: translateX(-7px); }
  50% { transform: translateX(7px); }
}

@keyframes storefront-search-scan {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-5deg); }
  50% { transform: translate3d(-8px, 8px, 0) rotate(7deg); }
}

@media (prefers-reduced-motion: reduce) {
  .storefront-entry-notice-car,
  .storefront-entry-notice-search {
    animation: none;
  }
}

@media (max-width: 560px) {
  .storefront-entry-notice {
    padding: 24px 22px;
  }

  .storefront-entry-notice-content h1 {
    font-size: 27px;
  }

  .storefront-entry-notice-content p {
    font-size: 14px;
  }
}

.storefront-auth-form {
  margin-top: 24px;
}

.storefront-auth-form .ant-alert {
  margin-bottom: 18px;
}

.storefront-google-auth {
  display: grid;
  gap: 16px;
  padding-top: 8px;
  text-align: center;
}

.storefront-google-auth p,
.storefront-google-auth small {
  margin: 0;
  color: #63758b;
}

.storefront-google-auth a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  border: 1px solid #c7d2e0;
  border-radius: 10px;
  background: #fff;
  color: #172b45;
  font-weight: 700;
}

.storefront-google-mark {
  color: #4285f4;
  font-size: 20px;
  font-weight: 800;
}

.storefront-header-center {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: inherit;
}

.storefront-header-account.ant-btn {
  grid-column: 3;
  height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 13px;
  padding: 5px 9px 5px 6px;
  color: #172b45;
}

body[data-portal="customer"] .customer-site-header:has(.storefront-header-account) {
  grid-template-columns: 132px minmax(0, 1fr) auto;
}

.storefront-header-account.ant-btn:hover {
  background: #f3f7fc;
}

.storefront-header-account .ant-avatar,
.storefront-account-summary .ant-avatar {
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(145deg, #2482e8, #0e4f9d);
  box-shadow: 0 6px 16px rgba(23, 105, 210, 0.24);
}

.storefront-account-trigger-copy {
  min-width: 0;
  max-width: 132px;
  display: grid;
  gap: 1px;
  text-align: left;
}

.storefront-account-trigger-copy small,
.storefront-account-trigger-copy strong {
  overflow: hidden;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-account-trigger-copy small {
  color: #8390a3;
  font-size: 11px;
  font-weight: 550;
}

.storefront-account-trigger-copy strong {
  color: #2a3a51;
  font-size: 13px;
  font-weight: 720;
}

.storefront-account-popover {
  width: min(344px, calc(100vw - 56px));
  display: grid;
  gap: 12px;
  padding: 4px;
}

.storefront-account-summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid #dce8f6;
  border-radius: 13px;
  padding: 13px;
  background: linear-gradient(135deg, #f4f9ff, #fff);
}

.storefront-account-summary > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.storefront-account-summary span,
.storefront-account-summary small,
.storefront-account-summary strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-account-summary span,
.storefront-account-summary small {
  color: #7a8a9f;
  font-size: 11px;
}

.storefront-account-summary strong {
  color: #172b45;
  font-size: 15px;
}

.storefront-center-page {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 94px);
  margin: 0 auto;
  padding: 46px 0 96px;
}

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

.storefront-center-sidebar {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 6px;
  overflow: hidden;
  border: 1px solid #e2eaf4;
  border-radius: 16px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 38px rgba(37, 68, 108, 0.07);
}

.storefront-center-sidebar-item {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 10px;
  padding: 0 16px;
  color: #596b82;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 680;
  text-align: left;
}

.storefront-center-sidebar-item.active {
  color: #1769d2;
  background: #eaf3ff;
}

.storefront-center-content {
  min-width: 0;
  display: grid;
  gap: 22px;
}

.storefront-center-heading {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid #e2eaf4;
  border-radius: 16px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 38px rgba(37, 68, 108, 0.07);
}

.storefront-center-heading span {
  color: #1769d2;
  font-size: 12px;
  font-weight: 750;
}

.storefront-center-heading h1 {
  margin: 5px 0 0;
  color: #132b48;
  font-size: 25px;
  letter-spacing: -0.025em;
}

.storefront-center-heading-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.storefront-center-heading-actions > strong {
  min-width: 34px;
  color: #1769d2;
  font-size: 22px;
  text-align: center;
}

.storefront-inquiry-history {
  display: grid;
  gap: 14px;
}

.storefront-inquiry-card {
  min-height: 168px;
  display: grid;
  grid-template-columns: minmax(184px, 220px) minmax(0, 1fr) 210px;
  overflow: hidden;
  border: 1px solid #e2eaf4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(37, 68, 108, 0.055);
}

.storefront-inquiry-image {
  min-width: 0;
  min-height: 168px;
  display: block;
  overflow: hidden;
  background: #eef3f8;
}

.storefront-inquiry-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 180ms ease;
}

.storefront-inquiry-image:hover img {
  transform: scale(1.025);
}

.storefront-inquiry-summary {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 18px 22px;
}

.storefront-inquiry-status > span {
  color: #7a8a9f;
  font-size: 12px;
  font-weight: 700;
}

.storefront-inquiry-source-row {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
}

.storefront-inquiry-source-row > span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0 8px;
  color: #175fb8;
  background: #eaf3ff;
  font-size: 11px;
  font-weight: 800;
}

.storefront-inquiry-summary h2 {
  margin: 0 0 7px;
  color: #172b45;
  font-size: 18px;
  line-height: 1.32;
}

.storefront-inquiry-summary h2 a,
.storefront-inquiry-record-summary h2 a {
  color: inherit;
}

.storefront-inquiry-vehicle-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #175fb8;
  font-size: 12px;
  font-weight: 650;
}

.storefront-inquiry-facts {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 15px;
  color: #687a91;
  font-size: 12px;
  font-weight: 650;
}

.storefront-inquiry-facts > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.storefront-inquiry-facts .anticon {
  color: #1769d2;
  font-size: 13px;
}

.storefront-inquiry-summary p {
  max-width: 100%;
  overflow: hidden;
  margin: 10px 0 0;
  color: #687a91;
  font-size: 12px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-inquiry-summary p > span {
  margin-right: 8px;
  color: #8795a8;
  font-weight: 700;
}

.storefront-inquiry-status {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-left: 1px solid #e2eaf4;
  padding: 18px 20px;
  background: #fbfdff;
}

.storefront-inquiry-status strong {
  margin: 5px 0 7px;
  color: #1769d2;
  font-size: 18px;
}

.storefront-inquiry-status strong[data-status="processing"] {
  color: #c78100;
}

.storefront-inquiry-status strong[data-status="closed"] {
  color: #16846a;
}

.storefront-inquiry-status time {
  color: #7a8a9f;
  font-size: 12px;
  font-weight: 600;
}

.storefront-inquiry-detail-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  border-radius: 7px;
  padding: 0 11px;
  color: #1769d2;
  background: #eaf3ff;
  font-size: 12px;
  font-weight: 800;
}

.storefront-inquiry-detail-link:hover {
  color: #0f56b4;
  background: #dcecff;
}

.storefront-inquiry-detail-heading .page-back-button {
  flex: 0 0 auto;
}

.storefront-inquiry-record-detail {
  overflow: hidden;
  border: 1px solid #e2eaf4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(37, 68, 108, 0.055);
}

.storefront-inquiry-record-detail > .ant-skeleton {
  padding: 28px;
}

.storefront-inquiry-record-vehicle {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  border-bottom: 1px solid #e2eaf4;
}

.storefront-inquiry-record-image {
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef3f8;
}

.storefront-inquiry-record-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.storefront-inquiry-record-summary {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.storefront-inquiry-record-summary h2 {
  margin: 12px 0 14px;
  color: #172b45;
  font-size: 24px;
  line-height: 1.35;
}

.storefront-inquiry-record-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.storefront-inquiry-record-fields > div {
  min-width: 0;
  padding: 22px 28px;
}

.storefront-inquiry-record-fields > div + div {
  border-left: 1px solid #e2eaf4;
}

.storefront-inquiry-record-fields dt {
  margin-bottom: 7px;
  color: #7a8a9f;
  font-size: 12px;
  font-weight: 700;
}

.storefront-inquiry-record-fields dd {
  margin: 0;
  color: #2a3a51;
  font-size: 14px;
  line-height: 1.65;
}

.storefront-inquiry-record-fields strong {
  color: #1769d2;
  font-size: 16px;
}

.storefront-inquiry-record-fields strong[data-status="processing"] {
  color: #c78100;
}

.storefront-inquiry-record-fields strong[data-status="closed"] {
  color: #16846a;
}

.storefront-inquiry-record-note {
  grid-column: 1 / -1;
  border-top: 1px solid #e2eaf4;
  border-left: 0 !important;
}

.storefront-inquiry-skeleton.ant-skeleton {
  display: block;
  padding: 26px;
}

.storefront-center-empty {
  border: 1px solid #e2eaf4;
  border-radius: 16px;
  padding: 72px 24px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(37, 68, 108, 0.055);
}

.storefront-inquiry-pagination {
  margin-top: 24px;
  text-align: right;
}

.storefront-center-search-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9px;
  background: #1769d2;
  color: #fff;
  font-weight: 700;
}

.storefront-contact-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 64px;
}

.storefront-contact-heading {
  max-width: 680px;
}

.storefront-contact-heading span {
  color: #20252b;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.storefront-contact-heading h1 {
  margin: 24px 0 0;
  color: #20252b;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0;
}

.storefront-contact-heading p {
  margin: 0;
  color: #63758b;
  font-size: 17px;
  line-height: 1.8;
}

.storefront-contact-card {
  margin-top: 24px;
  border-top: 1px solid #e3e6ea;
}

.storefront-contact-card .storefront-contact-item {
  padding-inline: 0;
}

.storefront-contact-details {
  margin: 0;
}

.storefront-contact-details.is-unconfigured {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 112px;
  padding: 28px 32px;
  color: #718096;
}

.storefront-contact-details.is-unconfigured > .anticon {
  color: #1677ff;
  font-size: 22px;
}

.storefront-contact-details.is-unconfigured p {
  margin: 0;
}

.storefront-contact-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 28px;
  padding: 26px 32px;
}

.storefront-contact-item + .storefront-contact-item {
  border-top: 1px solid #e7eef6;
}

.storefront-contact-item dt {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #718096;
  font-size: 14px;
  font-weight: 650;
}

.storefront-contact-item-icon {
  color: #1677ff;
  font-size: 16px;
}

.storefront-contact-item dd {
  margin: 0;
  color: #172b45;
  font-size: 17px;
  font-weight: 650;
}

.storefront-contact-item dd.is-multiline {
  line-height: 1.75;
  white-space: pre-line;
}

.storefront-contact-item dd { min-width: 0; overflow-wrap: anywhere; }
.storefront-contact-item .storefront-contact-position {
  margin: 4px 0 0;
  color: #687486;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}
.storefront-contact-position:first-child { margin-top: 0; }

.storefront-home-page {
  min-height: calc(100svh - 72px);
  padding: 32px 0 64px;
  background: #fff;
}

.storefront-home {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.storefront-home-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding-bottom: 24px;
}

.storefront-home-store-name {
  min-width: 0;
  margin: 0;
  color: #20252b;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.storefront-home-media {
  display: flex;
  justify-content: center;
  height: min(540px, 54svh);
}

.storefront-home-cover {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.storefront-home-content {
  display: grid;
  gap: 12px;
  max-width: 840px;
  padding-top: 28px;
  overflow-wrap: anywhere;
}

.storefront-home-content h2 {
  margin: 0;
  color: #20252b;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: 0;
}

.storefront-home-content p {
  margin: 0;
  color: #626a75;
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-line;
}

.storefront-home-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 20px;
  border-radius: 6px;
  background: #1769d2;
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
}

.storefront-home-cta:hover {
  background: #1155b0;
  color: #fff;
}

.storefront-home-cta:focus-visible {
  outline: 3px solid #91bafa;
  outline-offset: 3px;
}

.storefront-home-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  width: min(1180px, calc(100% - 40px));
  margin: 36px auto 0;
  padding-top: 32px;
  border-top: 1px solid #e3e6ea;
}

.storefront-home-contact-heading {
  min-width: 0;
}

.storefront-home-contact-heading > span {
  color: #626a75;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.storefront-home-contact-heading h2 {
  margin: 12px 0 0;
  color: #20252b;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.storefront-home-contact-heading p {
  max-width: 520px;
  margin: 12px 0 0;
  color: #626a75;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.storefront-home-contact .storefront-contact-details {
  min-width: 0;
  align-self: start;
}

.storefront-home-contact .storefront-contact-item {
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
}

.storefront-home-contact .storefront-contact-item:first-child {
  padding-top: 0;
}

.storefront-home-contact .storefront-contact-item dd {
  color: #20252b;
  font-size: 16px;
  font-weight: 600;
}

.storefront-home-contact .storefront-contact-details.is-unconfigured {
  min-height: 0;
  padding: 0;
}

@media (max-width: 1080px) and (min-width: 761px) {
  .storefront-center-layout {
    grid-template-columns: 184px minmax(0, 1fr);
  }

  .storefront-inquiry-card {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .storefront-inquiry-image {
    grid-row: span 2;
  }

  .storefront-inquiry-status {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    border-top: 1px solid #e2eaf4;
    border-left: 0;
    padding: 12px 22px;
  }

  .storefront-inquiry-status strong {
    margin: 0;
  }

  .storefront-inquiry-record-vehicle {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .storefront-inquiry-detail-link {
    min-width: 100px;
    margin: 0 0 0 auto;
  }
}

@media (max-width: 760px) {
  .storefront-account-trigger-copy {
    display: none;
  }

  .storefront-header-account.ant-btn {
    width: 42px;
    justify-content: center;
    padding: 4px;
  }

  .storefront-center-page {
    width: calc(100% - 24px);
    padding: 40px 0 64px;
  }

  .storefront-center-layout {
    grid-template-columns: 1fr;
  }

  .storefront-center-sidebar {
    position: static;
  }

  .storefront-center-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .storefront-center-heading-actions {
    width: 100%;
    justify-content: space-between;
  }

  .storefront-inquiry-card {
    grid-template-columns: 1fr;
  }

  .storefront-inquiry-image {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .storefront-inquiry-summary,
  .storefront-inquiry-status {
    padding: 18px;
  }

  .storefront-inquiry-status {
    border-top: 1px solid #e2eaf4;
    border-left: 0;
  }

  .storefront-inquiry-record-vehicle,
  .storefront-inquiry-record-fields {
    grid-template-columns: 1fr;
  }

  .storefront-inquiry-record-image {
    aspect-ratio: 16 / 9;
  }

  .storefront-inquiry-record-summary,
  .storefront-inquiry-record-fields > div {
    padding: 20px;
  }

  .storefront-inquiry-record-fields > div + div {
    border-top: 1px solid #e2eaf4;
    border-left: 0;
  }

  .storefront-inquiry-record-note {
    grid-column: auto;
  }

  .storefront-contact-page {
    width: calc(100% - 32px);
    padding: 24px 0 48px;
  }

  .storefront-contact-heading span {
    font-size: 24px;
  }

  .storefront-contact-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px;
  }

  .storefront-home {
    width: calc(100% - 32px);
  }

  .storefront-home-identity {
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 20px;
  }

  .storefront-home-store-name {
    font-size: 24px;
  }

  .storefront-home-content {
    padding-top: 20px;
  }

  .storefront-home-media {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .storefront-home-content h2,
  .storefront-home-contact-heading h2 {
    font-size: 21px;
  }

  .storefront-home-page {
    padding: 24px 0 48px;
  }

  .storefront-home-contact {
    grid-template-columns: 1fr;
    gap: 24px;
    width: calc(100% - 32px);
    margin-top: 28px;
    padding-top: 24px;
  }

  .storefront-home-contact .storefront-contact-item {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 0;
  }
}
