:root {
  --accent: #ff4b1f;
  --accent-dark: #d71920;
  --gold: #b88442;
  --ink: #20242a;
  --muted: #6f7782;
  --line: #e7e9ee;
  --soft: #f5f6f8;
  --panel: #ffffff;
  --nav: #2c2c2c;
  --blue: #1467b3;
  --green: #26a87b;
  --shadow: 0 10px 30px rgba(30, 40, 55, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 1120px;
  color: var(--ink);
  background: var(--soft);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 14px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: 1200px;
  margin: 0 auto;
}

.page {
  min-height: 520px;
}

.topbar {
  height: 36px;
  color: #555d68;
  background: #f1f2f4;
  border-bottom: 1px solid var(--line);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar a {
  color: #555d68;
}

.topbar a:hover,
.link:hover {
  color: var(--accent);
}

.support-menu {
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
}

.support-menu:hover .support-dropdown {
  display: grid;
}

.support-dropdown {
  position: absolute;
  top: 32px;
  right: 0;
  z-index: 30;
  display: none;
  grid-template-columns: 140px;
  gap: 2px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.support-dropdown a {
  padding: 8px 10px;
}

.site-head {
  background: #fff;
}

.site-head-inner {
  display: grid;
  grid-template-columns: 300px 1fr 210px;
  align-items: center;
  gap: 28px;
  height: 104px;
}

.logo {
  width: 260px;
  height: 78px;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr 104px;
  border: 3px solid var(--accent);
  height: 44px;
}

.search-box input {
  width: 100%;
  border: 0;
  padding: 0 14px;
  outline: none;
  color: var(--ink);
  font-size: 16px;
}

.search-box button {
  border: 0;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
  font-size: 17px;
}

.hot-words {
  display: flex;
  gap: 18px;
  padding-top: 8px;
  color: #68727f;
}

.head-promise {
  display: grid;
  gap: 6px;
  color: var(--muted);
  text-align: right;
}

.head-promise strong {
  color: var(--accent-dark);
  font-size: 20px;
}

.main-nav {
  height: 48px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 3px solid var(--accent);
}

.main-nav .container {
  display: flex;
  align-items: stretch;
  height: 48px;
}

.category-tab {
  width: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  color: #fff;
  background: var(--nav);
  font-size: 17px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  min-width: 112px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #1f2530;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.hero-wrap {
  background: linear-gradient(90deg, #0aa5e7, #27d3dc);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  gap: 0;
  min-height: 430px;
}

.hero-cats {
  z-index: 2;
  background: rgba(36, 36, 36, .96);
}

.hero-cat {
  height: 53px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: 16px;
}

.hero-cat:hover {
  background: rgba(255, 75, 31, .95);
}

.hero-stage {
  position: relative;
  overflow: hidden;
  background: #23c6dd;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .55);
}

.hero-dots button.active {
  background: #fff;
}

.hero-news {
  z-index: 2;
  margin: 14px 0;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .9);
}

.hero-news-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.hero-news h3,
.section-title h2,
.page-title h1 {
  margin: 0;
}

.news-list {
  display: grid;
  gap: 11px;
  color: #4d5967;
}

.news-list a {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hero-news-card {
  margin-top: 18px;
  padding: 16px;
  background: #c9f6ea;
  text-align: center;
}

.hero-news-card img {
  width: 100%;
  height: 142px;
  object-fit: contain;
}

.banner {
  margin: 26px auto 0;
  background: #fff;
  border: 1px solid var(--line);
}

.banner img {
  width: 100%;
}

.service-panel {
  margin: 18px auto 0;
  background: #fff;
  border: 1px solid var(--line);
}

.section {
  margin-top: 28px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.section-title h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 0 0 10px;
  font-size: 26px;
}

.section-title h2 span {
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
}

.section-title .tags {
  display: flex;
  gap: 14px;
  color: #59616d;
  font-size: 15px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: 190px auto;
  background: #fff;
  border: 1px solid var(--line);
  min-height: 322px;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.product-card:hover {
  border-color: #ffb29f;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: #fff;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 7px;
  color: #fff;
  background: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
}

.product-img .badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

.card-info {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px 14px 14px;
}

.product-name {
  min-height: 42px;
  color: #384250;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.price {
  color: #c70000;
  font-size: 22px;
  font-weight: 800;
}

.shop-name {
  color: var(--muted);
  font-size: 12px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--accent);
  color: #fff;
  background: var(--accent);
  font-weight: 700;
}

.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn.light {
  color: var(--accent);
  background: #fff;
}

.btn.light:hover {
  color: #fff;
}

.btn.gray {
  color: #394150;
  border-color: #d5dae2;
  background: #fff;
}

.btn.gray:hover {
  color: #fff;
  border-color: #5c6675;
  background: #5c6675;
}

.btn.gold {
  border-color: var(--gold);
  background: var(--gold);
}

.floor-body {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 14px;
}

.floor-side {
  position: relative;
  min-height: 550px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.floor-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floor-side .floor-copy {
  position: absolute;
  top: 28px;
  left: 24px;
  right: 24px;
  color: #fff;
  font-size: 22px;
  line-height: 1.8;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}

.floor-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.wide-material {
  margin-top: 28px;
  background: #fff;
}

.wide-material img {
  width: 100%;
}

.page-shell {
  padding: 28px 0 40px;
}

.page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.page-title h1 {
  font-size: 28px;
}

.crumb {
  margin-bottom: 18px;
  color: #637084;
}

.auth-card,
.content-card,
.checkout-card,
.detail-main,
.order-card,
.shop-card,
.install-card {
  background: #fff;
  border: 1px solid var(--line);
}

.auth-card {
  width: 520px;
  margin: 34px auto;
  padding: 30px 34px;
  box-shadow: var(--shadow);
}

.auth-card h1 {
  margin: 0 0 24px;
  font-size: 26px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: #394150;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid #d8dde6;
  padding: 9px 11px;
  outline: none;
  background: #fff;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #59616d;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
}

.help-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
}

.help-nav {
  background: #fff;
  border: 1px solid var(--line);
}

.help-nav a {
  display: block;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.help-nav a:hover {
  color: var(--accent);
  background: #fff7f4;
}

.content-card {
  padding: 26px 30px;
  line-height: 1.9;
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.content-card h3 {
  margin: 22px 0 8px;
  font-size: 18px;
}

.content-card p {
  margin: 8px 0;
}

.policy-list {
  display: grid;
  gap: 12px;
}

.policy-list li {
  margin-left: 20px;
}

.shop-list {
  display: grid;
  gap: 14px;
}

.shop-row {
  display: grid;
  grid-template-columns: 132px 1fr 210px;
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.shop-license-thumb {
  width: 132px;
  height: 90px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.shop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  color: #5d6675;
}

.shop-actions {
  display: grid;
  align-content: center;
  gap: 10px;
}

.detail-main {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 28px;
  padding: 24px;
}

.detail-gallery {
  display: grid;
  gap: 12px;
}

.detail-main-img {
  height: 430px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.detail-main-img img {
  width: 92%;
  height: 92%;
  object-fit: contain;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 76px);
  gap: 10px;
}

.thumb-row img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border: 1px solid var(--line);
  padding: 4px;
  background: #fff;
}

.detail-info h1 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.4;
}

.detail-price {
  margin: 16px 0;
  padding: 18px;
  background: #fff5f2;
  border: 1px solid #ffd5ca;
}

.detail-price .price {
  font-size: 34px;
}

.sku-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 18px;
}

.sku {
  min-width: 82px;
  padding: 8px 12px;
  border: 1px solid #cfd5df;
  background: #fff;
  text-align: center;
}

.sku.selected {
  color: var(--accent);
  border-color: var(--accent);
}

.detail-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.detail-desc {
  margin-top: 18px;
  padding: 18px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  color: #59616d;
  line-height: 1.8;
}

.detail-section {
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--line);
}

.detail-section h2 {
  margin: 0;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
}

.detail-board {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 30px;
  align-items: center;
  min-height: 360px;
  padding: 34px 52px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #fff, #f8fafc);
}

.detail-board:nth-child(odd) {
  background: linear-gradient(90deg, #f7fbff, #fff);
}

.detail-board img {
  width: 320px;
  height: 320px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}

.detail-board h3 {
  margin: 0 0 12px;
  font-size: 28px;
}

.detail-board p {
  margin: 8px 0;
  color: #59616d;
  font-size: 17px;
}

.merchant-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 18px;
}

.license-large {
  width: 100%;
  border: 1px solid var(--line);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
}

.checkout-card {
  padding: 22px;
}

.checkout-card h2 {
  margin: 0 0 18px;
}

.order-summary {
  display: grid;
  gap: 12px;
}

.summary-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  align-items: center;
}

.summary-item img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  border: 1px solid var(--line);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.payable {
  color: #c70000;
  font-size: 28px;
  font-weight: 800;
}

.order-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
}

.member-side {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
}

.member-side h3 {
  margin: 18px 0 12px;
}

.member-side a {
  display: block;
  padding: 9px 0;
  color: #586274;
}

.member-side a.active,
.member-side a:hover {
  color: var(--gold);
}

.order-list {
  display: grid;
  gap: 14px;
}

.order-card {
  padding: 0;
}

.order-head {
  display: flex;
  justify-content: space-between;
  padding: 13px 18px;
  background: #f0f2f5;
  color: #667183;
}

.order-body {
  display: grid;
  grid-template-columns: 1fr 150px 150px 190px;
  min-height: 132px;
}

.order-product {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-right: 1px solid var(--line);
}

.order-product img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border: 1px solid var(--line);
}

