:root {
  --ink: #17211c;
  --muted: #68716b;
  --paper: #f6f7f3;
  --white: #ffffff;
  --green: #1f6b4f;
  --green-dark: #164d3a;
  --lime: #c7ee62;
  --line: #dfe3dc;
  --danger: #b63f3f;
  --radius: 6px;
  --shadow: 0 20px 60px rgba(22, 36, 28, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans SC", system-ui, sans-serif; letter-spacing: 0; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header { position: sticky; top: 0; z-index: 50; height: 72px; padding: 0 clamp(20px, 5vw, 72px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid rgba(223, 227, 220, .86); background: rgba(246, 247, 243, .92); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-size: 20px; font-weight: 800; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--ink); color: var(--lime); border-radius: 5px; font-size: 18px; }
nav { display: flex; gap: 34px; font-size: 14px; font-weight: 600; }
nav a:hover { color: var(--green); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.text-button, .cart-button, .icon-button, .admin-link, .link-button { border: 0; background: transparent; color: inherit; }
.text-button { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.text-button svg, .secondary-button svg, .primary-button svg { width: 18px; height: 18px; }
.cart-button { position: relative; display: grid; place-items: center; width: 42px; height: 42px; background: var(--ink); color: white; border-radius: 5px; }
.cart-button svg { width: 20px; }
.cart-count { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; display: grid; place-items: center; background: var(--lime); color: var(--ink); border: 2px solid var(--paper); border-radius: 10px; font-size: 10px; font-weight: 800; }

.hero { min-height: calc(100vh - 124px); max-height: 820px; padding: clamp(42px, 5vw, 72px) clamp(20px, 7vw, 106px) 38px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, 1.08fr); align-items: center; gap: 5vw; overflow: hidden; }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: 11px; line-height: 1.2; font-weight: 800; letter-spacing: 2.4px; }
.hero h1 { margin: 0; max-width: 680px; font-size: clamp(42px, 4vw, 64px); line-height: 1.14; letter-spacing: 0; white-space: nowrap; }
.hero-lead { max-width: 510px; margin: 26px 0 34px; color: var(--muted); font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 12px; }
.primary-button, .secondary-button { min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; transition: transform .18s, background .18s, color .18s; }
.primary-button { background: var(--green); color: white; }
.primary-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.primary-button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.secondary-button { border-color: #cdd3cc; background: transparent; color: var(--ink); }
.secondary-button:hover { border-color: var(--ink); }
.secondary-button.light { border-color: rgba(255,255,255,.4); color: white; }
.full { width: 100%; }
.hero-notes { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: 12px; }
.hero-notes span { display: inline-flex; align-items: center; gap: 5px; }
.hero-notes svg { width: 14px; color: var(--green); }
.dispatch-banner { width: fit-content; margin: 16px 0 0; padding: 9px 12px; border: 1px solid #dce7df; border-radius: 4px; background: #f3f8f5; display: flex; align-items: center; gap: 7px; color: var(--green); font-size: 12px; }
.dispatch-banner svg { width: 15px; }
.hero-visual { position: relative; min-height: 430px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; width: min(48vw, 620px); aspect-ratio: 1; border-radius: 50%; background: #e5e8df; }
.hero-visual::after { content: ""; position: absolute; width: 76%; height: 12%; bottom: 11%; border-radius: 50%; background: rgba(28, 43, 34, .14); filter: blur(18px); }
.hero-visual img { position: relative; z-index: 1; width: min(49vw, 680px); filter: drop-shadow(0 30px 28px rgba(18, 34, 25, .2)); transform: rotate(-2deg); }
.visual-label { position: absolute; z-index: 2; padding-left: 14px; border-left: 2px solid var(--green); color: var(--muted); font-size: 10px; line-height: 1.7; }
.visual-label b { color: var(--ink); font-size: 12px; }
.label-one { top: 12%; right: 1%; }
.label-two { bottom: 11%; left: 2%; }
.hero-visual.real-photo { min-height: 470px; }
.hero-visual.real-photo::before { width: 94%; aspect-ratio: 4 / 3; border-radius: 6px; background: #dfe4dc; transform: rotate(3deg); }
.hero-visual.real-photo::after { width: 82%; bottom: 4%; }
.hero-visual.real-photo img { width: 94%; aspect-ratio: 4 / 3; border-radius: 5px; object-fit: cover; object-position: center 66%; filter: drop-shadow(0 24px 24px rgba(18, 34, 25, .2)); transform: rotate(-1deg); }
.hero-visual.real-photo .visual-label { padding: 7px 9px 7px 12px; border-radius: 3px; background: rgba(246,247,243,.88); backdrop-filter: blur(8px); }
.hero-visual.real-photo .label-one { top: 5%; right: 0; }
.hero-visual.real-photo .label-two { bottom: 5%; left: 0; }

.trust-strip { min-height: 118px; padding: 24px clamp(20px, 7vw, 106px); background: var(--ink); color: white; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.trust-strip p { margin: 0; min-height: 52px; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.trust-strip strong { color: var(--lime); font-size: 22px; }
.trust-strip span { color: rgba(255,255,255,.68); font-size: 12px; }

.products-section { padding: 100px clamp(20px, 7vw, 106px) 110px; }
.section-heading { margin-bottom: 42px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading h2, .compatibility h2, .admin-title h1 { margin: 0; font-size: clamp(30px, 3vw, 44px); line-height: 1.2; }
.section-heading > p { max-width: 430px; margin: 0 0 4px; color: var(--muted); line-height: 1.8; font-size: 14px; }
.product-list { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr; background: var(--line); border: 1px solid var(--line); }
.product-card { position: relative; min-height: 520px; background: var(--white); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); overflow: hidden; }
.product-image { position: relative; min-height: 520px; background: #ebeee8; display: grid; place-items: center; overflow: hidden; }
.product-image::before { display: none; }
.product-image img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center 68%; transition: transform .45s ease; }
.product-card:hover .product-image img { transform: scale(1.035) rotate(-1deg); }
.product-badge { position: absolute; top: 18px; left: 18px; z-index: 2; padding: 7px 10px; border-radius: 3px; background: var(--ink); color: white; font-size: 10px; font-weight: 700; }
.product-content { padding: 42px; display: flex; flex-direction: column; justify-content: center; }
.product-title-row { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.product-title-row h3 { margin: 0; font-size: 22px; }
.product-title-row strong { color: var(--green); font-size: 20px; }
.product-content > p { min-height: 48px; margin: 12px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.product-meta { margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.product-meta span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); font-size: 10px; }
.add-row { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.quantity { height: 46px; display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; border: 1px solid var(--line); border-radius: 5px; }
.quantity button { border: 0; background: transparent; font-size: 18px; }
.quantity span { text-align: center; font-weight: 700; }

.usage-guide { padding: 90px clamp(20px, 9vw, 150px); background: white; display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: clamp(48px, 8vw, 120px); align-items: center; }
.usage-video { position: relative; min-height: 610px; background: var(--ink); display: grid; place-items: center; overflow: hidden; }
.usage-video video { width: 100%; height: 610px; object-fit: contain; background: #0d120f; }
.usage-video > span { position: absolute; left: 16px; bottom: 16px; padding: 8px 10px; border-radius: 3px; background: rgba(12,18,14,.8); color: white; display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; backdrop-filter: blur(8px); }
.usage-video > span svg { width: 14px; }
.usage-copy h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); }
.guide-highlight { max-width: 580px; margin: 24px 0 34px; color: var(--green); font-size: clamp(20px, 2.3vw, 30px); line-height: 1.65; font-weight: 800; }
.guide-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.guide-steps li { padding: 19px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.guide-steps li > span { width: 26px; height: 26px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.guide-steps strong { font-size: 14px; }
.guide-steps p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.compatibility { padding: 80px clamp(20px, 8vw, 130px); background: var(--green); color: white; display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; align-items: center; }
.compatibility .eyebrow { color: var(--lime); }
.compatibility-copy > p:not(.eyebrow) { max-width: 520px; margin: 22px 0 28px; color: rgba(255,255,255,.73); line-height: 1.9; font-size: 14px; }
.compatibility-copy .service-wechat { margin: -10px 0 22px; color: white; font-size: 13px; }
.service-wechat strong { margin-left: 8px; color: var(--lime); font-size: 16px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.18); }
.steps li { min-height: 130px; padding: 24px; background: var(--green); display: flex; gap: 18px; }
.steps li > span { color: var(--lime); font-size: 11px; font-weight: 800; }
.steps strong { font-size: 16px; }
.steps p { margin: 8px 0 0; color: rgba(255,255,255,.63); font-size: 12px; }

footer { min-height: 150px; padding: 36px clamp(20px, 7vw, 106px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; background: #101713; color: white; }
.footer-brand { font-size: 17px; }
footer p { margin: 0; color: rgba(255,255,255,.5); font-size: 11px; text-align: center; }
.admin-link { justify-self: end; color: rgba(255,255,255,.7); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.mobile-nav { display: none; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(12, 18, 14, .5); opacity: 0; visibility: hidden; transition: .22s; }
.drawer-backdrop.show { opacity: 1; visibility: visible; }
.drawer { position: fixed; z-index: 100; top: 0; right: 0; width: min(440px, 100%); height: 100%; padding: 28px; background: white; display: grid; grid-template-rows: auto 1fr auto; transform: translateX(105%); transition: transform .28s ease; }
.drawer.open { transform: translateX(0); }
.drawer-header, .modal-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.drawer-header h2, .modal-head h2 { margin: 0; font-size: 28px; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 5px; }
.icon-button svg { width: 18px; }
.cart-items { padding: 20px 0; overflow-y: auto; }
.cart-empty { height: 100%; display: grid; place-content: center; justify-items: center; text-align: center; color: var(--muted); }
.cart-empty svg { width: 38px; height: 38px; margin-bottom: 10px; stroke-width: 1.4; }
.cart-empty p { margin: 0 0 6px; color: var(--ink); font-weight: 700; }
.cart-empty span { font-size: 12px; }
.cart-item { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 78px 1fr auto; gap: 14px; align-items: center; }
.cart-item-image { width: 78px; height: 78px; background: #eef0eb; display: grid; place-items: center; overflow: hidden; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 68%; }
.cart-item h4 { margin: 0 0 6px; font-size: 14px; }
.cart-item p { margin: 0; color: var(--muted); font-size: 11px; }
.mini-qty { margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.mini-qty button { width: 24px; height: 24px; border: 1px solid var(--line); background: white; border-radius: 3px; }
.mini-qty span { min-width: 18px; text-align: center; font-size: 12px; font-weight: 700; }
.cart-item > strong { align-self: start; font-size: 13px; }
.cart-footer { padding-top: 22px; border-top: 1px solid var(--line); }
.cart-total { margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.cart-total strong { font-size: 22px; }
.cart-footer > p { margin: 0 0 18px; color: var(--muted); font-size: 11px; }

.modal { position: fixed; inset: 0; z-index: 120; padding: 24px; background: rgba(12, 18, 14, .58); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .2s; overflow-y: auto; }
#shippingModal { z-index: 220; }
.modal.show { opacity: 1; visibility: visible; }
.modal-panel { width: min(980px, 100%); max-height: calc(100vh - 48px); padding: 30px; background: white; border-radius: 6px; box-shadow: var(--shadow); overflow-y: auto; transform: translateY(10px); transition: .22s; }
.modal.show .modal-panel { transform: translateY(0); }
.compact-panel { position: relative; width: min(480px, 100%); }
.checkout-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 340px; gap: 38px; }
.form-section h3, .order-summary h3 { margin: 0 0 18px; font-size: 15px; }
.payment-title { margin-top: 28px !important; }
.delivery-title { margin-top: 28px !important; }
label { display: block; }
label > span { display: block; margin-bottom: 7px; color: #414b45; font-size: 12px; font-weight: 600; }
label em { color: #8d968f; font-style: normal; font-weight: 400; }
input, textarea, select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #d7dcd5; border-radius: 4px; background: white; color: var(--ink); outline: none; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,107,79,.09); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 15px; }
.form-section > label { margin-bottom: 15px; }
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.payment-options.single-payment { grid-template-columns: 1fr; }
.delivery-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.delivery-option { position: relative; min-height: 70px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 4px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.delivery-option:has(input:checked) { border-color: var(--green); background: #f2f8f4; }
.delivery-option input { position: absolute; opacity: 0; }
.delivery-option > span:nth-of-type(2) { flex: 1; margin: 0; }
.delivery-option strong, .delivery-option small { display: block; }
.delivery-option strong { color: var(--ink); font-size: 13px; }
.delivery-option small { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.delivery-option > svg { display: none; width: 15px; color: var(--green); }
.delivery-option:has(input:checked) > svg { display: block; }
.delivery-icon { width: 31px; height: 31px; margin: 0 !important; border-radius: 4px; background: #1f6b4f; display: grid !important; place-items: center; color: white !important; }
.delivery-icon.jd { background: #d9272e; }
.delivery-icon svg { width: 16px; }
.checkout-dispatch { margin: 10px 0 0; display: flex; align-items: center; gap: 6px; color: var(--green); font-size: 10px; font-weight: 700; }
.checkout-dispatch svg { width: 14px; }
.payment-option { position: relative; min-height: 58px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; display: flex; align-items: center; gap: 9px; cursor: pointer; }
.payment-option:has(input:checked) { border-color: var(--green); background: #f2f8f4; }
.payment-option input { position: absolute; opacity: 0; }
.payment-option > span { margin: 0; color: var(--ink); font-size: 13px; }
.payment-option > svg { display: none; width: 15px; margin-left: auto; color: var(--green); }
.payment-option:has(input:checked) > svg { display: block; }
.pay-icon { width: 28px; height: 28px; border-radius: 4px; display: grid !important; place-items: center; color: white !important; font-size: 12px !important; }
.wechat { background: #16a05d; }
.alipay { background: #1677ff; }
.order-summary { padding: 22px; background: var(--paper); align-self: start; }
.checkout-item { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; font-size: 12px; }
.checkout-item span:last-child { white-space: nowrap; font-weight: 700; }
.order-summary dl { margin: 18px 0 22px; }
.order-summary dl div { margin-bottom: 10px; display: flex; justify-content: space-between; font-size: 12px; }
.order-summary dd { margin: 0; }
.order-summary .summary-total { margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); align-items: end; }
.summary-total dd { color: var(--green); font-size: 22px; font-weight: 800; }
.order-summary small { display: block; margin-top: 12px; color: var(--muted); font-size: 9px; line-height: 1.6; text-align: center; }
.modal-close { position: absolute; top: 20px; right: 20px; }
.payment-panel, .success-panel { padding: 42px 34px 30px; text-align: center; }
.pay-status-icon, .success-icon { width: 52px; height: 52px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; background: #eaf2ed; color: var(--green); }
.payment-panel h2, .success-panel h2 { margin: 0; font-size: 28px; }
.payment-panel > p:not(.eyebrow), .success-panel > p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 1.8; }
.payment-qr { width: min(230px, 72vw); height: auto; margin: 18px auto 10px; border: 1px solid var(--line); border-radius: 4px; }
.payment-warning { margin: -6px 0 16px !important; display: flex; align-items: flex-start; justify-content: center; gap: 6px; color: #56615a !important; font-size: 10px !important; }
.payment-warning svg { width: 15px; min-width: 15px; margin-top: 2px; color: var(--green); }
.fixed-qr-note { margin: -8px 0 16px !important; padding: 9px 11px; border-radius: 4px; background: #fff8e7; color: #7a5414 !important; font-size: 10px !important; line-height: 1.6 !important; }
.payment-amount, .order-number { margin: 18px 0; padding: 14px; background: var(--paper); display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.payment-amount strong { font-size: 22px; }
.order-number strong { font-size: 13px; }
.link-button { margin-top: 14px; color: var(--muted); font-size: 12px; }
.success-icon { background: var(--green); color: white; }
.lookup-form, #shippingForm { margin-top: 26px; }
.lookup-form label, #shippingForm label { margin-bottom: 15px; }
.security-note { margin-top: 14px; color: var(--muted); display: flex; align-items: flex-start; justify-content: center; gap: 6px; font-size: 10px; line-height: 1.6; text-align: center; }
.security-note svg { width: 14px; min-width: 14px; margin-top: 1px; color: var(--green); }
.lookup-result { margin-top: 18px; display: grid; gap: 10px; }
.result-card { padding: 18px; background: var(--paper); }
.result-top { display: flex; justify-content: space-between; align-items: center; }
.result-top strong { font-size: 13px; }
.status-pill { padding: 5px 8px; border-radius: 3px; font-size: 10px; font-weight: 700; }
.status-待付款 { background: #fff0d8; color: #8a5611; }
.status-待确认 { background: #fff3c7; color: #7b5b00; }
.status-待发货 { background: #e5f1ea; color: var(--green); }
.status-已发货 { background: #e7edf7; color: #365b91; }
.result-card p { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.error-message { padding: 13px; background: #fbebeb; color: var(--danger); font-size: 12px; }

.admin-view { position: fixed; inset: 0; z-index: 200; background: #f2f4f0; overflow-y: auto; opacity: 0; visibility: hidden; transition: .2s; }
.admin-view.show { opacity: 1; visibility: visible; }
.admin-header { height: 72px; padding: 0 clamp(20px, 4vw, 64px); display: flex; justify-content: space-between; align-items: center; background: white; border-bottom: 1px solid var(--line); }
.admin-header-actions { display: flex; align-items: center; gap: 10px; }
.admin-logout { color: var(--muted); }
.admin-main { padding: 44px clamp(20px, 4vw, 64px) 80px; }
.admin-title { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.admin-title > div > p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.stats { margin: 32px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { padding: 22px; background: white; border: 1px solid var(--line); border-radius: 5px; }
.stat span { color: var(--muted); font-size: 11px; }
.stat strong { margin-top: 10px; display: block; font-size: 26px; }
.stat.accent { background: var(--green); color: white; border-color: var(--green); }
.stat.accent span { color: rgba(255,255,255,.68); }
.admin-toolbar { min-height: 62px; padding: 10px 14px; background: white; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.filter-tabs { display: flex; gap: 4px; }
.filter-tabs button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: 12px; }
.filter-tabs button.active { background: var(--ink); color: white; }
.search-box { width: min(300px, 100%); position: relative; }
.search-box svg { position: absolute; left: 11px; top: 12px; width: 16px; color: var(--muted); }
.search-box input { padding-left: 34px; }
.orders-table-wrap { position: relative; min-height: 240px; background: white; border: 1px solid var(--line); border-top: 0; overflow-x: auto; }
.orders-table { width: 100%; border-collapse: collapse; min-width: 980px; }
.orders-table th { padding: 15px 16px; background: #f7f8f6; color: var(--muted); font-size: 10px; text-align: left; }
.orders-table td { padding: 17px 16px; border-top: 1px solid var(--line); font-size: 12px; vertical-align: top; }
.orders-table td strong { display: block; margin-bottom: 5px; font-size: 12px; }
.orders-table td small { color: var(--muted); font-size: 10px; }
.orders-table .action-button { min-height: 34px; padding: 0 12px; border: 1px solid var(--green); border-radius: 4px; background: transparent; color: var(--green); font-size: 11px; font-weight: 700; }
.empty-admin { display: none; min-height: 230px; place-content: center; justify-items: center; color: var(--muted); }
.empty-admin.show { display: grid; }
.empty-admin svg { width: 34px; }
.empty-admin p { font-size: 12px; }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 30px; min-width: 180px; padding: 12px 18px; border-radius: 5px; background: var(--ink); color: white; box-shadow: var(--shadow); text-align: center; font-size: 12px; opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: .2s; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .hero { max-height: none; grid-template-columns: 1fr; padding-top: 62px; }
  .hero-copy { max-width: 650px; }
  .hero-visual { min-height: 440px; }
  .hero-visual::before { width: 480px; max-width: 90vw; }
  .hero-visual img { width: min(620px, 96vw); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .product-card { grid-template-columns: 1fr; }
  .product-image { min-height: 460px; }
  .usage-guide { grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); padding: 72px 32px; gap: 44px; }
  .usage-video, .usage-video video { min-height: 520px; height: 520px; }
  .compatibility { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .site-header { height: 62px; grid-template-columns: 1fr auto; padding: 0 16px; }
  .site-header nav { display: none; }
  .brand { font-size: 17px; }
  .brand-mark { width: 30px; height: 30px; }
  .text-button span { display: none; }
  .text-button { width: 40px; height: 40px; justify-content: center; }
  .hero { min-height: auto; padding: 44px 20px 28px; gap: 20px; }
  .hero h1 { font-size: 42px; }
  .hero-lead { margin: 20px 0 28px; font-size: 14px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .primary-button, .hero-actions .secondary-button { flex: 1; padding: 0 12px; }
  .hero-notes { gap: 10px 15px; margin-top: 22px; }
  .hero-visual { min-height: 300px; }
  .hero-visual.real-photo { min-height: 300px; }
  .hero-visual.real-photo img, .hero-visual.real-photo::before { width: 100%; }
  .label-one { right: 0; top: 4%; }
  .label-two { bottom: 2%; }
  .trust-strip { padding: 26px 20px; }
  .trust-strip p { padding-left: 14px; }
  .trust-strip strong { font-size: 18px; }
  .products-section { padding: 72px 16px 78px; }
  .section-heading { align-items: start; flex-direction: column; gap: 16px; margin-bottom: 30px; }
  .product-card { min-height: 0; display: block; }
  .product-image { height: 390px; min-height: 0; }
  .product-content { padding: 22px 20px 24px; }
  .product-content > p { min-height: 0; }
  .usage-guide { padding: 0 0 66px; grid-template-columns: 1fr; gap: 0; }
  .usage-video { min-height: 0; height: auto; }
  .usage-video video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
  .usage-copy { padding: 42px 20px 0; }
  .usage-copy h2 { font-size: 36px; }
  .guide-highlight { margin: 18px 0 28px; font-size: 21px; }
  .compatibility { padding: 66px 20px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 104px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .admin-link { justify-self: center; }
  .drawer { padding: 22px 18px; }
  .modal { padding: 0; align-items: end; }
  .modal-panel { max-height: 92vh; padding: 24px 18px; border-radius: 6px 6px 0 0; }
  .compact-panel { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .checkout-grid { gap: 24px; }
  .order-summary { order: 0; }
  .payment-options { grid-template-columns: 1fr; }
  .delivery-options { grid-template-columns: 1fr; }
  .payment-panel, .success-panel { padding: 42px 22px 28px; }
  .admin-header { padding: 0 16px; }
  .admin-header .brand span:last-child { max-width: 100px; line-height: 1.2; }
  .admin-header .secondary-button { padding: 0 12px; }
  .admin-header-actions { gap: 4px; }
  .admin-main { padding: 30px 14px 60px; }
  .admin-title { align-items: start; flex-direction: column; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 17px; }
  .stat strong { font-size: 22px; }
  .admin-toolbar { align-items: stretch; flex-direction: column; }
  .filter-tabs { overflow-x: auto; }
  .filter-tabs button { flex: 0 0 auto; }
  .search-box { width: 100%; }
  .mobile-nav { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; height: calc(64px + env(safe-area-inset-bottom)); padding: 6px 10px env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); box-shadow: 0 -8px 24px rgba(18,34,25,.08); display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; backdrop-filter: blur(14px); }
  .mobile-nav a, .mobile-nav button { position: relative; height: 52px; padding: 4px 2px; border: 0; background: transparent; color: #59635d; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10px; font-weight: 600; }
  .mobile-nav svg { width: 20px; height: 20px; }
  .mobile-nav a:active, .mobile-nav button:active { color: var(--green); }
  .mobile-nav b { position: absolute; top: 1px; left: calc(50% + 7px); min-width: 17px; height: 17px; padding: 0 4px; border: 2px solid white; border-radius: 9px; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 8px; }
  .admin-view { padding-bottom: env(safe-area-inset-bottom); }
  .orders-table-wrap { overflow: visible; background: transparent; border: 0; }
  .orders-table { min-width: 0; display: block; }
  .orders-table thead { display: none; }
  .orders-table tbody { display: grid; gap: 10px; }
  .orders-table tr { padding: 14px 15px; border: 1px solid var(--line); border-radius: 5px; background: white; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .orders-table td { min-width: 0; padding: 0; border: 0; display: block; }
  .orders-table td:nth-child(1), .orders-table td:nth-child(2), .orders-table td:nth-child(3), .orders-table td:nth-child(6), .orders-table td:nth-child(7) { grid-column: 1 / -1; }
  .orders-table td::before { content: attr(data-label); margin-bottom: 5px; display: block; color: #8a938d; font-size: 9px; font-weight: 700; }
  .orders-table td strong { overflow-wrap: anywhere; }
  .orders-table .action-button { width: 100%; min-height: 42px; }
}
