/* Pro template: professional and responsive layout */

body.shop.shop-tpl-pro {
  background: #f1f5f9;
  color: #0f172a;
}

body.shop.shop-tpl-pro a {
  color: #2563eb;
}

.shop-head--pro {
  background: linear-gradient(120deg, #0b1220 0%, #142849 45%, #1d4ed8 100%);
  border-bottom: none;
  box-shadow: 0 12px 28px rgba(2, 12, 27, 0.28);
}

.shop-head--pro .shop-head__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.shop-head--pro h1 {
  margin: 0;
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.shop-head--pro h1 a {
  text-decoration: none;
  color: #f8fafc !important;
}

.shop-head__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-head__admin {
  color: #dbeafe !important;
  border: 1px solid rgba(219, 234, 254, 0.4);
  background: rgba(15, 23, 42, 0.28);
  text-decoration: none;
  border-radius: 999px;
  font-size: 13px;
  padding: 6px 12px;
}

.shop-head__admin:hover {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(219, 234, 254, 0.75);
}

.shop-main--pro {
  width: 100%;
  max-width: 1240px;
  margin: 28px auto 44px;
  padding: 0 20px;
}

.pro-banner {
  margin-bottom: 20px;
}

.pro-banner__item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #dbeafe;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
  background: #e2e8f0;
}

.pro-banner__media {
  display: block;
  aspect-ratio: 21 / 6;
}

.pro-banner__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.pro-banner__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0));
}

.pro-banner__caption h3 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
}

.pro-hero {
  background: radial-gradient(circle at top right, rgba(96, 165, 250, 0.36), transparent 40%),
              linear-gradient(140deg, #0f172a 0%, #1e3a8a 55%, #1d4ed8 100%);
  color: #f8fafc;
  border-radius: 18px;
  padding: 28px 24px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.pro-hero__content {
  max-width: 760px;
}

.pro-hero__kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bfdbfe;
}

.pro-hero h2 {
  margin: 0;
  color: #ffffff;
  font-size: 32px;
  line-height: 1.22;
}

.pro-hero__sub {
  margin: 11px 0 0;
  color: #dbeafe;
  line-height: 1.62;
}

.pro-hero__stats {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pro-stat {
  min-width: 108px;
  border: 1px solid rgba(191, 219, 254, 0.36);
  background: rgba(15, 23, 42, 0.26);
  border-radius: 12px;
  padding: 10px 12px;
}

.pro-stat strong {
  display: block;
  line-height: 1;
  font-size: 20px;
  color: #ffffff;
}

.pro-stat span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #bfdbfe;
}

.pro-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.pro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
}

.pro-btn--primary {
  background: #ffffff;
  color: #1e3a8a !important;
}

.pro-btn--primary:hover {
  background: #eff6ff;
}

.pro-btn--ghost {
  color: #e0e7ff !important;
  border: 1px solid rgba(224, 231, 255, 0.7);
  background: rgba(15, 23, 42, 0.2);
}

.pro-btn--ghost:hover {
  background: rgba(15, 23, 42, 0.35);
}

.pro-cat-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  margin-bottom: 16px;
}

.pro-cat-pill {
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155 !important;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
}

.pro-cat-pill.is-active {
  color: #ffffff !important;
  border-color: #1d4ed8;
  background: #1d4ed8;
}

.pro-page-head {
  margin-bottom: 16px;
}

.pro-page-head h2,
.pro-page-head h3 {
  margin: 0 0 7px;
  color: #0f172a;
  font-size: 1.34rem;
}

.pro-page-head__sub {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.pro-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pro-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pro-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.pro-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
}

.pro-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pro-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}

.pro-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 13px 14px;
  min-height: 0;
}

