body {
  margin: 0;
  font-family: 'Open Sans', 'Source Han Serif', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: #344A23;
  color: #fff;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  background: #344A23;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  height: 56px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.logo span {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: #C8B376;
  letter-spacing: 0.06em;
  margin-left: 0.2em;
  line-height: 1;
  display: inline-block;
}
.navbar nav a {
  color: #C8B376;
  text-decoration: none;
  margin-left: 32px;
  font-size: 1rem;
  transition: color 0.2s;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
}
.navbar nav a:hover {
  background: linear-gradient(135deg, #C8B376 0%, #D4AF37 50%, #C8B376 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-carousel {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.carousel-images {
  width: 100%;
  height: 100%;
  position: relative;
}
.carousel-img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s;
  z-index: 1;
  filter: brightness(0.6) blur(1px);
}
.carousel-img.active {
  opacity: 1;
  z-index: 2;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.25);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  padding: 0 18px;
  border-radius: 32px;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s;
}
.carousel-btn:hover {
  background: rgba(0,0,0,0.45);
}
.carousel-btn.prev { left: 32px; }
.carousel-btn.next { right: 32px; }
.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 2px solid #C8B376;
  cursor: pointer;
  transition: background 0.2s, border 0.2s;
}
.dot.active {
  background: #C8B376;
  border: 2px solid #fff;
}
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  color: #fff;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 0.5em;
  letter-spacing: 2px;
  color: #C8B376;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  text-shadow: none;
}
.hero-content h2 {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1.5em;
  color: #C8B376;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  text-shadow: none;
}
.intro {
  font-size: 1.1rem;
  margin-bottom: 2em;
  cursor: pointer;
  display: inline-block;
  transition: color 0.2s;
  color: #C8B376;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
}
.intro:hover {
  color: #C8B376;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.btn {
  position: relative;
  overflow: hidden;
  background: rgba(200,179,118,0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: #C8B376;
  border: 1px solid rgba(200,179,118,0.3);
  padding: 0.9em 2.2em;
  border-radius: 32px;
  font-size: 1.1rem;
  font-family: 'Open Sans', 'Source Han Serif', sans-serif;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(200,179,118,0.2);
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
}
.btn:hover {
  transform: scale(1.05);
  background: rgba(200,179,118,1);
  box-shadow: 0 12px 40px rgba(200,179,118,0.4);
  border: 1px solid rgba(200,179,118,0.5);
}
.btn-outline {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: #C8B376;
  border: 1px solid rgba(200,179,118,0.5);
}
.btn-outline:hover {
  background: rgba(200,179,118,0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: #344A23;
  box-shadow: 0 8px 32px rgba(200,179,118,0.3);
}


.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(200,179,118,0.25);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
  width: 120px;
  height: 120px;
  left: 50%;
  top: 50%;
  margin-left: -60px;
  margin-top: -60px;
  z-index: 2;
}
@keyframes ripple {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}
footer {
  background: #2a3b1c;
  color: #fff;
  padding: 32px 0 12px 0;
  font-size: 1rem;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 12px auto;
  padding: 0 32px;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair Display', serif;
  color: #C8B376;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  font-size: 1.1rem;
}
.footer-nav a {
  color: #C8B376;
  text-decoration: none;
  margin: 0 16px;
  transition: color 0.2s;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
}
.footer-nav a:hover {
  background: linear-gradient(135deg, #C8B376 0%, #D4AF37 50%, #C8B376 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-social a {
  margin: 0 8px;
  color: #C8B376;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(200,179,118,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(200,179,118,0.3);
}
.footer-social a:hover {
  transform: scale(1.1);
  background: rgba(200,179,118,0.3);
  border: 1px solid rgba(200,179,118,0.5);
  box-shadow: 0 4px 16px rgba(200,179,118,0.3);
}
.footer-social svg {
  width: 20px;
  height: 20px;
}
.footer-copy {
  text-align: center;
  color: #C8B376;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  font-size: 0.95rem;
  letter-spacing: 1px;
}
@media (max-width: 800px) {
  .navbar, .footer-main {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  .footer-main {
    align-items: flex-start;
    gap: 12px;
  }
  .hero-content h1 {
    font-size: 2.1rem;
  }
}

/* Common Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Title */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #C8B376;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  text-shadow: none;
}

/* About Us */
.about {
  padding: 80px 0;
  background: #344A23;
  color: #fff;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.about-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 32px;
  text-align: left;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(200, 179, 118, 0.2);
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.about-card-icon {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.about-card h3 {
  color: #C8B376;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.about-card h4 {
  color: #C8B376;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
  opacity: 0.9;
}

.about-card p {
  color: #fff;
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
}

.about-footer {
  text-align: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(200, 179, 118, 0.2);
}

.about-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: #C8B376;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .about-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
  }
  
  .about-card {
    padding: 24px;
  }
  
  .about-card h3 {
    font-size: 1.2rem;
  }
  
  .about-quote {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .about-cards {
    grid-template-columns: 1fr;
  }
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #C8B376;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  margin-bottom: 1.5rem;
  text-shadow: none;
}
.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 1.5rem;
}
.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* Services */
.services {
  padding: 80px 0;
  background: #344A23;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  text-align: center;
  padding: 0;
  border-radius: 16px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  aspect-ratio: 3 / 4;
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  max-width: 280px;
  margin: 0 auto;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
}
.service-img {
  width: 100%;
  height: 75%;
  object-fit: cover;
  object-position: center;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  display: block;
  margin-bottom: 0;
  flex: 3;
  min-height: 0;
  max-height: none;
}

/* 确保所有服务图片都有相同的显示效果 */
.service-card img[src*="IMG-20241126-WA0110.jpg"] {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 75%;
}
.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #C8B376;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  margin: 0;
  padding: 20px;
  text-shadow: none;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  position: relative;
}
.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(52, 74, 35, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(200, 179, 118, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 3;
  box-shadow: 
    0 0 0 1px rgba(200, 179, 118, 0.3),
    inset 0 0 0 1px rgba(200, 179, 118, 0.2);
}

.service-overlay p {
  color: #C8B376;
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
  padding: 30px;
  text-align: center;
  max-width: 90%;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 4px 8px rgba(0, 0, 0, 0.6),
    0 8px 16px rgba(0, 0, 0, 0.4);
  font-weight: 400;
  letter-spacing: 0.5px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.service-card:hover .service-overlay {
  opacity: 1;
}

/* Featured Fabrics */
.featured-fabrics {
  padding: 80px 0;
  background: #344A23;
}

.highlight-fabrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.fabric-sample {
  text-decoration: none;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transition: all 0.3s;
  cursor: pointer;
}

.fabric-sample:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.fabric-sample img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.fabric-info {
  padding: 1.5rem;
  text-align: center;
}

.fabric-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #fff;
  text-decoration: none !important;
  border-bottom: none !important;
  border: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

.fabric-info p {
  color: #C8B376;
  opacity: 0.9;
  font-size: 0.9rem;
  text-decoration: none !important;
  border-bottom: none !important;
  border: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

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

.btn-large {
  padding: 18px 36px;
  font-size: 1.1rem;
  background: var(--accent-gold);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
}

.btn-large:hover {
  background: #b8a366;
  transform: translateY(-2px);
}


/* Testimonials */
.testimonials {
  padding: 80px 0;
  background: #344A23;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.testimonial-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 32px;
  border-radius: 16px;
  border-left: 4px solid #C8B376;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.testimonial-content p {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author h4 {
  color: #C8B376;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  margin-bottom: 0.25rem;
  text-shadow: none;
}
.testimonial-author span {
  color: #C8B376;
  font-size: 0.9rem;
}

/* Contact */
.contact {
  padding: 80px 0;
  background: #344A23;
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-form {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.form-group {
  margin-bottom: 24px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.7);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #C8B376;
  background: rgba(255,255,255,0.2);
  box-shadow: 0 0 0 3px rgba(200,179,118,0.2);
}
.contact-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin: 32px 0 0 0;
}
.contact-info .contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,179,118,0.12);
  border: 1.5px solid #C8B376;
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(200,179,118,0.08);
}
.contact-info .contact-icon:hover {
  background: #C8B376;
  box-shadow: 0 8px 32px rgba(200,179,118,0.18);
  transform: scale(1.12);
}
.contact-icon.no-bg {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
}
.contact-icon.no-bg:hover {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  transform: scale(1.12);
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(200,179,118,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(200,179,118,0.3);
  flex-shrink: 0;
}
.contact-icon svg {
  width: 24px;
  height: 24px;
}
.contact-item h3 {
  color: #C8B376;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  margin-bottom: 0.5rem;
  text-shadow: none;
}
.contact-item p {
  color: #fff;
  margin-bottom: 0.5rem;
}
.contact-link {
  color: #C8B376;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.contact-link:hover {
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 25%, #F4E4BC 50%, #D4AF37 75%, #B8860B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .highlight-fabrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 2rem;
  }
  .about-text h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .highlight-fabrics {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Product Card Buttons */
.product-btns {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.product-btns .btn {
  background: #1a2a4a;
  color: #fff;
  border-radius: 24px;
  min-width: 120px;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 8px rgba(26,42,74,0.08);
  transition: background 0.2s, color 0.2s;
}
.product-btns .btn:hover {
  background: #C8B376;
  color: #1a2a4a;
}

/* Sample Request Modal */
.sample-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.sample-modal.active {
  display: flex;
}
.sample-modal-content {
  background: #fff;
  border-radius: 18px;
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  max-width: 90vw;
  box-shadow: 0 8px 32px rgba(26,42,74,0.18);
  position: relative;
}
.sample-modal-content h3 {
  color: #1a2a4a;
  font-size: 1.3rem;
  margin-bottom: 18px;
  text-align: center;
}
.sample-modal-content label {
  display: block;
  margin-bottom: 8px;
  color: #1a2a4a;
  font-weight: 600;
}
.sample-modal-content input,
.sample-modal-content textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #C8B376;
  margin-bottom: 16px;
  font-size: 1rem;
  background: #f8f8f8;
}
.sample-modal-content button {
  width: 100%;
  background: #1a2a4a;
  color: #fff;
  border: none;
  border-radius: 24px;
  min-height: 44px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.sample-modal-content button:hover {
  background: #C8B376;
  color: #1a2a4a;
}
.sample-modal-close {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 1.5rem;
  color: #1a2a4a;
  background: none;
  border: none;
  cursor: pointer;
}
.sample-modal-success {
  color: #1a2a4a;
  text-align: center;
  font-size: 1.1rem;
  margin-top: 18px;
}

@media (max-width: 600px) {
  .logo {
    height: 36px;
    gap: 8px;
  }
  .logo img {
    height: 28px;
    width: auto;
  }
  .logo span {
    font-size: 1.2rem;
    margin-left: 0.12em;
  }
}
@media (max-width: 400px) {
  .logo img {
    height: 20px;
    width: auto;
    min-width: 16px;
  }
  .logo span {
    font-size: 0.7rem;
    margin-left: 0.12em;
    height: 20px;
  }
  .logo {
    height: 20px;
  }
}

/* 产品子页面复用Our Services区块的排版和卡片样式 */
.product-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.product-list-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  background: #222;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.18);
  transition: box-shadow 0.3s, transform 0.3s;
}
.product-list-card img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 16px;
  z-index: 1;
}
.product-list-card h3 {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  margin: 0;
  padding: 1.1em 0.5em 0.9em 0.5em;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #fff;
  z-index: 2;
  width: 100%;
  text-align: center;
  background: rgba(44, 54, 30, 0.45);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  box-shadow: none;
  text-shadow: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.product-list-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}
@media (max-width: 900px) {
  .product-list-card {
    aspect-ratio: 4/3;
  }
  .product-list-card h3 {
    font-size: 1.05rem;
    padding: 0.8em 0.3em 0.7em 0.3em;
  }
}
@media (max-width: 600px) {
  .product-list-card {
    aspect-ratio: 1/1;
  }
  .product-list-card h3 {
    font-size: 0.95rem;
    padding: 0.7em 0.2em 0.6em 0.2em;
  }
}

/* Back to Home按钮优化 */
.back-home-btn, .btn-back-home {
  display: inline-block;
  margin: 1.2rem auto 1.5rem auto;
  padding: 0.7em 2.2em;
  font-size: 1.1rem;
  font-family: 'Open Sans', 'Source Han Serif', sans-serif;
  font-weight: 700;
  color: #C8B376;
  background: rgba(255,255,255,0.10);
  border: 1.5px solid #C8B376;
  border-radius: 32px;
  box-shadow: 0 4px 24px rgba(200,179,118,0.08);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
}
.back-home-btn:hover, .btn-back-home:hover {
  background: #C8B376;
  color: #344A23;
  border-color: #C8B376;
}
/* 电脑端和平板端back button居中 */
@media (min-width: 601px) {
  .back-home-btn, .btn-back-home {
    display: block !important;
    width: fit-content !important;
    margin: 1.2rem auto 1.5rem auto !important;
    text-align: center !important;
  }
}

@media (max-width: 600px) {
  .back-home-btn, .btn-back-home {
    font-size: 1rem;
    padding: 0.8em 2em;
    margin: 2rem auto 1rem auto !important;
    position: static !important;
    bottom: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    z-index: auto !important;
    background: rgba(52, 74, 35, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid #C8B376 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    display: block !important;
    width: fit-content !important;
    text-align: center !important;
  }
  
  /* 移除之前添加的底部间距 */
  .ba-section {
    padding-bottom: 32px !important;
  }
  
  footer {
    margin-bottom: 0 !important;
  }
}

/* 产品详情页标题和Back to Home按钮同行布局 */
.product-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  gap: 1.5rem;
}
.product-detail-header h1 {
  margin: 0;
  font-size: 2.3rem;
  font-weight: 900;
  color: #fff;
}
@media (max-width: 600px) {
  .product-detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .product-detail-header h1 {
    font-size: 1.3rem;
  }
  .back-home-btn {
    align-self: flex-end;
    margin-top: 0.2rem;
  }
}

.highlight-fabrics .fabric-sample,
.highlight-fabrics .fabric-info,
.highlight-fabrics .fabric-info * {
  border: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

.contact-info-block {
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.9;
  display: flex;
  flex-direction: column;
  /* 去掉min-height和justify-content，顶部对齐 */
}
.contact-info-block h3 {
  color: #C8B376;
  font-size: 1.3rem;
  margin-bottom: 1.2em;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.contact-info-block a {
  color: #C8B376;
  text-decoration: none;
  font-weight: 600;
}
.contact-info-block strong {
  color: #C8B376;
  font-weight: 700;
}

.contactus-divani-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}
.contactus-info {
  flex: 1;
  min-width: 260px;
  max-width: 400px;
  font-size: 1.05rem;
  color: #222;
  line-height: 1.8;
}
.contactus-title {
  font-size: 1.3rem;
  color: #C8B376;
  font-weight: 900;
  margin-bottom: 1.2em;
  letter-spacing: 0.04em;
}
.contactus-label {
  color: #C8B376;
  font-weight: 700;
  min-width: 90px;
  display: inline-block;
}
.contactus-row {
  margin-bottom: 1.1em;
}
.contactus-link {
  color: #C8B376;
  text-decoration: none;
  font-weight: 600;
}
.contactus-map-social {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.contactus-map-social iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 12px;
  margin-bottom: 18px;
}
.contactus-social {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
}
.contactus-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.contactus-social a:hover {
  transform: scale(1.15);
}
@media (max-width: 900px) {
  .contactus-divani-layout {
    flex-direction: column;
    gap: 32px;
  }
  .contactus-map-social {
    align-items: flex-start;
    max-width: 100%;
  }
  .contactus-map-social iframe {
    min-width: 220px;
    max-width: 100%;
  }
  .contactus-social {
    justify-content: flex-start;
  }
}

/* 社交icon统一样式 */
.contactus-elite-social a > * {
  width: 28px;
  height: 28px;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
}
.social-icon-img {
  width: 32px;
  height: 32px;
  padding: 2px; /* 可根据实际视觉微调 */
  background: none;
  border-radius: 0;
}

/* Contact Elite 高端现代风格 */
body {
  font-family: 'Open Sans', 'Poppins', Arial, sans-serif;
  background: #344A23;
  color: #fff;
  margin: 0;
}
.contact-elite {
  display: block;
  background: #344A23;
  animation: fadeIn 1s;
}
.contact-elite-container {
  display: flex;
  background: rgba(255,255,255,0.04);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(52,74,35,0.12);
  padding: 48px 32px;
  gap: 64px;
  max-width: 900px;
  width: 100%;
  align-items: flex-start;
  margin-left: auto;
  margin-right: auto;
}
.contact-elite-info {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.brand-name {
  font-family: 'Poppins', 'Open Sans', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #D4AF37;
  margin-bottom: 12px;
  letter-spacing: 1px;
  animation: fadeInDown 1s;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.08rem;
  color: #fff;
  line-height: 1.7;
  animation: fadeInUp 1s;
}
.contact-row i {
  color: #D4AF37;
  font-size: 1.2em;
  min-width: 22px;
  margin-top: 2px;
  transition: color 0.3s;
}
.contact-row a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #D4AF37;
  transition: color 0.3s, border-color 0.3s;
}
.contact-row a:hover {
  color: #D4AF37;
  border-color: #fff;
}
.contact-elite-map {
  flex: 1.2;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}
.contact-elite-map iframe {
  width: 100%;
  min-height: 220px;
  max-width: 350px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(52,74,35,0.18);
  animation: fadeIn 1.2s;
}
.contact-elite-social {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  align-items: center;
  justify-content: flex-start;
}
.contact-elite-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(52,74,35,0.18);
  color: #D4AF37;
  font-size: 1.5em;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.contact-elite-social a:hover {
  background: #D4AF37;
  color: #344A23;
  transform: scale(1.08);
}
@media (max-width: 800px) {
  .contact-elite-container {
    flex-direction: column;
    gap: 32px;
    padding: 32px 12px;
    align-items: stretch;
  }
  .contact-elite-map {
    align-items: stretch;
  }
  .contact-elite-map iframe {
    max-width: 100%;
    min-height: 180px;
  }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px);}
  to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: translateY(0);}
}

.logo-font {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #344A23;
  letter-spacing: 1px;
}
.logo-xhs {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}
.contact-elite-title {
  font-family: 'Open Sans', 'Poppins', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fadeInDown 1s;
}
.contact-elite .section-title {
  text-align: center;
  display: block;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
  margin-top: 0;
  position: static;
  left: auto;
  right: auto;
  transform: none;
  z-index: 2;
  justify-content: center;
  align-items: center;
}
.contact-elite-container {
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 700px) {
  .contact-elite {
    position: relative;
  }
  .contact-elite .section-title {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .contact-elite-container {
    margin-top: 0;
  }
}

/* Divani风格Contact Us区块 */
.contact-divani {
  padding: 80px 0;
  background: #344A23;
}
.contact-divani-main {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(52,74,35,0.12);
  padding: 48px 32px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-divani-info {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-divani-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: #C8B376;
  margin-bottom: 1.2em;
  letter-spacing: 0.04em;
}
.contact-divani-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-divani-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.08rem;
  color: #fff;
  line-height: 1.7;
}
.contact-divani-label {
  color: #C8B376;
  font-weight: 700;
  min-width: 110px;
  display: inline-block;
}
.contact-divani-info a {
  color: #C8B376;
  text-decoration: none;
  font-weight: 600;
}
.contact-divani-info a:hover {
  text-decoration: underline;
  color: #D4AF37;
}
.contact-divani-social {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
.contact-divani-social a, .contact-divani-social img {
  color: #C8B376;
  font-size: 1.5em;
  transition: color 0.3s, transform 0.3s;
  background: none;
  border-radius: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-divani-social a:hover, .contact-divani-social img:hover {
  color: #D4AF37;
  transform: scale(1.12);
}
.logo-xhs {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}
.contact-divani-map {
  flex: 1.2;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.contact-divani-map iframe {
  width: 100%;
  min-height: 500px;
  max-width: 500px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(52,74,35,0.18);
}
@media (max-width: 900px) {
  .contact-divani-main {
    flex-direction: column;
    gap: 32px;
    padding: 32px 12px;
    align-items: stretch;
  }
  .contact-divani-map {
    align-items: stretch;
  }
  .contact-divani-map iframe {
    max-width: 100%;
    min-height: 400px;
  }
}

/* === Mobile Responsive Enhancements === */
@media (max-width: 600px) {
  body {
    font-size: 15px;
    padding: 0;
  }
  /* 移除冲突的navbar设置，保持我们的横向布局 */
  .navbar nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    margin-top: 8px;
  }
  .navbar nav a {
    margin-left: 0;
    margin-right: 16px;
    font-size: 1rem;
    padding: 4px 0;
  }
  .logo {
    height: 32px;
    gap: 8px;
  }
  .logo img {
    height: 24px;
    width: auto;
  }
  .logo span {
    font-size: 1.1rem;
    margin-left: 0.1em;
  }
  .ba-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  .ba-subtitle {
    font-size: 0.98rem !important;
    margin-bottom: 1.2rem !important;
    padding: 0 6px;
  }
  .ba-section {
    padding: 18px 0 28px 0;
  }
  .ba-grid-square-4, .ba-grid-rect-3 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    max-width: 100vw;
    padding: 0 2vw;
  }
  .ba-card {
    padding: 8px 0 !important;
  }
  .ba-img-square, .ba-img-rect {
    width: 98vw !important;
    max-width: 98vw !important;
    height: auto !important;
    aspect-ratio: unset !important;
    border-radius: 10px !important;
  }
  .ba-label {
    font-size: 0.95rem;
    margin-top: 4px;
  }
  .footer-copy {
    font-size: 0.9rem;
    padding: 12px 0;
  }
  .product-list-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 0 2vw;
  }
  .product-list-card h3 {
    font-size: 1rem;
    padding: 0.7em 0.2em 0.6em 0.2em;
  }
  .btn, .btn-outline, .btn-large {
    font-size: 1rem;
    padding: 0.7em 1.2em;
    border-radius: 24px;
  }
  .back-home-btn, .btn-back-home {
    font-size: 1rem;
    padding: 0.5em 1.2em;
    border-radius: 18px;
  }
}
@media (max-width: 900px) {
  .ba-grid-square-4, .ba-grid-rect-3, .product-list-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    max-width: 100vw;
    padding: 0 2vw;
  }
}
@media (max-width: 600px) {
  .ba-grid-square-4, .ba-grid-rect-3, .product-list-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    max-width: 100vw;
    padding: 0 2vw;
  }
}
.burger {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: #C8B376;
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }
  .navbar nav {
    display: flex;
    flex-direction: column;
    background: #344A23;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 200px;
    padding: 20px;
    border: 1px solid rgba(200,179,118,0.5);
    border-radius: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .navbar nav.active {
    max-height: 500px;
  }
  .navbar nav a {
    margin: 10px 0;
  }
}

