﻿:root {
  --nb-bg: #f7f8fa;
  --nb-surface: #ffffff;
  --nb-card: #ffffff;
  --nb-text: #111827;
  --nb-muted: #6b7280;
  --nb-primary: #2563eb;
  --nb-primary-hover: #1d4ed8;
  --nb-primary-soft: #eff6ff;
  --nb-border: #e5e7eb;
  --nb-border-strong: #d1d5db;
  --nb-radius: 8px;
  --nb-radius-sm: 6px;
  --nb-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  --nb-shadow-soft: 0 6px 16px rgba(15, 23, 42, 0.05);
  --nb-container: 1180px;
}



.nodebuy-preset-minimal-white {
  --nb-bg: #f7f8fa;
  --nb-surface: #ffffff;
  --nb-card: #ffffff;
  --nb-text: #111827;
  --nb-muted: #6b7280;
  --nb-primary: #2563eb;
  --nb-primary-hover: #1d4ed8;
  --nb-primary-soft: #eff6ff;
}




.nodebuy-preset-soft-blue {
  --nb-bg: #f8fbff;
  --nb-surface: #ffffff;
  --nb-card: #ffffff;
  --nb-text: #0f172a;
  --nb-muted: #64748b;
  --nb-primary: #2563eb;
  --nb-primary-hover: #1d4ed8;
  --nb-primary-soft: #eff6ff;
}




.nodebuy-preset-fresh-green {
  --nb-bg: #f7fdf9;
  --nb-surface: #ffffff;
  --nb-card: #ffffff;
  --nb-text: #102018;
  --nb-muted: #5f7468;
  --nb-primary: #16a34a;
  --nb-primary-hover: #15803d;
  --nb-primary-soft: #ecfdf5;
}




.nodebuy-preset-warm-orange {
  --nb-bg: #fffaf5;
  --nb-surface: #ffffff;
  --nb-card: #ffffff;
  --nb-text: #1f1712;
  --nb-muted: #7c6b5e;
  --nb-primary: #f97316;
  --nb-primary-hover: #ea580c;
  --nb-primary-soft: #fff7ed;
}




* {
  box-sizing: border-box;
}

body.nodebuy-theme {
  margin: 0;
  background: var(--nb-bg);
  color: var(--nb-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.nb-container {
  width: min(100% - 32px, var(--nb-container));
  margin-inline: auto;
}

.nb-main {
  min-height: 60vh;
}

.nb-section {
  padding: 56px 0;
}

.nb-center {
  text-align: center;
}




.nb-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--nb-surface);
  border-bottom: 1px solid var(--nb-border);
}

.nb-header__inner {
  display: grid;
  grid-template-columns: max-content minmax(120px, 1fr) max-content;
  align-items: center;
  gap: 18px;
  min-height: 60px;
}

.nb-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
}

.nb-logo__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: var(--nb-radius-sm);
  background: var(--nb-primary);
  color: #fff;
}

.nb-logo__text {
  overflow: hidden;
  max-width: 180px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nb-logo__image {
  width: auto;
  max-width: 168px;
  max-height: 38px;
  object-fit: contain;
}

.nb-header__mobile-logo {
  min-width: 0;
}

.nb-nav__list,
.nb-footer__menu {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nb-nav a {
  color: var(--nb-muted);
  font-size: 14px;
}

.nb-nav a:hover {
  color: var(--nb-primary);
}

.nb-header-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.nb-header i,
.nb-mobile-tabbar i,
.nb-product-card__cart i,
.nb-product-buybar__cart i,
.nb-account-menu__icon i {
  font-size: 1.15em;
  line-height: 1;
}

.nb-header-meta__icon,
.nb-header-meta__user {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: var(--nb-surface);
  color: var(--nb-text);
  font-size: 13px;
}

.nb-header-meta__icon {
  width: 40px;
  height: 40px;
  font-size: 15px;
}

.nb-header-meta__user {
  min-width: 58px;
  gap: 6px;
  padding: 0 12px;
}

.nb-header-search-form {
  display: flex;
  gap: 8px;
  padding: 12px 0;
}

.nb-header-search-form--inline {
  position: relative;
  align-items: center;
  width: 210px;
  height: 34px;
  padding: 0 6px 0 10px;
  overflow: hidden;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: #f5f7fa;
  transition: width 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.nb-header-search-form--inline:focus-within {
  width: 300px;
  border-color: var(--nb-primary);
  background: var(--nb-surface);
}

.nb-header-search-form--inline .nb-header-search__icon {
  flex: 0 0 auto;
  color: var(--nb-primary);
}

.nb-header-search-form--inline input[type="search"] {
  height: 32px;
  padding: 0 4px;
  border: 0;
  background: transparent;
}

.nb-header-search-form--inline button[type="submit"] {
  flex: 0 0 28px;
  width: 28px;
  min-width: 28px;
  max-width: 28px;
  height: 28px;
  box-sizing: border-box;
  padding: 0;
  border-radius: var(--nb-radius-sm);
}

.nb-header-search-form--inline button[type="submit"] i {
  font-size: 18px;
  line-height: 1;
}

.nb-header-search-form input,
.nb-product-cats__search input {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 11px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: #f5f7fa;
  color: var(--nb-text);
  outline: none;
}

.nb-header-search-form input:focus,
.nb-product-cats__search input:focus {
  border-color: var(--nb-primary);
  background: var(--nb-surface);
}

.nb-header-search-form button,
.nb-product-cats__search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--nb-primary);
  border-radius: var(--nb-radius-sm);
  background: var(--nb-primary);
  color: #fff;
  cursor: pointer;
}

.nb-header__toggle {
  display: none;
}

.nb-icon-btn {
  border: 0;
  background: transparent;
}

.nb-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}

.nb-mobile-drawer__overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0);
  transition: background 0.2s ease;
}

.nb-mobile-drawer__panel {
  position: relative;
  width: min(82vw, 320px);
  height: 100%;
  padding: 18px;
  overflow-y: auto;
  transform: translateX(-100%);
  border-right: 1px solid var(--nb-border);
  background: var(--nb-surface);
  box-shadow: var(--nb-shadow);
  transition: transform 0.22s ease;
}

.nb-mobile-drawer.is-open {
  pointer-events: auto;
}

.nb-mobile-drawer.is-open .nb-mobile-drawer__overlay {
  background: rgba(15, 23, 42, 0.38);
}

.nb-mobile-drawer.is-open .nb-mobile-drawer__panel {
  transform: translateX(0);
}

.nb-mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.nb-mobile-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--nb-radius-sm);
  background: #f5f7fa;
  color: var(--nb-text);
}

.nb-mobile-drawer__search {
  padding: 0;
  margin-bottom: 14px;
}

.nb-mobile-drawer__list {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nb-mobile-drawer__list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  border-radius: var(--nb-radius-sm);
  color: var(--nb-text);
  font-size: 14px;
}

.nb-mobile-drawer__list a:hover {
  background: #f5f7fa;
  color: var(--nb-primary);
}

body.is-drawer-open {
  overflow: hidden;
}

.nb-icon-btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  background: var(--nb-text);
}

.nb-shop-shell {
  padding: 24px 0 44px;
}

