@charset "utf-8";

:root {
  --primary: brown;
  --primary-dark: #7a1f1f;
  --primary-light: #bc4a35;
  --primary-soft: rgba(165, 42, 42, .1);
  --accent: #FFBF00;
  --orange: #f87700;
  --green: #479015;
  --ink: #2e2724;
  --muted: #766a65;
  --line: #eadbd4;
  --paper: #fff;
  --warm: #fff8f2;
  --surface: rgba(255, 255, 255, .86);
  --shadow: 0 14px 38px rgba(88, 39, 27, .12);
  --shadow-sm: 0 8px 22px rgba(88, 39, 27, .08);
  --radius: 8px;
  --container: 1100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-size: 15px;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.78;
  background:
    linear-gradient(180deg, #fff8f2 0%, #f8f0eb 42%, #f2f2f2 100%);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

ul {
  list-style-type: none;
}

img {
  max-width: 100%;
  border: 0;
  vertical-align: middle;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease,
    transform .18s ease;
}

a:hover {
  color: var(--primary);
  text-decoration: none;
}

.content-wrap {
  min-height: calc(100vh - 120px);
}

.content-inside {
  padding-bottom: 38px;
}

.topbar {
  display: none;
  min-height: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.top_con {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  line-height: 32px;
  background: var(--paper);
}

.top_con p {
  padding-left: 10px;
}

.header {
  padding-top: 18px;
}

.logo_search {
  width: min(var(--container), calc(100% - 32px));
  min-height: 104px;
  height: auto;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  width: auto;
  float: none;
  padding: 0;
}

.logo span {
  display: inline-block;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--primary);
}

.logo span::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.tel {
  display: none;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 20px;
  font-weight: bold;
}

.search_box {
  display: none;
  width: min(400px, 100%);
  float: none;
  margin: 0;
  overflow: hidden;
  line-height: 28px;
  position: relative;
}

.btn {
  width: 100px;
  height: 32px;
  display: block;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  background: linear-gradient(135deg, var(--orange), var(--accent));
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  position: absolute;
  right: 0;
  top: 0;
}

.srh_in {
  width: 100%;
  height: 32px;
  padding: 0 112px 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
}

.nav {
  width: min(var(--container), calc(100% - 32px));
  min-height: 52px;
  height: auto;
  clear: both;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 58%, var(--primary-light));
  box-shadow: var(--shadow-sm);
}

.menu {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.nav li {
  flex: 1 1 120px;
  float: none;
  line-height: 1;
  font-size: 15px;
  margin: 0;
  text-align: center;
}

.nav li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  height: auto;
  padding: 12px 10px;
  color: #fff;
  font-weight: 600;
}

.nav-toggle {
  display: none;
}

.nav li a:hover {
  color: #fff;
  background: rgba(255, 191, 0, .18);
}

.main,
.main_c,
.p_main,
.a_con,
.mbx,
.main_title,
.products_list,
.pro_allinfo,
.p_con {
  width: min(var(--container), calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.main {
  background: transparent;
}

.hot_key {
  width: min(var(--container), calc(100% - 32px));
  min-height: 42px;
  height: auto;
  margin: 10px auto 0;
  border: 1px solid rgba(165, 42, 42, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 6px 18px rgba(88, 39, 27, .06);
}

.hot_key p {
  line-height: 42px;
  padding: 0 18px;
  color: var(--muted);
}

.hot_key strong {
  color: var(--primary);
}

.pic {
  width: 100%;
  height: 360px;
  margin: 0 auto;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--warm);
  box-shadow: var(--shadow);
}

.pic ul,
.pic li,
.pic a {
  height: 100%;
}

.pic img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.ad_focus {
  height: auto;
  margin-top: 18px;
  margin-bottom: 18px;
}

.t_num {
  font-size: 14px;
  color: var(--orange);
  padding-top: 25px;
}

.ad_num {
  height: 39px;
  background: linear-gradient(90deg, transparent, rgba(165, 42, 42, .12), transparent);
}

.ad_num p {
  text-align: right;
  padding-right: 30px;
  line-height: 30px;
  font-size: 14px;
}

.main_c,
.p_main {
  margin-top: 18px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  overflow: visible;
}

.p_left {
  flex: 0 0 260px;
  width: auto;
  float: none;
  overflow: visible;
}

.p_right,
.p_class {
  flex: 1 1 auto;
  width: auto;
  float: none;
  overflow: visible;
}

.p_main.p_class {
  display: block;
  float: none !important;
  margin-top: 16px;
}

.contact_box,
.news,
.s_type,
.hlp_con,
.news_con,
.h_con,
.p_con,
.p_class {
  border: 1px solid rgba(165, 42, 42, .12);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.p_class {
  padding-bottom: 0;
}

.p_class .ul1 {
  clear: both;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  padding: 18px;
}

.p_class .ul1 li {
  width: auto;
  text-align: center;
}

.p_class .ul1 li .box {
  min-height: 100%;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(165, 42, 42, .1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 20px rgba(88, 39, 27, .07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.p_class .ul1 li .box:hover {
  transform: translateY(-3px);
  border-color: rgba(165, 42, 42, .26);
  box-shadow: 0 14px 28px rgba(88, 39, 27, .12);
}

.p_class .ul1 li .box img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 6px;
  background: var(--warm);
}

.desc,
.pro_name {
  margin-top: 10px;
  font-weight: 700;
  color: var(--ink);
  word-break: break-word;
}

.p1 {
  width: 100%;
  float: none;
  border-bottom: 2px solid var(--primary);
}

.p1 h2,
.p3 h2,
.p_left h2,
.news .p2 {
  min-height: 38px;
  height: auto;
  width: auto;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 15px;
  line-height: 38px;
  font-weight: 700;
}

.news .p2 {
  display: flex;
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
}

.p_left h2 {
  display: flex;
  justify-content: center;
  text-align: center;
}

.p_color {
  width: 100px;
  margin-right: 10px;
  color: #00573d;
  text-align: center;
  background: rgba(71, 144, 21, .1);
}

.news {
  margin-top: 18px;
  background: var(--surface);
}

.contact_box {
  overflow: hidden;
}

.con_text,
.newslist {
  padding: 14px 16px;
  border: 0;
  background: transparent;
  line-height: 1.8;
  font-size: 14px;
  color: var(--muted);
}

.newslist {
  border-top: 1px solid rgba(165, 42, 42, .1);
}

.newslist li,
.news_con li,
.hlp_con li {
  position: relative;
  padding: 8px 0 8px 16px;
  line-height: 1.7;
  border-bottom: 1px solid rgba(165, 42, 42, .08);
}

.newslist li:last-child,
.news_con li:last-child,
.hlp_con li:last-child {
  border-bottom: 0;
}

.newslist li {
  background: none;
}

.newslist li::before,
.news_con li::before,
.hlp_con li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.main_title {
  overflow: hidden;
  border-bottom: 2px solid var(--primary);
  min-height: 42px;
  height: auto;
  line-height: 42px;
}

.title_t {
  width: auto;
  float: left;
}

.title_t h2 {
  font-size: 15px;
  padding-left: 10px;
  font-weight: 700;
}

.more {
  float: right;
  width: auto;
  max-width: 60%;
  text-align: right;
}

.more p {
  padding-right: 10px;
}

.products_list {
  padding: 16px 0;
  overflow: visible;
}

.products_list ul,
.pro_list ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 16px;
}

.products_list li,
.pro_list li {
  width: auto;
  min-height: 260px;
  height: auto;
  float: none;
  display: block;
  margin: 0;
  padding: 12px;
  text-align: center;
  border: 1px solid rgba(165, 42, 42, .1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 20px rgba(88, 39, 27, .07);
}

.products_list li img {
  width: 170px;
  height: 200px;
  margin-top: 0;
  object-fit: contain;
  border-radius: 6px;
}

.pro_info {
  line-height: 1.6;
  overflow: hidden;
  margin-top: 5px;
}

.pro_value span {
  color: #F00;
  font-size: 14px;
}

.pro_value del {
  color: #A2A2A2;
}

.footer_service {
  clear: both;
  overflow: hidden;
  margin-top: 0;
  padding: 24px 16px;
  border-top: 1px solid rgba(255, 255, 255, .7);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: rgba(255, 255, 255, .82);
}

.footer_service a {
  color: #fff;
}

.s_list {
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding-bottom: 25px;
  overflow: hidden;
  display: none;
}

.s_list li {
  float: left;
  width: 193px;
  display: inline;
}

.s_list li h3 {
  font-size: 12px;
  text-align: center;
  line-height: 30px;
}

.s_list li ul {
  display: block;
  overflow: hidden;
  border-right: 1px dashed rgba(255, 255, 255, .55);
}

.s_list li ul li {
  text-align: center;
}

.other {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 0;
  clear: both;
  text-align: center;
  line-height: 1.9;
}

.mbx {
  margin-top: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(165, 42, 42, .1);
}

.mbx p {
  min-height: 40px;
  height: auto;
  line-height: 1.7;
  padding: 9px 16px;
  color: var(--muted);
}

.s_type {
  padding: 12px 14px;
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: none;
}

.r_header {
  overflow: hidden;
  border: 1px solid rgba(165, 42, 42, .12);
  border-radius: var(--radius);
  background: var(--surface);
}

.r_ul {
  clear: both;
  overflow: hidden;
  margin-bottom: 1px;
  border-bottom: 1px solid rgba(165, 42, 42, .1);
}

.r_header li {
  float: left;
  padding-left: 10px;
  padding-right: 10px;
  line-height: 32px;
}

.r1 {
  width: 120px;
  font-weight: bold;
  text-align: center;
  background: rgba(165, 42, 42, .08);
}

.r2 a {
  color: #E41F64;
}

.c_bar {
  min-height: 34px;
  height: auto;
  line-height: 32px;
  margin-top: 20px;
  border-bottom: 2px solid var(--primary);
}

.c_bar li {
  float: left;
  width: 100px;
  margin-left: 15px;
  text-align: center;
  border-radius: var(--radius) var(--radius) 0 0;
}

.c_img,
.c_list {
  padding-left: 10px;
  color: #fff;
  background: var(--primary) url(../images/icon_03.png) no-repeat 5px 6px;
}

.c_list {
  padding-left: 15px;
  background-position: 5px -20px;
}

.c_box1,
.c_box2 {
  border: 1px solid var(--primary);
  background: #fff url(../images/icon_03.png) no-repeat 5px -46px;
}

.c_box2 {
  background-position: 5px -68px;
}

.pro_list {
  overflow: visible;
  margin-bottom: 5px;
  border: 1px solid rgba(165, 42, 42, .12);
  border-radius: var(--radius);
  background: var(--surface);
}

.a_con {
  margin-top: 18px !important;
  overflow: hidden;
  border: 1px solid rgba(165, 42, 42, .12) !important;
  border-radius: var(--radius);
  background: var(--surface) !important;
  box-shadow: var(--shadow-sm);
}

.a_con > div {
  width: auto !important;
  max-width: 760px;
  padding: 34px 22px !important;
  margin: 0 auto !important;
}

.hlp_con,
.news_con {
  padding: 16px;
}

.time {
  float: right;
  color: var(--muted);
}

.news_nav {
  text-align: center;
  line-height: 1.8;
}

.p_con {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-top: 18px;
  padding: 24px;
  overflow: visible;
}

.p_con > block {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  width: 100%;
}

.pro_b_img {
  flex: 0 0 420px;
  width: auto;
  float: none;
  padding: 0;
  text-align: center;
}

.p_thumb {
  overflow: hidden;
  margin-top: 14px;
  color: var(--muted);
}

.pro_b_img img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--warm);
  box-shadow: inset 0 0 0 1px rgba(165, 42, 42, .1);
}

.pro_info2 {
  float: none;
  width: auto;
}

.pro_value2 span {
  font-size: 14px;
  font-weight: bold;
  color: #f00;
}

.color1 {
  color: #2F8200;
}

.pro_order {
  flex: 1 1 auto;
  width: auto;
  float: none;
  padding: 0;
  line-height: 1.8;
}

.p_Name {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(165, 42, 42, .12);
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
  line-height: 1.35;
}

a.btn_fast,
a.btn_add {
  display: block;
  width: 130px;
  min-height: 38px;
  border-radius: var(--radius);
  line-height: 38px;
  color: #fff;
  font-size: 15px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
}

a.btn_fast {
  float: left;
  background: linear-gradient(135deg, var(--green), #66aa28);
}

a.btn_add {
  float: right;
  cursor: pointer;
  background: linear-gradient(135deg, var(--orange), var(--accent));
}

.order_btn {
  width: 300px;
  overflow: hidden;
  margin: 14px auto 0;
}

.p3 {
  overflow: hidden;
  margin-top: 10px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.pro_d {
  line-height: 1.7;
}

.mF_sd_tab ul.title {
  min-height: 38px;
  height: auto;
  padding-left: 0;
  line-height: 36px;
  border-bottom: 2px solid var(--primary);
}

.mF_sd_tab ul.title li {
  float: left;
  width: 110px;
  min-height: 36px;
  height: auto;
  display: inline;
  margin-right: 6px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  cursor: pointer;
  text-align: center;
  font-size: 14px;
  background: #fff;
}

.mF_sd_tab ul.title li.current {
  background: var(--primary);
  color: var(--accent);
}

.mF_sd_tab ul.content li {
  display: none;
  padding: 20px;
  border: 1px solid rgba(165, 42, 42, .12);
  border-radius: 0 0 var(--radius) var(--radius);
  background: #fff;
}

.h_con,
.news_con {
  border: 1px solid rgba(165, 42, 42, .12);
  background: var(--surface);
}

.h_con h4,
.news_con h4 {
  width: min(700px, 100%);
  margin: 0 auto 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  font-size: 18px;
  text-align: center;
  line-height: 1.5;
}

.h_ls,
.news_ls {
  width: min(700px, 100%);
  margin: 0 auto;
  padding-top: 10px;
  padding-bottom: 18px;
  line-height: 1.8;
  word-break: break-word;
}

.news_ls img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.ds {
  height: 50px;
  text-align: center;
  line-height: 50px;
}

.h_ls table {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
}

.mbox_remind {
  width: 320px;
  padding: 20px;
  text-align: center;
}

.mbox_win {
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: 3px;
  background-color: #ebebeb;
  box-shadow: 0 0 5px rgba(0, 0, 0, .7);
}

@media (max-width: 900px) {
  .logo_search {
    min-height: 86px;
  }

  .main_c,
  .p_main,
  .p_con {
    flex-direction: column;
  }

  .p_left,
  .p_right,
  .p_class,
  .pro_b_img,
  .pro_order {
    width: 100%;
    flex-basis: auto;
  }

  .p_con {
    display: block;
  }

  .p_con > block {
    display: block;
  }

  .pro_order {
    margin-top: 18px;
  }

  .pic {
    height: 310px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
    line-height: 1.72;
  }

  .content-inside {
    padding-bottom: 24px;
  }

  .header {
    padding-top: 12px;
  }

  .logo_search,
  .nav,
  .hot_key,
  .main,
  .main_c,
  .p_main,
  .a_con,
  .mbx,
  .main_title,
  .products_list,
  .pro_allinfo,
  .p_con {
    width: calc(100% - 24px);
  }

  .logo_search {
    justify-content: space-between;
    min-height: 78px;
    text-align: center;
    position: relative;
  }

  .logo span {
    font-size: 26px;
  }

  .logo span::after {
    margin-left: auto;
    margin-right: auto;
  }

  /* Show hamburger button, hide desktop nav on mobile */
  .nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    color: var(--primary);
    font-size: 24px;
    cursor: pointer;
    border: 1px solid rgba(165,42,42,0.2);
    outline: none;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    flex-shrink: 0;
  }
  .nav-toggle:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
  }

  .hot_key p {
    line-height: 1.6;
    padding: 10px 14px;
  }

  .pic {
    height: auto;
    aspect-ratio: 2 / 1;
  }

  .main_c,
  .p_main {
    gap: 16px;
    margin-top: 14px;
  }

  .p_class .ul1,
  .products_list ul,
  .pro_list ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 12px;
  }

  .p_class .ul1 li .box,
  .products_list li,
  .pro_list li {
    padding: 9px;
  }

  .p1 h2,
  .p3 h2,
  .p_left h2,
  .news .p2 {
    width: 100%;
    justify-content: center;
  }

  .time {
    display: block;
    float: none;
    margin-bottom: 2px;
  }

  .c_bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 0;
  }

  .c_bar li {
    flex: 1 1 120px;
    width: auto;
    margin-left: 0;
    border-radius: var(--radius);
  }

  .p_con {
    padding: 14px;
  }

  .p_Name {
    font-size: 20px;
  }

  .order_btn {
    width: 100%;
    display: flex;
    gap: 10px;
  }

  a.btn_fast,
  a.btn_add {
    flex: 1 1 0;
    width: auto;
    float: none;
  }

  .footer_service {
    padding: 20px 12px;
  }
}

@media (max-width: 420px) {
  .logo span {
    font-size: 23px;
  }

  .pic {
    aspect-ratio: 16 / 10;
  }

  .a_con > div {
    padding: 24px 16px !important;
  }
}

/* ===== Mobile side panel menu (from suowei.html) ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-dark), var(--primary));
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px 20px;
  box-shadow: -10px 0 40px rgba(0,0,0,0.2);
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 28px;
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-close:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.mobile-menu-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-nav li a {
  display: block;
  padding: 14px 16px;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mobile-menu-nav li a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.mobile-menu-nav li a.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-overlay.show {
  opacity: 1;
  pointer-events: all;
}