.burger i::before {
  content: "\f0c9"; /* fa-bars */
  display: inline-block;
  transition: transform 0.3s ease;
}
.burger.open i::before {
  content: "\f00d"; /* fa-times */
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .navbar nav {
    display: none; /* HIDE by default */
    flex-direction: column;
    background: #344A23;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 200px;
    padding: 20px;
    border: 1px solid rgba(200,179,118,0.5);
    border-radius: 8px;
    z-index: 999;
  }

  .navbar nav.active {
    display: flex; /* Show only when active */
  }
}

/* 移动端优化 (手机) */
@media (max-width: 480px) {
  /* 导航栏 */
  .navbar {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .logo {
    height: 48px;
  }
  
  .logo img {
    height: 40px;
    width: auto;
  }
  
  .logo span {
    font-size: 1.2rem;
    margin-left: 0.1em;
  }
  
  .navbar nav {
    display: none;
  }
  
  .burger {
    display: block;
    font-size: 1.2rem;
  }
  
  /* Hero区域 */
  .hero {
    height: 100vh;
    min-height: 600px;
    padding: 0 16px;
  }
  
  .hero-content {
    padding: 0;
    text-align: center;
    max-width: 100%;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    line-height: 1.2;
  }
  
  .hero-content h2 {
    font-size: 1rem;
    margin-bottom: 16px;
    opacity: 0.9;
  }
  
  .intro {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 24px;
    padding: 0 8px;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  
  .btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* About Us卡片 */
  .about {
    padding: 40px 0;
  }
  
  .about-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
  }
  
  .about-card {
    padding: 20px;
    border-radius: 12px;
    margin: 0 8px;
  }
  
  .about-card-icon {
    margin-bottom: 16px;
  }
  
  .about-card-icon svg {
    width: 40px;
    height: 40px;
  }
  
  .about-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    line-height: 1.3;
    font-weight: 700;
  }
  
  .about-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 6px;
    opacity: 0.9;
  }
  
  .about-quote {
    font-size: 1rem;
    padding: 0 16px;
  }
  
  /* Services网格 */
  .services {
    padding: 40px 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .service-card {
    min-height: 180px;
    border-radius: 12px;
    margin: 0 8px;
  }
  
  .service-card h3 {
    font-size: 1.6rem;
    padding: 0 16px;
    font-weight: 700;
  }
  
  .service-overlay p {
    font-size: 0.85rem;
    padding: 0 16px;
  }
  
  /* Products网格 */
  .featured-fabrics {
    padding: 40px 0;
  }
  
  .highlight-fabrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0 8px;
  }
  
  .fabric-sample {
    border-radius: 12px;
    overflow: hidden;
  }
  
  .fabric-info {
    padding: 12px;
  }
  
  .fabric-info h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    font-weight: 600;
  }
  
  .fabric-info p {
    font-size: 0.75rem;
    opacity: 0.8;
    text-align: center;
  }
  
  .fabric-cta {
    margin-top: 24px;
    padding: 0 16px;
  }
  
  .btn-large {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    border-radius: 12px;
  }
  
  /* 通用间距 */
  .section-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding: 0 16px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  /* 联系信息 */
  .contact-divani {
    padding: 40px 0;
  }
  
  .contact-divani-main {
    flex-direction: column;
    gap: 20px;
  }
  
  .contact-divani-info {
    text-align: center;
    padding: 0 16px;
  }
  
  .contact-divani-title {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }
  
  .contact-divani-item {
    margin-bottom: 12px;
    font-size: 0.9rem;
  }
  
  .contact-divani-map {
    margin: 0 8px;
  }
  
  .contact-divani-map iframe {
    height: 250px;
    border-radius: 12px;
  }
  
  .contact-divani-social {
    margin-top: 16px;
    gap: 16px;
  }
  
  .logo-xhs {
    width: 32px;
    height: 32px;
  }
  
  /* 轮播图优化 */
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .carousel-btn.prev {
    left: 16px;
  }
  
  .carousel-btn.next {
    right: 16px;
  }
  
  .carousel-dots {
    bottom: 20px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
  }
  
  /* 返回顶部按钮 */
  #backToTop {
    right: 16px;
    bottom: 20px;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    border-radius: 50%;
  }
  
  /* Footer */
  .footer-copy {
    padding: 20px 16px;
    font-size: 0.8rem;
    text-align: center;
  }
}