.nb-site-notice {
  position: relative;
  z-index: 70;
  border-bottom: 1px solid color-mix(in srgb, var(--nb-site-notice-bg, #111827) 82%, #fff);
  background: var(--nb-site-notice-bg, #111827);
  color: var(--nb-site-notice-color, #f8fafc);
}

.nb-site-notice .nb-container {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
}

.nb-site-notice i {
  flex: 0 0 auto;
}

.nb-site-notice__viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.nb-site-notice__track {
  display: flex;
  gap: 34px;
  width: max-content;
  white-space: nowrap;
  color: inherit;
  transform: translateX(0);
}

.nb-site-notice--scrolling .nb-site-notice__track.is-ready {
  animation: nbNoticeMarquee 26s linear infinite;
}

.nb-site-notice--scrolling .nb-site-notice__track:hover {
  animation-play-state: paused;
}

.nb-site-notice__stack {
  position: relative;
  height: 22px;
  overflow: hidden;
  white-space: nowrap;
}

.nb-site-notice--horizontal .nb-site-notice__item {
  flex: 0 0 auto;
  color: inherit;
}

.nb-site-notice--vertical .nb-site-notice__viewport {
  height: 22px;
}

.nb-site-notice__stack .nb-site-notice__item {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  text-overflow: ellipsis;
  transform: translateY(100%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nb-site-notice__stack .nb-site-notice__item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.nb-site-notice__stack.nb-site-notice__stack--next .nb-site-notice__item.is-active {
  animation: nbNoticeVertical 0.45s ease both;
}

@keyframes nbNoticeMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes nbNoticeVertical {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nb-site-notice__track,
  .nb-site-notice__stack.nb-site-notice__stack--next .nb-site-notice__item.is-active {
    animation: none;
  }
}

@media (max-width: 767px) {
  .nb-site-notice .nb-container {
    min-height: 36px;
    font-size: 12px;
  }

  .nb-site-notice__viewport {
    display: block;
  }

  .nb-site-notice__track {
    gap: 24px;
    animation-duration: 20s;
  }
}

.nb-shop-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.nb-shop-head--hero {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: #111827;
}

.nb-shop-head--hero::before,
.nb-shop-head--hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.nb-shop-head--hero::before {
  background-image: var(--nb-shop-head-image);
  background-position: center;
  background-size: cover;
}

.nb-shop-head--hero::after {
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.78), rgba(17, 24, 39, 0.18));
}

.nb-shop-head--hero > * {
  position: relative;
  z-index: 1;
}

.nb-shop-head--hero h1,
.nb-shop-head--hero .nb-shop-head__description {
  color: var(--nb-text);
}

.nb-shop-head h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
}

.nb-shop-head__description {
  margin: 6px 0 0;
  display: inline-block;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: #fff;
  color: var(--nb-muted);
  font-size: 13px;
}

.nb-shop-head__description > * {
  margin: 0;
}

.nb-shop-head__description > * + * {
  margin-top: 6px;
}

.nb-shop-head__description ul {
  padding-left: 18px;
}

.nb-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
  gap: 28px;
  align-items: center;
  min-height: 250px;
  margin-bottom: 18px;
  overflow: hidden;
  padding: 34px 38px;
  border: 1px solid #dbeafe;
  border-radius: 22px;
  background:
    linear-gradient(110deg, rgba(239, 246, 255, 0.94), rgba(255, 255, 255, 0.84) 48%, rgba(219, 234, 254, 0.9)),
    var(--nb-hero-image);
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.nb-hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(59, 130, 246, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.36));
  content: "";
}

.nb-hero__content,
.nb-hero__visual {
  position: relative;
  z-index: 1;
}

.nb-hero__content {
  display: grid;
  gap: 16px;
  max-width: 620px;
}

.nb-hero__content h1 {
  margin: 0;
  color: #0f172a;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.18;
}

.nb-hero__content p {
  max-width: 520px;
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
}

.nb-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nb-hero__tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
}

.nb-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #e60012);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(230, 0, 18, 0.18);
}

.nb-hero__button:hover {
  color: #fff;
  background: linear-gradient(135deg, #dc2626, #be123c);
}

.nb-hero__visual {
  display: flex;
  justify-content: flex-end;
}

.nb-hero__visual img {
  width: min(100%, 360px);
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(37, 99, 235, 0.18));
}

.nb-product-cats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  margin-bottom: 14px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: var(--nb-surface);
}

.nb-product-cats__links {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
}

.nb-product-cats a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--nb-radius-sm);
  color: var(--nb-muted);
  font-size: 13px;
  white-space: nowrap;
}

.nb-product-cats a:hover,
.nb-product-cats a.is-active {
  border-color: var(--nb-primary);
  background: var(--nb-primary-soft);
  color: var(--nb-primary);
}

.nb-product-cats__search {
  display: flex;
  flex: 0 0 min(100%, 324px);
  gap: 8px;
}

.nb-product-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.nb-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: var(--nb-card);
}

.nodebuy-card-shadow-none {
  --nb-shadow: none;
  --nb-shadow-soft: none;
}

.nb-product-card:hover {
  border-color: color-mix(in srgb, var(--nb-primary) 35%, var(--nb-border));
  box-shadow: var(--nb-shadow-soft);
}

.nb-product-card__media {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1 / 1;
  place-items: center;
  overflow: hidden;
  background: #f5f7fa;
}

.nb-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nb-product-card__placeholder,
.nb-product-single__placeholder {
  color: var(--nb-muted);
  font-weight: 700;
}

.nb-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}

.nb-product-card__title {
  min-height: 42px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.nb-product-card__title a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.nb-product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.nb-product-card__pricebox {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  min-width: 0;
  gap: 2px 6px;
}

.nb-product-card__price,
.nb-product-single__price {
  color: #dc2626;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.nb-product-card__regular-price,
.nb-product-single__regular-price {
  color: var(--nb-muted);
  font-size: 12px;
}

.nb-product-card__meta {
  display: flex;
  flex: 0 0 100%;
  min-width: 0;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.nb-product-card__stock,
.nb-product-card__sales {
  display: inline-flex;
  align-items: center;
  color: var(--nb-muted);
  font-size: 12px;
  line-height: 1.35;
}

.nb-product-card__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px dashed color-mix(in srgb, var(--nb-primary) 45%, var(--nb-border));
  border-radius: var(--nb-radius-sm);
  background: var(--nb-surface);
  color: var(--nb-primary);
  cursor: pointer;
}

.nb-product-card__cart.is-added {
  border-color: #86efac;
  background: #ecfdf5;
  color: #15803d;
}

.nodebuy-product-card-zibll .nb-product-card--zibll {
  position: relative;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.05);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.nodebuy-product-card-zibll .nb-product-card--zibll:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--nb-primary) 28%, #edf0f5);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.nodebuy-product-card-zibll .nb-product-card--zibll .item-thumbnail {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #f8fafc, #eef4ff);
}

.nodebuy-product-card-zibll .nb-product-card--zibll .item-thumbnail img {
  transition: transform .24s ease;
}

.nodebuy-product-card-zibll .nb-product-card--zibll:hover .item-thumbnail img {
  transform: scale(1.035);
}

.nodebuy-product-card-zibll .nb-product-card--zibll .img-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.nodebuy-product-card-zibll .nb-product-card--zibll .item-body.product-item-body {
  gap: 8px;
  padding: 12px;
}

.nodebuy-product-card-zibll .nb-product-card--zibll .item-heading {
  min-height: 40px;
  font-size: 15px;
  font-weight: 700;
}

.nodebuy-product-card-zibll .nb-product-card--zibll .item-price {
  align-items: center;
  gap: 5px 8px;
}

.nodebuy-product-card-zibll .nb-product-card--zibll .show-price-box.c-red {
  color: #e60012;
  font-size: 20px;
  font-weight: 800;
}

.nodebuy-product-card-zibll .nb-product-card--zibll .em09.muted-2-color {
  color: #94a3b8;
  font-size: 12px;
}

.nodebuy-product-card-zibll .nb-product-card--zibll .nb-product-card__cart {
  border-style: solid;
  border-color: #dbeafe;
  background: #eff6ff;
  color: var(--nb-primary);
}

.nb-buy-panel__cart.is-added,
.nb-product-buybar__add.is-added {
  animation: nb-cart-button-added 0.52s ease;
}

@keyframes nb-cart-button-added {
  50% {
    transform: translateY(-1px) scale(1.04);
  }
}

.nb-product-single {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 16px;
  padding: 24px 0 42px;
}

.nb-product-single__media,
.nb-product-single__content,
.nb-product-single__detail {
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: var(--nb-card);
}

.nb-product-single__media {
  overflow: hidden;
  align-self: start;
}

.nb-product-single__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.nb-product-single__placeholder {
  display: grid;
  min-height: 360px;
  place-items: center;
  background: #f5f7fa;
}

.nb-product-single__content {
  align-self: start;
  padding: 18px;
}

.nb-product-single__content h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
}

.nb-product-single__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.nb-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.nb-product-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: #f5f7fa;
  color: var(--nb-muted);
  font-size: 12px;
  line-height: 1;
}

.nb-product-meta i {
  color: var(--nb-primary);
  font-size: 15px;
}

.nb-product-notice,
.nb-product-after-sale {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: #f8fafc;
}

.nb-product-notice strong,
.nb-product-after-sale h3 {
  display: block;
  margin: 0 0 6px;
  color: var(--nb-text);
  font-size: 14px;
}

.nb-product-notice p,
.nb-product-after-sale p {
  margin: 0;
  color: var(--nb-muted);
  font-size: 13px;
  line-height: 1.7;
}

.nb-buy-panel {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.nb-buy-panel__field {
  display: grid;
  gap: 6px;
  color: var(--nb-muted);
  font-size: 12px;
}

.nb-buy-panel__field input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: #f5f7fa;
  color: var(--nb-text);
  outline: none;
}

.nb-buy-panel__field input:focus {
  border-color: var(--nb-primary);
  background: var(--nb-surface);
}

.nb-buy-panel__top-row,
.nb-buy-panel__field--coupon,
.nb-buy-panel > .nb-payment-methods,
.nb-buy-panel__message,
.nb-buy-panel__actions {
  grid-column: 1 / -1;
}

.nb-buy-panel__top-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
}

.nb-payment-methods {
  display: grid;
  gap: 8px;
}

