@font-face {
  font-family: 'Config';
  src: url('../fonts/ConfigAlt-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Config';
  src: url('../fonts/ConfigAlt-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* CSS 变量 */
:root {
  --primary-color: #000;
  --secondary-color: #353c40;
  --accent-color: #A05242;
  --orange-color:#f60;
  --grey-color: #F7F6F5;
  --light-color:#F8F8F8;
  --black-grey-color:#e6e6e6;
  --text-color: #1A1A1A;
  --light-text: #606060;
  --black-text: #000000;
  --border-color: #E2E2E2;
  --bg-light: #F7F6F5;
  --bg-white: #ffffff;
  --bg-green:linear-gradient(180deg, rgba(230, 230, 220, 1), rgba(230, 230, 220, 1) 100%);
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 15px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --radius-xs: 3px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-title: 'Config', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Config', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
}

body {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
button {
  font-family: inherit;
}

img {
  max-width: 100%;
  border-radius: var(--radius-md);
  height: auto;
  display: block;
}


.mb-40{
  margin-bottom:40px;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.main-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.read-more-text {
  position: relative;
  overflow: hidden;
  max-height: none;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  transition: all 0.3s ease;
}

.read-more-text p {
  margin: 0 0 16px 0;
  line-height: 1.8;
  color: var(--black-text);
  font-size: 16px;
}

.read-more-text p:last-child {
  margin-bottom: 0;
}

.read-more-text strong {
  font-weight: 600;
  color: var(--primary-color);
}

.read-more-text.expanded {
  -webkit-line-clamp: unset;
  display: block;
}

.read-more-text::before{
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  display: block;
  width: 100%;
  height: 60px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #FFF 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.read-more-text.expanded::before {
  opacity: 0;
}

/* Read More toggle link */
.read-more-toggle {
  font-size: 16px;
  font-weight: 400;
  border-bottom: 1px solid #000;
  cursor: pointer;
  display: inline-block;
}

.read-more-toggle:hover {
  opacity: 0.55;
}


/* ========================================
   Header & Navigation
   ======================================== */

.header {
  position: relative;
  z-index: 1000;
  background-color: var(--bg-white);
}

/* 智能导航：滚动后固定在顶部 */
.header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(0);
  transition: transform 0.3s ease;
  will-change: transform;
}

/* 向下滚动时隐藏导航（向上滑出） */
.header.is-fixed.header-hidden {
  transform: translateY(-100%);
}

/* Scrolled state: shadow at bottom */
.header.scrolled .header-container {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 隐藏时移除底部border，显示时保留阴影 */
.header.header-hidden .header-container {
  box-shadow: none;
}

.header.header-hidden {
  pointer-events: none;
}

.header.header-hidden .dropdown-menu,
.header.header-hidden .nav-dropdown:hover .dropdown-menu {
  opacity: 0 !important;
  visibility: hidden !important;
}

.header.header-hidden .dropdown-menu-overlay {
  opacity: 0 !important;
  visibility: hidden !important;
}

.header-container {
  max-width: 100%;
  margin: 0 auto;
}

/* 上行：搜索和购物车按钮 (Desktop) / 单行导航 (Mobile) */
.header-top {
  padding-top: 12px;
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Desktop: show spacer + icons only in top row */
.header-left {
  display: none;
}

.header-right {
  display: none;
}

.header-top .logo-mobile {
  display: none !important;
}

/* Hide mobile nav on PC */
.mobile-nav {
  display: none !important;
}

.header-top-spacer {
  flex: 1;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background-color: transparent;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  text-decoration: none;
}

.header-icon-btn:hover {
  color: var(--primary-color);
}

.header-icon-btn svg {
  width: 34px;
  height: 20px;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent-color);
  color: white;
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 下行：Logo和导航 */
.header-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* 导航区域包装器：导航菜单 + 图标按钮 */
.header-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-image {
  width: 168px;
  height: auto;
}

/* 导航底部联系信息栏 */
.header-contact-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 0;
  border-top: 1px solid #eee;
  font-size: 12px;
  color: #666;
}

.contact-phone,
.contact-address {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-phone svg,
.contact-address svg {
  flex-shrink: 0;
  opacity: 0.7;
}


.logo-text {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  list-style: none;
  height: 100%;
}

.nav-menu a {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-color);
  position: relative;
  padding: 28px 0;
  display: inline-block;
}

.nav-menu a:hover {
  text-decoration-line: underline;
}

.nav-menu a.active {
  text-decoration-line: underline;
}


.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-color);
  transition: var(--transition);
}

/* Dropdown Menu - 全屏背景，内容限制在container内 */
.nav-dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-dropdown > a {
  height: 100%;
  display: flex;
  align-items: center;
}

.dropdown-menu {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  background-color: white;
  padding: 20px 0 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 997;
}

/* Bottom border - full width */
.dropdown-menu::after {
  content: none;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

/* Backdrop overlay when dropdown open */
.dropdown-menu-overlay {
  position: fixed;
  top: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 996;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px 0;
}
.dropdown-menu-inner:after{
  content: "";
    position: absolute;
    width: 100%;
    max-width: 1360px;
    background: #e2e2e2;
    height: 1px;
    top: 0;
    left: 50%;
    transform: translate(-50%);

}

.dropdown-item-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 24px;
}

.dropdown-item-group:first-child {
  padding-left: 0;
}

.dropdown-item-title {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0px !important;
  margin-top:0;
  margin-bottom: 5px;
}

.dropdown-item-title.active {
  color: var(--primary-color);
}

.dropdown-submenu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dropdown-submenu a {
  font-size: 14px;
  padding:0;
  color: rgba(0,0,0,0.7);
  font-weight: 400;
  transition: var(--transition);
  text-transform: capitalize;
}

.dropdown-submenu a:hover,
.dropdown-submenu a.active {
  color: var(--primary-color);
}

/* Dropdown Promo Section - 右侧图片卡片 */
.dropdown-menu-inner.has-promo {
  grid-template-columns: repeat(5, 1fr) auto;
  align-items: start;
}

.dropdown-menu-inner.has-promo .dropdown-promo {
  grid-column: 5 / -1;
  grid-row: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
  align-self: flex-start;
  margin-top: 0;
  padding-top: 0;
}

.dropdown-promo-card {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  text-decoration: none;
  line-height: 0;
  margin: 0;
  padding: 0 !important;
}

.dropdown-promo-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  vertical-align: top;
}

.dropdown-promo-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 16px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  font-family: var(--font-title);
  z-index: 1;
}

/* ========================================
   Hero Section - 全宽背景图
   参考: belveo.fr image_with_text_overlay
   ======================================== */

.hero-section {
  width: 100%;
}

.hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  /* 高度由CSS变量控制，或使用固定值 */
  height: clamp(450px, 65vh, 600px);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background:rgba(0,0,0,0.19);
  text-align: center;
}

.hero-content {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0;
}

.hero-desc{
  font-size: 16px;
  color:#ffffff;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  background-color: #ffffff;
  color:var(--primary-color);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

/* ========================================
   Categories Gallery - 正方形分类卡片
   参考: belveo.fr gallery_new
   ======================================== */

.categories-gallery {
  padding: 60px 0;
}

/* PC: show grid, hide carousel */
.gallery-carousel {
  display: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
}

.gallery-card-bg {
  position: absolute;
  inset: 0;
}

.gallery-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.gallery-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.25) 0%, transparent 60%);
  z-index: 2;
}

.gallery-card-btn {
  display: inline-block;
  padding: 10px 22px;
  background-color: #ffffff;
  color: #000000;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-xs);
  transition: all 0.3s ease;
  text-decoration: none;
  align-self: flex-start;
  margin-top: auto;
}

.gallery-card-btn::before {
    content: '';
    position: absolute;
    inset: 0;          /* 继承或相对于已定位的父级容器铺满 */
    z-index: 1;        /* 确保伪元素覆盖整个区域 */
}

/* ========================================
   Media with Text Sections - 图文交替
   参考: belveo.fr media_with_text
   ======================================== */


.media-text-inner {
  padding: 0 40px;
}



.media-text-row {
  display: flex;
  gap: 24px;
  align-items: stretch;
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.media-text-row.reverse {
  flex-direction: row-reverse;
}

.media-text-content {
  flex: 1;
  flex-basis: calc(50% - 12px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  padding: 32px 40px;
}

.media-text-image {
  flex: 1;
  flex-basis: calc(50% - 12px);
  border-radius: var(--radius-xs);
  overflow: hidden;
  position: relative;
  width: 660px;
  height: 500px;
  max-width: 100%;
}

.media-text-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
  color: #000000;
  margin: 0;
}

.media-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--black-text);
  margin: 0;
}

.media-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 32px;
  background-color: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  text-decoration: none;
  align-self: flex-start;
  margin-top: 8px;
}

/* ========================================
   Partner Brands Section - 合作伙伴展示
   ======================================== */

.partner-brands-section {
  padding: 50px 0;
  background: #fff;
}

.partner-brands-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--page-padding);
}

.partner-brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  align-items: center;
  justify-items: center;
}

.partner-brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.partner-brand-item:hover{
  opacity: 1;
}

.partner-brand-item img {
  max-width: 100%;
  max-height: 100%;
  filter: grayscale(100%);
  object-fit: contain;
}
.partner-brand-item  img:hover{
  filter: grayscale(0);
}

.products-search-list-section{
  padding-bottom: 40px;
}

@media (max-width: 576px) {
  .partner-brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

.reviews-section {
  padding: 32px 0 48px;
}


.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.review-card {
  display: flex;
  flex-direction: column;
  background-color: #f0f0ee;
  border-radius: var(--radius-xs);
  padding: 32px 24px;
  gap: 20px;
}

.review-card-header {
  margin-bottom: 8px;
  min-height: 50px;
}

.review-trustpilot {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-rating {
  font-size: 14px;
  color: var(--text-color);
  font-weight: 500;
}

.review-icon {
  width: auto;
  height: 50px;
}

.review-icon svg,
.review-icon img {
  height: 50px;
  width: auto;
}

.review-card-title {
  font-family: var(--font-title);
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--black-text);
  line-height: 1.3;
  margin: 0;
}

.review-card-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--black-text);
  margin: 0;
}

.review-author {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-color);
  margin-top: 4px;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: var(--light-color);
}

.footer-mobile {
  display: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

/* Remove the multi-column footer navigation and keep only brand on desktop */
.footer-grid .footer-column {
  display: none;
}

.footer-grid {
  grid-template-columns: 1fr;
}

.footer-brand {
  align-self: start;
  text-align: center;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.8;
  margin-top: 15px;
}

.footer-column h4 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 400;
}
.footer-links a:hover {
  text-decoration: underline;
}


