/* ============================================================
   CAM Golf — Apium battery product page styles
   Shared by 36v / 48v dedicated product pages
   ============================================================ */
:root {
  --navy-0: #070C14; --navy-1: #0B1320; --navy-2: #101B2D; --navy-3: #16243A;
  --ink: #0C1422; --ink-mut: #57637A; --line: #E3E9F2; --paper: #F4F7FB; --white: #FFFFFF;
  --blue: #2F7BFF; --blue-deep: #1857D6; --green: #19C37D; --green-deep: #0E9E63;
  --grad: linear-gradient(120deg, #2F7BFF 0%, #19C37D 100%);
  --grad-soft: linear-gradient(120deg, rgba(47,123,255,0.14), rgba(25,195,125,0.14));
  --shadow-sm: 0 2px 8px rgba(12,20,34,0.06);
  --shadow-md: 0 18px 44px rgba(12,20,34,0.12);
  --shadow-lg: 0 40px 90px rgba(7,12,20,0.5);
  --r-sm: 12px; --r-md: 18px; --r-lg: 26px; --maxw: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { font-family: "Manrope", system-ui, sans-serif; color: var(--ink); background: var(--white);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: "Sora", sans-serif; line-height: 1.1; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: "Sora", sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 9px; }
.eyebrow.on-dark { color: #7FB2FF; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 15px; padding: 14px 24px;
  border-radius: 999px; cursor: pointer; border: 0; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(47,123,255,0.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(47,123,255,0.42); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-deep); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.22); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.btn-wa { background: #25D366; color: #06310f; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37,211,102,0.4); }
.btn-order { font-size: 17px; padding: 17px 28px; }

/* ---------- Header ---------- */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 16px 0;
  background: rgba(8,13,22,0.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,0.06); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 38px; height: 38px; border-radius: 11px; background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(47,123,255,0.4); flex: none; }
.brand .mark svg { width: 20px; height: 20px; }
.brand .name { font-family: "Sora", sans-serif; font-weight: 700; font-size: 19px; color: #fff; }
.brand .name b { font-weight: 800; }
.brand .name span { font-weight: 500; color: #9DB0CC; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 500; color: #C6D2E4; transition: color .15s ease; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-btn span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; margin: 5px 0; }
.mobile-menu { position: fixed; inset: 0 0 auto 0; top: 0; z-index: 55; background: rgba(8,13,22,0.97);
  backdrop-filter: blur(14px); transform: translateY(-100%); transition: transform .32s ease; padding: 92px 24px 30px; }
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { display: block; font-family: "Sora", sans-serif; font-weight: 600; font-size: 22px; color: #fff;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu .btn { margin-top: 22px; width: 100%; }

/* ---------- Breadcrumb ---------- */
.crumb { background: var(--navy-1); color: #9FB0C9; padding: 92px 0 0; }
.crumb .row { display: flex; align-items: center; gap: 9px; font-size: 13.5px; padding: 16px 0; }
.crumb a { color: #9FB0C9; }
.crumb a:hover { color: #fff; }
.crumb svg { width: 14px; height: 14px; opacity: 0.6; }
.crumb .here { color: #fff; font-weight: 600; }

/* ---------- PDP hero ---------- */
.pdp-hero { background: linear-gradient(180deg, var(--navy-1), var(--navy-2)); color: #EAF0FA; padding: 24px 0 64px; }
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pdp-media { position: relative; }
.pdp-stage { position: relative; background:
    radial-gradient(420px 260px at 50% 30%, rgba(47,123,255,0.22), transparent 70%);
  border: 1px solid rgba(255,255,255,0.10); border-radius: var(--r-lg); padding: 30px; display: grid; place-items: center;
  min-height: 380px; overflow: hidden; }
.pdp-stage img { position: relative; z-index: 2; max-height: 360px; width: auto; filter: drop-shadow(0 30px 44px rgba(0,0,0,0.55)); }
.pdp-stage .vbadge { position: absolute; z-index: 3; top: 18px; left: 18px; font-family: "Sora", sans-serif;
  font-weight: 800; font-size: 14px; letter-spacing: 0.04em; color: #06310f; background: var(--green);
  padding: 7px 14px; border-radius: 999px; }
.pdp-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pdp-thumb { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 12px; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.pdp-thumb.active, .pdp-thumb:hover { border-color: var(--blue); background: rgba(47,123,255,0.12); }
.pdp-thumb img { height: 60px; width: auto; margin: 0 auto; object-fit: contain; }

.pdp-info .ptitle { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; color: #fff; margin: 14px 0 8px; }
.pdp-info .psub { color: #B7C4DA; font-size: 16px; max-width: 460px; }
.pdp-rating { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13.5px; color: #9FB0C9; }
.pdp-rating .stars { display: inline-flex; gap: 2px; }
.pdp-rating .stars svg { width: 16px; height: 16px; color: #FFC53D; }

.pdp-pricebox { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md); padding: 22px 24px; margin: 24px 0; }
.pdp-pricebox .amt { font-family: "Sora", sans-serif; font-weight: 800; font-size: 38px; color: #fff; line-height: 1; }
.pdp-pricebox .amt small { font-size: 15px; font-weight: 600; color: #9FB0C9; }
.pdp-pricebox .was { font-family: "Sora", sans-serif; font-weight: 600; font-size: 22px; color: #8090AA;
  text-decoration: line-through; text-decoration-thickness: 2px; margin-right: 11px; }
.pdp-pricebox .save { display: inline-flex; align-items: center; margin-top: 12px;
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.01em; color: #06310f;
  background: var(--green); padding: 5px 12px; border-radius: 999px; }
.pdp-pricebox .delivery { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  font-size: 14px; font-weight: 600; color: #fff; background: rgba(25,195,125,0.16);
  border: 1px solid rgba(25,195,125,0.32); padding: 7px 13px; border-radius: 999px; }
.pdp-pricebox .delivery svg { width: 16px; height: 16px; color: var(--green); }
.pdp-pricebox .stock { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; margin-left: 8px;
  font-size: 13.5px; color: #B7C4DA; }
.pdp-pricebox .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(25,195,125,0.2); }

.pdp-actions { display: grid; gap: 12px; }
.pdp-actions .btn { width: 100%; }

/* ---------- Checkout: delivery-address fields (PayFast shipping info) ---------- */
.pf-ship { display: grid; gap: 14px; padding: 18px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.pf-ship-head { font-family: "Sora", sans-serif; font-weight: 700; font-size: 15px; color: var(--ink);
  display: flex; align-items: center; gap: 8px; }
.pf-ship-head svg { width: 18px; height: 18px; color: var(--green-deep); flex: none; }
.field { margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: #E5484D; }
.field label .opt { font-weight: 500; color: var(--ink-mut); }
.field input, .field select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); font-family: inherit; font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357637A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47,123,255,0.12); }

.pdp-keys { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 24px 0 0; }
.pdp-keys li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; color: #CBD7EA; }
.pdp-keys li svg { width: 17px; height: 17px; color: var(--green); flex: none; margin-top: 2px; }

/* ---------- Payment strip ---------- */
.pay-strip { margin-top: 22px; padding: 16px 18px; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.pay-strip .lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-mut); margin-bottom: 11px; display: flex; align-items: center; gap: 8px; }
.pay-strip .lbl svg { width: 15px; height: 15px; color: var(--green-deep); }
.pay-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.pay-logos img { height: 30px; width: auto; border: 1px solid var(--line); border-radius: 7px; padding: 3px 6px; background: #fff; }
.pay-strip .powered { margin-top: 10px; font-size: 12px; color: var(--ink-mut); }
.pay-strip .powered b { color: var(--ink); }

/* ---------- Section scaffold ---------- */
.sec { padding: 76px 0; }
.sec-paper { background: var(--paper); }
.sec-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; margin-top: 14px; }
.sec-head p { font-size: 17px; color: var(--ink-mut); margin-top: 14px; }

/* ---------- Kit / install band ---------- */
.kit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kit-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; }
.kit-card .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--grad-soft); display: grid; place-items: center; margin-bottom: 16px; }
.kit-card .ic svg { width: 25px; height: 25px; color: var(--blue-deep); }
.kit-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 7px; }
.kit-card p { font-size: 14.5px; color: var(--ink-mut); }

/* ---------- Spec table ---------- */
.spec-table-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; max-width: 860px; margin: 0 auto; }
table.specs { width: 100%; border-collapse: collapse; }
table.specs th, table.specs td { padding: 15px 22px; text-align: left; font-size: 15px; }
table.specs thead th { background: var(--navy-2); color: #fff; font-family: "Sora", sans-serif; font-weight: 600; }
table.specs tbody tr:nth-child(even) { background: var(--paper); }
table.specs tbody td:first-child { font-weight: 600; color: var(--ink); width: 42%; }
table.specs tbody td { color: var(--ink-mut); border-top: 1px solid var(--line); }
table.specs .val { color: var(--ink); font-weight: 600; font-family: "Sora", sans-serif; }

/* ---------- Features (reused) ---------- */
.specfeat { background: linear-gradient(180deg, var(--navy-1), var(--navy-2)); color: #EAF0FA; }
.specfeat-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.specfeat-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--r-md); }
.specfeat-card .ic { width: 52px; height: 52px; border-radius: 14px; flex: none; display: grid; place-items: center;
  background: var(--grad); box-shadow: 0 8px 20px rgba(47,123,255,0.32); }
.specfeat-card .ic svg { width: 26px; height: 26px; color: #fff; }
.specfeat-card h3 { font-size: 17px; font-weight: 600; color: #fff; }
.specfeat-card p { font-size: 13.5px; color: #9FB0C9; margin-top: 2px; }
@media (min-width: 600px) { .specfeat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .specfeat-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; font-family: "Sora", sans-serif; font-weight: 600; font-size: 16.5px; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { width: 26px; height: 26px; flex: none; display: grid; place-items: center; transition: transform .25s ease; }
.faq-item[open] summary .pm { transform: rotate(45deg); }
.faq-item summary .pm svg { width: 18px; height: 18px; color: var(--blue); }
.faq-item .ans { padding: 0 22px 20px; font-size: 15px; color: var(--ink-mut); }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; overflow: hidden; background: var(--grad); color: #fff; text-align: center; padding: 72px 0; }
.final-cta h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; }
.final-cta p { font-size: 18px; color: rgba(255,255,255,0.92); max-width: 600px; margin: 14px auto 26px; }
.final-cta .btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.final-cta .btn-white { background: #fff; color: var(--blue-deep); }
.final-cta .btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(7,12,20,0.3); }
.final-cta .btn-clear { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.45); }
.final-cta .btn-clear:hover { background: rgba(255,255,255,0.24); transform: translateY(-2px); }

/* ---------- Footer ---------- */
footer { background: var(--navy-0); color: #9FB0C9; padding: 56px 0 30px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.foot-top .brand .name { font-size: 21px; }
.foot-blurb { margin-top: 18px; font-size: 14.5px; max-width: 330px; }
.foot-col h4 { font-family: "Sora", sans-serif; color: #fff; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.foot-col a { display: block; font-size: 14.5px; color: #9FB0C9; margin-bottom: 11px; transition: color .15s ease; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 13px; }
.foot-bottom a { color: #C6D2E4; }
.foot-bottom .fineprint { color: #6F7E97; max-width: 640px; }

/* ---------- Sticky mobile order bar ---------- */
.order-bar { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 30px; }
  .kit-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-btn { display: block; }
  .sec { padding: 56px 0; }
  .pdp-keys { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .pay-logos img { height: 26px; }
  /* sticky order bar */
  .order-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 54; gap: 10px;
    align-items: center; justify-content: space-between;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(8,13,22,0.96); backdrop-filter: blur(14px); border-top: 1px solid rgba(255,255,255,0.10); }
  .order-bar .ob-price { color: #fff; font-family: "Sora", sans-serif; font-weight: 800; font-size: 18px; line-height: 1; flex: none; }
  .order-bar .ob-price small { display: block; font-size: 11px; font-weight: 500; color: #9FB0C9; margin-top: 2px; }
  .order-bar .btn { flex: 1; }
  footer { padding-bottom: 96px; }
  .mobile-menu.open ~ .order-bar { transform: translateY(120%); }
}