.nb-payment-methods__title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nb-muted);
  font-size: 12px;
  font-weight: 700;
}

.nb-payment-methods__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.nb-payment-methods--single .nb-payment-methods__options {
  grid-template-columns: minmax(0, 1fr);
}

.nb-payment-methods__option {
  position: relative;
  display: block;
  cursor: pointer;
}

.nb-payment-methods__option input {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nb-payment-methods__option > span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 8px;
  align-items: center;
  min-height: 48px;
  padding: 9px 11px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: #f8fafc;
  color: var(--nb-text);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.nb-payment-methods__option > span > i {
  grid-row: span 2;
  font-size: 22px;
  line-height: 1;
}

.nb-payment-methods__option strong {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nb-payment-methods__option small {
  overflow: hidden;
  color: var(--nb-muted);
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nb-payment-methods__option input:checked + span {
  border-color: var(--nb-primary);
  background: var(--nb-primary-soft);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--nb-primary) 12%, transparent);
}

.nb-payment-methods__option--alipay input:checked + span {
  border-color: #1677ff;
  background: #eff6ff;
}

.nb-payment-methods__option--wechat input:checked + span {
  border-color: #16a34a;
  background: #f0fdf4;
}

.nb-payment-methods--empty p {
  margin: 0;
  color: #b91c1c;
  font-size: 12px;
}

.nb-buy-panel__message {
  padding: 9px 10px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: var(--nb-primary-soft);
  color: var(--nb-primary);
  font-size: 12px;
}

.nb-buy-panel__message.is-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.nb-buy-panel__cart,
.nb-buy-panel__buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--nb-radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.nb-buy-panel__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.nb-buy-panel__cart {
  border: 1px solid #fb923c;
  background: #fff7ed;
  color: #ea580c;
}

.nb-buy-panel__buy {
  border: 1px solid #ef4444;
  background: linear-gradient(90deg, #ff6b6b, #ef4444);
  color: #fff;
}

.nb-buy-panel__cart:disabled,
.nb-buy-panel__buy:disabled {
  cursor: wait;
  opacity: 0.72;
}

.nb-product-single--classic {
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  padding-top: 22px;
}

.nb-product-single--classic .nb-product-single__media,
.nb-product-single--classic .nb-product-single__content {
  border-color: #edf0f5;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}

.nb-product-single--classic .nb-product-single__content {
  padding: 24px;
}

.nb-product-single--classic .nb-product-single__content h1 {
  color: #0f172a;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.28;
}

.nb-product-single--classic .nb-product-single__summary {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.nb-product-single--classic .nb-product-single__price-row {
  align-items: center;
  gap: 10px;
}

.nb-product-single--classic .nb-product-single__price {
  color: #e60012;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.nb-product-single--classic .nb-product-single__regular-price {
  color: #94a3b8;
  font-size: 16px;
}

.nb-product-single--classic .nb-product-single__discount {
  min-height: 26px;
  padding: 0 11px;
  background: #fff1f2;
  color: #dc2626;
  font-size: 13px;
}

.nb-product-single--classic .nb-product-meta {
  margin-top: 0;
}

.nb-product-single--classic .nb-product-meta span {
  min-height: 30px;
  padding: 0 10px;
  border-color: #dcfce7;
  border-radius: 999px;
  background: #f0fdf4;
  color: #15803d;
  font-size: 13px;
  font-weight: 700;
}

.nb-product-single--classic .nb-product-meta i {
  color: #16a34a;
  font-size: 15px;
}

.nb-product-single--classic .nb-product-notice {
  margin-top: 12px;
}

.nb-product-single--classic .nb-buy-panel {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.nb-product-single--classic .nb-buy-panel__top-row {
  grid-template-columns: minmax(130px, 160px) minmax(0, 1fr);
  gap: 14px;
}

.nb-product-single--classic .nb-buy-panel__field {
  gap: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.nb-product-single--classic .nb-buy-panel__field--quantity {
  max-width: 160px;
}

.nb-product-single--classic .nb-quantity-stepper,
.nb-product-single--classic .nb-buy-panel__control {
  min-height: 44px;
  border-radius: 12px;
}

.nb-product-single--classic .nb-payment-methods {
  gap: 9px;
}

.nb-product-single--classic .nb-payment-methods__title {
  color: #0f172a;
  font-size: 14px;
}

.nb-product-single--classic .nb-payment-methods__option .nb-payment-methods__card {
  grid-template-columns: 46px minmax(0, 1fr) 22px;
  gap: 12px;
  min-height: 68px;
  padding: 12px 14px;
  border-radius: 14px;
}

.nb-product-single--classic .nb-payment-methods__option:hover .nb-payment-methods__card {
  border-color: #ef4444;
  background: #fff7f7;
}

.nb-product-single--classic .nb-payment-methods__brand {
  width: 42px;
  height: 42px;
}

.nb-product-single--classic .nb-payment-methods__brand i {
  font-size: 32px;
}

.nb-product-single--classic .nb-buy-panel__actions {
  gap: 14px;
}

.nb-product-single--classic .nb-buy-panel__cart,
.nb-product-single--classic .nb-buy-panel__buy {
  min-height: 52px;
  border-radius: 12px;
  font-size: 16px;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.nb-product-single--classic .nb-buy-panel__cart {
  border-color: #ef4444;
  background: #fff;
  color: #e60012;
}

.nb-product-single--classic .nb-buy-panel__cart:hover {
  background: #fff1f2;
  transform: translateY(-1px);
}

.nb-product-single--classic .nb-buy-panel__buy {
  border-color: #e60012;
  background: linear-gradient(135deg, #f0142f, #e60012);
  color: #fff;
  box-shadow: 0 12px 24px rgba(230, 0, 18, 0.18);
}

.nb-product-single--classic .nb-buy-panel__buy:hover {
  background: linear-gradient(135deg, #dc081d, #c80010);
  transform: translateY(-1px);
}

.nb-product-single--classic .nb-service-guarantee {
  gap: 10px;
  padding: 12px;
}

.nb-product-single__detail {
  grid-column: 1 / -1;
  padding: 18px;
}

.nb-product-single__detail h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.nb-product-single--taobao {
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: 38px;
  align-items: start;
  padding-top: 18px;
}

.nb-product-single--taobao .nb-product-single__media,
.nb-product-single--taobao .nb-product-single__content {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.nb-product-single--taobao .nb-product-single__media {
  overflow: hidden;
  background: #f3f5f9;
  border-radius: 6px;
}

.nb-product-single--taobao .nb-product-single__media img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.nb-product-single--taobao .nb-product-single__content {
  padding: 0;
}

.nb-product-single--taobao .nb-product-single__content h1 {
  color: #111827;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.nb-product-single--taobao .nb-product-single__price-row {
  align-items: baseline;
  gap: 12px;
  min-height: 72px;
  margin-top: 8px;
  padding: 14px 20px;
  border-radius: 4px;
  background: #fffaf0;
}

.nb-product-single--taobao .nb-product-single__price {
  color: #ef3333;
  font-size: 38px;
  font-weight: 400;
}

.nb-product-single--taobao .nb-product-single__regular-price {
  color: #8f98a3;
  font-size: 18px;
}

.nb-product-single--taobao .nb-product-meta {
  margin-top: 18px;
  gap: 10px;
}

.nb-product-single--taobao .nb-product-meta span {
  border-color: #e8f7ed;
  background: #f3fbf5;
  color: #22a44d;
  font-size: 15px;
}

.nb-product-single--taobao .nb-product-single__commerce {
  margin-top: 24px;
}

.nb-product-single--taobao .nb-buy-panel {
  grid-template-columns: 128px minmax(0, 1fr);
  row-gap: 14px;
  column-gap: 12px;
}

.nb-product-single--taobao .nb-buy-panel__actions {
  grid-template-columns: 132px 132px;
  justify-content: start;
  align-items: stretch;
  gap: 20px;
}

.nb-product-single--taobao .nb-buy-panel__cart,
.nb-product-single--taobao .nb-buy-panel__buy {
  min-height: 52px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
}

.nb-product-single--taobao .nb-buy-panel__cart {
  border-color: #e60012;
  background: #e60012;
  color: #fff;
}

.nb-product-single--taobao .nb-buy-panel__buy {
  border-color: #ff2f2f;
  background: #fff;
  color: #ff2f2f;
}

.nb-product-single--taobao .nb-product-single__content {
  padding: 24px;
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.nb-product-single--taobao .nb-product-single__price-row {
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 18px 22px;
  border-radius: 16px;
  background: linear-gradient(105deg, #fff1f2 0%, #fff7ed 54%, #fff 100%);
}

.nb-product-single__discount {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid #fecaca;
  border-radius: 999px;
  background: #fff1f2;
  color: #dc2626;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.nb-product-single--taobao .nb-product-meta span {
  min-height: 34px;
  padding: 0 12px;
  border-color: #dcfce7;
  border-radius: 999px;
  background: #f0fdf4;
  color: #16a34a;
  font-size: 14px;
  font-weight: 700;
}

.nb-product-single--taobao .nb-product-meta i {
  color: #15803d;
}

.nb-product-single--taobao .nb-buy-panel {
  grid-template-columns: minmax(132px, 0.34fr) minmax(0, 1fr);
  row-gap: 16px;
  column-gap: 16px;
  margin-top: 22px;
}

.nb-product-single--taobao .nb-buy-panel__top-row {
  grid-template-columns: minmax(132px, 0.34fr) minmax(0, 1fr);
  gap: 16px;
}

.nb-product-single--taobao .nb-buy-panel__field {
  gap: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.nb-quantity-stepper,
.nb-buy-panel__control {
  display: grid;
  align-items: center;
  min-height: 46px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.nb-quantity-stepper {
  grid-template-columns: 44px minmax(42px, 1fr) 44px;
  overflow: hidden;
}

.nb-quantity-stepper:focus-within,
.nb-buy-panel__control:focus-within {
  border-color: var(--nb-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--nb-primary) 13%, transparent);
}

.nb-quantity-stepper button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f8fafc;
  color: #0f172a;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

.nb-quantity-stepper button:hover {
  background: #fff1f2;
  color: #dc2626;
}

.nb-quantity-stepper input,
.nb-buy-panel__control input {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--nb-text);
  outline: none;
}

.nb-quantity-stepper input {
  padding: 0 8px;
  text-align: center;
  font-weight: 800;
}

.nb-buy-panel__control {
  grid-template-columns: 42px minmax(0, 1fr);
}

.nb-buy-panel__control i {
  justify-self: center;
  color: #94a3b8;
  font-size: 18px;
}

.nb-buy-panel__control input {
  padding: 0 14px 0 0;
}

.nb-product-single--taobao .nb-buy-panel__field input {
  background: transparent;
}

.nb-product-single--taobao .nb-buy-panel__actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.nb-product-single--taobao .nb-buy-panel__cart,
.nb-product-single--taobao .nb-buy-panel__buy {
  min-height: 54px;
  border-radius: 12px;
  font-size: 16px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.nb-product-single--taobao .nb-buy-panel__cart {
  border-color: #e60012;
  background: linear-gradient(135deg, #f0142f, #e60012);
  color: #fff;
  box-shadow: 0 12px 24px rgba(230, 0, 18, 0.2);
}

.nb-product-single--taobao .nb-buy-panel__cart:hover {
  background: linear-gradient(135deg, #dc081d, #c80010);
  transform: translateY(-1px);
}

.nb-product-single--taobao .nb-buy-panel__buy {
  border-color: #ef4444;
  background: #fff;
  color: #ef4444;
}

.nb-product-single--taobao .nb-buy-panel__buy:hover {
  background: #fff1f2;
  transform: translateY(-1px);
}

.nb-payment-methods__option .nb-payment-methods__card {
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  gap: 12px;
  min-height: 70px;
  padding: 13px 14px;
  border-radius: 14px;
  background: #fff;
}

.nb-payment-methods__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #f8fafc;
}

.nb-payment-methods__brand i {
  font-size: 34px;
  line-height: 1;
}

.nb-payment-methods__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.nb-payment-methods__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  color: transparent;
}

.nb-payment-methods__check i {
  font-size: 14px;
}

.nb-payment-methods__option--alipay .nb-payment-methods__brand {
  background: #eff6ff;
  color: #1677ff;
}

.nb-payment-methods__option--wechat .nb-payment-methods__brand {
  background: #ecfdf5;
  color: #07c160;
}

.nb-payment-methods__option input:checked + .nb-payment-methods__card {
  border-color: #ef4444;
  background: linear-gradient(135deg, #fff7f7, #fff);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.08), 0 12px 28px rgba(15, 23, 42, 0.06);
}

.nb-payment-methods__option input:checked + .nb-payment-methods__card .nb-payment-methods__check {
  border-color: #e60012;
  background: #e60012;
  color: #fff;
}

.nb-service-guarantee {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7f7, #f8fafc);
}

.nb-service-guarantee__item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.nb-service-guarantee__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #fff1f2;
  color: #e60012;
  font-size: 19px;
}

.nb-service-guarantee__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.nb-service-guarantee__body strong {
  color: #0f172a;
  font-size: 13px;
  line-height: 1.2;
}

.nb-service-guarantee__body small {
  overflow: hidden;
  color: #64748b;
  font-size: 11px;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nb-header {
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.nb-header__inner,
.nb-header-meta {
  align-items: center;
}

.nb-header-search-form--inline {
  height: 38px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.nb-header-search-form--inline:focus-within {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08), 0 0 0 3px color-mix(in srgb, var(--nb-primary) 10%, transparent);
}

.nb-header-meta__icon.has-items::after {
  top: -5px;
  right: -5px;
}

.nb-product-single--taobao .nb-product-single__detail {
  margin-top: 12px;
}

.nb-content {
  color: var(--nb-text);
}

.nb-empty {
  padding: 48px 24px;
  border: 1px dashed var(--nb-border-strong);
  border-radius: var(--nb-radius);
  background: var(--nb-card);
  text-align: center;
}

.nb-empty__icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--nb-primary-soft);
  color: var(--nb-primary);
  font-size: 24px;
  line-height: 46px;
}

.nb-empty h2 {
  margin: 0 0 8px;
}

.nb-empty p,
.nb-footer p {
  margin: 0;
  color: var(--nb-muted);
}

.nb-checkout-contact {
  display: grid;
  gap: 12px;
  max-width: 520px;
  margin: 18px auto 0;
  padding: 18px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: var(--nb-card);
}

.nb-checkout-contact h2,
.nb-checkout-contact p {
  margin: 0;
}

.nb-checkout-contact p {
  color: var(--nb-muted);
  font-size: 13px;
  line-height: 1.7;
}

.nb-order-query {
  padding: 38px 0 56px;
}

.nb-order-query__hero {
  max-width: 760px;
  margin-bottom: 18px;
}

.nb-order-query__hero span {
  color: var(--nb-primary);
  font-size: 13px;
  font-weight: 700;
}

.nb-order-query__hero h1 {
  margin: 6px 0 8px;
  font-size: 28px;
  line-height: 1.25;
}

.nb-order-query__hero p {
  margin: 0;
  color: var(--nb-muted);
  font-size: 14px;
}

.nb-order-query__search,
.nb-order-query__result {
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: var(--nb-card);
  box-shadow: var(--nb-shadow-soft);
}

.nb-order-query__search {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.nb-order-query__search label {
  color: var(--nb-text);
  font-size: 14px;
  font-weight: 700;
}

.nb-order-query__search div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 10px;
}

.nb-order-query__search input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: #f5f7fa;
  color: var(--nb-text);
  outline: none;
}

.nb-order-query__search input:focus {
  border-color: var(--nb-primary);
  background: var(--nb-surface);
}

.nb-order-query__search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  border: 1px solid var(--nb-primary);
  border-radius: var(--nb-radius-sm);
  background: var(--nb-primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.nb-order-query__result {
  margin-top: 16px;
  padding: 18px;
}

.nb-order-query__result-head,
.nb-order-query__delivery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nb-order-query__result-head span {
  color: var(--nb-muted);
  font-size: 12px;
}

.nb-order-query__result-head h2,
.nb-order-query__delivery h3 {
  margin: 0;
  font-size: 18px;
}

.nb-order-query__result-head > strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: var(--nb-radius-sm);
  background: #ecfdf5;
  color: #15803d;
  font-size: 13px;
}

.nb-order-query__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.nb-order-query__summary div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: #f8fafc;
}

.nb-order-query__summary span {
  color: var(--nb-muted);
  font-size: 12px;
}

.nb-order-query__summary strong {
  color: var(--nb-text);
  font-size: 14px;
}

.nb-order-query__delivery {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--nb-border);
}

.nb-order-query__delivery .nb-copy-card-list {
  margin-top: 12px;
}

.nb-order-query__empty {
  margin: 12px 0 0;
  color: var(--nb-muted);
}

.nb-order-query__result--empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 34px 18px;
  color: var(--nb-muted);
  text-align: center;
}

.nb-order-query__result--empty i {
  color: var(--nb-primary);
  font-size: 36px;
}

.nb-order-query__result--empty h2,
.nb-order-query__result--empty p {
  margin: 0;
}

.nb-pagination {
  margin-top: 24px;
}

.nb-footer {
  padding: 28px 0;
  border-top: 1px solid var(--nb-border);
  background: var(--nb-surface);
}

.nb-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nb-mobile-tabbar,
.nb-mobile-product-header,
.nb-product-buybar {
  display: none;
}

.nb-auth-shell {
  display: grid;
  min-height: calc(100vh - 120px);
  padding: 28px 0;
  place-items: center;
}

.nb-auth-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.1fr);
  width: min(90vw, 720px);
  overflow: hidden;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: var(--nb-surface);
}

.nb-auth-card__media {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  min-height: 430px;
  padding: 20px;
  border-right: 1px solid var(--nb-border);
  background: #f5f7fa;
}

.nb-auth-card__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nb-auth-card__media p {
  max-width: 260px;
  margin: 0;
  color: var(--nb-muted);
  font-size: 13px;
}

.nb-auth-card__form {
  padding: 24px;
}

.nb-auth-card__form h1 {
  margin: 0 0 18px;
  font-size: 22px;
}

.nb-auth-card__form form,
.nb-account-settings {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nb-auth-card__form label,
.nb-account-settings label {
  display: grid;
  gap: 6px;
  color: var(--nb-muted);
  font-size: 13px;
}

.nb-auth-card__form input,
.nb-account-settings input,
.nb-account-coupon-form input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: #f5f7fa;
  color: var(--nb-text);
  outline: none;
}

.nb-auth-card__form input:focus,
.nb-account-settings input:focus,
.nb-account-coupon-form input:focus {
  border-color: var(--nb-primary);
  background: var(--nb-surface);
}

.nb-auth-card__check {
  display: flex !important;
  align-items: center;
  grid-template-columns: none !important;
  gap: 8px !important;
}

.nb-auth-card__check input {
  width: 14px;
  height: 14px;
}

.nb-auth-card__form button,
.nb-account-settings button,
.nb-account-coupon-form button,
.nb-account-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--nb-primary);
  border-radius: var(--nb-radius-sm);
  background: var(--nb-primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.nb-auth-card__links {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  color: var(--nb-muted);
  font-size: 13px;
}

.nb-auth-card__links a,
.nb-account-section-head a {
  color: var(--nb-primary);
}

.nb-auth-card__meta {
  justify-content: flex-end;
  margin-top: 8px;
}

.nb-auth-notice,
.nb-account-notice {
  padding: 10px 12px;
  margin-bottom: 14px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: var(--nb-primary-soft);
  color: var(--nb-primary);
  font-size: 13px;
}

.nb-header-auth {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nb-header-auth__login,
.nb-header-auth__register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: var(--nb-radius-sm);
  font-size: 13px;
}

.nb-header-auth__login {
  border: 1px solid var(--nb-border);
  background: var(--nb-surface);
}

.nb-header-auth__register {
  border: 1px solid var(--nb-primary);
  background: var(--nb-primary);
  color: #fff;
}

.nb-header-user {
  position: relative;
  z-index: 70;
}

.nb-header-user__menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 80;
  display: none;
  width: 180px;
  overflow: visible;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: var(--nb-surface);
  box-shadow: var(--nb-shadow);
}

.nb-header-user__menu::before {
  position: absolute;
  top: -8px;
  right: 0;
  left: 0;
  height: 8px;
  content: "";
}

.nb-header-user:hover .nb-header-user__menu,
.nb-header-user:focus-within .nb-header-user__menu {
  display: block;
}

.nb-header-user__menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--nb-border);
  color: var(--nb-text);
  font-size: 13px;
}

.nb-header-user__menu a:last-child {
  border-bottom: 0;
}

.nb-header-user__menu a:hover {
  background: #f5f7fa;
  color: var(--nb-primary);
}

.nb-account-shell {
  width: min(100% - 32px, var(--nb-container));
  min-height: calc(100vh - 120px);
  padding: 18px;
  margin: 18px auto;
  overflow: hidden;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: var(--nb-surface);
}

.nb-account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--nb-border);
}

.nb-account-head__user {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.nb-account-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--nb-primary);
  color: #fff;
  font-weight: 800;
}

.nb-account-head h1 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.nb-account-head h1 span {
  margin-left: 6px;
  color: var(--nb-muted);
  font-size: 12px;
  font-weight: 400;
}

.nb-account-badges {
  display: flex;
  gap: 6px;
  margin-top: 5px;
}

.nb-account-badges span {
  display: inline-flex;
  height: 20px;
  align-items: center;
  padding: 0 7px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: #f5f7fa;
  color: var(--nb-muted);
  font-size: 11px;
}

.nb-account-head__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  color: var(--nb-primary);
  font-size: 13px;
}

