/* ============================================================
   VoltBridge Global — Laptop Accessories Trade Site
   ============================================================ */

:root {
  --navy: #0a2540;
  --navy-2: #10365c;
  --blue: #2f80ed;
  --cyan: #00b4d8;
  --ink: #1f2937;
  --muted: #5b6b7c;
  --bg: #f7f9fc;
  --white: #ffffff;
  --line: #e3e9f0;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(10, 37, 64, 0.10);
  --shadow-sm: 0 4px 14px rgba(10, 37, 64, 0.08);
  --font: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, 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 { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: 2px solid transparent; transition: all .25s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1c6ad9; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(47,128,237,.35); }
.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); transform: translateY(-2px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy); color: #c9d6e4;
  font-size: 13px; padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #e8eef5; }
.topbar a:hover { color: var(--cyan); }
.topbar span + span::before { content: "·"; margin: 0 10px; opacity: .5; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--navy); }
.logo .logo-img { height: 34px; width: auto; display: block; }
.logo .mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: grid; place-items: center; color: #fff; font-size: 19px;
}
.logo em { font-style: normal; color: var(--blue); }
.nav-menu { display: flex; align-items: center; gap: 34px; }
.nav-menu a { font-weight: 600; font-size: 15px; color: var(--ink); position: relative; padding: 6px 0; }
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--blue); transition: width .25s ease;
}
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-menu a.active { color: var(--blue); }
.nav-cta { padding: 10px 22px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; }
.nav-toggle span { display: block; height: 2px; width: 24px; margin: 5px auto; background: var(--navy); transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, rgba(7,24,44,.94) 30%, rgba(10,37,64,.72)),
              url('https://images.unsplash.com/photo-1496181133206-80ce9b88a853?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}
.hero .container { padding: 120px 0 110px; max-width: 1200px; }
.hero-tag {
  display: inline-block; padding: 6px 16px; border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.15; font-weight: 800; max-width: 720px; }
.hero h1 span { color: var(--cyan); }
.hero p { margin: 22px 0 36px; font-size: 18px; color: #d7e2ee; max-width: 600px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 30px; margin-top: 60px; flex-wrap: wrap; }
.hero-badges div { font-size: 14px; color: #b9c8d8; display: flex; align-items: center; gap: 8px; }
.hero-badges strong { color: #fff; font-size: 16px; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--white); border-bottom: 1px solid var(--line); }
.trustbar .container {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  padding: 22px 0; color: var(--muted); font-weight: 700; letter-spacing: 1px; font-size: 14px;
}
.trustbar span { display: flex; align-items: center; gap: 8px; }
.trustbar i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); display: inline-block; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section.alt { background: var(--bg); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-kicker { color: var(--blue); font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; font-size: 13px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--navy); margin: 10px 0 14px; line-height: 1.25; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px; transition: all .3s ease; position: relative; overflow: hidden;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card:hover::before { transform: scaleX(1); }
.cat-icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(47,128,237,.12), rgba(0,180,216,.12));
  color: var(--blue); margin-bottom: 20px;
}
.cat-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.cat-card p { font-size: 14px; color: var(--muted); }
.cat-card .link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--blue); }
.cat-card .link:hover { color: var(--cyan); }