.pro-card__body h3 {
  margin: 0 0 7px;
  line-height: 1.45;
  font-size: 14px;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pro-card__body h3 a {
  text-decoration: none;
  color: inherit !important;
}

.pro-card__price {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 16px;
  color: #b91c1c;
}

.pro-card__desc {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.pro-card__btn {
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 10px 12px;
  border-radius: 9px;
  background: #1d4ed8;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  margin-top: auto;
}

.pro-card__btn:hover {
  background: #1e40af;
}

.pro-empty {
  text-align: center;
  font-size: 15px;
  color: #475569;
  background: #ffffff;
  border-radius: 14px;
  border: 1px dashed #cbd5e1;
  padding: 52px 16px;
}

/* Pagination */
body.shop.shop-tpl-pro .shop-pager {
  border-top-color: #e2e8f0;
  margin-top: 30px;
}

body.shop.shop-tpl-pro .shop-pager__btn {
  border-color: #cbd5e1;
  border-radius: 10px;
}

body.shop.shop-tpl-pro .shop-pager__btn:hover {
  border-color: #93c5fd;
}

/* Payment and order query pages */
.pro-pay-panel {
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.pro-pay-result {
  max-width: 760px;
  margin: 24px auto 0;
  padding: 24px;
  background: #ffffff;
}

.pro-pay-result__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pro-pay-result__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.pro-pay-result__icon.is-success {
  background: #dcfce7;
  color: #15803d;
}

.pro-pay-result__icon.is-pending {
  background: #fff7ed;
  color: #c2410c;
}

.pro-pay-result h2 {
  margin: 0;
  color: #0f172a;
  font-size: 26px;
}

.pro-pay-result__sub {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 14px;
}

.pro-pay-result__meta {
  margin-top: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.pro-pay-result__meta-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #e2e8f0;
  padding: 11px 12px;
  font-size: 14px;
}

.pro-pay-result__meta-item:first-child {
  border-top: none;
}

.pro-pay-result__meta-item span {
  color: #64748b;
}

.pro-pay-result__meta-item code {
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 2px 8px;
}

.pro-pay-result__meta-item .is-success {
  color: #15803d;
}

.pro-pay-result__meta-item .is-pending {
  color: #c2410c;
}

.pro-pay-delivery {
  margin-top: 14px;
  border-radius: 10px;
  padding: 12px;
}

.pro-pay-delivery.is-success {
  border: 1px dashed #16b777;
  background: #f6ffed;
}

.pro-pay-delivery.is-pending {
  border: 1px dashed #f59e0b;
  background: #fffbeb;
}

.pro-pay-delivery__title {
  margin: 0 0 6px;
  font-weight: 700;
}

.pro-pay-delivery.is-success .pro-pay-delivery__title {
  color: #16b777;
}

.pro-pay-delivery.is-pending .pro-pay-delivery__title {
  color: #b45309;
}

.pro-pay-delivery__content {
  color: #334155;
  white-space: pre-wrap;
  word-break: break-all;
}

.pro-order-query-page__heading {
  margin: 0 0 7px;
  color: #0f172a;
  font-size: 1.34rem;
}

.pro-order-query-page__intro {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.pro-order-query-page__hint {
  margin: 12px 0 0;
  font-size: 14px;
}

.pro-order-query-page__hint.is-warn {
  color: #b45309;
}

.pro-order-query-page__result-title {
  margin: 0;
  color: #0f172a;
  font-size: 1.1rem;
}

.pro-order-query {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 22px;
}

.pro-order-query__form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.pro-order-query__form--page {
  margin-bottom: 4px;
}

.pro-order-query__label {
  font-size: 13px;
  color: #475569;
  white-space: nowrap;
}

.pro-order-query__input {
  flex: 1 1 200px;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
  padding: 10px 12px;
  font-size: 14px;
}

.pro-order-query__input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.pro-order-query__btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.pro-pay-result__actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pro-pay-result__actions .pro-btn--primary {
  background: #1d4ed8;
  color: #ffffff !important;
}

.pro-pay-result__actions .pro-btn--primary:hover {
  background: #1e40af;
}

.pro-pay-result__actions .pro-btn--ghost {
  color: #334155 !important;
  border-color: #cbd5e1;
  background: #ffffff;
}

.pro-pay-result__actions .pro-btn--ghost:hover {
  border-color: #93c5fd;
  color: #1d4ed8 !important;
}

.shop-foot--pro {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

@media (min-width: 720px) {
  .pro-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .pro-card__body {
    padding: 14px 16px 16px;
  }

  .pro-card__body h3 {
    font-size: 15px;
  }

  .pro-card__desc {
    font-size: 13px;
  }
}

@media (min-width: 1024px) {
  .pro-catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 900px) {
  .pro-hero {
    display: block;
    padding: 22px 18px;
  }

  .pro-hero h2 {
    font-size: 28px;
  }

  .pro-hero__actions {
    margin-top: 14px;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .shop-head--pro .shop-head__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-head__nav {
    justify-content: flex-start;
  }

  .shop-main--pro {
    margin-top: 20px;
    padding: 0 8px;
  }

  .pro-catalog {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .pro-banner__media {
    aspect-ratio: 16 / 7;
  }

  .pro-hero h2 {
    font-size: 24px;
  }

  .pro-stat {
    min-width: 96px;
  }

  .pro-order-query__form {
    flex-direction: column;
    align-items: stretch;
  }

  .pro-order-query__btn {
    width: 100%;
    text-align: center;
  }

  .pro-pay-result {
    margin-top: 12px;
    padding: 16px;
  }

  .pro-pay-result h2 {
    font-size: 22px;
  }
}
/* 专业栅格：桌面宽版式；手机固定两列 */

body.shop.shop-tpl-pro {
  background: #f1f5f9;
  color: #0f172a;
}

body.shop.shop-tpl-pro a {
  color: #1d4ed8;
}

.shop-head--pro {
  display: block;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  border-bottom: none;
  padding: 0;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.25);
}

.shop-head--pro .shop-head__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shop-head__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.shop-head--pro h1 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.shop-head--pro h1 a {
  color: #f8fafc !important;
  text-decoration: none;
}

.shop-head--pro h1 a:hover {
  color: #fff !important;
  opacity: 0.92;
}

.shop-head__admin {
  font-size: 13px;
  color: #94a3b8 !important;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.shop-head__admin:hover {
  color: #e2e8f0 !important;
  border-color: rgba(226, 232, 240, 0.45);
}

.shop-main--pro {
  max-width: 1200px;
  margin: 28px auto 40px;
  padding: 0 20px;
}

.pro-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 70%, #1d4ed8 100%);
  border-radius: 16px;
  color: #f8fafc;
  padding: 28px 24px;
  margin-bottom: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.pro-hero__kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bfdbfe;
}

.pro-hero h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  color: #fff;
}

.pro-hero__sub {
  margin: 10px 0 0;
  max-width: 720px;
  color: #dbeafe;
}

.pro-hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pro-order-query {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 22px;
}

.pro-order-query__form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.pro-order-query__title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-right: 4px;
}

.pro-order-query__label {
  font-size: 13px;
  color: #475569;
  white-space: nowrap;
}

.pro-order-query__input {
  flex: 1 1 200px;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  background: #fff;
  color: #0f172a;
}

.pro-order-query__input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.pro-order-query__btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.pro-order-query-page .pro-order-query__form--page {
  margin-bottom: 4px;
}

.pro-order-query-page__heading {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: #0f172a;
}

.pro-order-query-page__intro {
  margin: 0 0 18px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.pro-order-query-page__hint {
  margin: 12px 0 0;
  font-size: 14px;
}

.pro-order-query-page__hint.is-warn {
  color: #b45309;
}

.pro-order-query-page__result-title {
  margin: 0;
  font-size: 1.1rem;
  color: #0f172a;
}

.pro-btn {
  display: inline-block;
  border-radius: 10px;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.pro-btn--primary {
  background: #fff;
  color: #1e3a8a !important;
}

.pro-btn--ghost {
  border: 1px solid rgba(191, 219, 254, 0.65);
  color: #dbeafe !important;
}

.pro-page-head {
  margin-bottom: 22px;
}

.pro-page-head h2 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.pro-page-head h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.pro-page-head__sub {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

.pro-cat-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 16px;
}

.pro-cat-pill {
  white-space: nowrap;
  border: 1px solid #cbd5e1;
  color: #334155 !important;
  border-radius: 999px;
  padding: 7px 14px;
  text-decoration: none;
  background: #fff;
  font-size: 13px;
}

.pro-cat-pill.is-active {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff !important;
}

.pro-banner {
  margin-bottom: 24px;
}

.pro-banner--top {
  margin-top: 4px;
}

.pro-banner__item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #dbeafe;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
  max-height: 240px;
}

.pro-banner__media {
  display: block;
  aspect-ratio: 21 / 5;
  background: #e2e8f0;
  height: 100%;
}

.pro-banner__media img {
  width: 100%;
  height: 100%;
  max-height: 240px;
  object-fit: cover;
  display: block;
}

.pro-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pro-banner__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0));
}

.pro-banner__caption h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

/* 桌面：自适应多列；手机：固定两列 */
.pro-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 640px) {
  .pro-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1024px) {
  .pro-catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

.pro-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.pro-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.pro-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
  overflow: hidden;
}