.nb-account-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
}

.nb-account-nav {
  border-right: 1px solid var(--nb-border);
  padding-right: 18px;
}

.nb-account-menu {
  display: grid;
  gap: 6px;
}

.nb-account-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 10px;
  border-radius: var(--nb-radius-sm);
  color: var(--nb-text);
  font-size: 14px;
}

.nb-account-menu a:hover,
.nb-account-menu a.is-active {
  background: #f5f7fa;
  color: var(--nb-primary);
}

.nb-account-menu__icon {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  color: var(--nb-primary);
}

.nb-account-content {
  min-width: 0;
}

.nb-account-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--nb-border);
}

.nb-account-section-head h2,
.nb-account-panel h3 {
  margin: 0;
  font-size: 16px;
}

.nb-account-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.nb-account-stats a {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: #f5f7fa;
}

.nb-account-stats strong {
  color: var(--nb-primary);
  font-size: 22px;
  line-height: 1;
}

.nb-account-stats span,
.nb-account-muted {
  color: var(--nb-muted);
  font-size: 12px;
}

.nb-account-panel {
  padding: 14px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: var(--nb-surface);
}

.nb-account-mini-list {
  display: grid;
  margin-top: 12px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  overflow: hidden;
}

.nb-account-mini-list a,
.nb-account-mini-list > span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--nb-border);
  font-size: 13px;
}

