@charset "utf-8";

/* =====================================================
   1. BASE / RESET
===================================================== */
:root{
--container-width:1100px;    
--main-color:#2093d1;
--text-color:#666;
--border-color:#ddd;
--light-bg:#f4f4f4;
--hover-red:#c00;
--radius:6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color:var(--text-color);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  letter-spacing: 0.1px;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

a:hover {
  color:var(--hover-red);
}


/* =====================================================
   2. CONTAINER & LAYOUT: Three columns
===================================================== */
.container {
  max-width:var(--container-width);
  margin: 0 auto;
  padding:0 15px;
  width:100%;
}

.layout {
  display: flex;
  flex-wrap: nowrap;
  gap:20px;
}

.sidebar-left,
.sidebar-right { 
  flex: 0 0 180px;
}

.content {
  flex: 1;
  min-width: 0;
}


/* ===========================
   3. Header & Banner
=========================== */
.site-header {
  text-align: center;
}

.banner-wrapper {
  text-align: center;
  padding: 10px 0;  
}

.banner-img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

/* ===========================
   4. Navigation
=========================== */
.main-nav{
  background:#ddd;
  font-size:14px;
  font-weight:bold;
  margin-bottom:20px;
  background:#d3dd3;
  border-bottom:1px solid #ddd;
  border-radius: 0 3px 3px 3px;
}

.nav-wrapper {
  max-width:var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap:20px;
  position: relative;
  padding: 0 15px;
}

.nav-title {
  width: 181px;
  background:#888;
  border-radius: 3px;
  font-size: 17px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  margin: 0;
  color: #fff;
  padding: 0 8px;
}

.nav-list{
display:flex;
gap:20px;
}


.nav-list li {
  position: relative;
}

.nav-list a {
  display: block;
  padding: 12px 8px;
}

.nav-list a:hover {
  font-weight: bold;
  background:var(--main-color);
  color: #fff;
}

/* Nav toggle for mobile */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: #2093d1;
  border: none;
  border-radius: 5px;
  font-size: 26px;
  color: #666;
  cursor: pointer;
  position: fixed;
  top: 20px;               
  right: 20px;
  z-index: 100;
  flex-direction: column;
  justify-content: center;
  align-items: center;
   transform: translateY(30%);
  padding: 0;
}

.nav-toggle span {
  display: block;      
  width: 22px;         
  height: 2px;         
  background: #fff;    
  margin: 3px 0;       
}

/* ===========================
   5. Breadcrumb
=========================== */
.breadcrumb {
  font-size: 13px;
  margin-bottom: 15px;
}

.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 3px;
}

.breadcrumb li + li::before {
  content: " > "; 
  padding: 0 5px;
}

.breadcrumb a {
  color:var(--main-color);
}

.breadcrumb a:hover {
  text-decoration: underline;
}


/* ===========================
   6. SIDEBAR: Left Nav
=========================== */
.left-nav {
  width: 100%;
  background-color: #ffffff;
}

.left-nav nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.left-nav nav li {
  height: 26px;
  width: 181px;
  background:#f4f4f4;
  border-bottom:1px solid #ddd;
  border-radius: 0 6px 6px 6px;
}

.left-nav nav li a {
  display: block;
  height: 100%;
  line-height: 26px;
  padding-left: 15px;
}

.left-nav nav li:hover a {
  color:#ff0000;
}

.sidebar-toggle {
  display: none;
  background: #f4f4f4;
  border: none;
  font-size: 16px;
  padding: 5px 10px;
  width: 181px;
  text-align: left;
  cursor: pointer;
}

/* ===========================
   7. Product Content
=========================== */
/* shared image style */
.img-responsive,
.product-inner img,
.product-cover img,
.aside-recommend img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* left right product img */
.product-cover img {
  max-height: 300px;
}

.product-inner img {
  max-height: 200px;
}