.order-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.order-cell:last-child {
  border-right: 0;
}

.order-detail-page {
  display: grid;
  gap: 18px;
}

.progress-panel,
.info-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px 34px;
}

.progress-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 0;
}

.progress-step {
  position: relative;
  text-align: center;
  color: #98a1af;
}

.progress-step::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 1px;
  background: #d5d9e0;
}

.progress-step:first-child::before {
  left: 50%;
}

.progress-step:last-child::before {
  right: 50%;
}

.step-dot {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #cfd5df;
  font-weight: 800;
}

.progress-step.done {
  color: var(--gold);
}

.progress-step.done .step-dot {
  background: var(--gold);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 40px;
  line-height: 1.9;
}

.logistics-timeline {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.empty {
  padding: 44px;
  color: #8b94a3;
  background: #fff;
  border: 1px dashed #cbd2dc;
  text-align: center;
}

.install-hero {
  height: 226px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(rgba(20, 28, 36, .72), rgba(20, 28, 36, .72)), url("assets/materials/install-reference.jpg") center 0 / cover no-repeat;
  text-align: center;
}

.install-hero h1 {
  margin: 0;
  font-size: 42px;
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.install-card {
  padding: 20px;
}

.install-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.map-panel {
  margin-top: 24px;
  height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.map-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.merchant-apply {
  max-width: 640px;
}

.agreement-sign {
  margin-top: 28px;
  text-align: right;
  color: #394150;
  line-height: 2;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.cart-table th,
.cart-table td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
}

.cart-table th {
  background: #f4f6f9;
}

.qty-control {
  display: inline-grid;
  grid-template-columns: 32px 48px 32px;
  border: 1px solid var(--line);
}

.qty-control button {
  border: 0;
  background: #fff;
}

.qty-control input {
  width: 48px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
}

.floating-service {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
}

.service-button {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  box-shadow: var(--shadow);
  font-weight: 800;
}

.service-window {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: 360px;
  height: 480px;
  display: none;
  grid-template-rows: 54px 1fr auto auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(20, 28, 38, .18);
}

.service-window.open {
  display: grid;
}

.service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #fff;
  background: var(--nav);
}

.service-head button {
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 22px;
}

.service-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  overflow: auto;
  background: #f7f8fa;
}

.msg {
  max-width: 82%;
  padding: 9px 11px;
  line-height: 1.55;
}

.msg.bot {
  justify-self: start;
  background: #fff;
  border: 1px solid var(--line);
}

.msg.user {
  justify-self: end;
  color: #fff;
  background: var(--accent);
}

.faq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
}

