/* ============================================================
   HUAYI CleanTech — Global Stylesheet
   ============================================================ */

:root {
  --brand:      #00838f;   /* teal */
  --brand-dark: #005d66;
  --navy:       #0d2433;
  --ink:        #16232e;
  --muted:      #5c6f7d;
  --line:       #e3eaee;
  --bg-soft:    #f4f8f9;
  --white:      #ffffff;
  --gold:       #f5b301;
  --danger:     #d64545;
  --radius:     14px;
  --shadow-sm:  0 2px 10px rgba(13, 36, 51, .07);
  --shadow-md:  0 8px 28px rgba(13, 36, 51, .12);
  --shadow-lg:  0 18px 50px rgba(13, 36, 51, .18);
  --font: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.wrap { width: min(1200px, 92vw); margin: 0 auto; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--navy);
  color: #cfe8ec;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: .3px;
}
.announce b { color: var(--gold); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 32px; width: auto; display: block; }
.logo-mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--navy));
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 19px; letter-spacing: .5px;
  box-shadow: var(--shadow-sm);
}
.logo-text .logo-name {
  font-size: 21px; font-weight: 800; letter-spacing: 2.5px; color: var(--navy);
}
.logo-text .logo-sub {
  font-size: 10.5px; letter-spacing: 3.2px; color: var(--muted); text-transform: uppercase;
}