/* Footer Bottom - 新样式匹配目标图片 */
.footer-bottom {
  padding: 40px 0 0;
  margin:0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  gap: 18px;
  font-size: 13px;
}

/* 社交媒体图标区域 - 顶部居中 */
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 10px;
}

.footer-social .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: 2px;
}


.footer-social .social-icon svg {
  width: auto;
  height: 24px;
}

/* 让 SVG 图标在黑色背景上显示为白色 */
.footer-social .social-icon svg path {
  fill: currentColor;
}

/* Footer legal links */
.footer-legal-links {
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  margin: 4px 0 8px;
  color: #000;
}

.footer-legal-links a {
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  text-decoration: underline;
}

.footer-legal-links .separator {
  margin: 0 2px;
    color: #000;
}

/* 无障碍提示文字 */
.footer-accessibility {
  text-align: center;
  color: #000;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

/* 版权信息 - 全大写 */
.footer-copyright-text {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  color: #000;
  margin: 0;
}

/* UP 按钮 - 黑色全宽 */
.footer-up-btn {
  width: 100%;
  max-width: 500px;
  padding: 14px 30px;
  background-color: #333;
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  margin-top: 10px;
}

.footer-up-btn:hover {
  background-color: #000;
}

/* ========================================
   Responsive Design
   ======================================== */



/* ========================================
   Products List Page Styles
   ======================================== */

.products-list-section{
  padding-top:80px;
}

.products-page-title {
  font-size: 40px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  color: #000;
  text-transform: uppercase;
}

.search-page-title {
  font-size: 40px;
  margin-top:40px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  color: #000;
  text-transform: uppercase;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: transparent;
  border: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #333;
  cursor: pointer;
  transition: color 0.2s ease;
  text-transform: uppercase;
}

.filter-dropdown-btn:hover {
  color: #000;
}

.filter-dropdown-btn svg {
  opacity: 0.6;
}

/* Stock Toggle */
.stock-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stock-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #666;
  text-transform: uppercase;
}

.toggle-switch {
  position: relative;
  width: 36px;
  height: 20px;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ddd;
  border-radius: 20px;
  transition: 0.3s;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #000;
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(16px);
}

/* Category Filter Bar - Direct pill tags */
.category-filter-bar {
  margin-top: 40px;
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap:  8px;
  justify-content: center;
}

/* Sub-category filter bar (second row) */
.category-filter-bar.sub-filter-bar {
  margin-top: 40px;
  margin-bottom: 40px;
}

.category-option {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #000;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  background: rgb(239, 239, 239);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.category-option.active {
  background: #000;
  color: #fff;
}

/* Products Grid - 4 columns like reference */
.products-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 50px;
}

/* Product Card Modern Style */
.product-card-modern {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background-color: transparent;
  border-radius: 4px;
  overflow: hidden;
}

.product-card-modern:hover {
  background-color: transparent;
}

/* Product Image - Large, clean */
.product-image-wrapper-modern {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
}

.product-image-wrapper-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e8e8 0%, #d8d8d8 100%);
}

/* Product Info - Below image */
.product-info-modern {
  padding: 16px 0 0;
  background: #fff;
  text-align: center;
}

.product-name-modern {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}

.product-material {
  font-size: 14px;
  font-weight: 400;
  color: #888;
  display: block;
  margin-bottom: 8px;
  cursor: pointer;
}

/* Color Dots */
.product-colors {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.color-dot:hover {
  transform: scale(1.15);
}

.color-more {
  font-size: 10px;
  color: #999;
  margin-left: 2px;
}

/* Price */
.product-price {
  font-size: 13px;
  font-weight: 600;
  color: #000;
  margin: 0;
}

.no-products-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: #999;
  font-size: 16px;
}

/* ===== Feature Showcase Section ===== */
.product-feature-section {
  padding: 80px 0;
  background-color: #f5f5f3;
  border-radius: var(--radius-md);
}

.feature-showcase {
  max-width: 1000px;
  margin: 0 auto;
}

.feature-text-center {
  text-align: center;
  margin-bottom: 50px;
}

.feature-main-title {
  font-size: 40px;
  font-weight: 500;
  color: var(--black-text);
  text-transform: uppercase;
  margin-bottom: 24px;
  line-height: 1.6;
}

.feature-subtitle {
  font-size: 20px;
  font-weight:500;
  color: var(--black-text);
}

/* Feature Visual - Image as background with specs overlay */
.feature-visual {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.feature-hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.feature-specs-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 30px 20px;
}

.spec-item h4 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--black-text);
  margin-bottom: 8px;
}

.spec-item p {
  font-size: 16px;
  color: var(--black-text);
  font-weight: 400;
  line-height: 24px;
  max-width: 310px;
  margin: 0;
}

/* ===== Service Guarantee Section ===== */
.service-guarantee-section {
  padding: 60px 40px;
  margin: 60px 0;
  border-radius: var(--radius-md);
  background-color: #efefef;
}

.service-guarantee-section.pd-service-guarantee {
  max-width: 1280px;
  margin: 0 auto;
}

.service-title {
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 40px;
}

.service-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  margin-left: -15px;
  margin-right: -15px;
  gap: 20px;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 190px;
  flex: 1 1 100%;
  margin: 0 auto;
  width: 100%;
  transition: opacity .1s;
}

.service-icon {
  margin-bottom: 15px;
  opacity: 0.8;
}

.service-icon svg {
  width: 80px;
  height: 80px;
}

.service-label {
  font-size: 16px;
  font-weight: 400;
  color: var(--black-text);
  line-height: 1.4;
}

/* ===== FAQ Section ===== */
.faq-section {
  padding: 70px 0;
  background-color: #fff;
}

.faq-title {
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 40px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e5e5e5;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.faq-question span:first-child {
  font-size: 20px;
  font-weight: 500;
  color: #333;
}

.faq-question:hover span:first-child {
  color: #000;
}

.faq-toggle-icon {
  font-size: 20px;
  font-weight: 300;
  color: #999;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-question.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  padding-bottom: 18px;
  margin: 0;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

/* ===== Our Collections Section ===== */
.our-collections-section {
  padding: 60px 80px;
  border-radius: var(--radius-md);
  background-color: #BFC3C8;
}

.collections-title {
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 35px;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.collection-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  border-radius: 2px;
}

.collection-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
}

.collection-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.collection-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #bbb 0%, #999 100%);
}

.collection-card-name {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  text-align: left;
  padding: 12px 0;
  text-transform: uppercase;
}

/* ===== Products CTA Section ===== */
.products-cta-section {
  padding: 100px 0;
  background-color: #fff;
}

.products-cta-content {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}

.cta-title {
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 25px;
  line-height: 1.4;
}

.cta-description {
  font-size: 16px;
  font-weight:400;
  color: var(--black-text);
  line-height: 1.8;
  margin-bottom: 30px;
}

.cta-read-more-btn {
  display: inline-block;
  padding: 12px 35px;
  border: 1px solid #333;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-read-more-btn:hover {
  background-color: #333;
  color: #fff;
}

/* Responsive - Products Page Sections */




/* ===== Pagination (Apple Style) ===== */
.apple-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  padding: 24px 0;
}

.apple-pg-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #1d1d1f;
  text-decoration: none;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.apple-pg-arrow:hover {
  background-color: #f5f5f7;
}

.apple-pg-disabled {
  opacity: 0.25;
  pointer-events: none;
}

.apple-pg-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 38px;
  padding: 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
  border: 1.5px solid #d2d2d7;
  border-radius: 8px;
}

.apple-pg-total {
  font-size: 15px;
  color: #86868b;
  letter-spacing: 0.3px;
}

/* ===== Shared Form Styles (used by checkout & quote forms) ===== */
.contact-section {
  padding: 0;
  background-color: #efefef;
  border-radius: var(--radius-md);
}

.contact-form-title {
  padding-top:20px;
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 8px;
  text-transform: uppercase;
  line-height: 1.2;
}

.contact-form-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: #555;
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: #000;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ccc;
  background-color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  color: #333;
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group .field-error {
  border-color: #e53935 !important;
}

.field-error-message {
  color: #e53935;
  font-size: 13px;
  margin-top: 6px;
  line-height: 1.4;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  background-color: var(--primary-color);
  color: #fff;
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: 8px;
  margin-bottom: 32px;
}

.submit-btn:hover {
  background-color: var(--secondary-color);
}

/* ===== Contact Page ===== */
/* ===== Contact Info Section (legacy, kept for compat) ===== */
.contact-info-section {
  padding: 80px 0;
  border-radius: var(--radius-md);
  margin-top: 60px;
  background-color: #f0f0ee;
}

.contact-info-title {
  font-size: 40px;
  font-weight: 500;
  color: var(--black-text);
  text-align: center;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.contact-info-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.contact-info-card {
  background: #fff;
  border-radius: 10px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.contact-card-wide {
  grid-column: 1 / -1;
  max-width: none;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: #eef2ec;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a7c59;
}

.contact-card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-card-label {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: #aaa;
}

.contact-card-value {
  font-size: 16px;
  color: var(--black-text);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .contact-info-section {
    padding: 50px 0;
    margin-top: 40px;
  }

  .contact-info-title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .contact-info-desc {
    font-size: 14px;
    margin-bottom: 36px;
    padding: 0 24px;
  }

  .contact-info-cards {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 100%;
    padding: 0 20px;
  }

  .contact-info-card {
    padding: 22px 20px;
    gap: 14px;
  }

  .contact-card-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }
}

/* ===== Homepage: Case Studies & More styles (appended) ===== */
.case-studies-section {
  border-radius: var(--radius-md);
  background:var(--bg-green);
}
.case-studies-section .section-title {
  text-align: center;
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-weight: 500;
  text-transform: uppercase;
}
.case-studies-inner{
  padding:60px 80px;
}

/* PC: show grid, hide carousel */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: start;
}

.cases-carousel {
  display: none;
}

.cases-carousel .case-studies-panel {
}

.cases-carousel .cases-track {
  display: flex;
  transition: transform 0.4s ease;
}
.case-card {
  box-shadow: none;
  overflow: hidden;
  text-decoration: none;
  color: inherit;

}
.case-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #efefef 0%, #e6e6e6 100%);
}

