:root {
  --bg: #0f0f0f;
  --panel: #171717;
  --panel-2: #1f1f1f;
  --text: #f5f5f2;
  --muted: #c7c1b8;
  --accent: #f2b84b;
  --accent-2: #e08d1b;
  --line: rgba(255,255,255,0.12);
  --shadow: 0 18px 55px rgba(0,0,0,0.24);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font: inherit;
}
.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15,15,15,0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.navbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}
.nav-links {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cart, .nav-toggle, .btn, .slot-btn, .shop-tab, .size-chip, .cart-close, .cart-remove {
  border: 0;
  cursor: pointer;
}
.nav-cart, .btn, .slot-btn, .shop-tab, .size-chip {
  background: var(--panel-2);
  color: var(--text);
  border-radius: 999px;
  padding: 0.72rem 1rem;
}
.nav-cart { background: var(--accent); color: #111; font-weight: 700; }
.nav-toggle { display: none; background: transparent; color: var(--text); font-size: 1.25rem; }
.hero {
  padding: 4.2rem 0 3rem;
  background: linear-gradient(135deg, rgba(242,184,75,0.16), rgba(255,255,255,0.02));
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
}
h1, h2, h3 { line-height: 1.1; margin-top: 0; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 60ch; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.2rem 0 1.4rem;
}
.btn-primary { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #111; font-weight: 700; }
.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.hero-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
  min-width: 120px;
}
.hero-badge .num { font-size: 1.15rem; font-weight: 700; color: var(--accent); }
.pole-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 2rem 0 2.5rem;
}
.pole-divider.thin { margin: 1.2rem 0 1.6rem; }
section { padding: 1rem 0 2.5rem; }
.section-head.center { text-align: center; }
.card-grid, .shop-tabs, .slots-grid {
  display: grid;
  gap: 1rem;
}
.card-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.service-card, .testimonial-card, .product-card, .booking-form-container, .cart-drawer {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.service-card ul { padding-left: 1rem; color: var(--muted); }
.service-card li { margin-bottom: 0.35rem; }
.team-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: center; }
.team-photo-wrap img { border-radius: 24px; border: 1px solid var(--line); }
.founder-slots { display: grid; gap: 0.8rem; margin: 1rem 0; }
.founder-slot { background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 16px; padding: 0.9rem 1rem; color: var(--muted); }
.booking-form-container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; }
.booking-form .form-row { margin-bottom: 0.95rem; }
.booking-status { display: none; margin-bottom: 0.95rem; padding: 0.8rem 0.95rem; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,0.04); color: var(--muted); }
.booking-status.show { display: block; }
.booking-status.success { border-color: rgba(76,175,80,0.4); background: rgba(76,175,80,0.14); color: #dff6e8; }
.booking-status.error { border-color: rgba(255,107,107,0.35); background: rgba(255,107,107,0.12); color: #ffd7d7; }
.booking-form label { display: block; margin-bottom: 0.4rem; color: var(--muted); }
.booking-form input, .booking-form select, .booking-form textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #121212;
  color: var(--text);
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 0.6rem 0.9rem; }
.slots-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.slot-btn { background: rgba(255,255,255,0.05); color: var(--text); }
.slot-btn.selected, .shop-tab.active, .size-chip.active { background: var(--accent); color: #111; }
.shop-tabs { grid-template-columns: repeat(3, minmax(0,1fr)); margin-bottom: 1rem; }
.product-card { display: flex; flex-direction: column; gap: 0.8rem; }
.product-media img { border-radius: 16px; aspect-ratio: 1/1; object-fit: cover; }
.stock-tag { display: inline-block; width: max-content; padding: 0.35rem 0.6rem; border-radius: 999px; background: rgba(255,255,255,0.08); font-size: 0.8rem; color: var(--muted); }
.stock-tag.out { background: rgba(255,0,0,0.16); color: #ff9b9b; }
.product-name { font-weight: 700; font-size: 1.1rem; }
.product-desc { color: var(--muted); margin: 0; }
.size-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.size-chip { padding: 0.45rem 0.65rem; background: rgba(255,255,255,0.08); }
.product-price { font-weight: 700; color: var(--accent); font-size: 1.1rem; }
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45); opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; width: min(420px, 100%); height: 100%; border-radius: 0; transform: translateX(100%); transition: transform .2s ease; z-index: 40;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; }
.cart-close { background: none; color: var(--text); font-size: 1.35rem; }
.cart-item { display: flex; gap: 0.8rem; align-items: center; margin-bottom: 0.8rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--line); }
.cart-item img { width: 70px; height: 70px; object-fit: cover; border-radius: 12px; }
.cart-item-name { font-weight: 700; }
.cart-item-meta { color: var(--muted); font-size: 0.95rem; }
.cart-remove { background: none; color: var(--accent); padding: 0; margin-top: 0.35rem; }
.cart-total { display: flex; justify-content: space-between; margin: 1rem 0; font-weight: 700; }
.toast {
  position: fixed; bottom: 1.1rem; left: 50%; transform: translateX(-50%) translateY(100%); opacity: 0; pointer-events: none; background: #121212; color: var(--text); border: 1px solid var(--line); padding: 0.8rem 1rem; border-radius: 999px; transition: all .2s ease; z-index: 50;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
footer { padding: 2rem 0 2.5rem; border-top: 1px solid var(--line); margin-top: 2rem; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-copy { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) {
  .hero .wrap, .team-grid, .booking-form-container, .card-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 100%; right: 1rem; flex-direction: column; background: var(--panel); padding: 1rem; border: 1px solid var(--line); border-radius: 16px; }
  .slots-grid, .shop-tabs { grid-template-columns: 1fr 1fr; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   BARBER PICKER — used on the booking section and the Army page
   ========================================================================== */
.barber-picker-section { max-width: 1100px; margin: 0 auto 1.6rem; padding: 0 1.5rem; }
.barber-picker-title { font-size: 1.05rem; color: var(--muted); margin-bottom: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; }
.barber-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.9rem; }
.barber-picker-loading { color: var(--muted); }
.barber-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 1rem 0.8rem; cursor: pointer; transition: border-color .15s ease, transform .15s ease;
  color: var(--text); text-align: center;
}
.barber-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.barber-card.selected { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }
.barber-card-photo {
  width: 84px; height: 84px; border-radius: 50%; overflow: hidden;
  background: var(--panel-2); display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.barber-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.barber-card-initials { font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.barber-card-name { font-weight: 700; }
.barber-card-role { font-size: 0.82rem; color: var(--muted); }
.slots-hint { color: var(--muted); grid-column: 1 / -1; }
.slot-btn.taken { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.slot-btn[disabled] { pointer-events: none; }

/* ==========================================================================
   ARMY PAGE
   ========================================================================== */
.army-hero {
  padding: 76px 0 40px;
  background: linear-gradient(180deg, rgba(242,184,75,0.08), transparent 60%);
}
.army-hero .eyebrow { color: var(--accent); }
.army-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.05; margin: 0.5rem 0 1rem; }
.army-hero p.lead { max-width: 68ch; color: var(--muted); }
.army-ribbon {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.9rem;
  border: 1px solid var(--line); border-radius: 999px; color: var(--accent);
  font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1rem;
}
.army-appreciation {
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
  padding: 1.4rem 1.6rem; margin-top: 1.4rem; color: var(--muted);
}
.army-appreciation strong { color: var(--text); }

/* ==========================================================================
   ARMY PAGE — camo palette, scoped to body.army-theme so the rest of the
   site keeps its normal black/gold look.
   ========================================================================== */
body.army-theme {
  --bg: #14150f;
  --panel: #1c1f16;
  --panel-2: #23271a;
  --text: #f2f0e4;
  --muted: #c7c4ac;
  --accent: #9caf82;
  --accent-2: #4f5a3d;
  --line: rgba(207,208,184,0.16);
}
body.army-theme .navbar,
body.army-theme footer { background: var(--bg); }
body.army-theme .nav-cart,
body.army-theme .btn-primary { background: var(--accent); color: #14150f; }

.army-hero {
  padding: 76px 0 40px;
  position: relative;
  overflow: hidden;
  background-color: #6b6244;
  background-image: url("../images/army-camo-bg.jpg");
  background-repeat: repeat;
  background-size: 420px auto;
}
.army-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,21,15,0.35) 0%, rgba(20,21,15,0.6) 65%, rgba(20,21,15,0.88) 100%);
  pointer-events: none;
}
.army-hero .wrap { position: relative; z-index: 1; }
.army-hero .eyebrow { color: var(--accent); }
.army-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.05; margin: 0.5rem 0 1rem; }
.army-hero p.lead { max-width: 62ch; color: var(--muted); }
.army-ribbon {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.9rem;
  border: 1px solid var(--line); border-radius: 999px; color: var(--accent);
  font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1rem;
  background: rgba(20,21,15,0.55);
}
.army-appreciation {
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
  padding: 1.3rem 1.5rem; margin-top: 1.3rem; color: var(--muted);
}
.army-appreciation strong { color: var(--text); }
.army-motto {
  margin-top: 0.9rem; font-size: 0.85rem; letter-spacing: 0.05em;
  color: var(--accent); text-transform: uppercase;
}
