/* ==========================================================================
   极昼 TEKLA — inner pages, overlays & admin
   ========================================================================== */

/* ==========================================================================
   Shared page chrome
   ========================================================================== */

.page-shell {
  min-height: 70vh;
  padding-top: 40px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
  font-size: 9.5px;
  color: var(--muted-light);
}

.breadcrumbs a {
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs svg {
  width: 11px;
  height: 11px;
  opacity: 0.6;
}

.breadcrumbs span[aria-current] {
  color: var(--ink-soft);
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 27px;
}

.page-head__copy {
  max-width: 670px;
}

.page-title {
  font-size: clamp(34px, 4vw, 49px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.045em;
  color: var(--ink-deep);
}

.page-title .gradient-text {
  background: linear-gradient(112deg, #4e4fce 2%, #8b74eb 55%, #50badb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-lede {
  max-width: 530px;
  margin-top: 11px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--muted);
}

.page-head__aside {
  flex: none;
  padding-bottom: 5px;
}

.page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.page-back:hover {
  color: var(--primary);
}

.page-back svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   Product detail
   ========================================================================== */

.product-main {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, 0.93fr);
  gap: 22px;
  align-items: start;
}

.product-visual-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.product-visual-column .spec-grid {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 0;
}

.product-visual-column .spec-item {
  padding: 13px 16px;
  border-radius: 13px;
}

.purchase-assurance {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 10px 28px rgba(49, 78, 130, 0.05);
  backdrop-filter: blur(16px);
}

.purchase-assurance__head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.purchase-assurance__icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: none;
  border-radius: 9px;
  color: var(--primary);
  background: rgba(92, 90, 216, 0.07);
}

.purchase-assurance__icon svg {
  width: 15px;
  height: 15px;
}

.purchase-assurance__head strong {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.35;
}

.purchase-assurance__head div > span {
  display: block;
  margin-top: 1px;
  font-size: 8px;
  color: var(--muted-light);
}

.purchase-assurance__live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 3px 6px;
  border-radius: 4px;
  color: #168a6d;
  background: rgba(59, 192, 154, 0.09);
  font-family: var(--font-display);
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.purchase-assurance__live i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--mint);
}

.purchase-assurance__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.purchase-assurance__grid strong {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.purchase-assurance__grid span {
  display: block;
  margin-top: 1px;
  font-size: 7.5px;
  color: var(--muted-light);
}

.showcase {
  position: relative;
  padding: 14px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.52);
  box-shadow:
    0 22px 60px rgba(49, 78, 130, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
}

.showcase__media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #081a34;
  aspect-ratio: 16 / 10.4;
}

.showcase__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 19, 40, 0.1), transparent 46%, rgba(6, 19, 40, 0.36));
}

.showcase__topline {
  position: absolute;
  z-index: 2;
  inset: 16px 16px auto 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.showcase__badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.showcase__corner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 7px;
  color: rgba(236, 248, 255, 0.92);
  background: rgba(5, 22, 43, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.17);
  backdrop-filter: blur(10px);
  font-family: var(--font-display);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.showcase__corner i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #78e3c8;
  box-shadow: 0 0 0 3px rgba(120, 227, 200, 0.14);
}

.showcase__float {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 11px;
  color: #eaf6ff;
  background: rgba(5, 22, 43, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
}

.showcase__float svg {
  width: 14px;
  height: 14px;
  color: #77e2c7;
}

.showcase__float div {
  line-height: 1.3;
}

.showcase__float strong {
  display: block;
  font-size: 9px;
  font-weight: 600;
}

.showcase__float span {
  font-family: var(--font-display);
  font-size: 6.5px;
  color: rgba(219, 237, 255, 0.55);
  letter-spacing: 0.06em;
}

.showcase__caption {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 8px 7px;
}

.showcase__caption-main {
  min-width: 0;
}

.showcase__caption-kicker {
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--primary);
}

.showcase__caption h2 {
  margin-top: 3px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.showcase__caption p {
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  color: var(--muted);
}

.showcase__stats {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-left: auto;
  flex: none;
}

.showcase__stat {
  text-align: right;
}

.showcase__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.showcase__stat span {
  font-size: 8px;
  color: var(--muted-light);
}

.showcase__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0 8px 7px;
}

.showcase__chips span {
  padding: 4px 7px;
  border-radius: 5px;
  font-size: 8px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.purchase-card {
  position: sticky;
  top: 96px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(250, 252, 255, 0.7));
  box-shadow:
    0 26px 64px rgba(49, 78, 130, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px) saturate(140%);
}

.purchase-card__eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-category {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary);
  text-transform: uppercase;
}

.product-category::before {
  content: "";
  width: 12px;
  height: 1px;
  background: var(--primary);
}

.version-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 5px;
  background: rgba(92, 90, 216, 0.06);
  border: 1px solid rgba(92, 90, 216, 0.08);
  font-family: var(--font-display);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.purchase-title {
  margin-top: 9px;
  font-size: clamp(29px, 3vw, 37px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.045em;
  color: var(--ink-deep);
}

.purchase-subtitle {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.75;
  color: var(--muted);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  font-size: 9px;
  color: var(--muted-light);
}

.stars {
  display: flex;
  gap: 1px;
  color: #f2b64f;
}

.stars svg {
  width: 10px;
  height: 10px;
}

.product-rating strong {
  font-family: var(--font-display);
  font-size: 9px;
  color: var(--ink-soft);
}

.product-price-row {
  display: flex;
  align-items: flex-end;
  gap: 11px;
  margin-top: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-display);
  color: var(--pink);
}

.product-price__currency {
  font-size: 16px;
  font-weight: 600;
  transform: translateY(-2px);
}

.product-price__amount {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.product-price__meta {
  padding-bottom: 4px;
  font-size: 8.5px;
  line-height: 1.5;
  color: var(--muted-light);
}

.product-price__original {
  text-decoration: line-through;
  opacity: 0.7;
}

.product-price__meta strong {
  display: block;
  font-size: 8.5px;
  font-weight: 600;
  color: var(--mint);
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  margin-top: 14px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 9.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.feature-list svg {
  width: 13px;
  height: 13px;
  flex: none;
  margin-top: 1px;
  color: var(--mint);
}

.buy-form {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.field {
  margin-bottom: 11px;
}

.field:last-child {
  margin-bottom: 0;
}

.field__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.field label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-soft);
}

.required-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--pink);
}

.field__optional {
  font-size: 8px;
  font-weight: 500;
  color: var(--muted-light);
}