.case-card-title {
  padding: 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
  text-transform: uppercase;
}
.cases-actions { text-align: center; margin-top: 18px; }
.btn.btn-outline { border: 1px solid var(--border-color); padding: 10px 18px; border-radius: 6px; color: var(--primary-color); background: transparent; }

.home-more-section { padding: 56px 0; background: var(--bg-white); }
.home-more-inner { max-width: 960px; margin: 0 auto; text-align: center; padding: 0 20px;}
.home-more-inner .section-title { font-size: 40px; color: var(--primary-color); margin-bottom: 20px; font-weight: 500;text-transform: uppercase;  }
.home-more-desc { color: var(--black-text); font-size:16px;margin-bottom: 20px; line-height: 1.8; }
.home-more-actions { display: flex; gap: 12px; justify-content: center; align-items: center; }
.home-more-actions .btn { padding: 12px 20px; border-radius: 6px; }

/* Expandable content behaviour */
.expandable-content { transition: max-height 0.35s ease; }
.expandable-content.collapsed { max-height: 140px; overflow: hidden; position: relative; }
.expandable-content.collapsed::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 80%, rgba(255,255,255,1) 100%);
}
.expandable-content.expanded { max-height: 2000px; overflow: visible; }

.home-more-toggle-wrapper { text-align: center; margin: 14px 0 6px; }
.btn.small { padding: 8px 14px; font-size: 13px; }
.btn.btn-primary { background: var(--primary-color); color: #fff; border: none; }

/* Ensure gallery and media images use cover for consistent layout */
.gallery-card-bg img,
.case-card-img img,
.media-text-image img,
.feature-hero-image,
.contact-image-wrapper img { object-fit: cover; width: 100%; height: 100%; border-radius: var(--radius-md);}


/* Carousel controls styling for case studies */
.cases-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
  padding: 14px 24px;
}

.cases-carousel-controls .carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cases-carousel-controls .carousel-btn:hover {
  background: #f5f5f5;
}

.cases-carousel-controls .carousel-btn svg {
  width: 18px;
  height: 18px;
}

.cases-carousel-controls .carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cases-carousel-controls .carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cases-carousel-controls .carousel-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}


/* ===== Contact Partner Logos ===== */
.contact-partners-section {
  padding: 60px 0;
  background-color: #fff;
}

.partner-logos-carousel {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  align-items: center;
  justify-items: center;
}

.partner-logo-item {
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.partner-logo-item:hover {
  opacity: 1;
}

.partner-logo-item img {
    max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-logo-item:hover img {
  filter: grayscale(0);
}

/* ===== Contact FAQ Section ===== */
.contact-faq-section {
  padding: 80px 0;
  background-color: #fff;
}

.faq-section-title {
  font-size: 40px;
  font-weight: 500;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 40px;
  text-align: left;
}

.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid #e5e5e5;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: color 0.2s ease;
}

.faq-question span:first-child {
  font-size: 20px;
  font-weight: 500;
  color: #000;
  line-height: 1.5;
  flex: 1;
  padding-right: 24px;
}

.faq-toggle {
  font-size: 22px;
  font-weight: 300;
  color: #999;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 16px;
  font-weight: 400;
  color: rgba(0,0,0,0.75);
  line-height: 1.75;
  margin: 0;
}

/* ===== Contact CTA Section ===== */

.cta-title {
  font-size: 40px;
  font-weight: 500;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 18px;
  line-height: 40px;
}

.cta-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  max-width: 550px;
  margin: 0 auto 32px;
}

.cta-btn {
  display: inline-block;
  padding: 14px 36px;
  background-color: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: rgb(243 243 243);
}

/* ===== About Page ===== */

/* Hero */
.about-hero-section {
  padding: 60px 0;
  text-align: center;
}

.about-hero-title {
  font-size: 40px;
  font-weight: 500;
  color: #000;
  margin-bottom: 40px;
}

.about-hero-desc {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* Gallery Grid */
.about-gallery-section {
  padding: 0;
}

/* PC: show grid, hide carousel */
.about-gallery-carousel {
  display: none;
}

.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.about-gallery-grid .gallery-item {
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* Story Section - Gray */
.about-story-section {
  margin: 68px 0;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(230, 230, 220, 1), rgba(230, 230, 220, 1) 100%);
}

.about-story-content {
  padding: 80px;
}

.about-story-title {
  font-size: 20px;
  font-weight: 500;
  color: #000;
  margin-bottom: 20px;
}

.about-story-content > p {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-story-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-story-list li {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  padding: 8px 0;
  position: relative;
  padding-left: 16px;
}

.about-story-list li:before {
  content: "—";
  position: absolute;
  left: 0;
  color: #000;
}

/* Feature Section */
.about-feature-section {
  padding: 80px 0;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-title {
  font-size: 40px;
  font-weight: 500;
  color: #000;
  margin-bottom: 20px;
}

.feature-desc {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.85;
  margin-bottom: 14px;
}

.feature-image img {
  width: 100%;
  border-radius: 4px;
  display: block;
}


/* CTA Section */
.about-cta-section {
  padding: 40px 0;
  margin-bottom: 40px;
  border-radius: var(--radius-md);
  background-color: #E6E6DC;
}

.about-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-image img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.cta-heading {
  font-size: 40px;
  font-weight: 500;
  color: #000;
  margin-bottom: 12px;
}


.cta-text {
  font-size: 16px;
  color: #000;
  line-height: 1.85;
  margin-bottom: 16px;
}

/* ===== Legal Pages (Privacy, Terms, Accessibility) — belveo-inspired editorial ===== */
.legal-page {
  background: #ffffff;
  padding: 88px 0 120px;
}

.legal-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-eyebrow {
  display: none;
}

.legal-title {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}

.legal-lead {
  font-size: 16px;
  line-height: 1.75;
  color: #4a4a4a;
  margin-bottom: 26px;
  max-width: 680px;
}

.legal-updated {
  font-size: 14px;
  color: #8a8a8a;
  padding-bottom: 0;
  margin-bottom: 44px;
  border-bottom: none;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.85;
  margin-bottom: 14px;
}

.legal-section p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: #333;
  margin-bottom: 14px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

/* Inline bullet list (no <li>) — e.g. <p class="legal-bullet"><strong>• Item</strong></p> */
.legal-bullet {
  margin-bottom: 10px;
  padding-left: 2px;
}

.legal-bullet strong {
  font-weight: 600;
  color: #1a1a1a;
}

.legal-section ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal-section li {
  font-size: 16px;
  line-height: 1.85;
  color: #333;
  margin-bottom: 9px;
}

.legal-section a {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(26, 26, 26, 0.4);
  transition: text-decoration-color 0.2s ease;
}

.legal-section a:hover {
  text-decoration-color: #1a1a1a;
}

.legal-contact {
  margin-top: 14px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.legal-contact h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.legal-contact ul {
  margin: 0;
  padding-left: 22px;
}

.legal-contact li {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.85;
}

@media (max-width: 640px) {
  .legal-page {
    padding: 56px 0 80px;
  }
  .legal-title {
    font-size: 30px;
  }
  .legal-lead {
    font-size: 16px;
  }
  .legal-section h2 {
    font-size: 19px;
  }
}

/* About Responsive */

/* ===== Product Detail Page - New Style ===== */

.product-detail-section {
  padding: 20px 0;
}

/* Breadcrumb */
.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.product-breadcrumb a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-breadcrumb a:hover {
  color: #000;
}

.bc-sep {
  color: #999;
}

/* Detail Grid */
.product-detail-grid-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Left Info */
.product-info-left {
  padding-right: 10px;
}

.product-name-main {
  font-size: 40px;
  font-weight: 500;
  color: #000;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
  text-transform: uppercase;
}

.product-sub-brand {
  font-size: 16px;
  color: #999;
  margin-bottom: 16px;
  font-weight: 400;
}

/* Rating Row */
.product-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.stars {
  color: #000;
  font-size: 14px;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 13px;
  color: #666;
}

/* Description Text */
.product-desc-text {
  font-size: 18px;
  color: #000;
  line-height: 1.75;
  margin-bottom: 28px;
}

/* Inquire Button Full Width */
.inquire-btn-full {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: #1a2332;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.25s ease;
  margin-bottom: 24px;
}

.inquire-btn-full:hover {
  background: #0d1219;
}

/* Accordion Sections */
.detail-accordion {
  margin-top: 32px;
}

.accordion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 0;
  border-top: 1px solid rgba(0,0,0,0.15);
  background: transparent;
  border-left: none;
  border-right: none;
  border-bottom: none;
  font-size: 18px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.acc-icon {
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.25s ease;
}

.accordion-item.open .acc-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  padding: 12px 0 16px;
}

/* Specs Table New */
.specs-table-new {
  width: 100%;
  border-collapse: collapse;
  padding: 12px 0 16px;
}

.specs-table-new tr {
  border-bottom: 1px solid #f0f0f0;
}

.specs-table-new td {
  padding: 10px 0;
  font-size: 14px;
  vertical-align: top;
}

.spec-label {
  color: #888;
  width: 140px;
  font-weight: 500;
}

.spec-value {
  color: #333;
}

/* Right Image */
.product-image-right {
  position: sticky;
  top: 100px;
}

.product-image-box {
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.product-image-box img {
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  border-radius: 4px;
}

.no-image-placeholder {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, #e0e5ec 0%, #d4dce6 100%);
  border-radius: 4px;
}

/* ===== Product Detail - Service Bar ===== */
.pd-service-bar {
  padding: 50px 0;
  background-color: #f5f5f3;
}

.pd-service-title {
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  color: var(--black-text);
  margin-bottom: 36px;
  text-transform: uppercase;
}

.pd-service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-left: -15px;
  margin-right: -15px;
}

.pd-service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.pd-service-item svg {
  width:80px;
  height:80px;
}

.pd-service-item span {
  font-size: 12px;
  color: #555;
  line-height: 1.4;
  font-weight: 500;
}

/* Product Detail Responsive */

/* ===== Product Detail - FAQ Section ===== */
.pd-faq-section {
  padding: 60px 0;
}

.pd-faq-title {
  font-size: 40px;
  font-weight: 500;
  color: #000;
  text-align: center;
  margin-bottom: 36px;
  text-transform: uppercase;
}

.pd-faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.pd-faq-item {
  border-bottom: 1px solid #e8e8e8;
}

.pd-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 0;
  background: transparent;
  border: none;
  font-size: 20px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.pd-faq-question:hover {
  color: #000;
}

.pd-faq-icon {
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.pd-faq-question.open .pd-faq-icon {
  transform: rotate(45deg);
}

.pd-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.pd-faq-answer p {
  font-size: 13px;
  color: #666;
  line-height: 1.75;
  padding-bottom: 18px;
}

/* ===== Product Detail - Related Products ===== */
.pd-related-section {
  padding: 40px 0;
}

.pd-related-title {
  font-size: 40px;
  font-weight: 500;
  color: #000;
  text-align: center;
  margin-bottom: 40px;
}

.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pd-related-card {
  text-decoration: none;
  display: block;
  transition: opacity 0.25s ease;
}


.pd-related-img-wrap {
  border-radius: 4px;
  aspect-ratio: 1/1;
  overflow: hidden;
  margin-bottom: 14px;
}

.pd-related-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-related-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8ebe9 0%, #dddcd6 100%);
}

.pd-related-info {
  padding: 0 2px;
  text-align: center;
}

.pd-related-name {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  margin-bottom: 4px;
  line-height: 1.45;
  text-transform: uppercase;
}

.pd-related-category {
  font-size: 14px;
  opacity: 0.7;
  color: #000;
  margin-bottom: 8px;
}

.pd-related-colors {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.pd-color-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: inline-block;
}

.pd-related-price {
  font-size: 12px;
  color: #333;
  font-weight: 500;
}

/* ===== Product Detail - Blog Section ===== */
.pd-blog-section {
  padding: 70px 0 90px;
}

.pd-blog-card {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.pd-blog-title {
  font-size: 40px;
  font-weight: 500;
  color: #000;
  margin-bottom: 12px;
  line-height: 1.4;
  text-transform: uppercase;
}

.pd-blog-subtitle {
  font-size: 20px;
  color: #000;
  margin-bottom: 24px;
  font-weight: 500;
}

.pd-blog-excerpt {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.8;
  margin-bottom: 18px;
  text-align: center;
}

/* ===== Product Detail - You May Also Like (Image Style) ===== */
.pd-you-like-section {
  padding: 60px 0;
}

.pd-you-like-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: #000;
  margin-bottom: 40px;
  line-height: 1.4;
}

.pd-you-like-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pd-you-like-card {
  text-decoration: none;
  display: block;
  transition: opacity 0.25s ease;
}

.pd-you-like-card:hover {
  opacity: 0.7;
}

.pd-you-like-img-wrap {
  background: #f0f0ee;
  border-radius: 4px;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 16px;
}

.pd-you-like-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-you-like-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8ebe9 0%, #dddcd6 100%);
}

.pd-you-like-info {
  padding: 0 2px;
}

.pd-you-like-name {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
  line-height: 1.45;
}

.pd-you-like-desc {
  font-size: 11px;
  color: #999;
  margin-bottom: 10px;
  line-height: 1.5;
}

.pd-you-like-colors {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.pd-you-like-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  display: inline-block;
}

.pd-you-like-price {
  font-size: 12px;
  color: #333;
  font-weight: 500;
}

/* ===== Cases List Page (Belveo Style) ===== */
.cases-header-section {
  padding-top:80px;
}

.cases-main-title {
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  color: #000;
  margin-bottom: 20px;
  line-height: 1.35;
  text-transform: uppercase;
}

.cases-main-desc {
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
}

.cases-grid-section {
  padding: 10px 0 60px;
}

.cases-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.case-item-card {
  display: block;
  text-decoration: none;
  transition: opacity 0.25s ease;
}
.case-item-img {
  border-radius: var(--radius-md);
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
}

.case-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8ebe9 0%, #dddcd6 100%);
}


.case-item-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: #fff;
  display: inline-block;
  color: #000;
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 4px;
}