/* 平板优化 */
@media (min-width: 481px) and (max-width: 768px) {
  /* 导航栏 */
  .navbar {
    padding: 16px 24px;
  }
  
  .logo span {
    font-size: 1.2rem;
  }
  
  /* 隐藏汉堡菜单，显示导航链接 */
  .burger {
    display: none;
  }
  
  .navbar nav {
    display: flex !important;
    flex-direction: row;
    position: static;
    width: auto;
    padding: 0;
    border: none;
    max-height: none;
    background: none;
  }
  
  .navbar nav a {
    margin: 0 0 0 20px;
    font-size: 0.85rem;
    white-space: nowrap;
  }
  
  /* Hero区域 */
  .hero {
    height: 80vh;
    min-height: 500px;
  }
  
  .hero-content h1 {
    font-size: 2.4rem;
  }
  
  .hero-content h2 {
    font-size: 1.2rem;
  }
  
  .intro {
    font-size: 0.95rem;
  }
  
  .cta-buttons {
    gap: 16px;
  }
  
  /* About Us卡片 */
  .about-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .about-card {
    padding: 24px;
  }
  
  .about-card h3 {
    font-size: 1.4rem;
  }
  
  /* Services网格 */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  /* Products网格 */
  .highlight-fabrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  /* 确保fabric-info副标题居中 */
  .fabric-info p {
    text-align: center;
  }
  
  /* 通用间距 */
  .section-title {
    font-size: 1.6rem;
  }
  
  .container {
    padding: 0 24px;
  }
  
  /* 联系信息 */
  .contact-divani-main {
    gap: 24px;
  }
  
  .contact-divani-map iframe {
    height: 350px;
  }
}