.field__hint {
  font-size: 8px;
  color: var(--muted-light);
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap > svg {
  position: absolute;
  left: 13px;
  width: 15px;
  height: 15px;
  color: var(--muted-light);
  pointer-events: none;
  z-index: 1;
}

.input {
  width: 100%;
  height: 43px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1px solid rgba(92, 118, 161, 0.18);
  background: rgba(248, 251, 255, 0.82);
  outline: 0;
  font-size: 11.5px;
  color: var(--ink);
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.input::placeholder {
  color: #9aaac0;
}

.input:hover {
  border-color: rgba(92, 118, 161, 0.28);
}

.input:focus {
  border-color: rgba(92, 90, 216, 0.48);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(92, 90, 216, 0.07);
}

.input.has-icon {
  padding-left: 36px;
}

.input.has-trailing {
  padding-right: 40px;
}

.input.is-invalid {
  border-color: rgba(236, 89, 121, 0.55);
  background: rgba(255, 247, 250, 0.92);
}

.password-toggle {
  position: absolute;
  right: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: var(--muted-light);
  transition: 0.2s var(--ease);
}

.password-toggle:hover {
  color: var(--ink);
  background: rgba(92, 90, 216, 0.06);
}

.password-toggle svg {
  width: 14px;
  height: 14px;
}

.field-error {
  display: block;
  min-height: 0;
  margin-top: 4px;
  font-size: 8.5px;
  color: #dc5471;
}

.field-error:empty {
  display: none;
}

.quantity-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stepper {
  display: inline-flex;
  align-items: center;
  flex: none;
  height: 38px;
  border-radius: 9px;
  border: 1px solid rgba(92, 118, 161, 0.18);
  background: rgba(248, 251, 255, 0.82);
  overflow: hidden;
}

.stepper button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 100%;
  color: var(--muted);
  transition: background 0.2s var(--ease);
}

.stepper button:hover {
  color: var(--ink);
  background: rgba(92, 90, 216, 0.06);
}

.stepper button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.stepper button svg {
  width: 12px;
  height: 12px;
}

.stepper input {
  width: 34px;
  border: 0;
  outline: 0;
  background: transparent;
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
}

.quantity-meta {
  font-size: 8.5px;
  line-height: 1.5;
  color: var(--muted-light);
}

.quantity-meta strong {
  display: block;
  font-size: 8.5px;
  font-weight: 500;
  color: var(--mint);
}

.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.payment-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(92, 118, 161, 0.17);
  background: rgba(248, 251, 255, 0.66);
  cursor: pointer;
  transition: 0.2s var(--ease);
}

.payment-option:hover {
  border-color: rgba(92, 90, 216, 0.28);
  background: #fff;
}

.payment-option:has(input:checked),
.payment-option.is-selected {
  border-color: rgba(92, 90, 216, 0.54);
  background: rgba(92, 90, 216, 0.055);
  box-shadow: 0 0 0 3px rgba(92, 90, 216, 0.05);
}

.payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-logo {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 7px;
  color: white;
  font-size: 11px;
  font-weight: 700;
}

.payment-logo--alipay {
  background: linear-gradient(135deg, #3c9cff, #2277f2);
}

.payment-logo--wechat {
  background: linear-gradient(135deg, #4bd69c, #24b979);
}

.payment-option__text {
  min-width: 0;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-soft);
}

.payment-option__check {
  width: 13px;
  height: 13px;
  margin-left: auto;
  border-radius: 50%;
  border: 1px solid rgba(92, 118, 161, 0.28);
  background: rgba(255, 255, 255, 0.6);
  transition: 0.2s var(--ease);
}

.payment-option:has(input:checked) .payment-option__check,
.payment-option.is-selected .payment-option__check {
  border: 3px solid var(--primary);
  background: #fff;
}

.payment-option:has(input:focus-visible) {
  outline: 2px solid rgba(92, 90, 216, 0.65);
  outline-offset: 2px;
}

.success-close {
  position: absolute;
  z-index: 3;
  top: 15px;
  right: 15px;
  margin: 0;
}

.order-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 13px;
  padding: 11px 12px;
  border-radius: 11px;
  background: rgba(241, 245, 253, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  color: var(--muted);
}

.summary-row span:last-child {
  font-family: var(--font-display);
  font-size: 9px;
  color: var(--ink-soft);
}

.summary-row--total {
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px dashed rgba(92, 118, 161, 0.18);
  font-size: 10px;
  color: var(--ink);
}

.summary-row--total span:last-child {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--pink);
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 10px;
  font-size: 8px;
  line-height: 1.7;
  color: var(--muted-light);
}

.form-note svg {
  width: 11px;
  height: 11px;
  flex: none;
  margin-top: 1px;
}

.demo-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 9px;
  border-radius: 8px;
  border: 1px solid rgba(230, 165, 70, 0.17);
  background: rgba(255, 246, 228, 0.6);
  font-size: 8px;
  line-height: 1.65;
  color: #97703a;
}

.demo-note svg {
  width: 11px;
  height: 11px;
  flex: none;
  margin-top: 1px;
}

.purchase-submit {
  margin-top: 11px;
  min-height: 49px;
}

/* Detail below */
.detail-section {
  margin-top: 62px;
}

.detail-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.detail-heading h2 {
  font-size: 29px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.detail-heading p {
  max-width: 410px;
  font-size: 10.5px;
  line-height: 1.8;
  color: var(--muted);
  text-align: right;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 18px;
}

.workspace-card {
  overflow: hidden;
  padding: 10px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 48px rgba(48, 77, 128, 0.1);
}

.workspace-card img {
  width: 100%;
  height: auto;
  border-radius: 17px;
}

.workspace-card__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 8px 4px;
  font-size: 8.5px;
  color: var(--muted-light);
}

.workspace-card__caption span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.workspace-card__caption i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mint);
}

.detail-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-aside__card {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.52);
}

.detail-aside__card--dark {
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(87, 200, 232, 0.2), transparent 40%),
    linear-gradient(145deg, #0c1b35, #132546);
  border-color: rgba(255, 255, 255, 0.13);
}

.detail-aside__card h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.detail-aside__card p {
  margin-top: 6px;
  font-size: 9.5px;
  line-height: 1.8;
  color: var(--muted);
}

.detail-aside__card--dark p {
  color: rgba(205, 222, 247, 0.6);
}

.detail-aside__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 12px;
}

.detail-aside__list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 9px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.detail-aside__list svg {
  width: 12px;
  height: 12px;
  flex: none;
  margin-top: 1px;
  color: var(--mint);
}