.faq-chips button {
  border: 1px solid #d5dae2;
  background: #fff;
  padding: 6px 9px;
}

.service-form {
  display: grid;
  grid-template-columns: 1fr 70px;
  border-top: 1px solid var(--line);
}

.service-form input {
  border: 0;
  padding: 0 12px;
  outline: none;
}

.service-form button {
  border: 0;
  color: #fff;
  background: var(--accent);
}

.footer-service {
  margin-top: 34px;
  background: var(--accent);
}

.footer-service img {
  width: 100%;
  height: 78px;
  object-fit: cover;
}

.footer {
  color: #8791a0;
  background: #292929;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  padding: 38px 0 28px;
}

.footer h3 {
  margin: 0 0 20px;
  color: #aeb7c5;
  font-weight: 500;
}

.footer a,
.footer p {
  display: block;
  margin: 10px 0;
}

.footer a:hover {
  color: #fff;
}

.footer-legal {
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
  line-height: 1.9;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 8px;
}

.toast {
  position: fixed;
  left: 50%;
  top: 82px;
  z-index: 120;
  min-width: 220px;
  max-width: 520px;
  transform: translateX(-50%);
  display: none;
  padding: 12px 18px;
  color: #fff;
  background: rgba(32, 36, 42, .94);
  box-shadow: var(--shadow);
  text-align: center;
}

