:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #12201c; background: #f5f4ef; font-synthesis: none; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.site-header { width: min(1180px, calc(100% - 36px)); height: 74px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #d7d8cf; }
.brand { font-size: 20px; font-weight: 900; text-decoration: none; letter-spacing: -.04em; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { color: #58645f; font-size: 14px; font-weight: 700; text-decoration: none; }
.nav-order { padding: 10px 15px; color: #fff; background: #142a23; border-radius: 999px; }
main { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 72px 0 80px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: clamp(44px, 9vw, 120px); align-items: center; min-height: 620px; }
.eyebrow { color: #178464; font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.hero h1 { margin: 17px 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 7vw, 86px); line-height: .98; letter-spacing: -.055em; font-weight: 500; }
.hero h1 em { color: #168467; font-style: normal; }
.hero-copy > p { max-width: 620px; color: #66716c; font-size: 18px; line-height: 1.8; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-points span { padding: 8px 12px; color: #315047; background: #e5eee9; border-radius: 999px; font-size: 13px; font-weight: 750; }
.product-card { overflow: hidden; background: #fff; border: 1px solid #d7ddd8; border-radius: 26px; box-shadow: 0 32px 80px rgba(31, 51, 43, .13); }
.product-cover { position: relative; min-height: 180px; padding: 30px; display: flex; align-items: center; justify-content: center; gap: 16px; color: #fff; background: radial-gradient(circle at 18% 15%, #2e8a6f, transparent 37%), linear-gradient(135deg, #132a23, #1d4e40); }
.cover-badge { position: absolute; right: 18px; top: 18px; padding: 6px 10px; color: #14352a; background: #dff6a7; border-radius: 999px; font-size: 12px; font-weight: 900; }
.cover-logo { width: 78px; height: 78px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.46); border-radius: 22px; font-weight: 900; letter-spacing: -.05em; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.product-cover strong { display: block; font-size: 40px; line-height: 1; letter-spacing: -.05em; }
.product-cover small { display: block; margin-top: 5px; opacity: .65; font-weight: 800; letter-spacing: .18em; }
.product-content { padding: 30px; }
.product-type { margin: 0 0 8px; color: #819087; font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.product-content h2 { margin: 0; font-size: 23px; line-height: 1.35; }
.product-content > p:not(.product-type):not(.availability) { margin: 9px 0 0; color: #758079; line-height: 1.6; }
.price { margin: 26px 0 10px; display: flex; align-items: flex-end; gap: 6px; }
.price small { margin-bottom: 8px; font-size: 18px; font-weight: 900; }
.price strong { font-size: 46px; line-height: 1; letter-spacing: -.055em; }
.price span { margin-bottom: 7px; color: #718079; font-size: 12px; font-weight: 900; }
.price.is-loading strong, .checkout-summary.is-loading strong { opacity: .35; }
.stock { margin: 0 0 16px; color: #315047; font-size: 13px; font-weight: 800; }
.stock.empty { color: #a33c3c; }
.qty-row { margin: 0 0 18px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: #41514a; font-size: 13px; font-weight: 800; }
.qty-row small { color: #7b8b84; font-weight: 650; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid #cad5cf; border-radius: 12px; overflow: hidden; background: #f7faf8; }
.qty-control button { width: 38px; height: 38px; border: 0; background: transparent; color: #168467; font-size: 20px; cursor: pointer; }
.qty-control button:disabled { color: #b7c4be; cursor: not-allowed; }
.qty-control input { width: 42px; height: 38px; border: 0; border-left: 1px solid #cad5cf; border-right: 1px solid #cad5cf; text-align: center; background: #fff; font-weight: 850; }
.checkout-qty-hint { margin: -6px 0 0; color: #66716c; font-size: 13px; font-weight: 700; }
.code-list { display: grid; gap: 10px; margin-top: 18px; }
.code-value { margin-top: 0; }
.code-value .code-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.code-value .secondary { width: auto; min-height: 38px; padding: 0 12px; text-decoration: none; display: inline-flex; align-items: center; }
ul { margin: 0 0 25px; padding: 0; display: grid; gap: 10px; list-style: none; color: #53635c; font-size: 14px; }
li::before { content: "✓"; margin-right: 9px; color: #168467; font-weight: 900; }
.primary, .secondary { min-height: 48px; border: 0; border-radius: 12px; font-weight: 850; cursor: pointer; }
.primary { width: 100%; color: #fff; background: #168467; box-shadow: 0 12px 24px rgba(22,132,103,.18); }
.primary:hover { background: #0d7256; }
.primary:disabled { cursor: not-allowed; opacity: .55; }
.availability { margin: 12px 0 0; text-align: center; color: #708079; font-size: 12px; }
.availability.error { color: #a33c3c; }
.features { margin: 74px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #d7d8cf; border-bottom: 1px solid #d7d8cf; }
.features article { padding: 38px 34px; border-right: 1px solid #d7d8cf; }
.features article:last-child { border-right: 0; }
.features span { color: #168467; font-size: 12px; font-weight: 900; }
.features h3 { margin: 13px 0 8px; font-size: 20px; }
.features p { margin: 0; color: #6d7872; line-height: 1.7; }
.order-search { padding: 45px 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #fff; background: #142a23; border-radius: 24px; }
.order-search-copy { flex: 1; min-width: min(280px, 100%); }
.order-search h2 { margin: 8px 0; font-size: 30px; }
.order-search p { margin: 0; color: #b4c3bd; }
.save-hint { color: #f3d48a !important; font-weight: 700; line-height: 1.7; }
.field-hint { color: #7b8b84; font-size: 12px; font-weight: 600; line-height: 1.55; }
.lookup-form { width: min(380px, 100%); display: grid; gap: 12px; }
.lookup-form label { color: #d5e2dc; }
.lookup-form input { width: 100%; height: 46px; padding: 0 12px; border: 1px solid #3c5d52; border-radius: 10px; background: #0f1f1a; color: #fff; outline: none; }
.lookup-form input:focus { border-color: #7dcaa8; box-shadow: 0 0 0 3px rgba(125,202,168,.18); }
.lookup-form .error { color: #ffb4b4; }
.notice-save { margin: 0 0 18px; padding: 14px 16px; background: #fff7e6; border: 1px solid #ead7a4; border-radius: 12px; color: #7a5a12; font-weight: 700; line-height: 1.65; }
.secondary { padding: 0 20px; color: #18352c; background: #e7f0ec; white-space: nowrap; }
.secondary:disabled { cursor: not-allowed; opacity: .5; }
dialog { width: min(480px, calc(100% - 30px)); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
dialog::backdrop { background: rgba(12,26,21,.58); backdrop-filter: blur(5px); }
.dialog-card { position: relative; padding: 34px; display: grid; gap: 18px; }
.dialog-card h2 { margin: -6px 0 3px; font-size: 30px; }
.dialog-close { position: absolute; right: 17px; top: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; color: #63716b; background: #edf1ef; font-size: 24px; cursor: pointer; }
.checkout-summary { padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: #f1f5f2; border-radius: 12px; }
.checkout-summary span { color: #54645d; font-weight: 700; }
.checkout-summary strong { font-size: 20px; }
label { display: grid; gap: 8px; color: #41514a; font-size: 13px; font-weight: 800; }
input[type="email"] { width: 100%; height: 48px; padding: 0 13px; border: 1px solid #cad5cf; border-radius: 10px; outline: none; }
input[type="email"]:focus { border-color: #168467; box-shadow: 0 0 0 3px rgba(22,132,103,.12); }
.agreement { grid-template-columns: 18px 1fr; align-items: start; font-weight: 600; line-height: 1.55; }
.agreement input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: #168467; }
.error { min-height: 18px; color: #ad3434; font-size: 13px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 10; padding: 12px 16px; color: #fff; background: #142a23; border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.22); }
@media (max-width: 860px) { main { padding-top: 40px; } .hero { grid-template-columns: 1fr; min-height: 0; } .hero-copy { text-align: center; } .hero-copy > p { margin-inline: auto; } .hero-points { justify-content: center; } .product-card { width: min(480px, 100%); margin: 0 auto; } .features { grid-template-columns: 1fr; } .features article { border-right: 0; border-bottom: 1px solid #d7d8cf; } .features article:last-child { border-bottom: 0; } .order-search { align-items: flex-start; flex-direction: column; } }
@media (max-width: 520px) { .site-header { height: 64px; } main { width: min(100% - 24px, 1180px); } .hero h1 { font-size: 46px; } .product-content { padding: 24px; } .order-search { padding: 30px 24px; } .dialog-card { padding: 28px 22px; } }

.lookup-entry { width: auto; min-width: 168px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.lookup-page { width: min(720px, calc(100% - 36px)); margin: 0 auto; padding: 56px 0 80px; }
.lookup-panel { padding: 36px; background: #fff; border: 1px solid #d7ddd8; border-radius: 24px; box-shadow: 0 25px 70px rgba(31,51,43,.1); }
.lookup-panel h1 { margin: 10px 0 12px; font-size: 36px; }
.lookup-lead { margin-bottom: 24px; }
.lookup-page-form { display: grid; gap: 14px; }
.lookup-page-form input[type="text"] { width: 100%; height: 48px; padding: 0 13px; border: 1px solid #cad5cf; border-radius: 10px; outline: none; }
.lookup-page-form input[type="text"]:focus { border-color: #168467; box-shadow: 0 0 0 3px rgba(22,132,103,.12); }
.lookup-result { margin-top: 26px; display: grid; gap: 16px; }
.lookup-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #e1e7e3; border: 1px solid #e1e7e3; }
.lookup-summary div { padding: 16px; background: #f8faf8; }
.lookup-summary span { display: block; color: #7b8780; font-size: 12px; }
.lookup-summary strong { display: block; margin-top: 7px; overflow-wrap: anywhere; }
.pay-box,.success-box,.error-box { padding: 24px; border-radius: 16px; }
.pay-box { background: #eef6f2; }
.success-box { background: #e5f7ec; }
.error-box { background: #fff1ee; }
.pay-box h2,.success-box h2,.error-box h2 { margin: 0 0 8px; }
.pay-box p,.success-box p,.error-box p { color: #607068; line-height: 1.7; }
.pay-actions { display: flex; gap: 10px; margin-top: 18px; }
.pay-actions .primary { width: auto; padding: 0 22px; text-decoration: none; display: inline-flex; align-items: center; }
.code-value { margin-top: 18px; padding: 16px; display: flex; justify-content: space-between; gap: 14px; align-items: center; background: #fff; border: 1px dashed #6baa91; border-radius: 12px; font: 700 14px ui-monospace,SFMono-Regular,Menlo,monospace; overflow-wrap: anywhere; }
@media (max-width: 620px) { .lookup-panel { padding: 24px 18px; } .lookup-summary { grid-template-columns: 1fr; } .code-value { flex-direction: column; align-items: flex-start; } .pay-actions .primary { width: 100%; justify-content: center; } }