.detail-aside__card--dark .detail-aside__list li {
  color: rgba(220, 234, 255, 0.75);
}

.detail-aside__card--dark .detail-aside__list svg {
  color: #7fe4cd;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.spec-item {
  padding: 17px 18px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.45);
}

.spec-item span {
  display: block;
  font-family: var(--font-display);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted-light);
  text-transform: uppercase;
}

.spec-item strong {
  display: block;
  margin-top: 7px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
}

.related-section {
  padding-top: 70px;
}

/* ==========================================================================
   Order lookup
   ========================================================================== */

.order-page {
  max-width: 960px;
  margin: 0 auto;
}

.order-page__hero {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}

.order-page__hero .kicker {
  justify-content: center;
}

.order-page__hero .kicker::after {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(92, 90, 216, 0.18), var(--primary));
}

.order-page__hero .page-title {
  margin-top: 2px;
}

.order-page__hero p {
  max-width: 490px;
  margin: 11px auto 0;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

.lookup-card {
  position: relative;
  padding: 26px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.86), rgba(250, 252, 255, 0.64));
  box-shadow:
    0 22px 58px rgba(49, 78, 130, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
}

.lookup-card::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 26px;
  right: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(92, 90, 216, 0.2), transparent);
}

.lookup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 19px;
}

.lookup-header__title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
}

.lookup-header__title svg {
  width: 17px;
  height: 17px;
  color: var(--primary);
}

.lookup-header p {
  font-size: 9px;
  color: var(--muted-light);
}

.lookup-form {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr auto;
  gap: 10px;
  align-items: end;
}

.lookup-form .field {
  margin: 0;
}

.lookup-form .input {
  height: 47px;
  border-radius: 11px;
}

.lookup-form .btn {
  height: 47px;
  border-radius: 11px;
  padding-inline: 24px;
}

.lookup-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(96, 125, 169, 0.1);
}

.lookup-help {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8.5px;
  color: var(--muted-light);
}

.lookup-help svg {
  width: 12px;
  height: 12px;
}

.demo-fill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  padding: 5px 9px;
  border-radius: 6px;
  border: 1px solid rgba(92, 90, 216, 0.12);
  background: rgba(92, 90, 216, 0.045);
  font-size: 8.5px;
  font-weight: 600;
  color: var(--primary);
  transition: 0.2s var(--ease);
}

.demo-fill:hover {
  background: rgba(92, 90, 216, 0.09);
}

.demo-fill svg {
  width: 11px;
  height: 11px;
}

.lookup-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid rgba(224, 91, 121, 0.18);
  background: rgba(255, 244, 247, 0.75);
  font-size: 9.5px;
  line-height: 1.65;
  color: #b64862;
}

.lookup-error svg {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 1px;
}

.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 32px 0 14px;
  padding: 0 4px;
}

.results-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
}

.results-head h2 span {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 5px;
  background: rgba(92, 90, 216, 0.08);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 8px;
}

.results-head p {
  font-size: 9px;
  color: var(--muted-light);
}

.order-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#lookup-results {
  scroll-margin-top: 100px;
}

section[id] {
  scroll-margin-top: 100px;
}

.product-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.order-card {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 12px 34px rgba(49, 78, 130, 0.07);
  backdrop-filter: blur(16px);
  animation: riseIn 0.55s var(--ease-out) both;
}

.order-card:nth-child(2) { animation-delay: 0.06s; }
.order-card:nth-child(3) { animation-delay: 0.12s; }

.order-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(96, 125, 169, 0.1);
  background: rgba(247, 250, 255, 0.66);
}

.order-number {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.025em;
  color: var(--ink);
}

.copy-button {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 6px;
  color: var(--muted-light);
  transition: 0.2s var(--ease);
}

.copy-button:hover {
  color: var(--primary);
  background: rgba(92, 90, 216, 0.07);
}

.copy-button svg {
  width: 12px;
  height: 12px;
}

.order-date {
  font-size: 8.5px;
  color: var(--muted-light);
}

.order-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 8.5px;
  font-weight: 600;
}

.order-status::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.order-status--delivered {
  color: #168a6d;
  background: rgba(59, 192, 154, 0.1);
}

.order-status--refunded {
  color: #a7803f;
  background: rgba(230, 165, 70, 0.1);
}

.order-card__main {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 20px;
  padding: 17px 18px;
  align-items: center;
}

.order-cover {
  overflow: hidden;
  border-radius: 11px;
  aspect-ratio: 16 / 10;
  background: #0a1b36;
}

.order-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.order-info__kicker {
  font-family: var(--font-display);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary);
}

.order-info h3 {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 7px;
  font-size: 8.5px;
  color: var(--muted-light);
}

.order-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.order-meta svg {
  width: 10px;
  height: 10px;
}

.order-pricing {
  text-align: right;
  flex: none;
}

.order-pricing strong {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--pink);
}

.order-pricing span {
  font-size: 8px;
  color: var(--muted-light);
}

.order-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0 18px 16px;
}

.timeline-item {
  position: relative;
  padding-top: 16px;
  padding-right: 12px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(92, 90, 216, 0.16);
}

.timeline-item:last-child::before {
  right: auto;
  width: 100%;
}

.timeline-item__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.95);
  background: var(--primary);
  box-shadow: 0 0 0 2px rgba(92, 90, 216, 0.18);
}

.timeline-item strong {
  display: block;
  font-size: 8.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.timeline-item span {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 7px;
  color: var(--muted-light);
}

.order-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px 17px;
}

.order-actions .btn {
  min-height: 34px;
  font-size: 9.5px;
  padding-inline: 13px;
}

.order-actions .btn svg {
  width: 12px;
  height: 12px;
}

.order-actions__note {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  color: var(--muted-light);
}

.order-actions__note svg {
  width: 11px;
  height: 11px;
}

.order-support {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 17px 19px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.45);
}

.order-support__icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  flex: none;
  border-radius: 11px;
  color: var(--primary);
  background: rgba(92, 90, 216, 0.075);
}

.order-support__icon svg {
  width: 17px;
  height: 17px;
}

.order-support strong {
  display: block;
  font-size: 10px;
  font-weight: 600;
}

.order-support p {
  margin-top: 2px;
  font-size: 8.5px;
  color: var(--muted-light);
}

.order-support .btn {
  margin-left: auto;
  flex: none;
  min-height: 34px;
  font-size: 9.5px;
}

.order-empty {
  margin-top: 28px;
  padding: 42px 20px;
  border-radius: 22px;
  border: 1px dashed rgba(95, 124, 169, 0.25);
  background: rgba(255, 255, 255, 0.32);
  text-align: center;
}

