:root {
  --paper: #fbfaf7;
  --paper-soft: #f4f1ec;
  --ink: #20242b;
  --muted: #667085;
  --line: #ded9d1;
  --blue: #536dfe;
  --violet: #8b6ff7;
  --teal: #1f9d94;
  --amber: #c4862d;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(32, 36, 43, 0.1);
  --header-bg: rgba(251, 250, 247, 0.88);
  --nav-text: #374151;
  --panel-bg: rgba(255, 255, 255, 0.72);
  --hero-copy: #3f4754;
  --footer-bg: #20242b;
  --footer-text: rgba(255, 255, 255, 0.78);
  --font-body: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --font-display: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

:root[data-theme="dark"] {
  --paper: #11151b;
  --paper-soft: #171c24;
  --ink: #f3f5f8;
  --muted: #a8b0bd;
  --line: #303845;
  --blue: #8da2ff;
  --violet: #ad98ff;
  --teal: #61d7ce;
  --amber: #e2b56a;
  --white: #1b212b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --header-bg: rgba(17, 21, 27, 0.88);
  --nav-text: #d4dae4;
  --panel-bg: rgba(27, 33, 43, 0.76);
  --hero-copy: #c7ced9;
  --footer-bg: #090c11;
  --footer-text: rgba(255, 255, 255, 0.78);
}

:root[data-font="serif"] {
  --font-body: "Noto Serif SC", "Songti SC", SimSun, Georgia, serif;
  --font-display: Georgia, "Noto Serif SC", "Songti SC", SimSun, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  transition: background 180ms ease, color 180ms ease;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

select {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px max(20px, calc((100vw - 1120px) / 2));
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 18px;
  font-weight: 750;
  font-family: var(--font-display);
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav a {
  padding: 10px 14px;
  border: 1px solid transparent;
  color: var(--nav-text);
  font-size: 14px;
}

.nav a:hover,
.nav a:focus-visible {
  border-color: var(--line);
  color: var(--blue);
  outline: 0;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--panel-bg);
  padding: 0;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 8px;
}

.site-tools label,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  border: 1px solid var(--line);
  background: var(--panel-bg);
  color: var(--nav-text);
  font-size: 12px;
}

.site-tools label {
  padding: 0 8px 0 10px;
}

.site-tools select {
  min-width: 74px;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: 0;
  cursor: pointer;
}

.theme-toggle {
  padding: 0 12px;
  cursor: pointer;
}

.theme-toggle:hover,
.theme-toggle:focus-visible,
.site-tools label:focus-within {
  border-color: var(--blue);
  outline: 0;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.section-band {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(83, 109, 254, 0.08), transparent 34%),
    linear-gradient(135deg, var(--paper), var(--paper-soft));
}

.hero {
  min-height: calc(100vh - 76px);
  padding: clamp(58px, 7vw, 96px) 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(36px, 6vw, 74px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 10vw, 116px);
  line-height: 0.92;
  font-family: var(--font-display);
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--hero-copy);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.secondary-action,
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-action,
.contact-button {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(32, 36, 43, 0.16);
}

.secondary-action {
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
}

.primary-action:hover,
.secondary-action:hover,
.contact-button:hover {
  transform: translateY(-2px);
}

.entity-panel,
.contact-panel {
  border: 1px solid var(--line);
  background: var(--panel-bg);
  box-shadow: var(--shadow);
}

.entity-panel {
  padding: clamp(24px, 4vw, 38px);
}

.logo-stage {
  display: grid;
  place-items: center;
  min-height: 230px;
  margin-bottom: 28px;
  border: 1px solid rgba(83, 109, 254, 0.18);
  background:
    linear-gradient(135deg, rgba(139, 111, 247, 0.12), transparent 42%),
    linear-gradient(45deg, rgba(31, 157, 148, 0.08), transparent 48%),
    #ffffff;
}

.logo-stage img {
  width: min(220px, 72%);
  height: auto;
  object-fit: contain;
}

dl {
  margin: 0;
}

dt {
  color: var(--muted);
  font-size: 13px;
}

dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.entity-panel dl,
.contact-panel dl {
  display: grid;
  gap: 18px;
}

.section {
  padding: clamp(68px, 8vw, 104px) 0;
}

.intro-strip {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.strip-grid div {
  min-height: 116px;
  padding: 24px;
  background: var(--white);
}

.metric {
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
}

.strip-grid p {
  margin: 14px 0 0;
  font-size: 18px;
  font-weight: 720;
}

.two-column,
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 7vw, 90px);
}