.nb-account-mini-list a:last-child,
.nb-account-mini-list > span:last-child {
  border-bottom: 0;
}

.nb-account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  margin-bottom: 12px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: #f5f7fa;
}

.nb-account-tabs__link {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: var(--nb-radius-sm);
  color: var(--nb-muted);
  font-size: 12px;
}

.nb-account-tabs__link:hover,
.nb-account-tabs__link.is-active {
  background: var(--nb-surface);
  color: var(--nb-primary);
}

.nb-account-tabs__count {
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--nb-primary) 10%, #fff);
  color: var(--nb-primary);
  font-size: 11px;
  font-style: normal;
  line-height: 1;
}

.nb-account-table {
  overflow: hidden;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  font-size: 12px;
}

.nb-account-table__head,
.nb-account-table__row {
  display: grid;
  grid-template-columns: 18% 28% 12% 12% 16% 14%;
}

.nb-account-table__head {
  background: #f5f7fa;
  font-weight: 700;
}

.nb-account-table__head span,
.nb-account-table__row span {
  min-width: 0;
  padding: 9px;
  overflow-wrap: anywhere;
  border-right: 1px solid var(--nb-border);
}

.nb-account-table__head span:last-child,
.nb-account-table__row span:last-child {
  border-right: 0;
}

.nb-account-table__row {
  border-top: 1px solid var(--nb-border);
}

.nb-account-status {
  color: var(--nb-primary);
}

.nb-account-action-message {
  padding: 9px 10px;
  margin: 0 0 12px;
  border: 1px solid color-mix(in srgb, var(--nb-primary) 24%, var(--nb-border));
  border-radius: var(--nb-radius-sm);
  background: color-mix(in srgb, var(--nb-primary) 7%, #fff);
  color: var(--nb-primary);
  font-size: 13px;
}

.nb-account-action-message.is-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #dc2626;
}

.nb-account-table__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nb-account-table__actions em {
  color: var(--nb-muted);
  font-style: normal;
}

.nb-account-table__row.is-cancelled {
  opacity: 0.7;
}

.nb-account-order-btn {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: var(--nb-surface);
  color: var(--nb-text);
  font-size: 12px;
  cursor: pointer;
}

.nb-account-order-btn--pay {
  border-color: var(--nb-primary);
  background: var(--nb-primary);
  color: #fff;
}

.nb-account-order-btn--cancel {
  color: #dc2626;
}

.nb-account-order-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.nb-account-card-list {
  display: grid;
  gap: 10px;
}

.nb-account-card-item {
  padding: 12px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: #f5f7fa;
}

.nb-account-card-item__meta,
.nb-account-card-item__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

.nb-account-card-item__meta strong {
  min-width: 0;
  color: var(--nb-text);
  overflow-wrap: anywhere;
}

.nb-account-card-item__meta span,
.nb-account-card-item__foot {
  color: var(--nb-muted);
}