/* 大平板优化 */
@media (min-width: 769px) and (max-width: 1024px) {
  /* About Us卡片 */
  .about-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  /* Services网格 */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  /* Products网格 */
  .highlight-fabrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .container {
    padding: 0 32px;
  }
}

/* 大平板横屏优化 */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  /* 导航栏 - 大平板横屏优化 */
  .navbar {
    padding: 20px 32px;
  }
  
  .logo span {
    font-size: 1.6rem;
  }
  
  .burger {
    display: none;
  }
  
  .navbar nav {
    display: flex !important;
    flex-direction: row;
    position: static;
    width: auto;
    padding: 0;
    border: none;
    max-height: none;
    background: none;
  }
  
  .navbar nav a {
    margin: 0 0 0 24px;
    font-size: 0.95rem;
    white-space: nowrap;
  }
  
  /* 首页About Us卡片 - 大平板横屏优化 */
  .about-cards {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-top: 32px !important;
    padding: 0 32px !important;
  }
  
  .about-card {
    padding: 20px !important;
  }
  
  .about-card h3 {
    font-size: 1.1rem !important;
  }
  
  .about-card p {
    font-size: 0.9rem !important;
  }
  
  /* 首页Services网格 - 大平板横屏优化 */
  .services-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    padding: 0 32px !important;
  }
  
  /* 首页Products网格 - 大平板横屏优化 */
  .highlight-fabrics {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    padding: 0 32px !important;
  }
  
  .container {
    max-width: 100% !important;
    padding: 0 32px !important;
  }
}

/* 产品页面响应式优化 */
@media (max-width: 480px) {
  /* 产品页面图片网格 */
  .ba-grid-square-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .ba-grid-rect-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .ba-img-square {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }
  
  .ba-img-rect {
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
  }
  
  /* 产品页面标题和back button */
  .ba-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  
  .ba-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  /* back button优化 */
  .back-home-btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  /* 产品页面图片网格 */
  .ba-grid-square-4 {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .ba-grid-rect-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .ba-img-square {
    width: 100%;
    height: auto;
  }
  
  .ba-img-rect {
    width: 100%;
    height: auto;
  }
  
  /* 产品页面标题 */
  .ba-title {
    font-size: 1.6rem;
  }
  
  .ba-subtitle {
    font-size: 1rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* 产品页面图片网格 */
  .ba-grid-square-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  
  .ba-grid-rect-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* 平板横屏产品页面优化 */
@media (min-width: 481px) and (max-width: 1024px) and (orientation: landscape) {
  /* 导航栏 - 平板横屏优化 */
  .navbar {
    padding: 18px 24px;
  }
  
  .logo span {
    font-size: 1.4rem;
  }
  
  .burger {
    display: none;
  }
  
  .navbar nav {
    display: flex !important;
    flex-direction: row;
    position: static;
    width: auto;
    padding: 0;
    border: none;
    max-height: none;
    background: none;
  }
  
  .navbar nav a {
    margin: 0 0 0 20px;
    font-size: 0.9rem;
    white-space: nowrap;
  }
  
  /* 首页About Us卡片 - 横屏优化 */
  .about-cards {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-top: 32px !important;
    padding: 0 24px !important;
  }
  
  .about-card {
    padding: 20px !important;
  }
  
  .about-card h3 {
    font-size: 1.3rem !important;
  }
  
  .about-card p {
    font-size: 0.9rem !important;
  }
  
  /* 首页Services网格 - 横屏优化 */
  .services-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    padding: 0 24px !important;
  }
  
  /* 首页Products网格 - 横屏优化 */
  .highlight-fabrics {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    padding: 0 24px !important;
  }
  
  /* 产品页面图片网格 - 横屏优化 */
  .ba-grid-square-4 {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    margin: 0 auto 32px auto !important;
    padding: 0 16px !important;
  }
  
  .ba-grid-rect-3 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    margin: 0 auto 32px auto !important;
    padding: 0 16px !important;
  }
  
  /* 统一1:1图片尺寸 */
  .ba-img-square {
    width: 240px !important;
    height: 240px !important;
    max-width: 90vw !important;
    max-height: 90vw !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
  }
  
  /* 统一4:3图片尺寸 */
  .ba-img-rect {
    width: 400px !important;
    height: 267px !important;
    max-width: 95vw !important;
    max-height: 70vw !important;
    aspect-ratio: 3/2 !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    background: transparent !important;
  }
  
  /* 滑块样式统一 */
  .ba-slider.square {
    width: 240px !important;
    height: 240px !important;
    max-width: 90vw !important;
    max-height: 90vw !important;
    aspect-ratio: 1/1 !important;
  }
  
  .ba-slider.rect {
    width: 400px !important;
    height: 267px !important;
    max-width: 95vw !important;
    max-height: 70vw !important;
    aspect-ratio: 3/2 !important;
  }
  
  /* 确保容器充分利用横屏空间 */
  .ba-section {
    padding: 20px 0 !important;
    max-width: 100% !important;
  }
  
  .container {
    max-width: 100% !important;
    padding: 0 24px !important;
  }
}

/* iPad Air 横屏优化 - 更具体的媒体查询 */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 2) {
  
  /* 首页About Us卡片 - iPad Air 横屏优化 */
  .about-cards {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-top: 32px !important;
    padding: 0 24px !important;
  }
  
  .about-card {
    padding: 20px !important;
  }
  
  .about-card h3 {
    font-size: 1.3rem !important;
  }
  
  .about-card p {
    font-size: 0.9rem !important;
  }
  
  /* 首页Services网格 - iPad Air 横屏优化 */
  .services-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    padding: 0 24px !important;
  }
  
  /* 首页Products网格 - iPad Air 横屏优化 */
  .highlight-fabrics {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    padding: 0 24px !important;
  }
  
  /* 确保fabric-info副标题居中 */
  .fabric-info p {
    text-align: center !important;
  }
  
  /* 产品页面图片网格 - iPad Air 横屏优化 */
  .ba-grid-square-4 {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    margin: 0 auto 32px auto !important;
    padding: 0 16px !important;
  }
  
  .ba-grid-rect-3 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    margin: 0 auto 32px auto !important;
    padding: 0 16px !important;
  }
  
  /* 统一1:1图片尺寸 */
  .ba-img-square {
    width: 240px !important;
    height: 240px !important;
    max-width: 90vw !important;
    max-height: 90vw !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
  }
  
  /* 统一4:3图片尺寸 */
  .ba-img-rect {
    width: 400px !important;
    height: 300px !important;
    max-width: 95vw !important;
    max-height: 70vw !important;
    aspect-ratio: 4/3 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    background: transparent !important;
  }
  
  /* 滑块样式统一 */
  .ba-slider.square {
    width: 240px !important;
    height: 240px !important;
    max-width: 90vw !important;
    max-height: 90vw !important;
    aspect-ratio: 1/1 !important;
  }
  
  .ba-slider.rect {
    width: 400px !important;
    height: 267px !important;
    max-width: 95vw !important;
    max-height: 70vw !important;
    aspect-ratio: 3/2 !important;
  }
  
  /* 确保容器充分利用横屏空间 */
  .ba-section {
    padding: 20px 0 !important;
    max-width: 100% !important;
  }
  
  .container {
    max-width: 100% !important;
    padding: 0 24px !important;
  }
}

/* === 移动端优化 - 严格限制在移动端布局 === */

/* 汉堡菜单样式 */
.burger {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: #C8B376;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.burger:hover {
  background: rgba(200, 179, 118, 0.1);
}

.burger.open {
  background: rgba(200, 179, 118, 0.2);
}

.burger i::before {
  content: "\f0c9"; /* fa-bars */
  display: inline-block;
  transition: transform 0.3s ease;
}

.burger.open i::before {
  content: "\f00d"; /* fa-times */
  transform: rotate(180deg);
}

/* 移动端竖屏优化 (480px以下) */
@media (max-width: 480px) and (orientation: portrait) {
  /* 导航栏优化 */
  .navbar {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  /* Our Services & Projects 下方的 Contact Us 按钮居中 */
  .fabric-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    padding: 0 16px;
  }
  
  .fabric-cta .btn {
    width: calc(100% - 32px);
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    box-sizing: border-box;
  }
}