.pro-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pro-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #e2e8f0, #f8fafc);
}

.pro-card__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

@media (min-width: 640px) {
  .pro-card__body {
    padding: 14px 16px 16px;
  }
}

.pro-card__body h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .pro-card__body h3 {
    font-size: 15px;
  }
}

.pro-card__body h3 a {
  color: inherit !important;
  text-decoration: none;
}

.pro-card__body h3 a:hover {
  color: #1d4ed8 !important;
}

.pro-card__price {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #b91c1c;
}

@media (min-width: 640px) {
  .pro-card__price {
    font-size: 17px;
  }
}

.pro-card__desc {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .pro-card__desc {
    font-size: 13px;
    -webkit-line-clamp: 4;
  }
}

.pro-card__btn {
  display: block;
  text-align: center;
  padding: 10px 12px;
  background: #1d4ed8;
  color: #fff !important;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  margin-top: auto;
}

.pro-card__btn:hover {
  background: #1e40af;
}

.pro-empty {
  text-align: center;
  padding: 54px 18px;
  color: #475569;
  font-size: 16px;
  background: #fff;
  border-radius: 14px;
  border: 1px dashed #cbd5e1;
}

@media (max-width: 768px) {
  .shop-head--pro .shop-head__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-head__nav {
    justify-content: flex-start;
  }

  .pro-hero {
    padding: 20px 16px;
    display: block;
  }

  .pro-banner__media {
    aspect-ratio: 16 / 6;
  }

  .pro-banner__media img {
    max-height: 170px;
  }

  .pro-hero h2 {
    font-size: 24px;
  }

  .pro-hero__actions {
    margin-top: 14px;
    justify-content: flex-start;
  }

  .pro-order-query__form {
    flex-direction: column;
    align-items: stretch;
  }

  .pro-order-query__btn {
    width: 100%;
    text-align: center;
  }
}