.order-empty__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 15px;
  color: var(--primary);
  background: rgba(92, 90, 216, 0.07);
}

.order-empty__icon svg {
  width: 21px;
  height: 21px;
}

.order-empty h3 {
  font-size: 14px;
  font-weight: 600;
}

.order-empty p {
  max-width: 380px;
  margin: 6px auto 0;
  font-size: 9.5px;
  line-height: 1.8;
  color: var(--muted-light);
}

.lookup-tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.lookup-tip {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 13px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.3);
}

.lookup-tip__icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  color: var(--primary);
  background: rgba(92, 90, 216, 0.06);
}

.lookup-tip__icon svg {
  width: 12px;
  height: 12px;
}

.lookup-tip strong {
  display: block;
  font-size: 9px;
  font-weight: 600;
}

.lookup-tip span {
  display: block;
  margin-top: 2px;
  font-size: 8px;
  line-height: 1.55;
  color: var(--muted-light);
}

/* ==========================================================================
   Modals
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
}

.modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 17, 36, 0.44);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.28s var(--ease);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(580px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  background:
    radial-gradient(circle at 100% 0%, rgba(235, 240, 255, 0.8), transparent 34%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
  box-shadow:
    0 42px 120px rgba(6, 19, 43, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  animation: modalIn 0.42s var(--ease-out);
}

.modal__panel--wide {
  width: min(690px, 100%);
}

.modal__panel--success {
  width: min(510px, 100%);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 23px 17px;
  border-bottom: 1px solid rgba(96, 125, 169, 0.11);
}

.modal__icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  flex: none;
  border-radius: 11px;
  color: var(--primary);
  background: rgba(92, 90, 216, 0.08);
  border: 1px solid rgba(92, 90, 216, 0.08);
}

.modal__icon svg {
  width: 18px;
  height: 18px;
}

.modal__title {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.modal__subtitle {
  margin-top: 2px;
  font-size: 8.5px;
  color: var(--muted-light);
}

.modal__close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: auto;
  flex: none;
  border-radius: 9px;
  color: var(--muted-light);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: 0.2s var(--ease);
}

.modal__close:hover {
  color: var(--ink);
  background: #fff;
}

.modal__close svg {
  width: 15px;
  height: 15px;
}

.modal__body {
  padding: 19px 23px 22px;
}

.complaint-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 13px;
  border-radius: 11px;
  border: 1px solid rgba(230, 165, 70, 0.16);
  background: rgba(255, 248, 234, 0.7);
}

.complaint-notice__icon {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex: none;
  border-radius: 6px;
  color: #c08d3d;
  background: rgba(230, 165, 70, 0.1);
}

.complaint-notice__icon svg {
  width: 12px;
  height: 12px;
}

.complaint-notice p {
  font-size: 9px;
  line-height: 1.75;
  color: #8d6d39;
}

.complaint-notice strong {
  font-weight: 600;
  color: #71552b;
}

.complaint-notice .qq-link,
.order-support .qq-link {
  color: #2b72d2;
  white-space: nowrap;
}

.complaint-notice .qq-link:hover,
.order-support .qq-link:hover {
  color: var(--primary);
}

.modal__body .input {
  height: 44px;
  background: rgba(248, 251, 255, 0.92);
}

.modal__body .field {
  margin-bottom: 14px;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  width: 100%;
  height: 44px;
  padding: 0 36px 0 13px;
  border-radius: 10px;
  border: 1px solid rgba(92, 118, 161, 0.18);
  background: rgba(248, 251, 255, 0.92);
  appearance: none;
  outline: 0;
  font-size: 11px;
  color: var(--ink);
  transition: 0.2s var(--ease);
}

.select-wrap select:focus {
  border-color: rgba(92, 90, 216, 0.48);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(92, 90, 216, 0.07);
}

.select-wrap svg {
  position: absolute;
  right: 13px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  color: var(--muted-light);
  pointer-events: none;
}

.textarea-wrap {
  position: relative;
}

.textarea {
  width: 100%;
  min-height: 112px;
  padding: 11px 13px 24px;
  resize: vertical;
  border-radius: 10px;
  border: 1px solid rgba(92, 118, 161, 0.18);
  background: rgba(248, 251, 255, 0.92);
  outline: 0;
  font-size: 11px;
  line-height: 1.75;
  transition: 0.2s var(--ease);
}

.textarea:focus {
  border-color: rgba(92, 90, 216, 0.48);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(92, 90, 216, 0.07);
}

.textarea.is-invalid {
  border-color: rgba(236, 89, 121, 0.55);
}

.char-count {
  position: absolute;
  right: 11px;
  bottom: 8px;
  font-family: var(--font-display);
  font-size: 7.5px;
  color: var(--muted-light);
  pointer-events: none;
}

.modal__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 23px 23px;
}

.modal__foot .btn {
  min-height: 44px;
}

.modal__foot-note {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  color: var(--muted-light);
}

.modal__foot-note svg {
  width: 11px;
  height: 11px;
}

.modal-success {
  text-align: center;
  padding: 31px 28px 27px;
}

.success-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 17px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #49c9a5, #5ccfe3);
  box-shadow:
    0 16px 35px rgba(72, 190, 164, 0.28),
    0 0 0 9px rgba(73, 201, 165, 0.07);
}

.success-mark svg {
  width: 28px;
  height: 28px;
}

.success-mark::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px solid rgba(73, 201, 165, 0.2);
  animation: successPulse 2.5s ease-out infinite;
}

@keyframes successPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { opacity: 0; }
}

.modal-success h2 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.modal-success > p {
  max-width: 360px;
  margin: 7px auto 0;
  font-size: 10.5px;
  line-height: 1.75;
  color: var(--muted);
}

.success-order {
  margin-top: 20px;
  padding: 15px 16px;
  border-radius: 13px;
  border: 1px solid rgba(96, 125, 169, 0.11);
  background: rgba(245, 249, 255, 0.8);
  text-align: left;
}

.success-order__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 9px;
  color: var(--muted);
}

.success-order__row + .success-order__row {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(96, 125, 169, 0.14);
}

.success-order__row strong {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: none;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.success-order__row strong svg {
  width: 11px;
  height: 11px;
  flex: none;
  color: var(--muted-light);
}

.success-order__row strong.copy-target {
  cursor: pointer;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 17px;
}

.success-actions .btn {
  min-height: 44px;
}

.success-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 13px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(230, 165, 70, 0.07);
  border: 1px solid rgba(230, 165, 70, 0.12);
  font-size: 8px;
  line-height: 1.65;
  color: #94703b;
  text-align: left;
}

.success-note svg {
  width: 11px;
  height: 11px;
  flex: none;
  margin-top: 1px;
}

/* ==========================================================================
   Toasts
   ========================================================================== */