/* 手机端竖屏特定样式 - Contact Us 按钮居中 */
@media (max-width: 480px) and (orientation: portrait) {
  .fabric-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    padding: 0 16px;
  }
  
  .fabric-cta .btn {
    width: calc(100% - 32px);
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    box-sizing: border-box;
  }
  
  .logo {
    height: 40px;
    gap: 8px;
    flex: 1;
    min-width: 0;
  }
  
  .logo img {
    height: 32px;
    width: auto;
    flex-shrink: 0;
  }
  
  .logo span {
    font-size: 1rem;
    margin-left: 0.1em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* 显示汉堡菜单，隐藏导航链接 */
  .burger {
    display: block;
    order: 3;
    margin-left: 16px;
    z-index: 1001;
    flex-shrink: 0;
  }
  
  /* 确保导航栏在所有页面一致 */
  .navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #344A23;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    gap: 16px;
  }
  
  .navbar nav {
    display: none;
    flex-direction: column;
    background: #344A23;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    padding: 16px;
    border-top: 1px solid rgba(200, 179, 118, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }
  
  .navbar nav.active {
    display: flex;
  }
  
  .navbar nav a {
    margin: 8px 0;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 8px;
    transition: background 0.3s ease;
  }
  
  .navbar nav a:hover {
    background: rgba(200, 179, 118, 0.1);
  }
  
  /* Hero区域优化 */
  .hero {
    height: 100vh;
    min-height: 600px;
    padding: 0 16px;
  }
  
  .hero-content {
    padding: 0;
    text-align: center;
    max-width: 100%;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    line-height: 1.2;
  }
  
  .hero-content h2 {
    font-size: 1rem;
    margin-bottom: 16px;
    opacity: 0.9;
  }
  
  .intro {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 24px;
    padding: 0 16px;
  }
  
  .cta-buttons {
    flex-direction: row;
    gap: 12px;
    width: 100%;
    max-width: calc(100% - 32px);
    margin: 0 auto;
    align-items: center;
    justify-content: center;
  }
  
  .btn {
    width: auto;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    flex: 1;
    max-width: 140px;
  }
  
  /* About Us卡片 - 移动端竖屏 */
  .about {
    padding: 40px 0;
  }
  
  .about-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
    padding: 0 16px;
    justify-items: center;
  }
  
  .about-card {
    padding: 20px;
    border-radius: 12px;
  }
  
  .about-card-icon {
    margin-bottom: 16px;
  }
  
  .about-card-icon svg {
    width: 40px;
    height: 40px;
  }
  
  .about-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    line-height: 1.3;
    font-weight: 700;
  }
  
  .about-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 6px;
    opacity: 0.9;
  }
  
  .about-quote {
    font-size: 1rem;
    padding: 0 16px;
  }
  
  /* Services网格 - 移动端竖屏 */
  .services {
    padding: 40px 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }
  
  .service-card {
    min-height: 240px;
    border-radius: 12px;
    max-width: 100%;
    margin: 0 16px;
  }
  
  .service-img {
    height: 75%;
    object-fit: cover;
    object-position: center;
    width: 100%;
  }
  
  .service-card h3 {
    font-size: 1.6rem;
    padding: 0 16px;
    font-weight: 700;
  }
  
  .service-overlay p {
    font-size: 0.85rem;
    padding: 0 16px;
  }
  
  /* Products网格 - 移动端竖屏 */
  .featured-fabrics {
    padding: 40px 0;
  }
  
  .highlight-fabrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px;
  }
  
  .fabric-sample {
    border-radius: 12px;
    overflow: hidden;
  }
  
  .fabric-info {
    padding: 12px;
  }
  
  .fabric-info h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    font-weight: 600;
  }
  
  .fabric-info p {
    font-size: 0.75rem;
    opacity: 0.8;
    text-align: center;
  }
  
  .fabric-cta {
    margin-top: 24px;
    padding: 0 16px;
  }
  
  .btn-large {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    border-radius: 12px;
  }
  
  /* 产品页面图片网格 - 移动端竖屏 */
  .ba-grid-square-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 0;
    width: 100%;
  }
  
  .ba-grid-rect-3 {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
    width: 100%;
  }
  
  .ba-img-square {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 12px;
  }
  
  .ba-img-rect {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    border-radius: 12px;
    object-fit: cover;
  }
  
  /* 滑块优化 - 移动端竖屏 */
  .ba-slider.square {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 12px;
  }
  
  .ba-slider.rect {
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    border-radius: 12px;
  }
  
  /* 确保滑块在移动端正常工作 */
  .ba-slider {
    touch-action: pan-y pinch-zoom;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    position: relative;
    overflow: hidden;
  }
  
  /* 确保滑块手柄可见且可操作 */
  .ba-handle {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10 !important;
  }
  
  .ba-handle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(200, 179, 118, 0.9);
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    cursor: grab;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: all 0.3s ease;
    display: block !important;
  }
  
  /* 确保滑块中间线条可见 */
  .ba-slider .ba-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #fff;
    transform: translate(-50%, -50%);
    z-index: 11;
  }
  
  .ba-handle:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.1);
  }
  
  /* 通用间距 */
  .section-title {
    font-size: 2rem;
    margin-bottom: 24px;
    padding: 0 16px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  /* 联系信息 - 移动端竖屏 */
  .contact-divani {
    padding: 40px 0;
  }
  
  .contact-divani-main {
    flex-direction: column;
    gap: 20px;
    padding: 24px 16px;
    align-items: center;
  }
  
  .contact-divani-info {
    text-align: center;
    width: 100%;
    max-width: 100%;
  }
  
  /* 确保所有Contact Us相关元素对齐 */
  .contact-divani-map {
    margin: 0 auto !important;
    width: 100%;
    max-width: calc(100% - 32px);
  }
  
  .contact-divani-social {
    margin: 0 auto !important;
    justify-content: center;
  }
  
  /* Contact Us标题左对齐 */
  .contact-divani-title {
    text-align: left !important;
    margin: 0 0 16px 0 !important;
  }
  
  /* Contact Us内容左对齐 */
  .contact-divani-item {
    text-align: left !important;
    margin: 0 auto 12px auto !important;
    width: 100%;
    max-width: 100%;
  }
  
  /* 联系卡片居中显示 */
  .contact-item {
    margin: 0 auto !important;
    width: 100%;
    max-width: calc(100% - 32px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  
  .contact-divani-title {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }
  
  .contact-divani-item {
    margin-bottom: 12px;
    font-size: 0.9rem;
  }
  
  .contact-divani-map {
    margin: 0 8px;
  }
  
  .contact-divani-map iframe {
    height: 250px;
    border-radius: 12px;
  }
  
  .contact-divani-social {
    margin-top: 16px;
    gap: 16px;
  }
  
  .logo-xhs {
    width: 32px;
    height: 32px;
  }
  
  /* 轮播图优化 - 移动端竖屏 */
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .carousel-btn.prev {
    left: 16px;
  }
  
  .carousel-btn.next {
    right: 16px;
  }
  
  .carousel-dots {
    bottom: 20px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
  }
  
  /* Footer */
  .footer-copy {
    padding: 20px 16px;
    font-size: 0.8rem;
    text-align: center;
  }
  
  /* 产品页面标题和back button */
  .ba-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  
  .ba-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .back-home-btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}

  /* 移动端横屏优化 (481px-768px) */
  @media (min-width: 481px) and (max-width: 768px) {
    /* 标题居中对齐 */
    h1, h2, h3, h4, h5, h6, .section-title, .ba-title, .ba-subtitle {
      text-align: center !important;
    }
    
    /* 按钮居中对齐 */
    .cta-buttons {
      align-items: center;
      margin: 0 auto;
    }
    
    /* 手机端横屏布局 */
    .about-cards, .services-grid, .highlight-fabrics {
      justify-items: center;
      grid-template-columns: 1fr !important;
      gap: 24px !important;
    }
    
    /* 产品页面横屏也恢复为双列布局 */
    .ba-grid-square-4, .ba-grid-rect-3 {
      justify-items: center;
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 16px !important;
    }
    
    /* 卡片与平板端保持一致的样式 */
    .service-card, .about-card, .fabric-sample, .ba-card, .product-list-card {
      margin: 0 !important;
      padding: 16px !important;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.05);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
  /* 导航栏 - 移动端横屏 */
  .navbar {
    padding: 16px 24px;
  }
  
  .logo span {
    font-size: 1.2rem;
  }
  
  /* 隐藏汉堡菜单，显示导航链接 */
  .burger {
    display: none;
  }
  
  .navbar nav {
    display: flex !important;
    flex-direction: row;
    position: static;
    width: auto;
    padding: 0;
    border: none;
    max-height: none;
    background: none;
  }
  
  .navbar nav a {
    margin: 0 0 0 20px;
    font-size: 0.85rem;
    white-space: nowrap;
  }
  
  /* Hero区域 - 移动端横屏 */
  .hero {
    height: 80vh;
    min-height: 500px;
  }
  
  .hero-content h1 {
    font-size: 2.4rem;
  }
  
  .hero-content h2 {
    font-size: 1.2rem;
  }
  
  .intro {
    font-size: 0.95rem;
  }
  
  .cta-buttons {
    gap: 16px;
  }
  
  /* About Us卡片 - 移动端横屏 */
  .about-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 24px;
  }
  
  .about-card {
    padding: 24px;
  }
  
  .about-card h3 {
    font-size: 1.2rem;
  }
  
  /* Services网格 - 移动端横屏 */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 24px;
  }
  
  /* Products网格 - 移动端横屏 */
  .highlight-fabrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0 24px;
  }
  
  /* 产品页面图片网格 - 移动端横屏 */
  .ba-grid-square-4 {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0 24px;
  }
  
  .ba-grid-rect-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 24px;
  }
  
  /* 通用间距 */
  .section-title {
    font-size: 1.6rem;
  }
  
  .container {
    padding: 0 24px;
  }
  
  /* 联系信息 - 移动端横屏 */
  .contact-divani-main {
    gap: 24px;
    padding: 32px 24px;
    align-items: center;
  }
  
  /* Contact Us标题居中对齐 */
  .contact-divani-title {
    text-align: center !important;
    margin: 0 auto 16px auto !important;
  }
  
  /* Contact Us内容左对齐 */
  .contact-divani-item {
    text-align: left !important;
    margin: 0 auto 12px auto !important;
  }
  
  /* 联系卡片居中显示 */
  .contact-item {
    margin: 0 auto !important;
    width: 100%;
    max-width: calc(100% - 48px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  
  .contact-divani-map iframe {
    height: 350px;
  }
}

/* 移动端横屏优化 - 确保滑块功能正常 */
@media (min-width: 481px) and (max-width: 768px) and (orientation: landscape) {
  /* 导航栏 - 移动端横屏 */
  .navbar {
    padding: 18px 24px;
  }
  
  .logo span {
    font-size: 1.4rem;
  }
  
  .burger {
    display: none;
  }
  
  .navbar nav {
    display: flex !important;
    flex-direction: row;
    position: static;
    width: auto;
    padding: 0;
    border: none;
    max-height: none;
    background: none;
  }
  
  .navbar nav a {
    margin: 0 0 0 20px;
    font-size: 0.9rem;
    white-space: nowrap;
  }
  
  /* 首页About Us卡片 - 移动端横屏 */
  .about-cards {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-top: 32px !important;
    padding: 0 24px !important;
  }
  
  .about-card {
    padding: 20px !important;
  }
  
  .about-card h3 {
    font-size: 1.1rem !important;
  }
  
  .about-card p {
    font-size: 0.9rem !important;
  }
  
  /* 首页Services网格 - 移动端横屏 */
  .services-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    padding: 0 24px !important;
  }
  
  /* 首页Products网格 - 移动端横屏 */
  .highlight-fabrics {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    padding: 0 24px !important;
  }
  
  /* 确保fabric-info副标题居中 */
  .fabric-info p {
    text-align: center !important;
  }
  
  /* 产品页面图片网格 - 移动端横屏 */
  .ba-grid-square-4 {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    margin: 0 auto 32px auto !important;
    padding: 0 16px !important;
  }
  
  .ba-grid-rect-3 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    margin: 0 auto 32px auto !important;
    padding: 0 16px !important;
  }
  
  /* 统一1:1图片尺寸 */
  .ba-img-square {
    width: 240px !important;
    height: 240px !important;
    max-width: 90vw !important;
    max-height: 90vw !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
  }
  
  /* 统一4:3图片尺寸 */
  .ba-img-rect {
    width: 400px !important;
    height: 300px !important;
    max-width: 95vw !important;
    max-height: 70vw !important;
    aspect-ratio: 4/3 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    background: transparent !important;
  }
  
  /* 滑块样式统一 */
  .ba-slider.square {
    width: 240px !important;
    height: 240px !important;
    max-width: 90vw !important;
    max-height: 90vw !important;
    aspect-ratio: 1/1 !important;
  }
  
  .ba-slider.rect {
    width: 400px !important;
    height: 267px !important;
    max-width: 95vw !important;
    max-height: 70vw !important;
    aspect-ratio: 3/2 !important;
  }
  
  /* 确保容器充分利用横屏空间 */
  .ba-section {
    padding: 20px 0 !important;
    max-width: 100% !important;
  }
  
  .container {
    max-width: 100% !important;
    padding: 0 24px !important;
  }
}