/* 分页：与专业主题统一 */
body.shop.shop-tpl-pro .shop-pager {
  border-top-color: #e2e8f0;
  margin-top: 32px;
}

body.shop.shop-tpl-pro .shop-pager__btn {
  border-radius: 10px;
  border-color: #cbd5e1;
}

body.shop.shop-tpl-pro .shop-pager__btn:hover {
  border-color: #93c5fd;
}

.shop-foot--pro {
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

.pro-pay-panel {
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.pro-pay-result {
  max-width: 760px;
  margin: 28px auto 0;
  padding: 24px;
  background: #fff;
}

.pro-pay-result__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pro-pay-result__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.pro-pay-result__icon.is-success {
  background: #dcfce7;
  color: #15803d;
}

.pro-pay-result__icon.is-pending {
  background: #fff7ed;
  color: #c2410c;
}

.pro-pay-result h2 {
  margin: 0;
  font-size: 26px;
  color: #0f172a;
}

.pro-pay-result__sub {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 14px;
}

.pro-pay-result__meta {
  margin-top: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.pro-pay-result__meta-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  font-size: 14px;
  border-top: 1px solid #e2e8f0;
}

.pro-pay-result__meta-item:first-child {
  border-top: none;
}

.pro-pay-result__meta-item span {
  color: #64748b;
}

.pro-pay-result__meta-item code {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 2px 8px;
}

.pro-pay-result__meta-item .is-success {
  color: #15803d;
}

.pro-pay-result__meta-item .is-pending {
  color: #c2410c;
}

.pro-pay-delivery {
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
}

.pro-pay-delivery.is-success {
  border: 1px dashed #16b777;
  background: #f6ffed;
}

.pro-pay-delivery.is-pending {
  border: 1px dashed #f59e0b;
  background: #fffbeb;
}

.pro-pay-delivery__title {
  margin: 0 0 6px;
  font-weight: 700;
}

.pro-pay-delivery.is-success .pro-pay-delivery__title {
  color: #16b777;
}

.pro-pay-delivery.is-pending .pro-pay-delivery__title {
  color: #b45309;
}

.pro-pay-delivery__content {
  white-space: pre-wrap;
  word-break: break-all;
  color: #334155;
}

.pro-pay-result__actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pro-pay-result__actions .pro-btn--primary {
  background: #1d4ed8;
  color: #fff !important;
}

.pro-pay-result__actions .pro-btn--primary:hover {
  background: #1e40af;
}

.pro-pay-result__actions .pro-btn--ghost {
  border: 1px solid #cbd5e1;
  color: #334155 !important;
  background: #fff;
}

.pro-pay-result__actions .pro-btn--ghost:hover {
  border-color: #93c5fd;
  color: #1d4ed8 !important;
}

@media (max-width: 768px) {
  .pro-pay-result {
    margin-top: 14px;
    padding: 16px;
  }

  .pro-pay-result h2 {
    font-size: 22px;
  }
}