.toast-stack {
  position: fixed;
  z-index: 200;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: min(360px, calc(100vw - 36px));
  padding: 10px 13px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 15px 38px rgba(23, 43, 78, 0.18);
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.45;
  pointer-events: auto;
  animation: toastIn 0.32s var(--ease-out);
  backdrop-filter: blur(12px);
}

.toast.is-out {
  animation: toastOut 0.25s var(--ease) forwards;
}

.toast__icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 7px;
}

.toast__icon svg {
  width: 13px;
  height: 13px;
}

.toast--success .toast__icon {
  color: #168a6d;
  background: rgba(59, 192, 154, 0.12);
}

.toast--error .toast__icon {
  color: #c64863;
  background: rgba(224, 91, 121, 0.11);
}

.toast--info .toast__icon {
  color: var(--primary);
  background: rgba(92, 90, 216, 0.08);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
  to { opacity: 0; transform: translateY(8px) scale(0.97); }
}

/* ==========================================================================
   Admin — login
   ========================================================================== */

.admin-login-page {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: 50px 0 70px;
}

.login-card {
  width: min(430px, 100%);
  padding: 33px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 255, 0.7));
  box-shadow:
    0 30px 80px rgba(38, 65, 113, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
}

.login-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  color: var(--primary);
  background: rgba(92, 90, 216, 0.08);
  border: 1px solid rgba(92, 90, 216, 0.08);
}

.login-card__icon svg {
  width: 22px;
  height: 22px;
}

.login-card h1 {
  margin-top: 17px;
  font-size: 25px;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.login-card > p {
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.75;
  color: var(--muted);
}

.login-form {
  margin-top: 21px;
}

.login-form .field {
  margin-bottom: 13px;
}

.login-form .input {
  height: 46px;
}

.login-form .btn {
  min-height: 47px;
  margin-top: 4px;
}

/* ==========================================================================
   Admin — dashboard
   ========================================================================== */

.admin-shell {
  min-height: 100vh;
  padding: 18px 0 50px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding: 0 14px 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 32px rgba(49, 78, 130, 0.08);
  backdrop-filter: blur(22px);
}

.admin-topbar__brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.admin-topbar__brand img {
  width: 32px;
  height: 32px;
}

.admin-topbar__brand-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.admin-topbar__brand-name span {
  margin-left: 4px;
  font-family: var(--font-display);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--primary);
}

.admin-topbar__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border-radius: 5px;
  background: rgba(59, 192, 154, 0.09);
  border: 1px solid rgba(59, 192, 154, 0.12);
  font-size: 8px;
  font-weight: 600;
  color: #178d70;
}

.admin-topbar__badge i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--mint);
}

.admin-topbar__right {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}

.admin-topbar__user {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px 5px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.85);
  font-size: 9px;
  color: var(--muted);
}

.admin-topbar__avatar {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b82ff, #6a5ce8);
  color: #fff;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 700;
}

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

.admin-side {
  position: sticky;
  top: 18px;
  padding: 13px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px);
}

.admin-side__label {
  padding: 8px 9px 7px;
  font-family: var(--font-display);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted-light);
}

.admin-tabs {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.admin-tab {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  transition: 0.2s var(--ease);
}

.admin-tab:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
}

.admin-tab.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 4px 12px rgba(49, 78, 130, 0.08);
  font-weight: 600;
}

.admin-tab svg {
  width: 14px;
  height: 14px;
  color: var(--muted-light);
}

.admin-tab.is-active svg {
  color: var(--primary);
}

.admin-tab__count {
  margin-left: auto;
  display: inline-grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 4px;
  background: rgba(92, 90, 216, 0.08);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 7px;
  font-weight: 700;
}

.admin-side__foot {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(96, 125, 169, 0.1);
}

.admin-side__foot a,
.admin-side__foot button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 9px;
  color: var(--muted);
}

.admin-side__foot a:hover,
.admin-side__foot button:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
}

.admin-side__foot svg {
  width: 13px;
  height: 13px;
}

.admin-main {
  min-width: 0;
}

.admin-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 4px 2px 17px;
}

.admin-head h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.admin-head p {
  margin-top: 3px;
  font-size: 9px;
  color: var(--muted-light);
}

.admin-head__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-refresh {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid rgba(95, 124, 169, 0.15);
  background: rgba(255, 255, 255, 0.6);
  font-size: 8.5px;
  color: var(--muted);
}

.admin-refresh:hover {
  color: var(--ink);
  background: #fff;
}

.admin-refresh svg {
  width: 12px;
  height: 12px;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 8px 24px rgba(49, 78, 130, 0.05);
}

.stat-card--dark {
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(92, 201, 232, 0.24), transparent 45%),
    linear-gradient(135deg, #3d3eb5, #6158db 58%, #4a46c4);
  border-color: rgba(255, 255, 255, 0.16);
}

.stat-card__label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  color: var(--muted-light);
}

.stat-card--dark .stat-card__label {
  color: rgba(230, 238, 255, 0.62);
}

.stat-card__label svg {
  width: 11px;
  height: 11px;
}

.stat-card__value {
  margin-top: 9px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
}

.stat-card__value small {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.6;
  letter-spacing: 0;
}

.stat-card__foot {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-size: 7.5px;
  color: var(--muted-light);
}

.stat-card--dark .stat-card__foot {
  color: rgba(230, 238, 255, 0.5);
}

.stat-card__trend {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 4px;
  border-radius: 3px;
  background: rgba(59, 192, 154, 0.1);
  color: #178d70;
  font-weight: 600;
}

.stat-card--dark .stat-card__trend {
  background: rgba(140, 242, 209, 0.13);
  color: #a6f3dc;
}

.stat-card__icon {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: rgba(92, 90, 216, 0.7);
  background: rgba(92, 90, 216, 0.06);
}

.stat-card--dark .stat-card__icon {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.stat-card__icon svg {
  width: 13px;
  height: 13px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 12px;
  margin-top: 12px;
}

.panel {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 8px 24px rgba(49, 78, 130, 0.05);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(96, 125, 169, 0.09);
}

.panel__head h2 {
  font-size: 11px;
  font-weight: 600;
}

.panel__head p {
  font-size: 7.5px;
  color: var(--muted-light);
}

.panel__head a {
  font-size: 8px;
  font-weight: 600;
  color: var(--primary);
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 153px;
  padding: 20px 17px 14px;
}

.bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  height: 100%;
}

