/* ============================================================
   Yaoxing Tools - Independent Site Stylesheet
   Clean professional B2B theme (industry standard: Sandvik /
   Kennametal style) - white & navy + brand orange accent
   ============================================================ */

:root {
  --c-navy: #0e2a47;          /* deep industrial navy   */
  --c-navy-2: #0a1f36;        /* darker navy (footer)   */
  --c-bg: #f4f6f9;            /* page background        */
  --c-card: #ffffff;
  --c-border: #e2e8f0;
  --c-text: #1b2a3d;
  --c-text-dim: #5d6f83;
  --c-accent: #f5820b;        /* brand orange           */
  --c-accent-dark: #d96e00;
  --c-accent-soft: #fff4e6;   /* soft orange tint       */
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(14,42,71,.07);
  --shadow-md: 0 10px 30px rgba(14,42,71,.12);
  --maxw: 1200px;
  --font: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
html, body { overflow-x: hidden; }

h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; color: var(--c-navy); }
.section { padding: 84px 0; }

/* Section heading with accent bar - industry standard */
.section-title {
  position: relative;
  text-align: center;
  margin-bottom: 14px;
  font-size: 32px;
  letter-spacing: .5px;
  padding-bottom: 20px;
}
.section-title span { color: var(--c-accent); }
.section-title::after {
  content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 56px; height: 4px; border-radius: 2px; background: var(--c-accent);
}
.section-sub { text-align: center; color: var(--c-text-dim); max-width: 660px; margin: 18px auto 52px; font-size: 16.5px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 8px;
  font-weight: 600; font-size: 15px; letter-spacing: .3px;
  transition: all .25s ease; cursor: pointer; border: none;
}
.btn-accent { background: var(--c-accent); color: #fff; box-shadow: 0 4px 14px rgba(245,130,11,.35); }
.btn-accent:hover { background: var(--c-accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245,130,11,.42); }
.btn-outline { border: 2px solid var(--c-navy); color: var(--c-navy); background: transparent; }
.btn-outline:hover { background: var(--c-navy); color: #fff; }
/* outline button on dark hero */
.hero .btn-outline { border-color: rgba(255,255,255,.75); color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--c-navy); }
.btn-sm { padding: 9px 20px; font-size: 13.5px; }

/* ---------- Header ---------- */
.topbar {
  background: var(--c-navy-2); font-size: 13px; color: rgba(255,255,255,.72);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar span i { color: var(--c-accent); margin-right: 6px; font-style: normal; }
.topbar .topbar-right span { margin-left: 24px; }

header {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  box-shadow: 0 1px 0 var(--c-border), 0 4px 18px rgba(14,42,71,.06);
}
header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 21px; color: #fff;
  box-shadow: 0 4px 10px rgba(245,130,11,.35);
}
.logo-text { font-size: 19px; font-weight: 800; letter-spacing: .5px; color: var(--c-navy); }
.logo-text small { display: block; font-size: 10.5px; color: var(--c-text-dim); font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; }
nav ul { display: flex; gap: 36px; }
nav a { font-size: 15px; font-weight: 600; color: var(--c-text-dim); padding: 8px 0; position: relative; transition: color .2s; }
nav a:hover, nav a.active { color: var(--c-navy); }
nav a.active::after, nav a:hover::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; border-radius: 2px; background: var(--c-accent);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; background: none; border: none; color: var(--c-navy); font-size: 26px; cursor: pointer; }

