/* =============================================
   THE BOHO BANDIT — Design System
   Palette: charcoal / parchment / rust / sage
   ============================================= */

:root {
  --charcoal:    #1C1A17;
  --charcoal-2:  #121008;
  --parchment:   #F2EBD9;
  --bone:        #FAF6EE;
  --rust:        #8B3A1E;
  --rust-light:  #B85830;
  --rust-pale:   #F5E8DF;
  --sage:        #4A5C3A;
  --sage-light:  #7A9468;
  --sage-pale:   #E8EEE2;
  --ink:         #2C2820;
  --muted:       #6A6258;
  --border:      #DDD4C0;
  --border-dark: #3A3630;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Crimson Pro', Georgia, serif;
  --font-ui:      'Source Sans 3', system-ui, sans-serif;

  --radius:    6px;
  --radius-sm: 4px;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  background: var(--bone);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }
h1 { font-size: clamp(36px, 6vw, 54px); font-weight: 900; }
h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }

.eyebrow, .section-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust-light);
  display: block;
  margin-bottom: 0.5rem;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--rust);
  color: var(--parchment);
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--rust-light); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--parchment);
  border: 1px solid #5A5248;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s;
}
.btn-outline:hover { border-color: var(--parchment); }

.btn-sage {
  display: inline-block;
  background: var(--sage);
  color: var(--parchment);
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.btn-sage:hover { background: var(--sage-light); }

.btn-full { display: block; text-align: center; width: 100%; }

/* ---- NAV ---- */
.site-nav {
  background: var(--charcoal);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  min-height: 0;
  padding-top: 6px;
  padding-bottom: 6px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--parchment);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-brand span { color: var(--rust-light); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: #9C9080;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--parchment); }

.nav-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--rust);
  color: var(--parchment);
  border: none;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.nav-cart:hover { background: var(--rust-light); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--parchment);
  font-size: 22px;
  cursor: pointer;
}

/* ---- SEAM DIVIDER (signature element) ---- */
.seam-divider {
  width: 100%;
  height: 18px;
  background: var(--rust);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.seam-divider::before {
  content: '';
  position: absolute;
  top: 4px; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.18);
}
.seam-divider::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 1px;
  background: rgba(0,0,0,0.25);
}
.seam-dots {
  display: flex;
  gap: 18px;
}
.seam-dots::before {
  content: '• • • • • • • • • • •';
  color: rgba(0,0,0,0.3);
  font-size: 8px;
  letter-spacing: 10px;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255,255,255,0.2);
}

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--parchment);
  border-bottom: 1px solid var(--border);
  padding: 14px 2rem;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
  letter-spacing: 0.02em;
}
.trust-item svg { color: var(--rust); flex-shrink: 0; }

/* ---- HERO ---- */
.hero {
  background: var(--charcoal);
  padding: 2.5rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(92deg, transparent, transparent 3px, rgba(255,255,255,0.012) 3px, rgba(255,255,255,0.012) 4px),
    repeating-linear-gradient(2deg, transparent, transparent 8px, rgba(255,255,255,0.008) 8px, rgba(255,255,255,0.008) 9px);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 600px; }
.hero h1 { color: var(--parchment); margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: var(--rust-light); }
.hero-sub {
  font-family: var(--font-body);
  font-size: 20px;
  color: #9C9080;
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.5;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- SECTION COMMON ---- */
.section-products,
.section-shows {
  padding: 3.5rem 2rem;
  background: var(--bone);
}

.section-title {
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}
.section-sub {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* ---- PRODUCT GRID ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
  margin-bottom: 1.5rem;
}

.product-card {
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.product-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(28,26,23,0.12); }

.product-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: #DDD4C0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.product-body { padding: 12px 14px 14px; }
.product-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 4px;
}
.product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
  line-height: 1.3;
}
.product-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--rust);
}
.product-add {
  margin-top: 8px;
  width: 100%;
  padding: 7px;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--charcoal);
  cursor: pointer;
  font-family: var(--font-ui);
  transition: background 0.15s;
}
.product-add:hover { background: var(--rust); color: var(--parchment); border-color: var(--rust); }

