:root {
  --rx-red: #e60012;
  --rx-bg: #f5f5f5;
  --rx-text: #222;
  --rx-muted: #999;
  --rx-line: #eee;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --pc-max: 1200px;
  --pc-nav-h: 56px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  color: var(--rx-text);
  background: var(--rx-bg);
  min-height: 100%;
}

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

img {
  max-width: 100%;
  vertical-align: middle;
}

.pc-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--rx-line);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.pc-nav__inner {
  max-width: var(--pc-max);
  margin: 0 auto;
  padding: 0 32px;
  height: var(--pc-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pc-nav__brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--rx-red);
  letter-spacing: 0.02em;
}
.pc-nav__brand:hover {
  opacity: 0.9;
}
.pc-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pc-nav__link {
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 15px;
  color: #444;
  transition: background 0.15s, color 0.15s;
}
.pc-nav__link:hover {
  background: #fafafa;
  color: var(--rx-red);
}
.pc-nav__link.is-active {
  color: var(--rx-red);
  font-weight: 600;
}

.page {
  max-width: var(--pc-max);
  margin: 0 auto;
  min-height: 100vh;
  padding: calc(var(--pc-nav-h) + 24px) 32px 48px;
  background: var(--rx-bg);
}
.page--cart {
  padding-bottom: calc(100px + var(--safe-bottom));
}
.page--checkout {
  padding-bottom: calc(100px + var(--safe-bottom));
}
.page--detail {
  padding-bottom: calc(88px + var(--safe-bottom));
}

.home-banner {
  padding: 14px 0 18px;
  font-size: 14px;
  color: #666;
  border-bottom: 1px solid var(--rx-line);
  margin-bottom: 16px;
}

.header {
  position: sticky;
  top: var(--pc-nav-h);
  z-index: 10;
  background: var(--rx-red);
  color: #fff;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  border-radius: 0;
  margin: 0 0 16px;
}
.header--sub {
  background: #fff;
  color: var(--rx-text);
  border: 1px solid var(--rx-line);
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.header__back {
  position: absolute;
  left: 12px;
  font-size: 20px;
  line-height: 1;
  color: inherit;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
}
.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.product-card__img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  background: #fafafa;
  display: block;
}
.product-card__body {
  padding: 6px 8px 10px;
}
.product-card__title {
  font-size: 14px;
  line-height: 1.35;
  height: 2.7em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-card__price {
  margin-top: 6px;
  color: var(--rx-red);
  font-weight: 700;
  font-size: 14px;
}
.product-card__price small {
  font-size: 12px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 20px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.btn--primary {
  background: var(--rx-red);
  color: #fff;
}
.btn--outline {
  background: #fff;
  color: var(--rx-text);
  border: 1px solid #333;
}
.btn--light {
  background: #ffe8ea;
  color: var(--rx-red);
}
.btn--block {
  width: 100%;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 28px;
  margin-bottom: 20px;
  align-items: start;
}
.detail-layout__media {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--rx-line);
}
.detail-layout__side {
  min-width: 0;
}
.detail-hero {
  background: #fff;
}
.detail-hero__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #fafafa;
  display: block;
}
.detail-info {
  background: #fff;
  padding: 16px 18px 18px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid var(--rx-line);
}
.detail-layout .detail-specs {
  margin-bottom: 0;
  border-radius: 10px;
}
@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
}
.detail-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.detail-price__now {
  color: var(--rx-red);
  font-size: 22px;
  font-weight: 700;
}
.detail-price__old {
  color: var(--rx-muted);
  font-size: 13px;
  text-decoration: line-through;
}
.detail-title {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.detail-badge {
  margin-top: 8px;
  font-size: 12px;
  color: #0a7;
  display: flex;
  align-items: center;
  gap: 4px;
}
.detail-specs {
  background: #fff;
  padding: 12px 14px;
  margin-bottom: 8px;
  font-size: 13px;
  border: 1px solid var(--rx-line);
}
.detail-specs__row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--rx-line);
}
.detail-specs__row:last-child {
  border-bottom: none;
}
.detail-tabs {
  background: #fff;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--rx-line);
  overflow: hidden;
}
.detail-tabs__nav {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--rx-line);
}
.detail-tabs__nav button {
  background: none;
  border: none;
  padding: 12px 0;
  font-size: 14px;
  color: var(--rx-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: inherit;
}
.detail-tabs__nav button.is-active {
  color: var(--rx-red);
  border-bottom-color: var(--rx-red);
  font-weight: 600;
}
.detail-rich {
  padding: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.detail-pics {
  margin-top: 20px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--rx-line);
  overflow: hidden;
}
.detail-pics__title {
  margin: 0;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--rx-line);
  color: var(--rx-text);
}
.detail-pics__img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