.aside-recommend img {
  width: 100%;
  max-width: 150px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Product Details */

.product-title {
  font-size: 26px;
  font-weight: bold;
  color:#666;
  margin: 10px 0 20px 0;
  line-height: 1;
}

.product-model-title{
  display:inline-block;
  background:#eee;
  color:#555;
  font-size:14px;
  font-weight:bold;
  padding:6px 14px;
  border-radius:6px 6px 0 0;
  margin:0;
  border:1px solid #ddd;
  border-bottom:none;
}

.product-subtitle {
  font-size: 22px;
  font-weight: bold;
  color: #6EC1E4;
  margin: 25px 0 10px;
}

.product-intro {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  max-width:700px;
  margin: 10px 0 20px;
}

.product-intro ul {
  margin-top: 8px;
  padding-left: 18px;
}

.product-intro li {
  margin-bottom: 6px;
}

/* 3 Column Stable Grid */
.product-details-wrapper {
  display:grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap:25px;
  align-items:start;
  overflow: visible;
}

/* center */
.product-details {
  font-size: 13px;
  line-height: 1.6;
  flex:1 1 auto;
}

/* ---------- Product Specs & Description ---------- */
.product-specs,
.product-description {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.product-specs li {
  display:grid;
  grid-template-columns:90px 1fr;
  gap: 6px;
  padding: 0.2px 0; 
  margin: 0;
}

.product-specs li strong, 
.product-description 
.label {
  display: inline-block;
  font-weight: bold;
  color: #000;
}

.product-specs li .value,
.product-specs li a {
  flex: 1; 
  line-height: 1.4;
}

/* ================== Content Links ================== */

.content p a,
.content li a {
  color: #0073e6;
  text-decoration: underline;
}

.content p a:hover,
.content li a:hover {
  color: #005bb5;
}


/* =====================================================================
   8. COMPONENTS (Tabs / Variant / Button / Grid / Typography / figure)
===================================================================== */

/* ---------- Tabs ---------- */

.tabs {
  display: flex;
  border-bottom: 2px solid #ddd;
  overflow-x: auto;   
  scroll-behavior: smooth;
  white-space: nowrap;
  gap: 1px;
  border:1px solid #ddd;
  border-top:none;
  border-radius:0 6px 6px 6px;
}

.tabs a {
  flex: 0 0 auto;       
  min-width: 80px;     
  max-width: 150px;    
  text-align: center;
  padding: 12px 8px;
  border: none;
  background: #eee;
  cursor: pointer;
  text-decoration: none;
  color: #333;
}

.tabs a.active {
  background:var(--main-color);
  color: #fff;
}

/* ---------- Tab content ---------- */
.tab-content {
  display: none;
  padding: 10px;
  border: 0px solid #ccc;
  margin-top: 5px;
  border-radius: 0 6px 6px 6px;
}


.tab-content:target, 
.tab-content:first-of-type {
  display: block; 
}

.tab-content:first-of-type:not(:target) {
display:block;
}

/* Hide default scrollbar for modern browsers */
.tabs::-webkit-scrollbar {
  height: 6px;
  }
.tabs::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}


/* ---------- Variant ---------- */

.variant {
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.variant.active {
  display: block;
  opacity: 1;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}


/* ---------- Buttons ---------- */


/* ---------- Grid ---------- */
/* ---------- Paper Bag grid-3 ---------- */
/* ---------- Calendar grid-2 ---------- */

.grid{
display:grid;
gap:20px;
}

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

/* ---------- Typography ---------- */

.text-small {
  font-size: 12px;
}

.text-muted {
  color: #999;
}

.text-center {
  text-align: center;
}

/* ---------- figure ---------- */
figure{
margin:0;
}

figcaption{
font-size:12px;
color:#777;
margin-top:5px;
text-align:center;
}

/* ==================
   9. FAQ
===================== */
/* FAQ details 样式 */
.faq {
  border-bottom:1px solid #ddd;
}

.faq-item {
  border-bottom:1px solid #ddd;    
  margin-bottom: 5px;
}

.faq summary {
  font-size: 0.85em;
  font-weight: 300;
  padding: 10px 15px;
  cursor: pointer;
  list-style: none; /* 去掉默认三角 */
}

.faq-question:hover {
  background: #e0e0e0;
}

.faq details[open] summary {
  border-radius: 6px 6px 0 0;
}

.faq details {
  border-bottom: 1px solid #ddd;
  margin-bottom: 5px;
  border-radius: 6px;
  background: #f0f0f0;
  padding: 0;
}

.faq summary:hover {
  background: #e0e0e0;
}

.faq details p {
  margin: 0;
  padding: 10px 15px;
  font-size: 0.95em;
  line-height: 1.35;
  background: #fafafa;
  border-left: 3px solid #ccc;
  border-radius: 0 0 6px 6px;
}



/* ==================
   10. CTA
===================== */
.cta-section {
  margin-top: 30px;
  padding: 20px;
  background-color: #f5f5f5; 
  border-radius:var(--radius); 
  text-align: center;
}

.cta-title {
  font-size: 1.2rem;
  color: #444; 
  margin-bottom: 10px;
}

.cta-text {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cta-btn {
  display:inline-block;
  padding: 10px 16px;
  background-color: #0073e6; 
  color: #fff;
  text-decoration:none;
  border-radius: 4px;
  font-size:14px;
}

.cta-btn:hover {
  background-color: #005bb5;
  color: #999;
}

.cta-btn.whatsapp {
  background-color: #25D366;
}

.cta-btn.whatsapp:hover {
  background-color: #1ebe5d;
}

.cta-btn.form {
  background-color: #777;
}

.cta-btn.form:hover {
  background-color: #555;
}

/* ================== Product Contact Btns ================== */

.price-row 
.product-contact-btns{
display:flex;
gap:10px;
margin-top:3px;
}

.product-contact-btns {
  display: flex;            /* 激活 flex 布局 */
  flex-wrap: wrap;          /* 屏幕窄时自动换行 */
  gap: 8px;                 /* 按钮间距 */
  align-items: center;      /* 垂直居中 */
  margin-top: 5px;          /* 可选，调整和文字间距 */
}

.product-contact-btns
.btn{
  display:inline-block;
  padding:6px 10px;
  font-size:14px;
  text-align: center;
  border-radius:4px;
  color:#fff;
  text-decoration:none;
  flex-shrink: 0; 
  transition:0.2s ease;
}

.product-contact-btns .btn:hover {
  color: #999; /* 保持按钮文字为白色 */
}

/* Email */
.product-contact-btns
.btn-email{
  background:#0073e6;
}
.product-contact-btns
.btn-email:hover{
  background:#005bb5;
}

/* WhatsApp */
.product-contact-btns
.btn-whatsapp{
  background:#25D366;
}
.product-contact-btns
.btn-whatsapp:hover{
  background:#1ebe5d;
}

/* 容器 */
.contact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}

/* 说明文字 */
.product-contact-btns
.contact-text{
  font-size: 13px;
  white-space: nowrap;       /* 保持桌面端文字不换行 */
  margin-right: 8px;         /* 文字与按钮间距 */
  flex-shrink: 0;            /* 不被压缩 */
}

/* ========== Product Comparison Table ============== */

.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 20px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 10px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table th, .comparison-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.comparison-table th {
  background: #eee;
  font-weight: 600;
  color: #333;
}

.comparison-table tbody tr {
  transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
  background: #f8fbfd;
}

/* Table 内部链接 */
.comparison-table td a {
  color: #0073aa;
  font-weight: 600;
  transition: color 0.2s ease;
}

.comparison-table td a:hover {
  color: #005bb5;
}

/* 第一列加粗 */
.comparison-table td:first-child {
  font-weight: 600;
  color: #333;
}

/* WhatsApp CTA */
.comparison-table
.table-cta {
  background: #25D366;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  display: inline-block;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.comparison-table
.table-cta:hover {
  background: #1ebc59;
  color: #fff;       /* 白字保持 */
  text-decoration: none; /* 移除下划线 */
  transform: translateY(-1px);
}
/* ===========================
   11. Recommendations / Right Sidebar
=========================== */
.aside-recommend {
  width: 180px;
  flex-shrink: 0;
  background: #f4f4f4;
  max-width: 100%;
  text-align: center;
  padding: 5px 0;
}

.aside-title {
  font-family: inherit; 
  font-weight: 600;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 0.8em;
  border-radius: 6px;
  padding: 0.4em 0.6em;
  background-color: #f5f5f5;
}

/* grid layout */
.aside-recommend ul {
  overflow-x: hidden;
  display: grid;
  grid-template-columns:1fr;
  gap: 15px;
  justify-items: center;
}

/* item */

.aside-recommend ul li {
  display: block;
}


/* image */
.aside-recommend img{
  width:100%;
  max-width:150px;
  height:auto;
}

/* ================== Layout Spacing ================== */
.section{
  margin-top:40px;
}

/* ===========================
   12. Footer
=========================== */
.site-footer {
  background:var(--light-bg);
  padding: 35px 10px;
  font-size: 13px;
  margin-top: 40px;
  border-top:1px solid var(--border-color);
  text-align:center;
}

.footer-container {
  max-width:var(--container-width);
  margin: 0 auto;
  text-align: center;
}

.footer-nav a {
  margin: 0 10px;
  font-weight: bold;
}

.footer-info {
  margin-bottom: 10px;
}

.footer-copy {
  font-size: 12px;
  opacity: 0.85;
}

/* ===========================
   13. Responsive: Mobile / Tablet
=========================== */
@media (max-width: 1300px) {
  .container {
    max-width: 1180px;   
    padding: 0 10px;  
  }
}

/* Mobile */
@media (max-width: 1000px) {
   
    /* Layout */
  .layout {
    display: flex;
    flex-wrap: wrap;       
    gap: 20px;
  }
  
  .content {
    flex: 1 1 0;
    min-width: 0;
  }
  
  /* Navigation */
  .main-nav,  .nav-list,  .nav-list li,  .nav-list li a {
    font-size: 12px; 
  }
  
  .main-nav { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
  }
 
  .nav-list { 
    width: 250px; 
    border-radius: 3px;
    top: 70px;         
    right: 20px;
    display: none; 
    position: fixed;
    flex-direction: column; 
    justify-content: flex-start; 
    align-items: flex-start;  
	  background: #eeeeee;
    text-align: left;
    padding: 0px 0;
    margin: 0px;
    z-index: 99;
   gap: 10px;
    padding-bottom: 10px;
    padding-top: 10px;
  }
  
  .nav-list.show { 
    display: flex; 
  }
  
  .nav-toggle { 
    position: fixed;   
    display: flex; 
    top: 20px;          
    right: 20px;
    z-index: 100;
   }
    
  .nav-list li { 
    flex: none; 
    width: 100%; 
    height: 35px; 
    text-align: left;
  }
  
   .nav-wrapper {
    justify-content: center; 
  }
  
  .nav-list a {
    padding: 10px 0;
  }
  
  .nav-list li a { 
    font-size: 14px; 
    padding-left: 15px; 
  }
  
  /* Sidebar */
  .sidebar-left {
    flex: 0 0 180px;
  }
  
 .sidebar-right {
    flex: 1 1 100%;
    order: 2;             
    margin-top: 20px;
  }
  
  .sidebar-left nav ul {
    display: block;
  }
   
   .sidebar-left nav ul.show {
    display: flex;
  }
  
   .sidebar-toggle {
    display: none;
  }
     
  .sidebar-left.left-nav { 
    width: 100%;  
  }

    /* Product */
   .product-details-wrapper { 
    display: grid;
    grid-template-columns: 1fr 2fr;
  }
  
  .product-inner {
    grid-column:1/-1; 

  }
  
   .product-specs li {
    display: grid;
    grid-template-columns: 90px 1fr;
  }
  
  .product-specs li strong, .product-description .label { 
    width: auto; 
  }
  
  .product-contact-btns {
    flex-wrap: wrap;          /* 自动换行 */
  }
  .product-contact-btns .contact-text {
    width: 100%;             /* 文字独占一行 */
    margin-bottom: 4px;      /* 与按钮保持间距 */
  }
  .product-contact-btns .btn {
    width: auto;             /* 按钮自适应内容 */
    flex: none;              /* 不拉伸 */
  }
  
  .tabs {
  display: flex;
  border-bottom: 2px solid #ddd;
}

  .tabs button {
    flex: 0 0 auto;
  }
  
  .variant { display: none; }
  .variant.active { display: block; }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .aside-recommend {
    width: 100%;
  }
  
  .aside-recommend ul {
    display: grid;
  grid-template-columns:repeat(4,1fr);
  gap: 15px; 
  }
 }

.aside-recommend img { 
    max-width:150px; }

/* =========================
   Tablet n Mobile 992 - 768px
========================= */

@media (max-width: 992px) and (min-width: 768px) {
  
   .layout, .product-details-wrapper, .tabs {
    max-width: 100%;
    overflow-x: hidden; 
  }
  
  .layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  
   .sidebar-left {
    flex: 0 0 180px;
  }

  .sidebar-left nav ul { 
    display: block; 
  }
   .sidebar-toggle {
    display: none;
  }
  
  .content {
    flex: 1 1 0;
    min-width: 0;
  }
  
  .sidebar-right {
    flex: 1 1 100%;
    order: 3;             
    max-width: 100%;
    margin-top: 20px;
  }

   .product-inner {
    grid-column: 1 / -1;
  }
  
   .product-cover img,
  .product-inner img {
    max-height: 200px;
    width: 100%;
    height: auto;
}

  .aside-recommend {
    width: 100%;
  }
  
  .aside-recommend ul {
    display: grid;
  grid-template-columns:repeat(4,1fr);
  gap: 15px; 
  }
  
  .tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%;  
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

 .tabs button {
    flex: 0 0 auto;
  }
  
}


/* =========================
   Tablet n Mobile 767 - 620px
========================= */

@media (max-width: 767px) and (min-width: 620px) {
  .layout {
    flex-direction: column;
  }

  .sidebar-left nav ul { 
    display: none; 
    flex-direction: column;
  }
  
  .sidebar-left,
  .sidebar-right,
  .content {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 0;
  }

  .sidebar-toggle {
    display: block;
  }
  
  .product-details-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

    .product-inner {
    grid-column: 1 / -1;
  }
}

/* =========================
   Small Mobile 619px
========================= */
@media (max-width: 619px) {
	
	 .layout {
    flex-direction: column;
  }

   .sidebar-left,
  .sidebar-right,
  .content {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .sidebar-right {
    order: 3;
    margin-top: 20px;
  }
  
 .sidebar-left nav ul { 
    display: none; 
    flex-direction: column;
  }
  
  .sidebar-toggle {
    display: block;
  }
  
  .product-details-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tabs button {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  
}