.nb-account-card-code {
  max-height: 160px;
  padding: 10px;
  margin: 10px 0;
  overflow: auto;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: var(--nb-surface);
  color: var(--nb-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.nb-copy-card-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}

.nb-copy-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 10px 0 0;
}

.nb-copy-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.nb-copy-card__code {
  display: block;
  min-width: 0;
  max-height: 180px;
  padding: 10px;
  margin: 0;
  overflow: auto;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: var(--nb-surface);
  color: var(--nb-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.nb-copy-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 88px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--nb-primary);
  border-radius: var(--nb-radius-sm);
  background: var(--nb-primary-soft);
  color: var(--nb-primary);
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.nb-copy-card__button--all {
  min-width: 108px;
  min-height: 38px;
  background: var(--nb-primary);
  color: #fff;
}

.nb-copy-card__button.is-copied {
  border-color: #86efac;
  background: #ecfdf5;
  color: #15803d;
}

.nb-copy-card__button.is-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

@media (max-width: 640px) {
  .nb-copy-card-actions {
    justify-content: stretch;
  }

  .nb-copy-card {
    grid-template-columns: 1fr;
  }

  .nb-copy-card__button {
    width: 100%;
  }
}

.nb-account-empty {
  padding: 36px 16px;
  border: 1px dashed var(--nb-border);
  border-radius: var(--nb-radius);
  color: var(--nb-muted);
  text-align: center;
}

.nb-account-coupon-form {
  display: flex;
  gap: 8px;
}

.nb-account-coupon-list {
  display: grid;
  gap: 10px;
}

.nb-account-coupon-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: var(--nb-surface);
}

.nb-account-coupon-card strong,
.nb-account-coupon-card b {
  display: block;
  color: var(--nb-text);
}

.nb-account-coupon-card span,
.nb-account-coupon-meta {
  color: var(--nb-muted);
  font-size: 12px;
}

.nb-account-coupon-meta {
  display: grid;
  gap: 4px;
  text-align: right;
}

.nb-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.nb-account-cart {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
}

.nb-checkout-cart,
.nb-checkout-contact {
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  background: var(--nb-card);
}

.nb-checkout-cart {
  padding: 18px;
}

.nb-checkout .nb-checkout-contact {
  max-width: none;
  margin: 0;
  padding: 18px;
}

.nb-checkout-head,
.nb-checkout-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nb-checkout-head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--nb-border);
}

.nb-checkout-head h2,
.nb-checkout-contact h2 {
  margin: 0;
  font-size: 18px;
}

.nb-checkout-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: var(--nb-radius-sm);
  background: var(--nb-primary-soft);
  color: var(--nb-primary);
  font-weight: 700;
}

.nb-checkout-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.nb-checkout-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: #f5f7fa;
}

.nb-checkout-item__info {
  min-width: 0;
}

.nb-checkout-item__info strong,
.nb-checkout-item__info span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nb-checkout-item__info span {
  margin-top: 3px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 700;
}

.nb-checkout-item__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nb-checkout-item__actions input {
  width: 68px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: var(--nb-surface);
}

.nb-checkout-item__actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: var(--nb-surface);
  color: var(--nb-muted);
  cursor: pointer;
}

.nb-cart-empty {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 42px 12px;
  color: var(--nb-muted);
  text-align: center;
}

.nb-cart-empty[hidden] {
  display: none;
}

.nb-cart-empty i {
  color: var(--nb-primary);
  font-size: 34px;
  line-height: 1;
}

.nb-cart-empty strong {
  color: var(--nb-text);
}

.nb-checkout-note {
  margin: 14px 0 0;
  color: var(--nb-muted);
  font-size: 12px;
}

.nb-checkout-summary {
  padding: 12px 0;
  border-top: 1px solid var(--nb-border);
}

.nb-checkout-summary strong {
  color: #dc2626;
  font-size: 20px;
}

.nb-checkout-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--nb-primary);
  border-radius: var(--nb-radius-sm);
  background: var(--nb-primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.nb-checkout-pay:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.nb-checkout-title {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  text-align: left;
}

.nb-checkout-title__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  color: #e60012;
  font-size: 15px;
  font-weight: 700;
}

.nb-checkout-title__main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.nb-checkout-title h1 {
  margin: 0;
  color: #0f172a;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
}

.nb-checkout-title__safe {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 14px;
}

.nb-checkout {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 380px);
  grid-template-areas:
    "cart contact"
    "service contact";
  gap: 18px 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.nb-checkout-cart {
  grid-area: cart;
}

.nb-checkout-service {
  grid-area: service;
}

.nb-checkout-contact {
  grid-area: contact;
}

.nb-checkout-cart,
.nb-checkout .nb-checkout-contact,
.nb-checkout-service {
  border-color: #edf0f5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}

.nb-checkout-cart {
  padding: 22px;
}

.nb-checkout .nb-checkout-contact {
  position: sticky;
  top: 92px;
  padding: 24px;
}

.nb-checkout-head {
  padding-bottom: 16px;
  border-bottom-color: #e5e7eb;
}

.nb-checkout-head h2 {
  color: #0f172a;
  font-size: 20px;
  font-weight: 800;
}

.nb-checkout-head span {
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ffe4e6;
  color: #e60012;
  font-size: 14px;
}

.nb-checkout-list {
  gap: 0;
  margin-top: 0;
}

.nb-checkout-item {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px 0;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
  transition: background .2s ease;
}

.nb-checkout-item:hover {
  background: #fafbfc;
}

.nb-checkout-item__info {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.nb-checkout-item__thumb {
  width: 82px;
  height: 82px;
  overflow: hidden;
  border-radius: 14px;
  background: #eef4ff;
}

.nb-checkout-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nb-checkout-item__main {
  min-width: 0;
}

.nb-checkout-item__info strong {
  color: #0f172a;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.nb-checkout-item__info .nb-checkout-item__price {
  margin-top: 10px;
  color: #e60012;
  font-size: 16px;
  font-weight: 800;
}

.nb-checkout-quantity {
  display: grid;
  grid-template-columns: 42px 56px 42px;
  overflow: hidden;
  height: 42px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #fff;
}

.nb-checkout-quantity button,
.nb-checkout-quantity input {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: #0f172a;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
}

.nb-checkout-quantity button {
  background: #f8fafc;
  cursor: pointer;
}

.nb-checkout-quantity button:hover {
  background: #fff1f2;
  color: #e60012;
}

.nb-checkout-item__actions input {
  width: auto;
  height: 100%;
  padding: 0;
  border: 0;
}

.nb-checkout-item__actions .nb-checkout-item__remove {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
}

.nb-checkout-item__actions .nb-checkout-item__remove:hover {
  border-color: #fecaca;
  background: #fff1f2;
  color: #e60012;
}

.nb-checkout-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff7ed;
  color: #475569;
  line-height: 1.6;
}

.nb-checkout-note i {
  color: #e60012;
  font-size: 17px;
  line-height: 1.5;
}

.nb-checkout-note--debug {
  background: #f8fafc;
  color: #94a3b8;
}

.nb-checkout-service {
  padding: 14px;
}

.nb-checkout-service .nb-service-guarantee {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  background: transparent;
}

.nb-checkout .nb-checkout-contact h2 {
  color: #0f172a;
  font-size: 21px;
  font-weight: 800;
}

.nb-checkout .nb-checkout-contact p {
  margin-bottom: 16px;
  color: #64748b;
}

.nb-checkout-contact__field {
  margin-bottom: 14px;
}

.nb-checkout-contact__field .nb-buy-panel__control {
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  min-height: 46px;
  border-radius: 999px;
}

.nb-checkout-contact__field input {
  height: 44px;
}

.nb-checkout-email-valid {
  display: none;
  color: #22c55e !important;
}

.nb-checkout-contact__field input[type="email"]:valid + .nb-checkout-email-valid {
  display: inline-flex;
}

.nb-checkout-contact .nb-payment-methods {
  margin-top: 16px;
}

.nb-checkout-contact .nb-payment-methods__options {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.nb-checkout-contact .nb-payment-methods__option .nb-payment-methods__card {
  min-height: 64px;
  border-radius: 14px;
}

.nb-checkout-contact .nb-payment-methods__brand {
  width: 42px;
  height: 42px;
}

.nb-checkout-contact .nb-payment-methods__brand i {
  font-size: 32px;
}

.nb-checkout-contact .nb-payment-methods__option:hover .nb-payment-methods__card {
  border-color: #ef4444;
  background: #fff7f7;
}

.nb-checkout-amount {
  display: grid;
  gap: 0;
  margin-top: 18px;
  padding: 14px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.nb-checkout-amount h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
}

.nb-checkout-amount .nb-checkout-summary {
  padding: 7px 0;
  border-top: 0;
}

.nb-checkout-summary span {
  color: #334155;
}

.nb-checkout-summary em {
  margin-left: 4px;
  color: #64748b;
  font-style: normal;
}

.nb-checkout-summary--total strong {
  color: #e60012;
  font-size: 27px;
  font-weight: 800;
}

.nb-checkout-pay {
  gap: 8px;
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #7f1d1d, #3b0505);
  box-shadow: 0 14px 24px rgba(127, 29, 29, 0.2);
  font-size: 16px;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nb-checkout-pay:hover:not(:disabled) {
  background: linear-gradient(135deg, #991b1b, #450a0a);
  box-shadow: 0 16px 28px rgba(127, 29, 29, 0.26);
  transform: translateY(-1px);
}

.nb-checkout-pay:disabled,
.nb-checkout-pay.is-loading {
  background: #94a3b8;
  box-shadow: none;
}

.nb-checkout-agreement {
  margin: 12px 0 0;
  color: #94a3b8;
  text-align: center;
  font-size: 12px;
}

.nb-checkout-agreement a {
  color: #e60012;
  font-weight: 700;
}

.nb-product-buybar__cart.has-items::after {
  content: attr(data-count);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 4px;
  right: 4px;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  line-height: 1;
}

.nb-product-buybar__cart {
  position: relative;
}

.nb-header-meta__icon.has-items::after,
.nb-mobile-tabbar [data-nodebuy-cart-button].has-items::after {
  content: attr(data-count);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 2px;
  right: 2px;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 2px solid var(--nb-surface);
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.nb-header-meta__icon,
.nb-mobile-tabbar [data-nodebuy-cart-button] {
  position: relative;
}

.nb-cart-add-fly {
  position: fixed;
  z-index: 10000;
  width: 14px;
  height: 14px;
  pointer-events: none;
  border-radius: 50%;
  background: #dc2626;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.32);
  transform: translate(-50%, -50%) scale(1);
  animation: nb-cart-add-fly 0.62s cubic-bezier(0.2, 0.78, 0.32, 1) forwards;
}

.nb-cart-add-pulse {
  animation: nb-cart-add-pulse 0.48s ease;
}

@keyframes nb-cart-add-fly {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.2);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
    transform: translate(calc(-50% + var(--nb-cart-fly-x)), calc(-50% + var(--nb-cart-fly-y))) scale(0.35);
  }
}

@keyframes nb-cart-add-pulse {
  50% {
    transform: scale(1.2);
  }
}

.nb-payment-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.42);
}

.nb-payment-modal.is-open {
  display: grid;
}

.nb-payment-modal[hidden] {
  display: none;
}

.nb-payment-modal__dialog {
  width: min(100%, 360px);
}

.modal-pay-body {
  padding: 0;
}

.pay-payment.alipay {
  --nb-payment-brand: #1677FF;
  --nb-payment-brand-soft: #eaf2ff;
}

.pay-payment.wechat {
  --nb-payment-brand: #07C160;
  --nb-payment-brand-soft: #e9fff5;
}

.modal-pay-body .pay-qrcon {
  position: relative;
  overflow: hidden;
  border-radius: var(--nb-radius);
  background: var(--nb-surface);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
  text-align: center;
}

.modal-pay-body .pay-qrcon .qrcon {
  padding: 22px 20px 18px;
}

.nb-payment-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--nb-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--nb-muted);
  cursor: pointer;
}