.section-heading h2,
.section-title-row h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  font-family: var(--font-display);
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.section-title-row p {
  margin: 16px 0 0;
  color: var(--muted);
}

.content-flow p {
  margin: 0 0 18px;
  color: var(--hero-copy);
  font-size: 17px;
}

.business-profile {
  margin: 26px 0 0;
  padding: 18px 20px;
  border-left: 3px solid var(--amber);
  background: var(--paper);
}

.business-profile span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.business-profile strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  line-height: 1.7;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--line);
}

.info-grid div {
  min-height: 108px;
  padding: 22px;
  background: var(--paper);
}

.info-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.info-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.35;
}

.section-muted {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-title-row > p {
  max-width: 420px;
}

.product-section {
  border-bottom: 1px solid var(--line);
}

.product-list {
  display: grid;
  gap: 24px;
}

.product-heading {
  margin-bottom: 28px;
}

.product-tools {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.product-search-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.product-search-control {
  display: flex;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.product-search-control input {
  width: 100%;
  min-width: 0;
  padding: 11px 13px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.product-search-control:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(31, 78, 121, 0.12);
}

.product-search-clear {
  flex: 0 0 auto;
  margin-right: 7px;
  padding: 5px 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}

.product-search-clear:hover,
.product-search-clear:focus-visible {
  color: var(--blue);
}

.product-result-count {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-card-main {
  min-width: 0;
  padding: clamp(22px, 4vw, 38px);
}

.product-kicker,
.price-label {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-image-wrap {
  width: min(100%, 420px);
  margin: 20px 0 24px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.product-image-wrap img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-card h3 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.product-card-main > p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--hero-copy);
  font-size: 16px;
}

.product-features {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.product-features li {
  position: relative;
  padding-left: 18px;
}

.product-features li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--teal);
  transform: translateY(-50%);
}

.product-card-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(22px, 4vw, 38px);
  border-left: 1px solid var(--line);
  background: var(--paper-soft);
}

.product-price {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
}

.price-note {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.product-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 28px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-action:hover,
.product-action:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(32, 36, 43, 0.16);
  outline: 0;
}

.product-action.is-disabled {
  border-color: var(--line);
  background: var(--paper-soft);
  color: var(--muted);
  cursor: not-allowed;
}

.product-action.is-disabled:hover {
  transform: none;
  box-shadow: none;
}

.product-disclaimer {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.procurement-section {
  background: var(--paper-soft);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2.5rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-card {
  min-height: 10rem;
  padding: 1.5rem;
  background: var(--paper);
}

.process-card span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.process-card h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1rem;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

@media (max-width: 800px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.notice-list {
  display: grid;
  gap: 12px;
}

.notice-item {
  border: 1px solid var(--line);
  background: var(--white);
}

.notice-item button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 86px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.notice-item small {
  display: block;
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 760;
}

.notice-item strong {
  font-size: 18px;
}

.notice-item i {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  position: relative;
}

.notice-item i::before,
.notice-item i::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.notice-item i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.notice-item.is-open i::after {
  opacity: 0;
}

.notice-body {
  display: none;
  padding: 0 24px 24px;
  color: var(--muted);
}

.notice-item.is-open .notice-body {
  display: block;
}

.notice-body p {
  margin: 0;
  max-width: 760px;
}

.contact-panel {
  padding: clamp(24px, 4vw, 34px);
}

.contact-panel dl div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-button {
  width: 100%;
  margin-top: 28px;
}

.contact-feedback {
  min-height: 25px;
  margin: 14px 0 0;
  color: var(--teal);
  font-size: 14px;
}

.site-footer {
  padding: 28px 0;
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px 24px;
}

.footer-grid p {
  margin: 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.footer-record {
  grid-column: 1 / -1;
}

.icp-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--footer-text);
  font-size: 13px;
  text-decoration: none;
}

.footer-compliance {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 16px;
  flex-wrap: wrap;
}

.police-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--footer-text);
  font-size: 13px;
  text-decoration: none;
}

.police-mark {
  display: block;
  width: 20px;
  height: 22px;
  object-fit: contain;
}

.icp-mark {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.icp-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.icp-link:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

.checkout-page {
  min-height: 100vh;
  background: #f5f6f8;
}

.checkout-header {
  background: #fff;
  border-bottom: 1px solid #e4e7ec;
}

.checkout-header-inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.checkout-back {
  color: var(--muted);
  font-size: 14px;
}

.checkout-back:hover,
.checkout-back:focus-visible {
  color: var(--blue);
  outline: 0;
}

.checkout-progress {
  background: #fff;
  border-bottom: 1px solid #e4e7ec;
}

.checkout-progress-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 48px;
}

.checkout-progress span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8a94a3;
  font-size: 13px;
}

.checkout-progress b {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #cfd5dd;
  border-radius: 50%;
  font-size: 11px;
}

.checkout-progress .is-active {
  color: var(--blue);
  font-weight: 700;
}

.checkout-progress .is-active b {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.checkout-main {
  padding: 34px 0 52px;
}

.checkout-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.checkout-title-row h1 {
  margin: 0;
  color: #20242b;
  font-size: 38px;
  line-height: 1.1;
}

.checkout-title-row > p {
  margin: 0 0 4px;
  color: #667085;
  font-size: 14px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 18px;
}

.checkout-content {
  display: grid;
  gap: 16px;
}

.order-section,
.order-summary {
  border: 1px solid #e1e5eb;
  border-radius: 6px;
  background: #fff;
}

.order-section-heading {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  border-bottom: 1px solid #e7eaf0;
}

.order-section-heading h2,
.order-summary h2 {
  margin: 0;
  color: #20242b;
  font-size: 16px;
}

.order-section-heading span {
  color: #8a94a3;
  font-size: 12px;
}

.order-product {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 132px 112px;
  align-items: center;
  gap: 18px;
  padding: 20px;
}

.order-product > img {
  width: 108px;
  height: 108px;
  border: 1px solid #e1e5eb;
  object-fit: cover;
}

.order-product-info {
  min-width: 0;
}

.order-product-info h3 {
  margin: 0 0 10px;
  color: #20242b;
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.order-product-info p {
  margin: 3px 0 0;
  color: #667085;
  font-size: 12px;
}

.order-quantity,
.order-price {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.order-quantity > span,
.order-price > span {
  color: #8a94a3;
  font-size: 12px;
}

.order-quantity small {
  color: #667085;
  font-size: 11px;
}

.order-price strong {
  color: #20242b;
  font-size: 18px;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 32px 48px 32px;
  height: 34px;
  border: 1px solid #d7dce3;
  border-radius: 4px;
  overflow: hidden;
}

.quantity-stepper button,
.quantity-stepper input {
  min-width: 0;
  border: 0;
  background: #fff;
  color: #20242b;
  text-align: center;
}

.quantity-stepper button {
  cursor: pointer;
}

.quantity-stepper button:hover,
.quantity-stepper button:focus-visible {
  background: #f0f3f8;
  outline: 0;
}

.quantity-stepper input {
  border-right: 1px solid #d7dce3;
  border-left: 1px solid #d7dce3;
  appearance: textfield;
}

.quantity-stepper input::-webkit-inner-spin-button {
  appearance: none;
}

.buyer-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px;
}

.buyer-fields label {
  display: grid;
  gap: 7px;
}

.buyer-fields label > span {
  color: #344054;
  font-size: 13px;
}

.buyer-fields em {
  color: #e5484d;
  font-style: normal;
}

.buyer-fields input,
.buyer-fields textarea {
  width: 100%;
  border: 1px solid #d7dce3;
  border-radius: 4px;
  background: #fff;
  color: #20242b;
  font: inherit;
  font-size: 14px;
  outline: 0;
}

.buyer-fields input {
  height: 40px;
  padding: 0 12px;
}

.buyer-fields textarea {
  min-height: 70px;
  padding: 10px 12px;
  resize: vertical;
}

.buyer-fields input:focus,
.buyer-fields textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(83, 109, 254, 0.1);
}

.buyer-fields [aria-invalid="true"] {
  border-color: #e5484d;
}

.buyer-field-wide {
  grid-column: 1 / -1;
}

.field-error {
  min-height: 18px;
  color: #d92d20;
  font-size: 12px;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 20px;
}

.payment-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  padding: 14px;
  border: 1px solid #d7dce3;
  border-radius: 4px;
  cursor: pointer;
}

.payment-option.is-selected {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.payment-option input {
  grid-row: 1 / 3;
  align-self: center;
  accent-color: var(--blue);
}

.payment-name {
  color: #20242b;
  font-size: 15px;
  font-weight: 750;
}

.alipay-name {
  color: #1677ff;
}

.wechat-name {
  color: #07c160;
}

.payment-option small {
  color: #8a94a3;
  font-size: 11px;
}

.order-summary {
  position: sticky;
  top: 18px;
  padding: 20px;
}

.order-summary h2 {
  padding-bottom: 16px;
  border-bottom: 1px solid #e7eaf0;
}

.order-summary dl {
  display: grid;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid #e7eaf0;
}

.order-summary dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.order-summary dt,
.order-summary dd {
  color: #667085;
  font-size: 13px;
  font-weight: 400;
}

.order-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}

.order-total span {
  color: #344054;
  font-size: 14px;
}

.order-total strong {
  color: #e5484d;
  font-size: 30px;
  line-height: 1;
}

.submit-order {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}

.submit-order:hover,
.submit-order:focus-visible {
  background: #4259d9;
  outline: 3px solid rgba(83, 109, 254, 0.2);
}

.payment-status,
.merchant-note {
  margin: 12px 0 0;
  color: #667085;
  font-size: 11px;
}

.order-policy {
  padding: 18px 20px 20px;
  color: #4f5968;
  font-size: 13px;
  line-height: 1.7;
}

.order-policy p {
  margin: 0;
}

.order-policy p + p {
  margin-top: 8px;
}

.payment-status {
  min-height: 18px;
}

.checkout-footer {
  padding: 20px 0;
}

.checkout-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.delivery-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 20px 20px 0;
}

