/* Highveld Fishing Apparel: "Storm" brand styles */
:root {
  --bg-top: #16202B;
  --bg-bottom: #0B1117;
  --text: #F4F6F8;
  --muted: #9AA7B3;
  --lime: #C6F432;
  --on-lime: #0B1117;
  --rule: rgba(198, 244, 50, 0.4);
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.12);
  --danger: #FF8A80;
  --radius: 8px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(170deg, var(--bg-top) 0%, var(--bg-bottom) 100%) fixed;
  background-color: var(--bg-bottom);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--lime); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--lime); color: var(--on-lime); padding: 8px 12px; border-radius: var(--radius); }

/* Type */
.display, h1, h2, h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.6rem, 9vw, 5rem); }
h2 { font-size: clamp(2rem, 6vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.label {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.lime { color: var(--lime); }
.price {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  color: var(--lime);
  font-size: 2.6rem;
  line-height: 1;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 17, 23, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo svg { width: 40px; height: 40px; flex: none; }
.logo-words { display: flex; flex-direction: column; line-height: 1; }
.logo-hv { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.6rem; letter-spacing: 0.04em; }
.logo-fa { font-weight: 600; font-size: 0.55rem; letter-spacing: 0.5em; color: var(--muted); margin-top: 3px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius);
  background: transparent; border: 1px solid var(--line); color: var(--text); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.site-nav { display: none; }
.site-nav.open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: #0B1117; border-bottom: 1px solid var(--rule); padding: 8px 20px 20px;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 12px 4px; color: var(--text); text-decoration: none;
  font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.site-nav a[aria-current="page"] { color: var(--lime); }

@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open { display: block; position: static; background: none; border: 0; padding: 0; }
  .site-nav ul { display: flex; gap: 4px; align-items: center; }
  .site-nav a { border: 0; font-size: 1.15rem; padding: 8px 12px; border-radius: var(--radius); }
  .site-nav a:hover { background: var(--panel-strong); }
  .site-nav .nav-cta a { background: var(--lime); color: var(--on-lime); margin-left: 8px; }
  .site-nav .nav-cta a:hover { background: #d5ff4f; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px; border-radius: var(--radius);
  font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: 1.25rem; letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  border: 2px solid var(--lime); background: var(--lime); color: var(--on-lime);
  transition: transform 0.08s ease, background 0.15s ease;
}
.btn:hover { background: #d5ff4f; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--lime); }
.btn-ghost:hover { background: rgba(198, 244, 50, 0.1); }
.btn-small { min-height: 40px; font-size: 1rem; padding: 8px 14px; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: 56px 0; }
.section-head { margin-bottom: 28px; }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* Hero */
.hero { padding: 32px 0 48px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hero-tag {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(11, 17, 23, 0.85); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 8px 12px; font-size: 0.85rem;
}
@media (min-width: 880px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
}

/* Next leg strip */
.leg-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  border: 1px solid var(--rule); border-radius: var(--radius); padding: 12px 16px; margin: 20px 0;
  background: rgba(198, 244, 50, 0.06);
}
.leg-strip strong { color: var(--lime); }

/* Cards */
.cards { display: grid; gap: 20px; }
@media (min-width: 720px) { .cards-2 { grid-template-columns: 1fr 1fr; } .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.card-img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body .btn { margin-top: auto; align-self: flex-start; }
.ticks { list-style: none; padding: 0; margin: 0 0 8px; }
.ticks li { padding-left: 26px; position: relative; margin-bottom: 6px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.55em; width: 12px; height: 7px;
  border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(-45deg);
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 720px) { .steps-4 { grid-template-columns: repeat(4, 1fr); } .steps-3 { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--display); font-style: italic; font-weight: 800;
  color: var(--lime); font-size: 2.2rem; line-height: 1; margin-bottom: 8px;
}
.steps strong { display: block; margin-bottom: 4px; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  border: 1px solid var(--line); background: transparent; color: var(--text);
  border-radius: 999px; padding: 8px 16px; font: 600 0.85rem var(--body); cursor: pointer; min-height: 40px;
}
.chip[aria-pressed="true"] { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform 0.3s ease; }
.gallery button:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(5, 8, 11, 0.92); }
.lightbox img { max-width: 96vw; max-height: 84vh; border-radius: var(--radius); }
.lightbox p { color: var(--muted); text-align: center; margin: 8px 0 0; font-size: 0.9rem; }
.lightbox .close {
  position: fixed; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #0B1117; color: var(--text); font-size: 1.6rem; cursor: pointer;
}

/* Forms */
.form-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .form-layout { grid-template-columns: 1fr 340px; } .summary { position: sticky; top: 92px; } }
fieldset {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0 0 20px;
  background: var(--panel); min-width: 0;
}
legend { padding: 0 8px; font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.4rem; }
.grid-2 { display: grid; gap: 16px; }
@media (min-width: 600px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.grid-2 .field { margin-bottom: 0; }
.field > label, .field > .field-label { font-weight: 600; font-size: 0.9rem; }
.opt { color: var(--muted); font-weight: 400; }
.hint { font-size: 0.82rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(11, 17, 23, 0.7); color: var(--text);
  font: 400 16px var(--body);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--lime); outline: none; box-shadow: 0 0 0 3px rgba(198, 244, 50, 0.2); }
input[type="date"] { color-scheme: dark; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--lime) 50%), linear-gradient(135deg, var(--lime) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
input[type="file"] { font: 400 0.9rem var(--body); color: var(--muted); padding: 10px; border: 1px dashed rgba(255,255,255,0.25); border-radius: var(--radius); width: 100%; }
input[type="file"]::file-selector-button { font: 600 0.85rem var(--body); background: var(--panel-strong); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; margin-right: 10px; cursor: pointer; }
.field-error { color: var(--danger); font-size: 0.85rem; }
.invalid { border-color: var(--danger) !important; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label {
  position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); padding: 10px 14px; min-height: 46px;
  font-weight: 600; font-size: 0.95rem;
}
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { border-color: var(--lime); background: rgba(198,244,50,0.12); color: var(--lime); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--lime); outline-offset: 2px; }

.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
@media (min-width: 600px) { .swatches { grid-template-columns: repeat(12, 1fr); } }
.swatches label { position: relative; cursor: pointer; display: block; }
.swatches input { position: absolute; opacity: 0; }
.swatches span { display: block; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255,255,255,0.25); }
.swatches label:has(input:checked) span { outline: 3px solid var(--lime); outline-offset: 2px; }
.swatches label:has(input:focus-visible) span { outline: 3px solid var(--text); outline-offset: 2px; }
.swatch-name { font-size: 0.85rem; color: var(--muted); }
.swatches { grid-template-columns: repeat(7, 1fr); }
@media (min-width: 600px) { .swatches { grid-template-columns: repeat(13, 1fr); } }
.swatch-custom span { background: conic-gradient(#E3242B, #FFD400, #2DB34A, #3EC5F0, #1F4FD8, #7B3FE4, #FF4FA3, #E3242B); }
.swatch-custom input[type="color"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.colour-preview { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.preview-chip {
  font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1;
  padding: 8px 14px; border-radius: var(--radius); background: #A9B0B7; text-shadow: 0 0 1px rgba(0,0,0,0.5);
}

.shirt { border-color: var(--rule); position: relative; }
.shirt-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.shirt-head h3 { margin: 0; font-size: 1.5rem; }
.remove-shirt { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: var(--radius); padding: 6px 12px; cursor: pointer; font: 600 0.85rem var(--body); min-height: 38px; }
.remove-shirt:hover { color: var(--danger); border-color: var(--danger); }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--lime); flex: none; }

.summary { background: var(--panel-strong); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px; }
.summary h3 { font-size: 1.5rem; }
.sum-lines { list-style: none; padding: 0; margin: 0 0 12px; font-size: 0.95rem; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 8px 0; }
.sum-total .price { font-size: 2.4rem; }
.estimate-note { font-size: 0.85rem; color: var(--muted); }
.wa-aside { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.9rem; }

.notice {
  border: 1px solid var(--rule); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 20px;
  background: rgba(198,244,50,0.06); font-size: 0.9rem;
}
.notice.warn { border-color: rgba(255, 196, 0, 0.6); background: rgba(255, 196, 0, 0.08); }
.form-status { margin-top: 12px; font-weight: 600; }
.form-status.error { color: var(--danger); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* Reviews */
.reviews { display: grid; gap: 16px; }
@media (min-width: 720px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stars { color: var(--lime); letter-spacing: 2px; font-size: 1.1rem; }
.review blockquote { margin: 10px 0 12px; }
.review footer { font-size: 0.85rem; color: var(--muted); }
.review footer strong { color: var(--text); }
.empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { font-size: 2rem; color: rgba(255,255,255,0.25); cursor: pointer; line-height: 1; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--lime); }
.star-input input:focus-visible + label { outline: 2px solid var(--lime); border-radius: 4px; }

/* Contact band + footer */
.contact-band { background: var(--lime); color: var(--on-lime); }
.contact-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 20px; }
.contact-band a { color: var(--on-lime); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.contact-band svg { width: 34px; height: 34px; }
.contact-band .cb-name { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1; }
.contact-band .cb-num { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.6rem; line-height: 1; }
.contact-band .cb-sub { font-weight: 600; font-size: 0.85rem; }
.site-footer { padding: 32px 0 96px; font-size: 0.85rem; color: var(--muted); }
.site-footer .wrap { display: grid; gap: 16px; }
.site-footer a { color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }

.wa-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lime); color: var(--on-lime); text-decoration: none;
  border-radius: 999px; padding: 12px 18px 12px 14px; min-height: 52px;
  font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.15rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}
.wa-fab svg { width: 26px; height: 26px; }

/* Thank-you */
.ref-box { display: inline-block; border: 2px solid var(--lime); border-radius: var(--radius); padding: 10px 18px; margin: 8px 0 20px; }
.ref-box .price { font-size: 2.4rem; }
pre.order-summary { white-space: pre-wrap; font: 400 0.9rem/1.6 var(--body); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }

.prose { max-width: 46em; }
.prose h2 { margin-top: 1.4em; font-size: 2rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
