:root {
  --navy: #073852;
  --blue: #086995;
  --sky: #12a7e1;
  --pale: #eaf7fd;
  --green: #06c755;
  --orange: #f97316;
  --red: #c2413b;
  --ink: #102f45;
  --muted: #66839a;
  --line: #d4e3ec;
  --surface: #fff;
  --bg: #f4f9fc;
  --shadow: 0 18px 50px rgba(7, 56, 82, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 4%, rgba(18, 167, 225, .13), transparent 25rem),
    linear-gradient(180deg, #fff 0 31rem, var(--bg) 31rem);
  font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  line-height: 1.55;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--blue); }
img { max-width: 100%; }
[hidden] { display: none !important; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.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;
}

.topbar { color: #fff; background: var(--navy); font-size: .8rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header {
  min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { min-width: 0; display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.brand-logo {
  width: clamp(62px, 6vw, 76px); height: clamp(62px, 6vw, 76px); flex: 0 0 auto;
  border-radius: 18px; object-fit: contain; background: #fff;
  box-shadow: 0 7px 20px rgba(7, 56, 82, .08);
}
.brand strong { display: block; font-size: 1.18rem; letter-spacing: .05em; }
.brand small { display: block; color: var(--muted); font-size: .68rem; letter-spacing: .13em; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.desktop-nav a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 800; }
.desktop-nav a:hover { color: var(--blue); }
.header-cta, .primary-button, .secondary-button, .line-send {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 11px; padding: 0 18px; text-decoration: none; font-weight: 900; transition: .18s ease;
}
.header-cta { border: 1px solid #b8d7e8; color: var(--blue); background: #fff; white-space: nowrap; }
.header-cta:hover, .secondary-button:hover { border-color: var(--sky); background: #f1faff; transform: translateY(-1px); }
.line-priority-cta { color: #fff; border-color: var(--green); background: var(--green); }
.line-priority-cta:hover { color: #fff; border-color: #05b84e; background: #05b84e; }

.hero { padding: 66px 0 56px; }
.eyebrow {
  width: fit-content; display: flex; align-items: center; gap: 9px; margin-bottom: 22px;
  padding: 8px 14px; border-radius: 999px; color: var(--blue); background: var(--pale); font-size: .83rem; font-weight: 900;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.hero h1 { margin: 0; color: var(--navy); font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.08; letter-spacing: -.05em; }
.hero h1 span { color: var(--blue); }
.hero > p { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 25px; }
.line-order-cta {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 11px; padding: 0 19px; color: #fff; background: var(--green);
  text-decoration: none; font-weight: 900; transition: .18s ease;
}
.line-order-cta:hover { color: #fff; background: #05b84e; transform: translateY(-1px); }
.line-order-cta span {
  width: 33px; height: 27px; display: grid; place-items: center; border-radius: 50%;
  color: var(--green); background: #fff; font-size: .61rem;
}
.line-order-cta.compact { flex: 0 0 auto; }
.line-order-flow {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px;
  color: #36596f; font-size: .86rem; font-weight: 800;
}
.line-order-flow span { display: inline-flex; align-items: center; gap: 7px; }
.line-order-flow b {
  width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%;
  color: #fff; background: var(--green); font-size: .72rem;
}
.trust-points { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; color: #36596f; font-size: .9rem; font-weight: 800; }
.trust-points span::before { content: "✓"; margin-right: 7px; color: var(--green); }

.app-shell { padding: 20px 0 82px; scroll-margin-top: 10px; }
.stepper {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 24px;
  border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 10px 30px rgba(29, 76, 105, .06); overflow: hidden;
}
.step {
  position: relative; min-height: 68px; display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-right: 1px solid var(--line); color: #8ba1b1; background: #fff; font-weight: 900;
}
.step:last-child { border-right: 0; }
.step b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #edf3f7; }
.step.is-active { color: var(--blue); background: #f3fbff; }
.step.is-active b { color: #fff; background: var(--sky); }
.step.is-complete { color: #266a4a; }
.step.is-complete b { color: #fff; background: var(--green); }
.step:disabled { cursor: default; }

.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
#quoteForm, .quote-cart {
  border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow);
}
.form-step { display: none; padding: 34px; }
.form-step.is-active { display: block; }
.section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
.section-kicker { color: var(--sky); font-size: .72rem; font-weight: 1000; letter-spacing: .12em; }
.section-head h2, .cart-head h2 { margin: 4px 0 0; color: var(--navy); font-size: 1.65rem; }
.section-head p, .panel-title p, .block-head p { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.entry-card {
  min-height: 132px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  border: 1px solid var(--line); border-radius: 16px; padding: 18px; color: var(--ink); background: #fff; text-align: left;
}
.entry-card:hover, .entry-card.is-active { border-color: var(--sky); background: #f1faff; box-shadow: 0 0 0 2px rgba(18,167,225,.1); }
.entry-card strong { font-size: .96rem; }
.entry-card small { margin-top: 3px; color: var(--muted); }
.entry-icon { margin-bottom: 8px; color: var(--blue); font-size: 1.7rem; font-weight: 400; line-height: 1; }
.entry-panel { display: none; }
.entry-panel.is-active { display: block; }
.panel-title { margin-bottom: 20px; }
.panel-title h3, .card-block h3 { margin: 0; color: var(--navy); }
.panel-title h3 { font-size: 1.15rem; }
.panel-title h3 small, .card-block h3 small { color: #96a9b7; font-size: .72rem; font-weight: 600; }

.search-box {
  position: relative; display: block; margin-bottom: 18px;
}
.search-box input { height: 56px; padding: 0 48px 0 17px; font-size: 1rem; }
.search-box button {
  position: absolute; top: 50%; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%;
  color: #7690a1; background: transparent; transform: translateY(-50%); font-size: 1.3rem;
}
.quick-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sales-shortcuts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 18px;
}
.sales-shortcuts button {
  min-height: 82px; border: 1px solid #c7dfe9; border-radius: 14px; padding: 14px;
  color: #244c62; background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,252,255,.95));
  text-align: left; box-shadow: 0 8px 20px rgba(7,56,82,.05);
}
.sales-shortcuts button:hover {
  border-color: var(--sky); background: #f2fbff; transform: translateY(-1px);
}
.sales-shortcuts button:first-child {
  border-color: rgba(6,199,85,.45);
  background: linear-gradient(135deg, rgba(235,255,244,.98), rgba(255,255,255,.96));
}
.sales-shortcuts strong { display: block; color: var(--navy); font-size: .94rem; }
.sales-shortcuts span { display: block; margin-top: 4px; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.category-button {
  min-height: 50px; border: 1px solid var(--line); border-radius: 11px; color: #35586d; background: #fff; font-weight: 800;
}
.category-button:hover, .category-button.is-active { border-color: var(--sky); color: var(--blue); background: var(--pale); }
.text-button { border: 0; padding: 8px 0; color: var(--blue); background: transparent; font-size: .84rem; font-weight: 900; }
.text-button.danger { color: var(--red); }
.filter-panel { border-top: 1px solid var(--line); }
.filter-row { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.filter-row > span, .field-label { color: #385b70; font-size: .84rem; font-weight: 900; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 34px; border: 1px solid #cedee8; border-radius: 999px; padding: 0 12px;
  color: #527186; background: #fff; font-size: .8rem; font-weight: 800;
}
.chip.is-active { border-color: var(--sky); color: var(--blue); background: var(--pale); }
#brandChips .chip { min-height: 42px; padding: 0 15px; }
#brandChips .chip.is-active { box-shadow: 0 0 0 2px rgba(18,167,225,.1); }
.model-tools { display: grid; gap: 12px; margin-top: 16px; border: 1px solid #b9ddea; border-radius: 14px; padding: 14px; background: #f7fcff; }
.model-search { position: relative; display: block; }
.model-search input { height: 48px; padding-right: 46px; background: #fff; }
.model-search button {
  position: absolute; top: 50%; right: 8px; width: 34px; height: 34px; border: 0; border-radius: 50%;
  color: #7690a1; background: transparent; transform: translateY(-50%); font-size: 1.2rem;
}
.model-type-filters { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.model-type-filters > span { color: #385b70; font-size: .8rem; font-weight: 900; }
.recommend-button {
  min-height: 44px; border: 1px dashed #58b8da; border-radius: 10px; padding: 8px 14px;
  color: var(--blue); background: #fff; font-weight: 900;
}
.recommend-button:hover { border-style: solid; background: var(--pale); }
.lamp-order-panel {
  margin-top: 16px; border: 1px solid #efc879; border-radius: 15px; padding: 18px;
  background: linear-gradient(180deg, #fffdf6 0%, #fff 100%);
}
.lamp-order-head { display: grid; gap: 8px; }
.lamp-order-head h3 { margin: 7px 0 0; color: var(--navy); font-size: 1.08rem; }
.lamp-order-head p { margin: 0; color: #5e7080; font-size: .82rem; line-height: 1.65; }
.lamp-custom-fields { margin-top: 16px; }
.lamp-add-field { align-self: end; }
.lamp-add-field .primary-button { width: 100%; min-height: 48px; }
.special-order-notice {
  margin-top: 18px; border: 1px solid #edc36f; border-radius: 12px; padding: 15px;
  color: #5d4a21; background: #fff8e7;
}
.special-order-notice > strong { display: block; color: #68490c; }
.special-order-notice > p { margin: 7px 0 13px; font-size: .78rem; line-height: 1.7; }
.special-order-badge, .availability-badge, .cart-special-order {
  display: inline-flex; align-items: center; width: fit-content; border-radius: 999px;
  padding: 4px 9px; font-size: .69rem; font-weight: 900;
}
.special-order-badge { color: #855800; background: #ffedbd; }
.availability-badge { color: #355f77; background: #e8f5fb; }
.product-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.confirm-check {
  display: grid; grid-template-columns: 20px 1fr; gap: 9px; align-items: start;
  color: #4d3d1d; font-size: .8rem; font-weight: 800; line-height: 1.55;
}
.confirm-check input { width: 18px; min-height: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }
.confirm-check input[aria-invalid="true"] { outline: 2px solid var(--red); outline-offset: 2px; }
.purchase-info-panel {
  margin-top: 16px; border: 1px solid #b9ddea; border-radius: 15px; padding: 18px;
  color: #3e5e72; background: linear-gradient(180deg, #f4fbff 0%, #fff 100%);
}
.purchase-info-panel h3 { margin: 8px 0; color: var(--navy); font-size: 1.08rem; }
.purchase-info-panel p { margin: 0; font-size: .82rem; line-height: 1.7; }
.purchase-info-panel .purchase-note { margin-top: 8px; font-weight: 800; }
.safety-badge, .digital-badge {
  display: inline-flex; border-radius: 999px; padding: 4px 10px; font-size: .7rem; font-weight: 900;
}
.safety-badge { color: #8b4d14; background: #ffebc9; }
.digital-badge { color: #185b7e; background: #dff4ff; }
.purchase-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.link-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.order-entry-note {
  display: grid; gap: 3px; margin-top: 12px; border-left: 4px solid var(--sky);
  padding: 10px 12px; color: #31566d; background: #eef9fe; font-size: .82rem;
}
.order-entry-note strong, .order-entry-note span { display: block; }
.purchase-payment-panel {
  margin-top: 10px; border: 1px solid #e4d7b2; border-radius: 13px; padding: 15px;
  color: #5d5135; background: #fffdf7;
}
.purchase-payment-panel > strong { display: block; color: #654e1e; }
.purchase-payment-panel > p { margin: 5px 0 10px; font-size: .78rem; line-height: 1.6; }
.payment-detail-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 16px; font-size: .78rem;
}
.product-results { margin-top: 16px; display: grid; gap: 9px; scroll-margin-top: 12px; }
.brand-prompt { background: #fbfeff; }
.product-result-head {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  border: 1px solid #b9ddea; border-radius: 12px; padding: 12px 14px; background: rgba(243,251,255,.97);
  box-shadow: 0 8px 20px rgba(7,56,82,.08);
}
.product-result-head span, .product-result-head small { display: block; color: var(--muted); font-size: .72rem; }
.product-result-head strong { display: block; color: var(--navy); }
.product-result-head .secondary-button { min-height: 38px; padding: 0 13px; white-space: nowrap; }
.product-row {
  min-height: 60px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px;
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px 10px 16px;
}
.product-row.has-specs { align-items: start; padding: 18px; }
.product-row:hover { border-color: #a9d6e9; background: #fbfeff; }
.product-row strong { display: block; color: var(--navy); }
.product-row small { color: var(--muted); }
.product-main { min-width: 0; }
.product-price { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; margin-top: 9px; }
.product-price span { color: #7a8d9b; font-size: .76rem; }
.product-price strong { color: #c13e2c; font-size: 1rem; }
.product-price.price-on-request {
  width: fit-content; padding: 8px 11px; border: 1px solid #a8e7c2; border-radius: 10px;
  background: #effcf4;
}
.product-price.price-on-request strong { color: #087d3b; }
.product-price.price-on-request span { color: #47705a; }
.product-price.wholesale-order-ready strong { color: #c13e2c; }
.product-price.wholesale-order-ready span { color: #8a4b38; }
.product-compatibility {
  margin: 10px 0 0; color: #45667a; font-size: .82rem; line-height: 1.55;
}
.product-compatibility b { color: var(--navy); }
.product-specs {
  margin: 12px 0 0; padding: 12px 14px 12px 32px; border-radius: 10px;
  color: #385b70; background: #f4faff; font-size: .82rem; line-height: 1.65;
}
.product-specs li + li { margin-top: 2px; }
.product-source {
  display: inline-block; margin-top: 10px; color: var(--blue); font-size: .78rem; font-weight: 900;
}
.add-product {
  min-height: 38px; border: 1px solid #b9d7e6; border-radius: 9px; padding: 0 13px;
  color: var(--blue); background: #fff; font-weight: 900;
}
.add-product:hover { border-color: var(--sky); background: var(--pale); }
.product-actions { display: grid; gap: 7px; min-width: 170px; }
.direct-order-button {
  min-height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--blue); border-radius: 9px; padding: 0 13px;
  color: var(--blue); background: #fff; text-decoration: none; font-size: .82rem; font-weight: 900;
}
.direct-order-button:hover { background: var(--pale); }
.product-line-order, .line-cart-order {
  min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 0; border-radius: 9px; padding: 0 11px; color: #fff; background: var(--green);
  font-size: .8rem; font-weight: 900;
}
.product-email-order, .email-cart-order {
  min-height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #6f8fa2; border-radius: 9px; padding: 0 11px;
  color: #315b72; background: #fff; font-size: .8rem; font-weight: 900;
}
.product-email-order:hover, .email-cart-order:hover { border-color: var(--blue); color: var(--blue); background: var(--pale); }
.product-line-order:hover, .line-cart-order:hover { background: #05b84e; }
.product-line-order span, .line-cart-order span {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  min-width: 44px; height: 26px; border-radius: 999px; padding: 0 8px;
  color: var(--green); background: #fff; font-size: .68rem; letter-spacing: .02em;
}
.add-product.is-added { color: #17613c; background: #def7e8; }
.add-product:disabled { color: #65717d; background: #e7ebef; cursor: not-allowed; }
.load-more { width: 100%; margin-top: 12px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field.full { grid-column: 1 / -1; }
.field > span, .field-label { display: block; margin-bottom: 7px; }
.field > span { color: #385b70; font-size: .84rem; font-weight: 900; }
.field em, .field-label em { color: var(--red); font-style: normal; }
.field span small { color: #91a5b3; font-weight: 500; }
input, select, textarea {
  width: 100%; border: 1px solid #cfdfe9; border-radius: 10px; outline: none; color: var(--ink); background: #fbfdff;
}
input, select { min-height: 48px; padding: 0 13px; }
textarea { min-height: 112px; padding: 12px 13px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--sky); background: #fff; box-shadow: 0 0 0 3px rgba(18,167,225,.11); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--red); background: #fffafa; }
.customer-types[aria-invalid="true"] .select-card > span, #priceScope[aria-invalid="true"] { border-color: #e4a5a1; background: #fffafa; }
.error { display: block; min-height: 0; margin-top: 5px; color: var(--red); font-size: .76rem; }
.error:not(:empty) { min-height: 1em; }
.char-count { display: block; margin-top: 5px; color: #90a4b2; text-align: right; }
.primary-button { border: 0; color: #fff; background: var(--blue); }
.primary-button:hover { background: #075d84; transform: translateY(-1px); }
.secondary-button { border: 1px solid #c8dce7; color: var(--blue); background: #fff; }
.entry-panel > .primary-button { margin-top: 20px; }

.planning-types, .delivery-options, .contact-preferences, .customer-types {
  display: grid; gap: 10px; margin-bottom: 22px;
}
.planning-types { grid-template-columns: 1fr 1fr; }
.delivery-options { grid-template-columns: repeat(3, 1fr); }
.contact-preferences { grid-template-columns: repeat(3, 1fr); }
.customer-types { grid-template-columns: repeat(4, 1fr); }
.select-card input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.select-card > span {
  min-height: 62px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 13px; color: #46667a; background: #fff; cursor: pointer;
}
.select-card small { color: #8198a8; }
.select-card input:checked + span { border-color: var(--sky); color: var(--blue); background: var(--pale); box-shadow: 0 0 0 2px rgba(18,167,225,.1); }
.select-card.recommended strong::after { content: "推薦"; margin-left: 6px; color: var(--green); font-size: .65rem; }
.advanced-panel { margin-top: 22px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.advanced-panel summary { padding: 15px 17px; color: var(--blue); background: #f7fbfd; cursor: pointer; font-weight: 900; }
.advanced-panel[open] summary { border-bottom: 1px solid var(--line); }
.advanced-panel .form-grid { padding: 20px; }
.dimension-row { display: grid; grid-template-columns: 1fr auto 1fr 100px; gap: 9px; align-items: center; }
.check-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.check-grid label, .inline-check, .radio-row label {
  min-height: 38px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line);
  border-radius: 9px; padding: 0 11px; color: #456579; background: #fff; font-size: .82rem; font-weight: 700;
}
.check-grid input, .inline-check input, .radio-row input { width: 16px; min-height: auto; margin: 0; }
.radio-row { display: flex; gap: 10px; margin-top: 12px; }

.card-block { margin-bottom: 20px; border: 1px solid var(--line); border-radius: 15px; padding: 20px; }
.card-block h3 { margin-bottom: 14px; font-size: 1rem; }
.money-input { position: relative; max-width: 360px; }
.money-input span { position: absolute; top: 50%; left: 14px; color: var(--blue); transform: translateY(-50%); font-weight: 900; }
.money-input input { padding-left: 52px; }
#priceScope { margin-top: 15px; }
.helper, .notice, .send-note, .fine-print { color: #748e9f; font-size: .77rem; }
.delivery-details { margin-top: 18px; }
.date-input-wrap { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin: 0 !important; }
.date-input-wrap button, .date-quick-picks button {
  border: 1px solid #c8dce7; border-radius: 9px; color: var(--blue); background: #fff; font-weight: 900;
}
.date-input-wrap button { min-height: 48px; padding: 0 12px; white-space: nowrap; }
.date-quick-picks { display: flex !important; flex-wrap: wrap; gap: 7px; margin: 8px 0 0 !important; }
.date-quick-picks button { min-height: 34px; padding: 0 10px; font-size: .75rem; }
.date-input-wrap button:hover, .date-quick-picks button:hover { border-color: var(--sky); background: var(--pale); }
.inline-check { width: fit-content; }
.urgent { color: #b45309; border-color: #fed7aa; background: #fffaf5; }
.installation-fields { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.block-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.upload-zone {
  min-height: 75px; display: grid; place-items: center; border: 1.5px dashed #a9c8da; border-radius: 12px;
  color: var(--blue); background: #f8fcfe; cursor: pointer; font-weight: 900;
}
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.attachment-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.attachment {
  min-width: 0; display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: 9px; align-items: center;
  border: 1px solid var(--line); border-radius: 11px; padding: 8px;
}
.attachment img { width: 48px; height: 48px; border-radius: 7px; object-fit: cover; cursor: zoom-in; }
.pdf-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 7px; color: #fff; background: #df5c55; font-size: .7rem; font-weight: 900; }
.attachment-info { min-width: 0; }
.attachment-info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; }
.attachment-info small { color: var(--muted); }
.icon-button { width: 32px; height: 32px; border: 0; border-radius: 8px; color: var(--red); background: #fff3f2; }

.privacy-note { margin-top: 22px; border-left: 4px solid var(--sky); padding: 12px 15px; color: var(--muted); background: #f5fbfe; font-size: .8rem; }
.privacy-note p { margin: 0 0 4px; }
.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.reference { flex: 0 0 auto; padding: 7px 10px; border-radius: 8px; color: var(--blue); background: var(--pale); font-size: .8rem; font-weight: 900; white-space: nowrap; }
.review-card { border: 1px solid var(--line); border-radius: 15px; padding: 20px; background: #f8fbfd; }
.review-card pre, .transfer-preview {
  margin: 0; white-space: pre-wrap; word-break: break-word; font: .86rem/1.8 "Microsoft JhengHei", sans-serif; color: #38576b;
}
.review-attachments { margin: 12px 0; color: var(--muted); font-size: .8rem; }
.send-actions { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 10px; margin-top: 20px; }
.line-send { border: 0; color: #fff; background: var(--green); }
.line-send:hover { background: #05b84e; transform: translateY(-1px); }
.line-send span { width: 31px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #fff; font-size: .6rem; }
.phone-link { color: #b45309; border-color: #fed7aa; background: #fffaf5; }
.sent-confirmation { margin-top: 18px; border: 1px solid #9fddba; border-radius: 13px; padding: 17px; background: #effbf4; }
.sent-confirmation p { color: #4e7560; }

.quote-cart { position: sticky; top: 18px; max-height: calc(100vh - 36px); display: flex; flex-direction: column; overflow: hidden; }
.quote-cart.is-collapsed { width: 92px; justify-self: end; }
.quote-cart.is-collapsed .cart-head { writing-mode: vertical-rl; min-height: 240px; }
.quote-cart.is-collapsed .cart-items, .quote-cart.is-collapsed .cart-footer, .quote-cart.is-collapsed .section-kicker { display: none; }
.cart-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 23px 22px 16px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 1.25rem; }
.cart-head h2 b { color: var(--sky); }
.cart-head button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; color: var(--blue); background: #fff; }
.cart-items { flex: 1; min-height: 250px; overflow-y: auto; padding: 14px; }
.cart-item { border: 1px solid var(--line); border-radius: 13px; padding: 13px; margin-bottom: 10px; }
.cart-item-head { display: flex; justify-content: space-between; gap: 8px; }
.cart-item-head strong { color: var(--navy); font-size: .88rem; }
.cart-item-actions { display: flex; gap: 5px; }
.cart-special-order { margin-top: 8px; color: #855800; background: #fff0c8; }
.mini-button { border: 0; padding: 3px 7px; border-radius: 7px; color: var(--blue); background: var(--pale); font-size: .68rem; font-weight: 800; }
.mini-button.danger { color: var(--red); background: #fff0ef; }
.qty-row { display: grid; grid-template-columns: 34px 62px 34px 76px; gap: 5px; margin-top: 11px; }
.qty-row button { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.qty-row input, .qty-row select { min-height: 36px; height: 36px; padding: 0 7px; text-align: center; font-size: .8rem; }
.item-note-toggle { display: inline-block; margin-top: 9px; }
.item-note { min-height: 70px; margin-top: 7px; font-size: .78rem; }
.cart-footer { padding: 14px; border-top: 1px solid var(--line); }
.cart-footer { display: grid; gap: 8px; }
.cart-footer .primary-button, .cart-footer .line-cart-order, .cart-footer .email-cart-order { width: 100%; }
.cart-footer p, .mobile-cart-footer p { margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.5; }
.mobile-cart-footer {
  position: sticky; bottom: 0; display: grid; gap: 7px; border-top: 1px solid var(--line);
  padding: 12px 14px; background: #fff;
}
.mobile-cart-footer .line-cart-order, .mobile-cart-footer .email-cart-order { width: 100%; }
.email-fallback-link { grid-column: 1 / -1; }
.empty-state { padding: 36px 14px; color: var(--muted); text-align: center; }
.empty-state.compact { border: 1px dashed var(--line); border-radius: 13px; }
.empty-state strong { display: block; color: var(--navy); }
.empty-state p { margin: 5px 0 16px; font-size: .82rem; }
.empty-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 9px;
}
.empty-actions .primary-button, .empty-actions .secondary-button {
  min-height: 42px; padding-inline: 14px;
}

.confidence { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 34px; }
.confidence article { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #fff; }
.confidence strong { color: var(--navy); }
.confidence p { margin: 6px 0 0; color: var(--muted); font-size: .84rem; }

.seo-content { padding: 34px 0 42px; }
.seo-intro { max-width: 850px; margin-bottom: 24px; }
.seo-intro h2, .faq-section h2 {
  margin: 5px 0 10px; color: var(--navy); font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.25;
}
.seo-intro p { margin: 0; color: var(--muted); font-size: .96rem; }
.seo-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.seo-service-grid article {
  border: 1px solid var(--line); border-radius: 16px; padding: 21px; background: #fff;
  box-shadow: 0 10px 28px rgba(7, 56, 82, .05);
}
.seo-service-grid h3 { margin: 0; color: var(--navy); font-size: 1.02rem; }
.seo-service-grid p { margin: 8px 0 13px; color: var(--muted); font-size: .84rem; }
.seo-service-grid a { font-size: .82rem; font-weight: 900; }
.conversion-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px;
  border: 1px solid #b9dced; border-radius: 16px; padding: 20px 22px;
  background: linear-gradient(135deg, #f3fbff, #f6fff9);
}
.conversion-panel strong { color: var(--navy); }
.conversion-panel p { margin: 5px 0 0; color: var(--muted); font-size: .84rem; }
.conversion-panel .primary-button { flex: 0 0 auto; }
.faq-section { padding: 34px 0 76px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.faq-grid details { border: 1px solid var(--line); border-radius: 14px; padding: 15px 17px; background: #fff; }
.faq-grid summary { color: var(--navy); cursor: pointer; font-weight: 900; }
.faq-grid p { margin: 10px 0 0; color: var(--muted); font-size: .84rem; }

footer { color: rgba(255,255,255,.78); background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 28px; padding: 38px 0 26px; font-size: .82rem; }
.footer-grid strong { color: #fff; }
.footer-grid details { border-top: 1px solid rgba(255,255,255,.16); padding-top: 10px; }
.footer-grid summary { color: #fff; cursor: pointer; font-weight: 900; }
.footer-detail a, .footer-grid > div > a { color: #bfe9ff; }
.footer-button { margin: 4px 4px 4px 0; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 7px 9px; color: #fff; background: rgba(255,255,255,.08); }
.bank-box { margin-top: 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; padding: 12px; }
.bank-box p { margin: 5px 0; }
.copyright { padding: 18px 0 24px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.55); text-align: center; font-size: .75rem; }

.mobile-bar, .mobile-cart-modal { display: none; }
dialog { width: min(480px, calc(100% - 28px)); border: 0; border-radius: 18px; padding: 26px; color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.3); }
dialog::backdrop { background: rgba(5,31,45,.65); backdrop-filter: blur(3px); }
dialog h2 { margin: 0 35px 7px 0; color: var(--navy); }
dialog > p { color: var(--muted); }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; color: #526f82; background: #edf5f9; font-size: 1.25rem; }
#lineDialog { text-align: center; }
#orderContactDialog { width: min(620px, calc(100% - 28px)); max-height: calc(100vh - 28px); overflow-y: auto; }
.order-summary-panel {
  display: grid; gap: 10px; margin: 20px 0 8px; border: 1px solid rgba(6,199,85,.28);
  border-radius: 16px; padding: 15px; background: linear-gradient(135deg, #effcf4, #fff);
}
.order-summary-panel[hidden] { display: none !important; }
.order-summary-head {
  display: flex; justify-content: space-between; gap: 14px; align-items: center;
  color: #315b72; font-size: .8rem; font-weight: 900;
}
.order-summary-head strong { color: #c13e2c; font-size: .95rem; white-space: nowrap; }
.order-summary-items { display: grid; gap: 8px; }
.order-summary-item {
  border: 1px solid rgba(185,215,230,.8); border-radius: 12px; padding: 11px 12px;
  background: rgba(255,255,255,.86);
}
.order-summary-item strong { display: block; color: var(--navy); font-size: .9rem; line-height: 1.45; }
.order-summary-item span { display: block; margin-top: 3px; color: #5d788a; font-size: .78rem; line-height: 1.45; }
.order-summary-panel p { margin: 0; color: #8a4b38; font-size: .76rem; font-weight: 800; }
.order-customer-types { margin-top: 9px; }
.order-contact-fields { margin-top: 18px; }
.order-section-title { margin: 24px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--navy); font-size: 1rem; }
.order-delivery-options, .order-invoice-options { margin-top: 9px; }
.order-notes-field { margin-top: 18px; }
.order-notes-field textarea { min-height: 90px; }
.order-contact-actions { display: grid; margin-top: 20px; }
.order-contact-actions button { width: 100%; }
#lineQr { width: min(300px, 100%); height: auto; aspect-ratio: 1; display: block; margin: 18px auto; border: 1px solid var(--line); }
.line-message-preview {
  min-height: 180px; margin: 14px 0 10px; color: #38576b; background: #f7fbfd;
  font: .8rem/1.65 "Microsoft JhengHei", sans-serif;
}
.line-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.line-dialog-actions > * { width: 100%; }
.line-steps { margin: 16px 0; padding-left: 1.4rem; color: var(--muted); text-align: left; }
.line-steps li { margin: 8px 0; }
.line-steps strong { color: var(--navy); }
#imageDialog { width: min(900px, calc(100% - 28px)); background: #101820; }
#largeImagePreview { display: block; max-height: 80vh; margin: auto; object-fit: contain; }
.transfer-preview { margin: 18px 0; border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: #f7fbfd; }
.toast {
  position: fixed; right: 22px; bottom: 22px; z-index: 100; max-width: min(390px, calc(100% - 28px));
  border-radius: 11px; padding: 12px 16px; color: #fff; background: var(--navy); box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s ease; font-size: .84rem;
}
.toast.show { opacity: 1; transform: none; }
.toast button { margin-left: 12px; border: 0; color: #7ee4aa; background: transparent; font-weight: 900; pointer-events: auto; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .brand-logo { width: 64px; height: 64px; }
  .workspace { grid-template-columns: 1fr; }
  .quote-cart { position: static; max-height: none; }
  .quote-cart.is-collapsed { width: auto; justify-self: stretch; }
  .quote-cart.is-collapsed .cart-head { writing-mode: initial; min-height: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .seo-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  body { padding-bottom: 72px; }
  .shell { width: min(100% - 28px, 1180px); }
  .topbar-inner { justify-content: center; }
  .topbar-inner span:last-child { display: none; }
  .site-header { min-height: 82px; gap: 9px; }
  .brand { gap: 8px; }
  .brand-logo { width: 58px; height: 58px; border-radius: 14px; }
  .brand strong { font-size: 1.02rem; white-space: nowrap; }
  .brand small { display: none; }
  .header-cta { min-height: 42px; padding: 0 14px; font-size: .78rem; }
  .hero { padding: 42px 0 34px; }
  .eyebrow { padding: 7px 11px; font-size: .72rem; }
  .hero h1 { font-size: clamp(1.9rem, 9.5vw, 2.5rem); }
  .hero > p { font-size: .98rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions a { width: 100%; }
  .trust-points { display: grid; gap: 8px; }
  .app-shell { padding-top: 8px; }
  .stepper { border-radius: 13px; }
  .step {
    min-height: 68px; flex-direction: column; gap: 5px; padding: 8px 2px;
    border-right: 1px solid var(--line); font-size: .64rem; line-height: 1.15;
  }
  .step:last-child { border-right: 0; }
  .step b { width: 25px; height: 25px; }
  .step span { display: block; white-space: nowrap; }
  #quoteForm { border-radius: 17px; }
  .form-step { padding: 22px 18px 30px; }
  .section-head h2 { font-size: 1.4rem; }
  .form-step[data-step="4"] .section-head { flex-direction: column; gap: 12px; }
  .form-step[data-step="4"] .reference { align-self: flex-start; }
  .choice-grid { grid-template-columns: 1fr; }
  .entry-card { min-height: 82px; display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; column-gap: 8px; padding: 13px; }
  .entry-icon { grid-row: 1 / 3; margin: 0; align-self: center; }
  .entry-card small { margin: 0; }
  .sales-shortcuts { grid-template-columns: 1fr; }
  .quick-categories { grid-template-columns: repeat(2, 1fr); }
  .filter-row { grid-template-columns: 1fr; }
  .model-type-filters { grid-template-columns: 1fr; }
  .lamp-order-panel { padding: 15px; }
  .payment-detail-grid { grid-template-columns: 1fr; }
  .product-row.has-specs { grid-template-columns: 1fr; }
  .product-row.has-specs .product-actions { width: 100%; }
  .product-row.has-specs .add-product, .product-row.has-specs .product-line-order,
  .product-row.has-specs .product-email-order, .product-row.has-specs .direct-order-button { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .planning-types, .delivery-options, .contact-preferences { grid-template-columns: 1fr; }
  .customer-types { grid-template-columns: repeat(2, 1fr); }
  .dimension-row { grid-template-columns: 1fr auto 1fr; }
  .dimension-row select { grid-column: 1 / -1; }
  .attachment-list { grid-template-columns: 1fr; }
  .send-actions { grid-template-columns: 1fr; }
  .line-dialog-actions { grid-template-columns: 1fr; }
  .desktop-actions { display: none; }
  .quote-cart { display: none; }
  .confidence { grid-template-columns: 1fr; padding-bottom: 55px; }
  .seo-content { padding-top: 12px; }
  .seo-service-grid, .faq-grid { grid-template-columns: 1fr; }
  .conversion-panel { align-items: stretch; flex-direction: column; }
  .conversion-panel .primary-button { width: 100%; }
  .faq-section { padding-bottom: 52px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid details { padding: 12px 0; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: 64px; display: grid;
    grid-template-columns: 1fr auto auto; gap: 7px; align-items: center; padding: 8px 10px;
    border-top: 1px solid var(--line); background: rgba(255,255,255,.97); box-shadow: 0 -8px 25px rgba(7,56,82,.1);
  }
  .mobile-bar button { min-height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 13px; color: var(--blue); background: #fff; font-weight: 900; }
  #mobileNext { color: #fff; border-color: var(--blue); background: var(--blue); }
  .mobile-cart-modal {
    position: fixed; inset: 0; z-index: 80; display: block; background: #fff; overflow-y: auto;
  }
  .mobile-cart-header {
    position: sticky; top: 0; z-index: 1; min-height: 62px; display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center; border-bottom: 1px solid var(--line); padding: 0 14px; background: #fff;
  }
  .mobile-cart-header button { justify-self: start; border: 0; color: var(--blue); background: transparent; font-weight: 900; }
  .mobile-cart-modal .cart-items { padding: 14px; }
  .toast { top: 12px; right: 14px; bottom: auto; }
}

@media print {
  .topbar, .site-header, .stepper, .quote-cart, .mobile-bar, footer, .send-actions, .step-actions { display: none !important; }
  body { background: #fff; }
  .shell, .app-shell { width: 100%; }
  #quoteForm { border: 0; box-shadow: none; }
}

.legal-page { background: var(--bg); padding-bottom: 0; }
.legal-header { border-bottom: 1px solid var(--line); background: #fff; }
.legal-header .shell { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal-header button { min-height: 42px; border: 1px solid var(--line); border-radius: 9px; padding: 0 13px; color: var(--blue); background: #fff; font-weight: 900; }
.legal-content { max-width: 880px; padding: 58px 0 80px; }
.legal-content h1 { margin: 4px 0 0; color: var(--navy); font-size: clamp(2rem, 5vw, 3.5rem); }
.legal-updated { color: var(--muted); }
.legal-highlight { margin: 28px 0; border-left: 5px solid var(--sky); border-radius: 0 12px 12px 0; padding: 18px 20px; color: #31566d; background: #eaf7fd; font-weight: 800; }
.legal-content section { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; background: #fff; }
.legal-content section h2 { margin: 0 0 9px; color: var(--navy); font-size: 1.08rem; }
.legal-content section p { margin: 8px 0; color: #4c697b; }
.legal-actions { display: flex; gap: 10px; margin-top: 28px; }

@media (max-width: 700px) {
  .legal-header .shell { min-height: 70px; }
  .legal-header button { font-size: .74rem; }
  .legal-content { padding: 38px 0 55px; }
  .legal-content section { padding: 17px; }
  .legal-actions { flex-direction: column; }
}

@media print {
  .legal-header button, .legal-actions { display: none !important; }
  .legal-page, .legal-content section { background: #fff; }
  .legal-content { max-width: none; padding: 0; }
  .legal-content section { break-inside: avoid; }
}

/* Visual and guidance refresh */
:root {
  --teal: #08a4a7;
  --gold: #d9a928;
  --deep-shadow: 0 24px 70px rgba(7, 56, 82, .14);
  --soft-shadow: 0 14px 34px rgba(7, 56, 82, .08);
  --focus-ring: 0 0 0 4px rgba(18, 167, 225, .14);
}

body {
  background:
    radial-gradient(circle at 8% 8%, rgba(217, 169, 40, .12), transparent 20rem),
    radial-gradient(circle at 92% 10%, rgba(18, 167, 225, .16), transparent 28rem),
    radial-gradient(circle at 80% 70%, rgba(6, 199, 85, .09), transparent 30rem),
    linear-gradient(180deg, #fbfeff 0 24rem, #eef7fb 24rem 100%);
}

::selection { color: #fff; background: var(--blue); }

.topbar {
  background: linear-gradient(90deg, #06324a, #075b75);
  box-shadow: inset 0 -1px rgba(255,255,255,.08);
}

.site-header {
  position: sticky; top: 0; z-index: 35; min-height: 88px; margin-top: 14px; padding: 10px 16px;
  border: 1px solid rgba(185, 220, 237, .75); border-radius: 24px;
  background: rgba(255,255,255,.84); box-shadow: var(--soft-shadow); backdrop-filter: blur(18px);
}

.brand-logo {
  border: 1px solid rgba(185, 220, 237, .75);
  box-shadow: 0 12px 28px rgba(7, 56, 82, .12);
}

.desktop-nav {
  gap: 10px; border: 1px solid rgba(212,227,236,.85); border-radius: 999px; padding: 6px;
  background: rgba(244,249,252,.78);
}

.desktop-nav a {
  border-radius: 999px; padding: 8px 13px; transition: .18s ease;
}

.desktop-nav a:hover { color: var(--blue); background: #fff; box-shadow: 0 8px 18px rgba(7,56,82,.08); }

.header-cta, .primary-button, .secondary-button, .line-send, .line-order-cta,
.product-line-order, .line-cart-order, .product-email-order, .email-cart-order,
.add-product, .category-button, .entry-card, .chip, .select-card > span {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.line-priority-cta, .line-order-cta, .product-line-order, .line-cart-order, .line-send {
  box-shadow: 0 12px 26px rgba(6, 199, 85, .24);
}

.line-priority-cta:hover, .line-order-cta:hover, .product-line-order:hover, .line-cart-order:hover, .line-send:hover {
  box-shadow: 0 16px 32px rgba(6, 199, 85, .31);
}

.secondary-button, .product-email-order, .email-cart-order, .direct-order-button {
  box-shadow: 0 6px 16px rgba(7,56,82,.04);
}

.hero {
  position: relative; isolation: isolate; margin-top: 22px; padding: 76px 44px 62px;
  border: 1px solid rgba(185, 220, 237, .8); border-radius: 34px; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,250,255,.92) 56%, rgba(240,255,248,.9)),
    radial-gradient(circle at 88% 30%, rgba(6,199,85,.12), transparent 18rem);
  box-shadow: var(--deep-shadow);
}

.hero::before,
.hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
}

.hero::before {
  inset: 0; opacity: .72;
  background:
    linear-gradient(120deg, transparent 0 58%, rgba(8,105,149,.08) 58% 59%, transparent 59%),
    radial-gradient(circle at 18% 18%, rgba(18,167,225,.12), transparent 13rem);
}

.hero::after {
  right: 48px; top: 52px; width: min(32vw, 360px); aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.7); border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(6,199,85,.16), rgba(18,167,225,.18)),
    radial-gradient(circle at 35% 35%, rgba(255,255,255,.75), transparent 8rem);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 24px 60px rgba(8,105,149,.13);
  transform: rotate(8deg);
}

.hero > * { position: relative; z-index: 1; }
.hero h1 { max-width: 780px; text-wrap: balance; }
.hero > p { max-width: 720px; color: #587789; }

.eyebrow {
  border: 1px solid rgba(18,167,225,.18);
  background: rgba(234,247,253,.84);
  box-shadow: 0 10px 24px rgba(18,167,225,.08);
}

.line-order-flow {
  gap: 9px; align-items: center;
}

.line-order-flow span {
  min-height: 38px; border: 1px solid rgba(6,199,85,.18); border-radius: 999px; padding: 6px 12px 6px 7px;
  background: rgba(255,255,255,.8); box-shadow: 0 8px 20px rgba(7,56,82,.06);
}

.trust-points span {
  display: inline-flex; align-items: center; width: fit-content;
  border-radius: 999px; padding: 7px 12px; background: rgba(255,255,255,.72);
}

.stepper {
  gap: 10px; border: 0; background: transparent; box-shadow: none; overflow: visible;
}

.step {
  border: 1px solid rgba(199,222,235,.92); border-radius: 17px; background: rgba(255,255,255,.78);
  box-shadow: 0 10px 24px rgba(7,56,82,.05);
}

.step + .step { border-left: 1px solid rgba(199,222,235,.92); }
.step:last-child { border-right: 1px solid rgba(199,222,235,.92); }

.step.is-active {
  border-color: rgba(18,167,225,.55);
  background: linear-gradient(135deg, #f3fbff, #e7f8ff);
  box-shadow: var(--focus-ring);
}

.step.is-complete {
  border-color: rgba(6,199,85,.38);
  background: linear-gradient(135deg, #f0fff6, #fff);
}

#quoteForm, .quote-cart, .confidence article, .seo-service-grid article, .faq-grid details,
.legal-content section {
  border-color: rgba(197,221,234,.92);
  box-shadow: var(--soft-shadow);
}

#quoteForm, .quote-cart {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
}

.form-step { padding: clamp(22px, 4vw, 38px); }

.section-kicker {
  display: inline-flex; align-items: center; gap: 7px;
}

.section-kicker::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sky);
}

.entry-card {
  position: relative; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.entry-card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: transparent;
}

.entry-card:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(7,56,82,.09); }

.entry-card.is-active {
  border-color: rgba(18,167,225,.55);
  background: linear-gradient(145deg, #f3fbff, #ffffff);
  box-shadow: var(--focus-ring), 0 14px 32px rgba(18,167,225,.08);
}

.entry-card.is-active::after { background: linear-gradient(180deg, var(--sky), var(--green)); }

.entry-icon {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px;
  background: #eef9fe;
}

.search-box input, .model-search input, input, select, textarea {
  border-color: rgba(191,216,230,.96);
  background: rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

input:focus, select:focus, textarea:focus {
  box-shadow: var(--focus-ring);
}

.quick-categories {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-button {
  min-height: 54px; border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f8fcff);
  box-shadow: 0 8px 18px rgba(7,56,82,.04);
}

.category-button:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(7,56,82,.08); }

.category-button.is-active {
  border-color: rgba(8,105,149,.45); color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 16px 32px rgba(8,105,149,.22);
}

.chip.is-active, .select-card input:checked + span {
  border-color: rgba(8,105,149,.42);
  box-shadow: var(--focus-ring);
}

.product-result-head {
  top: 10px; border-radius: 16px;
  background: rgba(243,251,255,.92); backdrop-filter: blur(12px);
}

.product-row {
  position: relative; border-radius: 18px; background: rgba(255,255,255,.92);
  box-shadow: 0 9px 22px rgba(7,56,82,.04);
}

.product-row::before {
  content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 4px;
  border-radius: 0 999px 999px 0; background: linear-gradient(180deg, var(--sky), var(--green));
  opacity: .55;
}

.product-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(7,56,82,.09);
}

.product-price.price-on-request {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}

.special-order-notice, .lamp-order-panel, .purchase-payment-panel {
  box-shadow: 0 10px 24px rgba(217,169,40,.09);
}

.quote-cart {
  top: 24px;
}

.cart-head {
  background: linear-gradient(135deg, #f7fcff, #fff);
}

.cart-item {
  border-radius: 16px; background: linear-gradient(180deg, #fff, #fbfdff);
}

.confidence article, .seo-service-grid article {
  position: relative; overflow: hidden;
}

.confidence article::before, .seo-service-grid article::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--sky), var(--green), var(--gold));
}

.conversion-panel {
  border-color: rgba(6,199,85,.22);
  box-shadow: 0 16px 40px rgba(6,199,85,.09);
}

.mobile-bar {
  backdrop-filter: blur(16px);
}

@media (max-width: 980px) {
  .site-header { border-radius: 20px; }
  .hero { padding: 58px 32px 48px; }
  .hero::after { opacity: .45; right: 18px; }
  .quick-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .site-header {
    margin-top: 8px; padding: 8px 10px; border-radius: 18px;
  }
  .hero {
    margin-top: 14px; padding: 34px 20px 30px; border-radius: 26px;
  }
  .hero::after {
    right: -58px; top: -42px; width: 170px; opacity: .35;
  }
  .line-order-flow {
    display: grid; grid-template-columns: 1fr; gap: 8px;
  }
  .line-order-flow span { width: 100%; }
  .trust-points span { width: 100%; }
  .sales-shortcuts { grid-template-columns: 1fr; }
  .stepper { gap: 7px; }
  .step { border-radius: 14px; }
  .quick-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-button { min-height: 50px; border-radius: 14px; }
  .product-row { border-radius: 16px; }
  .product-row::before { top: 12px; bottom: 12px; }
  .mobile-bar {
    height: auto; grid-template-columns: 1fr auto auto; padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94);
  }
  #mobileCartButton { grid-column: 1 / 2; }
  #mobileNext { min-width: 92px; }
}
