:root {
  --brand: #bd0b1d;
  --brand-dark: #960715;
  --ink: #333;
  --muted: #777;
  --line: #e8e8e8;
  --soft: #f5f5f5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, "Microsoft YaHei", sans-serif; color: var(--ink); background: #fff; padding-bottom: 0; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1140px, calc(100% - 30px)); margin: 0 auto; }
.top-menu { height: 36px; background: #f7f7f7; color: #797878; font-size: 14px; }
.top-row { height: 36px; display: flex; align-items: center; gap: 36px; overflow: hidden; white-space: nowrap; }
.top-row p { margin: 0; }
.top-row p:first-child { display: none; }
.top-row a:hover, .user-links a:hover { color: var(--brand); }
.user-links { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.site-header { background: #fff; }
.header-row { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { width: 350px; min-height: 56px; display: flex; align-items: center; gap: 14px; padding: 7px 18px; background: linear-gradient(90deg, #f4f4f4, #d4d7da 52%, #fbfbfb); overflow: hidden; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #7e858b; color: #fff; font-size: 17px; font-weight: 700; font-style: italic; }
.brand-name { min-width: 0; }
.brand-name strong { display: block; color: #242424; font-size: 21px; line-height: 1.1; letter-spacing: 0; }
.brand-name em { display: block; margin-top: 4px; color: #555; font-size: 12px; font-style: normal; }
.search { width: 360px; height: 40px; display: flex; align-items: center; border: 1px solid var(--brand); border-radius: 22px; background: #f7f7f7; overflow: hidden; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; padding: 0 16px; background: transparent; color: #666; font-size: 13px; }
.search button { width: 60px; height: 100%; border: 0; background: transparent; color: #31363c; font-size: 0; cursor: pointer; }
.search button::before { content: "⌕"; font-size: 26px; font-weight: 700; line-height: 1; }
.search button:hover { color: var(--brand); }
.main-nav { background: var(--brand); color: #fff; }
.main-nav .wrap { height: 58px; display: flex; align-items: center; }
.mobile-menu { display: none; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.main-nav ul { height: 100%; margin: 0; padding: 0; list-style: none; display: flex; }
.main-nav li { position: relative; }
.main-nav > .wrap > ul > li > a { height: 58px; display: flex; align-items: center; padding: 0 34px; font-size: 16px; font-weight: 700; white-space: nowrap; }
.main-nav li:hover > a { background: var(--brand-dark); }
.main-nav li ul { display: none; position: absolute; top: 58px; left: 0; z-index: 10; min-width: 150px; height: auto; padding: 0; background: #fff; color: #333; box-shadow: 0 8px 20px rgba(0,0,0,.16); }
.main-nav li:hover ul { display: block; }
.main-nav li ul a { display: block; padding: 11px 16px; border-bottom: 1px solid #eee; white-space: nowrap; }
.main-nav li ul a:hover { color: var(--brand); background: #f8f8f8; }
.flash { background: #d6e8f7; overflow: hidden; }
.slider { position: relative; height: 500px; overflow: hidden; }
.slide { position: absolute; inset: 0; height: 500px; background: linear-gradient(180deg, #cde4f7, #e9f5fd); overflow: hidden; opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide-inner { position: relative; height: 100%; }
.slide-copy { position: absolute; z-index: 2; left: 0; right: 0; top: 28px; text-align: center; color: #fff; text-shadow: 0 2px 4px rgba(30,70,110,.25); }
.slide-copy p { margin: 0; font-size: 0; }
.slide-copy h1 { margin: 0; font-size: 54px; line-height: 1.15; font-weight: 700; letter-spacing: 0; }
.slide-copy span { display: block; margin-top: 14px; font-size: 24px; letter-spacing: 3px; }
.slide-inner > img { position: absolute; left: 50%; bottom: -10px; width: min(1020px, 100vw); max-width: none; display: block; transform: translateX(-50%); }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 4; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 28px; height: 4px; border: 0; border-radius: 0; background: rgba(255,255,255,.6); cursor: pointer; }
.slider-dots button.is-active { background: var(--brand); }
.product-box { padding: 42px 0 30px; background: #f5f5f5; }
.title-h2 { margin: 0 0 24px; color: var(--brand); font-size: 22px; font-weight: 700; text-align: left; }
.title-h2::after { content: ""; display: block; width: 42px; height: 2px; margin-top: 9px; background: var(--brand); }
.product-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.product-card { min-width: 0; padding-bottom: 16px; background: #fff; border: 1px solid #eee; }
.product-img { height: 255px; display: block; overflow: hidden; background: #fff; }
.product-img img { width: 100%; height: 100%; display: block; object-fit: contain; transition: opacity .2s ease, transform .2s ease; }
.product-card:hover .product-img img { opacity: .86; transform: scale(1.02); }
.product-category { margin: 12px 12px 0; color: var(--brand); font-size: 13px; font-weight: 700; text-align: center; }
.product-title { margin: 6px 12px 5px; height: 24px; line-height: 24px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-title a { color: #060606; font-size: 16px; font-weight: 700; }
.product-title a:hover { color: var(--brand); }
.product-price { margin: 5px 0 6px; height: 24px; line-height: 24px; color: #333; text-align: center; }
.product-price span { color: #f00; font-size: 18px; font-weight: 700; }
.product-desc { margin: 0 14px; height: 44px; color: #858585; font-size: 14px; line-height: 22px; text-align: center; overflow: hidden; }
.buy-form { margin: 14px 14px 0; }
.buy-form button { width: 100%; height: 38px; border: 0; border-radius: 4px; background: var(--brand); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.buy-form button:hover { background: var(--brand-dark); }
.aboutus { min-height: 430px; padding: 44px 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 44px; align-items: stretch; }
.about-image { min-height: 330px; display: grid; place-items: center; padding: 30px; background: linear-gradient(135deg, #eef3f7, #ffffff 44%, #e7ece5); background-size: cover; background-position: center; color: #46525b; font-size: 28px; font-weight: 700; border: 1px solid #e3e9ed; text-align: center; overflow: hidden; }
.about-image span { padding: 12px 18px; background: rgba(255,255,255,.76); }
.about-content { padding: 8px 0; }
.about-content h2 { margin: 0; color: var(--brand); font-size: 22px; line-height: 40px; font-weight: 700; }
.about-content h3 { margin: 4px 0 16px; color: #333; font-size: 18px; }
.about-content p { margin: 0 0 14px; color: #858585; font-size: 16px; line-height: 32px; }
.about-content .culture { color: #555; }
.view-all { display: inline-block; margin-top: 12px; padding: 7px 18px; border-radius: 24px; background: var(--brand); color: #fff; font-size: 15px; font-weight: 700; }
.section { padding: 40px 0; background: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-item { min-height: 150px; display: grid; place-items: center; background: #f2f2f2; background-size: cover; background-position: center; border: 1px solid #e6e6e6; color: #555; font-size: 20px; font-weight: 700; }
.gallery-item span { display: inline-flex; align-items: center; justify-content: center; width: 78%; min-height: 54px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.8); }
.tone-1 { background: #eef2f7; }
.tone-2 { background: #fff5e8; }
.tone-3 { background: #eef3ea; }
.news-section { background: #f8f8f8; }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.news-item { padding: 18px 20px; background: #fff; border: 1px solid #eee; }
.news-item time { color: var(--brand); font-weight: 700; }
.news-item h3 { margin: 10px 0; font-size: 18px; }
.news-item p { margin: 0; color: #666; line-height: 1.8; }
.search-results { background: #fff; border-bottom: 1px solid #eee; }
.result-summary { margin: -8px 0 18px; color: #666; }
.result-list { display: grid; gap: 10px; margin-bottom: 12px; }
.result-list a { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid #eee; background: #fafafa; }
.result-list a:hover { border-color: var(--brand); }
.result-list strong { color: #333; }
.result-list span, .empty-result { color: #666; line-height: 1.7; }
.link-box { border-top: 1px solid #eee; border-bottom: 1px solid #eee; background: #fafafa; }
.link-box .wrap { min-height: 46px; display: flex; align-items: center; gap: 18px; }
.link-box span { color: var(--brand); font-weight: 700; }
.link-box div { display: flex; flex-wrap: wrap; gap: 16px; color: #666; }
.contact { padding: 34px 0; background: #333; color: #ddd; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact h2 { margin: 0 0 12px; color: #fff; }
.contact p { margin: 0; color: #ccc; line-height: 1.8; }
.contact ul { margin: 0; padding: 0; list-style: none; line-height: 2; }
footer { padding: 18px 0; background: #222; color: #aaa; text-align: center; font-size: 13px; }
.footer-nav { display: none; }
.pay-message { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #f5f6f7; }
.pay-message section { width: min(520px, 100%); padding: 34px; background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; text-align: center; }
.pay-message h1 { margin: 0 0 14px; font-size: 24px; color: #333; }
.pay-message p { margin: 0 0 22px; color: #666; line-height: 1.8; }
.pay-message a { display: inline-block; padding: 10px 22px; border-radius: 4px; background: var(--brand); color: #fff; }
@media (max-width: 991px) {
  body { padding-bottom: 51px; }
  .wrap { width: calc(100% - 30px); }
  .top-menu, .top-row { height: 36px; }
  .top-row { gap: 14px; }
  .top-row p:nth-child(2) { display: none; }
  .top-row p { font-size: 14px; }
  .user-links { display: flex; margin-left: auto; font-size: 14px; }
  .site-header { padding: 16px 0 10px; }
  .header-row { min-height: 0; display: block; }
  .brand { width: 280px; max-width: 100%; min-height: 39px; margin: 0 auto 10px; padding: 5px 14px; }
  .brand-mark { width: 30px; height: 30px; font-size: 13px; }
  .brand-name strong { font-size: 16px; }
  .brand-name em { display: none; }
  .search { display: none; }
  .main-nav .wrap { position: relative; width: 100%; min-height: 50px; height: auto; display: flex; flex-wrap: wrap; justify-content: space-between; padding: 0 15px; }
  .mobile-menu { display: flex; align-items: center; width: 100%; font-size: 18px; font-weight: 700; }
  .mobile-menu::after { content: "⌕  ☰"; margin-left: auto; font-size: 25px; letter-spacing: 12px; }
  .main-nav ul { display: none; width: calc(100% + 30px); height: auto; margin: 0 -15px; background: #fff; color: #333; border-bottom: 1px solid #e5e5e5; }
  .main-nav ul.is-open { display: block; }
  .main-nav li { border-top: 1px solid #eee; }
  .main-nav > .wrap > ul > li > a { height: 44px; padding: 0 15px; color: #333; font-size: 15px; }
  .main-nav li:hover > a { background: #f7f7f7; color: var(--brand); }
  .main-nav li ul { display: block; position: static; min-width: 0; box-shadow: none; background: #fafafa; }
  .main-nav li ul a { padding: 9px 28px; font-size: 14px; color: #666; }
  .slider, .slide { height: 220px; }
  .slide-copy { top: 14px; padding: 0 14px; }
  .slide-copy h1 { font-size: 24px; }
  .slide-copy span { margin-top: 6px; font-size: 12px; letter-spacing: 1px; }
  .slide-inner > img { width: 470px; }
  .product-box { padding: 22px 0 28px; }
  .title-h2 { margin-bottom: 18px; font-size: 18px; }
  .product-list { grid-template-columns: 1fr; gap: 18px; }
  .product-card { border: 0; background: transparent; }
  .product-img { height: 330px; background: #fff; }
  .product-category { margin-top: 10px; }
  .product-title { min-height: 0; margin: 6px 0 0; font-size: 16px; }
  .product-price, .product-desc { display: none; }
  .buy-form { margin: 12px 0 0; }
  .about-grid, .news-grid, .footer-grid { grid-template-columns: 1fr; }
  .aboutus { padding: 30px 0; }
  .about-image { min-height: 170px; }
  .about-content p { font-size: 15px; line-height: 29px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item { min-height: 118px; }
  .footer-nav { position: fixed; left: 0; right: 0; bottom: 0; height: 51px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid #ddd; z-index: 20; }
  .footer-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #3b7ec5; font-size: 12px; }
  .footer-nav i { font-style: normal; color: var(--brand); font-size: 16px; line-height: 1; }
}
