/* AGJewel — 主样式
   色系沿用旧站：主色 #eb5a31（珊瑚橙红）、深灰 #222、暖米色背景 #fcf9f8 */
:root {
  --accent: #eb5a31;
  --accent-dark: #d1481f;
  --ink: #222222;
  --muted: #6b6560;
  --bg: #fcf9f8;
  --bg-soft: #f3e3de;
  --card: #ffffff;
  --line: #e8ddd8;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(34, 24, 18, .08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .4em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 20px; }
.muted { color: var(--muted); }

/* ---------- 顶栏 ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 249, 248, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--ink); font-weight: 600; font-size: .95rem; padding: 6px 2px; }
.nav a:hover { color: var(--accent); text-decoration: none; }
.head-right { display: flex; align-items: center; gap: 12px; }
.lang-box { position: relative; }
.lang-box summary {
  list-style: none; cursor: pointer; padding: 6px 12px; border: 1px solid var(--line);
  border-radius: 8px; font-weight: 600; font-size: .9rem; background: #fff;
}
.lang-box summary::-webkit-details-marker { display: none; }
.lang-box ul {
  position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line);
  border-radius: 10px; box-shadow: var(--shadow); list-style: none; min-width: 140px; overflow: hidden;
}
.lang-box li a { display: block; padding: 8px 14px; color: var(--ink); font-size: .9rem; }
.lang-box li a:hover, .lang-box li a.on { background: var(--bg-soft); color: var(--accent-dark); text-decoration: none; }

/* ---------- 谷歌翻译（更多语言，覆盖 100+ 种） ---------- */
.gt-box { position: relative; }
.gt-box select {
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
  font-family: inherit; font-size: .82rem; font-weight: 600; padding: 6px 8px; max-width: 150px;
}
.goog-te-banner-frame, .goog-te-balloon-frame, #goog-gt-tt, .goog-tooltip, .goog-te-gadget img,
body > .skiptranslate, .goog-logo-link { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: .95rem;
  border: 2px solid var(--accent); transition: .18s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); text-decoration: none; color: #fff; }
.btn-line { background: transparent; color: var(--accent-dark); }
.btn-line:hover { background: var(--accent); color: #fff; }
.btn-wa { background: #1faa53; border-color: #1faa53; }
.btn-wa:hover { background: #178a42; border-color: #178a42; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.kicker {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-dark); background: var(--bg-soft);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero-copy p { margin: 18px 0 26px; font-size: 1.08rem; color: #4c4642; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { position: relative; }
.hero-img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; }
.hero-img-2 {
  position: absolute; left: -36px; bottom: -36px; width: 46% !important; height: auto;
  border: 6px solid var(--bg);
}

/* ---------- 信任条 ---------- */
.strip { background: var(--ink); color: #fff; padding: 22px 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.strip strong { display: block; font-size: 1.05rem; color: #ffb59e; }
.strip span { font-size: .88rem; color: #cfc9c4; }

/* ---------- 分类 / 卡片 ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.cat {
  background: var(--card); border-radius: var(--radius); overflow: hidden; text-align: center;
  border: 1px solid var(--line); transition: .18s; color: var(--ink); font-weight: 700;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; color: var(--accent-dark); }
.cat img { aspect-ratio: 1; object-fit: cover; }
.cat span { display: block; padding: 14px 10px; }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column;
}
.card > a img { aspect-ratio: 1; object-fit: cover; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 a { color: var(--ink); }
.card-body p { font-size: .93rem; color: var(--muted); }
.moq { font-weight: 700; color: var(--accent-dark) !important; }
.tag {
  display: inline-block; align-self: flex-start; font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark);
  background: var(--bg-soft); padding: 4px 10px; border-radius: 999px;
}
.card-body .btn-line { align-self: flex-start; margin-top: auto; padding: 9px 20px; font-size: .88rem; }

/* ---------- 为什么选我们 / 引言 ---------- */
.band { background: var(--bg-soft); }
.why h3 { margin-bottom: 8px; }
.why p { color: #57504b; }
.quote {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; font-style: italic; color: #4c4642;
}
.quote footer { margin-top: 12px; font-style: normal; font-weight: 700; color: var(--accent-dark); }

/* ---------- CTA ---------- */
.cta-band { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.cta-band .btn { margin: 6px 6px 0; }

/* ---------- 产品详情 ---------- */
.crumb { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.prod-img img { border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 1; object-fit: cover; }
.prod-info h1 { margin: 10px 0 14px; }
.lead { font-size: 1.05rem; color: #4c4642; margin-bottom: 18px; }
.facts { list-style: none; background: var(--bg-soft); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 22px; }
.facts li { padding: 5px 0; border-bottom: 1px dashed #e0cdc6; }
.facts li:last-child { border-bottom: 0; }
.prod-body { margin-top: 44px; max-width: 820px; }
.prod-body h2 { margin: 26px 0 10px; }
.variants { padding-left: 20px; }
.variants li { margin: 6px 0; }
.cat-filter { color: var(--muted); margin-bottom: 26px; }

/* ---------- 页脚 ---------- */
.site-foot { background: var(--ink); color: #d8d2cd; margin-top: 40px; padding: 48px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr .8fr; gap: 32px; padding-bottom: 36px; }
.site-foot h4 { color: #fff; margin-bottom: 10px; font-size: .95rem; }
.site-foot a { color: #ffb59e; }
.site-foot .muted { color: #a49d97; }
.copy { border-top: 1px solid #3a3532; padding: 18px 20px; font-size: .85rem; color: #8f8880; }

/* ---------- WhatsApp 浮动按钮 ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: .18s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- 关于 / 服务 / 联系 ---------- */
.sec { margin-bottom: 34px; }
.sec h2 { margin-bottom: 10px; font-size: 1.3rem; }
.sec p { margin-bottom: 10px; color: #4c4642; max-width: 820px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.cbox {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.cbox h2 { font-size: 1.15rem; margin: 0; }

/* ---------- 视频 ---------- */
.video-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #000; margin: 22px 0;
}
.video-frame iframe, .video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-soon { position: relative; }
.soon-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--accent); color: #fff; font-weight: 700; font-size: .95rem;
  padding: 10px 22px; border-radius: 999px; white-space: nowrap;
}
.cbox p { color: var(--muted); }
.post { max-width: 780px; }
.post-img { border-radius: var(--radius); margin: 22px 0; }

/* ---------- 阿拉伯语 RTL ---------- */
[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .lang-box ul { right: auto; left: 0; }
[dir="rtl"] .hero-img-2 { left: auto; right: -36px; }
[dir="rtl"] .wa-float { right: auto; left: 22px; }
[dir="rtl"] .cbox, [dir="rtl"] .card-body, [dir="rtl"] .prod-info { align-items: flex-start; }
[dir="rtl"] .tag { align-self: flex-start; }
[dir="rtl"] .variants { padding-left: 0; padding-right: 20px; }

/* ---------- 响应式 ---------- */
@media (max-width: 920px) {
  .nav { display: none; }
  .hero-grid, .prod-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-img-2 { left: -10px; bottom: -20px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-5, .grid-6, .grid-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
