:root {
  --brand: #07569c;
  --brand-dark: #073c70;
  --brand-light: #eaf4ff;
  --accent: #ff7a21;
  --ink: #152235;
  --muted: #68778a;
  --line: #e6ebf1;
  --bg: #f4f7fa;
  --white: #fff;
  --success: #07a86b;
  --shadow: 0 10px 30px rgba(22, 55, 91, .09);
  --radius: 18px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #dfe6ed;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.app-shell {
  position: relative;
  width: 100%;
  max-width: 600px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  box-shadow: 0 0 50px rgba(22, 50, 80, .16);
  overflow-x: hidden;
}
.topbar {
  position: sticky;
  z-index: 40;
  top: 0;
  height: calc(62px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 14px 0;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(230, 235, 241, .9);
  backdrop-filter: blur(18px);
}
.brand { display: flex; justify-content: center; cursor: pointer; }
.brand img { width: 148px; max-height: 42px; object-fit: contain; }
.icon-button {
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.phone-button { color: var(--brand); background: var(--brand-light); }
.phone-button svg { width: 19px; height: 19px; }

#app { min-height: calc(100vh - 138px); padding-bottom: calc(86px + var(--safe-bottom)); }
.page { animation: fade-in .28s ease-out both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.bottom-nav {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 0;
  width: min(600px, 100%);
  height: calc(70px + var(--safe-bottom));
  padding: 7px 8px var(--safe-bottom);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  transform: translateX(-50%);
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.97);
  box-shadow: 0 -8px 30px rgba(30, 59, 88, .07);
  backdrop-filter: blur(16px);
}
.bottom-nav button {
  position: relative;
  padding: 4px 0 3px;
  border: 0;
  background: transparent;
  color: #8793a2;
  font-size: 10px;
  cursor: pointer;
}
.bottom-nav button span { display: grid; place-items: center; height: 29px; }
.bottom-nav button svg { width: 21px; height: 21px; }
.bottom-nav button b { display: block; font-weight: 500; }
.bottom-nav button.active { color: var(--brand); }
.bottom-nav .selector-nav span {
  width: 42px;
  height: 42px;
  margin: -15px auto 2px;
  color: white;
  background: linear-gradient(145deg, #1684d7, var(--brand));
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(7, 86, 156, .25);
}
.bottom-nav .selector-nav svg { width: 19px; height: 19px; }
.bottom-nav i {
  position: absolute;
  top: 1px;
  left: calc(50% + 7px);
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #ec4d46;
  border: 2px solid #fff;
  border-radius: 12px;
  font-size: 9px;
  font-style: normal;
}
.bottom-nav i.show { display: flex; }

.hero {
  position: relative;
  min-height: 326px;
  padding: 44px 24px 28px;
  overflow: hidden;
  color: white;
  background: linear-gradient(115deg, rgba(3, 45, 85, .95), rgba(7, 86, 156, .72)), url("assets/hero.jpg") center/cover;
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -115px;
  width: 300px;
  height: 300px;
  border: 52px solid rgba(255,255,255,.06);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  color: #b9dcfa;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
}
.eyebrow::before { content: ""; width: 21px; height: 2px; background: var(--accent); }
.hero h1 { max-width: 410px; margin: 0; font-size: clamp(30px, 7vw, 40px); line-height: 1.22; letter-spacing: 1px; }
.hero h1 em { color: #6ec3ff; font-style: normal; }
.hero p { max-width: 390px; margin: 15px 0 22px; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.7; }
.hero-actions { display: flex; gap: 10px; }
.btn {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn:active { transform: scale(.98); }
.btn-accent { background: var(--accent); box-shadow: 0 8px 22px rgba(255, 122, 33, .28); }
.btn-glass { color: white; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.32); }
.btn-outline { color: var(--brand); background: white; border: 1px solid #bed3e8; }
.btn-block { width: 100%; }
.btn svg { width: 17px; height: 17px; }

.quick-panel {
  position: relative;
  z-index: 2;
  margin: -22px 15px 0;
  padding: 20px 8px 17px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.quick-panel button { padding: 0 2px; border: 0; background: none; cursor: pointer; }
.quick-icon {
  width: 47px;
  height: 47px;
  margin: 0 auto 9px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--brand-light);
  border-radius: 15px;
}
.quick-panel button:nth-child(2) .quick-icon { color: #ad6600; background: #fff3dd; }
.quick-panel button:nth-child(3) .quick-icon { color: #6b54bd; background: #f0edff; }
.quick-panel button:nth-child(4) .quick-icon { color: #13885d; background: #e9f9f2; }
.quick-icon svg { width: 23px; height: 23px; }
.quick-panel b { display: block; font-size: 12px; font-weight: 600; }

.section { padding: 28px 15px 0; }
.section-head { margin-bottom: 17px; display: flex; align-items: flex-end; justify-content: space-between; }
.section-head h2 { margin: 0; font-size: 21px; line-height: 1.25; }
.section-head p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.text-link { padding: 3px 0; color: var(--brand); border: 0; background: none; font-size: 12px; cursor: pointer; }

.category-chips { margin: 0 -15px 16px; padding: 0 15px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.category-chips::-webkit-scrollbar { display: none; }
.category-chips button {
  flex: 0 0 auto;
  padding: 8px 14px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
}
.category-chips button.active { color: white; background: var(--brand); border-color: var(--brand); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.product-card {
  position: relative;
  padding: 8px 8px 12px;
  overflow: hidden;
  background: white;
  border: 1px solid #edf0f4;
  border-radius: 16px;
  box-shadow: 0 5px 18px rgba(27, 57, 91, .045);
  cursor: pointer;
}
.product-card .image-wrap { position: relative; height: 145px; overflow: hidden; background: #f4f6f8; border-radius: 12px; }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.product-card:active img { transform: scale(1.03); }
.product-card .tag { position: absolute; top: 8px; left: 8px; padding: 4px 7px; color: var(--brand); background: rgba(255,255,255,.92); border-radius: 6px; font-size: 9px; font-weight: 700; }
.product-card h3 { min-height: 38px; margin: 10px 3px 5px; font-size: 14px; line-height: 1.4; }
.product-card p { margin: 0 3px 9px; color: var(--muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card footer { margin: 0 3px; display: flex; align-items: center; justify-content: space-between; color: var(--brand); font-size: 11px; }
.product-card footer button { width: 27px; height: 27px; display: grid; place-items: center; color: white; background: var(--brand); border: 0; border-radius: 50%; cursor: pointer; }
.product-card footer svg { width: 14px; height: 14px; }

.selector-teaser {
  position: relative;
  padding: 24px;
  overflow: hidden;
  color: white;
  background: linear-gradient(135deg, #0870bc, #063c71);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(7, 75, 133, .2);
}
.selector-teaser::before { content: ""; position: absolute; right: -30px; top: -45px; width: 160px; height: 160px; border: 35px solid rgba(255,255,255,.06); border-radius: 50%; }
.selector-teaser small { color: #a8dafd; font-weight: 700; letter-spacing: 1px; }
.selector-teaser h3 { position: relative; margin: 8px 0 7px; font-size: 23px; }
.selector-teaser p { position: relative; margin: 0 0 17px; color: rgba(255,255,255,.75); font-size: 12px; line-height: 1.65; }
.selector-teaser .btn { position: relative; min-height: 42px; color: var(--brand); background: white; }
.trust-stats { margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); background: white; border-radius: 16px; }
.trust-stats div { padding: 17px 5px; text-align: center; }
.trust-stats div + div { border-left: 1px solid var(--line); }
.trust-stats strong { display: block; color: var(--brand); font-size: 19px; }
.trust-stats span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }

.service-list { display: grid; gap: 10px; }
.service-item { padding: 15px; display: grid; grid-template-columns: 45px 1fr; gap: 12px; align-items: center; background: white; border-radius: 15px; }
.service-icon { width: 45px; height: 45px; display: grid; place-items: center; color: var(--brand); background: var(--brand-light); border-radius: 13px; }
.service-item h4 { margin: 0 0 4px; font-size: 14px; }
.service-item p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

.page-header { padding: 22px 15px 16px; background: white; }
.page-header h1 { margin: 0; font-size: 24px; }
.catalog-count { margin-left: 7px; padding: 4px 7px; vertical-align: middle; color: var(--brand); background: var(--brand-light); border-radius: 6px; font-size: 9px; font-weight: 650; }
.page-header p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.search-box { margin-top: 16px; padding: 0 13px; height: 46px; display: flex; align-items: center; gap: 9px; color: #95a1ae; background: var(--bg); border: 1px solid var(--line); border-radius: 13px; }
.search-box svg { width: 18px; height: 18px; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; font-size: 13px; color: var(--ink); }
.products-page .category-chips { margin: 0; padding: 14px 15px; background: white; border-top: 1px solid #f1f3f6; }
.products-page .product-grid { padding: 15px; }
.empty-state { grid-column: 1 / -1; padding: 55px 20px; text-align: center; color: var(--muted); }
.empty-state .empty-icon { width: 62px; height: 62px; margin: 0 auto 15px; display: grid; place-items: center; color: #9aa9b7; background: #e8edf2; border-radius: 50%; }
.empty-state h3 { margin: 0 0 7px; color: var(--ink); font-size: 17px; }
.empty-state p { margin: 0; font-size: 12px; }

.selector-page { padding-bottom: 20px; }
.selector-banner { padding: 26px 20px 24px; color: white; background: linear-gradient(140deg, #064981, #0878c8); }
.selector-banner small { color: #a9dcff; font-size: 11px; letter-spacing: 1px; }
.selector-banner h1 { margin: 7px 0 8px; font-size: 25px; }
.selector-banner p { margin: 0; color: rgba(255,255,255,.75); font-size: 12px; line-height: 1.6; }
.progress { margin-top: 20px; display: flex; align-items: center; gap: 8px; }
.progress span { height: 4px; flex: 1; background: rgba(255,255,255,.22); border-radius: 4px; }
.progress span.active { background: #6ec8ff; }
.selector-card { margin: 15px; padding: 21px 17px; background: white; border-radius: 18px; box-shadow: var(--shadow); }
.selector-card h2 { margin: 0 0 6px; font-size: 19px; }
.selector-card > p { margin: 0 0 19px; color: var(--muted); font-size: 12px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice {
  min-height: 72px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: #46586c;
  background: #f8fafc;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  font-size: 13px;
  cursor: pointer;
}
.choice-icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; color: var(--brand); background: white; border-radius: 10px; }
.choice-icon svg { width: 18px; height: 18px; }
.choice.selected { color: var(--brand); background: var(--brand-light); border-color: #5ca7df; box-shadow: inset 0 0 0 1px #5ca7df; }
.selector-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #536274; font-size: 11px; font-weight: 650; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 45px;
  padding: 11px 12px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: 0;
  font-size: 13px;
}
.field textarea { min-height: 86px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #64a8db; box-shadow: 0 0 0 3px rgba(7, 86, 156, .08); }
.selector-actions { margin-top: 19px; display: flex; gap: 9px; }
.selector-actions .btn { flex: 1; }
.recommend-intro { padding: 13px; margin-bottom: 14px; color: #46617a; background: #eef7ff; border-left: 3px solid var(--brand); border-radius: 8px; font-size: 11px; line-height: 1.6; }
.recommend-list { display: grid; gap: 10px; }
.recommend-card { padding: 9px; display: grid; grid-template-columns: 96px 1fr; gap: 11px; border: 1px solid var(--line); border-radius: 14px; }
.recommend-card img { width: 96px; height: 96px; object-fit: cover; background: #f4f5f7; border-radius: 10px; }
.recommend-card small { color: var(--brand); font-size: 9px; font-weight: 700; }
.recommend-card h3 { margin: 5px 0; font-size: 13px; }
.recommend-card p { margin: 0 0 7px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.recommend-card button { padding: 5px 8px; color: white; background: var(--brand); border: 0; border-radius: 7px; font-size: 10px; cursor: pointer; }
.notice { margin: 12px 0 0; color: #8491a0; font-size: 10px; line-height: 1.55; }

.inquiry-page { padding-bottom: 20px; }
.inquiry-page .page-header { padding-bottom: 20px; }
.cart-section, .form-section { margin: 14px 15px; padding: 18px 15px; background: white; border-radius: 18px; }
.subhead { margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.subhead h2 { margin: 0; font-size: 17px; }
.subhead span { color: var(--muted); font-size: 11px; }
.cart-list { display: grid; gap: 10px; }
.cart-item { padding: 8px; display: grid; grid-template-columns: 70px 1fr 30px; gap: 10px; align-items: center; background: #f8fafc; border-radius: 12px; }
.cart-item img { width: 70px; height: 62px; object-fit: cover; border-radius: 9px; }
.cart-item h3 { margin: 0 0 4px; font-size: 12px; }
.cart-item p { margin: 0; color: var(--muted); font-size: 10px; }
.remove-button { width: 29px; height: 29px; display: grid; place-items: center; color: #a1aab5; background: white; border: 0; border-radius: 50%; cursor: pointer; }
.remove-button svg { width: 14px; height: 14px; }
.form-section .field + .field { margin-top: 12px; }
.form-section .selector-fields .field + .field { margin-top: 0; }
.form-note { margin: 11px 0 15px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.form-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 9px; }

.about-hero { padding: 30px 20px 28px; color: white; background: linear-gradient(135deg, #073f75, #0878c8); text-align: center; }
.about-logo { width: 88px; height: 88px; margin: 0 auto 14px; padding: 12px; display: grid; place-items: center; background: white; border-radius: 22px; box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.about-hero h1 { margin: 0 0 7px; font-size: 23px; }
.about-hero p { margin: 0; color: #b8ddf7; font-size: 12px; }
.about-section { margin: 14px 15px 0; padding: 20px 17px; background: white; border-radius: 18px; }
.about-section h2 { margin: 0 0 12px; font-size: 17px; }
.about-section > p { margin: 0; color: #607084; font-size: 12px; line-height: 1.85; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.about-stats div + div { border-left: 1px solid var(--line); }
.about-stats strong { display: block; color: var(--brand); font-size: 20px; }
.about-stats small { color: var(--muted); font-size: 10px; }
.contact-list { display: grid; gap: 3px; }
.contact-row { min-height: 55px; display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; border-bottom: 1px solid #f0f2f5; }
.contact-row:last-child { border: 0; }
.contact-row .contact-icon { width: 34px; height: 34px; display: grid; place-items: center; color: var(--brand); background: var(--brand-light); border-radius: 10px; }
.contact-row svg { width: 17px; height: 17px; }
.contact-row small { display: block; margin-bottom: 2px; color: var(--muted); font-size: 9px; }
.contact-row b { font-size: 12px; font-weight: 550; }
.contact-row .chevron { color: #a7b0ba; }
.wechat-card { display: grid; grid-template-columns: 1fr 92px; gap: 14px; align-items: center; }
.wechat-card h3 { margin: 0 0 7px; font-size: 15px; }
.wechat-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.wechat-card img { width: 92px; height: 92px; object-fit: cover; border: 1px solid var(--line); border-radius: 10px; }
.copyright { padding: 24px 18px; color: #98a2ae; text-align: center; font-size: 9px; line-height: 1.7; }

.drawer { position: fixed; z-index: 100; inset: 0; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-mask { position: absolute; inset: 0; background: rgba(8, 22, 38, .52); opacity: 0; transition: opacity .25s; }
.drawer aside {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(0px, calc(50% - 300px));
  width: min(82vw, 340px);
  padding: calc(18px + env(safe-area-inset-top, 0px)) 20px 24px;
  background: white;
  transform: translateX(-105%);
  transition: transform .25s ease-out;
}
.drawer.open .drawer-mask { opacity: 1; }
.drawer.open aside { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-head img { width: 150px; }
.drawer-head .icon-button { font-size: 28px; font-weight: 300; }
.drawer-kicker { margin: 14px 0 25px; color: var(--muted); font-size: 11px; }
.drawer-links { display: grid; gap: 5px; }
.drawer-links button { height: 50px; padding: 0 11px; display: flex; align-items: center; gap: 13px; color: #35475a; background: none; border: 0; border-radius: 11px; font-size: 14px; text-align: left; cursor: pointer; }
.drawer-links button:hover { color: var(--brand); background: var(--brand-light); }
.drawer-links svg { width: 19px; height: 19px; }
.drawer-contact { position: absolute; left: 20px; right: 20px; bottom: calc(27px + var(--safe-bottom)); padding: 17px; color: white; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); border-radius: 14px; }
.drawer-contact small { display: block; color: #b7d9f5; font-size: 10px; }
.drawer-contact a { display: block; margin: 5px 0 8px; font-size: 20px; font-weight: 750; }
.drawer-contact p { margin: 0; color: rgba(255,255,255,.7); font-size: 9px; }

.modal-layer { position: fixed; z-index: 120; inset: 0; display: flex; justify-content: center; align-items: flex-end; }
.modal-mask { position: absolute; inset: 0; background: rgba(7, 20, 34, .6); backdrop-filter: blur(2px); }
.modal {
  position: relative;
  width: min(600px, 100%);
  max-height: 94vh;
  padding-bottom: var(--safe-bottom);
  overflow-y: auto;
  background: white;
  border-radius: 24px 24px 0 0;
  animation: modal-up .25s ease-out;
}
@keyframes modal-up { from { transform: translateY(30px); opacity: 0; } }
.modal-close { position: absolute; z-index: 2; top: 13px; right: 13px; width: 34px; height: 34px; color: white; background: rgba(0,0,0,.35); border: 0; border-radius: 50%; font-size: 23px; cursor: pointer; }
.modal-hero { height: 240px; background: #f2f4f6; }
.modal-hero img { width: 100%; height: 100%; object-fit: contain; }
.gallery-strip { padding: 9px 12px; display: flex; gap: 8px; overflow-x: auto; background: #f7f9fb; scrollbar-width: none; }
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-strip button { width: 58px; height: 52px; flex: 0 0 auto; padding: 2px; overflow: hidden; background: white; border: 2px solid transparent; border-radius: 9px; cursor: pointer; }
.gallery-strip button.active { border-color: var(--brand); }
.gallery-strip img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.modal-body { padding: 20px 18px 24px; }
.modal-badge { display: inline-block; padding: 4px 8px; color: var(--brand); background: var(--brand-light); border-radius: 5px; font-size: 9px; font-weight: 700; }
.modal-body h2 { margin: 8px 0 7px; font-size: 21px; }
.modal-body > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.feature-row { margin: 17px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.feature-row span { padding: 9px 3px; color: #3f617e; background: #f1f7fc; border-radius: 8px; text-align: center; font-size: 9px; }
.detail-tags { display: flex; flex-wrap: wrap; }
.detail-tags span { min-width: 68px; flex: 1 0 auto; padding-left: 7px; padding-right: 7px; }
.spec-sheet { margin: 16px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.spec-sheet div { min-height: 47px; display: grid; grid-template-columns: 78px 1fr; align-items: stretch; border-bottom: 1px solid var(--line); }
.spec-sheet div:last-child { border-bottom: 0; }
.spec-sheet strong { padding: 12px 10px; display: flex; align-items: center; color: #526274; background: #f6f8fa; font-size: 10px; }
.spec-sheet span { padding: 11px 10px; display: flex; align-items: center; color: #405164; font-size: 10px; line-height: 1.55; }
.modal-info { margin: 0 0 17px; padding: 13px; background: #f8fafc; border-radius: 10px; }
.modal-info strong { display: block; margin-bottom: 5px; font-size: 11px; }
.modal-info p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.modal-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 9px; }
.modal-actions-sticky { position: sticky; z-index: 4; bottom: 0; margin: 22px -18px -24px; padding: 12px 18px calc(12px + var(--safe-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(14px); }
.official-detail-section { margin-top: 25px; }
.detail-section-title { margin-bottom: 13px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.detail-section-title small { color: var(--brand); font-size: 8px; font-weight: 750; letter-spacing: .9px; }
.detail-section-title h3 { margin: 4px 0 0; font-size: 17px; }
.detail-section-title a { flex: 0 0 auto; color: var(--brand); font-size: 10px; }
.official-detail { color: #4f5f70; font-size: 11px; line-height: 1.75; }
.official-detail h1, .official-detail h2, .official-detail h3, .official-detail h4 { margin: 22px 0 10px; color: var(--ink); line-height: 1.4; }
.official-detail h3 { padding-left: 10px; border-left: 3px solid var(--brand); font-size: 15px; }
.official-detail p { margin: 8px 0; }
.official-detail img { max-width: 100% !important; height: auto !important; margin: 7px auto; object-fit: contain; }
.official-detail .table1, .official-detail table { max-width: 100%; }
.official-detail .table1 { margin: 10px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.official-detail table { min-width: 620px; border-collapse: collapse; background: white; }
.official-detail td, .official-detail th { min-width: 65px; padding: 6px 7px; border: 1px solid #d9e0e7; color: #46586a; text-align: center; font-size: 9px; line-height: 1.35; }
.official-detail td p, .official-detail th p { margin: 0; }
.detail-loading, .detail-error { padding: 28px 12px; color: var(--muted); background: #f7f9fb; border-radius: 10px; text-align: center; }

.success-modal { padding: 30px 22px 25px; text-align: center; }
.success-mark { width: 62px; height: 62px; margin: 0 auto 14px; display: grid; place-items: center; color: white; background: var(--success); border-radius: 50%; }
.success-mark svg { width: 31px; height: 31px; }
.success-modal h2 { margin: 0 0 8px; font-size: 21px; }
.success-modal p { margin: 0 0 17px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.quote-preview { margin: 0 0 17px; padding: 13px; max-height: 180px; overflow-y: auto; color: #4e5d6c; background: #f5f7f9; border-radius: 10px; text-align: left; white-space: pre-wrap; font-size: 10px; line-height: 1.6; }

.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: calc(86px + var(--safe-bottom));
  max-width: calc(100% - 50px);
  padding: 10px 15px;
  color: white;
  background: rgba(20, 32, 46, .92);
  border-radius: 22px;
  box-shadow: 0 7px 20px rgba(0,0,0,.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: .22s;
  font-size: 12px;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 601px) {
  .hero { min-height: 360px; padding: 60px 35px 30px; }
  .section, .page-header { padding-left: 24px; padding-right: 24px; }
  .quick-panel { margin-left: 24px; margin-right: 24px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .products-page .product-grid { padding-left: 24px; padding-right: 24px; }
  .product-card .image-wrap { height: 150px; }
  .selector-card, .cart-section, .form-section, .about-section { margin-left: 24px; margin-right: 24px; }
}

@media (max-width: 360px) {
  .hero { padding-left: 18px; padding-right: 18px; }
  .hero h1 { font-size: 29px; }
  .quick-panel { margin-left: 10px; margin-right: 10px; }
  .quick-panel b { font-size: 11px; }
  .product-card .image-wrap { height: 128px; }
  .choice { padding: 9px; gap: 7px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