.toast.show {
  display: block;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid #dde2ea;
  color: #59616d;
  background: #fff;
}

.status-pill {
  color: var(--gold);
  font-weight: 700;
}

.reference-img {
  width: 100%;
  border: 1px solid var(--line);
}

.small-note {
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 1120px) {
  body {
    min-width: 0;
  }

  .container {
    width: min(100% - 24px, 1200px);
  }

  .site-head-inner,
  .hero,
  .floor-body,
  .detail-main,
  .checkout-layout,
  .order-layout,
  .help-layout,
  .merchant-grid,
  .merchant-apply {
    grid-template-columns: 1fr;
  }

  .site-head-inner {
    height: auto;
    padding: 16px 0;
  }

  .head-promise {
    text-align: left;
  }

  .category-tab {
    display: none;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
  }

  .nav-links a {
    flex: 0 0 auto;
  }

  .hero-cats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stage {
    min-height: 330px;
  }

  .product-grid,
  .floor-products,
  .install-grid,
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-row,
  .order-body {
    grid-template-columns: 1fr;
  }

  .order-product,
  .order-cell {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-window {
    width: 320px;
  }
}

@media (max-width: 720px) {
  .product-grid,
  .floor-products,
  .install-grid,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .auth-card {
    width: auto;
  }

  .detail-board {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

/* 2026-08 product/license refresh */
.floor-body {
  grid-template-columns: 220px 1fr;
  gap: 12px;
  align-items: stretch;
}

.floor-side {
  min-height: 650px;
  border: 1px solid #dfe4ec;
  background: #fff;
}

.floor-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floor-side .floor-copy {
  display: none;
}

.floor-products {
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.floor-products .product-card {
  min-height: 318px;
}

.floor-products .product-card .product-img {
  height: 150px;
}

.floor-products .card-info {
  padding: 10px 10px 12px;
  gap: 6px;
}

.floor-products .product-name {
  min-height: 40px;
  font-size: 13px;
}

.floor-products .price {
  font-size: 20px;
}

.floor-products .card-actions .btn {
  min-height: 30px;
  padding: 0 8px;
  font-size: 12px;
}

.detail-main.detail-main-with-shop {
  grid-template-columns: 460px 1fr 280px;
  align-items: start;
}

.shop-visit-card {
  background: #f1f3f6;
  padding: 24px;
  min-height: 150px;
}

.shop-visit-inner {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
}

.shop-visit-logo {
  width: 92px;
  height: 76px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}

.shop-visit-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.shop-visit-card p {
  margin: 0;
  color: var(--muted);
}

.shop-visit-card .btn {
  grid-column: 2;
  width: 100px;
  min-height: 34px;
  padding: 0 12px;
}

.real-detail-images {
  display: grid;
  justify-content: center;
  gap: 0;
  padding: 24px 0 34px;
  background: #fff;
}

.real-detail-images img {
  width: min(790px, 100%);
  height: auto;
  margin: 0 auto;
}

.store-profile {
  display: grid;
  grid-template-columns: 132px 1fr 420px;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
}

.store-logo {
  width: 132px;
  height: 104px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}

.store-copy h1 {
  margin: 0 0 10px;
  font-size: 28px;
}

.store-copy p {
  margin: 0 0 10px;
  color: #5e6877;
  line-height: 1.7;
}

.store-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.store-meta span {
  padding: 4px 9px;
  color: #5e6877;
  background: #f4f6f9;
  border: 1px solid #e4e8ef;
}

.store-links {
  display: flex;
  gap: 16px;
  color: #5e6877;
}

.store-links button {
  border: 0;
  padding: 0;
  color: #5e6877;
  background: transparent;
}

.store-links a:hover,
.store-links button:hover {
  color: var(--gold);
}

.store-search {
  display: grid;
  grid-template-columns: 1fr 78px;
  height: 46px;
  border: 1px solid #d9dee7;
}

.store-search input {
  border: 0;
  padding: 0 14px;
  outline: none;
}

.store-search button {
  border: 0;
  color: var(--gold);
  background: #fff;
  font-weight: 700;
}

.store-filter {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 18px;
  padding: 18px 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.store-filter a.active,
.store-filter a:hover {
  color: var(--gold);
}

.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  background: rgba(20, 24, 30, .55);
}

.license-modal {
  width: min(860px, calc(100vw - 64px));
  max-height: calc(100vh - 70px);
  display: grid;
  grid-template-rows: 58px 1fr;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .25);
}

.license-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.license-modal-head button {
  border: 0;
  color: #788292;
  background: transparent;
  font-size: 26px;
}

.license-modal-body {
  overflow: auto;
  padding: 18px;
  background: #f6f7f9;
}

.license-modal-body img {
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid var(--line);
}

.shop-row {
  grid-template-columns: 132px 1fr 210px;
}

.shop-license-thumb {
  object-fit: contain;
  background: #fff;
}

@media (max-width: 1120px) {
  .detail-main.detail-main-with-shop,
  .store-profile {
    grid-template-columns: 1fr;
  }

  .floor-products {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* 2026-08 oil floor reference layout */
.oil-floor-layout {
  display: grid;
  grid-template-columns: 230px 340px 1fr;
  gap: 12px;
  align-items: stretch;
}

.oil-floor-panel {
  display: block;
  min-height: 410px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe4ec;
}

.oil-floor-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oil-floor-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.oil-mini-card {
  display: grid;
  grid-template-rows: 112px 44px 28px;
  gap: 6px;
  min-height: 199px;
  padding: 12px;
  color: #384250;
  text-align: center;
  background: #fff;
  border: 1px solid #dfe4ec;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.oil-mini-card:hover {
  border-color: #ffb29f;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.oil-mini-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 112px;
  background: #fff;
}

.oil-mini-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.oil-mini-img .badge {
  position: absolute;
  top: 0;
  left: 0;
}

.oil-mini-name {
  display: -webkit-box;
  overflow: hidden;
  color: #59616d;
  font-size: 16px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.oil-mini-price {
  color: #1f2937;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.oil-floor-extra {
  margin-top: 14px;
}

@media (max-width: 900px) {
  .oil-floor-layout {
    grid-template-columns: 1fr;
  }

  .oil-floor-panel {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .oil-floor-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* 2026-08 clean floor reference layout */
.clean-floor-layout {
  display: grid;
  grid-template-columns: 225px 390px 330px 1fr;
  gap: 12px;
  align-items: stretch;
}

.clean-floor-panel {
  display: block;
  min-height: 410px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe4ec;
}

.clean-floor-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clean-floor-products {
  display: grid;
  gap: 12px;
}

.clean-floor-products-left {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clean-floor-products-right {
  grid-template-columns: minmax(0, 1fr);
}

.clean-mini-card {
  display: grid;
  grid-template-rows: 112px 44px 28px;
  gap: 6px;
  min-height: 199px;
  padding: 12px;
  color: #384250;
  text-align: center;
  background: #fff;
  border: 1px solid #dfe4ec;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.clean-mini-card:hover {
  border-color: #78dcca;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.clean-mini-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 112px;
  background: #fff;
}

.clean-mini-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.clean-mini-img .badge {
  position: absolute;
  top: 0;
  left: 0;
}

.clean-mini-name {
  display: -webkit-box;
  overflow: hidden;
  color: #59616d;
  font-size: 16px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.clean-mini-price {
  color: #1f2937;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.clean-floor-extra {
  margin-top: 14px;
}

@media (max-width: 900px) {
  .clean-floor-layout {
    grid-template-columns: 1fr;
  }

  .clean-floor-panel {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .clean-floor-products-left,
  .clean-floor-products-right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* 2026-08 requested floor reorder and electric layout */
.large-floor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.large-floor-grid .product-card {
  grid-template-rows: 230px auto;
  min-height: 382px;
}

.large-floor-grid .product-img {
  height: 230px;
  padding: 18px;
}

.large-floor-grid .product-name {
  min-height: 46px;
  font-size: 15px;
}

.large-floor-grid .price {
  font-size: 24px;
}

.electric-floor-layout {
  display: grid;
  grid-template-columns: 230px 305px 1fr 315px;
  gap: 12px;
  align-items: stretch;
}

.electric-floor-panel {
  display: block;
  min-height: 430px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe4ec;
}

.electric-floor-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.electric-floor-stack,
.electric-floor-center,
.electric-floor-grid {
  display: grid;
  gap: 12px;
}

.electric-floor-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.electric-mini-card,
.electric-promo-card {
  color: #384250;
  background: #fff;
  border: 1px solid #dfe4ec;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.electric-mini-card:hover,
.electric-promo-card:hover {
  border-color: #ffb29f;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.electric-mini-card {
  display: grid;
  grid-template-rows: 124px 44px 28px;
  gap: 8px;
  min-height: 209px;
  padding: 12px;
  text-align: center;
}

.electric-mini-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 124px;
  min-width: 0;
}

.electric-mini-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.electric-mini-img .badge {
  position: absolute;
  top: 0;
  left: 0;
}

.electric-mini-name {
  display: -webkit-box;
  overflow: hidden;
  color: #667183;
  font-size: 16px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.electric-mini-price {
  color: #1f2937;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.electric-promo-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 220px;
  min-height: 209px;
  padding: 28px 26px;
  overflow: hidden;
  background: #f5f5f3;
}

.electric-promo-card img {
  align-self: center;
  justify-self: end;
  max-width: 220px;
  max-height: 150px;
  object-fit: contain;
}

.electric-promo-copy {
  display: grid;
  align-content: start;
  gap: 10px;
}

.electric-promo-copy strong {
  color: #1f2937;
  font-size: 24px;
  line-height: 1.3;
}

.electric-promo-copy em {
  color: #8a93a1;
  font-style: normal;
  font-size: 16px;
}

.electric-promo-copy b {
  color: #1f2937;
  font-size: 22px;
}

.electric-promo-copy span {
  width: 104px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--accent);
  border-radius: 5px;
  font-weight: 700;
}

.electric-wide-card {
  grid-template-columns: 1fr;
}

.electric-wide-card .electric-mini-img {
  height: 124px;
}

.electric-floor-extra {
  margin-top: 14px;
}

@media (max-width: 900px) {
  .large-floor-grid,
  .electric-floor-layout,
  .electric-floor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .electric-floor-panel,
  .electric-promo-card {
    min-height: 0;
  }

  .electric-floor-panel {
    aspect-ratio: 3 / 2;
  }

  .electric-promo-card {
    grid-template-columns: 1fr;
  }
}
/* 2026-08 compact 4F electric floor */
.electric-floor-layout {
  grid-template-columns: 230px 300px 1fr 300px;
}

.electric-floor-panel {
  min-height: 380px;
}

.electric-mini-card {
  grid-template-rows: 96px 28px 24px;
  min-height: 184px;
  padding: 10px;
  gap: 6px;
}

.electric-mini-img,
.electric-wide-card .electric-mini-img {
  height: 96px;
}

.electric-mini-name {
  min-height: 20px;
  font-size: 14px;
  line-height: 1.35;
  -webkit-line-clamp: 1;
}

.electric-mini-price {
  font-size: 20px;
}

.electric-promo-card {
  grid-template-columns: 1fr 176px;
  min-height: 184px;
  padding: 20px 22px;
}

.electric-promo-card img {
  max-width: 176px;
  max-height: 118px;
}

.electric-promo-copy {
  gap: 7px;
}

.electric-promo-copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 22px;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.electric-promo-copy em {
  font-size: 14px;
}

.electric-promo-copy b {
  font-size: 20px;
}

.electric-promo-copy span {
  min-height: 34px;
}
/* 2026-08 m02 parts hotzone banner */
.m02-hotzone-banner {
  position: relative;
  display: block;
  margin-bottom: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe4ec;
}

.m02-hotzone-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.m02-hotzone-banner a {
  position: absolute;
  z-index: 2;
  display: block;
  border-radius: 4px;
  outline: 0 solid rgba(199, 0, 0, 0);
  transition: outline-color .15s ease, background .15s ease;
}

.m02-hotzone-banner a:hover {
  background: rgba(255, 255, 255, .08);
  outline: 2px solid rgba(199, 0, 0, .32);
}

.m02-hotzone-shop {
  left: 4.1%;
  top: 8%;
  width: 16.2%;
  height: 83%;
}
/* 2026-08 install map cleanup */
.map-only-panel {
  height: auto;
}

.map-only-panel img {
  height: auto;
  object-fit: contain;
  object-position: center center;
}