.delivery-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border: 1px solid #d7dce3;
  border-radius: 4px;
  cursor: pointer;
}

.delivery-option.is-selected {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.delivery-option input {
  margin-top: 4px;
  accent-color: var(--blue);
}

.delivery-option.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.delivery-option span,
.delivery-option strong,
.delivery-option small {
  display: block;
}

.delivery-option strong {
  color: #20242b;
  font-size: 14px;
}

.delivery-option small {
  margin-top: 3px;
  color: #7a8493;
  font-size: 11px;
}

.address-fields[hidden] {
  display: none;
}

.pickup-fields {
  display: grid;
  gap: 12px;
  padding: 20px 20px 0;
}

.pickup-fields[hidden] {
  display: none;
}

.pickup-point-summary {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #d7e5e3;
  border-radius: 4px;
  background: #f5fbfa;
  color: #50625f;
  font-size: 12px;
}

.pickup-point-summary strong {
  color: #20242b;
  font-size: 14px;
}

.pickup-point-summary small {
  margin-top: 5px;
  color: #687774;
}

.account-pickup-info {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 3px solid var(--teal);
  background: #f1faf8;
  color: #50625f;
  font-size: 12px;
}

.account-pickup-info strong {
  color: #20242b;
  font-size: 13px;
}

.account-pickup-info small {
  color: #687774;
}

.pickup-code {
  color: #0b746c;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pickup-notice {
  margin: 18px 20px 20px;
  padding: 14px;
  border-left: 3px solid var(--teal);
  background: #f1faf8;
  color: #3e605c;
  font-size: 13px;
}

.portal-page {
  min-height: 100vh;
  background: #f5f6f8;
}

.portal-main,
.policy-main {
  min-height: calc(100vh - 250px);
  padding: 56px 0 72px;
}

.portal-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  max-width: 900px;
}