/* 色卡卡片右上角 PDF 角标 —— 仅在 swatch 含 PDF 时显示 */
.case-item-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1;
  backdrop-filter: blur(4px);
}
.case-item-badge svg {
  display: block;
  flex-shrink: 0;
}

.case-item-title {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #000;
  line-height: 1.4;
  text-transform: uppercase;
}

.cases-empty {
  grid-column: 1 / -1;
  padding: 60px 20px;
  color: #999;
  font-size: 15px;
}

/* ===== Brochure Cards ===== */
.brochure-card {
  cursor: pointer;
}
.brochure-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.brochure-card .case-item-img {
  aspect-ratio: 3/4;
}
.brochure-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.brochure-icon {
  font-size: 64px;
  opacity: 0.5;
}
.brochure-download-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--radius-md);
}
.brochure-card:hover .brochure-download-overlay {
  opacity: 1;
}
.brochure-download-btn {
  background: #fff;
  color: #000;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.brochure-card-body {
  padding-top: 12px;
}
.brochure-desc {
  margin-top: 8px;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.brochure-meta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #999;
}
.brochure-format {
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 500;
  color: #666;
}

/* Cases Responsive */

/* ===== Case Detail Page (Belveo Style) ===== */

/* Header */
.case-detail-header {
  padding: 60px 0 0;
}

.cd-title {
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  color: #000;
  margin-bottom: 16px;
  line-height: 1.3;
}

.cd-meta {
  text-align: center;
  font-size: 16px;
  font-weight:400;
  color: #000;
}

.cd-btn-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cd-action-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 3px;
  transition: opacity 0.2s ease;
}

.cd-action-btn:hover {
  opacity: 0.8;
}

/* Featured Image */
.cd-featured-section {
  padding: 40px;
}

.cd-featured-inner {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
}

.cd-main-image {
  width: 100%;
  display: block;
  border-radius: 6px;
}

.cd-placeholder-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #c5d4c0 0%, #a8bba3 100%);
  border-radius: 6px;
}

/* Content */
.cd-content-section {
  padding: 50px 0;
  margin:0 auto;
  max-width: 800px;
}

.cd-content-body {
  font-size: 18px;
  color: #000;
  line-height: 1.85;
}
.cd-content-body img{
  width:1200px;
  max-width: none;
  display: block;
  margin-left: calc((100% - 1200px) / 2);
  margin-bottom: 24px;
}
.cd-content-body p{
  margin: 0 0 24px;
}
.cd-content-body p:last-child{
  margin-bottom: 0;
}

.md-height-space{
  height:40px;
}

/* FAQ Section */
.cd-faq-section {
  padding: 60px 0;
}

.cd-faq-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: #000;
  margin-bottom: 36px;
  letter-spacing: 0.5px;
}

.cd-faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.cd-faq-item {
  border-bottom: 1px solid #e5e5e5;
}

.cd-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 0;
  background: transparent;
  border: none;
  font-size: 20px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.cd-faq-question:hover {
  color: #000;
}

.cd-faq-icon {
  font-size: 22px;
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.25s ease;
}

.cd-faq-question.open .cd-faq-icon {
  transform: rotate(45deg);
}

.cd-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.cd-faq-answer p {
  font-size: 13px;
  color: #666;
  line-height: 1.75;
  padding-bottom: 18px;
}

/* Bottom Cards */
.cd-cards-section {
  padding: 60px 0 80px;
}

.cd-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cd-bottom-card {
  background: #e6e6dc;
  padding: 40px;
  border-radius: 4px;
}

.cd-card-title {
  font-size: 24px;
  font-weight: 500;
  color: #000;
}

.cd-card-desc {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.65;
  margin: 20px 0;
  height:100px;
}

.cd-card-btn {
  display: inline-block;
  padding: 12px 32px;
  background: #fff;
  border: 1px solid #ddd;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  border-radius: 3px;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}

.cd-card-btn:hover {
  background: rgb(243, 243, 243);
}

/* Case Detail Responsive */

/* ===== News List Page (Belveo Style) ===== */

/* Header */
.news-header-section {
  padding: 80px 0 0;
}

.news-main-title {
  text-align: center;
  text-transform: uppercase;
  font-size: 40px;
  font-weight: 500;
  color: #000;
  margin-bottom: 40px;
}

/* Grid */
.news-grid-section {
  padding: 0 0 60px;
}

.news-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.news-item-card {
  display: block;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.news-item-img {
  background: #f5f5f3;
  border-radius: 4px;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 16px;
}

.news-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8ebe9 0%, #dddcd6 100%);
}

.news-item-title {
  font-size: 30px;
  font-weight: 400;
  color: #000;
  line-height: 1.45;
  margin-bottom: 10px;
  overflow: hidden;
}

.news-item-excerpt {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 12px;
  overflow: hidden;
}

.news-item-meta {
  font-size: 13px;
  display: inline-block;
}

.news-empty {
  grid-column: 1 / -1;
  padding: 60px 20px;
  color: #999;
}

/* News Responsive */

/* ===== News Detail Page ===== */

/* Banner - full width (outside main-content) */
/* Header: title + publish time (like case detail) */
.nd-detail-header {
  text-align: center;
  padding-top: 60px;
  margin-bottom: 40px;
}

.nd-title {
  font-size: 40px;
  font-weight: 500;
  color: #000;
  line-height: 1.3;
  margin: 0 0 12px;
}

.nd-publish-time {
  font-size: 16px;
  color: #999;
  margin: 0;
}

/* Content */
.nd-content-section {
  padding: 0 0 80px;
}

.nd-body {
  font-size: 14px;
  color: #333;
  line-height: 1.85;
  margin-bottom: 56px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.nd-body p {
  margin: 20px auto;
  font-size: 16px;
  font-weight: 400;
  max-width: 800px;
}

.nd-body img {
    display: block;
    width: min(calc(100vw - 144px), 1200px);
    max-width: initial;
    height: auto;
    border-radius: var(--radius-md);
    margin-left: calc(50% - min(calc(100vw - 144px), 1200px) / 2);
    margin-bottom: 20px;
}

/* Tables from rich text editor */
.nd-body table{
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: inherit;
}

.nd-body th,
.nd-body td{
  border: 1px solid #ddd;
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}

.nd-body th {
  font-weight: 600;
  background: #f7f7f7;
  color: #222;
}

.nd-body ul li,.nd-body ol li{
  margin:10px 20px;
}

.nd-body tr:nth-child(even){
  background: #fafafa;
}

/* Prev / Next Navigation */
.nd-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid #e5e5e5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.nd-nav-btn {
  font-size: 16px;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.nd-nav-btn:hover {
  opacity: 0.6;
}

.nd-nav-center {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nd-nav-center:hover {
  color: #000;
}

.nd-nav-empty {
  flex: 1;
}

/* Share Bar */
.nd-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.nd-share-label {
  font-weight: 500;
  margin-right: 4px;
}

.sharing-list {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sharing-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #444;
  transition: all 0.2s ease;
}

.sharing-link svg {
  width: 28px;
  height: 28px;
}

.sharing-link:hover {
  color: #222;
  transform: translateY(-1px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* Author Line */
.nd-author-line {
  font-size: 13px;
  font-weight: 400;
  color: #000;
  margin-bottom: 36px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* News Detail Responsive */

/* ===== 404 Error Page ===== */
.error404-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.error404-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url('/images/404.webp') center/cover no-repeat;
  z-index: 0;
}

.error404-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 40px;
  max-width: 640px;
}

.error404-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.35;
}

.error404-badge {
  display: inline-block;
  padding: 6px 20px;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.error404-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin-bottom: 36px;
}

.error404-btn {
  display: inline-block;
  padding: 12px 36px;
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.error404-btn:hover {
  background: #fff;
  color: #222;
}


/* ===== Cart Drawer (Right Slide Overlay) ===== */

/* Overlay */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0; /* 重点：靠右对齐 */
  width: 480px;
  max-width: 92vw;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  
  /* 1. 默认向右完全平移出视口（隐形状态，绝对不会撑出横向滚动条） */
  transform: translateX(100%);
  
  /* 2. 动画过渡从 right 改为 transform */
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.open {
  transform: translateX(0);
}

/* Header */
.cart-drawer-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
  background: #fff;
}

.cart-drawer-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  cursor: pointer;
  color: #333;
  flex-shrink: 0;
  margin-right: 14px;
  transition: all 0.2s;
}

.cart-drawer-close:hover {
  background: #f5f5f5;
}

.cart-drawer-title {
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0;
  flex: 1;
}

.cart-item-count {
  font-size: 12px;
  font-weight: 400;
  color: #999;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 4px;
}

/* Body */
.cart-drawer-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 10px;
}

/* Empty State */
.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
  color: #bbb;
}