.detail-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--rx-line);
  padding: 10px 24px calc(10px + var(--safe-bottom));
  z-index: 20;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
}
.detail-bar__inner {
  max-width: var(--pc-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.detail-bar__icons {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #555;
  flex-shrink: 0;
}
.detail-bar__icons a:hover {
  color: var(--rx-red);
}
.detail-bar__btns {
  flex: 1;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  max-width: 420px;
  margin-left: auto;
}
.detail-bar__btns .btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 24px;
  font-size: 14px;
  white-space: nowrap;
  min-width: 7.5em;
}

.cart-header {
  background: #f0f0f0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.cart-header__title {
  flex: 1;
  text-align: center;
  font-weight: 600;
}
.cart-item {
  background: #fff;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-bottom: 1px solid var(--rx-line);
}
.cart-item__thumb {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.cart-item__mid {
  flex: 1;
  min-width: 0;
}
.cart-item__title {
  font-size: 14px;
  line-height: 1.35;
  max-height: 2.7em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.cart-item__spec {
  font-size: 12px;
  color: var(--rx-muted);
  margin-top: 4px;
}
.cart-item__price {
  color: var(--rx-red);
  font-weight: 700;
  margin-top: 6px;
}
.cart-item__stepper {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  align-self: flex-end;
}
.cart-item__stepper button {
  width: 32px;
  height: 30px;
  border: none;
  background: #fafafa;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.cart-item__stepper span {
  min-width: 36px;
  text-align: center;
  font-size: 14px;
}

.cart-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--rx-line);
  padding: 12px 32px calc(12px + var(--safe-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 20;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
}
.cart-footer__inner {
  max-width: var(--pc-max);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cart-footer__sum {
  font-size: 14px;
}
.cart-footer__sum strong {
  color: var(--rx-red);
  font-size: 18px;
}
.cart-footer__hint {
  font-size: 12px;
  color: var(--rx-muted);
}
.cart-footer .btn {
  min-width: 120px;
  border-radius: 22px;
}

.form {
  padding: 16px 0;
  max-width: 420px;
  margin: 0 auto;
}
.form__group {
  margin-bottom: 16px;
}
.form__group label {
  display: block;
  margin-bottom: 6px;
  color: #555;
  font-size: 13px;
}
.form__group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
}

.profile-top {
  background: linear-gradient(180deg, var(--rx-red) 0%, #c40010 100%);
  color: #fff;
  padding: 24px 16px 20px;
}
.profile-top__name {
  font-size: 18px;
  font-weight: 600;
}
.profile-top__phone {
  opacity: 0.9;
  margin-top: 6px;
  font-size: 14px;
}

.order-icons {
  background: #fff;
  margin: -16px 0 20px;
  border-radius: 12px;
  padding: 20px 12px;
  display: flex;
  justify-content: space-around;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.order-icons a {
  text-align: center;
  font-size: 11px;
  color: var(--rx-text);
  position: relative;
}
.order-icons__ic {
  font-size: 26px;
  display: block;
  margin-bottom: 6px;
}
.order-icons__badge {
  position: absolute;
  top: -4px;
  right: 8px;
  background: var(--rx-red);
  color: #fff;
  font-size: 10px;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  border-radius: 8px;
  padding: 0 4px;
}

.menu-list {
  margin: 0 0 16px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--rx-line);
  font-size: 15px;
}
.menu-list a:last-child {
  border-bottom: none;
}
.menu-list__arrow {
  color: #ccc;
}

.order-tabs {
  display: flex;
  background: #fff;
  border-bottom: 1px solid var(--rx-line);
  overflow-x: auto;
}
.order-tabs button {
  flex: 1;
  min-width: 64px;
  padding: 12px 8px;
  border: none;
  background: none;
  font-size: 13px;
  color: var(--rx-muted);
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.order-tabs button.is-active {
  color: var(--rx-red);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--rx-red);
}

.order-card {
  margin: 10px 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.order-card--clickable {
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}
.order-card--clickable:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.order-card--clickable .order-card__actions button,
.order-card--clickable .order-card__refund-entry {
  cursor: pointer;
}
.order-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  font-size: 13px;
  border-bottom: 1px solid var(--rx-line);
}
.order-card__head-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.order-card__to-detail {
  font-size: 12px;
  color: #666;
}
.order-card__to-detail:hover {
  color: var(--rx-red);
}
.order-card__status {
  color: var(--rx-red);
}
.order-card__goods {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  background: #fafafa;
}
.order-card__goods img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
}
.order-card__meta {
  flex: 1;
  min-width: 0;
}
.order-card__title {
  font-size: 14px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.order-card__tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 10px;
  background: var(--rx-red);
  color: #fff;
  padding: 1px 6px;
  border-radius: 2px;
}
.order-card__spec {
  font-size: 12px;
  color: var(--rx-muted);
  margin-top: 4px;
}
.order-card__line {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 12px;
}
.order-card__sum {
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.6;
}
.order-card__sum em {
  color: var(--rx-red);
  font-style: normal;
  font-weight: 700;
}
.order-card__actions {
  padding: 10px 12px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.order-card__actions .btn {
  padding: 6px 14px;
  font-size: 13px;
}

.od-status {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--rx-line);
  padding: 16px 18px;
  margin-bottom: 16px;
  text-align: center;
}
.od-status__label {
  font-size: 18px;
  font-weight: 700;
  color: var(--rx-red);
}
.od-status--unpaid .od-status__label {
  color: #c40010;
}
.od-status--done .od-status__label {
  color: #2a7;
}
.od-status__hint {
  margin-top: 8px;
  font-size: 13px;
  color: #888;
  line-height: 1.45;
}
.od-block {
  margin-bottom: 16px;
}
.od-mono {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  word-break: break-all;
  text-align: right;
  max-width: 65%;
}
.od-goods {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rx-line);
}
.od-goods:last-child {
  border-bottom: none;
}
.od-goods__img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.od-goods__body {
  flex: 1;
  min-width: 0;
}
.od-goods__title {
  font-size: 14px;
  line-height: 1.35;
}
.od-goods__spec {
  font-size: 12px;
  color: var(--rx-muted);
  margin-top: 4px;
}
.od-goods__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 13px;
  color: #666;
}
.od-goods__price {
  color: var(--rx-red);
  font-weight: 600;
}
.od-row-strong {
  font-weight: 600;
  border-bottom: none;
  padding-top: 4px;
}
.od-price {
  color: var(--rx-red);
  font-size: 16px;
}
.od-address-row {
  display: flex;
  gap: 12px;
  padding: 10px 0 0;
  font-size: 14px;
  border-top: 1px solid var(--rx-line);
  margin-top: 8px;
}
.od-address-label {
  color: #888;
  flex-shrink: 0;
}
.od-address-val {
  text-align: right;
  line-height: 1.5;
  word-break: break-word;
}
.od-pay-current {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
}
.od-pay-tag {
  font-size: 12px;
  font-weight: 500;
  background: #ffe8ea;
  color: var(--rx-red);
  padding: 2px 8px;
  border-radius: 4px;
}
.od-pay-note {
  margin: 0 0 12px;
  font-size: 13px;
  color: #888;
  line-height: 1.45;
}
.od-pay-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.od-pay-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--rx-line);
  font-size: 14px;
  color: #555;
}
.od-pay-opt--on {
  border-color: var(--rx-red);
  background: #fff8f8;
  color: var(--rx-text);
}
.od-pay-opt--off {
  opacity: 0.65;
}
.od-pay-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #666;
}
.od-pay-opt--on .od-pay-icon {
  background: #07c160;
  color: #fff;
}
.od-refund-detail {
  margin-top: 8px;
  padding: 10px 12px;
  background: #fff8f8;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.od-service__line {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #555;
}
.od-service__line a {
  color: var(--rx-red);
  font-weight: 600;
}
.od-service__btn {
  margin-top: 8px;
  display: inline-flex;
}

