/* ============================================================
   BUMEKS GEAR INDUSTRY — Shared styles (header, footer, base)
   ============================================================ */

:root {
  --brand-yellow: #FFD400;
  --brand-yellow-dark: #F1C400;
  --brand-yellow-deep: #E8B800;
  --ink: #1a1a1a;
  --ink-2: #333;
  --muted: #6b6b6b;
  --muted-2: #9a9a9a;
  --line: #e5e5e5;
  --line-2: #d9d9d9;
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --bg-soft-2: #ececec;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: 1480px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   HEADER
   ============================================================ */

.site-header { position: sticky; top: 0; z-index: 50; }

.header-top {
  background: var(--brand-yellow);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.header-top__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px 28px;
  max-width: 1600px;
  margin: 0 auto;
}

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  color: #111;
}
.brand__img {
  height: 58px;
  width: auto;
  display: block;
}
/* Footer logo can be slightly smaller */
.footer-brand .brand__img { height: 52px; }

/* Search */
.header-search {
  display: flex;
  align-items: stretch;
  background: #fff;
  height: 44px;
  max-width: 620px;
  width: 100%;
  margin-left: 16px;
  box-shadow: var(--shadow-sm);
}
.header-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 18px;
  font-size: 15px;
  color: #333;
  background: transparent;
}
.header-search input::placeholder { color: #999; }
.header-search__btn {
  background: #5a5a5a;
  color: #fff;
  border: none;
  width: 56px;
  display: grid; place-items: center;
}
.header-search__btn:hover { background: #444; }

/* Utility icons */
.header-utils {
  display: flex;
  align-items: center;
  gap: 22px;
}
.util {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #111;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  gap: 4px;
}
.util svg { width: 22px; height: 22px; }
.util:hover { opacity: 0.7; }

.util-divider {
  width: 1px; height: 32px; background: rgba(0,0,0,.18);
}

.products-cta {
  background: #111;
  color: var(--brand-yellow);
  border: none;
  padding: 14px 22px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.products-cta__arrow {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand-yellow);
  color: #111;
  display: grid; place-items: center;
  font-size: 12px;
}

/* Sub-nav */
.header-sub {
  background: #f1f1f1;
  border-bottom: 1px solid var(--line);
}
.header-sub__inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  gap: 0;
  height: 50px;
}
.subnav { display: flex; align-items: center; gap: 32px; }
.subnav a {
  font-size: 15px;
  color: #222;
  padding: 6px 0;
  position: relative;
}
.subnav a.is-active { color: #000; font-weight: 700; }
.subnav a:hover { color: #000; }

.subnav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 32px;
  padding-left: 32px;
  border-left: 1px solid var(--line-2);
  height: 100%;
}
.inquiry-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #222;
  line-height: 1.15;
  text-align: right;
}
.inquiry-link .ic {
  width: 28px; height: 28px; display: grid; place-items: center;
  color: var(--brand-yellow-dark);
}
.cart-link {
  position: relative;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  color: #444;
}
.cart-link .badge {
  position: absolute;
  top: -4px; right: -8px;
  background: var(--brand-yellow);
  color: #111;
  font-size: 10px;
  font-weight: 800;
  border-radius: 999px;
  padding: 1px 6px;
  border: 1px solid #111;
}

/* ============================================================
   BREADCRUMB + PAGE TITLE
   ============================================================ */
.breadcrumb {
  font-size: 14px;
  color: var(--muted);
  margin: 26px 0 6px;
}
.breadcrumb .sep { margin: 0 8px; color: var(--muted-2); }
.breadcrumb a:hover { color: #111; }

.page-title {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin: 0 0 28px;
  color: #111;
}

/* ============================================================
   HERO (page banner with placeholder)
   ============================================================ */
.page-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: #1a1a1a;
}
.page-hero__media {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.page-hero__scroll {
  position: absolute;
  bottom: 0; left: 0;
  background: var(--brand-yellow);
  width: 42px; height: 42px;
  display: grid; place-items: center;
  color: #111;
}

/* Striped placeholder (for missing media) */
.ph {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 14px, rgba(255,255,255,0) 14px 28px),
    linear-gradient(180deg, #2a2a2a, #181818);
  display: grid; place-items: center;
  color: #cfcfcf;
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 1px;
  text-align: center;
  padding: 24px;
}
.ph--light {
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,.04) 0 14px, rgba(0,0,0,0) 14px 28px),
    linear-gradient(180deg, #f1f1f1, #e5e5e5);
  color: #555;
}
.ph--metal {
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,.05) 0 12px, rgba(0,0,0,0) 12px 24px),
    linear-gradient(135deg, #d8d8d8 0%, #b8b8b8 40%, #cfcfcf 70%, #aaaaaa 100%);
  color: #444;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--brand-yellow);
  color: #111;
  padding: 56px 0 0;
  margin-top: 80px;
}
.site-footer__inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.footer-about {
  margin-top: 22px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  max-width: 360px;
}
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}
.footer-social a {
  width: 32px; height: 32px;
  background: #111;
  color: var(--brand-yellow);
  display: grid; place-items: center;
}
.footer-social a:hover { background: #000; }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-size: 18px;
  font-weight: 900;
  margin: 4px 0 18px;
  color: #111;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; font-size: 14px; }
.footer-col a:hover { text-decoration: underline; }

.footer-bottom {
  margin-top: 56px;
  border-top: 1px solid rgba(0,0,0,.12);
  padding: 18px 28px;
  text-align: center;
  font-size: 13px;
  color: #1a1a1a;
}

/* ============================================================
   GENERIC SECTION
   ============================================================ */
section { padding: 0; }
.section-head {
  text-align: center;
  margin: 64px 0 36px;
}
.section-head h2 {
  font-size: 28px;
  font-weight: 900;
  margin: 0;
}
.section-head--left {
  text-align: left;
  margin: 64px 0 24px;
}

/* Yellow rule */
.rule-yellow {
  height: 4px;
  background: var(--brand-yellow);
  border: none;
  margin: 16px 0 28px;
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 18px;
}
.field label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #111;
}
.field label .req { color: #2aa14a; margin-left: 2px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: #f4f4f4;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 11px 12px;
  font-size: 14px;
  font-family: inherit;
  color: #222;
  outline: none;
  transition: border-color .15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--brand-yellow-deep); background:#fff; }
.field--full { grid-column: 1 / -1; }
.field--2 { grid-column: span 2; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 13px;
  border: none;
  cursor: pointer;
}
.btn--submit {
  background: #2aa14a;
  color: #fff;
}
.btn--submit:hover { background: #228a3e; }
.btn--yellow {
  background: var(--brand-yellow);
  color: #111;
}
.btn--yellow:hover { background: var(--brand-yellow-dark); }
.btn--dark {
  background: #111;
  color: var(--brand-yellow);
}

/* ============================================================
   MOBILE MENU TOGGLE / HELPER CLASSES (hidden on desktop)
   Responsive rules live in assets/mobile.css so they win against
   page-level inline <style> blocks via source order.
   ============================================================ */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 6px;
  color: #111;
  align-items: center;
  justify-content: center;
}
.mobile-toggle svg { width: 28px; height: 28px; }

.mobile-only,
.mobile-utils,
.mobile-cta,
.mobile-nav-close { display: none; }