.cart-empty-state svg {
  margin-bottom: 14px;
  opacity: 0.6;
}

.cart-empty-state p {
  font-size: 13px;
  margin: 0;
}

/* Items */
.cart-items-list {
  /* container */
}

.cart-item {
  display: flex;
  align-items: flex-start;
  padding: 16px 20px;
  border-bottom: 1px solid #f2f2f2;
  gap: 12px;
  position: relative;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  background: #f7f7f5;
  border-radius: 4px;
  overflow: hidden;
  display: block;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0ede8, #e8e4de);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-right: 20px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.25px;
}

.cart-item-name:hover {
  opacity: 0.7;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

/* Quantity Selector */
.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
}

.qty-btn {
  width: 30px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  color: #333;
  line-height: 1;
  transition: background 0.15s;
}

.qty-btn:hover {
  background: #f5f5f5;
}

.qty-input {
  width: 34px;
  height: 32px;
  text-align: center;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  font-size: 13px;
  font-weight: 500;
  color: #222;
  outline: none;
  background: #fafafa;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  white-space: nowrap;
}

/* Remove Button */
.cart-item-remove {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: #ccc;
  padding: 4px;
  transition: color 0.2s;
}

.cart-item-remove:hover {
  color: #e74c3c;
}

/* Footer */
.cart-drawer-footer {
  padding: 18px 20px;
  border-top: 1px solid #eee;
  flex-shrink: 0;
  background: #fff;
}

.cart-payment-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  color: #777;
  background: #f7f7f5;
  padding: 9px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.cart-payment-note svg {
  flex-shrink: 0;
  color: #aaa;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  font-size: 14px;
  color: #333;
}

.cart-total-row strong {
  font-size: 17px;
  color: #000;
}

.cart-checkout-btn {
  width: 100%;
  padding: 14px 20px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background 0.25s;
  margin-top: 6px;
}

.cart-checkout-btn:hover {
  background: #333;
}

.cart-delivery-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  color: #888;
  margin-top: 10px;
}

.cart-delivery-note svg {
  flex-shrink: 0;
}

/* Cart Badge on Header Icon */
.cart-count-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  background: var(--orange-color);
  color: #fff;
  font-size: 9px;
  font-weight: 500;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  display: none; /* hidden when 0 */
}

.cart-count-badge:not(:empty) {
  display: flex;
}

/* Responsive */

/* Add to Cart Button on Product Detail */
.add-to-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 12px;
}


/* ========================================
   Search Page Styles
   ======================================== */
.search-page-section {
  padding: 40px 0 80px;
}

.search-page-header {
  margin-bottom: 32px;
}

.search-page-box {
  max-width: 640px;
  margin: 0 auto 40px;
}

.search-page-form {
  width: 100%;
}

.search-page-input-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 0 16px;
  transition: var(--transition);
}

.search-page-input-wrapper:focus-within {
  border-color: var(--primary-color);
}

.search-page-icon {
  flex-shrink: 0;
  color: var(--light-text);
  margin-right: 12px;
}

.search-page-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 0;
  font-size: 16px;
  font-family: var(--font-body);
  background: transparent;
  color: var(--text-color);
}

.search-page-input::placeholder {
  color: #bbb;
}

.search-page-submit-btn {
  flex-shrink: 0;
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 14px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.search-page-submit-btn:hover {
  opacity: 0.85;
}

/* Search Results Header */
.search-results-header {
  margin-bottom: 32px;
  text-align:center;
}

.search-results-count {
  font-size: 15px;
  color: var(--light-text);
}

.search-results-count strong {
  color: var(--text-color);
}

/* Search Results Grid */
.search-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.search-result-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  background: var(--bg-white);
}

.search-result-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.search-result-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-light);
}

.search-result-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.search-result-card:hover .search-result-img img {
  transform: scale(1.05);
}

.search-result-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-light);
}

.search-result-info {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-result-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-result-category {
  font-size: 12px;
  color: var(--light-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-result-price {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-color);
  margin-top: 4px;
}

/* Search Pagination */
.search-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.search-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-white);
  font-size: 13px;
  color: var(--text-color);
  transition: var(--transition);
  cursor: pointer;
}

.search-page-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.search-page-btn.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.search-page-btn.prev,
.search-page-btn.next {
  font-size: 13px;
}

/* Random Products Section */
.search-random-section {
  text-align: center;
  margin-top: 16px;
}

.search-random-title {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 8px;
}

.search-random-desc {
  font-size: 14px;
  color: var(--light-text);
  margin-bottom: 36px;
}

.search-random-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0 auto;
}

.search-random-card {
  display: block;
  transition: var(--transition);
}


.search-random-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-light);
}

.search-random-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.search-random-card-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-light);
}

.search-random-card-name {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 0 12px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  z-index: 2;
  line-height: 1.3;
}

.search-random-card-category {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  z-index: 2;
}


/* ========== Checkout Page Styles ========== */

/* Checkout Layout */
.checkout-layout {
    max-width: 1000px;
    margin: 0 auto;
}
.checkout-form-wrapper {
    padding-right: 0;
}

/* Cart Items */
.checkout-cart-items {
    background: #fff;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.checkout-empty-cart { color: #999; font-size: 14px; }
.checkout-empty-cart a { color: #000; text-decoration: underline; }
.checkout-items-list { margin-bottom: 12px; }
.checkout-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
}
.checkout-item-row:last-child { border-bottom: none; }
.checkout-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.checkout-item-img {
    width: 100px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    background: #eee;
    flex-shrink: 0;
}
.checkout-item-img img { width: 100%; height: 100%; object-fit: cover; }
.checkout-no-img { background: linear-gradient(135deg, #e0e5ec 0%, #d4dce6 100%); }
.checkout-item-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.checkout-item-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--black-text);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.checkout-item-qty { font-size: 14px; color: #888; }
.checkout-total-row {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 2px solid #ddd;
    font-size: 17px;
}
.checkout-total-row strong { font-weight: 500; }
.checkout-total-row span{font-size: 16px;}

/* Success Modal */
.checkout-success-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.checkout-success-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.checkout-success-content {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 12px;
    padding: 40px 48px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.checkout-success-icon {
    width: 56px;
    height: 56px;
    line-height: 56px;
    border-radius: 50%;
    background: #52c41a;
    color: #fff;
    font-size: 28px;
    margin: 0 auto 16px;
}
.checkout-success-content h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: #000; }
.checkout-success-content p { font-size: 14px; color: #666; margin-bottom: 24px; line-height: 1.6; }

/* Notification */
.contact-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -120%);
    z-index: 10000;
    max-width: 400px;
    padding: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}
.contact-notification.show { transform: translate(-50%, -50%); }
.notification-content { display: flex; align-items: center; padding: 16px 20px; gap: 12px; }
.notification-icon {
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-notification-success .notification-icon { background: #4caf50; color: #fff; }
.contact-notification-error .notification-icon { background: #f44336; color: #fff; }
.notification-message { flex: 1; font-size: 14px; line-height: 1.4; color: #333; }
.notification-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.2s;
}
.notification-close:hover { color: #333; }

/* ============================================================
   Contact Page (zh) — moved from inline <style> in
   templates/zh/contact.html.twig to eliminate FOUC flash
   ============================================================ */
/* ===== Contact Channel Cards Section (Chinese) ===== */
.contact-cards-section {
  padding: 80px 0;
  background-color: #f7f6f5;
}

.contact-cards-title {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 500;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 12px;
}

.contact-cards-subtitle {
  font-family: var(--font-body);
  font-size: 17px;
  color: #666;
  text-align: center;
  margin-bottom: 48px;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-channel-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  gap: 14px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-channel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.channel-card-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: var(--grey-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
}

.channel-card-label {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #888;
}

.channel-card-value {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--primary-color);
  line-height: 1.4;
}


/* ============================================================
   Contact Page (en) — moved from inline <style> in
   templates/en/contact.html.twig to eliminate FOUC flash
   ============================================================ */
/* ===== Contact Page - New Design (Wood Left + Dark Right) ===== */
.contact-section-new {
  padding: 0;
  border-radius: var(--radius-md);
}

.contact-section-new .contact-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}

/* ===== Left Panel: Wood Texture ===== */
.contact-info-panel {
  border-top-left-radius: var(--radius-md);
  border-bottom-left-radius: var(--radius-md);
  padding: 80px 60px;
  background-color: #d4b896;
  background-image: url('/images/wood-bg.webp');
  background-size: cover;
  background-position: center;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.contact-info-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,184,150,.25) 0%, rgba(184,154,104,.35) 100%);
  pointer-events: none;
}

.contact-info-panel-title {
  font-family: var(--font-title);
  font-size: 40px;
  text-transform: uppercase;
  font-weight: 500;
  color: #000;
  margin-bottom: 16px;
  line-height: 1.2;
  position: relative;
}

.contact-info-panel-desc {
  font-family: var(--font-body);
  font-size: 16px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 420px;
  position: relative;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
  position: relative;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
  position: relative;
}

.contact-item-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3e2723;
  transition: all 0.25s ease;
}


.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}

.contact-item-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #6d5544;
}

.contact-item-value {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
}

/* Follow Us */
.contact-follow-us {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.follow-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #6d5544;
}

.follow-icons {
  display: flex;
  gap: 10px;
}

.follow-icon-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3e2723;
  transition: all 0.25s ease;
  text-decoration: none;
}