.auth-panel,
.auth-aside,
.account-sidebar,
.account-orders,
.policy-document {
  border: 1px solid #e1e5eb;
  border-radius: 6px;
  background: #fff;
}

.auth-panel {
  padding: 36px;
}

.auth-panel h1,
.account-sidebar h1,
.policy-document h1 {
  margin: 8px 0 0;
  color: #20242b;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0;
}

.auth-intro {
  margin: 10px 0 28px;
  color: #667085;
}

.portal-form {
  display: grid;
  gap: 17px;
}

.portal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.portal-form label:not(.consent-row) {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
}

.portal-form input:not([type="checkbox"]) {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #d7dce3;
  border-radius: 4px;
  background: #fff;
  color: #20242b;
  font: inherit;
}

.portal-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(83, 109, 254, 0.1);
  outline: 0;
}

.portal-form small {
  color: #87909f;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #667085;
  font-size: 12px;
}

.consent-row input {
  margin-top: 4px;
  accent-color: var(--blue);
}

.consent-row a,
.auth-switch a,
.auth-aside a,
.policy-document a {
  color: var(--blue);
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: #287e68;
  font-size: 13px;
}

.form-status.is-error {
  color: #d92d20;
}

.auth-switch {
  margin: 24px 0 0;
  color: #667085;
  font-size: 13px;
}

