* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: #182924;
  font:
    15px/1.65 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  letter-spacing: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
a:hover {
  color: #12664e;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #72b59e;
  outline-offset: 3px;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
img {
  max-width: 100%;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 11px 20px;
  background: #fff;
  color: inherit;
}
input,
select,
textarea {
  min-width: 0;
  width: 100%;
  border: 1px solid #d8dfdc;
  border-radius: 4px;
  padding: 11px 13px;
  background: #fff;
  color: #182924;
}
textarea {
  min-height: 110px;
  resize: vertical;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}
label > input,
label > select,
label > textarea {
  margin-top: 7px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.35;
  font-weight: 650;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
}
h3 {
  font-size: 18px;
}
p {
  color: #66716c;
}
.wrap {
  width: min(1240px, calc(100% - 80px));
  margin-inline: auto;
}
.topbar {
  background: #f2f5f3;
  font-size: 12px;
  color: #69756e;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  padding-block: 9px;
}
header {
  border-bottom: 1px solid #e3e9e5;
  background: #fff;
}
.header {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-block: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 24px;
  font-weight: 650;
}
.brand img {
  width: 66px;
  height: 42px;
  object-fit: contain;
}
.header form {
  display: flex;
  align-items: center;
  flex: 1;
  border-bottom: 1px solid #bdcbc2;
  max-width: 460px;
  margin-left: auto;
}
.header form input {
  border: 0;
  background: none;
}
.header form button {
  padding: 8px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
}
.header-actions a {
  display: flex;
  align-items: center;
  gap: 7px;
}
.header-actions b {
  font-size: 10px;
  background: #145f4c;
  color: #fff;
  border-radius: 50%;
  min-width: 18px;
  text-align: center;
}
.nav {
  display: flex;
  gap: 30px;
  align-items: center;
  min-height: 52px;
  font-size: 14px;
}
.nav a {
  white-space: nowrap;
  padding-block: 13px;
}
.nav a.active {
  color: #145f4c;
  border-bottom: 2px solid #145f4c;
}
.nav-end {
  margin-left: auto;
}
#configured-nav {
  display: flex;
  gap: 28px;
}
main {
  min-height: 60vh;
  padding-bottom: 72px;
}
.page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 48px 0 30px;
}
.page-title p {
  margin-top: 12px;
}
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-block: 1px solid #e2e8e3;
  margin-bottom: 28px;
}
.catalog-toolbar select {
  font-size: 13px;
  border: 0;
  width: auto;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
}
.product-card {
  min-width: 0;
}
.product-cover {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  background: #f4f6f5;
  overflow: hidden;
  border-radius: 6px;
}
.product-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform 0.25s;
}
.product-cover:hover img {
  transform: scale(1.025);
}
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #6a756e;
  margin-top: 14px;
}
.icon {
  padding: 8px;
  border: 0;
  min-width: 36px;
  min-height: 36px;
  background: transparent;
}
.product-card h2 {
  font-size: 18px;
  overflow-wrap: anywhere;
  margin: 3px 0 8px;
  min-height: 54px;
}
.product-card > p {
  font-size: 13px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 0;
}
.product-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.product-bottom strong {
  font-size: 23px;
  font-weight: 650;
}
.product-bottom small {
  font-size: 14px;
  margin-right: 3px;
}
.product-bottom a {
  margin-left: auto;
  padding: 7px;
}
.product-bottom del,
del {
  color: #96a098;
  font-size: 13px;
}
.badge {
  display: inline-block;
  font-size: 11px;
  background: #e8f1eb;
  color: #245c46;
  padding: 3px 8px;
  border-radius: 3px;
  margin-left: 10px;
}
.soldout {
  position: absolute;
  top: 14px;
  left: 4px;
  background: #fff;
  color: #69746c;
}
.primary,
.button.primary {
  background: #145f4c;
  color: white;
  border-color: #145f4c;
}
.primary:hover {
  background: #104e3e;
  color: #fff;
}
.secondary,
.button.secondary {
  border: 1px solid #cdd9d1;
  background: #fff;
}
.secondary:hover {
  background: #f0f5f1;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 4px;
}
.text-button {
  border: 0;
  background: transparent;
  padding: 7px 0;
  color: #145f4c;
  font-size: 14px;
}
.full {
  width: 100%;
}
.empty,
.loading {
  text-align: center;
  padding: 72px 20px;
  color: #76837b;
}
.empty > svg {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
}
.empty h3 {
  color: #263c31;
  margin-bottom: 8px;
}
.empty .button {
  margin-top: 24px;
}
.image-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f5f3;
  color: #8a978f;
}
.notice {
  padding: 16px 20px;
  background: #f3f6f1;
  border-left: 3px solid #a0b790;
  margin-block: 20px;
  font-size: 14px;
}
.error {
  background: #fff4ef;
  color: #9d4331;
  border-color: #c37360;
  display: flex;
  gap: 12px;
}
.form-error {
  color: #a83f35;
  font-size: 13px;
  min-height: 20px;
  margin-top: 12px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: center;
  margin-top: 40px;
  font-size: 13px;
}
.banners {
  position: relative;
  margin-top: 28px;
}
.banner-slide img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  background: #f4f6f3;
}
.banner-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.banner-controls button {
  width: 28px;
  height: 28px;
  font-size: 11px;
  padding: 0;
  border: 1px solid #d8dfdc;
}
.banner-controls button.active {
  background: #145f4c;
  color: #fff;
}
footer {
  border-top: 1px solid #e1e7e2;
  background: #f7f9f7;
  padding: 36px 0 22px;
  font-size: 13px;
  color: #68766d;
}
.footer-row {
  display: flex;
  align-items: center;
  gap: 40px;
}
.footer-row strong {
  font-size: 19px;
  color: #273d30;
  margin-right: auto;
}
.footer-row > div {
  display: flex;
  gap: 22px;
}
.legal {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e1e7e2;
  display: flex;
  gap: 25px;
  font-size: 11px;
}
.legal span:last-child {
  margin-left: auto;
}
.breadcrumbs {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #758278;
  margin: 28px 0;
}
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
}
.gallery #product-image {
  aspect-ratio: 1;
  background: #f5f7f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.gallery #product-image img {
  max-height: 100%;
  object-fit: contain;
}
.thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow: auto;
}
.thumbnails button {
  width: 68px;
  height: 68px;
  padding: 5px;
  flex-shrink: 0;
  border: 1px solid #dde5de;
}
.thumbnails img {
  height: 100%;
  object-fit: contain;
}
.eyebrow {
  color: #2c775b;
  font-size: 12px;
  font-weight: 600;
}
.product-info {
  padding-top: 18px;
}
.product-info h1 {
  font-size: 30px;
  margin: 12px 0 18px;
}
.description {
  margin-bottom: 24px;
}
.detail-price {
  background: #f2f6f2;
  padding: 18px 22px;
  margin-bottom: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.detail-price strong {
  font-size: 34px;
  color: #145f4c;
}
.quantity {
  display: flex;
  align-items: center;
  gap: 24px;
}
.quantity input {
  width: 100px;
  margin: 0;
}
.stock {
  font-size: 12px;
  color: #7a867e;
}
.buy-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.buy-actions .primary {
  flex: 1;
}
.product-benefits {
  display: flex;
  gap: 26px;
  font-size: 12px;
  color: #77857b;
  margin-top: 28px;
}
.product-benefits span,
.product-benefits a {
  display: flex;
  gap: 6px;
  align-items: center;
}
.product-benefits svg {
  width: 16px;
}
.detail-content {
  margin-top: 54px;
  border-top: 1px solid #dfe7e0;
  padding-top: 28px;
}
.detail-content h2 {
  margin-bottom: 28px;
}
.rich {
  overflow-wrap: anywhere;
}
.rich img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.rich p,
.rich h2,
.rich h3 {
  margin: 16px 0;
}
.rich a {
  text-decoration: underline;
}
.rich table {
  max-width: 100%;
  display: block;
  overflow: auto;
}
.rich pre {
  white-space: pre-wrap;
}
.prose {
  max-width: 840px;
  margin-inline: auto;
}
.auth-page {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 100px;
  padding: 72px 60px;
}
.auth-intro {
  padding-top: 36px;
}
.auth-intro h1 {
  font-size: 40px;
  margin: 20px 0;
}
.auth-intro p {
  margin-bottom: 36px;
}
.auth-intro a {
  color: #145f4c;
}
.auth-form h2 {
  font-size: 27px;
  margin-bottom: 28px;
}
.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #dce4de;
  margin-bottom: 28px;
  overflow-x: auto;
}
.tabs a {
  padding: 12px 0;
  white-space: nowrap;
  font-size: 14px;
  color: #758077;
}
.tabs a.active {
  border-bottom: 2px solid #145f4c;
  color: #145f4c;
  font-weight: 600;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  font-weight: 400;
  flex-wrap: wrap;
}
.check input {
  width: 16px;
  height: 16px;
  margin: 2px 3px 0 0;
  flex-shrink: 0;
}
.check a {
  color: #145f4c;
}
.input-action {
  display: flex;
  gap: 8px;
}
.input-action button {
  white-space: nowrap;
  font-size: 13px;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-top: 20px;
  color: #145f4c;
}
.account-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 50px;
  padding-top: 40px;
}
.account-nav {
  border-right: 1px solid #e1e8e2;
  padding: 10px 20px 10px 0;
}
.account-nav h2 {
  font-size: 18px;
  margin-bottom: 20px;
  padding-left: 12px;
}
.account-nav > a,
.account-nav > button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  font-size: 14px;
  white-space: nowrap;
}
.account-nav > a.active {
  background: #edf4ef;
  color: #145f4c;
}
.account-nav > button {
  margin-top: 28px;
}
.account-content .page-title {
  margin-top: 0;
}
.profile {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 24px;
}
.profile img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
}
.profile p {
  font-size: 12px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f3f7f3;
  margin: 14px 0 32px;
}
.metrics > div {
  padding: 24px;
}
.metrics span {
  font-size: 12px;
  color: #6b7a70;
}
.metrics strong {
  display: block;
  font-size: 26px;
  margin-top: 8px;
}
.compact-form {
  max-width: 480px;
}
.line-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #edf0ec;
}
.line-item > img,
.line-item > .image-empty {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  background: #f4f6f3;
}
.line-item > div:not(.image-empty) {
  flex: 1;
  min-width: 0;
}
.line-item small {
  display: block;
  color: #899389;
}
.line-item > span {
  font-size: 13px;
  white-space: nowrap;
}
.cart-row {
  display: flex;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid #e3e8e3;
}
.cart-select {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.cart-row .line-item {
  flex: 1;
  border: 0;
}
.cart-row .cart-quantity {
  width: 75px;
}
.checkout-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 50px;
}
.section {
  padding: 20px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e2e8e2;
}
.section h2 {
  margin-bottom: 16px;
}
.order-summary {
  padding: 26px;
  background: #f4f7f3;
  align-self: start;
}
.order-summary h2 {
  margin-bottom: 24px;
}
.order-summary #price-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 0;
  font-size: 14px;
}
.order-summary .total {
  padding-top: 20px;
  border-top: 1px solid #d9e3d9;
}
.order-summary .total strong {
  font-size: 24px;
}
.order-summary p {
  font-size: 12px;
}
.order-card {
  border: 1px solid #e0e7df;
  border-radius: 6px;
  margin-bottom: 20px;
  padding: 20px;
}
.order-head {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: #7e8a7f;
}
.order-head strong {
  margin-left: auto;
  color: #145f4c;
}
.order-bottom {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
  font-size: 13px;
}
.order-bottom > span {
  margin-right: auto;
}
.payment-panel {
  max-width: 660px;
  padding: 36px;
  margin: auto;
  text-align: center;
  background: #f6f8f5;
}
.payment-panel h2 {
  font-size: 42px;
  margin: 8px 0 28px;
}
.payment-options {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.payment-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  font-size: 13px;
  margin-top: 28px;
}
.payment-qr {
  display: block;
  width: 240px;
  height: 240px;
  margin: 30px auto 15px;
}
.resource-row {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid #e0e7df;
}
.resource-row > img,
.resource-row > .image-empty {
  width: 90px;
  height: 80px;
  object-fit: contain;
}
.resource-row > div:not(.image-empty) {
  flex: 1;
  min-width: 0;
}
.resource-row h2 {
  font-size: 17px;
}
.resource-row p {
  font-size: 12px;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.resource-row button {
  white-space: nowrap;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 13px;
  text-align: left;
}
th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid #e0e7df;
}
th {
  background: #f4f7f3;
  color: #748074;
  font-weight: 500;
}
.actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.muted {
  font-size: 12px;
  color: #778575;
  margin-top: 16px;
}
.coupons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.coupons article {
  padding: 24px;
  border: 1px solid #dfe8db;
  border-radius: 5px;
}
.coupons strong {
  font-size: 32px;
  color: #145f4c;
}
.coupons h2 {
  font-size: 17px;
  margin: 10px 0;
}
.address-row {
  display: flex;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid #e0e7df;
  padding: 22px 0;
}
.address-row > div {
  flex: 1;
}
.address-row h2 {
  font-size: 17px;
}
.address-row small {
  font-size: 13px;
  color: #859080;
  margin-left: 12px;
}
.address-row p {
  margin-top: 8px;
}
.three-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.category-section {
  padding: 24px 0;
  border-bottom: 1px solid #e2e8e1;
}
.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.category-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #dfe6dc;
  padding: 14px 20px;
}
.category-links img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.news-row {
  display: flex;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid #e0e7df;
  padding: 25px 0;
}
.news-row > img {
  width: 160px;
  height: 105px;
  object-fit: contain;
}
.news-row > div {
  flex: 1;
}
.service-info {
  padding: 30px 0;
}
.official-account { margin-top: 24px; }
.official-account h2 { font-size: 18px; margin-bottom: 12px; }
.official-account img { display: block; width: 160px; height: 160px; object-fit: contain; }
.service-info p {
  margin: 12px 0;
}
dialog {
  border: 0;
  border-radius: 8px;
  padding: 38px;
  width: min(560px, calc(100% - 40px));
  max-height: 90vh;
  color: #182924;
  box-shadow: 0 20px 90px #152f3426;
}
dialog::backdrop {
  background: #152b3159;
}
.modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
}
dialog h2 {
  margin: 4px 0 24px;
}
dialog p {
  margin-bottom: 18px;
}
dialog form {
  margin-top: 20px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 35px;
  transform: translateX(-50%);
  max-width: calc(100% - 40px);
  background: #203c30;
  color: #fff;
  padding: 14px 24px;
  border-radius: 5px;
  z-index: 9999;
  font-size: 14px;
  box-shadow: 0 4px 20px #0002;
}
.captcha {
  width: 310px;
  max-width: 100%;
  margin: auto;
}
.captcha-image {
  position: relative;
  width: 310px;
  height: 155px;
  max-width: 100%;
  overflow: hidden;
}
.captcha-image > img:first-child {
  width: 310px;
  height: 155px;
}
.captcha-image #puzzle-piece {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 155px;
}
.captcha label {
  margin-top: 20px;
}
.broken-image {
  color: #8c998d;
}
.compact .product-card h2 {
  font-size: 16px;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1600px) {
  .wrap {
    width: 1280px;
  }
}
@media (max-width: 1150px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .header {
    gap: 24px;
  }
  .header-actions span {
    display: none;
  }
  .nav,
  #configured-nav {
    gap: 20px;
  }
  .product-detail {
    gap: 32px;
  }
  .auth-page {
    gap: 40px;
    padding: 55px 20px;
  }
  .account-layout {
    gap: 28px;
    grid-template-columns: 160px minmax(0, 1fr);
  }
  .checkout-layout {
    gap: 25px;
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .footer-row {
    flex-wrap: wrap;
  }
  .compact.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .header {
    flex-wrap: wrap;
    padding-block: 20px;
    gap: 16px;
  }
  .brand {
    font-size: 21px;
  }
  .brand img {
    width: 45px;
  }
  .header form {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }
  .header-actions {
    margin-left: auto;
  }
  .nav {
    overflow: auto;
    gap: 20px;
  }
  .nav-end {
    margin-left: 0;
  }
  #configured-nav {
    gap: 20px;
  }
  .page-title {
    margin: 32px 0 20px;
  }
  h1 {
    font-size: 26px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 16px;
  }
  .product-card h2 {
    font-size: 15px;
    min-height: 45px;
  }
  .product-cover {
    aspect-ratio: 1;
  }
  .product-cover img {
    padding: 8px;
  }
  .product-bottom strong {
    font-size: 20px;
  }
  .product-bottom {
    gap: 8px;
  }
  .product-bottom del {
    font-size: 11px;
  }
  .product-detail,
  .auth-page,
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .product-info h1 {
    font-size: 26px;
  }
  .auth-page {
    padding: 25px 0;
  }
  .auth-intro {
    display: none;
  }
  .account-layout {
    display: block;
    padding-top: 20px;
  }
  .account-nav {
    display: flex;
    overflow: auto;
    border-right: 0;
    border-bottom: 1px solid #e2e7df;
    margin-bottom: 24px;
    padding: 0;
  }
  .account-nav h2,
  .account-nav > button {
    display: none;
  }
  .account-nav > a {
    padding: 10px;
  }
  .account-nav svg {
    display: none;
  }
  .metrics > div {
    padding: 16px 10px;
  }
  .metrics strong {
    font-size: 21px;
  }
  .line-item {
    gap: 10px;
  }
  .line-item > img,
  .line-item > .image-empty {
    width: 48px;
    height: 48px;
  }
  .line-item a {
    font-size: 13px;
  }
  .line-item > span {
    font-size: 11px;
  }
  .cart-row {
    gap: 8px;
    flex-wrap: wrap;
  }
  .cart-row .line-item {
    min-width: 200px;
  }
  .cart-row .cart-quantity {
    width: 60px;
  }
  .resource-row {
    flex-wrap: wrap;
  }
  .resource-row h2 {
    font-size: 15px;
  }
  .resource-row > img,
  .resource-row > .image-empty {
    width: 60px;
    height: 60px;
  }
  .resource-row button {
    margin-left: auto;
  }
  .order-head {
    flex-wrap: wrap;
    gap: 8px;
  }
  .order-head time {
    display: none;
  }
  .order-card {
    padding: 14px;
  }
  .order-bottom {
    flex-wrap: wrap;
  }
  .order-summary {
    order: -1;
  }
  .footer-row {
    display: block;
  }
  .footer-row > div {
    flex-wrap: wrap;
    margin-top: 18px;
    gap: 14px;
  }
  .legal {
    flex-wrap: wrap;
    gap: 10px;
  }
  .legal span:last-child {
    margin-left: 0;
  }
  .payment-panel {
    padding: 25px 15px;
  }
  .coupons {
    grid-template-columns: 1fr;
  }
  .address-row {
    flex-wrap: wrap;
  }
  .address-row > div {
    flex-basis: 100%;
  }
  .news-row > img {
    width: 85px;
    height: 80px;
  }
  .news-row h2 {
    font-size: 17px;
  }
  .three-columns {
    grid-template-columns: 1fr;
  }
  .compact.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .actions {
    flex-wrap: wrap;
  }
}
:root {
  --interaction-accent: #236149;
  --interaction-ink: #242b27;
  --page: #fafbf9;
  --surface: #ffffff;
  --ink: #242b27;
  --muted: #606963;
  --line: #dce2dc;
}
.topbar {
  background: var(--interaction-ink);
  color: #e0e6e4;
}
.topbar a:hover { color: #a7efd1; }
.primary, .secondary, .icon, .product-cover, .tabs a {
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.primary:not(:disabled):active, .secondary:not(:disabled):active, .icon:not(:disabled):active {
  transform: translateY(1px);
}
.product-cover { border: 1px solid #e1e6e4; }
.product-card:focus-within .product-cover, .product-card:hover .product-cover {
  border-color: var(--interaction-accent);
  box-shadow: 0 6px 18px #1829240d;
}
input:focus, select:focus, textarea:focus { border-color: var(--interaction-accent); }
.auth-form { border-top: 3px solid var(--interaction-ink); padding-top: 24px; }
.auth-status { margin-bottom: 28px; line-height: 1.8; }
.wechat-login { text-align: center; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid #dce2e8; }
.wechat-login #wechat-code { min-height: 52px; display: grid; place-items: center; }
.wechat-login img { width: 224px; height: 224px; max-width: 100%; object-fit: contain; background: white; }
.wechat-login p { font-size: 14px; line-height: 1.6; }
.wechat-login #wechat-match { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.auth-back { display: block; margin-top: 20px; }
.product-meta, .price, .order-total { font-variant-numeric: tabular-nums; }

/* Desktop storefront: a quiet frame around the actual products and purchase decisions. */
body { background: var(--page); color: var(--ink); }
p { color: var(--muted); }
.wrap { width: min(1360px, calc(100% - 96px)); }
a:hover { color: var(--interaction-accent); }
input, select, textarea { border-color: var(--line); color: var(--ink); border-radius: 6px; }
.primary, .button.primary { background: var(--ink); border-color: var(--ink); }
.primary:hover { background: #343941; }
.secondary, .button.secondary { border-color: var(--line); }
.secondary:hover { background: #f0f2f5; }
.text-button { color: var(--interaction-accent); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--interaction-accent); outline-offset: 4px;
}
.skip-link { position: fixed; left: 16px; top: -80px; padding: 12px 20px; background: var(--ink); color: #fff; z-index: 100; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-header { background: #ffffffed; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.header { min-height: 84px; padding-block: 0; gap: 30px; }
.brand { font-size: 22px; gap: 9px; flex-shrink: 0; }
.brand img { width: 36px; height: 36px; }
.header .nav { flex: 1; min-width: 0; min-height: 84px; gap: 24px; margin-left: 20px; font-size: 13px; }
.nav a { display: inline-flex; align-items: center; min-height: 84px; padding: 0; position: relative; }
.nav a.active { border: 0; color: var(--ink); font-weight: 600; }
.nav a.active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--ink); }
#configured-nav { gap: 24px; }
.header #search-form { display: none; }
.header-actions { gap: 20px; font-size: 13px; flex-shrink: 0; }
.header-actions > a { min-height: 44px; }
.header-actions b { background: var(--ink); }
main { padding-bottom: 72px; min-height: 70vh; scroll-margin-top: 100px; }
.page-title { margin: 42px 0 28px; }
.catalog-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; padding: 52px 0 40px; }
.catalog-title, .catalog-intro h1 { font-size: 40px; line-height: 1.3; font-weight: 650; }
.catalog-intro p { margin-top: 14px; font-size: 15px; max-width: 600px; }
.catalog-intro > a { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 13px; }
.catalogue-layout { display: grid; grid-template-columns: 184px minmax(0, 1fr); gap: 36px; }
.catalog-sidebar { position: sticky; top: 116px; align-self: start; min-width: 0; }
.catalog-sidebar h2 { font-size: 12px; font-weight: 500; color: var(--muted); margin: 8px 0 20px; padding-left: 12px; }
.catalog-sidebar > p, .catalog-sidebar .sidebar-label { color: var(--muted); font-size: 12px; margin: 8px 12px 18px; }
.catalog-sidebar nav, .category-filter { display: flex; flex-direction: column; gap: 6px; }
.catalog-sidebar ul { padding: 0; margin: 0; list-style: none; }
.catalog-sidebar ul ul { padding-left: 10px; margin: 4px 0 12px; }
.catalog-sidebar a { display: flex; align-items: center; gap: 10px; padding: 12px; font-size: 14px; min-height: 46px; border-radius: 6px; overflow-wrap: anywhere; }
.catalog-sidebar a.active, .category-filter a[aria-current] { background: #e8ebef; color: var(--ink); font-weight: 600; }
.catalog-sidebar a:not(.active):hover { background: #eceff2; }
.catalog-sidebar svg { width: 17px; height: 17px; }
.catalog-sidebar .sidebar-links { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 20px; }
.catalog-content { min-width: 0; }
.catalog-toolbar { border: 0; padding: 0 0 22px; margin: 0; gap: 16px; min-height: 52px; flex-wrap: wrap; }
.catalog-toolbar > span, .catalog-toolbar h2 { font-size: 21px; color: var(--ink); font-weight: 600; }
.catalog-toolbar select { border: 1px solid var(--line); background: transparent; padding: 10px 12px; border-radius: 6px; min-width: 130px; }
.catalog-search { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 6px; background: transparent; max-width: 280px; }
.catalog-search input { border: 0; background: transparent; padding: 10px 8px; font-size: 13px; }
.catalog-search > svg { margin-left: 12px; width: 17px; }
.catalog-search button { background: transparent; padding: 10px; min-width: 38px; }
.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product-card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 24px; min-width: 0; position: relative; transition: border-color 160ms, box-shadow 160ms; display: flex; flex-direction: column; }
.product-card:hover, .product-card:focus-within { border-color: #a9b1bb; box-shadow: 0 8px 24px #20222708; }
.product-cover { background: #f7f8fa; border: 0; border-radius: 4px; aspect-ratio: 16/10; order: 2; margin: 18px 0; }
.product-cover img { padding: 12px; object-fit: contain; }
.product-card:hover .product-cover, .product-card:focus-within .product-cover { box-shadow: none; border: 0; }
.product-card .product-meta { margin-top: 0; order: 0; color: var(--muted); }
.product-card h2 { order: 1; margin: 2px 0 8px; min-height: 0; font-size: 22px; line-height: 1.45; }
.product-card > p { order: 1; margin-bottom: 0; line-height: 1.7; font-size: 13px; min-height: 44px; }
.product-card > p:empty { display: none; }
.support-id { font-size: 24px; color: var(--ink); font-variant-numeric: tabular-nums; margin: 16px 0; }
.service-info > a { display: block; margin-top: 24px; }
.product-bottom { order: 3; margin-top: auto; padding-top: 8px; min-height: 52px; }
.product-bottom strong { color: var(--ink); font-size: 24px; }
.product-bottom > a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; min-width: 40px; background: var(--ink); color: #fff; border-radius: 6px; padding: 9px 14px; font-size: 13px; }
.product-bottom > a:hover { background: #343941; }
.product-bottom svg { width: 18px; }
.soldout { z-index: 1; top: 12px; left: 2px; border: 1px solid var(--line); }
.image-empty { background: #f0f2f5; color: var(--muted); }
.banners { margin-top: 40px; }
.banner-slide img { background: transparent; border-radius: 8px; }
.breadcrumbs { margin: 32px 0; color: var(--muted); }
.product-detail { gap: 48px; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); align-items: start; }
.gallery #product-image { border: 1px solid var(--line); border-radius: 8px; background: #fff; aspect-ratio: 5/4; padding: 24px; }
.product-info { padding: 0; display: flex; flex-direction: column; min-width: 0; }
.product-info > .eyebrow, .product-info > h1, .product-info > .description { order: 0; }
.product-info > .gallery { order: 1; margin: 4px 0 20px; }
.product-info > .sku-options { order: 2; }
.product-info > .detail-content { order: 3; }
.product-info .gallery #product-image { aspect-ratio: auto; height: 340px; }
.product-info .gallery #product-image img { height: 100%; width: 100%; object-fit: contain; }
.product-info h1 { font-size: 32px; }
.eyebrow { color: var(--interaction-accent); }
.detail-price { background: transparent; padding: 12px 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.detail-price strong { color: var(--ink); font-size: 32px; }
.sku-options { display: grid; gap: 10px; border: 0; padding: 0; margin: 20px 0; min-width: 0; }
.sku-options:has(.sku-option:nth-of-type(7)) { grid-template-columns: repeat(2,minmax(0,1fr)); max-height: 460px; overflow-y: auto; padding: 3px; scrollbar-gutter: stable; }
.sku-options legend { font-size: 13px; font-weight: 600; padding: 0 0 12px; }
.sku-option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 60px; border: 1px solid var(--line); border-radius: 6px; background: white; margin: 0; cursor: pointer; overflow-wrap: anywhere; }
.sku-option:has(input:checked) { border-color: var(--interaction-accent); box-shadow: inset 0 0 0 1px var(--interaction-accent); background: #f2fafa; }
.sku-option:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.sku-option input { width: 16px; height: 16px; margin: 0; accent-color: var(--interaction-accent); flex-shrink: 0; }
.sku-option span { min-width: 0; flex: 1; }
.sku-option strong { font-size: 15px; }
.order-summary { background: #fff; border: 1px solid var(--line); border-radius: 8px; position: sticky; top: 112px; padding: 28px; }
.product-detail .order-summary { margin-top: 24px; }
.order-summary h2 { font-size: 20px; margin-bottom: 20px; }
.order-summary dl { margin: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 13px; }
.order-summary dt { color: var(--muted); }
.order-summary dd { margin: 0; text-align: right; }
.order-summary .buy-actions { margin-top: 20px; }
.product-benefits { gap: 18px; flex-wrap: wrap; color: var(--muted); }
.detail-content { margin-top: 48px; padding-top: 32px; border-color: var(--line); }
.detail-content > h2 { font-size: 22px; }
.rich { line-height: 1.85; }
.rich p { color: #424954; }
.journey-steps { display: flex; gap: 24px; padding: 22px 0; margin-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); list-style: none; }
.journey-steps .active, .journey-steps [aria-current] { color: var(--ink); font-weight: 600; }
.checkout-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; }
.section, .line-item, .resource-row, .order-card { border-color: var(--line); }
.order-card { background: #fff; }
.order-head strong, .order-summary .total strong { color: var(--ink); }
.payment-panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 40px; }
.payment-options .secondary { min-height: 48px; }
.account-layout { grid-template-columns: 184px minmax(0,1fr); gap: 36px; }
.account-nav { border: 0; position: sticky; top: 112px; align-self: start; padding-right: 0; }
.account-nav > a.active { background: #e8ebef; color: var(--ink); border-radius: 6px; }
.account-nav > a:hover { background: #eceff2; border-radius: 6px; }
.account-nav h2 { font-size: 15px; }
.metrics { background: #eceff2; border-radius: 6px; }
.auth-page { gap: 80px; padding: 64px 40px; }
.auth-form { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.auth-form h2 { font-size: 23px; }
.auth-intro h1 { font-size: 36px; }
.auth-intro a, .auth-links, .check a { color: var(--interaction-accent); }
.tabs a.active { color: var(--ink); border-color: var(--ink); }
.notice { background: #edf3f4; border-color: var(--interaction-accent); }
.notice.error { background: #fff1f1; border-color: #bf3946; }
footer { background: #f0f2f5; border-color: var(--line); padding-top: 32px; }
.footer-row { gap: 24px; flex-wrap: wrap; }
.footer-row strong { color: var(--ink); }
.footer-row > div { flex-wrap: wrap; gap: 18px; }
.legal { border-color: #dce0e5; }
@media (min-width: 1500px) { .header .nav { margin-left: 48px; } }
@media (max-width: 1200px) {
  .wrap { width: calc(100% - 64px); }
  .header { gap: 22px; }
  .header .nav, #configured-nav { gap: 18px; }
  .header .nav { margin-left: 0; }
  .brand { font-size: 20px; }
  .catalogue-layout { grid-template-columns: 164px minmax(0,1fr); gap: 24px; }
  .product-card { padding: 20px; }
  .product-info h1 { font-size: 28px; }
}
@media (max-width: 1000px) {
  .header { flex-wrap: wrap; gap: 0; padding-top: 12px; }
  .brand { margin-right: auto; }
  .header-actions { margin-left: auto; }
  .header .nav { flex-basis: 100%; order: 3; min-height: 48px; overflow-x: auto; }
  .header .nav a { min-height: 48px; }
  .catalog-sidebar, .account-nav { top: 148px; }
  .catalogue-layout { grid-template-columns: 150px minmax(0,1fr); gap: 20px; }
  .product-detail { gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); }
  .catalog-intro { padding: 36px 0 30px; }
  .catalog-title, .catalog-intro h1 { font-size: 34px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header { padding-block: 10px 0; }
  .header-actions { gap: 14px; }
  .header .nav, #configured-nav { gap: 22px; }
  .header-actions #account-label { display: inline; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .catalog-intro { display: block; padding: 32px 0 24px; }
  .catalog-intro h1, .catalog-title { font-size: 30px; }
  .catalog-intro > a { margin-top: 16px; }
  .catalogue-layout, .account-layout { grid-template-columns: 1fr; gap: 16px; }
  .catalog-sidebar { position: static; display: block; }
  .catalog-sidebar nav, .category-filter { flex-direction: row; gap: 4px; overflow-x: auto; padding-bottom: 6px; }
  .catalog-sidebar a { white-space: nowrap; padding: 10px 12px; }
  .catalog-sidebar .sidebar-links, .catalog-sidebar h2, .catalog-sidebar > p { display: none; }
  .catalog-toolbar { align-items: center; padding-bottom: 18px; }
  .catalog-search { max-width: 100%; }
  .product-grid { gap: 16px; }
  .product-card { padding: 16px; }
  .product-card h2 { font-size: 18px; }
  .product-detail, .checkout-layout { grid-template-columns: 1fr; gap: 28px; }
  .order-summary { position: static; order: initial; padding: 22px; }
  .product-info h1 { font-size: 28px; }
  .auth-page { grid-template-columns: 1fr; padding: 32px 0; gap: 24px; }
  .auth-intro { display: none; }
  .account-nav { position: static; display: flex; overflow-x: auto; align-items: center; gap: 4px; }
  .account-nav h2 { display: none; }
  .account-nav > a, .account-nav > button { padding: 10px; margin: 0; }
  .footer-row > div { gap: 14px; }
}
@media (max-width: 480px) {
  .product-grid, .compact.product-grid { grid-template-columns: 1fr; }
  .catalog-toolbar > form { max-width: 100%; }
  .catalog-toolbar > span { font-size: 18px; }
  .product-cover { aspect-ratio: 16/10; }
  .product-card h2 { font-size: 21px; }
  .product-card > p { min-height: 0; }
  .journey-steps { gap: 12px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* V4 uses real catalogue media and the existing commerce controls. */
[hidden] { display: none !important; }
.wrap { width: min(1320px, calc(100% - 96px)); }
.catalog-intro { padding: 28px 0 20px; }
.catalog-intro .eyebrow { font-size: 11px; }
.catalog-intro .catalog-title { font-size: 52px; margin-top: 10px; }
.catalog-intro p { font-size: 14px; margin-top: 12px; }
.catalog-search { width: 320px; max-width: 100%; border-radius: 4px; }
.catalog-search input { flex: 1; min-width: 0; width: 0; padding: 12px 14px; }
.catalog-featured { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.section-kicker { font-size: 11px; font-weight: 500; margin-bottom: 18px; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.feature { min-width: 0; }
.feature-media { display: grid; place-items: center; aspect-ratio: 16/9; border-radius: 5px; background: #edf0ec; overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.feature-caption { display: flex; align-items: start; gap: 20px; justify-content: space-between; padding: 18px 0 0; }
.feature-caption > div { min-width: 0; }
.feature-caption h2 { font-size: 22px; line-height: 1.45; font-weight: 600; margin: 7px 0; overflow-wrap: anywhere; }
.feature-caption p { font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.price-link { display: inline-flex; gap: 12px; align-items: center; font-size: 20px; white-space: nowrap; padding-top: 26px; }
.catalogue-layout { grid-template-columns: 160px minmax(0, 1fr); gap: 32px; }
.catalog-sidebar a.active { background: #e5eee6; }
.catalog-sidebar a:not(.active):hover { background: #edf1ec; }
.catalog-toolbar > span { font-size: 22px; }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.product-card { border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none; }
.product-card:hover, .product-card:focus-within { box-shadow: none; }
.product-card .product-cover { order: 0; margin: 0 0 12px; background: #edf0ec; border-radius: 5px; }
.product-card .product-cover img { padding: 0; transform: none; }
.product-card .product-meta { order: 1; font-size: 11px; color: var(--interaction-accent); }
.product-card h2 { order: 2; font-size: 17px; margin: 4px 0 8px; overflow-wrap: anywhere; }
.product-card > p { order: 3; font-size: 12px; overflow-wrap: anywhere; }
.product-card .product-bottom { order: 4; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; gap: 8px; flex-wrap: wrap; }
.product-bottom strong { font-size: 20px; }
.product-bottom > a { min-width: 36px; min-height: 36px; padding: 8px; background: transparent; color: var(--ink); }
.product-bottom > a:hover { background: #e5eee6; }
.quick-view { position: absolute; top: 10px; right: 10px; z-index: 2; min-height: 36px; padding: 7px 10px; border: 1px solid var(--line); background: #fff; font-size: 11px; border-radius: 4px; }
.quick-view svg { width: 16px; height: 16px; }
.quick-view:hover { background: #e5eee6; }
.soldout { top: 10px; left: 10px; max-width: calc(100% - 96px); font-size: 10px; white-space: normal; }
.product-detail { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; }
.product-info > .gallery { order: 0; margin: 0; }
.detail-photo { position: relative; min-width: 0; }
.product-info .gallery #product-image { width: 100%; height: auto; aspect-ratio: 16/10; padding: 0; border: 0; border-radius: 5px; background: #edf0ec; overflow: hidden; }
.product-info .gallery #product-image img { display: block; object-fit: contain; }
.zoom-button { position: absolute; right: 14px; bottom: 14px; background: #fff; border: 1px solid var(--line); min-width: 42px; min-height: 42px; }
.thumbnails { margin: 14px 0 28px; max-width: 100%; padding: 3px; }
.thumbnails button { width: 88px; height: 56px; border-radius: 4px; }
.thumbnails button.active { border-color: var(--interaction-accent); box-shadow: 0 0 0 1px var(--interaction-accent); }
.product-detail .detail-summary { background: transparent; border: 0; border-radius: 0; margin: 0; padding: 0; top: 112px; min-width: 0; }
.detail-summary h1 { font-size: 34px; font-weight: 650; line-height: 1.4; margin: 12px 0 16px; overflow-wrap: anywhere; }
.detail-summary .description { font-size: 14px; line-height: 1.9; }
.detail-summary > p { overflow-wrap: anywhere; font-size: 13px; }
.detail-summary .detail-price { border: 0; padding: 16px 0 20px; margin-bottom: 8px; flex-wrap: wrap; gap: 14px; }
.detail-summary .detail-price strong { font-size: 38px; }
.detail-price del { font-size: 13px; color: var(--muted); }
.detail-summary .sku-options { border-block: 1px solid var(--line); padding: 16px 0; margin-top: 12px; }
.detail-summary .sku-options:has(.sku-option:nth-of-type(7)) { grid-template-columns: 1fr; }
.sku-option { padding: 11px 12px; min-height: 48px; font-size: 12px; flex-wrap: wrap; gap: 8px; }
.sku-option strong { font-size: 13px; }
.sku-option:has(input:checked) { background: #edf5ee; }
.detail-summary .quantity { margin-top: 18px; }
.detail-summary .buy-actions { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 10px; }
.detail-summary #buy { grid-column: 1 / -1; min-height: 48px; }
.detail-summary #add-cart { min-width: 0; min-height: 44px; padding-inline: 10px; }
.product-info > .detail-content { order: 1; border: 0; margin: 0; padding: 0; min-width: 0; }
.detail-tabs { display: flex; gap: 28px; position: sticky; top: 92px; background: var(--page); z-index: 3; border-bottom: 1px solid var(--line); overflow-x: auto; }
.detail-tabs button { flex-shrink: 0; padding: 14px 0; border-radius: 0; background: transparent; font-size: 13px; border-bottom: 2px solid transparent; }
.detail-tabs button.active { border-bottom-color: var(--interaction-accent); color: var(--interaction-accent); }
.detail-tab-panel { padding: 28px 0; overflow-wrap: anywhere; min-width: 0; }
.detail-tab-panel h2 { font-size: 24px; margin-bottom: 20px; }
.detail-tab-panel > p { font-size: 14px; line-height: 1.9; margin-bottom: 18px; }
.detail-tab-panel > a { color: var(--interaction-accent); }
.detail-tab-panel .rich { max-width: 100%; overflow-x: auto; }
.detail-tab-panel .rich img { height: auto; max-width: 100%; }
dialog:has(.resource-preview), dialog:has(.image-lightbox) { width: min(900px, calc(100% - 36px)); background: var(--page); padding: 36px; }
.resource-preview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 28px; }
.resource-preview > div { min-width: 0; }
.resource-preview img { width: 100%; max-height: 420px; object-fit: contain; }
.resource-preview h2 { font-size: 24px; margin: 12px 0 16px; padding-right: 16px; overflow-wrap: anywhere; }
.resource-preview p { font-size: 13px; overflow-wrap: anywhere; }
.resource-preview strong { display: block; font-size: 28px; margin: 18px 0; }
.resource-preview .button { margin: 0 8px 8px 0; }
.image-lightbox h2 { font-size: 20px; padding-right: 30px; overflow-wrap: anywhere; }
.image-lightbox img { display: block; width: 100%; max-height: 70vh; object-fit: contain; }
.auth-page { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 64px; padding: 60px 0; }
.auth-intro { min-width: 0; }
.auth-intro h1 { font-size: 42px; line-height: 1.5; }
.auth-intro img { width: 100%; max-height: 330px; object-fit: contain; border-radius: 5px; }
.auth-form { background: transparent; border: 0; border-left: 1px solid var(--line); border-radius: 0; padding: 0 32px 0 56px; min-width: 0; }
.auth-form h2 { font-size: 24px; }
.wechat-login { border-color: var(--line); padding-bottom: 24px; }
.wechat-login img { aspect-ratio: 1; height: auto; width: 224px; }
.auth-method-tabs { display: flex; align-items: stretch; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.auth-method-tabs a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 0; border-bottom: 2px solid transparent; color: var(--muted); font-size: 14px; }
.auth-method-tabs a.active { color: var(--ink); border-bottom-color: var(--interaction-accent); font-weight: 600; }
.auth-form .password-method { min-width: 0; }
.auth-form .password-method[hidden], .auth-form .wechat-login[hidden] { display: none !important; }
.auth-form .wechat-login:not([hidden]) { display: block; border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.wechat-pending { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 250px; padding: 28px 12px; margin: 18px 0 24px; border-block: 1px solid var(--line); }
.wechat-pending > svg { width: 64px; height: 64px; color: var(--interaction-accent); stroke-width: 1.25; }
.wechat-pending > strong { font-size: 18px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.wechat-login .wechat-pending > p { max-width: 290px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.auth-resource-preview { margin: 32px 0 24px; min-width: 0; }
.auth-resource-preview img { display: block; width: 100%; aspect-ratio: 16/9; max-height: none; object-fit: contain; background: #edf0ec; border-radius: 5px; }
.auth-resource-preview figcaption { padding-top: 12px; font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.brand-subtitle { font-size: 9px; line-height: 1.3; width: 50px; white-space: normal; color: var(--muted); }
.feature-media img { transition: transform 450ms cubic-bezier(.2,.8,.2,1); }
.feature-media:hover img { transform: scale(1.025); }
#app > * { animation: page-arrive 260ms ease both; }
@keyframes page-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
dialog.cart-sheet { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(480px,100%); height: 100dvh; max-height: 100dvh; border: 0; border-left: 1px solid var(--line); border-radius: 0; padding: 36px 28px; overflow-y: auto; animation: cart-arrive 260ms cubic-bezier(.2,.8,.2,1); }
@keyframes cart-arrive { from { transform: translateX(100%); } to { transform: translateX(0); } }
.cart-sheet h2 { padding-right: 40px; margin-bottom: 24px; font-size: 25px; }
.cart-panel-row { display: grid; grid-template-columns: 105px minmax(0,1fr); gap: 18px; padding: 22px 0; border-block-end: 1px solid var(--line); }
.cart-panel-row img { width: 105px; aspect-ratio: 16/10; object-fit: contain; background: #edf0ec; border-radius: 4px; }
.cart-panel-row h3 { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.cart-panel-row p, .cart-panel-row small { font-size: 11px; color: var(--muted); }
.cart-panel-row strong { font-size: 16px; }
.cart-panel-actions { display: grid; gap: 12px; margin-top: 28px; }
.cart-panel-note { font-size: 11px; line-height: 1.8; margin-top: 20px; }
@media (max-width: 1100px) {
  .brand-subtitle { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail { gap: 30px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .detail-summary h1 { font-size: 29px; }
  .product-detail .detail-summary { top: 148px; }
  .detail-tabs { top: 140px; gap: 20px; }
  .feature-caption { flex-wrap: wrap; gap: 8px; }
  .price-link { padding-top: 0; }
}
@media (max-width: 760px) {
  .catalog-intro .catalog-title { font-size: 36px; }
  .wrap { width: calc(100% - 36px); }
  .catalog-search { margin-top: 24px; width: 100%; }
  .feature-grid, .catalogue-layout, .product-detail, .auth-page { grid-template-columns: minmax(0, 1fr); }
  .feature-grid { gap: 26px; }
  .feature-caption { flex-wrap: nowrap; }
  .feature-caption h2 { font-size: 20px; }
  .price-link { font-size: 18px; padding-top: 20px; gap: 6px; }
  .catalog-sidebar nav { display: block; }
  .catalog-sidebar nav > ul { display: flex; flex-wrap: wrap; gap: 4px 8px; }
  .catalog-sidebar ul ul { padding-left: 12px; }
  .catalog-sidebar a { white-space: normal; }
  .product-card { padding: 0; }
  .product-card h2 { font-size: 16px; }
  .quick-view { padding: 7px; }
  .quick-view span { display: none; }
  .soldout { max-width: calc(100% - 66px); }
  .product-detail .detail-summary { position: static; grid-row: 2; }
  .product-detail .product-info { display: contents; }
  .product-detail .gallery { grid-row: 1; min-width: 0; }
  .product-detail .detail-content { grid-row: 3; min-width: 0; }
  .detail-tabs { position: static; gap: 22px; }
  .resource-preview { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .resource-preview img { max-height: 230px; }
  dialog:has(.resource-preview), dialog:has(.image-lightbox) { padding: 32px 22px 22px; }
  .auth-page { padding: 32px 0; gap: 24px; }
  .auth-form { border: 0; padding: 0 10px; }
  .auth-method-tabs { gap: 24px; margin-bottom: 24px; }
  .wechat-pending { min-height: 220px; padding-inline: 8px; }
  .auth-intro { display: none; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-caption { flex-wrap: wrap; }
  .price-link { padding-top: 0; }
  .catalog-toolbar select { min-width: 0; max-width: 100%; }
  .journey-steps { flex-wrap: wrap; }
}
/* Approved exhibition direction: live media, real prices and existing commerce. */
:root {
  --page: #fff;
  --ink: #1d2423;
  --muted: #626b69;
  --line: #e3e8e6;
  --interaction-accent: #087251;
  --mint: #59e9b3;
  --stage: #111817;
}
.site-header { background: #111817f5; border-color: #ffffff1a; backdrop-filter: blur(16px); color: #f4f8f6; }
.site-header .header { min-height: 76px; }
.site-header .brand-subtitle { color: #a7b7b0; font-size: 8px; }
.site-header .header .nav, .site-header .nav a { min-height: 76px; }
.site-header .nav a.active, .site-header a:hover { color: var(--mint); }
.site-header .nav a.active::after { background: var(--mint); }
.site-header .header-actions > a:last-child { padding: 0 16px; border-radius: 5px; color: #112a20; background: var(--mint); }
.site-header .header-actions > a:last-child:hover { background: #8bf6ce; }
.site-header #account-label { max-width: 130px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.primary, .button.primary { background: var(--mint); border-color: var(--mint); color: #112a20; font-weight: 600; }
.primary:not(:disabled):hover, .button.primary:hover { background: #83f2c8; border-color: #83f2c8; color: #112a20; }
.primary:disabled { background: #e5e9e7; border-color: #e5e9e7; color: #6c7470; opacity: 1; }
.secondary:not(:disabled):hover { background: #edf8f2; border-color: #a6d9bf; }
#app:has(.exhibition-store) { width: 100%; }
.exhibition { position: relative; padding: 0; margin: 0; border: 0; background: var(--stage) url('/home/exhibition-20261020/stage.jpg') center 68% / cover no-repeat; color: #fff; overflow: clip; }
.exhibition-inner { width: min(1320px, calc(100% - 96px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); align-items: center; gap: 28px; min-height: 480px; height: min(550px, calc(100svh - 210px)); }
.exhibition-copy { position: relative; z-index: 3; padding: 40px 0 56px; min-width: 0; }
.exhibition-copy .eyebrow { color: #9becce; font-size: 10px; letter-spacing: 0; }
.exhibition-copy h1 { font-size: 58px; font-weight: 700; line-height: 1.2; margin-top: 20px; color: #fff; }
.exhibition-copy .exhibition-headline { color: var(--mint); font-size: 30px; font-weight: 600; line-height: 1.5; margin-top: 14px; }
.exhibition-copy .exhibition-description { color: #c1ccc7; font-size: 15px; line-height: 1.9; margin: 22px 0 28px; }
.exhibition-explore { min-height: 48px; padding: 12px 21px; gap: 30px; }
.exhibition-support { display: flex; width: fit-content; align-items: center; gap: 16px; margin-top: 22px; font-size: 12px; color: #d0dcd6; }
.exhibition-support:hover { color: var(--mint); }
.exhibition-visual { position: relative; min-height: 400px; height: 100%; min-width: 0; perspective: 1400px; }
.exhibition-product { position: absolute; display: block; width: 65%; border-radius: 7px; border: 1px solid #ffffff40; overflow: hidden; background: #fff; box-shadow: 0 24px 40px #0006; transition: transform 400ms cubic-bezier(.2,.8,.2,1), box-shadow 400ms ease; }
.exhibition-product-0 { z-index: 2; left: 0; top: 105px; transform: rotateY(-12deg) rotateZ(-4deg); }
.exhibition-product-1 { z-index: 1; right: -10px; top: 60px; transform: rotateY(-15deg) rotateZ(5deg); }
.exhibition-product-0:hover, .exhibition-product-0:focus-visible { transform: translateY(-10px) rotateY(-8deg) rotateZ(-2deg); box-shadow: 0 30px 56px #0008; }
.exhibition-product-1:hover, .exhibition-product-1:focus-visible { z-index: 4; transform: translateY(-10px) rotateY(-8deg) rotateZ(2deg); box-shadow: 0 30px 56px #0008; }
.exhibition-window { display: flex; height: 30px; align-items: center; gap: 5px; padding: 0 10px; color: #525b58; background: #f1f4f2; }
.exhibition-window > i { width: 6px; height: 6px; border-radius: 50%; background: #c4cdc8; }
.exhibition-window > i:first-child { background: #f17e75; }
.exhibition-window > i:nth-child(2) { background: #e7c26e; }
.exhibition-window > i:nth-child(3) { background: #78b99a; }
.exhibition-window > span { margin-left: 5px; flex: 1; font-size: 9px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.exhibition-window > svg { width: 12px; height: 12px; }
.exhibition-product img { display: block; width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: contain; }
.exhibition-product-caption { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 11px 13px; font-size: 11px; color: #283b32; background: #fff; }
.exhibition-product-caption > strong { font-size: 13px; white-space: nowrap; }
.exhibition-foot { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; gap: 20px; padding: 12px max(48px, calc((100% - 1320px) / 2)); background: #0a100f80; border-top: 1px solid #ffffff12; color: #afc2b8; font-size: 10px; }
.exhibition-foot > span:last-child { display: flex; align-items: center; gap: 12px; }
.exhibition-foot svg { width: 13px; height: 13px; }
.exhibition-store > .catalog-intro, .exhibition-store > .catalogue-layout { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.exhibition-store .catalog-intro { align-items: center; padding: 34px 0 26px; scroll-margin-top: 90px; }
.exhibition-store .catalog-title { font-size: 28px; margin-top: 6px; font-weight: 650; }
.exhibition-store .catalog-intro p { font-size: 12px; margin-top: 8px; }
.exhibition-store .catalog-intro .eyebrow { color: #087251; font-size: 10px; }
.exhibition-store .catalog-search { background: #f6f8f7; border: 1px solid var(--line); }
.exhibition-store .catalogue-layout { display: block; }
.exhibition-store .catalog-sidebar { position: static; border-block: 1px solid var(--line); padding: 0; margin-bottom: 24px; }
.exhibition-store .catalog-sidebar h2 { display: none; }
.exhibition-store .catalog-sidebar nav > ul { display: flex; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.exhibition-store .catalog-sidebar a { border-radius: 0; padding: 13px 0; margin: 0; background: none; font-size: 13px; border-bottom: 2px solid transparent; }
.exhibition-store .catalog-sidebar a.active { border-color: var(--interaction-accent); background: none; color: var(--interaction-accent); }
.exhibition-store .catalog-sidebar a:not(.active):hover { background: none; color: var(--interaction-accent); }
.exhibition-store .catalog-sidebar ul ul { display: flex; padding: 0; gap: 18px; flex-wrap: wrap; }
.exhibition-store .catalog-sidebar ul ul a { font-size: 12px; }
.exhibition-store .catalog-toolbar { margin-bottom: 20px; }
.exhibition-store .catalog-toolbar > span { font-size: 16px; }
.exhibition-store .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.exhibition-store .product-card { min-width: 0; }
.product-card .product-cover { background: #f4f6f5; border: 1px solid var(--line); }
.product-card .product-cover img { transition: transform 450ms cubic-bezier(.2,.8,.2,1); }
.product-card .product-cover:hover img { transform: scale(1.035); }
.product-card h2 { line-height: 1.55; }
.product-card .product-bottom { margin-top: auto; padding-top: 14px; }
.product-card .product-bottom strong { font-size: 22px; }
.product-card .product-bottom > a { background: #e9f8f0; color: #126545; border-radius: 5px; }
.product-card .product-bottom > a:hover { background: var(--mint); transform: translate(2px, -2px); }
.quick-view { opacity: 0; transform: translateY(4px); transition: opacity 150ms, transform 150ms; }
.product-card:hover .quick-view, .product-card:focus-within .quick-view { opacity: 1; transform: none; }
.product-detail { gap: 48px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); padding-top: 8px; }
.detail-summary h1 { font-size: 32px; }
.product-info .gallery #product-image { aspect-ratio: 16/10; background: #f3f6f4; border: 1px solid var(--line); }
.detail-summary .detail-price { padding-bottom: 12px; }
.detail-summary .detail-price strong { font-size: 40px; color: #143b2a; }
.detail-summary .sku-options { gap: 9px; }
.sku-option { border-radius: 5px; }
.sku-option:has(input:checked) { background: #edfaf3; border-color: #16865b; box-shadow: inset 0 0 0 1px #16865b; }
.product-detail .detail-summary { top: 100px; }
.detail-tabs { top: 76px; gap: 24px; }
.detail-summary .buy-actions #buy { min-height: 50px; }
.product-benefits { padding-top: 20px; border-top: 1px solid var(--line); margin-top: 22px; }
.product-benefits a { color: #35634e; }
body[data-page="login"] { background: #111817 url('/home/exhibition-20261020/stage.jpg') center top / cover fixed; }
body[data-page="login"] #app { width: 100%; padding: 54px 24px; min-height: calc(100svh - 76px); display: grid; place-items: center; }
body[data-page="login"] footer { background: #fff; }
.auth-page { position: relative; width: min(900px, 100%); padding: 44px; margin: 0 auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; background: #fff; border-radius: 8px; box-shadow: 0 24px 90px #0005; }
.auth-dismiss { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; padding: 8px; color: #68746d; z-index: 2; }
.auth-intro h1 { font-size: 27px; line-height: 1.5; margin-top: 12px; }
.auth-intro > p { font-size: 12px; margin-top: 14px; }
.auth-intro > a { font-size: 12px; display: inline-flex; margin-top: 16px; color: #087251; }
.auth-resource-preview { margin: 24px 0 0; }
.auth-resource-preview figcaption { font-size: 10px; }
.auth-form { padding: 0 0 0 32px; }
.auth-form h2 { font-size: 22px; margin-bottom: 22px; }
.auth-method-tabs { gap: 26px; margin-bottom: 22px; }
.auth-form label { font-size: 12px; margin-bottom: 18px; }
.auth-form input { min-height: 44px; background: #fbfcfb; }
.auth-form label.check { font-size: 11px; line-height: 1.8; }
.auth-form label.check input { min-height: 0; }
.password-field { position: relative; margin-top: 7px; }
.password-field input { padding-right: 44px; }
.password-toggle { position: absolute; right: 3px; top: 3px; width: 38px; height: 38px; padding: 9px; background: transparent; }
.password-toggle svg { width: 18px; height: 18px; }
.wechat-pending { min-height: 220px; }
dialog[open] { animation: exhibition-dialog-in 220ms cubic-bezier(.2,.8,.2,1); }
dialog.cart-sheet[open] { animation: cart-arrive 260ms cubic-bezier(.2,.8,.2,1); }
@keyframes exhibition-dialog-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 1200px) {
  .exhibition-copy h1 { font-size: 50px; }
  .exhibition-copy .exhibition-headline { font-size: 25px; }
  .exhibition-product { width: 72%; }
  .exhibition-product-0 { top: 135px; }
  .exhibition-product-1 { top: 68px; right: 0; }
  .exhibition-product-caption { font-size: 10px; padding: 9px; }
  .exhibition-store .product-grid { gap: 20px; }
  .site-header .header { gap: 20px; }
  .site-header .header .nav, .site-header #configured-nav { gap: 20px; }
}
@media (max-width: 1000px) {
  .exhibition-inner { gap: 18px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .exhibition-store .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exhibition-copy h1 { font-size: 44px; }
  .exhibition-copy .exhibition-description { font-size: 13px; }
  .exhibition-product-caption { display: none; }
  .auth-page { gap: 24px; padding: 40px 32px; }
  .auth-form { padding-left: 24px; }
}
@media (max-width: 760px) {
  .site-header .header .nav, .site-header .nav a { min-height: 44px; }
  .exhibition-inner { width: calc(100% - 36px); height: auto; min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .exhibition-copy { padding: 34px 0 0; }
  .exhibition-copy h1 { font-size: 40px; }
  .exhibition-copy .exhibition-headline { font-size: 24px; margin-top: 10px; }
  .exhibition-copy .exhibition-description { margin: 16px 0 20px; }
  .exhibition-support { display: inline-flex; margin-left: 20px; }
  .exhibition-visual { height: 290px; min-height: 0; }
  .exhibition-product { width: 64%; }
  .exhibition-product-0 { top: 40px; }
  .exhibition-product-1 { top: 20px; }
  .exhibition-window { height: 24px; }
  .exhibition-foot { padding-inline: 18px; }
  .exhibition-foot > span:last-child { display: none; }
  .exhibition-store > .catalog-intro, .exhibition-store > .catalogue-layout { width: calc(100% - 36px); }
  .exhibition-store .catalog-intro { display: block; padding: 28px 0 22px; }
  .exhibition-store .catalog-title { font-size: 24px; }
  .exhibition-store .catalog-search { margin-top: 18px; }
  .exhibition-store .catalog-sidebar nav > ul { gap: 20px; }
  .quick-view { opacity: 1; transform: none; }
  .auth-page { width: min(440px, 100%); display: block; padding: 40px 24px 28px; }
  .auth-form { border: 0; padding: 0; }
  .auth-intro { display: none; }
  .auth-method-tabs { padding-right: 12px; }
  body[data-page="login"] #app { padding: 28px 18px; }
  .product-detail { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .detail-summary h1 { font-size: 27px; }
}
@media (max-width: 480px) {
  .exhibition-store .product-grid { grid-template-columns: minmax(0, 1fr); }
  .exhibition-support { display: flex; margin: 18px 0 0; }
  .exhibition-visual { height: 235px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
:root { --tools-ink: #1d2423; }
.tools-directory { padding: 36px 0 48px; color: var(--tools-ink); }
.tools-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; padding-bottom:30px; border-bottom:1px solid #dce5e1; }
.tools-eyebrow { color:#087251; font-size:13px; }
.tools-heading h1 { font-size:32px; line-height:1.35; margin:12px 0; letter-spacing:0; }
.tools-heading p { color:#62706a; margin:0; }
.tools-controls { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-top:28px; flex-wrap:wrap; }
.tools-search { display:flex; align-items:center; gap:10px; border:1px solid #bfcfc7; border-radius:6px; padding:0 14px; min-height:46px; width:350px; max-width:100%; background:white; }
.tools-search svg { width:20px; height:20px; flex-shrink:0; }
.tools-search input { border:0; outline:0; background:transparent; width:100%; min-width:0; padding:12px 0; font-size:15px; }
.tools-search:focus-within { outline:2px solid #087251; outline-offset:2px; }
.tools-tabs { display:flex; flex-wrap:wrap; gap:6px; }
.tools-tabs button { border:0; border-bottom:2px solid transparent; padding:12px; background:transparent; color:#63716b; cursor:pointer; font-size:14px; }
.tools-tabs button[aria-pressed=true] { color:#087251; border-bottom-color:#087251; }
.tools-count { font-size:13px; color:#63716b; margin:20px 0 14px; }
.tools-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.tool-card { background:#fff; border:1px solid #dce5e1; border-top:3px solid var(--tool-accent); border-radius:8px; padding:26px; display:flex; flex-direction:column; min-width:0; transition:transform .18s ease,box-shadow .18s ease; }
.tool-card:hover { transform:translateY(-3px); box-shadow:0 10px 28px #172c2410; }
.tool-identity { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.tool-identity img { width:52px; height:52px; object-fit:contain; border-radius:8px; }
.tool-identity span { color:var(--tool-accent); font-size:12px; }
.tool-card h2 { font-size:23px; line-height:1.3; margin:24px 0 8px; overflow-wrap:anywhere; letter-spacing:0; }
.tool-card h3 { font-size:15px; font-weight:500; margin:0 0 14px; color:var(--tool-accent); }
.tool-description { font-size:14px; line-height:1.9; color:#56635d; margin:0; }
.tool-tags { display:flex; flex-wrap:wrap; gap:10px; margin:18px 0; color:#69746f; font-size:12px; }
.tool-tags span::before { content:'#'; color:#9ba9a2; margin-right:3px; }
.tool-card dl { border-top:1px solid #e6ece8; padding-top:18px; margin:0 0 24px; font-size:13px; line-height:1.8; }
.tool-card dt { font-weight:600; margin-top:10px; }
.tool-card dt:first-child { margin-top:0; }
.tool-card dd { margin:4px 0 0; color:#69746f; }
.tool-actions { margin-top:auto; display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.tool-actions a { display:inline-flex; align-items:center; gap:6px; font-size:13px; }
.tool-actions svg { width:16px; height:16px; }
.tools-notice { display:flex; gap:10px; align-items:flex-start; margin-top:28px; color:#69746f; font-size:13px; line-height:1.8; }
.tools-notice svg { flex-shrink:0; width:18px; height:18px; margin-top:3px; }
.tools-notice p { margin:0; }
.tools-empty { grid-column:1/-1; padding:55px 20px; text-align:center; color:#63716b; }
.tools-empty button { display:block; margin:16px auto 0; border:0; background:transparent; color:#087251; cursor:pointer; text-decoration:underline; }
@media(max-width:1000px) { .tools-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:640px) { .tools-directory { padding-top:20px; } .tools-heading { align-items:flex-start; flex-direction:column; gap:16px; } .tools-heading h1 { font-size:25px; } .tools-grid { grid-template-columns:1fr; } .tools-search { width:100%; } .tools-controls { gap:14px; } .tools-tabs button { padding:10px 8px; } .tool-card { padding:22px; } }
@media(prefers-reduced-motion:reduce) { .tool-card { transition:none; } .tool-card:hover { transform:none; } }