/* ===== Right Panel: Dark Form ===== */
.contact-form-panel-dark {
  padding: 80px 60px;
  background-color: #2d3035;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top-right-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

.form-dark-title {
  font-family: var(--font-title);
  text-transform: uppercase;
  font-size: 40px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.form-dark-desc {
  font-family: var(--font-body);
  font-size: 16px;
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-form-dark {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.dark-form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: #ccc;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.dark-form-group input,
.dark-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.18);
  background-color: rgba(255,255,255,.05);
  font-family: var(--font-body);
  font-size: 15px;
  color: #e0e0e0;
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.dark-form-group input::placeholder,
.dark-form-group textarea::placeholder {
  color: #666;
}

.dark-form-group input:focus,
.dark-form-group textarea:focus {
  border-bottom-color: rgba(255,255,255,.5);
  background-color: rgba(255,255,255,.08);
}

.dark-form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.dark-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.submit-btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  background-color: #efefef;
  color: #333;
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: 8px;
}


.dark-form-group .field-error {
  border-bottom-color: #e57373 !important;
}

/* ===== Dark Success Message ===== */
.form-success-dark {
  background: rgba(74,124,89,.15);
  border-radius: 8px;
  padding: 48px 32px;
}

.form-success-dark h2 {
  color: #e0e0e0 !important;
}

.form-success-dark p {
  color: #9aa0ab !important;
}

.form-success-dark .success-icon {
      text-align: center;
    width: 56px;
    height: 56px;
    line-height: 56px;
    border-radius: 50%;
    background: #52c41a;
    color: #fff;
    font-size: 28px;
}



/* ===== Legacy: Error notification (keep for compat) ===== */
.form-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  max-width: 400px;
  padding: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateX(120%);
  transition: transform 0.3s ease;
}

.form-notification.show {
  transform: translateX(0);
}

.notification-content {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  gap: 12px;
}

.notification-icon {
  font-size: 24px;
  font-weight: bold;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-notification-error .notification-icon {
  background: #f44336;
  color: #fff;
}

.notification-message {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
}

.notification-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s;
}

.notification-close:hover {
  color: #333;
}

.field-error-message {
  color: #e57373;
  font-size: 13px;
  margin-top: 6px;
  line-height: 1.4;
}

/* 报错信息绝对定位，脱离文档流：显示时不撑高面板，
   左侧木纹面板因此不会被拉伸、背景也不会随高度重算而跳动 */
.contact-form-dark .dark-form-group {
  position: relative;
}
.contact-form-dark .field-error-message {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  z-index: 2;
}

/* ========== Sales Team Section ========== */
.sales-team-section {
  padding: 70px 0;
  background: #fff;
}
.sales-team-title {
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.sales-team-subtitle {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 50px;
}
.sales-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: none;
  margin: 0;
}
.sales-team-card {
  background: #efefef;
  border-radius: 14px;
  padding: 60px 40px 48px;
  text-align: center;
}
.team-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.team-avatar img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
}
.team-name {
  font-size: 24px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 6px;
}
.team-role {
  font-size: 16px;
  color: #777;
  margin: 0 0 24px;
}
.team-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  border-top: 1px solid #ddd;
  padding-top: 22px;
}
.team-contacts li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #444;
  padding: 8px 0;
  line-height: 1.5;
}
.team-contacts li svg {
  flex-shrink: 0;
  opacity: .65;
}
.team-contacts a {
  color: #444;
  text-decoration: none;
  transition: color .2s;
}
.team-contacts a:hover {
  color: #2a7f62;
}

/* ===== Responsive / Mobile Styles ===== */

@media (max-width: 1024px) {
  .case-card-title{
    text-align: left;
    padding-left:0;
    padding-right: 0;
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .collections-grid{
    padding:0 40px;
  }
  .service-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    align-items: start;
    margin-left: 0;
    margin-right: 0;
  }

  .service-item {
    min-width: unset;
    max-width: unset;
  }

  .about-feature-grid {
    gap: 30px;
    align-items: stretch;
  }

  .feature-image {
    height: 100%;
    overflow: hidden;
    border-radius: 4px;
  }

  .feature-image img {
    height: 100%;
    object-fit: cover;
  }

  .about-cta-grid {
    gap: 30px;
    align-items: stretch;
  }

  .cta-image {
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
  }

  .cta-image img {
    height: 100%;
    object-fit: cover;
  }

  .media-text-content {
    padding:0;
    justify-content: flex-start;
  }

  .media-title {
    margin-top: 40px;
    margin-bottom: 0;
  }

  .products-grid-modern {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 14px;
  }

  .filter-group {
    gap: 6px;
  }

  .filter-dropdown-btn {
    padding: 7px 12px;
    font-size: 10px;
  }

  .feature-specs-wrapper {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  
  .collection-card-name{
    font-size:16px;
  }

  .search-results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .search-random-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nd-body{
    max-width: 600px;
  }

   .news-item-title{
    font-size: 20px;
  }

  /* Service guarantee icons ("WITH YOU FOR THE LONG TERM"): 4 columns.
     Shared component appears on products list and product detail pages. */
  .service-items {
    grid-template-columns: repeat(4, 1fr);
  }

  .case-studies-inner {
    padding:40px;
  }


  .cd-content-section{
    padding: 40px 0;
    max-width: 100%;
   }

   .news-item-title{
    font-size: 20px;
   }
}


/* iPad Air / iPad Pro portrait (801–1024px) */
@media (min-width: 801px) and (max-width: 1024px) {
  /* Home "New Project" cases: 4 columns (overrides @media(max-width:1024px) rule).
     iPad Mini portrait (768–800px) keeps 2 columns from that rule. */
  


}

/* ===== Tablet (iPad Mini / Air / Pro portrait 768–1024) ==========================
   Unified 40px side gutter for ALL pages, mirroring the desktop model where
   .main-content owns the gutter and inner sections have no horizontal padding.
   Phones (<768px) keep the mobile per-section 16/20px paddings. */
@media (min-width: 768px) and (max-width: 1024px) {

  /* Single 40px gutter source (same as desktop). Restores the horizontal padding
     the mobile block zeroed out. Keeps the fixed-header top offset. */
 

  /* Homepage hero fills the padded content box → 40px gutters automatically.
     Just restore the rounded corners the mobile block flattened. */
  .hero-inner {
    border-radius: var(--radius-md);
  }
  .hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .categories-gallery {
    padding: 60px 0;
  }

  /* Zero the mobile-added horizontal padding on page-level content sections so
     they rely on .main-content's 40px gutter (matches desktop). Vertical padding
     is preserved. Component boxes with intentional inner padding (colored/CTA
     cards, dark form panels) are deliberately excluded. */
  .products-list-section,
  .cases-header-section,
  .cases-grid-section .cases-card-grid,
  .news-header-section,
  .news-grid-section,
  .news-grid-section .news-card-grid,
  .nd-content-section,
  .cd-faq-section,
  .about-feature-section,
  .about-cta-section,
  .about-team-section,
  .products-cta-section,
  .our-collections-section,
  .search-page-section,
  .pd-blog-section {
    padding-left: 0;
    padding-right: 0;
  }

  

  /* Contact page: sales team section relies on main-content gutter */
  .sales-team-section {
    padding: 70px 0;
  }

  /* Contact form: ensure error messages don't overlap labels on tablet */
  .contact-form-panel-dark {
    padding: 50px 28px;
  }
  .contact-form-dark {
    gap: 24px;
  }
  .dark-form-row {
    gap: 24px;
  }
  .field-error-message {
    margin-bottom: 10px;
  }
}


/**ipad air**/
@media (max-width: 820px) {
  /* Fixed compact header (same layout as mobile) */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    border-bottom: 1px solid rgb(226, 226, 226);
    background-color: #fff;
    z-index: 1000;
  }

  .header-container {
    height: 100%;
  }

  .header-top {
    padding: 0 40px;
    height: 100%;
  }

  .header-top-inner {
    padding:0;
    height: 100%;
  }

  /* Show mobile header elements */
  .header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }

  .header-left .mobile-menu-toggle {
    display: flex;
  }

  .header-right {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
  }

  .header-top-spacer,
  .header-icons {
    display: none;
  }

  .header-top .logo-mobile {
    display: flex !important;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }

  .logo-image {
    height: 52px;
    width: auto;
    display: block;
  }

  /* Hide desktop nav row completely */
  .header-bottom {
    display: none !important;
  }

  /* Account for fixed header height */
  .main-content {
    padding-top: 56px;
  }

  /* ===== Mobile Navigation Panel (full styling for tablet) ===== */
  .mobile-nav {
    display: none !important;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: 1000;
    flex-direction: column;
  }

  .mobile-nav.open {
    display: flex !important;
  }

  /* --- Top Bar (Close | Logo | Search+Cart) --- */
  .mobile-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 56px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
  }

  .mobile-nav-left {
    display: flex;
    align-items: center;
    gap: 2px;
    width: 80px;
    justify-content: flex-start;
  }

  .mobile-nav-close-btn {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: none; background: transparent;
    cursor: pointer; color: #222;
  }

  .mobile-nav-bar .logo-mobile {
    position: absolute; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center;
  }

  .mobile-nav-bar .header-right {
    display: flex; align-items: center;
    gap: 4px;
    width: 80px;
    justify-content: flex-end;
  }

  /* --- Panels Container --- */
  .mobile-nav-panels {
    flex: 1;
    overflow: hidden;
    position: relative;
  }

  .mobile-nav-panel {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    opacity: 0;
  }

  .mobile-nav-panel.active {
    transform: translateX(0);
    opacity: 1;
  }

  .mobile-nav-panel[data-level="0"] {
    transform: translateX(0);
    opacity: 1;
  }

  /* --- Panel Header (Back + Title) --- */
  .mobile-nav-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .mobile-nav-back-btn {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border: none; background: transparent;
    cursor: pointer; color: #222;
  }

  .mobile-nav-panel-title {
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    text-align: center;
  }

  /* --- Panel Body --- */
  .mobile-nav-panel-body {
    padding: 8px 0;
  }

  /* --- Menu Items (Main level) --- */
  .mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    color: #000;
    border-bottom: 1px solid #f5f5f5;
    text-align: left;
    text-decoration: none;
  }
  .mobile-nav-link.active { color: var(--primary-color, #c49a6c); }

  /* --- Row items (with arrow/plus) --- */
  .mobile-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-nav-row:active { background: #f9f9f9; }

  .mobile-nav-title {
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
  }

  .mobile-nav-subtitle {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: #000;
  }

  .mobile-nav-arrow {
    font-size: 22px;
    color: #444;
    flex-shrink: 0;
    margin-left: 12px;
  }

  /* --- Submenu items --- */
  .mobile-nav-subitem {
    display: block;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 400;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
  }
  .mobile-nav-subitem::after {
    content: '→';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #444;
    font-size: 20px;
  }

  .mobile-nav-sublink {
    display: block;
    padding: 14px 24px;
    font-size: 20px;
    font-weight: 400;
    color: #000;
    border-bottom: 1px solid #f7f7f7;
    position: relative;
  }
  .mobile-nav-sublink::after {
    content: '→';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
  }

  /* --- Mobile Nav Promo Cards --- */
  .mobile-nav-promo {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px;
    margin-top: 0;
    border-top: 1px solid #f5f5f5;
  }

  .mobile-nav-promo-card {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    text-decoration: none;
    line-height: 0;
    margin: 0;
    padding: 0 !important;
  }

  .mobile-nav-promo-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: top;
  }

  .mobile-nav-promo-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 16px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.3px;
    font-family: var(--font-title);
    z-index: 1;
    line-height: 1.4;
  }

  /* Prevent desktop dropdown overlay on tablet */
  .dropdown-menu-overlay {
    display: none !important;
  }

  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

   .sales-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}