.auth-aside {
  align-self: start;
  padding: 28px;
  border-top: 3px solid var(--teal);
}

.auth-aside strong {
  color: #20242b;
  font-size: 18px;
}

.auth-aside p {
  color: #667085;
  font-size: 14px;
}

.account-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
}

.account-sidebar,
.account-orders {
  padding: 28px;
}

.account-sidebar {
  align-self: start;
}

.account-sidebar dl {
  display: grid;
  gap: 16px;
  margin: 28px 0;
}

.account-sidebar dt {
  color: #87909f;
  font-size: 11px;
}

.account-sidebar dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  color: #344054;
  font-size: 13px;
}

.secondary-button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #d7dce3;
  border-radius: 4px;
  background: #fff;
  color: #344054;
  cursor: pointer;
}

.account-title-row,
.account-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.account-title-row h2 {
  margin: 4px 0 0;
  color: #20242b;
  font-size: 28px;
}

.account-title-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.account-order {
  padding: 20px;
  border: 1px solid #e1e5eb;
  border-radius: 4px;
}

.account-order-head span {
  display: block;
  color: #8a94a3;
  font-size: 11px;
}

.account-order-head strong {
  color: #344054;
  font-size: 13px;
}

.account-order-head em {
  padding: 4px 9px;
  border-radius: 3px;
  background: #fff5df;
  color: #9a650d;
  font-size: 12px;
  font-style: normal;
}

.account-order h3 {
  margin: 18px 0 14px;
  color: #20242b;
  font-size: 15px;
}

.account-order dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.account-order dt,
.account-order time {
  color: #8a94a3;
  font-size: 11px;
}

.account-order dd {
  margin: 3px 0 0;
  color: #4c5665;
  font-size: 12px;
}

.account-order time {
  display: block;
  margin-top: 14px;
}

.account-order-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.account-order-actions .secondary-button {
  min-height: 34px;
  font-size: 12px;
}

.account-order-actions .payment-action {
  min-height: 34px;
  padding: 0 13px;
  font-size: 12px;
}

.account-order-actions .danger-button {
  border-color: #efc5c8;
  color: #b42318;
}

.empty-state {
  padding: 44px 20px;
  border: 1px dashed #d7dce3;
  text-align: center;
  color: #667085;
}

.empty-state p {
  margin: 6px 0 0;
  font-size: 13px;
}

.policy-document {
  max-width: 860px;
  padding: 46px 52px;
}

.policy-date {
  color: #8a94a3;
  font-size: 13px;
}

.policy-document h2 {
  margin: 34px 0 8px;
  color: #20242b;
  font-size: 19px;
}

.policy-document p {
  color: #596273;
  font-size: 15px;
}

.admin-main {
  min-height: calc(100vh - 76px);
  padding: 34px 0 56px;
}

.admin-page.admin-loading {
  visibility: hidden;
}

.admin-entry[hidden] {
  display: none;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.46fr);
  align-items: start;
  gap: 20px;
}

.admin-products-panel,
.admin-workspace,
.admin-editor {
  border: 1px solid #e1e5eb;
  border-radius: 6px;
  background: #fff;
}

.admin-products-panel {
  min-width: 0;
  padding: 28px;
}

.admin-workspace {
  min-width: 0;
  padding: 28px;
}

.admin-title-row,
.admin-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.admin-title-row {
  padding-bottom: 24px;
  border-bottom: 1px solid #e7eaf0;
}

.admin-title-row h1 {
  margin: 0;
  color: #20242b;
  font-size: 32px;
  line-height: 1.15;
}