/* ---------- Features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feat-card { background: var(--white); border-radius: var(--radius); padding: 36px 28px; box-shadow: var(--shadow-sm); }
.feat-num {
  font-size: 14px; font-weight: 800; color: var(--cyan); letter-spacing: 1px; margin-bottom: 16px;
}
.feat-card h3 { color: var(--navy); font-size: 19px; margin-bottom: 10px; }
.feat-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 70px 0; text-align: center; }
.stat .num { font-size: clamp(34px, 4vw, 48px); font-weight: 800; color: var(--cyan); }
.stat .label { margin-top: 6px; color: #b9c8d8; font-size: 15px; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: step; }
.step { text-align: center; padding: 28px 12px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: 30px; font-weight: 800; color: rgba(47,128,237,.18); margin-bottom: 10px;
}
.step h4 { color: var(--navy); font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--muted); }

/* ---------- Markets ---------- */
.markets { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.markets h2 { font-size: clamp(28px, 3vw, 38px); color: var(--navy); margin-bottom: 18px; line-height: 1.3; }
.markets p { color: var(--muted); margin-bottom: 16px; }
.market-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.market-tags span {
  padding: 8px 18px; background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--navy);
}
.markets-visual {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  min-height: 380px; display: grid; place-items: center; color: #fff; text-align: center; padding: 40px;
}
.markets-visual .globe { font-size: 90px; margin-bottom: 18px; }
.markets-visual h3 { font-size: 24px; margin-bottom: 8px; }
.markets-visual p { color: #b9c8d8; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  border-radius: var(--radius); padding: 64px 56px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-banner h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,.85); font-size: 16px; }
.cta-banner .btn { background: #fff; color: var(--blue); }
.cta-banner .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #a9bccd; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding: 70px 0 50px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; font-size: 14.5px; }
.site-footer a:hover { color: var(--cyan); }
.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0;
  font-size: 13.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, rgba(7,24,44,.95), rgba(16,54,92,.85)),
              url('https://images.unsplash.com/photo-1496181133206-80ce9b88a853?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: #fff; padding: 84px 0; text-align: center;
}
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.page-hero p { color: #c9d6e4; font-size: 17px; }
.breadcrumb { font-size: 13.5px; color: #93a9bf; margin-top: 14px; }
.breadcrumb a:hover { color: var(--cyan); }

/* ---------- Products ---------- */
.filter-bar { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 46px; }
.filter-btn {
  padding: 10px 24px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); font-weight: 600; font-size: 14px; color: var(--muted);
  cursor: pointer; transition: all .25s ease; font-family: var(--font);
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .3s ease; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-img {
  height: 190px; display: grid; place-items: center; color: rgba(255,255,255,.9);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}
.product-img svg { width: 64px; height: 64px; opacity: .9; }
.product-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-sku { font-size: 12px; color: var(--cyan); font-weight: 700; letter-spacing: 1px; }
.product-body h3 { font-size: 16.5px; color: var(--navy); margin: 8px 0 8px; }
.product-body p { font-size: 13.5px; color: var(--muted); flex: 1; }
.product-meta {
  display: flex; justify-content: space-between; margin-top: 16px; padding-top: 14px;
  border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted);
}
.product-meta strong { color: var(--navy); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-grid h2 { font-size: clamp(26px, 3vw, 36px); color: var(--navy); margin-bottom: 18px; line-height: 1.3; }
.about-grid p { color: var(--muted); margin-bottom: 14px; }
.check-list { margin-top: 20px; }
.check-list li { display: flex; gap: 12px; margin-bottom: 12px; color: var(--ink); font-size: 15px; }
.check-list li::before { content: "✓"; color: var(--cyan); font-weight: 800; }
.about-visual {
  border-radius: var(--radius); min-height: 420px; box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: grid; place-items: center; color: #fff; text-align: center; padding: 40px;
}
.about-visual .big { font-size: 80px; margin-bottom: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.form-card h2 { color: var(--navy); font-size: 26px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  font-family: var(--font); font-size: 14.5px; color: var(--ink); transition: border-color .2s;
  background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,128,237,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none; background: #e8f9f0; border: 1px solid #b7e8cd; color: #177a4c;
  padding: 14px 18px; border-radius: 8px; margin-top: 18px; font-size: 14.5px;
}
.contact-info-card { background: var(--navy); color: #c9d6e4; border-radius: var(--radius); padding: 40px; }
.contact-info-card h3 { color: #fff; font-size: 20px; margin-bottom: 24px; }
.info-item { display: flex; gap: 14px; margin-bottom: 22px; font-size: 14.5px; }
.info-item .ic {
  width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--cyan); font-size: 17px;
}
.info-item strong { display: block; color: #fff; margin-bottom: 2px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 16px; }
.faq-item h4 { color: var(--navy); font-size: 16.5px; margin-bottom: 8px; }
.faq-item p { color: var(--muted); font-size: 14.5px; }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; color: #fff; font-size: 26px;
  box-shadow: 0 8px 22px rgba(37,211,102,.45); transition: transform .25s;
}
.float-wa:hover { transform: scale(1.08); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: all .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid, .feat-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .markets, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .markets-visual, .about-visual { min-height: 300px; }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column;
    padding: 24px; gap: 18px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .3s ease; align-items: flex-start;
    box-shadow: var(--shadow);
  }
  .nav-menu.open { transform: none; }
  .section { padding: 64px 0; }
  .hero .container { padding: 84px 0 72px; }
  .cta-banner { padding: 44px 30px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .cat-grid, .feat-grid, .product-grid, .process-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Shop / Cart / Checkout
   ============================================================ */

.product-buy {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
}
.product-buy .price { font-size: 19px; font-weight: 800; color: var(--navy); }
.add-btn {
  padding: 9px 18px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--blue); color: #fff; font-weight: 600; font-size: 13.5px;
  font-family: var(--font); transition: all .2s ease;
}
.add-btn:hover { background: #1c6ad9; transform: translateY(-1px); }
.shop-count { text-align: center; color: var(--muted); font-size: 13.5px; margin: -26px 0 30px; }

/* Floating cart button */
.fab-cart {
  position: fixed; right: 22px; bottom: 90px; z-index: 95;
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; font-size: 22px;
  box-shadow: 0 8px 22px rgba(10,37,64,.35); transition: transform .25s;
}
.fab-cart:hover { transform: scale(1.08); }
.fab-count {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px;
  border-radius: 999px; background: var(--cyan); color: var(--navy);
  font-size: 12px; font-weight: 800; display: none; place-items: center; padding: 0 5px;
}

/* Cart drawer */
.cart-overlay {
  position: fixed; inset: 0; z-index: 98; background: rgba(7,24,44,.45);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.cart-overlay.show { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 99;
  width: min(400px, 92vw); background: #fff; box-shadow: -12px 0 40px rgba(10,37,64,.2);
  transform: translateX(105%); transition: transform .32s ease;
  display: flex; flex-direction: column; overflow-y: auto;
}
.cart-drawer.open { transform: none; }
.cart-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 22px; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--navy);
}
.cart-close { background: none; border: 0; font-size: 17px; cursor: pointer; color: var(--muted); }
.cart-empty { padding: 60px 24px; text-align: center; color: var(--muted); line-height: 2; }
.cart-empty a { color: var(--blue); font-weight: 600; }
.cart-item {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 16px 22px; border-bottom: 1px solid var(--line);
}
.ci-name { font-weight: 600; font-size: 14.5px; color: var(--navy); }
.ci-price { font-size: 13px; color: var(--muted); margin-top: 3px; }
.ci-qty { display: flex; align-items: center; gap: 10px; }
.ci-qty button {
  width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; font-size: 15px; color: var(--navy);
}
.ci-qty button:hover { border-color: var(--blue); color: var(--blue); }
.ci-qty span { min-width: 18px; text-align: center; font-weight: 600; font-size: 14px; }
.cart-foot { padding: 22px; margin-top: auto; border-top: 1px solid var(--line); }
.cart-sub { display: flex; justify-content: space-between; font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.cart-note { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

/* Toast */
.vb-toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 80px); z-index: 120;
  background: var(--navy); color: #fff; padding: 12px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 600; opacity: 0; transition: all .35s ease;
  box-shadow: 0 10px 26px rgba(10,37,64,.3); max-width: 90vw;
}
.vb-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: start; }
.sum-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); position: sticky; top: 96px; }
.sum-card h3 { color: var(--navy); font-size: 19px; margin-bottom: 18px; }
.sum-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.sum-table td { padding: 10px 0; }
.sum-table td:last-child { text-align: right; font-weight: 600; color: var(--navy); white-space: nowrap; }
.sum-qty { color: var(--muted); font-size: 13px; }
.sum-line td { border-top: 1px solid var(--line); color: var(--muted); }
.sum-total td { border-top: 2px solid var(--navy); font-size: 17px; font-weight: 800; color: var(--navy); padding-top: 14px; }
.pay-btn { width: 100%; justify-content: center; margin-top: 22px; font-size: 16px; }
.pay-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.paypal-buttons { margin-top: 22px; min-height: 45px; }
.pay-error {
  display: none; margin-top: 16px; background: #fdecec; border: 1px solid #f5c2c2;
  color: #a33333; padding: 14px 18px; border-radius: 8px; font-size: 14px; line-height: 1.7;
}
.pay-error a { color: var(--blue); }
.secure-note { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 14px; }

@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .sum-card { position: static; order: -1; }
}

/* Product card with real image */
.product-img { overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-body h3 a:hover { color: var(--blue); }

/* ============================================================
   Product detail page / gallery
   ============================================================ */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pd-gallery { position: sticky; top: 96px; }
.gallery-main {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 1; background: #fff; display: grid; place-items: center;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.pd-icon-fallback {
  width: 100%; height: 100%; display: grid; place-items: center; font-size: 110px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--navy); font-size: 26px; line-height: 1;
  box-shadow: var(--shadow-sm); transition: all .2s;
}
.gallery-nav:hover { background: var(--blue); color: #fff; }
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }
.gallery-count {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  background: rgba(10,37,64,.72); color: #fff; padding: 4px 14px;
  border-radius: 999px; font-size: 12.5px; font-weight: 600;
}
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.gallery-thumbs button {
  width: 76px; height: 76px; border-radius: 10px; border: 2px solid var(--line);
  overflow: hidden; padding: 0; cursor: pointer; background: #fff; transition: border-color .2s;
}
.gallery-thumbs button:hover { border-color: var(--cyan); }
.gallery-thumbs button.active { border-color: var(--blue); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pd-info .pd-name { font-size: clamp(24px, 3vw, 34px); color: var(--navy); margin: 10px 0 12px; line-height: 1.25; }
.pd-price { font-size: 30px; font-weight: 800; color: var(--blue); margin-bottom: 16px; }
.pd-desc { color: var(--muted); font-size: 16px; margin-bottom: 8px; }
.pd-actions { display: flex; gap: 16px; margin: 26px 0; }
.qty-stepper {
  display: flex; align-items: center; border: 1.5px solid var(--line);
  border-radius: 8px; overflow: hidden; flex: none;
}
.qty-stepper button {
  width: 44px; height: 48px; border: 0; background: #fff; font-size: 19px;
  cursor: pointer; color: var(--navy);
}
.qty-stepper button:hover { background: var(--bg); color: var(--blue); }
.qty-stepper input {
  width: 52px; text-align: center; border: 0; font-size: 15px; font-weight: 700;
  color: var(--navy); font-family: var(--font);
}
.qty-stepper input:focus { outline: none; }
.pd-meta { border-top: 1px solid var(--line); padding-top: 20px; font-size: 14px; color: var(--muted); line-height: 2.1; }

/* 规格参数 */
.pd-specs { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 4px; }
.spec-chip {
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 16px; font-size: 13.5px; color: var(--muted);
}
.spec-chip strong { color: var(--navy); margin-left: 4px; }

/* 成色徽章 */
.pd-price-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.pd-price-row .pd-price { margin-bottom: 0; }
.cond-badge {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .3px; white-space: nowrap;
}
.cond-badge.cond-sm { padding: 2px 9px; font-size: 10.5px; margin-left: 8px; vertical-align: 1px; }
.cond-new  { background: #e8f9f0; color: #177a4c; border: 1px solid #b7e8cd; }
.cond-open { background: #e8f1fd; color: #1c6ad9; border: 1px solid #bfd9f8; }
.cond-used { background: #fdf3e3; color: #b25e09; border: 1px solid #f2dcaf; }

/* 搜索框 */
.search-box { max-width: 560px; margin: -14px auto 26px; position: relative; }
.search-box::before {
  content: "🔍"; position: absolute; left: 18px; top: 50%;
  transform: translateY(-50%); opacity: .45; font-size: 15px;
}
.search-box input {
  width: 100%; padding: 13px 20px 13px 46px;
  border: 1.5px solid var(--line); border-radius: 999px;
  font-size: 14.5px; font-family: var(--font); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.search-box input:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47,128,237,.10);
}

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 46px; flex-wrap: wrap; }
.page-btn {
  min-width: 42px; height: 42px; padding: 0 12px;
  border: 1.5px solid var(--line); background: #fff; border-radius: 9px;
  font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer;
  font-family: var(--font); transition: all .2s;
}
.page-btn:hover { border-color: var(--blue); color: var(--blue); }
.page-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.page-btn:disabled { opacity: .35; cursor: default; pointer-events: none; }

/* 无结果 */
.no-results {
  grid-column: 1 / -1; text-align: center; color: var(--muted);
  padding: 70px 20px; font-size: 15px; line-height: 2;
}
.no-results a { color: var(--blue); font-weight: 600; }

/* 分类购买须知 */
.cat-note {
  margin-top: 56px; background: #f4f8fd;
  border: 1px solid #d8e5f5; border-left: 4px solid var(--blue);
  border-radius: var(--radius); padding: 28px 34px;
}
.cat-note h3 { color: var(--navy); font-size: 17px; margin-bottom: 16px; }
.cat-note ol { counter-reset: note; list-style: none; }
.cat-note li {
  counter-increment: note; position: relative;
  padding-left: 34px; margin-bottom: 12px;
  color: var(--muted); font-size: 14.5px; line-height: 1.75;
}
.cat-note li:last-child { margin-bottom: 0; }
.cat-note li::before {
  content: counter(note);
  position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 700;
  display: grid; place-items: center;
}
.cat-note a { color: var(--blue); font-weight: 600; }
.cat-note strong { color: var(--navy); }

@media (max-width: 900px) {
  .pd-grid { grid-template-columns: 1fr; gap: 36px; }
  .pd-gallery { position: static; }
}

/* Lightbox（点击查看大图） */
.lb-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(7,15,28,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.lb-overlay.show { opacity: 1; pointer-events: auto; }
.lb-stage { max-width: 92vw; max-height: 88vh; overflow: auto; display: grid; place-items: center; }
.lb-stage img {
  max-width: 92vw; max-height: 88vh; object-fit: contain;
  cursor: zoom-in; border-radius: 6px; display: block;
}
.lb-stage img.zoomed { max-width: none; max-height: none; cursor: zoom-out; }
.lb-close {
  position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 19px; cursor: pointer; z-index: 2;
}
.lb-close:hover { background: rgba(255,255,255,.28); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff;
  font-size: 28px; cursor: pointer; z-index: 2; line-height: 1;
}
.lb-nav:hover { background: rgba(255,255,255,.28); }
.lb-nav.prev { left: 18px; }
.lb-nav.next { right: 18px; }
.lb-count {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: #fff; background: rgba(255,255,255,.12); padding: 5px 16px;
  border-radius: 999px; font-size: 13px; font-weight: 600;
}
@media (max-width: 640px) {
  .lb-nav.prev { left: 8px; } .lb-nav.next { right: 8px; }
  .lb-nav { width: 42px; height: 42px; font-size: 22px; }
}

/* payment method badges (product page) */
.payment-methods { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.pm-label { font-size: 13px; color: var(--muted); margin-right: 2px; }
.pm-badge { height: 26px; width: auto; display: block; border-radius: 4px; box-shadow: 0 1px 2px rgba(16,24,40,.06); }