/* === 手机端横屏优化 - 更像平板横屏体验 === */
@media (min-width: 481px) and (max-width: 768px) and (orientation: landscape) {
  /* 导航栏优化 - 更像平板横屏 */
  .navbar {
    padding: 20px 32px !important;
    background: #344A23 !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  
  .logo {
    height: 56px !important;
    gap: 16px !important;
  }
  
  .logo img {
    height: 48px !important;
    width: auto !important;
  }
  
  .logo span {
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    color: #C8B376 !important;
    letter-spacing: 0.06em !important;
  }
  
  .burger {
    display: none !important;
  }
  
  .navbar nav {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    width: auto !important;
    padding: 0 !important;
    border: none !important;
    max-height: none !important;
    background: none !important;
  }
  
  .navbar nav a {
    margin: 0 0 0 28px !important;
    font-size: 1rem !important;
    white-space: nowrap !important;
    color: #C8B376 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
  }
  
  .navbar nav a:hover {
    background: linear-gradient(135deg, #C8B376 0%, #D4AF37 50%, #C8B376 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
  }
  
  /* Hero区域优化 - 更像平板横屏 */
  .hero {
    height: 85vh !important;
    min-height: 600px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .hero-content {
    text-align: center !important;
    max-width: 90% !important;
    margin: 0 auto !important;
  }
  
  .hero-content h1 {
    font-size: 3.2rem !important;
    margin-bottom: 0.5em !important;
    letter-spacing: 2px !important;
    color: #C8B376 !important;
    font-weight: 900 !important;
  }
  
  .hero-content h2 {
    font-size: 1.6rem !important;
    font-weight: 400 !important;
    margin-bottom: 1.5em !important;
    color: #C8B376 !important;
  }
  
  .intro {
    font-size: 1.2rem !important;
    margin-bottom: 2em !important;
    color: #C8B376 !important;
    line-height: 1.6 !important;
  }
  
  .cta-buttons {
    display: flex !important;
    justify-content: center !important;
    gap: 32px !important;
  }
  
  .btn {
    padding: 1.2em 2.8em !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    border-radius: 32px !important;
    min-height: 56px !important;
  }
  
  /* About Us卡片优化 - 更像平板横屏 */
  .about {
    padding: 80px 0 !important;
  }
  
  .about-cards {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    margin-top: 48px !important;
    padding: 0 32px !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .about-card {
    padding: 28px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(200, 179, 118, 0.2) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  }
  
  .about-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3) !important;
  }
  
  .about-card-icon {
    margin-bottom: 24px !important;
  }
  
  .about-card-icon svg {
    width: 48px !important;
    height: 48px !important;
  }
  
  .about-card h3 {
    font-size: 1.4rem !important;
    margin-bottom: 16px !important;
    color: #C8B376 !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
  }
  
  .about-card p {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: #fff !important;
    opacity: 0.9 !important;
  }
  
  .about-quote {
    font-size: 1.3rem !important;
    padding: 0 32px !important;
  }
  
  /* Services网格优化 - 更像平板横屏 */
  .services {
    padding: 80px 0 !important;
  }
  
  .services-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    padding: 0 32px !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .service-card {
    min-height: 280px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,0.15) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    aspect-ratio: 3 / 4 !important;
    max-width: 280px !important;
    margin: 0 auto !important;
  }
  
  .service-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
    background: rgba(255,255,255,0.2) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
  }
  
  .service-img {
    width: 100% !important;
    height: 75% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
    flex: 3 !important;
  }
  
  .service-card h3 {
    font-size: 1.5rem !important;
    padding: 20px !important;
    color: #C8B376 !important;
    font-weight: 700 !important;
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .service-overlay p {
    font-size: 1rem !important;
    padding: 30px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px !important;
    font-family: 'Playfair Display', serif !important;
    font-style: italic !important;
  }
  
  /* Products网格优化 - 更像平板横屏 */
  .featured-fabrics {
    padding: 80px 0 !important;
  }
  
  .highlight-fabrics {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    padding: 0 32px !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .fabric-sample {
    border-radius: 12px !important;
    background: rgba(255,255,255,0.15) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1) !important;
    transition: all 0.3s !important;
  }
  
  .fabric-sample:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2) !important;
  }
  
  .fabric-sample img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
  }
  
  .fabric-info {
    padding: 1.5rem !important;
    text-align: center !important;
  }
  
  .fabric-info h3 {
    font-size: 1.2rem !important;
    margin-bottom: 0.5rem !important;
    color: #fff !important;
    font-weight: 600 !important;
  }
  
  .fabric-info p {
    color: #C8B376 !important;
    opacity: 0.9 !important;
    font-size: 0.9rem !important;
    text-align: center !important;
  }
  
  .fabric-cta {
    text-align: center !important;
    margin-top: 32px !important;
    padding: 0 32px !important;
  }
  
  .btn-large {
    padding: 18px 36px !important;
    font-size: 1.1rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
  }
  
  /* 产品页面图片网格优化 - 更像平板横屏 */
  .ba-grid-square-4 {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin: 0 auto 40px auto !important;
    padding: 0 32px !important;
    max-width: 1200px !important;
  }
  
  .ba-grid-rect-3 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    margin: 0 auto 40px auto !important;
    padding: 0 32px !important;
    max-width: 1200px !important;
  }
  
  /* 统一1:1图片尺寸 - 更像平板横屏 */
  .ba-img-square {
    width: 280px !important;
    height: 280px !important;
    max-width: 90vw !important;
    max-height: 90vw !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1) !important;
  }
  
  /* 统一4:3图片尺寸 - 更像平板横屏 */
  .ba-img-rect {
    width: 450px !important;
    height: 337px !important;
    max-width: 95vw !important;
    max-height: 70vw !important;
    aspect-ratio: 4/3 !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1) !important;
    background: transparent !important;
  }
  
  /* 滑块样式统一 - 更像平板横屏 */
  .ba-slider.square {
    width: 280px !important;
    height: 280px !important;
    max-width: 90vw !important;
    max-height: 90vw !important;
    aspect-ratio: 1/1 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1) !important;
  }
  
  .ba-slider.rect {
    width: 450px !important;
    height: 337px !important;
    max-width: 95vw !important;
    max-height: 70vw !important;
    aspect-ratio: 4/3 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1) !important;
  }
  
  /* 滑块手柄优化 - 更像平板横屏 */
  .ba-slider .ba-handle {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 4px !important;
    background: #C8B376 !important;
    cursor: ew-resize !important;
    z-index: 2 !important;
    border-radius: 2px !important;
    transition: background 0.2s !important;
    box-shadow: 0 0 8px #C8B376 !important;
  }
  
  .ba-slider .ba-handle:after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 32px !important;
    height: 32px !important;
    background: #C8B376 !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px #C8B37644 !important;
    border: 2px solid #fff !important;
    z-index: 3 !important;
  }
  
  /* 滑块标签优化 - 更像平板横屏 */
  .ba-slider-label {
    position: absolute !important;
    bottom: 10px !important;
    left: 10px !important;
    background: rgba(52,74,35,0.7) !important;
    color: #fff !important;
    font-size: 0.95rem !important;
    padding: 2px 12px 2px 10px !important;
    border-radius: 8px 0 0 8px !important;
    z-index: 10 !important;
    pointer-events: none !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 700 !important;
    opacity: 0.85 !important;
  }
  
  .ba-slider-label.after {
    left: auto !important;
    right: 10px !important;
    border-radius: 0 8px 8px 0 !important;
    padding: 2px 10px 2px 12px !important;
  }
  
  /* 确保容器充分利用横屏空间 - 更像平板横屏 */
  .ba-section {
    padding: 40px 0 !important;
    max-width: 100% !important;
  }
  
  .container {
    max-width: 100% !important;
    padding: 0 32px !important;
  }
  
  /* 通用间距优化 - 更像平板横屏 */
  .section-title {
    font-size: 2.5rem !important;
    margin-bottom: 3rem !important;
    color: #C8B376 !important;
    text-align: center !important;
  }
  
  /* 联系信息优化 - 更像平板横屏 */
  .contact-divani {
    padding: 80px 0 !important;
  }
  
  .contact-divani-main {
    gap: 48px !important;
    padding: 48px 32px !important;
    align-items: flex-start !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .contact-divani-title {
    font-size: 2rem !important;
    margin-bottom: 1.2em !important;
    color: #C8B376 !important;
    font-weight: 900 !important;
    letter-spacing: 0.04em !important;
  }
  
  .contact-divani-item {
    margin-bottom: 18px !important;
    font-size: 1.08rem !important;
    line-height: 1.7 !important;
  }
  
  .contact-divani-map iframe {
    height: 400px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 24px rgba(52,74,35,0.18) !important;
  }
  
  .contact-divani-social {
    margin-top: 18px !important;
    gap: 18px !important;
  }
  
  .logo-xhs {
    width: 28px !important;
    height: 28px !important;
  }
  
  /* 轮播图优化 - 更像平板横屏 */
  .carousel-btn {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.5rem !important;
    border-radius: 50% !important;
  }
  
  .carousel-btn.prev {
    left: 24px !important;
  }
  
  .carousel-btn.next {
    right: 24px !important;
  }
  
  .carousel-dots {
    bottom: 24px !important;
  }
  
  .dot {
    width: 12px !important;
    height: 12px !important;
    margin: 0 6px !important;
  }
  
  /* Footer优化 - 更像平板横屏 */
  .footer-copy {
    padding: 24px 32px !important;
    font-size: 0.95rem !important;
    text-align: center !important;
  }
  
  /* 产品页面标题优化 - 更像平板横屏 */
  .ba-title {
    font-size: 2.3rem !important;
    margin-bottom: 1rem !important;
    color: #C8B376 !important;
    font-weight: 900 !important;
  }
  
  .ba-subtitle {
    font-size: 1.1rem !important;
    margin-bottom: 1.5rem !important;
    color: #fff !important;
    opacity: 0.9 !important;
  }
}

  /* 确保滑块在移动端正常工作 - 防止页面滚动 */
  @media (max-width: 768px) {
    .ba-slider {
      touch-action: pan-y pinch-zoom;
      user-select: none;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
    }
    
    .ba-slider:active {
      touch-action: none;
    }
    
    .ba-handle {
      touch-action: none;
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
    }
    
    /* 防止滑块拖动时页面滚动 */
    .ba-slider.dragging {
      touch-action: none;
    }
    
    .ba-slider.dragging * {
      pointer-events: none;
    }
    
    .ba-handle {
      pointer-events: auto;
    }
    
    /* 确保滑块标签可见 */
    .ba-slider-label {
      display: block !important;
      visibility: visible !important;
    }
  }