@media (max-width: 768px) {
   .main-content {
    padding-left: 40px;
    padding-right: 40px;
  }

   .partner-brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

   .cases-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
 
  .case-card-title{
    text-align: left;
    padding-left: 0;
    padding-right: 0;
  }
  /* About page gallery: 2-column grid, hide carousel on tablet. */
  .about-gallery-section {
    padding-left: 0;
    padding-right: 0;
  }
  .about-gallery-grid {
    display: grid ;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
   .about-gallery-carousel {
    display: none;
  }
  /**contact*/
  .contact-cards-section {
    padding: 60px 0;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-channel-card {
    padding: 32px 24px;
    flex-direction: row;
    text-align: left;
    justify-content: flex-start;
  }

  .channel-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }

  .contact-faq-section {
    padding: 20px;
  }
  .contact-info-panel {
    padding: 48px 28px;
  }

  .contact-form-panel-dark {
    padding: 48px 28px;
  }

 

  .dark-form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Ensure error messages don't overlap with next field label */
  .field-error-message {
    margin-bottom: 10px;
  }

  .submit-btn-green {
    width: 100%;
  }

    .contact-section-new .contact-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-info-panel, .contact-form-panel-dark {
    padding: 60px 40px;
    border-radius: var(--radius-md);
  }

  .checkout-layout { max-width: 100%; padding:20px;}
    .checkout-item-img { width: 44px; height: 44px; }
    .checkout-item-name { font-size: 14px; }
    .checkout-item-img{width:80px;height:80px;}
  .header-contact-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 11px;
  }
 
 
  .cd-faq-section{
    padding:40px 20px;
  }
  .about-feature-section{
    padding:40px 20px;
  }  
  .about-story-section{
    margin-bottom:10px;
  }
  .about-cta-section{
    padding:40px 20px;
  }
  .about-story-title{
    font-size:24px;
  }
  .about-hero-title{
    margin:45px 0;
  }
  .about-hero-desc{
    margin-bottom:45px;
  }
  .cta-heading{
    font-size:24px;
  }
  .about-story-content{
    padding:40px 20px;
  }

  .about-team-section{
    padding:60px 20px;
  }
  .contact-faq-section{
    padding:20px;
  }
  .contact-section{
    padding:0;
  }

  .team-name{
    font-size:24px;
  }
  .team-role{
    font-size:18px;
  }
  .feature-title{
    font-size:24px;
  }   
  /** product detail page**/
  .product-detail-section{
    padding-top:0;
  }
  
  .pd-faq-section{
    padding:20px 0;
  }
  .pd-related-info{
    padding:0;
  }

  .pd-related-name{
    text-align: left;
  }

  .pd-blog-section{
    padding:20px;
  }
 
 
  .search-page-submit-btn{
    padding: 12px 16px;
  }
 

  .products-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 10px;
  }

  .filter-bar {
    justify-content: center;
  }

  /* Category Filter Bar - Mobile (border tabs like reference) */
  .category-filter-bar {
    justify-content: flex-start;
    gap: 8px;
    margin-top: 24px;
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
  .category-filter-bar::-webkit-scrollbar { display: none; }

  .category-option {
    padding: 9px 18px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: rgb(239,239,239);
    color: #000;
    flex-shrink: 0;
  }
 
  .category-option.active {
    background: #000;
    color: #fff;
    border-color: #000;
  }

  .filter-group {
    justify-content: center;
  }

  .product-name-modern {
    font-size: 14px;
    text-align: left;
  }

  .product-info-modern {
    padding: 12px 0;
  }

  .product-feature-section,
  .service-guarantee-section,
  .faq-section,
  .products-cta-section {
    padding: 50px 20px;
  }

  .feature-main-title {
    font-size: 20px;
  }

  .about-hero-section{
    padding:0;
  }

  .service-item {
    min-width: unset;
    max-width: unset;
  }

  .service-icon svg {
    width: 80px;
    height: 80px;
  }

  


  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .container {
    padding: 0;
  }


  /* Mobile List Category*/
  .products-list-section{
    padding:40px 20px;
  }

  .case-item-title{
    font-size:14px;
    margin-bottom:12px;
    text-align: left;
  }

  .cases-header-section{
    padding:40px 20px 0 16px
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    border-bottom: 1px solid rgb(226, 226, 226);
    background-color: #fff;
    z-index: 1000;
  }

  .header-container {
    height: 100%;
  }

  

  .header-top-inner {
    height: 100%;
  }

  .header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }

  .header-left .mobile-menu-toggle {
    display: flex;
  }

  .header-right {
    display: flex;
    align-items: center;
    gap:4px;
    flex-shrink: 0;
  }

  .header-top-spacer,
  .header-icons {
    display: none;
  }

  .header-top .logo-mobile {
    display: flex !important;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }

  .logo-image {
    height: 52px;
    width: auto;
    display: block;
  }

  /* Hide PC header-bottom completely on mobile */
  .header-bottom {
    display: none !important;
  }

  /* ===== Mobile Navigation (Panel Slide-in) ===== */
  .mobile-nav {
    display: none !important;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: 1000;
    flex-direction: column;
  }

  .mobile-nav.open {
    display: flex !important;
  }

  /* --- Top Bar (X | Search | Logo | Cart) --- */
  .mobile-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height:56px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
  }

  .mobile-nav-left {
    display: flex;
    align-items: center;
    gap: 2px;
    width: 80px;
    justify-content: flex-start;
  }

  .mobile-nav-close-btn {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: none; background: transparent;
    cursor: pointer; color: #222;
  }

  /* Logo & icons reuse header classes — position overrides for nav bar */
  .mobile-nav-bar .logo-mobile {
    position: absolute; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center;
  }
  .mobile-nav-bar .header-right {
    display: flex; align-items: center;
    gap: 4px;
    width: 80px;
    justify-content: flex-end;
  }

  /* --- Panels Container --- */
  .mobile-nav-panels {
    flex: 1;
    overflow: hidden;
    position: relative;
  }

  /* Each panel: full size, positioned absolutely, slide in/out */
  .mobile-nav-panel {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    opacity: 0;
  }

  .mobile-nav-panel.active {
    transform: translateX(0);
    opacity: 1;
  }

  /* Level 0 main panel is visible by default */
  .mobile-nav-panel[data-level="0"] {
    transform: translateX(0);
    opacity: 1;
  }

  /* --- Panel Header (Back + Title) --- */
  .mobile-nav-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .mobile-nav-back-btn {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border: none; background: transparent;
    cursor: pointer; color: #222;
  }

  .mobile-nav-panel-title {
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    text-align: center;
  }

  /* --- Panel Body --- */
  .mobile-nav-panel-body {
    padding: 8px 0;
  }

  /* --- Menu Items (Main level) --- */
  .mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    color: #000;
    border-bottom: 1px solid #f5f5f5;
    text-align: left;
    text-decoration: none;
  }
  .mobile-nav-link.active { color: var(--primary-color, #c49a6c); }

  /* --- Row items (with arrow/plus) --- */
  .mobile-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-nav-row:active { background: #f9f9f9; }

  .mobile-nav-title {
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
  }

  .mobile-nav-subtitle {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: #000;
  }

  .mobile-nav-arrow {
    font-size: 22px;
    color: #444;
    flex-shrink: 0;
    margin-left: 12px;
  }

  /* --- Submenu items --- */
  .mobile-nav-subitem {
    display: block;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 400;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
  }
  .mobile-nav-subitem::after {
    content: '→';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #444;
    font-size: 20px;
  }

  .mobile-nav-sublink {
    display: block;
    padding: 14px 24px;
    font-size: 20px;
    font-weight: 400;
    color: #000;
    border-bottom: 1px solid #f7f7f7;
    position: relative;
  }
  .mobile-nav-sublink::after {
    content: '→';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
  }

  /* --- Mobile Nav Promo Cards --- */
  .mobile-nav-promo {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px;
    margin-top: 0;
    border-top: 1px solid #f5f5f5;
  }

  .mobile-nav-promo-card {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    text-decoration: none;
    line-height: 0;
    margin: 0;
    padding: 0 !important;
  }

  .mobile-nav-promo-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: top;
  }

  .mobile-nav-promo-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 16px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.3px;
    font-family: var(--font-title);
    z-index: 1;
    line-height: 1.4;
  }

  /* --- Mobile Nav Footer (页面底部Footer移动端) --- */
  .footer {
    padding: 0;
  }

  .footer-social {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-social .social-icon {
    width: 36px;
    height: 36px;
  }

  .footer-social .social-icon svg {
    height: 16px;
  }

  .footer-up-btn {
    max-width: 100%;
    padding: 12px 20px;
    font-size: 13px;
  }

  .mfooter-text {
    font-size: 12px;
    color: #777;
    line-height: 1.6;
    padding: 4px 0;
    margin: 0 !important;
  }

  .mfooter-copyright {
    padding: 20px 24px;
    text-align: center;
    font-size: 12px;
    color: #999;
  }

  /* Footer new layout to match provided design */
  .footer-bottom {
    padding: 26px 24px;
    text-align: center;
    background: var(--light-color);
  }

  .footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
  }

  .footer-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #222;
    background: transparent;
    border-radius: 4px;
    text-decoration: none;
  }

  .footer-social svg { width:18px; height:18px; }

  .footer-accessibility {
    font-size: 13px;
    color: #666;
    margin: 6px 0 10px;
  }

  .footer-copyright-text {
    font-size: 12px;
    color: #888;
    margin: 6px 0;
  }

  .footer-legal-links {
    font-size: 12px;
    margin: 4px 0 6px;
  }

  .footer-up-btn {
    display: inline-block;
    margin: 18px auto 0;
    background: #333;
    color: #fff;
    border: none;
    padding: 12px 56px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 1px;
  }


  .home-more-inner{
    padding:0 20px;
  }

 
  .footer-social { gap: 10px; }
  .footer-up-btn { width: 80%; padding: 12px 0; margin-bottom: -20px;}
  .footer-accessibility { padding: 0 12px; }
  

  /* Hero mobile - 撑满屏幕 */
  .hero-section {
    margin: 0;
    width: 100%;
  }

  .hero-inner {
    height: 480px;
    max-width: none;
  }

  .hero-overlay {
    padding: 24px 20px;
  }

  /* Gallery mobile - carousel */
  .categories-gallery {
    padding: 32px 0 16px 0;
    overflow: hidden;
  }

  /* Carousel layout — only revealed on phones (≤576px); see @media (max-width: 576px) below */
  .gallery-carousel {
    position: relative;
  }

  .gallery-track {
    display: flex;
    transition: transform 0.4s ease;
  }

  .gallery-track .gallery-card {
    flex: 0 0 calc(100% - 32px);
    margin: 0 16px;
  }

  .carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    padding: 0 8px;
  }

  .carousel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }

  .carousel-dots {
    gap: 8px;
    width: 192px;
    align-items: center;
    text-align: center;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin:10px;
    background: #ddd;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    padding: 0;
  }

  .carousel-dot.active {
    background: var(--primary-color);
  }

  .news-header-section{
    padding-top:40px;
  }

  /* Media text mobile */
  .media-text-inner {
    padding: 0 20px;
  }

  .media-text-row,
  .media-text-row.reverse {
    flex-direction: column;
  }

  .media-text-content {
    padding: 0;
    align-items: center;
    text-align: center;
  }

  .media-text-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    max-width: none;
  }

  .media-text-content .media-btn {
    display: inline-flex;
    align-self: auto;
  }

  /* Reviews mobile */
  .reviews-inner {
    padding: 0 20px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    padding: 24px 20px;
  }

  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
    gap:16px;
    padding:0 20px;
  }
  


  .product-image-box {
    min-height: 280px;
    margin-left: -20px;
    margin-right: -20px;
  }
  .product-image-box img{
    max-height: auto;
  }

  /* Service Bar Responsive */
  .pd-service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-left: 0;
    margin-right: 0;
    padding: 0 16px;
  }

  .pd-service-item span {
    font-size: 11px;
  }

  /* Related Grid Responsive */
  .pd-related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }


  /* You May Like Grid Responsive */
  .pd-you-like-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .pd-you-like-title {
    font-size: 22px;
    margin-bottom: 28px;
  }
  
 

  .cases-main-desc {
    font-size: 13px;
    margin-bottom: 28px;
  }

   .contact-form-panel-dark{
    margin-top:20px;
  }


 

  .cd-featured-section {
    padding: 24px 16px;
  }

  .cd-btn-row {
    flex-direction: column;
    align-items: center;
  }

  .cd-action-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .cd-faq-title {
    font-size: 20px;
  }

  .cd-bottom-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  
  /**news detail**/
  .news-item-meta{
    margin-top:2px;
  }

  .nd-detail-header {
    padding-top: 32px;
    margin-bottom: 28px;
  }



  .nd-publish-time {
    font-size: 14px;
  }

  .nd-content-section {
    padding: 0px 20px;
  }

  .nd-body {
    font-size: 14px;
    margin-bottom: 32px;
  }
 

  .nd-nav {
    flex-direction: column;
    gap: 12px;
  }

  .nd-nav-btn,
  .nd-nav-center {
    text-align: center;
  }

  .nd-body th,
  .nd-body td {
    padding: 8px 10px;
    font-size: 13px;
  }

  .nd-body img{
    width: 100%;
    max-width: 100%;
    margin: 20px 0;
  }

  .error404-title {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .error404-content {
    padding: 40px 24px;
  }

  .search-page-section {
    padding: 24px 0 60px;
  }

  

  .search-page-box {
    padding: 0 16px;
  }

  .search-results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 16px;
  }

  .search-random-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 16px;
  }

 

  .search-result-name {
    font-size: 13px;
  }
  .our-collections-section{
    padding:40px 20px;
  }
 

   .sales-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  
   .news-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
   .cases-grid  {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
 

  .cart-drawer {
    width: 100vw;
    max-width: 100vw;
  }

  .cart-item-img {
    width: 64px;
    height: 64px;
  }

  .cart-item-name {
    font-size: 14px;
  }
}