.pay-logo-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.pay-qrcon .pay-logo {
  display: inline-grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  background: var(--nb-payment-brand, #1677FF);
  color: #fff;
  font-size: 22px;
}

.pay-qrcon .pay-logo-name {
  font-weight: 700;
}

.pay-title {
  min-height: 20px;
  color: var(--nb-muted);
  font-size: 13px;
}

.pay-amount {
  margin-top: 4px;
  color: #dc2626;
  font-weight: 800;
}

.pay-amount .pay-price {
  font-size: 22px;
}

.pay-qrcon .pay-qrcode {
  display: grid;
  width: 156px;
  height: 156px;
  place-items: center;
  margin: 14px auto 10px;
  padding: 8px;
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius-sm);
  background: #fff;
}

.pay-qrcon .pay-qrcode[hidden] {
  display: none;
}

.pay-qrcon .pay-qrcode img {
  width: 140px;
  height: 140px;
}

.nb-payment-modal__fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--nb-payment-brand, var(--nb-border));
  border-radius: var(--nb-radius-sm);
  color: var(--nb-payment-brand, var(--nb-primary));
  font-size: 13px;
}

.nb-payment-modal__fallback[hidden] {
  display: none;
}

.nb-payment-modal__more {
  display: grid;
  gap: 8px;
  margin: 10px auto 0;
}

.nb-payment-modal__more[hidden] {
  display: none;
}

.nb-payment-modal__more-link,
.nb-payment-modal__hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--nb-radius-sm);
  font-size: 13px;
  font-weight: 700;
}