.admin-title-row > div > p:last-child {
  margin: 8px 0 0;
  color: #667085;
  font-size: 14px;
}

.admin-title-row .primary-action {
  flex: 0 0 auto;
}

.admin-title-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.admin-product-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.admin-tabs {
  display: flex;
  gap: 4px;
  margin-top: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e7eaf0;
}

.admin-tabs button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #667085;
  cursor: pointer;
  font-size: 13px;
}

.admin-tabs button[aria-selected="true"] {
  border-color: #d7dce3;
  background: #f6f8fc;
  color: #344054;
  font-weight: 700;
}

.admin-tabs button:hover,
.admin-tabs button:focus-visible {
  color: var(--blue);
  outline: 0;
}

.admin-panel {
  display: none;
}

.admin-panel.is-active {
  display: block;
}

.admin-list-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
}

.admin-list-toolbar label {
  display: grid;
  gap: 5px;
  width: min(100%, 280px);
}

.admin-list-toolbar label > span,
.admin-list-toolbar p {
  color: #667085;
  font-size: 12px;
}

.admin-list-toolbar p {
  margin: 0 0 8px;
}

.admin-list-toolbar input,
.admin-list-toolbar select,
.admin-order-status select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #d7dce3;
  border-radius: 4px;
  background: #fff;
  color: #344054;
  font: inherit;
  font-size: 13px;
  outline: 0;
}

.admin-list-toolbar input {
  padding: 0 10px;
}

.admin-list-toolbar select,
.admin-order-status select {
  padding: 0 8px;
}

.admin-list-toolbar input:focus,
.admin-list-toolbar select:focus,
.admin-order-status select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(83, 109, 254, 0.1);
}

.admin-user-list,
.admin-order-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.admin-profile-form {
  display: grid;
  gap: 18px;
  max-width: 520px;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #e1e5eb;
  border-radius: 4px;
}

.admin-home-form {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #e1e5eb;
  border-radius: 4px;
}

.admin-home-form fieldset {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 18px;
  border: 1px solid #e1e5eb;
}

.admin-home-form legend {
  padding: 0 6px;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

.legal-admin-form {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #e1e5eb;
  border-radius: 4px;
}

.legal-admin-documents {
  display: grid;
  gap: 20px;
}

.legal-admin-document,
.legal-admin-section {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 18px;
  border: 1px solid #e1e5eb;
  background: #fbfcfe;
}

.legal-admin-document > legend,
.legal-admin-section > legend {
  padding: 0 6px;
  color: #344054;
  font-size: 15px;
  font-weight: 700;
}

.legal-admin-section > legend {
  color: #667085;
  font-size: 13px;
}

.legal-admin-sections {
  display: grid;
  gap: 12px;
}

.legal-admin-section {
  padding: 14px;
  background: #fff;
}

.legal-admin-form .submit-order {
  width: fit-content;
  min-width: 180px;
  padding: 0 24px;
}

.homepage-visibility {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 620px) {
  .homepage-visibility {
    grid-template-columns: 1fr;
  }
}

.admin-panel-copy p,
.admin-panel-copy h2,
.admin-panel-copy span {
  margin: 0;
}

.admin-panel-copy p {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.admin-panel-copy h2 {
  margin-top: 6px;
  color: #20242b;
  font-size: 22px;
}

.admin-panel-copy span {
  display: block;
  margin-top: 8px;
  color: #667085;
  font-size: 13px;
}

.visibility-control {
  display: flex !important;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  color: #344054;
}

.visibility-control input {
  width: 16px;
  height: 16px;
}

.admin-profile-form .submit-order {
  width: fit-content;
}

.admin-product-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 105px 72px 112px;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e1e5eb;
  border-radius: 4px;
}

.admin-product-row > img {
  width: 72px;
  height: 72px;
  border: 1px solid #e1e5eb;
  object-fit: cover;
}

.admin-product-copy {
  min-width: 0;
}

.admin-product-copy span,
.admin-product-copy p,
.admin-product-metrics span {
  color: #8a94a3;
  font-size: 11px;
}

.admin-product-copy h3 {
  margin: 3px 0;
  overflow: hidden;
  color: #20242b;
  font-size: 14px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-copy p {
  margin: 0;
}

.admin-product-metrics {
  display: grid;
  gap: 3px;
}

.admin-product-metrics strong {
  color: #20242b;
  font-size: 15px;
}

.status-badge {
  justify-self: start;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
}

.status-badge.is-active {
  background: #eaf8f4;
  color: #18745f;
}

.status-badge.is-inactive {
  background: #f1f3f6;
  color: #667085;
}

.admin-product-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.admin-product-actions button,
.icon-close {
  border: 1px solid #d7dce3;
  background: #fff;
  color: #344054;
  cursor: pointer;
}

.admin-product-actions button {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 12px;
}

.admin-product-actions button:hover,
.admin-product-actions button:focus-visible,
.icon-close:hover,
.icon-close:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
  outline: 0;
}

.admin-product-actions .danger-button {
  border-color: #efc5c8;
  color: #b42318;
}

.admin-product-actions .danger-button:hover,
.admin-product-actions .danger-button:focus-visible {
  border-color: #d92d20;
  background: #fff4f3;
  color: #b42318;
}

.admin-user-row,
.admin-order-row,
.pickup-admin-row {
  display: grid;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid #e1e5eb;
  border-radius: 4px;
}

.pickup-admin-row {
  grid-template-columns: minmax(0, 1fr) 66px auto;
}

.pickup-admin-row > div:first-child {
  min-width: 0;
}

.pickup-admin-row h3 {
  margin: 3px 0 0;
  color: #20242b;
  font-size: 14px;
  line-height: 1.4;
}

.pickup-admin-row span,
.pickup-admin-row p,
.pickup-admin-row small {
  color: #8a94a3;
  font-size: 11px;
}

.pickup-admin-row p {
  margin: 4px 0 0;
}

.pickup-admin-row small {
  display: block;
  margin-top: 5px;
}

.admin-user-row {
  grid-template-columns: minmax(0, 1fr) 68px minmax(132px, 0.45fr) 66px auto;
}

.admin-order-row {
  grid-template-columns: minmax(0, 1fr) 126px;
}

.admin-user-main,
.admin-order-main {
  min-width: 0;
}

.admin-user-main > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
}