.product-skeleton {
  height: 230px;
  background: linear-gradient(90deg, #E8DFD0 25%, #F2EBD9 50%, #E8DFD0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- EMAIL SECTION ---- */
.section-email {
  background: var(--charcoal);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}
.section-email::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(92deg, transparent, transparent 3px, rgba(255,255,255,0.01) 3px, rgba(255,255,255,0.01) 4px);
  pointer-events: none;
}
.section-email .section-label { color: var(--rust-light); }
.section-email .section-title { color: var(--parchment); }
.section-email .section-sub { color: #8A8070; }

.email-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.email-form input {
  flex: 1;
  min-width: 180px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
  background: #2C2820;
  color: var(--parchment);
  font-family: var(--font-ui);
  font-size: 14px;
}
.email-form input::placeholder { color: #5A5248; }
.email-form input:focus { outline: 2px solid var(--rust); border-color: transparent; }

.email-success {
  background: var(--sage);
  color: var(--parchment);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-bottom: 1rem;
}

.email-perks {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.email-perk {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #7A7068;
}
.email-perk svg { color: var(--sage-light); flex-shrink: 0; }

/* ---- VENDOR SHOWS ---- */
.section-shows { background: var(--parchment); }

.shows-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 1rem; }

.show-card {
  background: var(--bone);
  border: 1px solid var(--border);
  border-left: 4px solid var(--rust);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.show-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--rust);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  min-width: 72px;
}
.show-info { flex: 1; }
.show-name { font-size: 15px; font-weight: 600; color: var(--charcoal); }
.show-location { font-size: 13px; color: var(--muted); }
.show-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--sage-pale);
  color: var(--sage);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.show-badge.next { background: var(--rust-pale); color: var(--rust); }

.shows-note {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.5rem;
}

/* ---- ABOUT STRIP ---- */
.about-strip {
  background: var(--sage);
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.about-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #3A4C2A;
  border: 3px solid var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  flex-shrink: 0;
}
.about-text h3 {
  color: var(--parchment);
  margin-bottom: 8px;
}
.about-text p {
  font-family: var(--font-body);
  font-size: 17px;
  color: #B8C8A8;
  line-height: 1.55;
  margin-bottom: 12px;
}
.about-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--parchment);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
}
.about-link:hover { border-color: var(--parchment); }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--charcoal-2);
  padding: 2.5rem 2rem 1.5rem;
  color: var(--muted);
  font-size: 13px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--parchment);
}
.footer-brand span { color: var(--rust-light); }
.footer-tagline { font-size: 13px; color: #3A3630; margin-top: 4px; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--parchment); }

.social-links { display: flex; gap: 14px; align-items: center; }
.social-links a { color: #4A4440; text-decoration: none; transition: color 0.15s; }
.social-links a:hover { color: var(--rust-light); }

.footer-bottom {
  border-top: 1px solid #2C2820;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: #3A3630;
  font-size: 12px;
}
.footer-bottom a { color: #3A3630; text-decoration: none; }
.footer-bottom a:hover { color: var(--muted); }

/* ---- SHOP PAGE ---- */
.page-header {
  background: var(--charcoal);
  padding: 3rem 2rem 2.5rem;
}
.page-header .eyebrow { color: var(--rust-light); }
.page-header h1 { color: var(--parchment); font-size: clamp(28px, 5vw, 40px); }

.shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  padding: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.shop-filters { position: sticky; top: 80px; }
.filter-group { margin-bottom: 1.5rem; }
.filter-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  display: block;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
}
.filter-option input { accent-color: var(--rust); }

/* ---- CART PAGE ---- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 64px;
  height: 64px;
  background: var(--parchment);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 15px; }
.cart-item-price { color: var(--rust); font-weight: 600; }
.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.cart-qty button {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  background: var(--bone);
  border-radius: 3px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.cart-summary {
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: 80px;
}
.cart-summary h3 { margin-bottom: 1rem; }
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 6px 0;
}
.summary-row.total {
  font-weight: 600;
  font-size: 16px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
}

/* ---- FORMS ---- */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--ink);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--rust);
  border-color: transparent;
}

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--charcoal);
  color: var(--parchment);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  border-left: 4px solid var(--rust);
  z-index: 999;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ---- PROMO BANNER ---- */
.promo-banner {
  background: var(--rust);
  color: var(--parchment);
  text-align: center;
  padding: 10px 2rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.promo-banner a { color: var(--parchment); text-decoration: underline; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--charcoal); padding: 1rem 2rem; gap: 16px; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters { position: static; }

  .cart-layout { grid-template-columns: 1fr; }

  .about-strip { flex-direction: column; text-align: center; }

  .trust-bar { justify-content: flex-start; }

  .footer-top { flex-direction: column; }
  .footer-links { flex-direction: row; flex-wrap: wrap; gap: 14px; }
}
