/*
Theme Name: Xuchang Hair Source
Version: 1.0
*/

body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#1f2937;line-height:1.65;background:#fff}
a{text-decoration:none;color:inherit}
.container{width:min(1160px,92%);margin:auto}
.topbar{background:#0f172a;color:#e5e7eb;font-size:13px;padding:8px 0}
.header{background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:10}
.header-inner{display:flex;justify-content:space-between;align-items:center;padding:18px 0;gap:25px}
.logo{font-size:24px;font-weight:800;color:#111827}
.logo span{color:#c7923e}
.nav ul{list-style:none;display:flex;gap:22px;margin:0;padding:0;flex-wrap:wrap}
.nav a{font-weight:600;color:#374151}
.nav a:hover{color:#c7923e}
.hero{background:linear-gradient(90deg,rgba(17,24,39,.95),rgba(17,24,39,.72)),radial-gradient(circle at 75% 20%,#64748b,#111827);color:white;padding:90px 0}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:45px;align-items:center}
.eyebrow{color:#f7d28a;font-weight:700;text-transform:uppercase;letter-spacing:.12em;font-size:13px;margin-bottom:12px}
.hero h1{font-size:48px;line-height:1.12;margin:0 0 20px;max-width:900px}
.hero p{font-size:18px;color:#e5e7eb;max-width:760px}
.btn{display:inline-block;background:#c7923e;color:#fff;padding:12px 22px;border-radius:999px;font-weight:700;margin-right:10px;margin-top:10px}
.btn:hover{background:#9f6d25}
.btn-outline{background:white;color:#9f6d25}
.hero-card{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:22px;padding:28px}
.section{padding:70px 0}
.section-soft{background:#f8fafc}
.section-title{text-align:center;margin-bottom:38px}
.section-title h2{font-size:34px;margin:0 0 12px;color:#111827}
.section-title p{color:#6b7280;max-width:760px;margin:auto}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.card{border:1px solid #e5e7eb;border-radius:18px;background:white;padding:26px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.card h3{margin:0 0 10px;color:#111827}
.card p{color:#6b7280;margin:0}
.product-img{height:190px;background:linear-gradient(135deg,#f3f4f6,#e5e7eb);display:flex;align-items:center;justify-content:center;color:#9ca3af;font-weight:700}
.product-card{padding:0;overflow:hidden}
.product-body{padding:22px}
.tag{display:inline-block;background:#fff7ed;color:#7c4f14;border-radius:999px;padding:4px 10px;font-size:12px;margin-bottom:10px}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.checklist{list-style:none;padding:0;margin:0}
.checklist li{border-bottom:1px solid #e5e7eb;padding:10px 0 10px 30px;position:relative}
.checklist li:before{content:"✓";position:absolute;left:0;color:#9f6d25;font-weight:800}
.process{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.step{background:white;border:1px solid #e5e7eb;border-radius:18px;padding:22px}
.step-num{width:36px;height:36px;border-radius:50%;background:#c7923e;color:white;display:flex;align-items:center;justify-content:center;font-weight:800;margin-bottom:12px}
.cta{background:#111827;color:white;padding:64px 0}
.footer{background:#0b1120;color:#cbd5e1;padding:42px 0;font-size:14px}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:30px}
.footer h4{color:white;margin:0 0 12px}
.page-hero{background:#111827;color:white;padding:60px 0}
.page-hero h1{font-size:42px;margin:0}
.content{padding:60px 0}
table{width:100%;border-collapse:collapse;background:white}
td,th{border:1px solid #e5e7eb;padding:12px;text-align:left}
th{background:#f9fafb}
@media(max-width:900px){.hero-grid,.two-col,.footer-grid{grid-template-columns:1fr}.grid{grid-template-columns:1fr 1fr}.process{grid-template-columns:1fr 1fr}.hero h1{font-size:36px}}
@media(max-width:620px){.grid,.process{grid-template-columns:1fr}.header-inner{flex-direction:column;align-items:flex-start}}

.topbar-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}
.lang-switcher ul{
  list-style:none;
  display:flex;
  gap:12px;
  margin:0;
  padding:0;
}
.lang-switcher a{
  color:#e5e7eb;
  font-weight:600;
  font-size:13px;
}
.lang-switcher a:hover{
  color:#f7d28a;
}
.lang-switcher .current-lang a{
  color:#f7d28a;
}
.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid #d1d5db;
  border-radius:10px;
  margin-top:6px;
}
.wpcf7 label{
  font-weight:700;
  color:#111827;
}
.wpcf7 p{
  margin-bottom:18px;
}
.wpcf7-submit{
  background:#c7923e !important;
  color:#fff !important;
  border:0 !important;
  border-radius:999px !important;
  padding:13px 26px !important;
  font-weight:800;
  cursor:pointer;
}

/* FORCE FIX: top language switcher */
.topbar-inner{
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:20px !important;
  flex-wrap:wrap !important;
}
.lang-switcher{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
}
.lang-switcher a{
  color:#e5e7eb !important;
  font-size:13px !important;
  font-weight:800 !important;
  text-decoration:none !important;
}
.lang-switcher a:hover{
  color:#f7d28a !important;
}

/* FORCE FIX: contact form */
.wpcf7{
  max-width:820px !important;
}
.wpcf7 label{
  display:block !important;
  font-weight:700 !important;
  color:#111827 !important;
  margin-bottom:16px !important;
}
.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea{
  width:100% !important;
  padding:12px 14px !important;
  border:1px solid #d1d5db !important;
  border-radius:10px !important;
  margin-top:6px !important;
  font-size:15px !important;
}
.wpcf7 textarea{
  min-height:120px !important;
}
.wpcf7-submit{
  width:auto !important;
  background:#c7923e !important;
  color:#fff !important;
  border:0 !important;
  border-radius:999px !important;
  padding:13px 28px !important;
  font-weight:800 !important;
  cursor:pointer !important;
}
.wpcf7-submit:hover{
  background:#9f6d25 !important;
}

/* Floating language flag switcher */
.floating-lang{
  position:fixed;
  right:18px;
  top:42%;
  transform:translateY(-50%);
  z-index:9999;
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  box-shadow:0 12px 28px rgba(15,23,42,.18);
  padding:8px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.floating-lang a{
  width:58px;
  height:48px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  color:#111827;
  font-size:12px;
  font-weight:800;
  background:#f8fafc;
  transition:all .2s ease;
}
.floating-lang a:hover{
  background:#111827;
  color:#ffffff;
  transform:translateX(-3px);
}
.floating-lang span{
  font-size:20px;
  line-height:1;
}
.floating-lang b{
  font-size:11px;
  margin-top:3px;
}
@media(max-width:768px){
  .floating-lang{
    right:10px;
    top:auto;
    bottom:18px;
    transform:none;
    flex-direction:row;
    border-radius:999px;
  }
  .floating-lang a{
    width:46px;
    height:42px;
  }
}

/* Hide top language switcher, keep floating flag selector only */
.topbar .lang-switcher{
  display:none !important;
}

.topbar .topbar-inner{
  justify-content:center !important;
  text-align:center !important;
}


.topbar .lang-switcher{
  display:none !important;
}
.topbar .topbar-inner{
  justify-content:center !important;
  text-align:center !important;
}



.product-link{

  display:block;

  color:inherit;

  text-decoration:none;

  transition:all .2s ease;

}

.product-link:hover{

  transform:translateY(-4px);

  box-shadow:0 14px 34px rgba(15,23,42,.12);

}

.product-link:hover h3{

  color:#c7923e;

}