/* 移动端优化 - 确保所有内容都在屏幕内 */
@media (max-width: 480px) {
  body {
    overflow-x: hidden;
  }
  
  .container {
    max-width: 100vw;
    padding: 0 16px;
  }
  
  /* 确保图片不会溢出 */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* 确保滑块不会溢出 */
  .ba-slider {
    max-width: 100%;
    overflow: hidden;
  }
  
  /* 确保导航栏不会溢出 */
  .navbar {
    max-width: 100vw;
    overflow: hidden;
  }
  
  /* 确保网格不会溢出 */
  .ba-grid-square-4,
  .ba-grid-rect-3,
  .services-grid,
  .about-cards,
  .highlight-fabrics {
    max-width: 100vw;
    overflow: hidden;
  }
  
  /* 手机端特定卡片副标题居中 */
  .fabric-info p {
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  /* 首页和服务页面使用单列布局 */
  .services-grid,
  .about-cards,
  .highlight-fabrics {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin: 0 auto !important;
    width: calc(100% - 32px);
    justify-content: center;
  }
  
  /* 产品页面（curtains, upholstery等）恢复为双列布局 */
  .ba-grid-square-4,
  .ba-grid-rect-3,
  .product-list-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    margin: 0 auto !important;
    width: calc(100% - 32px);
    justify-content: center;
  }
  /* 图片卡片与平板端保持一致的样式 */
  .service-card,
  .about-card,
  .fabric-sample,
  .ba-card,
  .product-list-card {
    margin: 0 !important;
    padding: 16px !important;
    width: 100% !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  /* 图片本身与平板端保持一致的样式 */
  .service-img,
  .about-card img,
  .fabric-sample img,
  .ba-img-square,
  .ba-img-rect,
  .product-list-card img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
    display: block;
    border-radius: 8px !important;
    margin: 0 !important;
  }
  /* 滑块图片与平板端保持一致的样式 */
  .ba-slider.square,
  .ba-slider.rect {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1 !important;
    margin: 0 !important;
    border-radius: 8px !important;
  }
  /* 首页和服务页面单列布局，所有卡片都居中显示 */
  .services-grid > *,
  .about-cards > *,
  .highlight-fabrics > * {
    justify-self: center !important;
    width: 100% !important;
  }
  
  /* 产品页面双列布局，最后一张单独一行居中 */
  .ba-grid-square-4 > :last-child:nth-child(odd),
  .ba-grid-rect-3 > :last-child:nth-child(odd),
  .product-list-grid > :last-child:nth-child(odd) {
    grid-column: 1 / span 2 !important;
    justify-self: center !important;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  /* 所有标题和段落居中对齐 */
  h1, h2, h3, h4, h5, h6, .section-title, .ba-title, .ba-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  /* 段落保持左对齐但添加适当padding */
  p, .about-card p, .service-overlay p {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  /* 统一标题与段落上下间距 */
  h1, h2, h3, h4, h5, h6, .section-title, .ba-title {
    margin-top: 24px !important;
    margin-bottom: 12px !important;
  }
  p, .about-card p, .service-overlay p, .ba-subtitle {
    margin-top: 0 !important;
    margin-bottom: 24px !important;
  }
  /* 特殊区块标题间距微调 */
  .about-card h3, .service-card h3 {
    margin-top: 16px !important;
    margin-bottom: 8px !important;
  }
  /* 保证section内首个标题有足够上间距 */
  section > h1, section > h2, section > h3, section > .section-title, section > .ba-title {
    margin-top: 32px !important;
  }
  
  /* 主页卡片标题统一增大 - 手机端优化 */
  .about-card h3 {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
  }
  
  .service-card h3 {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    padding: 0 16px !important;
  }
  
  .fabric-info h3 {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
  }
}

@media (max-width: 480px) {
  /* 统一所有section的上下间距 */
  section, .hero, .about, .services, .featured-fabrics, .testimonials, .contact, .ba-section, .contact-divani {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  /* 特殊section间距调整 */
  .hero {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
  /* 确保section内首个元素有足够上间距 */
  section > *:first-child {
    margin-top: 0 !important;
  }
  /* 确保section内最后元素有足够下间距 */
  section > *:last-child {
    margin-bottom: 0 !important;
  }
  /* 统一container内间距 */
  .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* === 手机端导航栏优化 (max-width: 600px) === */
@media (max-width: 600px) {
  /* 导航栏主行 - 和平板一致的一行布局，左边logo，右边汉堡菜单 */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 16px 24px;
    background: #344A23;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    overflow: hidden;
  }
  
  /* Logo和公司名 - 左边显示，和平板一致的样式，完整显示 */
  .logo {
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
    overflow: visible;
  }
  
  .logo img {
    height: 48px;
    width: auto;
    display: block;
    flex-shrink: 0;
    min-width: 40px;
  }
  
  .logo span {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 900;
    color: #C8B376;
    letter-spacing: 0.06em;
    margin-left: 0.2em;
    line-height: 1;
    display: inline-block;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    flex-shrink: 1;
    min-width: 0;
  }
  
  /* 汉堡菜单 - 右边显示，和平板一致的样式 */
  .burger {
    display: block;
    cursor: pointer;
    font-size: 1.8rem;
    color: #C8B376;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .burger:hover {
    background: rgba(200, 179, 118, 0.1);
  }
  
  .burger.open {
    background: rgba(200, 179, 118, 0.2);
  }
  
  /* 导航菜单 - 默认隐藏，点击汉堡菜单后展开 */
  .navbar nav {
    display: none;
    flex-direction: column;
    background: #344A23;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    padding: 20px;
    border-top: 1px solid rgba(200, 179, 118, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }
  
  .navbar nav.active {
    display: flex;
  }
  
  .navbar nav a {
    margin: 8px 0;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 8px;
    transition: background 0.3s ease;
    color: #C8B376;
    text-decoration: none;
  }
  
  .navbar nav a:hover {
    background: rgba(200, 179, 118, 0.1);
  }
}

/* 确保平板和电脑端的排版不受影响 */
@media (min-width: 768px) {
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    background: #344A23;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
    height: 56px;
  }
  
  .logo img {
    height: 48px;
    width: auto;
    display: block;
  }
  
  .logo span {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: #C8B376;
    letter-spacing: 0.06em;
    margin-left: 0.2em;
    line-height: 1;
    display: inline-block;
  }
  
  .burger {
    display: none;
  }
  
  .navbar nav {
    display: flex;
    flex-direction: row;
    position: static;
    width: auto;
    padding: 0;
    border: none;
    max-height: none;
    background: none;
  }
  
  .navbar nav a {
    color: #C8B376;
    text-decoration: none;
    margin-left: 32px;
    font-size: 1rem;
    transition: color 0.2s;
  }
  
  .navbar nav a:hover {
    background: linear-gradient(135deg, #C8B376 0%, #D4AF37 50%, #C8B376 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

/* === 手机端竖屏优化 - 图片比例和Before & After组件 === */

/* 手机端竖屏特定优化 (480px以下竖屏) */
@media (max-width: 480px) and (orientation: portrait) {
  
  /* 1. 图片比例优化 - 确保按照class决定比例 */
  
  /* .ba-img-rect 图片显示为 4:3 比例 */
  .ba-img-rect {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4/3 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    max-width: 100% !important;
    max-height: none !important;
  }
  
  /* .ba-img-square 图片保持为 1:1 比例 */
  .ba-img-square {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    max-width: 100% !important;
    max-height: none !important;
  }
  
  /* 2. Before & After 组件优化 */
  
  /* 滑块容器优化 */
  .ba-slider {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 0 auto 16px auto !important;
    max-width: 100% !important;
    max-height: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  
  .ba-slider.rect {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4/3 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 0 auto 16px auto !important;
    max-width: 100% !important;
    max-height: none !important;
    background: transparent !important;
    box-shadow: none !important;
    /* 确保标签能够正确定位 */
    display: block !important;
  }
  
  /* 滑块图片优化 - 避免过度裁剪 */
  .ba-slider img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    user-select: none !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }
  
  /* 4:3图片特殊处理 - 使用contain避免裁剪 */
  .ba-slider.rect img {
    object-fit: contain !important;
    object-position: center !important;
    z-index: 1 !important;
  }
  
  /* 3. 优化后的滑块按钮 - 缩小尺寸并跟随分割线移动 */
  .ba-slider .ba-handle {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 2px !important;
    background: #C8B376 !important;
    cursor: ew-resize !important;
    z-index: 2 !important;
    border-radius: 1px !important;
    transition: none !important;
    box-shadow: 0 0 4px #C8B376 !important;
    /* left值由JavaScript控制，不在这里设置 */
  }
  
  /* 滑块按钮的圆形手柄 - 缩小尺寸 */
  .ba-slider .ba-handle:after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 18px !important;
    height: 18px !important;
    background: #C8B376 !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 6px #C8B37644 !important;
    border: 2px solid #fff !important;
    z-index: 16 !important;
  }
  
  .ba-slider .ba-handle:active {
    cursor: grabbing !important;
  }
  
  .ba-slider .ba-handle:active:after {
    transform: translate(-50%, -50%) scale(1.1) !important;
  }
  
  /* 4. Before & After 文字标签优化 - 叠加到图片内 */
  .ba-slider-label {
    position: absolute !important;
    bottom: 8px !important;
    left: 8px !important;
    background: rgba(52, 74, 35, 0.8) !important;
    color: #fff !important;
    font-size: 0.75rem !important;
    padding: 2px 8px !important;
    border-radius: 6px 0 0 6px !important;
    z-index: 10 !important;
    pointer-events: none !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 600 !important;
    opacity: 0.9 !important;
    line-height: 1.2 !important;
    display: block !important;
    visibility: visible !important;
  }
  
  .ba-slider-label.after {
    left: auto !important;
    right: 8px !important;
    border-radius: 0 6px 6px 0 !important;
    padding: 2px 8px !important;
  }
  
  /* 确保4:3图片的标签不会占用额外空间 */
  .ba-slider.rect {
    position: relative !important;
    overflow: hidden !important;
    background: transparent !important;
    /* 确保标签在容器内部 */
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* 确保4:3图片的标签正确叠加在图片内部 */
  .ba-slider.rect .ba-slider-label,
  .ba-slider.rect .ba-slider-label.after {
    position: absolute !important;
    bottom: 8px !important;
    z-index: 20 !important;
    margin: 0 !important;
    padding: 2px 8px !important;
    background: rgba(52, 74, 35, 0.8) !important;
    color: #fff !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    border-radius: 6px !important;
    pointer-events: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    /* 确保标签在图片内部 */
    max-width: calc(100% - 16px) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  .ba-slider.rect .ba-slider-label {
    left: 8px !important;
    border-radius: 6px 0 0 6px !important;
  }
  
  .ba-slider.rect .ba-slider-label.after {
    left: auto !important;
    right: 8px !important;
    border-radius: 0 6px 6px 0 !important;
  }
  
  /* 确保滑块在手机端正常工作 */
  .ba-slider {
    touch-action: pan-y pinch-zoom !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
  }
  
  /* 防止滑块拖动时页面滚动 */
  .ba-slider.dragging {
    touch-action: none !important;
  }
  
  .ba-slider.dragging * {
    pointer-events: none !important;
  }
  
  .ba-slider .ba-handle {
    pointer-events: auto !important;
  }
  
  /* 确保滑块标签可见 */
  .ba-slider-label {
    display: block !important;
    visibility: visible !important;
  }
  
  /* 确保4:3图片的标签在手机端正确显示 */
  .ba-slider.rect .ba-slider-label,
  .ba-slider.rect .ba-slider-label.after {
    position: absolute !important;
    bottom: 8px !important;
    z-index: 20 !important;
    margin: 0 !important;
    padding: 2px 8px !important;
    background: rgba(52, 74, 35, 0.8) !important;
    color: #fff !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    border-radius: 6px !important;
    pointer-events: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: calc(100% - 16px) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  .ba-slider.rect .ba-slider-label {
    left: 8px !important;
    border-radius: 6px 0 0 6px !important;
  }
  
  .ba-slider.rect .ba-slider-label.after {
    left: auto !important;
    right: 8px !important;
    border-radius: 0 6px 6px 0 !important;
  }
  
  /* 确保JavaScript可以控制滑块手柄位置 */
  .ba-slider .ba-handle {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 2px !important;
    background: #C8B376 !important;
    cursor: ew-resize !important;
    z-index: 15 !important;
    border-radius: 1px !important;
    transition: none !important;
    box-shadow: 0 0 4px #C8B376 !important;
    /* 移除固定的left值，让JavaScript控制 */
    /* 确保手柄可以正确移动 */
    transform: none !important;
  }
  
  /* 5. 图片网格优化 - 确保图片比例正确并添加间距 */
  .ba-grid-square-4,
  .ba-grid-rect-3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 0 16px !important;
    width: calc(100% - 32px) !important;
    margin: 0 auto !important;
  }
  
  /* 图片卡片优化 - 添加间距 */
  .ba-card {
    padding: 0 !important;
    margin: 0 0 12px 0 !important;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  /* 确保图片不会溢出容器 */
  .ba-card img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* 标签文字优化 */
  .ba-label {
    font-size: 0.85rem !important;
    margin-top: 8px !important;
    text-align: center !important;
    color: #C8B376 !important;
    font-weight: 600 !important;
  }
}

/* 确保平板和桌面端不受影响 */
@media (min-width: 481px) {
  /* 保持原有的图片比例设置 */
  .ba-img-square {
    width: 240px;
    height: 240px;
    max-width: 90vw;
    max-height: 90vw;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
  }
  
  .ba-img-rect {
    width: 400px;
    height: 300px;
    max-width: 95vw;
    max-height: 70vw;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 12px;
    display: block;
  }
  
  /* 保持原有的滑块设置 */
  .ba-slider {
    position: relative;
    width: 240px;
    height: 240px;
    max-width: 90vw;
    max-height: 90vw;
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.13);
    background: #222;
    margin-bottom: 10px;
    user-select: none;
  }
  
  .ba-slider.rect {
    width: 400px;
    height: 300px;
    max-width: 95vw;
    max-height: 70vw;
    aspect-ratio: 4/3;
  }
  
  /* 保持原有的滑块手柄设置 */
  .ba-slider .ba-handle {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 4px;
    background: #C8B376;
    cursor: ew-resize;
    z-index: 2;
    border-radius: 2px;
    transition: background 0.2s;
    box-shadow: 0 0 8px #C8B376;
  }
  
  .ba-slider .ba-handle:after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 32px; height: 32px;
    background: #C8B376;
    border-radius: 50%;
    box-shadow: 0 2px 8px #C8B37644;
    border: 2px solid #fff;
    z-index: 3;
  }
  
  /* 保持原有的标签设置 */
  .ba-slider-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(52,74,35,0.7);
    color: #fff;
    font-size: 0.95rem;
    padding: 2px 12px 2px 10px;
    border-radius: 8px 0 0 8px;
    z-index: 10;
    pointer-events: none;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    opacity: 0.85;
  }
  
  .ba-slider-label.after {
    left: auto;
    right: 10px;
    border-radius: 0 8px 8px 0;
    padding: 2px 10px 2px 12px;
  }
}