/* ---------- Language switcher ---------- */
.lang-select {
  appearance: none; -webkit-appearance: none;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%23f5820b' stroke-width='1.6' fill='none'/></svg>") no-repeat right 10px center;
  border: 1.5px solid var(--c-border); border-radius: 8px;
  color: var(--c-text); font-size: 13px; font-weight: 600;
  padding: 8px 28px 8px 12px; cursor: pointer; max-width: 150px;
  transition: border-color .2s;
}
.lang-select:focus { border-color: var(--c-accent); outline: none; }
.lang-select option { background: #fff; color: var(--c-text); }

/* ---------- RTL (Arabic) ---------- */
[dir="rtl"] .lang-select { background-position: left 10px center; padding: 8px 12px 8px 28px; }
[dir="rtl"] .topbar span i { margin-right: 0; margin-left: 6px; }
[dir="rtl"] .topbar .topbar-right span { margin-left: 0; margin-right: 24px; }
[dir="rtl"] .about-points li { padding: 8px 32px 8px 0; }
[dir="rtl"] .about-points li::before { left: auto; right: 0; }
[dir="rtl"] .search-box input { border-radius: 0 8px 8px 0; }
[dir="rtl"] .search-box button { border-radius: 8px 0 0 8px; }
[dir="rtl"] .cat-card::before { transform-origin: right; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 775px; overflow: hidden;
  display: flex; align-items: flex-start;
  background: url("../images/hero-banner-hd.webp") center/cover no-repeat #0a1f36;
  padding: 40px 0 64px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,20,38,.92) 0%, rgba(8,20,38,.72) 45%, rgba(8,20,38,.45) 75%, rgba(8,20,38,.32) 100%),
    linear-gradient(0deg, rgba(8,20,38,.5) 0%, rgba(8,20,38,0) 45%);
}
.hero-flex { display: flex; justify-content: space-between; align-items: center; gap: 48px; width: 100%; }
.hero-main { position: relative; z-index: 2; max-width: 640px; }
.hero-badge {
  display: inline-block; padding: 5px 14px; border: 1px solid rgba(245,130,11,.85);
  background: rgba(245,130,11,.12);
  color: #ffb45e; border-radius: 30px; font-size: 12px; font-weight: 600;
  letter-spacing: 1.4px; text-transform: uppercase;
}
.hero h1 { font-size: 42px; line-height: 1.15; margin: 12px 0 6px; color: #fff; letter-spacing: .3px; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.hero-h2 { font-size: 19px; font-weight: 600; color: var(--c-accent); margin-bottom: 12px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero-sub { color: rgba(255,255,255,.92); font-size: 14.5px; line-height: 1.65; margin-bottom: 8px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero-pos { color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.65; margin-bottom: 20px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-trust { margin-top: 14px; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hero-stats {
  display: flex; gap: 0; margin-top: 14px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.18); padding-top: 12px;
}
.hero-stats .stat { padding: 0 16px 0 0; margin-right: 16px; border-right: 1px solid rgba(255,255,255,.15); }
.hero-stats .stat:last-child { border-right: none; margin-right: 0; }
.hero-stats .stat b { display: block; font-size: 18px; color: var(--c-accent); line-height: 1.2; }
.hero-stats .stat span { font-size: 10.5px; color: rgba(255,255,255,.68); }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hero-tags a {
  padding: 7px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 30px;
  color: rgba(255,255,255,.92); font-size: 12.5px; background: rgba(255,255,255,.06);
  transition: all .2s ease;
}
.hero-tags a:hover { border-color: var(--c-accent); color: var(--c-accent); }
/* Hero meta strip: trust + stats + quick tags below the hero, keeps circles uncovered */
.hero-meta { background: #0a1f36; border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0 26px; }
.hero-meta .container { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 48px; }
.hero-meta .hero-trust { width: 100%; margin-top: 0; }
.hero-meta .hero-stats { margin-top: 0; border-top: none; padding-top: 0; flex: 1 1 auto; }
.hero-meta .hero-tags { margin-top: 0; }
.hero-card {
  position: absolute; top: 28px; right: max(24px, calc((100% - var(--maxw)) / 2 + 24px)); z-index: 3;
  width: 330px;
  background: rgba(8,20,38,.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 12px;
  padding: 24px 26px;
}
.hero-card h3 { color: #fff; font-size: 19px; line-height: 1.35; margin-bottom: 10px; }
.hero-card p { color: rgba(255,255,255,.8); font-size: 13px; line-height: 1.65; margin-bottom: 16px; }
@media (max-width: 1100px) and (min-width: 981px) {
  .hero-main { max-width: calc(100% - 380px); }
}
@media (max-width: 980px) {
  .hero { min-height: 0; padding: 56px 0; }
  .hero::before { background: rgba(8,20,38,.82); }
  .hero-flex { flex-direction: column; align-items: center; text-align: center; gap: 32px; }
  .hero-main { max-width: none; }
  .hero h1 { font-size: 30px; }
  .hero-btns, .hero-tags, .hero-stats { justify-content: center; }
  .hero-meta .hero-trust { text-align: center; }
  .hero-card { position: relative; z-index: 2; top: auto; right: auto; width: 100%; max-width: 420px; }
}

/* ---------- Category cards (image style, like top-tier tool brands) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-card {
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius);
  transition: all .25s ease; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.cat-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; z-index: 2;
  background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.cat-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow-md); }
.cat-card:hover::before { transform: scaleX(1); }
.cat-thumb {
  height: 168px; background: #fff; border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center; padding: 14px; overflow: hidden;
}
.cat-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .35s ease; }
.cat-card:hover .cat-thumb img { transform: scale(1.08); }
.cat-info { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.cat-info h3 { font-size: 17px; margin-bottom: 8px; }
.cat-info p { font-size: 13px; color: var(--c-text-dim); margin-bottom: 14px; flex: 1; }
.cat-card .count { font-size: 12.5px; color: var(--c-accent); font-weight: 700; letter-spacing: .5px; }

/* ---------- Scroll reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Floating WhatsApp: handled by .wa-float (wa-widget.js) ---------- */

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.prod-card {
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius);
  overflow: hidden; transition: all .25s ease; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.prod-img { aspect-ratio: 1/1; background: #fff; overflow: hidden; border-bottom: 1px solid var(--c-border); }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.prod-card:hover .prod-img img { transform: scale(1.06); }
.prod-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.prod-cat { font-size: 11.5px; color: var(--c-accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 7px; }
.prod-name { font-size: 14.5px; font-weight: 600; line-height: 1.5; margin-bottom: 14px; flex: 1; color: var(--c-text);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.prod-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; padding-top: 12px; border-top: 1px dashed var(--c-border); }
.prod-price { color: var(--c-accent-dark); font-weight: 700; font-size: 15.5px; }
.prod-moq { font-size: 12px; color: var(--c-text-dim); }
/* outline button inside product cards */
.prod-body .btn-outline { border-width: 1.5px; }
.prod-body .btn-outline:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }

/* ---------- Core products (homepage) ---------- */
.core-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.core-card {
  display: block; padding: 30px 26px; background: var(--c-card); border: 1px solid var(--c-border);
  border-radius: var(--radius); transition: all .25s ease; position: relative;
}
.core-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-accent); }
.core-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--c-text); }
.core-card p { font-size: 13.8px; color: var(--c-text-dim); line-height: 1.6; margin-bottom: 18px; }
.core-card .core-arrow { color: var(--c-accent); font-size: 18px; font-weight: 700; }