.bar__track {
  position: relative;
  width: 100%;
  max-width: 34px;
  flex: 1;
  display: flex;
  align-items: flex-end;
  border-radius: 5px 5px 2px 2px;
  background: rgba(92, 90, 216, 0.045);
}

.bar__fill {
  width: 100%;
  min-height: 3px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #8a7bf2, #5b5bda);
  transition: height 0.7s var(--ease-out);
}

.bar:last-child .bar__fill {
  background: linear-gradient(180deg, #64d8ed, #4bbbd7);
}

.bar__label {
  font-family: var(--font-display);
  font-size: 6.5px;
  color: var(--muted-light);
}

.bar__value {
  font-family: var(--font-display);
  font-size: 7px;
  font-weight: 600;
  color: var(--muted);
}

.recent-list {
  display: flex;
  flex-direction: column;
  padding: 5px 0;
}

.recent-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 16px;
}

.recent-item + .recent-item {
  border-top: 1px solid rgba(96, 125, 169, 0.07);
}

.recent-item__dot {
  width: 6px;
  height: 6px;
  margin-top: 4px;
  flex: none;
  border-radius: 50%;
  background: var(--amber);
}

.recent-item__dot--open {
  background: #ef6b87;
}

.recent-item__dot--resolved {
  background: var(--mint);
}

.recent-item__body {
  min-width: 0;
}

.recent-item__body strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.recent-item__body span {
  display: block;
  margin-top: 2px;
  font-size: 7px;
  color: var(--muted-light);
}

.recent-item__meta {
  margin-left: auto;
  flex: none;
  font-size: 7px;
  color: var(--muted-light);
}

.admin-section {
  margin-top: 12px;
}

.table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.admin-table th {
  padding: 10px 16px;
  background: rgba(247, 250, 255, 0.7);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: left;
  color: var(--muted-light);
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-table td {
  padding: 11px 16px;
  border-top: 1px solid rgba(96, 125, 169, 0.075);
  font-size: 8.5px;
  color: var(--ink-soft);
  vertical-align: middle;
}

.admin-table td strong {
  font-family: var(--font-display);
  font-size: 8.5px;
  font-weight: 600;
  color: var(--ink);
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.34);
}

.admin-order-product {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-order-product img {
  width: 34px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 7px;
  font-weight: 600;
  white-space: nowrap;
}

.status-pill::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.status-pill--delivered,
.status-pill--resolved {
  color: #168a6d;
  background: rgba(59, 192, 154, 0.1);
}

.status-pill--refunded {
  color: #a7803f;
  background: rgba(230, 165, 70, 0.1);
}

.status-pill--open {
  color: #c44e69;
  background: rgba(239, 107, 135, 0.1);
}

.status-pill--processing {
  color: #5865c6;
  background: rgba(92, 90, 216, 0.09);
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 7px;
  border-radius: 5px;
  border: 1px solid rgba(95, 124, 169, 0.14);
  background: rgba(255, 255, 255, 0.55);
  font-size: 7px;
  color: var(--muted);
  white-space: nowrap;
  transition: 0.2s var(--ease);
}

.mini-btn:hover {
  color: var(--ink);
  background: #fff;
  border-color: rgba(92, 90, 216, 0.22);
}

.mini-btn--danger:hover {
  color: #bd4962;
  border-color: rgba(224, 91, 121, 0.24);
}

.admin-filterbar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  border-bottom: 1px solid rgba(96, 125, 169, 0.08);
  flex-wrap: wrap;
}

.admin-filterbar .filter-chip {
  padding: 5px 9px;
  font-size: 8px;
}

.admin-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  width: 180px;
  height: 28px;
  margin-left: auto;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid rgba(95, 124, 169, 0.13);
  background: rgba(255, 255, 255, 0.6);
}

.admin-search svg {
  width: 11px;
  height: 11px;
  color: var(--muted-light);
}

.admin-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 8px;
}

.complaint-list {
  display: flex;
  flex-direction: column;
}

.complaint-row {
  padding: 14px 16px;
}

.complaint-row + .complaint-row {
  border-top: 1px solid rgba(96, 125, 169, 0.075);
}

.complaint-row__head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.complaint-row__head strong {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
}

.complaint-row__type {
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(92, 90, 216, 0.06);
  font-size: 7px;
  color: var(--primary);
}

.complaint-row__date {
  margin-left: auto;
  font-size: 7px;
  color: var(--muted-light);
}

.complaint-row__text {
  margin-top: 7px;
  font-size: 8.5px;
  line-height: 1.7;
  color: var(--muted);
}

.complaint-row__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}

.complaint-row__foot span {
  font-size: 7.5px;
  color: var(--muted-light);
}

.complaint-row__foot .table-actions {
  margin-left: auto;
}

.product-admin-list {
  display: flex;
  flex-direction: column;
}

.product-admin-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 85px 70px 100px;
  gap: 12px;
  align-items: center;
  padding: 11px 16px;
}

.product-admin-row + .product-admin-row {
  border-top: 1px solid rgba(96, 125, 169, 0.075);
}

.product-admin-row img {
  width: 48px;
  height: 32px;
  border-radius: 5px;
  object-fit: cover;
}

.product-admin-row__name strong {
  display: block;
  font-size: 9px;
  font-weight: 600;
}

.product-admin-row__name span {
  display: block;
  margin-top: 2px;
  font-size: 7px;
  color: var(--muted-light);
}

.product-admin-row__price {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  color: var(--pink);
}

.product-admin-row__meta {
  font-size: 7.5px;
  color: var(--muted-light);
}

.toggle {
  position: relative;
  width: 30px;
  height: 17px;
  flex: none;
  border-radius: 999px;
  background: #cdd7e5;
  transition: 0.2s var(--ease);
}

.toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(16, 33, 63, 0.2);
  transition: transform 0.2s var(--ease);
}

.toggle.is-on {
  background: var(--mint);
}

.toggle.is-on::after {
  transform: translateX(13px);
}

.admin-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 320px;
  font-size: 9px;
  color: var(--muted-light);
}

.admin-loading .spinner {
  border-color: rgba(92, 90, 216, 0.16);
  border-top-color: var(--primary);
}