.main-nav { display: flex; gap: 26px; align-items: center; }
.main-nav a {
  font-size: 15px; font-weight: 600; color: var(--ink);
  padding: 6px 2px; position: relative; transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2.5px; border-radius: 2px;
  background: var(--brand); transition: width .25s;
}
.main-nav a:hover { color: var(--brand-dark); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--brand-dark); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.cart-btn {
  position: relative;
  display: flex; align-items: center; gap: 9px;
  background: var(--brand); color: #fff;
  border: none; border-radius: 999px;
  padding: 10px 20px;
  font-size: 14.5px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 131, 143, .35);
  transition: transform .15s, background .2s;
}
.cart-btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-count {
  position: absolute; top: -6px; right: -4px;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px;
  background: var(--gold); color: var(--navy);
  font-size: 12px; font-weight: 800;
  display: grid; place-items: center;
  border: 2px solid #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, #eef6f7 0%, #ffffff 55%, #e6f2f4 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 48px;
  padding: 80px 0 90px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #e0f2f4; color: var(--brand-dark);
  font-size: 13px; font-weight: 700;
  padding: 7px 16px; border-radius: 999px;
  letter-spacing: .4px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 131, 143, .5); }
  50% { box-shadow: 0 0 0 7px rgba(0, 131, 143, 0); }
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.14;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -.5px;
  margin: 20px 0 16px;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead {
  font-size: 17.5px; color: var(--muted);
  max-width: 520px; margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  border-radius: 999px;
  font-size: 15.5px; font-weight: 700;
  padding: 14px 30px;
  border: 2px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(0,131,143,.35); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: #c9d8dd; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-block { width: 100%; justify-content: center; }

.hero-stats {
  display: flex; gap: 36px; margin-top: 42px; flex-wrap: wrap;
}
.hero-stat .num {
  font-size: 26px; font-weight: 800; color: var(--brand);
  letter-spacing: -.5px;
}
.hero-stat .lbl { font-size: 13px; color: var(--muted); }

.hero-media { position: relative; }
.hero-media .main-img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg) scale(1.06);
}
.hero-float {
  position: absolute; left: -22px; bottom: -26px;
  background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
  animation: floaty 4s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero-float .ftxt b { display: block; font-size: 14.5px; color: var(--navy); }
.hero-float .ftxt span { font-size: 12.5px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 78px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .kicker {
  color: var(--brand); font-weight: 800;
  font-size: 13px; letter-spacing: 2.6px; text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(27px, 3.3vw, 38px);
  color: var(--navy); font-weight: 800; letter-spacing: -.4px;
  margin: 10px 0 12px;
}
.section-head p { color: var(--muted); font-size: 16px; }

/* ---------- Product grid / cards ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 26px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pc-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f2f7f8;
  overflow: hidden;
}
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.product-card:hover .pc-media img { transform: scale(1.05); }
.pc-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--brand); color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: 1px;
  padding: 5px 12px; border-radius: 999px;
  text-transform: uppercase;
}
.pc-badge.gold { background: var(--gold); color: var(--navy); }
.pc-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.pc-cat { font-size: 11.5px; font-weight: 800; color: var(--brand); letter-spacing: 1.6px; text-transform: uppercase; }
.pc-title { font-size: 16.5px; font-weight: 700; color: var(--navy); margin: 6px 0 4px; line-height: 1.35; }
.pc-model { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.pc-rating { display: flex; align-items: center; gap: 6px; margin: 8px 0 10px; font-size: 12.5px; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 1.5px; font-size: 13px; }
.pc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-price { font-size: 20px; font-weight: 800; color: var(--navy); }
.pc-price small { font-size: 12px; color: var(--muted); font-weight: 600; }
.pc-price .old { font-size: 13px; color: #a9b6bf; text-decoration: line-through; margin-right: 6px; font-weight: 600; }
.add-btn {
  width: 42px; height: 42px;
  border-radius: 12px;
  border: none;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  transition: background .2s, transform .15s;
}
.add-btn:hover { background: var(--brand); transform: scale(1.07); }
.add-btn svg { width: 18px; height: 18px; }

/* ---------- Feature / value props ---------- */
.grid-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s;
}
.feature:hover { transform: translateY(-4px); }

.feature h3 { font-size: 17px; color: var(--navy); font-weight: 700; margin-bottom: 7px; }
.feature p { font-size: 14px; color: var(--muted); }

/* ---------- Split banner (brand story / tech) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split-img { border-radius: 22px; box-shadow: var(--shadow-lg); }
.split h2 {
  font-size: clamp(25px, 3vw, 34px);
  color: var(--navy); font-weight: 800; letter-spacing: -.4px;
  margin-bottom: 16px; line-height: 1.22;
}
.split p { color: var(--muted); margin-bottom: 14px; font-size: 15.5px; }
.check-list { list-style: none; margin: 22px 0 30px; display: grid; gap: 12px; }
.check-list li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 15px; color: var(--ink); font-weight: 500;
}
.check-list .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: #e0f2f4; color: var(--brand-dark);
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
  margin-top: 2px;
}

/* ---------- Tech specs band ---------- */
.tech-band { background: var(--navy); color: #fff; padding: 70px 0; position: relative; overflow: hidden; }
.tech-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 85% 20%, rgba(0,131,143,.35), transparent);
}
.tech-band .wrap { position: relative; }
.tech-band h2 { color: #fff; }
.tech-band .section-head p { color: #9fc4cc; }
.grid-tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tech-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.tech-item .tval { font-size: 32px; font-weight: 800; color: #5fd6d0; letter-spacing: -.5px; }
.tech-item .tlbl { font-size: 13.5px; color: #b9d3d9; margin-top: 5px; line-height: 1.5; }

/* ---------- Testimonials ---------- */
.grid-testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.testi .quote { font-size: 26px; color: var(--brand); line-height: 1; margin-bottom: 10px; }
.testi p { font-size: 14.5px; color: var(--ink); }
.testi .who { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.testi .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--navy));
  color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 15px;
}
.testi .who b { display: block; font-size: 14.5px; color: var(--navy); }
.testi .who span { font-size: 12.5px; color: var(--muted); }

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(120deg, var(--brand), var(--navy));
  border-radius: 22px;
  padding: 52px 56px;
  color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  gap: 36px; flex-wrap: wrap;
}
.newsletter h2 { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.newsletter p { color: #cfe8ec; font-size: 15px; }
.newsletter form { display: flex; gap: 10px; flex: 1; min-width: 300px; max-width: 460px; }
.newsletter input {
  flex: 1; border: none; border-radius: 999px;
  padding: 14px 22px; font-size: 15px;
  background: rgba(255,255,255,.95);
}
.newsletter button {
  border: none; border-radius: 999px;
  background: var(--gold); color: var(--navy);
  font-weight: 800; font-size: 15px;
  padding: 14px 28px;
  transition: transform .15s;
}
.newsletter button:hover { transform: translateY(-2px); }

/* ---------- Page banner (subpages) ---------- */
.page-banner {
  background:
    linear-gradient(115deg, rgba(13,36,51,.88), rgba(0,131,143,.75)),
    url("../images/about-video-thumb.png") center/cover no-repeat;
  color: #fff;
  padding: 74px 0 66px;
}
.page-banner h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.4px; }
.page-banner p { color: #cfe8ec; margin-top: 10px; font-size: 16px; max-width: 560px; }
.crumbs { font-size: 13px; color: #9fc4cc; margin-bottom: 16px; letter-spacing: .4px; }
.crumbs a:hover { color: #fff; }

/* ---------- Shop toolbar ---------- */
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding: 18px 0 30px;
}
.filter-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--line);
  background: #fff; color: var(--muted);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13.5px; font-weight: 700;
  transition: all .2s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-dark); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.sort-select {
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-size: 13.5px; font-weight: 600;
  color: var(--ink); background: #fff;
}

/* ---------- Product detail page ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; padding: 64px 0 80px; }
.pdp-gallery .main {
  border-radius: 20px; border: 1px solid var(--line);
  aspect-ratio: 1/1; object-fit: cover; width: 100%;
  background: #f2f7f8;
}
.pdp-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pdp-thumbs img {
  width: 84px; height: 84px; object-fit: cover;
  border-radius: 12px; border: 2px solid var(--line);
  cursor: pointer; transition: border-color .2s;
}
.pdp-thumbs img:hover, .pdp-thumbs img.active { border-color: var(--brand); }

.pdp-info .pc-cat { font-size: 12.5px; }
.pdp-info h1 {
  font-size: clamp(26px, 3vw, 34px);
  color: var(--navy); font-weight: 800; letter-spacing: -.3px;
  margin: 8px 0 6px; line-height: 1.25;
}
.pdp-model { font-size: 14px; color: var(--muted); font-weight: 600; }
.pdp-rating { margin: 12px 0 16px; }
.pdp-price { font-size: 34px; font-weight: 800; color: var(--navy); margin: 10px 0 4px; }
.pdp-price .old { font-size: 17px; color: #a9b6bf; text-decoration: line-through; font-weight: 600; margin-right: 8px; }
.pdp-price .save {
  font-size: 13px; font-weight: 800; color: var(--brand-dark);
  background: #e0f2f4; padding: 4px 12px; border-radius: 999px;
  margin-left: 10px; vertical-align: middle;
}
.pdp-tax { font-size: 12.5px; color: var(--muted); margin-bottom: 20px; }

.qty-row { display: flex; align-items: center; gap: 16px; margin: 22px 0; flex-wrap: wrap; }
.qty {
  display: flex; align-items: center;
  border: 1.5px solid var(--line); border-radius: 999px;
  overflow: hidden;
}
.qty button {
  width: 42px; height: 42px; border: none;
  background: #fff; font-size: 19px; font-weight: 700; color: var(--navy);
  transition: background .15s;
}
.qty button:hover { background: #eef4f5; }
.qty input {
  width: 54px; height: 42px; border: none; text-align: center;
  font-size: 15.5px; font-weight: 700; color: var(--ink);
  outline: none;
}
.stock-note { font-size: 13.5px; color: #1d8a4e; font-weight: 600; }
.stock-note::before { content: "●"; margin-right: 6px; }

.pdp-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.pdp-cta .btn { padding: 14px 34px; }

.pdp-perks {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; background: var(--bg-soft);
  display: grid; gap: 10px;
}
.pdp-perks div { font-size: 14px; color: var(--ink); display: flex; gap: 9px; align-items: center; }
.pdp-perks b { color: var(--brand-dark); }

/* ---------- Tabs ---------- */
.tabbed { padding: 0 0 90px; }
.tab-bar { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 34px; flex-wrap: wrap; }
.tab-bar button {
  border: none; background: none;
  font-size: 15.5px; font-weight: 700; color: var(--muted);
  padding: 13px 24px; position: relative; top: 2px;
  transition: color .2s;
}
.tab-bar button.active { color: var(--brand-dark); }
.tab-bar button.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; border-radius: 3px 3px 0 0; background: var(--brand);
}
.tab-panel { display: none; animation: fadein .35s; }
.tab-panel.active { display: block; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table th, .spec-table td { padding: 15px 22px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.spec-table th { width: 260px; background: var(--bg-soft); color: var(--navy); font-weight: 700; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table td { color: var(--ink); }

.prose { max-width: 780px; }
.prose p { color: var(--muted); margin-bottom: 14px; font-size: 15.5px; }
.prose h3 { color: var(--navy); font-size: 19px; margin: 24px 0 10px; }
.prose ul { margin: 0 0 14px 20px; color: var(--muted); font-size: 15.5px; }
.prose li { margin-bottom: 7px; }

/* ---------- Reviews ---------- */
.review {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; background: #fff; margin-bottom: 18px;
}
.review .rv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.review .rv-head b { color: var(--navy); font-size: 15px; }
.review .rv-date { font-size: 12.5px; color: var(--muted); }
.review p { font-size: 14.5px; color: var(--ink); }
.review .rv-meta { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.review .rv-meta b { color: #1d8a4e; }

/* ---------- About page ---------- */
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 26px;
  box-shadow: var(--shadow-sm);
}

.value-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.value-card p { font-size: 14.5px; color: var(--muted); }

.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px;
  width: 2.5px; border-radius: 2px; background: #cfe8ec;
}
.tl-item { position: relative; margin-bottom: 34px; }
.tl-item::before {
  content: ""; position: absolute; left: -31px; top: 6px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--brand); border: 3.5px solid #e0f2f4;
}
.tl-item .tl-year { font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: 1.5px; }
.tl-item h3 { font-size: 18px; color: var(--navy); margin: 4px 0 6px; }
.tl-item p { font-size: 14.5px; color: var(--muted); }

/* ---------- Certificates ---------- */
.grid-cert { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.cert-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .2s;
}
.cert-card:hover { transform: translateY(-4px); }
.cert-card .certico {
  width: 58px; height: 58px; margin: 0 auto 14px;
  border-radius: 16px; background: #e0f2f4;
  display: grid; place-items: center;
  font-size: 24px; color: var(--brand-dark); font-weight: 800;
}
.cert-card h3 { font-size: 16px; color: var(--navy); margin-bottom: 5px; }
.cert-card p { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; border: none; background: none;
  padding: 20px 24px; font-size: 15.5px; font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .chev { transition: transform .25s; color: var(--brand); font-size: 13px; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 20px; font-size: 14.5px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 46px; }
.contact-info { display: grid; gap: 18px; align-content: start; }
.ci-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  display: flex; gap: 16px; align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.ci-card b { display: block; font-size: 15px; color: var(--navy); margin-bottom: 3px; }
.ci-card p { font-size: 14px; color: var(--muted); }

.contact-form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px;
  box-shadow: var(--shadow-md);
}
.contact-form h2 { font-size: 22px; color: var(--navy); margin-bottom: 6px; }
.contact-form > p { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.fld label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.fld label span { color: var(--danger); }
.fld input, .fld select, .fld textarea {
  width: 100%;
  border: 1.5px solid var(--line); border-radius: 11px;
  padding: 12px 15px; font-size: 14.5px; color: var(--ink);
  background: #fbfdfd; outline: none; transition: border-color .2s, box-shadow .2s;
}
.fld textarea { min-height: 120px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,131,143,.12);
}
.form-success {
  display: none;
  background: #e6f6ec; border: 1px solid #b8e2c6;
  color: #14683b; border-radius: 11px;
  padding: 16px 18px; font-size: 14.5px; font-weight: 600;
  margin-bottom: 18px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9d3d9; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0 44px; }
.footer-brand .logo-name { color: #fff; }
.footer-brand p { font-size: 14px; margin-top: 16px; max-width: 300px; color: #9fc4cc; }
.footer-contact { margin-top: 22px; }
.footer-contact p { margin: 0; padding: 4px 0; font-size: 13.5px; color: #9fc4cc; }
.footer-contact b { color: #cfe8ec; font-weight: 600; display: inline-block; width: 54px; }
.footer-contact a { color: #9fc4cc; text-decoration: underline; }
.footer-contact a:hover { color: #5fd6d0; }
.footer-col h4 {
  color: #fff; font-size: 14.5px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a { display: block; font-size: 14px; padding: 5px 0; color: #9fc4cc; transition: color .2s; }
.footer-col a:hover { color: #5fd6d0; }
.footer-col p { font-size: 14px; padding: 4px 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: #7fa5ad;
}
.pay-icons { display: flex; gap: 8px; }
.pay-icons span {
  background: rgba(255,255,255,.1); border-radius: 6px;
  padding: 4px 10px; font-size: 11px; font-weight: 800; letter-spacing: .5px;
  color: #cfe8ec;
}

/* ---------- Cart page ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr .9fr; gap: 36px; align-items: start; padding: 54px 0 90px; }
.cart-items { display: grid; gap: 16px; }
.cart-row {
  display: grid; grid-template-columns: 96px 1fr auto;
  gap: 20px; align-items: center;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px;
  box-shadow: var(--shadow-sm);
}
.cart-row .cr-img {
  width: 96px; height: 96px; border-radius: 11px;
  object-fit: cover; background: #f2f7f8;
}
.cr-info .pc-cat { font-size: 11px; }
.cr-info .cr-title { font-size: 15.5px; font-weight: 700; color: var(--navy); margin: 3px 0 2px; }
.cr-info .cr-model { font-size: 12.5px; color: var(--muted); }
.cr-info .cr-linel { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.cr-info .cr-linel b { color: var(--navy); }
.cr-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cr-price { font-size: 17px; font-weight: 800; color: var(--navy); }
.cr-remove {
  border: none; background: none; color: var(--danger);
  font-size: 13px; font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px;
}
.cr-remove:hover { color: #a72e2e; }

.cart-summary {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-md);
  position: sticky; top: 110px;
}
.cart-summary h2 { font-size: 20px; color: var(--navy); margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--muted); padding: 7px 0; }
.sum-row.total {
  border-top: 1.5px dashed var(--line);
  margin-top: 10px; padding-top: 16px;
  font-size: 19px; font-weight: 800; color: var(--navy);
}
.sum-row .free { color: #1d8a4e; font-weight: 700; }
.sum-note { font-size: 12.5px; color: var(--muted); margin: 14px 0 18px; line-height: 1.6; }
.secure-badge { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 16px; font-size: 12px; color: var(--muted); }

.cart-empty { text-align: center; padding: 90px 20px; }
.cart-empty .big { font-size: 60px; margin-bottom: 18px; }
.cart-empty h2 { color: var(--navy); font-size: 26px; margin-bottom: 10px; }
.cart-empty p { color: var(--muted); margin-bottom: 26px; }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; padding: 54px 0 90px; }
.co-steps { display: flex; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.co-step {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 700; color: var(--muted);
}
.co-step .snum {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--line);
  display: grid; place-items: center; font-size: 12.5px;
}
.co-step.active { color: var(--brand-dark); }
.co-step.active .snum { background: var(--brand); border-color: var(--brand); color: #fff; }
.co-step.done { color: #1d8a4e; }
.co-step.done .snum { background: #e6f6ec; border-color: #b8e2c6; color: #14683b; }
.co-step .arr { color: #c3ced4; }

.co-panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-md);
}
.co-panel h2 { font-size: 20px; color: var(--navy); margin-bottom: 20px; }
.co-panel .btn { margin-top: 22px; }
.ship-method { display: grid; gap: 12px; margin-bottom: 8px; }
.ship-opt {
  display: flex; align-items: center; gap: 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  padding: 15px 18px; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.ship-opt:hover { border-color: var(--brand); }
.ship-opt.selected { border-color: var(--brand); background: #f2fafb; }
.ship-opt input { accent-color: var(--brand); width: 17px; height: 17px; }
.ship-opt .so-main { flex: 1; }
.ship-opt b { display: block; font-size: 14.5px; color: var(--navy); }
.ship-opt span { font-size: 12.5px; color: var(--muted); }
.ship-opt .so-price { font-weight: 800; color: var(--navy); font-size: 15px; }
.ship-opt .so-price.free { color: #1d8a4e; }

.co-order {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-md);
  position: sticky; top: 110px;
}
.co-order h2 { font-size: 19px; color: var(--navy); margin-bottom: 16px; }
.co-line { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.co-line img { width: 56px; height: 56px; border-radius: 9px; object-fit: cover; background: #f2f7f8; }
.co-line .cl-t { flex: 1; font-size: 13.5px; }
.co-line .cl-t b { display: block; color: var(--navy); }
.co-line .cl-t span { color: var(--muted); font-size: 12px; }
.co-line .cl-p { font-weight: 700; color: var(--navy); font-size: 14px; }

.pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.pm-opt {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--line); border-radius: 12px;
  padding: 15px 16px; cursor: pointer; transition: all .2s;
}
.pm-opt:hover { border-color: var(--brand); }
.pm-opt.selected { border-color: var(--brand); background: #f2fafb; }
.pm-opt input { accent-color: var(--brand); }
.pm-opt .pm-name { flex: 1; font-size: 14px; font-weight: 700; color: var(--navy); }
.pm-opt .pm-tag { font-size: 11px; font-weight: 800; letter-spacing: .6px; color: #9fc4cc; }

/* ---------- Order confirmation ---------- */
.order-done { text-align: center; padding: 80px 20px 100px; }
.order-done .od-badge {
  width: 86px; height: 86px; margin: 0 auto 26px;
  border-radius: 50%;
  background: #e6f6ec; color: #1d8a4e;
  display: grid; place-items: center; font-size: 40px;
}
.order-done h1 { color: var(--navy); font-size: 32px; margin-bottom: 10px; }
.order-done .od-sub { color: var(--muted); font-size: 16px; margin-bottom: 8px; }
.order-done .od-num {
  display: inline-block; background: #eef4f5; border-radius: 999px;
  padding: 9px 22px; font-weight: 800; color: var(--brand-dark);
  font-size: 14.5px; letter-spacing: .5px; margin: 10px 0 30px;
}
.order-done .btn { margin: 0 8px 12px; }
.od-detail {
  max-width: 560px; margin: 30px auto 0; text-align: left;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm);
}
.od-detail .sum-row { font-size: 14px; }

/* ---------- Toast (add-to-cart feedback) ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: #fff;
  border-radius: 999px; padding: 14px 26px;
  font-size: 14.5px; font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 900;
  display: flex; align-items: center; gap: 10px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast .tcheck {
  width: 22px; height: 22px; border-radius: 50%;
  background: #5fd6d0; color: var(--navy);
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}

/* ---------- Breadcrumb / helpers ---------- */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-features, .grid-tech, .about-values, .grid-testi { grid-template-columns: repeat(2, 1fr); }
  .hero-inner, .split, .pdp, .contact-grid, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary, .co-order { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-media { order: -1; }
  .hero-media .main-img { transform: rotate(-1.2deg) scale(1.02); }
  .hero-float { left: 10px; }
}
@media (max-width: 640px) {
  .grid-features, .grid-tech, .about-values, .grid-testi, .form-grid, .pm-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .section { padding: 56px 0; }
  .newsletter { padding: 36px 28px; }
  .cart-row { grid-template-columns: 72px 1fr; }
  .cr-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .cart-row .cr-img { width: 72px; height: 72px; }
  .split { gap: 30px; }
}