a.btn {
  text-decoration: none;
  box-sizing: border-box;
}

.logistics-hero {
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  border: 1px solid #fde8ea;
  border-radius: 10px;
  padding: 20px 18px;
  margin-bottom: 16px;
  text-align: center;
}
.logistics-hero__badge {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: var(--rx-red);
  letter-spacing: 0.05em;
}
.logistics-hero__text {
  margin: 12px 0 0;
  font-size: 14px;
  color: #666;
  line-height: 1.55;
}
.logistics-box h3 {
  margin: 0 0 8px;
}
.logistics-pending {
  color: var(--rx-red);
  font-weight: 600;
}
.logistics-track {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
}
.logistics-track__item {
  position: relative;
  padding-left: 22px;
  padding-bottom: 18px;
  border-left: 2px solid var(--rx-line);
  margin-left: 7px;
}
.logistics-track__item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.logistics-track__dot {
  position: absolute;
  left: -9px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #ddd;
}
.logistics-track__item--current .logistics-track__dot {
  background: var(--rx-red);
  box-shadow: 0 0 0 1px var(--rx-red);
}
.logistics-track__item--mute .logistics-track__status,
.logistics-track__item--mute .logistics-track__desc,
.logistics-track__item--mute .logistics-track__time {
  color: #aaa;
}
.logistics-track__status {
  font-size: 14px;
  font-weight: 600;
  color: var(--rx-text);
}
.logistics-track__desc {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
  line-height: 1.45;
}
.logistics-track__time {
  font-size: 12px;
  color: #999;
  margin-top: 6px;
}
.logistics-footnote {
  margin: 16px 0 0;
  font-size: 12px;
  color: #aaa;
  text-align: center;
  line-height: 1.5;
}