/** mobile only control **/
@media (max-width: 480px) {
  /* 移动端修复左侧边距 */
  .product-detail-section .container,
  .pd-service-bar .container,
  .pd-faq-section .container,
  .pd-related-section .container,
  .pd-blog-section .container {
    padding: 0 16px;
  }

   .main-content {
    padding: 0;
    padding-top: 56px;
  }

  .header-top {
    padding: 0 16px;
    height: 100%;
  }
   .gallery-carousel {
    display: block;
  }

   .media-text-inner-top {
    padding: 20px;
  }

  .case-card-title{
    padding:16px 0;
  }
  .case-studies-section .section-title{
    padding-top: 20px;
    margin-bottom: 20px;
    font-size: 24px;
  }
   .cases-main-title {
    font-size: 24px;
    margin-bottom: 40px;
  }
  .media-title{
    font-size: 24px;
    margin-top:0px;
  }
  .hero-title{
    font-size: 24px;
  }


  .pd-related-title {
    font-size: 24px;
  }

    .nd-title {
    font-size: 24px;
  }

  .pd-blog-title {
    font-size: 24px;
  }
  .product-name-main {
    font-size: 24px;
  }

   .cd-title {
    font-size: 24px;
    padding: 0 40px;
  }
 .contact-info-panel-title,
  .form-dark-title {
    font-size: 24px;
  }

   .products-page-title {
    font-size: 24px;
    margin: 0 auto;
  }
  .search-random-title {
    font-size: 24px;
  }
  .collections-title{
    font-size:24px;
  }

  .pd-service-title{
    font-size:24px;
  }
  .pd-faq-title{
    font-size:24px;
  }
    /**home**/
  .home-more-inner .section-title{
    font-size:24px;
  }
   .contact-form-title{
    font-size:24px;
  }

   .form-group label{
    font-size: 16px;
  }
  /* About Gallery: hide grid, show carousel */
  .about-gallery-grid {
    display: none !important;
  }

   .gallery-grid {
    display: none !important;
  }

  .products-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding:0;
  }

  /** contact*/
  .faq-section-title{
    font-size: 24px;
  }
  

  .about-gallery-carousel {
    display: block;
    position: relative;
    overflow: hidden;
  }

  .about-gallery-carousel .gallery-track {
    display: flex;
    transition: transform 0.4s ease;
  }

  .about-gallery-carousel .gallery-item {
    flex: 0 0 calc(100% - 40px);
    margin: 0 20px;
    border-radius: 8px;
  }

  .about-feature-grid,
  .about-team-grid,
  .about-cta-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-team-grid.reverse .team-image,
  .about-team-grid.reverse .team-info {
    order: initial;
  }
 .sales-team-title{
  font-size:24px;
 }
  .about-hero-title {
    font-size: 24px;
  }

  .faq-title,
  .service-title {
    font-size: 24px;
  }

  .cta-title {
    font-size: 24px;
  }

  .about-hero-section{
    padding:0 20px;
  }

  .product-detail-grid-new {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* 移动端：图片在上，文字在下 */
  .product-info-left {
    order: 2;
    padding-right: 0;
  }

  .product-image-right {
    order: 1;
    position: static;
  }
 

   .cases-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding:0 20px;
  }
  .filter-dropdown-btn {
    padding: 6px 10px;
    font-size: 9px;
  }
  .contact-info-panel, .contact-form-panel-dark{
    padding:60px 20px;
  }

  .contact-section-new{
    padding: 0 20px;
  }

  /* Product Detail Service Grid - Mobile Fix */
  .pd-service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 8px;
    margin-left: 0;
    margin-right: 0;
    padding: 0 12px;
  }

  .pd-service-item svg {
    width: 48px;
    height: 48px;
  }

  .pd-service-item span {
    font-size: 11px;
  }

  /**news list**/
  .news-main-title {
    font-size: 24px;
    margin-bottom: 28px;
  }

  .news-header-section {
    padding: 40px 20px 0;
  }
  .news-grid-section{
    padding:0 20px;
  }
  .news-item-title{
    font-size:16px;
    font-weight:400;
  }
  .news-card-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }
  .cases-grid  {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .case-studies-inner{
    padding:0 20px;
  }
  .case-item-label{
    left:5px;
    padding: 6px 4px;
  }

  /**card**/
  .mobile-nav-promo-title{
    font-size: 18px;
  }

  /* Related Products - 2x2 Grid on Mobile */
  .pd-related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .pd-related-name {
    font-size: 14px;
    text-align: left;
    margin-bottom: 0;
  }

  .pd-related-category {
    font-size: 12px;
  }

  .service-items {
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    align-items: start;
  }

  /**case list**/
  .cases-grid-section{
    padding-top:0;
  }

  .mobile-nav-promo-card img{
    height: 140px;
  }
  .collections-grid{
    padding:0;
  }
  .sales-team-section { padding: 50px 20px; }
  .sales-team-grid {
    grid-template-columns: 1fr;
  }

  /**search**/
  .products-search-list-section{
    padding:40px 0;
  }
 
  .search-page-title{
    font-size: 24px;
    margin-top:0;
  }
}