.admin-user-main h3,
.admin-order-main h3 {
  margin: 0;
  color: #20242b;
  font-size: 14px;
  line-height: 1.4;
}

.admin-user-main span,
.admin-user-main p,
.admin-order-main > span,
.admin-order-main > p,
.admin-order-main details,
.admin-user-stat span,
.admin-muted,
.admin-order-status > span {
  color: #8a94a3;
  font-size: 11px;
}

.pickup-verify-button {
  width: 100%;
  margin-top: 8px;
}

.admin-user-main p,
.admin-order-main > p {
  margin: 4px 0 0;
}

.admin-user-stat {
  display: grid;
  gap: 2px;
}

.admin-user-stat strong {
  color: #344054;
  font-size: 13px;
}

.admin-order-main details {
  margin-top: 9px;
}

.admin-order-main summary {
  cursor: pointer;
}

.admin-order-main details p {
  margin: 8px 0 0;
  color: #667085;
}

.admin-order-status {
  display: grid;
  gap: 5px;
}

.admin-editor {
  position: sticky;
  top: 20px;
  display: none;
  padding: 24px;
}

.admin-editor.is-open {
  display: block;
}

.admin-editor-head {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e7eaf0;
}

.admin-editor-head span {
  color: #8a94a3;
  font-size: 11px;
}

.admin-editor-head h2 {
  margin: 2px 0 0;
  color: #20242b;
  font-size: 22px;
}

.icon-close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border-radius: 4px;
  font-size: 22px;
  line-height: 1;
}

.portal-form textarea,
.portal-form select,
.portal-form input[type="file"] {
  width: 100%;
  border: 1px solid #d7dce3;
  border-radius: 4px;
  background: #fff;
  color: #20242b;
  font: inherit;
  font-size: 14px;
  outline: 0;
}

.portal-form textarea {
  min-height: 96px;
  padding: 10px 12px;
  resize: vertical;
}

.portal-form select {
  height: 42px;
  padding: 0 10px;
}

.portal-form input[type="file"] {
  padding: 8px;
}

.portal-form textarea:focus,
.portal-form select:focus,
.portal-form input[type="file"]:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(83, 109, 254, 0.1);
}