.checkout-box {
  margin: 0 0 16px;
  background: #fff;
  border-radius: 10px;
  padding: 14px;
}
.checkout-box h3 {
  margin: 0 0 10px;
  font-size: 15px;
}
.checkout-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--rx-line);
}
.checkout-row:last-child {
  border-bottom: none;
}

.checkout-address .form__group {
  margin-bottom: 14px;
}
.checkout-address .form__group:last-child {
  margin-bottom: 0;
}
.checkout-address .form__group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #555;
}
.checkout-address .form__group input,
.checkout-address .form__group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}
.checkout-address .form__group input:focus,
.checkout-address .form__group textarea:focus {
  outline: none;
  border-color: var(--rx-red);
}
.checkout-address textarea {
  min-height: 84px;
  resize: vertical;
  line-height: 1.45;
}

.order-card__ship {
  padding: 8px 12px;
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  background: #fafafa;
  border-top: 1px solid var(--rx-line);
}

.service-qr {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  margin: 0;
  border-radius: 12px;
  border: 1px solid var(--rx-line);
}
.service-qr img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}
.service-phone {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 600;
}
.service-phone a {
  color: var(--rx-red);
}

.site-footer {
  text-align: center;
  padding: 32px 12px 24px;
  font-size: 12px;
  color: #666;
  line-height: 1.8;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open {
  display: flex;
}
.modal__box {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  max-width: 320px;
  width: 100%;
  text-align: center;
}
.modal__box h3 {
  margin: 0 0 12px;
  font-size: 17px;
}
.modal__box p {
  margin: 0 0 16px;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}
.modal__actions {
  display: flex;
  gap: 10px;
}
.modal__actions .btn {
  flex: 1;
}

.modal__box--wide {
  max-width: 480px;
  text-align: left;
}
.refund-modal__hint {
  margin: 0 0 16px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}
.refund-form .form__group {
  margin-bottom: 14px;
}
.refund-form .form__group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #555;
}
.refund-form select,
.refund-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}
.refund-form select:focus,
.refund-form textarea:focus {
  outline: none;
  border-color: var(--rx-red);
}
.refund-form textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.45;
}
.refund-form__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}

.order-card__tools {
  padding: 8px 12px;
  border-top: 1px solid var(--rx-line);
  background: #fff;
}
.order-card__refund-entry {
  padding: 0;
  border: none;
  background: none;
  font-size: 13px;
  color: var(--rx-red);
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}
.order-card__refund-entry:hover {
  opacity: 0.85;
}
.order-card__refund-note {
  padding: 10px 12px;
  font-size: 13px;
  color: #555;
  line-height: 1.55;
  background: #fff8f8;
  border-top: 1px solid #fde8ea;
}
.order-card__refund-note-title {
  font-weight: 600;
  color: var(--rx-red);
  margin-bottom: 6px;
}
.order-card__refund-label {
  color: #888;
}
.order-card__refund-detail {
  margin-top: 6px;
  white-space: pre-wrap;
  word-break: break-word;
}
.order-card__status-tip {
  font-size: 13px;
  color: #888;
}

.radio {
  width: 18px;
  height: 18px;
  accent-color: var(--rx-red);
}

.empty-tip {
  text-align: center;
  padding: 48px 20px;
  color: var(--rx-muted);
}
.empty-tip a {
  color: var(--rx-red);
}

@media (max-width: 768px) {
  .pc-nav__inner {
    padding: 0 16px;
  }
  .pc-nav__brand {
    font-size: 17px;
  }
  .pc-nav__link {
    padding: 8px 12px;
    font-size: 14px;
  }
  .page {
    padding-left: 16px;
    padding-right: 16px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