.admin-empty {
  padding: 36px 20px;
  text-align: center;
  font-size: 9px;
  color: var(--muted-light);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .header-search {
    width: 175px;
  }

  .header-search:focus-within {
    width: 195px;
  }

  .nav__link {
    padding-inline: 9px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: clamp(46px, 5.4vw, 63px);
  }

  .hero-art {
    width: 112%;
  }

  .hero__stage {
    min-height: 520px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-card--featured {
    grid-column: span 2;
  }

  .custom-card {
    grid-column: span 3;
    min-height: 170px;
    padding: 24px;
  }

  .custom-card__art {
    width: 60%;
    opacity: 0.24;
  }

  .value-grid {
    grid-template-columns: 1fr 1fr;
  }

  .value-card--primary {
    grid-column: span 2;
    min-height: 200px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-col--extra {
    display: none;
  }
}

@media (max-width: 1024px) {
  .header-search {
    display: none;
  }

  .nav {
    margin-left: auto;
  }

  .header-actions {
    margin-left: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 30px;
    gap: 0;
  }

  .hero__copy {
    max-width: 720px;
    padding-bottom: 0;
  }

  .hero__stage {
    min-height: 520px;
    margin-top: 10px;
  }

  .hero-art {
    width: min(640px, 100%);
  }

  .hero-card--health {
    left: 4%;
  }

  .hero-card--delivery {
    right: 4%;
  }

  .product-card--featured {
    grid-template-columns: 1fr 1fr;
  }

  .product-main {
    display: flex;
    flex-direction: column;
    gap: 13px;
  }

  .product-visual-column {
    display: contents;
  }

  .product-main .showcase {
    order: 1;
  }

  .product-main > .purchase-card {
    order: 2;
    position: relative;
    top: auto;
  }

  .product-main .spec-grid {
    order: 3;
  }

  .product-main .purchase-assurance {
    order: 4;
  }

  .showcase__media {
    aspect-ratio: 16 / 9.4;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .admin-layout {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    gap: 38px;
  }
}

@media (max-width: 860px) {
  .container {
    padding-inline: 18px;
  }

  .site-header {
    padding-top: 10px;
  }

  .header-shell {
    height: 64px;
    padding-left: 14px;
    gap: 10px;
    border-radius: 18px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .brand__mark img {
    width: 32px;
    height: 32px;
  }

  .brand__name {
    font-size: 15px;
  }

  .brand__sub {
    font-size: 6.6px;
  }

  .nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .mobile-toggle {
    display: grid;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .btn--ghost {
    min-height: 36px;
    padding-inline: 13px;
    font-size: 11px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero h1 {
    font-size: clamp(42px, 8.2vw, 60px);
  }

  .hero__lede {
    font-size: 14px;
  }

  .hero__stage {
    min-height: 450px;
  }

  .notice-bar {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px;
  }

  .notice-bar__text {
    flex: 1;
    min-width: 200px;
  }

  .notice-bar__link {
    margin-left: 44px;
  }

  .trustbar {
    grid-template-columns: 1fr 1fr;
    gap: 14px 0;
    padding: 18px 4px;
  }

  .trustbar__item:nth-child(3)::before,
  .trustbar__item:nth-child(1)::before {
    display: none;
  }

  .section {
    padding-top: 62px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .shop-toolbar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
  }

  .shop-toolbar__spacer {
    display: none;
  }

  .filters {
    order: 2;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .shop-search {
    order: 1;
    width: 100%;
    margin-left: 0;
  }

  .shop-count {
    order: 3;
    margin-left: auto;
    padding-right: 3px;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-card--featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .custom-card {
    grid-column: span 2;
    min-height: 190px;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-card--primary {
    grid-column: span 1;
  }

  .process-panel {
    padding: 34px 24px 31px;
  }

  .process-panel__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 28px;
  }

  .process-grid::before {
    display: none;
  }

  .step {
    padding: 0;
  }

  .step__top {
    margin-bottom: 10px;
  }

  .step__num {
    width: 44px;
    height: 44px;
    box-shadow: none;
  }

  .step p {
    max-width: none;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro p {
    max-width: 500px;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 26px;
    gap: 20px;
  }

  .cta-panel__actions {
    flex-wrap: wrap;
  }

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

  .footer-shell {
    padding: 28px 22px 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .page-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .page-head__aside {
    padding: 0;
  }

  .detail-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .detail-heading p {
    text-align: left;
    max-width: none;
  }

  .spec-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lookup-form {
    grid-template-columns: 1fr 1fr;
  }

  .lookup-form .btn {
    grid-column: span 2;
  }

  .lookup-tips {
    grid-template-columns: 1fr;
  }

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

  .order-pricing {
    display: none;
  }

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

  .admin-side {
    position: static;
    padding: 8px;
  }

  .admin-side__label,
  .admin-side__foot {
    display: none;
  }

  .admin-tabs {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .admin-tabs::-webkit-scrollbar {
    display: none;
  }

  .admin-tab {
    width: auto;
    white-space: nowrap;
    padding: 7px 10px;
  }

  .admin-tab__count {
    display: none;
  }

  .admin-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .topbar__inner {
    min-height: 31px;
    font-size: 9px;
    letter-spacing: 0.04em;
    padding-inline: 14px;
  }

  .topbar__tag,
  .topbar__sep,
  .topbar__delivery {
    display: none;
  }

  .topbar__inner {
    gap: 6px;
  }

  .topbar__qq {
    color: #2b63aa;
  }

  .hero h1 {
    font-size: clamp(37px, 10.5vw, 50px);
    line-height: 1.18;
  }

  .hero__lede {
    font-size: 12.5px;
    margin-top: 16px;
  }

  .hero__actions {
    margin-top: 23px;
  }

  .hero__actions .btn {
    flex: 1;
    min-width: 0;
    padding-inline: 15px;
    font-size: 12px;
  }

  .hero__meta {
    gap: 14px;
    margin-top: 26px;
    flex-wrap: wrap;
  }

  .hero__meta-item strong {
    font-size: 14px;
  }

  .hero__meta-sep {
    height: 20px;
  }

  .hero__stage {
    min-height: 360px;
    margin-top: 4px;
  }

  .hero-art {
    width: 113%;
  }

  .hero-card {
    padding: 8px 10px;
    gap: 7px;
    border-radius: 12px;
  }

  .hero-card__icon {
    width: 27px;
    height: 27px;
    border-radius: 8px;
  }

  .hero-card__icon svg {
    width: 12px;
    height: 12px;
  }

  .hero-card__title {
    font-size: 9px;
  }

  .hero-card__sub {
    font-size: 6.5px;
  }

  .hero-card__metric {
    font-size: 14px;
  }

  .hero-card--sync {
    display: none;
  }

  .trustbar__item {
    gap: 8px;
    justify-content: flex-start;
    padding: 0 14px;
  }

  .trustbar__icon {
    width: 28px;
    height: 28px;
  }

  .trustbar__value {
    font-size: 14px;
  }

  .trustbar__label {
    font-size: 8.5px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-desc {
    font-size: 11.5px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card--featured {
    grid-column: span 1;
    display: flex;
  }

  .product-card--featured .product-card__art {
    min-height: 205px;
    height: auto;
  }

  .product-card--featured .product-card__body {
    padding: 19px 18px;
  }

  .product-card--featured .product-card__title {
    font-size: 20px;
  }

  .custom-card {
    grid-column: span 1;
    min-height: 220px;
  }

  .custom-card__art {
    width: 55%;
    right: -20px;
  }

  .product-card__art {
    min-height: 190px;
  }

  .product-card__img {
    min-height: 190px;
  }

  .shop-search {
    width: 100%;
  }

  .filter-chip {
    padding: 7px 11px;
    font-size: 10.5px;
  }

  .notice-bar__link {
    margin-left: 0;
  }

  .cta-panel {
    margin-top: 55px;
    padding: 27px 21px;
  }

  .cta-panel__actions {
    width: 100%;
  }

  .cta-panel__actions .btn {
    flex: 1;
  }

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

  .footer-brand {
    grid-column: span 2;
    max-width: none;
  }

  .footer-bottom__left {
    gap: 8px 13px;
  }

  .product-main {
    gap: 13px;
  }

  .showcase {
    padding: 9px;
    border-radius: 21px;
  }

  .showcase__media {
    aspect-ratio: 16 / 10.4;
    border-radius: 15px;
  }

  .showcase__caption {
    padding: 13px 5px 5px;
    gap: 10px;
  }

  .showcase__caption p {
    display: none;
  }

  .showcase__stats {
    gap: 11px;
  }

  .showcase__chips {
    padding: 0 5px 5px;
  }

  .purchase-card {
    padding: 21px 17px;
    border-radius: 22px;
  }

  .purchase-title {
    font-size: 28px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .product-price__amount {
    font-size: 38px;
  }

  .detail-section {
    margin-top: 45px;
  }

  .detail-heading h2 {
    font-size: 24px;
  }

  .detail-aside {
    grid-template-columns: 1fr;
  }

  .spec-grid {
    gap: 8px;
  }

  .spec-item {
    padding: 13px;
  }

  .order-page__hero {
    margin-bottom: 20px;
  }

  .page-title {
    font-size: 36px;
  }

  .lookup-card {
    padding: 21px 17px;
    border-radius: 20px;
  }

  .lookup-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .lookup-form {
    grid-template-columns: 1fr;
  }

  .lookup-form .btn {
    grid-column: span 1;
  }

  .lookup-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .order-card__head {
    flex-wrap: wrap;
    gap: 5px 10px;
    padding: 12px 14px;
  }

  .order-date {
    width: 100%;
    order: 3;
  }

  .order-card__main {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .order-cover {
    width: 100%;
    max-height: 160px;
  }

  .order-timeline {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 0 14px 14px;
  }

  .timeline-item {
    padding: 0 0 0 17px;
  }

  .timeline-item::before {
    top: 0;
    left: 4px;
    bottom: 0;
    right: auto;
    width: 1px;
    height: auto;
  }

  .timeline-item:last-child::before {
    display: none;
  }

  .timeline-item__dot {
    top: 2px;
    left: 0;
  }

  .order-actions {
    flex-wrap: wrap;
    padding: 0 14px 15px;
  }

  .order-actions__note {
    width: 100%;
    margin-left: 0;
  }

  .order-support {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px;
  }

  .order-support .btn {
    width: 100%;
    margin-left: 0;
  }

  .modal {
    padding: 10px;
    align-items: end;
  }

  .modal__panel {
    max-height: calc(100vh - 20px);
    border-radius: 22px;
  }

  .modal__head {
    padding: 18px 17px 14px;
  }

  .modal__body {
    padding: 15px 17px 18px;
  }

  .modal__foot {
    padding: 0 17px 18px;
    flex-wrap: wrap;
  }

  .modal__foot .btn {
    flex: 1;
  }

  .modal__foot-note {
    width: 100%;
    justify-content: center;
  }

  .modal-success {
    padding: 25px 18px 21px;
  }

  .success-mark {
    width: 62px;
    height: 62px;
  }

  .modal-success h2 {
    font-size: 20px;
  }

  .toast-stack {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .toast {
    max-width: none;
  }

  .admin-topbar {
    gap: 10px;
    padding: 0 10px;
    min-height: 58px;
  }

  .admin-topbar__brand-name {
    font-size: 12px;
  }

  .admin-topbar__brand-name span {
    display: none;
  }

  .admin-topbar__badge {
    display: none;
  }

  .admin-topbar__user {
    gap: 0;
    padding: 4px;
  }

  .admin-topbar__user > span:not(.admin-topbar__avatar) {
    display: none;
  }

  .admin-topbar__user .admin-topbar__avatar {
    display: grid;
  }

  .admin-topbar__user .admin-role {
    display: none;
  }

  .admin-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .admin-stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .stat-card {
    padding: 13px;
  }

  .stat-card__value {
    font-size: 21px;
  }

  .stat-card__icon {
    width: 22px;
    height: 22px;
  }

  .product-admin-row {
    grid-template-columns: 44px minmax(0, 1fr) 60px;
    gap: 8px;
    padding: 10px 12px;
  }

  .product-admin-row__meta,
  .product-admin-row__price {
    display: none;
  }

  .product-admin-row img {
    width: 44px;
    height: 29px;
  }

  .admin-filterbar {
    padding: 9px 12px;
  }

  .admin-search {
    width: 100%;
    margin-left: 0;
    order: 3;
  }

  .login-card {
    padding: 25px 20px;
  }
}

@media (max-width: 380px) {
  .header-actions .btn--ghost {
    display: none;
  }

  .brand__sub {
    display: none;
  }

  .hero h1 {
    font-size: 33px;
    letter-spacing: -0.052em;
  }
}

@media (max-width: 390px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__meta {
    gap: 10px;
  }

  .hero__meta-sep {
    display: none;
  }

  .trustbar {
    grid-template-columns: 1fr;
  }

  .trustbar__item::before {
    display: none;
  }

  .trustbar__item {
    justify-content: center;
  }

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

  .footer-brand {
    grid-column: span 1;
  }

  .cta-panel__actions {
    flex-direction: column;
  }

  .cta-panel__actions .btn {
    width: 100%;
  }
}