.admin-image-preview {
  width: 100%;
  max-height: 240px;
  border: 1px solid #e1e5eb;
  border-radius: 4px;
  background: #fff;
  object-fit: contain;
}

.admin-entry {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

@media (max-width: 780px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 66px;
    padding: 12px 14px;
  }

  .menu-button {
    display: block;
  }

  .nav {
    position: absolute;
    top: 65px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px;
  }

  .site-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 0 0;
  }

  .site-tools label,
  .theme-toggle {
    justify-content: space-between;
    width: 100%;
  }

  .theme-toggle {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-grid,
  .two-column,
  .contact-grid,
  .product-card,
  .section-title-row,
  .product-tools {
    grid-template-columns: 1fr;
  }

  .product-tools {
    align-items: stretch;
  }

  .product-result-count {
    white-space: normal;
  }

  .product-card-side {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .strip-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .section-title-row {
    display: grid;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-record {
    grid-column: 1;
  }

  .icp-link {
    justify-self: auto;
  }

  .footer-compliance {
    justify-self: start;
  }

  .checkout-header-inner {
    min-height: 62px;
  }

  .checkout-progress span {
    font-size: 11px;
  }

  .checkout-progress b {
    display: none;
  }

  .checkout-main {
    padding: 26px 0 40px;
  }

  .checkout-title-row {
    display: grid;
    align-items: start;
  }

  .checkout-title-row h1 {
    font-size: 32px;
  }

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

  .order-product {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .order-product > img {
    width: 88px;
    height: 88px;
  }

  .order-quantity,
  .order-price {
    justify-items: start;
  }

  .order-quantity {
    grid-column: 1 / 2;
  }

  .order-price {
    grid-column: 2 / 3;
  }

  .buyer-fields,
  .payment-methods,
  .delivery-methods,
  .portal-form-grid {
    grid-template-columns: 1fr;
  }

  .buyer-field-wide {
    grid-column: 1;
  }

  .order-summary {
    position: static;
  }

  .portal-shell,
  .account-layout,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-main {
    padding: 26px 0 44px;
  }

  .admin-products-panel {
    padding: 22px;
  }

  .admin-workspace {
    padding: 22px;
  }

  .admin-product-row {
    grid-template-columns: 64px minmax(0, 1fr) auto;
  }

  .admin-user-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .admin-user-main {
    grid-column: 1 / -1;
  }

  .admin-user-row .admin-product-actions {
    justify-content: flex-end;
  }

  .admin-product-row > img {
    width: 64px;
    height: 64px;
  }

  .admin-product-metrics {
    grid-column: 2;
  }

  .status-badge {
    grid-column: 3;
    grid-row: 1;
  }

  .admin-product-actions {
    grid-column: 3;
    grid-row: 2;
  }

  .admin-editor {
    position: static;
  }

  .portal-main,
  .policy-main {
    padding: 30px 0 44px;
  }

  .auth-panel,
  .auth-aside,
  .account-sidebar,
  .account-orders,
  .policy-document {
    padding: 24px;
  }

  .account-order dl {
    grid-template-columns: 1fr 1fr;
  }

  .checkout-header-actions {
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .brand span {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-actions {
    display: grid;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .admin-title-row {
    display: grid;
  }

  .admin-title-actions {
    width: 100%;
  }

  .admin-tabs {
    overflow-x: auto;
  }

  .admin-tabs button {
    flex: 0 0 auto;
  }

  .admin-list-toolbar,
  .admin-order-row,
  .pickup-admin-row {
    grid-template-columns: 1fr;
  }

  .admin-list-toolbar {
    display: grid;
    align-items: start;
  }

  .admin-list-toolbar label {
    width: 100%;
  }

  .admin-list-toolbar p {
    margin: 0;
  }

  .admin-order-status {
    width: 100%;
  }

  .admin-product-row {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
  }

  .admin-product-row > img {
    width: 56px;
    height: 56px;
  }

  .admin-product-metrics,
  .status-badge,
  .admin-product-actions {
    grid-column: 2;
    grid-row: auto;
  }

  .admin-product-actions {
    justify-content: flex-start;
  }

  .notice-item button {
    padding: 18px;
  }

  .notice-body {
    padding: 0 18px 20px;
  }
}