/* ---------- Why choose us ---------- */
.why { background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; }
.why-card {
  padding: 34px 26px; background: var(--c-bg); border: 1px solid var(--c-border);
  border-radius: var(--radius); transition: all .25s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); background: #fff; }
.why-card .num {
  font-size: 36px; font-weight: 900; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.why-card h3 { font-size: 17px; margin-bottom: 10px; }
.why-card p { font-size: 13.8px; color: var(--c-text-dim); }

/* ---------- About preview / factory ---------- */
.about-flex { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about-flex h2 { font-size: 32px; margin-bottom: 20px; }
.about-flex h2 span { color: var(--c-accent); }
.about-flex p { color: var(--c-text-dim); margin-bottom: 16px; font-size: 15.5px; }
.about-points { margin: 24px 0 34px; }
.about-points li { padding: 8px 0 8px 32px; position: relative; color: var(--c-text); font-size: 15px; }
.about-points li::before {
  content: "✓"; position: absolute; left: 0; top: 9px;
  width: 21px; height: 21px; border-radius: 50%; background: var(--c-accent-soft);
  color: var(--c-accent-dark); font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.about-photos { columns: 2; column-gap: 16px; }
.about-photos img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; display: block; margin-bottom: 16px; break-inside: avoid; }

/* ---------- Banner strip ---------- */
.strip-banner { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.strip-banner img { width: 100%; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
  text-align: center; padding: 88px 0;
}
.cta h2 { font-size: 34px; margin-bottom: 16px; color: #fff; }
.cta h2 span { color: var(--c-accent); }
.cta p { color: rgba(255,255,255,.75); max-width: 580px; margin: 0 auto 34px; font-size: 16.5px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  background: linear-gradient(rgba(8,20,38,.88), rgba(8,20,38,.88)),
    url("../images/hero-bg.webp") center/cover no-repeat;
  padding: 92px 0; text-align: center;
}
.page-hero h1 { font-size: 42px; margin-bottom: 12px; color: #fff; }
.page-hero .crumb { color: rgba(255,255,255,.65); font-size: 14px; }
.page-hero .crumb a { color: var(--c-accent); }

/* ---------- Products page ---------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.shop-side {
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 24px; position: sticky; top: 102px; box-shadow: var(--shadow-sm);
}
.shop-side h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 2px solid var(--c-accent); display: inline-block; }
.shop-side li a {
  display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 8px;
  font-size: 14px; color: var(--c-text-dim); transition: all .2s; cursor: pointer;
}
.shop-side li a:hover { color: var(--c-navy); background: var(--c-bg); }
.shop-side li a.on { background: var(--c-accent-soft); color: var(--c-accent-dark); font-weight: 700; }
.shop-side li a .n { font-size: 12px; opacity: .65; }
.search-box { display: flex; margin-bottom: 22px; }
.search-box input {
  flex: 1; padding: 12px 18px; background: #fff; border: 1.5px solid var(--c-border);
  border-radius: 8px 0 0 8px; color: var(--c-text); font-size: 14.5px; outline: none;
  transition: border-color .2s;
}
.search-box input:focus { border-color: var(--c-accent); }
.search-box button { border-radius: 0 8px 8px 0; padding: 12px 24px; }
.no-result { text-align: center; color: var(--c-text-dim); padding: 70px 0; grid-column: 1/-1; }
.inquire-card { grid-column: 1/-1; text-align: center; padding: 50px 30px; background: var(--c-card); border: 1px dashed var(--c-accent); border-radius: var(--radius); }
.inquire-card h3 { font-size: 22px; margin-bottom: 10px; }
.inquire-card p { color: var(--c-text-dim); font-size: 15px; max-width: 560px; margin: 0 auto 22px; line-height: 1.7; }

/* ---------- About page ---------- */
.profile-table { width: 100%; border-collapse: collapse; background: var(--c-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); box-shadow: var(--shadow-sm); }
.profile-table th, .profile-table td { padding: 15px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--c-border); }
.profile-table th { width: 230px; color: var(--c-navy); font-weight: 700; background: var(--c-bg); }
.profile-table tr:last-child th, .profile-table tr:last-child td { border-bottom: none; }
.profile-table tr:hover td { background: #fafbfd; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cert-card {
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 36px 26px; text-align: center; box-shadow: var(--shadow-sm); transition: all .25s ease;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cert-card .badge { font-size: 40px; margin-bottom: 16px; }
.cert-card h3 { font-size: 17px; margin-bottom: 10px; }
.cert-card p { font-size: 13.5px; color: var(--c-text-dim); }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: start; }
.contact-info-card { background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.contact-info-card h3 { margin-bottom: 22px; font-size: 19px; }
.info-row { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--c-border); font-size: 14.5px; }
.info-row:last-child { border-bottom: none; }
.info-row .ico {
  width: 42px; height: 42px; flex: none; border-radius: 10px;
  background: var(--c-accent-soft); color: var(--c-accent-dark);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.info-row b { display: block; font-size: 12px; color: var(--c-text-dim); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 3px; }
.contact-form { background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.contact-form h3 { margin-bottom: 8px; font-size: 22px; }
.contact-form > p { color: var(--c-text-dim); font-size: 14px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; color: var(--c-text-dim); margin-bottom: 7px; font-weight: 600; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 15px; background: var(--c-bg); border: 1.5px solid var(--c-border);
  border-radius: 8px; color: var(--c-text); font-size: 14.5px; font-family: var(--font); outline: none;
  transition: all .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--c-accent); background: #fff; box-shadow: 0 0 0 3px rgba(245,130,11,.12); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* ---------- Footer ---------- */
footer { background: var(--c-navy-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding: 68px 0 48px; }
.footer-grid h4 { font-size: 15px; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 20px; color: #fff; }
.footer-grid h4::after { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--c-accent); margin-top: 10px; }
.footer-grid p, .footer-grid li { font-size: 13.8px; color: rgba(255,255,255,.6); }
.footer-grid li { padding: 6px 0; }
.footer-grid li a:hover { color: var(--c-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.45); }

/* ---------- Floating inquiry ---------- */
.float-inquiry {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  background: var(--c-accent); color: #fff; font-weight: 700;
  padding: 15px 24px; border-radius: 40px; box-shadow: 0 12px 28px rgba(245,130,11,.45);
  transition: all .2s;
}
.float-inquiry:hover { transform: translateY(-3px); background: var(--c-accent-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  nav ul { gap: 14px; }
  nav a { font-size: 14px; white-space: nowrap; }
  .nav-cta .btn { padding: 8px 16px; font-size: 13px; }
  .core-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-flex, .contact-layout { grid-template-columns: 1fr; }
  .hero-stats .stat { padding-right: 14px; margin-right: 14px; }
}
@media (max-width: 720px) {
  nav { display: none; position: absolute; top: 78px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow-md); }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 0; padding: 12px 24px 20px; }
  nav li { border-bottom: 1px solid var(--c-border); }
  nav a { display: block; padding: 14px 0; }
  nav a.active::after, nav a:hover::after { display: none; }
  .menu-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-side { position: static; }
  .hero { min-height: 480px; }
  .hero h1 { font-size: 28px; }
  .hero-stats { gap: 20px; }
  .hero-stats .stat { border-right: none; padding-right: 0; margin-right: 0; width: 45%; }
  .form-row { grid-template-columns: 1fr; }
  .topbar .topbar-right { display: none; }
  .section { padding: 60px 0; }
  .section-title { font-size: 26px; }
  .cert-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 64px 0; }
  .page-hero h1 { font-size: 30px; }
}
@media (max-width: 460px) {
  .prod-grid, .core-grid { grid-template-columns: 1fr; }
}

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}
.wa-float::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.5;
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}
@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: 88px; width: 50px; height: 50px; }
}

/* ---------- Product card actions ---------- */
.prod-actions { display: flex; gap: 8px; margin-top: 10px; }
.prod-actions .btn { flex: 1; text-align: center; }
.btn-ghost { background: transparent; border: 1px solid var(--line, #e2e5ea); color: inherit; border-radius: 8px; cursor: pointer; font-size: 13px; }
.btn-ghost:hover { border-color: var(--accent, #f97316); color: var(--accent, #f97316); }

/* ---------- Product detail modal ---------- */
.pdm-backdrop {
  position: fixed; inset: 0; background: rgba(15, 23, 42, .55);
  display: none; align-items: center; justify-content: center;
  z-index: 10000; padding: 20px;
}
.pdm-backdrop.open { display: flex; }
.pdm {
  background: #fff; border-radius: 14px; max-width: 860px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  position: relative; box-shadow: 0 24px 60px rgba(0,0,0,.25);
  max-height: 90vh;
}
.pdm-media { background: #f6f7f9; display: flex; align-items: center; justify-content: center; padding: 24px; }
.pdm-media img { max-width: 100%; max-height: 380px; object-fit: contain; }
.pdm-info { padding: 28px; overflow-y: auto; }
.pdm-cat { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8a8f98; margin-bottom: 6px; }
.pdm-name { font-size: 19px; line-height: 1.35; margin: 0 0 12px; }
.pdm-meta { display: flex; gap: 14px; margin-bottom: 14px; align-items: baseline; }
.pdm-desc { font-size: 14px; color: #55595f; line-height: 1.65; margin: 0 0 10px; }
.pdm-note { font-size: 12.5px; color: #8a8f98; border-left: 3px solid #f0f1f4; padding-left: 10px; margin: 0 0 18px; }
.pdm-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pdm-close {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: rgba(15,23,42,.06); font-size: 15px; cursor: pointer; color: #333;
}
.pdm-close:hover { background: rgba(15,23,42,.14); }
@media (max-width: 720px) {
  .pdm { grid-template-columns: 1fr; max-height: 92vh; }
  .pdm-media img { max-height: 220px; }
}

/* ---------- Catalog download banner ---------- */
.catalog-banner {
  display: flex; align-items: center; gap: 24px;
  background: linear-gradient(135deg, #1c2430 0%, #2a3546 100%);
  border-radius: 14px; padding: 28px 32px; color: #fff;
}
.catalog-banner .cb-icon {
  flex: 0 0 64px; width: 64px; height: 64px; border-radius: 12px;
  background: rgba(249, 115, 22, .18); display: flex; align-items: center; justify-content: center;
}
.catalog-banner .cb-body { flex: 1; }
.catalog-banner h3 { margin: 0 0 6px; font-size: 19px; }
.catalog-banner p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.72); line-height: 1.6; }
.catalog-side {
  margin-top: 22px; padding: 16px; border: 1px dashed #d7dbe0; border-radius: 10px;
  text-align: center; font-size: 13px; color: #55595f;
}
.catalog-side .btn { margin-top: 10px; width: 100%; }
@media (max-width: 720px) {
  .catalog-banner { flex-direction: column; text-align: center; padding: 24px 20px; }
}
.prod-actions .btn { white-space: nowrap; }

/* ---------- Product card: full-details corner shortcut ---------- */
.prod-card { position: relative; }
.prod-full-link {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.92); color: var(--c-navy);
  border: 1px solid var(--c-border); font-size: 16px; line-height: 1;
  text-decoration: none; transition: all .18s ease;
}
.prod-full-link:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }

/* ---------- Product modal: full details link ---------- */
.pdm-full {
  display: inline-block; margin-top: 16px; font-size: 13.5px; font-weight: 600;
  color: var(--c-accent); text-decoration: none;
  border-bottom: 1px solid var(--c-accent); padding-bottom: 2px;
}
.pdm-full:hover { color: var(--c-accent-dark); border-color: var(--c-accent-dark); }

/* ============================================================
   Product Detail Page
   ============================================================ */
.pd-hero { padding: 30px 0; }
.pd-hero .crumb { font-size: 13px; color: var(--c-text-dim); }
.pd-hero .crumb a { color: var(--c-navy); text-decoration: none; }
.pd-hero .crumb a:hover { color: var(--c-accent); }
.pd-section { padding: 30px 0 70px; }
.pd-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px; align-items: start;
}
.pd-gallery {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 20px; position: sticky; top: 20px;
}
.pd-main-img {
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  background: #f6f7f9; border-radius: 10px; overflow: hidden;
}
.pd-main-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-thumb {
  width: 84px; height: 84px; margin: 14px auto 0; border-radius: 8px;
  border: 2px solid var(--c-accent); background: #f6f7f9; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.pd-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-summary h1 { font-size: 27px; line-height: 1.32; margin: 8px 0 14px; color: var(--c-navy); }
.pd-cat { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; }
.pd-price-row { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
.pd-price { font-size: 24px; font-weight: 800; color: var(--c-accent); }
.pd-moq { font-size: 14px; color: var(--c-text-dim); }
.pd-intro { font-size: 15px; line-height: 1.7; color: var(--c-text); margin: 0 0 20px; }
.pd-quick-feats { margin: 0 0 22px; }
.pd-quick-feats h3 { font-size: 15px; margin: 0 0 8px; color: var(--c-navy); }
.pd-quick-feats ul { margin: 0; padding-left: 18px; }
.pd-quick-feats li { font-size: 14px; line-height: 1.65; color: var(--c-text-dim); margin-bottom: 4px; }
.pd-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.pd-actions .btn { white-space: nowrap; }
.pd-trust { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 18px; border-top: 1px solid var(--c-border); }
.pd-trust span { font-size: 12.5px; color: var(--c-text-dim); }
.pd-trust span::first-letter { color: var(--c-accent); }
.pd-content { margin-top: 50px; }
.pd-block { margin-bottom: 36px; }
.pd-block h2 { font-size: 20px; color: var(--c-navy); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--c-accent-soft); }
.pd-block p { font-size: 14.5px; line-height: 1.8; color: var(--c-text-dim); margin: 0 0 12px; }
.pd-table { width: 100%; border-collapse: collapse; max-width: 760px; }
.pd-table th, .pd-table td { border: 1px solid var(--c-border); padding: 11px 15px; font-size: 14px; text-align: left; }
.pd-table th { background: var(--c-bg); color: var(--c-navy); font-weight: 600; width: 34%; }
.pd-table td { color: var(--c-text); }
.pd-reference { margin-top: 12px !important; font-size: 12.5px !important; color: #8a8f98 !important; font-style: italic; }
.pd-supply-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0; }
.pd-supply-grid > div { background: var(--c-bg); border: 1px solid var(--c-border); border-radius: 10px; padding: 14px; }
.pd-supply-grid span { display: block; font-size: 12px; color: var(--c-text-dim); margin-bottom: 6px; }
.pd-supply-grid strong { font-size: 14px; color: var(--c-navy); }
.pd-related-wrap { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--c-border); position: relative; }
.pd-related-wrap h2 { font-size: 21px; color: var(--c-navy); margin: 0 0 20px; }
.pd-back { position: absolute; right: 0; top: 34px; font-size: 13px; color: var(--c-accent); text-decoration: none; }
.pd-back:hover { text-decoration: underline; }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rel-card { background: #fff; border: 1px solid var(--c-border); border-radius: 10px; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.rel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.rel-thumb { aspect-ratio: 4/3; background: #f6f7f9; display: flex; align-items: center; justify-content: center; padding: 10px; }
.rel-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rel-body { padding: 12px; }
.rel-name { font-size: 13px; line-height: 1.45; color: var(--c-navy); min-height: 38px; }
.rel-price { font-size: 13.5px; font-weight: 700; color: var(--c-accent); margin-top: 6px; }
@media (max-width: 900px) {
  .pd-layout { grid-template-columns: 1fr; gap: 24px; }
  .pd-gallery { position: static; }
  .pd-supply-grid { grid-template-columns: repeat(2, 1fr); }
  .rel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .pd-summary h1 { font-size: 22px; }
  .rel-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pd-back { position: static; display: inline-block; margin-bottom: 12px; }
}


/* Category intro block in shop sidebar */
.cat-intro{display:none; margin:20px 0 4px; padding:16px; border:1px solid var(--line); border-left:3px solid var(--c-accent); border-radius:8px; background:var(--c-panel,#111)}
.cat-intro h4{margin:0 0 8px; font-size:15px; color:var(--c-text,#e8e8e8)}
.cat-intro p{margin:0; font-size:13px; line-height:1.65; color:var(--c-muted,#9aa0a6)}
@media(max-width:900px){ .cat-intro{margin:14px 0} }