.nb-payment-modal__more-link {
  border: 1px solid var(--nb-payment-brand, #1677FF);
  background: var(--nb-payment-brand-soft, #eaf2ff);
  color: var(--nb-payment-brand, #1677FF);
}

.nb-payment-modal__hint {
  border: 1px solid #facc15;
  background: #fefce8;
  color: #a16207;
}

.pay-qrcon .pay-notice .notice {
  padding: 14px 10px;
  background: var(--nb-payment-brand, #1677FF);
  color: #fff;
  font-size: 13px;
}

.pay-qrcon .pay-notice .notice.warning {
  background: #f59e0b;
}

.pay-qrcon .pay-notice .notice.danger {
  background: #ef4444;
}

.pay-qrcon .pay-notice .notice.success {
  background: #22c55e;
}

@media (max-width: 860px) {
  .nb-checkout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nb-checkout-cart,
  .nb-checkout-contact {
    padding: 14px;
  }

  .nb-checkout-item {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .nb-checkout-item__actions {
    justify-content: space-between;
  }
}



@media (max-width: 980px) {
  .nb-product-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nb-header__inner {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    min-height: 54px;
    gap: 0;
  }

  .nb-header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    width: 40px;
    height: 40px;
    border: 1px solid var(--nb-border);
    border-radius: 12px;
    background: #f8fafc;
    color: var(--nb-text);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  }

  .nb-header__toggle i {
    font-size: 22px;
    line-height: 1;
  }

  .nb-header__mobile-logo {
    justify-self: center;
  }

  .nb-header__mobile-logo .nb-logo__text {
    max-width: 160px;
  }

  .nb-nav {
    display: none;
  }

  .nb-nav__list {
    display: grid;
    gap: 10px;
  }

  .nb-header-meta {
    justify-self: end;
    gap: 8px;
  }

  .nb-header-meta .nb-header-search-form--inline,
  .nb-header-auth,
  .nb-header-user {
    display: none;
  }

  .nb-header__cart {
    width: 40px;
    height: 40px;
  }

  .nb-mobile-drawer {
    display: block;
  }

  .nb-header-user__menu {
    display: none !important;
  }

  .nb-auth-card {
    grid-template-columns: 1fr;
  }

  .nb-auth-card__media {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--nb-border);
  }

  .nb-account-shell {
    width: 100%;
    min-height: calc(100vh - 56px);
    padding: 12px;
    margin: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .nb-account-head {
    align-items: flex-start;
  }

  .nb-account-layout {
    display: block;
  }

  .nb-account-nav {
    padding-right: 0;
    margin-bottom: 14px;
    border-right: 0;
  }

  .nb-account-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nb-account-menu a {
    min-height: 54px;
    border: 1px solid var(--nb-border);
    background: #f5f7fa;
  }

  .nb-account-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .nb-account-table {
    overflow-x: auto;
  }

  .nb-account-table__head,
  .nb-account-table__row {
    min-width: 760px;
  }

  .nb-account-card-item__meta,
  .nb-account-card-item__foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .nb-shop-head {
    align-items: flex-start;
  }

  .nb-product-cats {
    align-items: stretch;
    flex-direction: column;
  }

  .nb-product-cats__links,
  .nb-product-cats__search {
    width: 100%;
    flex-basis: auto;
  }

  .nb-product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nb-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding: 24px 20px;
    border-radius: 18px;
  }

  .nb-hero__content h1 {
    font-size: 28px;
  }

  .nb-hero__content p {
    font-size: 14px;
  }

  .nb-hero__visual {
    justify-content: center;
  }

  .nb-hero__visual img {
    max-height: 170px;
  }

  .nb-checkout-title h1 {
    font-size: 30px;
  }

  .nb-checkout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "cart"
      "service"
      "contact";
  }

  .nb-checkout .nb-checkout-contact {
    position: static;
    padding: 18px;
  }

  .nb-checkout-cart {
    padding: 18px;
  }

  .nb-checkout-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .nb-checkout-item__info {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }

  .nb-checkout-item__thumb {
    width: 72px;
    height: 72px;
  }

  .nb-checkout-item__actions {
    justify-content: space-between;
  }

  .nb-checkout-contact .nb-payment-methods__options,
  .nb-checkout-service .nb-service-guarantee {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-product-single {
    grid-template-columns: 1fr;
    padding-top: 12px;
    padding-bottom: 132px;
  }

  .nb-mobile-product-header {
    position: sticky;
    top: 0;
    z-index: 35;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 12px;
    border-bottom: 1px solid var(--nb-border);
    background: var(--nb-surface);
  }

  .nb-mobile-product-header__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f7fa;
    font-size: 24px;
    line-height: 1;
  }

  .nb-mobile-product-header div {
    min-width: 0;
  }

  .nb-mobile-product-header strong,
  .nb-mobile-product-header span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .nb-mobile-product-header strong {
    font-size: 14px;
    line-height: 1.2;
  }

  .nb-mobile-product-header span {
    margin-top: 2px;
    color: #dc2626;
    font-size: 11px;
    font-weight: 700;
  }

  .nb-mobile-product-header__price {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
  }

  .nb-mobile-product-header__price span {
    display: inline;
    overflow: visible;
    white-space: nowrap;
  }

  .nb-product-buybar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: grid;
    grid-template-areas:
      "fields fields fields fields"
      "payment payment payment payment"
      "message message message message"
      "cart price add buy";
    grid-template-columns: 48px minmax(0, 1fr) 96px 88px;
    align-items: center;
    gap: 6px;
    min-height: 152px;
    padding: 6px 8px;
    border-top: 1px solid var(--nb-border);
    background: var(--nb-surface);
  }

  .nb-product-buybar__fields {
    display: grid;
    grid-area: fields;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 6px;
  }

  .nb-product-buybar > .nb-payment-methods {
    grid-area: payment;
  }

  .nb-product-buybar .nb-payment-methods__title {
    display: none;
  }

  .nb-product-buybar .nb-payment-methods__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .nb-product-buybar .nb-payment-methods--single .nb-payment-methods__options {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-product-buybar .nb-payment-methods__option > span {
    min-height: 34px;
    padding: 6px 9px;
  }

  .nb-product-buybar .nb-payment-methods__option > span > i {
    grid-row: auto;
    font-size: 17px;
  }

  .nb-product-buybar .nb-payment-methods__option strong {
    font-size: 12px;
  }

  .nb-product-buybar .nb-payment-methods__option small {
    display: none;
  }

  .nb-product-buybar__field {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    height: 34px;
    padding: 0 8px;
    border: 1px solid var(--nb-border);
    border-radius: var(--nb-radius-sm);
    background: #f8fafc;
    color: var(--nb-muted);
    font-size: 11px;
  }

  .nb-product-buybar__field span {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .nb-product-buybar__field input {
    width: 100%;
    min-width: 0;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--nb-text);
    font-size: 12px;
    outline: none;
  }

  .nb-product-buybar__field--quantity input {
    text-align: center;
  }

  .nb-product-buybar__message {
    grid-area: message;
    padding: 6px 8px;
    border: 1px solid var(--nb-border);
    border-radius: var(--nb-radius-sm);
    background: var(--nb-primary-soft);
    color: var(--nb-primary);
    font-size: 11px;
    line-height: 1.4;
  }

  .nb-product-buybar__message.is-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
  }

  .nb-product-buybar__cart {
    grid-area: cart;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    height: 44px;
    border-radius: var(--nb-radius-sm);
    background: #f5f7fa;
    font-size: 10px;
  }

  .nb-product-buybar__price {
    grid-area: price;
    min-width: 0;
    padding: 0 4px;
  }

  .nb-product-buybar__price-main {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
  }

  .nb-product-buybar__price strong,
  .nb-product-buybar__price span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .nb-product-buybar__price strong {
    color: #dc2626;
    font-size: 16px;
    line-height: 1.2;
  }

  .nb-product-buybar__price-main strong {
    flex: 0 1 auto;
  }

  .nb-product-buybar__price span {
    color: var(--nb-muted);
    font-size: 10px;
  }

  .nb-product-buybar__add,
  .nb-product-buybar__buy {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 42px;
    padding: 0 8px;
    font: inherit;
    border-radius: var(--nb-radius-sm);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
  }

  .nb-product-buybar__add {
    grid-area: add;
    border: 1px solid #fb923c;
    background: #fff7ed;
    color: #ea580c;
  }

  .nb-product-buybar__buy {
    grid-area: buy;
    border: 1px solid #ef4444;
    background: linear-gradient(90deg, #ff6b6b, #ef4444);
    color: #fff;
  }

  .nb-product-buybar__add:disabled,
  .nb-product-buybar__buy:disabled {
    cursor: wait;
    opacity: 0.72;
  }

  .nb-footer {
    padding-bottom: 136px;
  }

  .nb-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nb-mobile-tabbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 56px;
    border-top: 1px solid var(--nb-border);
    background: var(--nb-surface);
  }

  .single-nodebuy_product .nb-mobile-tabbar {
    display: none;
  }

  .nb-mobile-tabbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    color: var(--nb-muted);
    font-size: 11px;
  }

  .nb-mobile-tabbar i {
    color: var(--nb-text);
    font-size: 16px;
    line-height: 1;
  }
}

@media (max-width: 520px) {
  .nb-container {
    width: min(100% - 20px, var(--nb-container));
  }

  .nb-shop-shell {
    padding-top: 16px;
  }

  .nb-shop-head h1 {
    font-size: 22px;
  }

  .nb-product-list {
    gap: 10px;
  }

  .nb-product-card__body {
    padding: 9px;
  }

  .nb-product-card__title {
    min-height: 38px;
    font-size: 14px;
  }

  .nb-product-card__price {
    font-size: 15px;
  }

  .nb-product-card__cart {
    width: 30px;
    height: 30px;
  }

  .nb-buy-panel {
    display: none;
  }

  .nb-auth-shell {
    min-height: auto;
    padding: 18px 10px;
  }

  .nb-auth-card {
    width: 100%;
  }

  .nb-auth-card__form {
    padding: 18px;
  }

  .nb-account-head__link {
    display: none;
  }

  .nb-account-coupon-form {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .nb-product-single--classic .nb-product-single__content {
    padding: 18px;
    border-radius: 16px;
  }

  .nb-product-single--classic .nb-product-single__content h1 {
    font-size: 23px;
  }

  .nb-product-single--classic .nb-product-single__price {
    font-size: 30px;
  }

  .nb-product-single--classic .nb-buy-panel__top-row,
  .nb-product-single--classic .nb-payment-methods__options {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-product-single--classic .nb-buy-panel__field--quantity {
    max-width: none;
  }

  .nb-product-single--classic .nb-buy-panel__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .nb-product-single--taobao {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-top: 12px;
  }

  .nb-product-single--taobao .nb-product-single__content {
    padding: 16px;
    border-radius: 16px;
  }

  .nb-product-single--taobao .nb-product-single__price-row {
    flex-wrap: wrap;
    min-height: auto;
    padding: 14px;
  }

  .nb-product-single--taobao .nb-product-single__price {
    font-size: 30px;
  }

  .nb-product-single--taobao .nb-buy-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-product-single--taobao .nb-buy-panel__actions,
  .nb-payment-methods__options,
  .nb-service-guarantee {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-payment-methods__option .nb-payment-methods__card {
    min-height: 60px;
    padding: 10px 12px;
  }

  .nb-payment-methods__brand {
    width: 40px;
    height: 40px;
  }

  .nb-payment-methods__brand i {
    font-size: 30px;
  }

  .nb-service-guarantee {
    gap: 10px;
    padding: 12px;
  }

  .nb-product-buybar__field .nb-quantity-stepper {
    flex: 1 1 auto;
    width: 100%;
    min-height: 30px;
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    border: 0;
    box-shadow: none;
  }

  .nb-product-buybar__field .nb-quantity-stepper button,
  .nb-product-buybar__field .nb-quantity-stepper input {
    height: 30px;
    font-size: 12px;
  }

  .nb-product-buybar .nb-payment-methods__option .nb-payment-methods__card {
    grid-template-columns: 30px minmax(0, 1fr) 16px;
    gap: 7px;
    min-height: 38px;
    padding: 6px 8px;
    border-radius: 10px;
  }

  .nb-product-buybar .nb-payment-methods__brand {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }

  .nb-product-buybar .nb-payment-methods__brand i {
    font-size: 22px;
  }

  .nb-product-buybar .nb-payment-methods__check {
    width: 16px;
    height: 16px;
  }
}

@media (min-width: 521px) and (max-width: 767px) {
  .nb-service-guarantee {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


