:root {
  color-scheme: light;
  --ink: #172c24;
  --muted: #5d6e64;
  --green: #245d46;
  --dark: #174232;
  --sage: #edf3eb;
  --line: #dce6dd;
  --page: #f7f9f5;
  --white: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button:disabled { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: 2px solid #568d68; outline-offset: 3px; }
.wrap { width: min(1296px, calc(100% - 88px)); margin-inline: auto; }
.utility { background: #eaf1e8; color: #405a4c; font-size: 12px; }
.utility-row { display: flex; justify-content: space-between; align-items: center; min-height: 34px; }
.utility-row div { display: flex; gap: 22px; align-items: center; }
.utility button { padding: 0; border: 0; color: inherit; background: transparent; }
.utility a:hover, .utility button:hover, footer a:hover { color: var(--green); text-decoration: underline; }
header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--green); color: white; font-size: 21px; letter-spacing: 0; }
.search { display: flex; align-items: center; gap: 12px; width: min(480px, 100%); margin: 0; padding: 4px 4px 4px 15px; border: 1px solid #cad9ce; border-radius: 12px; background: #f8faf7; }
.search-mark { width: 14px; height: 14px; flex: 0 0 14px; border: 1.7px solid #557365; border-radius: 100%; position: relative; }
.search-mark::after { position: absolute; content: ''; width: 6px; height: 1.8px; background: #557365; transform: rotate(45deg); right: -4px; bottom: -2px; }
.search input { width: 100%; min-width: 0; min-height: 32px; padding: 0; border: 0; font-size: 14px; background: transparent; color: var(--ink); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 9px 15px; min-height: 40px; border: 1px solid transparent; border-radius: 9px; font-weight: 650; white-space: nowrap; }
.primary { background: var(--green); color: white; }
.primary:hover { background: var(--dark); }
.quiet { color: var(--green); background: #f1f5ef; border-color: #e1e9df; }
.quiet:hover, .cart-button:hover { background: #e4efe4; }
.search .button { min-height: 34px; padding: 6px 15px; border-radius: 8px; font-size: 14px; }
.header-actions { display: flex; gap: 9px; align-items: center; }
.header-actions .button { font-size: 14px; }
.cart-button { background: #fff; border-color: #cbd9ce; color: var(--green); }
.cart-button span { min-width: 22px; padding: 2px 5px; border-radius: 999px; background: var(--green); color: white; text-align: center; font-size: 11px; }
.category-nav { display: flex; align-items: center; gap: 5px; overflow: auto; min-height: 51px; padding-bottom: 9px; scrollbar-width: thin; }
.category-nav button { background: transparent; color: #4a6054; border: 0; border-radius: 8px; font-weight: 600; font-size: 14px; white-space: nowrap; padding: 9px 14px; }
.category-nav button:hover, .category-nav button[aria-pressed="true"] { color: var(--dark); background: #eaf1e7; }
.demo-note { margin: 17px 0 12px; padding: 9px 12px; border: 1px solid #e6eadb; border-radius: 8px; background: #f0f3e8; font-size: 12px; color: #52614c; }
.hero { display: grid; grid-template-columns: 1fr 1.06fr; min-height: 398px; margin-top: 19px; border: 1px solid #e0e8da; border-radius: 22px; overflow: hidden; background: #eaf0e5; }
.demo-note:not([hidden]) + .hero { margin-top: 0; }
.hero-copy { padding: 46px clamp(28px, 4.25vw, 69px); align-self: center; }
.hero-label { display: inline-flex; align-items: center; gap: 7px; color: #385d46; border: 1px solid #d1e0cd; background: #f5f8f0; border-radius: 99px; padding: 5px 10px; font-size: 12px; font-weight: 650; }
.hero-label span { width: 7px; height: 7px; background: #709769; border-radius: 50%; }
.hero h1 { margin: 18px 0 14px; font-size: clamp(36px, 4.5vw, 64px); font-weight: 850; line-height: 1.17; letter-spacing: -.075em; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero p { color: #465d50; margin: 0 0 23px; font-size: 14px; line-height: 1.85; }
.hero-button { padding-inline: 17px; min-height: 44px; }
.hero-button span { margin-left: 6px; }
.hero img { width: 100%; height: 100%; max-height: 470px; object-fit: cover; object-position: center; }
.catalog { scroll-margin-top: 12px; padding: 35px 0 52px; }
.catalog-header { display: flex; justify-content: space-between; align-items: end; gap: 14px; margin-bottom: 20px; }
.catalog h2 { margin: 0; font-size: clamp(25px, 3vw, 33px); letter-spacing: -.055em; }
.catalog-header p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.sort { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; white-space: nowrap; }
.sort select { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.product { background: white; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; min-width: 0; }
.product:hover { border-color: #b7d0bc; box-shadow: 0 6px 20px #214e3611; }
.product-image { display: block; background: #ebeee6; padding: 0; border: 0; position: relative; width: 100%; text-align: left; overflow: hidden; }
.product-image img { width: 100%; aspect-ratio: 1.18; object-fit: cover; object-position: center 56%; }
.product-image span { position: absolute; top: 10px; left: 10px; color: #234b37; background: #ffffffef; padding: 5px 8px; border-radius: 6px; font-size: 12px; font-weight: 750; }
.product-copy { padding: 14px; }
.product .category-label { font-size: 11px; color: #537464; }
.product h3 { margin: 5px 0; font-size: 16px; }
.product h3 button { text-align: left; background: transparent; border: 0; padding: 0; color: var(--ink); font-weight: 750; }
.product .spec, .product .stock { font-size: 12px; color: var(--muted); margin: 4px 0; }
.product-bottom { display: flex; align-items: end; justify-content: space-between; gap: 6px; margin-top: 10px; }
.price { font-variant-numeric: tabular-nums; font-size: 21px; font-weight: 820; color: var(--green); }
.price small { color: var(--muted); font-size: 11px; font-weight: 500; }
.price-pending { color: #795622; font-size: 14px; font-weight: 700; }
.add { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border: 0; border-radius: 9px; color: var(--dark); background: #ebf3e9; font-size: 21px; line-height: 1; }
.add:hover { background: #d9ead7; }
.empty { grid-column: 1 / -1; padding: 38px 16px; background: white; border: 1px dashed var(--line); border-radius: 10px; text-align: center; color: var(--muted); }
.pagination { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 20px; font-size: 13px; color: var(--muted); }
footer { border-top: 1px solid var(--line); background: #eef3eb; color: #506558; font-size: 13px; }
.footer-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px 28px; padding-block: 24px 14px; }
.footer-row .brand { font-size: 16px; color: var(--ink); }
.footer-row .brand-mark { width: 27px; height: 27px; border-radius: 7px; font-size: 15px; }
.footer-operator { display: grid; gap: 8px; flex: 0 0 auto; }
.footer-links, .information-nav, .related-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.footer-links { justify-content: flex-end; padding-top: 5px; }
.footer-filing { padding-block: 10px 18px; border-top: 1px solid var(--line); }
dialog { border: 1px solid var(--line); padding: 23px; border-radius: 16px; background: white; color: var(--ink); width: min(465px,calc(100vw - 26px)); max-height: calc(100dvh - 26px); overflow: auto; box-shadow: 0 16px 52px #18332629; }
dialog::backdrop { background: #10261cb0; }
.drawer { margin: 0 0 0 auto; height: 100dvh; max-height: none; border-radius: 16px 0 0 16px; width: min(480px,100%); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); margin-bottom: 16px; padding-bottom: 10px; }
.dialog-head h2 { margin: 0; font-size: 21px; }
.close { width: 32px; height: 32px; border: 0; border-radius: 9px; font-size: 23px; color: var(--ink); background: #edf2eb; }
dialog form label { display: grid; gap: 6px; margin-bottom: 12px; font-weight: 600; font-size: 14px; }
dialog input:not([type="checkbox"]), dialog textarea { width: 100%; padding: 9px 10px; min-height: 40px; border: 1px solid #cbd8ce; border-radius: 7px; color: var(--ink); }
dialog textarea { resize: vertical; }
dialog .checkbox { display: flex; align-items: center; }
.checkbox a, .related-links a { color: var(--green); text-decoration: underline; }
.checkout-terms { line-height: 1.6; }
.full { width: 100%; margin-bottom: 7px; }
.form-error { color: #a83129; margin: 0 0 10px; }
.form-error:empty { display: none; }
.cart-row { display: grid; align-items: center; grid-template-columns: 68px 1fr auto; gap: 12px; border-bottom: 1px solid var(--line); padding: 11px 0; }
.cart-row img { border-radius: 8px; width: 68px; height: 68px; object-fit: cover; }
.cart-row p { margin: 4px 0; font-size: 12px; color: var(--muted); }
.cart-row input { width: 73px !important; }
.cart-row .remove { display: block; color: #824037; border: 0; background: transparent; padding: 4px 0; margin-left: auto; font-size: 12px; }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin: 15px 0; }
.cart-fee { display: flex; justify-content: space-between; margin: 13px 0 0; font-size: 13px; color: var(--muted); }
.cart-total strong { font-size: 23px; color: var(--green); }
.detail-photos { display: flex; flex-wrap: wrap; gap: 8px; align-items: start; justify-content: center; }
.detail-photos a { flex: 0 1 200px; max-width: 100%; }
.detail-photo { width: 100%; max-height: 225px; object-fit: contain; background: var(--page); border-radius: 10px; }
.detail-row, .order-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.detail-row input { width: 94px !important; }
.order { border: 1px solid var(--line); margin-bottom: 12px; border-radius: 11px; padding: 12px; }
.order header { display: flex; justify-content: space-between; gap: 10px; border: 0; }
.order p { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.order details { font-size: 13px; margin-bottom: 10px; }
.order summary { cursor: pointer; }
.order-actions .button { font-size: 12px; min-height: 34px; }
.payment-options { display: grid; gap: 8px; }
.payment-options .button { justify-content: space-between; }
.status { color: var(--dark); padding: 4px 8px; background: var(--sage); font-size: 12px; border-radius: 7px; }
.toast { position: fixed; z-index: 10; left: 50%; bottom: 24px; transform: translateX(-50%); background: #194333; color: #fff; padding: 10px 16px; border-radius: 9px; max-width: calc(100vw - 24px); width: max-content; }
.information-wrap { max-width: 940px; padding-block: 24px 44px; }
.information-nav { gap: 6px; margin-bottom: 15px; }
.information-nav a { font-size: 14px; padding: 6px 9px; border-radius: 7px; color: var(--muted); }
.information-nav a:hover, .information-nav a[aria-current] { background: var(--sage); color: var(--dark); }
.information-nav a[aria-current] { font-weight: 700; }
.information-page { padding: clamp(16px,4vw,36px); background: white; border: 1px solid var(--line); border-radius: 14px; line-height: 1.75; }
.information-page h1 { margin: 0 0 12px; font-size: clamp(23px,4vw,32px); line-height: 1.35; overflow-wrap: anywhere; }
.information-page h2 { margin: 0 0 6px; font-size: 18px; }
.information-page section { margin-top: 23px; }
.information-page p { margin: 7px 0; }
.information-page p + p { margin-top: 10px; }
.information-page a:not(.button):not(.information-photos a) { color: var(--green); text-decoration: underline; text-underline-offset: .2em; }
.information-data { margin: 10px 0 17px; border-top: 1px solid var(--line); }
.information-data div { display: grid; grid-template-columns: minmax(78px, 9em) 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.information-data dt { color: var(--muted); font-size: 14px; }
.information-data dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.information-photos { justify-content: flex-start; }
.information-photos a { flex-basis: 260px; }
.information-photos img { width: 100%; max-height: 320px; object-fit: contain; border-radius: 9px; background: var(--page); }
.information-page .related-links { margin-top: 22px; }
.support-form { display: grid; gap: 11px; max-width: 530px; margin-top: 13px; }
.support-form label { display: grid; gap: 5px; font-size: 14px; }
.support-form input:not([type="checkbox"]), .support-form textarea { width: 100%; padding: 8px 10px; color: var(--ink); border: 1px solid #cbd8ce; border-radius: 7px; }
.support-form textarea { resize: vertical; }
.support-form .checkbox { display: flex; align-items: baseline; }
.support-form .button { justify-self: start; }
.support-result { overflow-wrap: anywhere; color: var(--green); }
.support-result:empty { display: none; }
.support-result.failed { color: #a83129; }
.muted { color: var(--muted); }
@media (max-width: 980px) {
  .wrap { width: calc(100% - 40px); }
  .header-row { gap: 15px; }
  .hero { min-height: 350px; }
  .hero-copy { padding: 33px 30px; }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 28px); }
  .utility-row div { gap: 9px; }
  .footer-row { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .information-data div { grid-template-columns: minmax(78px, 6.5em) 1fr; }
  .header-row { display: grid; grid-template-columns: 1fr auto; gap: 9px; padding-block: 11px; }
  .header-row .brand { font-size: 19px; }
  .header-row .brand-mark { width: 31px; height: 31px; font-size: 17px; }
  .search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .header-actions { gap: 5px; }
  .header-actions .button { font-size: 12px; min-height: 33px; padding: 5px 8px; }
  .category-nav { min-height: 41px; }
  .category-nav button { font-size: 13px; padding: 7px 9px; }
  .hero { grid-template-columns: 1fr; border-radius: 15px; min-height: 0; }
  .hero-copy { padding: 25px; }
  .hero-copy p { font-size: 13px; }
  .hero img { max-height: 240px; object-position: center 63%; }
  .catalog { padding-top: 25px; }
  .sort { font-size: 0; }
  .sort select { font-size: 12px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .product-copy { padding: 9px; }
  .product h3 { font-size: 14px; }
  .product-image span { top: 6px; left: 6px; font-size: 10px; }
  .price { font-size: 18px; }
}
