/*
Theme Name: Miscellaneous Makers Mansion
Theme URI: https://miscellaneousmakersmansion.com
Author: Miscellaneous Makers Mansion
Description: Custom WordPress theme — Business Card Edition
Version: 2.2.0
License: GNU General Public License v2 or later
Text Domain: mmm-theme
*/

/* =============================================
   DESIGN TOKENS — Business Card System
   ============================================= */
:root {
  --ivory:        #F7F5F2;
  --surface:      #FFFFFF;
  --surface-2:    #F0EDE8;
  --charcoal:     #222222;
  --charcoal-dk:  #111111;
  --slate:        #5C6770;
  --orange:       #C96A2D;
  --orange-hv:    #A6521F;
  --gold:         #B58B39;
  --gold-lt:      #D4A84B;
  --border:       #E2DED8;
  --border-dk:    #CCCAC5;

  /* Aliases for compatibility */
  --color-bg:         var(--ivory);
  --color-surface:    var(--surface);
  --color-surface-2:  var(--surface-2);
  --color-ink:        var(--charcoal);
  --color-ink-muted:  var(--slate);
  --color-primary:    var(--charcoal);
  --color-primary-dk: var(--charcoal-dk);
  --color-accent:     var(--orange);
  --color-accent-hv:  var(--orange-hv);
  --color-gold:       var(--gold);
  --color-gold-lt:    var(--gold-lt);
  --color-border:     var(--border);
  --color-border-dk:  var(--border-dk);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =============================================
   TYPOGRAPHY — Business Card Matched
   ============================================= */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem,5vw,3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem,3.5vw,2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem,2.5vw,1.6rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { margin-bottom: 1rem; color: var(--slate); }
p:last-child { margin-bottom: 0; }

/* Eyebrow — matches BC label exactly */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

/* Gold gradient rule — matches BC horizontal divider */
.bc-rule {
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), rgba(181,139,57,0));
  margin-bottom: 1.25rem;
}

/* Orange dot separator — matches BC back card */
.dot-sep {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
  vertical-align: middle;
  margin: 0 0.6rem;
  flex-shrink: 0;
}

/* =============================================
   LAYOUT
   ============================================= */
.container { width: min(1200px, 100% - 2 * var(--space-md)); margin-inline: auto; }
.section    { padding-block: var(--space-lg); }
.section--lg{ padding-block: var(--space-xl); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px,100%),1fr)); gap: var(--space-md); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px,100%),1fr)); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px,100%),1fr)); gap: var(--space-md); }
.text-center { text-align: center; }

.section-header { margin-bottom: var(--space-md); }
.section-header--center { text-align: center; }
.section-header--center .bc-rule { margin-inline: auto; }
.section-header p { font-size: 1.05rem; max-width: 520px; }
.section-header--center p { margin-inline: auto; }

/* =============================================
   BUTTONS — BC Style
   ============================================= */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.04em; cursor: pointer; border: 2px solid transparent;
  transition: all 0.2s ease; text-decoration: none; position: relative;
}
.btn-primary {
  background: var(--orange); color: #fff; border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-hv); border-color: var(--orange-hv); transform: translateY(-1px); }

.btn-dark { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.btn-dark:hover { background: #000; transform: translateY(-1px); }

.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: #9a7430; transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: #fff; transform: translateY(-1px); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }

.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.3); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.78rem; }

/* =============================================
   HEADER / NAV — BC Precision
   ============================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
/* BC left-stripe on header */
.site-header::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--orange), var(--gold), var(--orange));
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.9rem; padding-left: 16px;
}
.site-logo { display: flex; align-items: center; gap: 0.75rem; }
.site-logo img { width: 42px; height: 42px; object-fit: contain; }
.site-logo__text {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  color: var(--charcoal); line-height: 1.15; letter-spacing: -0.01em;
}
.site-logo__sub {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--orange); display: block; margin-top: 1px;
}

.site-nav { display: flex; align-items: center; gap: 0.1rem; }
.site-nav a {
  font-size: 0.84rem; font-weight: 500; padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm); color: var(--slate);
  transition: color 0.2s, background 0.2s; position: relative;
}
.site-nav a:hover { color: var(--charcoal); background: var(--surface-2); }
.site-nav a.active {
  color: var(--charcoal);
  /* BC left-stripe indicator on active nav */
  box-shadow: inset 3px 0 0 var(--orange);
  background: var(--surface-2);
}
.site-nav .btn { margin-left: 0.75rem; padding: 0.45rem 1.1rem; }

.nav-cart {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.84rem; font-weight: 600; color: var(--charcoal);
  padding: 0.4rem 0.85rem; border-radius: var(--radius-sm); transition: background 0.2s;
}
.nav-cart:hover { background: var(--surface-2); }
.nav-cart .cart-count {
  background: var(--orange); color: #fff; font-size: 0.68rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: all 0.3s; }

/* =============================================
   HERO — Business Card Dark Front Translated
   ============================================= */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  overflow: hidden; background: var(--charcoal);
}
/* BC left orange stripe on hero */
.hero::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: linear-gradient(to bottom, var(--orange), var(--gold), var(--orange));
  z-index: 3;
}
/* BC bottom gradient line */
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--orange), var(--gold) 50%, var(--orange));
  z-index: 3;
}
.hero__content { position: relative; z-index: 2; max-width: 660px; padding-block: var(--space-xl); padding-left: 16px; }
.hero__quote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(0.85rem,1.8vw,1rem); color: var(--gold);
  margin-bottom: 1.25rem; opacity: 0.85;
}
.hero h1 { color: #fff; margin-bottom: var(--space-sm); }
.hero h1 span { color: var(--orange); }
.hero__sub { color: rgba(255,255,255,0.72); font-size: 1.05rem; margin-bottom: var(--space-md); max-width: 480px; }
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__badge {
  position: absolute; bottom: var(--space-md); right: var(--space-md);
  background: rgba(255,255,255,0.06); backdrop-filter: blur(8px);
  border: 1px solid rgba(181,139,57,0.2); border-radius: var(--radius-sm);
  padding: 0.75rem 1.25rem; color: #fff; font-size: 0.76rem; text-align: center; z-index: 2;
}
.hero__badge strong { display: block; font-size: 1rem; color: var(--gold); margin-bottom: 0.2rem; }
/* BC corner bracket on hero badge */
.hero__badge::after {
  content: '';
  position: absolute; bottom: 8px; right: 8px;
  width: 12px; height: 12px;
  border-right: 1.5px solid rgba(181,139,57,0.3);
  border-bottom: 1.5px solid rgba(181,139,57,0.3);
}

@keyframes mmmFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   MISSION STRIP
   ============================================= */
.mission-strip { background: var(--charcoal); padding-block: var(--space-md); position: relative; }
.mission-strip::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--orange), var(--gold) 50%, var(--orange));
}
.mission-strip__inner { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; }
.mission-strip img { width: 48px; height: 48px; object-fit: contain; filter: brightness(10); opacity: 0.8; flex-shrink: 0; }
.mission-strip p { color: rgba(255,255,255,0.78); margin: 0; font-size: 0.92rem; flex: 1; min-width: 200px; }
.mission-strip p strong { color: #fff; }

/* =============================================
   SERVICE CARDS — BC Dark Front Style
   ============================================= */
.services-section { background: var(--surface-2); }

.service-card {
  background: var(--surface); border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange); /* BC left stripe */
  padding: var(--space-md);
  display: flex; flex-direction: column; gap: 1rem;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.service-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-3px);
}
/* BC corner bracket */
.service-card::after {
  content: '';
  position: absolute; bottom: 14px; right: 14px;
  width: 16px; height: 16px;
  border-right: 1.5px solid rgba(181,139,57,0.25);
  border-bottom: 1.5px solid rgba(181,139,57,0.25);
}
.service-card__icon {
  width: 46px; height: 46px; background: var(--charcoal);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.service-card h3 { font-size: 1.15rem; }
.service-card ul { display: flex; flex-direction: column; gap: 0.5rem; }
.service-card ul li {
  font-size: 0.87rem; color: var(--slate); display: flex; align-items: center; gap: 0.6rem;
}
.service-card ul li::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--orange); flex-shrink: 0;
}
.service-card .btn { margin-top: auto; align-self: flex-start; }
.coming-soon-badge {
  display: inline-block; background: var(--gold); color: #fff;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 20px; margin-left: 0.5rem;
}

/* =============================================
   PRODUCT CARDS
   ============================================= */
.product-card {
  background: var(--surface); border-radius: var(--radius-sm);
  overflow: hidden; border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s; display: flex; flex-direction: column;
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
/* BC left stripe appears on hover */
.product-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--orange), var(--gold));
  opacity: 0; transition: opacity 0.2s; z-index: 1;
}
.product-card:hover::before { opacity: 1; }

.product-card__img-wrap {
  position: relative; aspect-ratio: 1; overflow: hidden; background: #111;
}
.product-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card__img-wrap img { transform: scale(1.05); }

.product-card__badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 2px;
  color: #fff; background: var(--charcoal);
}
.product-card__badge--mto { background: var(--orange); }
.product-card__badge--soon { background: var(--gold); }

.product-card__body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.product-card__cat { font-size: 0.67rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
.product-card__name { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--charcoal); line-height: 1.25; }
.product-card__desc { font-size: 0.83rem; color: var(--slate); flex: 1; margin: 0; }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 0.9rem; gap: 0.5rem; }
.product-card__price { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--charcoal); }
.product-card__price small { font-size: 0.75rem; font-weight: 400; color: var(--slate); }

/* =============================================
   SHOP PAGE
   ============================================= */
.shop-page-header {
  background: var(--charcoal); padding-block: var(--space-md);
  border-bottom: 3px solid var(--orange); position: relative;
}
.shop-page-header::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(to bottom, var(--orange), var(--gold), var(--orange));
}
.shop-page-header h1 { color: #fff; padding-left: 12px; }
.shop-page-header p  { color: rgba(255,255,255,0.65); margin: 0.3rem 0 0; font-size: 0.9rem; padding-left: 12px; }

.shop-toolbar {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding-block: 0.85rem; position: sticky; top: 72px; z-index: 10;
}
.shop-toolbar__inner { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; justify-content: space-between; }
.shop-filters { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.filter-btn {
  padding: 0.35rem 0.9rem; border-radius: 2px;
  border: 1px solid var(--border); background: transparent;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; cursor: pointer;
  transition: all 0.2s; color: var(--slate);
}
.filter-btn:hover { border-color: var(--charcoal); color: var(--charcoal); }
.filter-btn.active { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.shop-sort select {
  padding: 0.35rem 0.9rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: transparent;
  font-size: 0.78rem; color: var(--charcoal); cursor: pointer; font-family: var(--font-body);
}

/* =============================================
   SINGLE PRODUCT PAGE
   ============================================= */
.single-product-wrap { padding-block: var(--space-lg); }
.single-product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: start; }
@media(max-width:768px){ .single-product-grid { grid-template-columns: 1fr; } }

.product-gallery { position: sticky; top: 88px; }
.product-gallery__main {
  border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1;
  background: #111; margin-bottom: 0.75rem;
  border-left: 4px solid var(--orange); /* BC stripe */
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.product-gallery__thumbs img {
  width: 68px; height: 68px; object-fit: cover; border-radius: var(--radius-sm);
  cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s;
}
.product-gallery__thumbs img.active { border-color: var(--orange); }

.product-info__breadcrumb { font-size: 0.75rem; color: var(--slate); margin-bottom: 0.75rem; }
.product-info__breadcrumb a:hover { color: var(--orange); }

.product-info h1 { font-size: clamp(1.4rem,3vw,2rem); margin-bottom: 0.5rem; }
.product-price-display {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700;
  color: var(--charcoal); margin-bottom: var(--space-sm); line-height: 1;
}
.product-price-display span { font-size: 0.88rem; font-weight: 400; color: var(--slate); margin-left: 0.25rem; }
.product-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, var(--gold), rgba(181,139,57,0)); /* BC gold rule */
  margin-block: var(--space-sm);
}

.variant-group { margin-bottom: 1.25rem; }
.variant-group__label {
  display: flex; align-items: baseline; gap: 0.5rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 0.6rem;
}
.variant-group__label strong { color: var(--charcoal); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 0.9rem; }
.variant-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.variant-pill {
  padding: 0.4rem 1rem; border-radius: 2px;
  border: 1px solid var(--border); background: transparent;
  font-size: 0.84rem; cursor: pointer; transition: all 0.2s;
  color: var(--charcoal); font-family: var(--font-body);
}
.variant-pill:hover { border-color: var(--charcoal); }
.variant-pill.selected { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.variant-pill.mto::after { content: ' ·'; color: var(--orange); }

.color-swatches { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.color-swatch {
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  border: 3px solid var(--surface); outline: 2px solid transparent;
  outline-offset: 2px; transition: all 0.2s;
}
.color-swatch:hover   { outline-color: var(--slate); }
.color-swatch.selected { outline-color: var(--orange); }

.addon-list { display: flex; flex-direction: column; gap: 0.5rem; }
.addon-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.8rem 1rem; border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s;
}
.addon-item:hover { border-color: var(--border-dk); border-left-color: var(--gold); }
.addon-item.selected { border-left-color: var(--orange); background: var(--surface-2); }
.addon-item input { accent-color: var(--orange); width: 16px; height: 16px; cursor: pointer; }
.addon-item__label { flex: 1; font-size: 0.9rem; color: var(--charcoal); }
.addon-item__price { font-weight: 700; color: var(--orange); font-size: 0.86rem; }

.add-to-cart-row { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; margin-top: var(--space-sm); }
.qty-wrap { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-wrap button { width: 40px; height: 48px; border: none; background: var(--surface-2); font-size: 1.1rem; cursor: pointer; transition: background 0.2s; color: var(--charcoal); }
.qty-wrap button:hover { background: var(--border); }
.qty-wrap input { width: 52px; height: 48px; border: none; text-align: center; font-size: 1rem; font-weight: 600; background: transparent; color: var(--charcoal); }

.mto-notice {
  background: rgba(201,106,45,0.07); border: 1px solid rgba(201,106,45,0.2);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-sm); padding: 0.75rem 1rem;
  font-size: 0.84rem; color: var(--orange); margin-top: var(--space-sm); display: none;
}
.mto-notice.visible { display: block; }

.product-tabs { margin-top: var(--space-lg); border-top: 1px solid var(--border); padding-top: var(--space-md); }
.product-tabs__nav { display: flex; border-bottom: 1px solid var(--border); margin-bottom: var(--space-md); }
.tab-btn {
  padding: 0.6rem 1.4rem; border: none; background: transparent; cursor: pointer;
  font-family: var(--font-body); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--slate); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.2s;
}
.tab-btn.active { color: var(--charcoal); border-bottom-color: var(--orange); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* =============================================
   DARK SECTIONS — BC Dark Front Style
   ============================================= */
.dark-section {
  background: var(--charcoal);
  position: relative;
}
.dark-section::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(to bottom, var(--orange), var(--gold), var(--orange));
}
.dark-section::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--orange), var(--gold) 50%, var(--orange));
}
/* Subtle texture lines in dark sections */
.dark-section .texture-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 28px,
    rgba(255,255,255,0.015) 28px, rgba(255,255,255,0.015) 29px
  );
}

/* =============================================
   PAGE HERO HEADERS
   ============================================= */
.page-hero {
  background: var(--charcoal); padding-block: var(--space-lg);
  text-align: center; color: #fff; position: relative;
}
.page-hero::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(to bottom, var(--orange), var(--gold), var(--orange));
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--orange), var(--gold) 50%, var(--orange));
}
.page-hero h1 { color: #fff; }
.page-hero p  { color: rgba(255,255,255,0.7); max-width: 540px; margin-inline: auto; margin-top: 0.5rem; }
.shop-header { background: var(--charcoal); padding-block: var(--space-md); border-bottom: 3px solid var(--orange); position: relative; }
.shop-header::before { content:''; position:absolute; left:0;top:0;bottom:0;width:5px; background:linear-gradient(to bottom,var(--orange),var(--gold),var(--orange)); }
.shop-header h1 { color:#fff; padding-left:12px; }
.shop-header p  { color:rgba(255,255,255,0.65); margin:0; padding-left:12px; }

/* =============================================
   CART PAGE
   ============================================= */
.cart-page-header { background: var(--charcoal); padding-block: var(--space-md); position: relative; }
.cart-page-header::before { content:''; position:absolute; left:0;top:0;bottom:0;width:5px; background:linear-gradient(to bottom,var(--orange),var(--gold),var(--orange)); }
.cart-page-header h1 { color: #fff; padding-left:12px; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: var(--space-md); align-items: start; }
@media(max-width:900px){ .cart-layout { grid-template-columns: 1fr; } }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); padding: 0 0 0.75rem; border-bottom: 2px solid var(--border); }
.cart-table td { padding: 1.25rem 0; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-item__img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--radius-sm); border-left: 3px solid var(--orange); }
.cart-item__name { font-family: var(--font-display); font-weight: 600; color: var(--charcoal); }
.cart-item__meta { font-size: 0.78rem; color: var(--slate); margin-top: 0.2rem; }
.cart-item__remove { color: var(--slate); font-size: 1rem; cursor: pointer; background: none; border: none; padding: 0.25rem; }
.cart-item__remove:hover { color: #c0392b; }
.cart-summary {
  background: var(--surface); border: 1px solid var(--border);
  border-top: 3px solid var(--orange); /* BC top accent */
  border-radius: var(--radius-sm); padding: var(--space-md); position: sticky; top: 88px;
}
.cart-summary h3 { font-size: 1rem; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.cart-summary-row { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.88rem; }
.cart-summary-row.total { font-weight: 700; font-size: 1.05rem; border-top: 1px solid var(--border); margin-top: 0.5rem; padding-top: 0.75rem; }

/* =============================================
   CHECKOUT
   ============================================= */
.checkout-header { background: var(--charcoal); padding-block: var(--space-md); position: relative; }
.checkout-header::before { content:''; position:absolute; left:0;top:0;bottom:0;width:5px; background:linear-gradient(to bottom,var(--orange),var(--gold),var(--orange)); }
.checkout-header h1 { color: #fff; padding-left:12px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: var(--space-md); align-items: start; }
@media(max-width:900px){ .checkout-layout { grid-template-columns: 1fr; } }
.checkout-block {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 4px solid var(--orange); /* BC stripe */
  border-radius: var(--radius-sm); padding: var(--space-md); margin-bottom: var(--space-sm);
}
.checkout-block h3 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.checkout-summary {
  background: var(--surface); border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius-sm); padding: var(--space-md); position: sticky; top: 88px;
}
.checkout-summary h3 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); margin-bottom: 1rem; }
.checkout-order-item { display: flex; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); align-items: center; }
.checkout-order-item img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius-sm); }
.checkout-order-item__name { font-size: 0.86rem; font-weight: 600; color: var(--charcoal); flex: 1; }
.checkout-order-item__price { font-weight: 700; font-size: 0.9rem; }

/* =============================================
   MY ACCOUNT
   ============================================= */
.account-header { background: var(--charcoal); padding-block: var(--space-md); position: relative; }
.account-header::before { content:''; position:absolute; left:0;top:0;bottom:0;width:5px; background:linear-gradient(to bottom,var(--orange),var(--gold),var(--orange)); }
.account-header h1 { color: #fff; padding-left:12px; }
.account-header p  { color: rgba(255,255,255,0.65); margin: 0; padding-left:12px; }
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: var(--space-md); align-items: start; }
@media(max-width:768px){ .account-layout { grid-template-columns: 1fr; } }
.account-sidebar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; position: sticky; top: 88px; }
.account-nav a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1.25rem; font-size: 0.86rem; font-weight: 500;
  color: var(--slate); border-bottom: 1px solid var(--border); transition: all 0.2s;
}
.account-nav a:hover { color: var(--charcoal); background: var(--surface-2); }
.account-nav a.active { color: var(--charcoal); background: var(--surface-2); box-shadow: inset 3px 0 0 var(--orange); }
.account-nav a:last-child { border-bottom: none; }
.account-content { min-height: 400px; }
.account-panel { display: none; }
.account-panel.active { display: block; }
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th { text-align: left; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); padding: 0 0 0.75rem; border-bottom: 2px solid var(--border); }
.orders-table td { padding: 1rem 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.status-badge { display: inline-block; padding: 0.18rem 0.6rem; border-radius: 2px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.status-processing { background: rgba(201,106,45,0.1); color: var(--orange); }
.status-completed  { background: rgba(34,34,34,0.07); color: var(--charcoal); }
.status-pending    { background: rgba(181,139,57,0.12); color: var(--gold); }
.status-mto        { background: rgba(92,103,112,0.1); color: var(--slate); }

/* =============================================
   ORDER CONFIRMATION
   ============================================= */
.thankyou-hero { background: var(--charcoal); padding-block: var(--space-lg); text-align: center; color: #fff; position: relative; }
.thankyou-hero::before { content:''; position:absolute; left:0;top:0;bottom:0;width:5px; background:linear-gradient(to bottom,var(--orange),var(--gold),var(--orange)); }
.thankyou-hero::after { content:''; position:absolute; bottom:0;left:0;right:0;height:2px; background:linear-gradient(to right,var(--orange),var(--gold) 50%,var(--orange)); }
.thankyou-hero h1 { color: #fff; }
.thankyou-hero p  { color: rgba(255,255,255,0.7); }
.thankyou-check { font-size: 3rem; margin-bottom: 1rem; display: block; }
.thankyou-layout { display: grid; grid-template-columns: 1fr 360px; gap: var(--space-md); }
@media(max-width:900px){ .thankyou-layout { grid-template-columns: 1fr; } }
.order-detail-block {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 4px solid var(--orange); /* BC stripe */
  border-radius: var(--radius-sm); padding: var(--space-md); margin-bottom: var(--space-sm);
}
.order-detail-block h3 { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.75rem; }

/* =============================================
   DONATE PAGE
   ============================================= */
.donate-hero { background: var(--charcoal); padding-block: var(--space-lg); text-align: center; position: relative; }
.donate-hero::before { content:''; position:absolute; left:0;top:0;bottom:0;width:5px; background:linear-gradient(to bottom,var(--orange),var(--gold),var(--orange)); }
.donate-hero::after { content:''; position:absolute; bottom:0;left:0;right:0;height:2px; background:linear-gradient(to right,var(--orange),var(--gold) 50%,var(--orange)); }
.donate-hero h1 { color: #fff; }
.donate-hero p  { color: rgba(255,255,255,0.7); max-width: 540px; margin-inline: auto; }
.donate-amounts { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-block: var(--space-md); }
.donate-amount-btn {
  padding: 0.75rem 1.75rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface);
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s; color: var(--charcoal);
}
.donate-amount-btn:hover, .donate-amount-btn.selected {
  border-color: var(--orange); border-left-width: 3px; color: var(--orange);
  background: rgba(201,106,45,0.04);
}

/* =============================================
   FORMS
   ============================================= */
.form-card {
  background: var(--surface); border-radius: var(--radius-sm);
  padding: var(--space-lg); border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
}
.form-group { margin-bottom: 1.4rem; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 0.4rem; }
.form-group label .req { color: var(--orange); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.95rem;
  color: var(--charcoal); background: var(--ivory); transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(201,106,45,0.1);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media(max-width:580px){ .form-grid-2 { grid-template-columns: 1fr; } }

.file-drop {
  border: 1.5px dashed var(--border-dk); border-radius: var(--radius-sm);
  padding: var(--space-md); text-align: center; cursor: pointer;
  transition: all 0.2s; background: var(--ivory);
}
.file-drop:hover { border-color: var(--orange); background: rgba(201,106,45,0.03); }
.file-drop__icon { font-size: 2rem; margin-bottom: 0.5rem; }
.file-drop__text { font-size: 0.88rem; color: var(--slate); }
.file-drop__text strong { color: var(--orange); }
.file-drop__hint { font-size: 0.73rem; color: var(--slate); margin-top: 0.25rem; }
.file-drop input[type="file"] { display: none; }

.service-option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px,1fr)); gap: 0.75rem; }
.service-option {
  border: 1px solid var(--border); border-left: 3px solid transparent;
  border-radius: var(--radius-sm); padding: 1rem; cursor: pointer; transition: all 0.2s; text-align: center;
}
.service-option:hover { border-left-color: var(--gold); }
.service-option.selected { border-left-color: var(--orange); background: var(--surface-2); }
.service-option input { display: none; }
.service-option__icon { font-size: 1.6rem; margin-bottom: 0.4rem; }
.service-option__name { font-weight: 600; font-size: 0.86rem; }
.service-option__desc { font-size: 0.71rem; color: var(--slate); margin-top: 0.2rem; }

/* =============================================
   CONTACT / ABOUT
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--space-lg); align-items: start; }
@media(max-width:768px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info-icon { width: 40px; height: 40px; background: var(--surface-2); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.contact-info-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); display: block; margin-bottom: 0.15rem; }
.contact-info-val { font-weight: 500; color: var(--charcoal); font-size: 0.9rem; }
.discord-block {
  background: #5865F2; border-radius: var(--radius-sm); padding: var(--space-md);
  color: #fff; display: flex; align-items: center; gap: 1rem; margin-top: var(--space-md); transition: opacity 0.2s;
}
.discord-block:hover { opacity: 0.9; }

/* Mission block — BC front card style */
.mission-block {
  background: var(--surface); border-radius: var(--radius-sm);
  border: 1px solid var(--border); border-left: 5px solid var(--orange);
  padding: var(--space-md); margin-bottom: var(--space-md); position: relative;
}
.mission-block::after {
  content: '';
  position: absolute; bottom: 14px; right: 14px;
  width: 16px; height: 16px;
  border-right: 1.5px solid rgba(181,139,57,0.25);
  border-bottom: 1.5px solid rgba(181,139,57,0.25);
}

/* =============================================
   FOOTER — BC Back Card Style
   ============================================= */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.72); padding-block: var(--space-lg); position: relative; }
.site-footer::before {
  content: '';
  position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--orange), var(--gold) 50%, var(--orange));
}
/* Subtle texture lines in footer */
.site-footer::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 28px,
    rgba(255,255,255,0.015) 28px, rgba(255,255,255,0.015) 29px
  );
  pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-md); margin-bottom: var(--space-md); position: relative; z-index: 1; }
@media(max-width:900px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 44px; opacity: 1; filter: invert(1) brightness(2); margin-bottom: 1rem; }
.footer-brand p   { color: rgba(255,255,255,0.48); font-size: 0.84rem; margin-bottom: 1rem; font-style: italic; font-family: var(--font-display); }
.nonprofit-badge { display: inline-flex; align-items: center; gap: 0.35rem; background: rgba(255,255,255,0.07); border-radius: 2px; padding: 0.3rem 0.8rem; font-size: 0.68rem; color: rgba(255,255,255,0.55); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.footer-col { position: relative; z-index: 1; }
.footer-col h4 { color: rgba(255,255,255,0.4); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { font-size: 0.84rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: var(--space-md);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; font-size: 0.76rem; color: rgba(255,255,255,0.28);
}
/* Dot separators in footer bottom — BC back card style */
.footer-bottom-dots { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.footer-bottom-dots span { color: rgba(255,255,255,0.28); font-size: 0.76rem; }
.footer-bottom-dots .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--orange); }

/* =============================================
   WOOCOMMERCE OVERRIDES
   ============================================= */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--orange) !important; color: #fff !important;
  border-radius: var(--radius-sm) !important; font-family: var(--font-body) !important;
  font-weight: 600 !important; letter-spacing: 0.04em !important;
  padding: 0.85rem 2rem !important; border: none !important;
  transition: background 0.2s !important;
}
.woocommerce .button:hover { background: var(--orange-hv) !important; }
.woocommerce .button.alt { background: var(--charcoal) !important; }
.woocommerce .button.alt:hover { background: #000 !important; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--orange) !important; }
.woocommerce-message::before { color: var(--orange) !important; }
.woocommerce ul.products li.product .price { color: var(--charcoal) !important; font-weight: 700; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-display) !important; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1px solid var(--border) !important; border-radius: var(--radius-sm) !important;
  padding: 0.75rem 1rem !important; font-family: var(--font-body) !important;
  background: var(--ivory) !important;
}
.woocommerce form .form-row input.input-text:focus { border-color: var(--orange) !important; box-shadow: 0 0 0 3px rgba(201,106,45,0.1) !important; }
.woocommerce #payment #place_order { background: var(--orange) !important; }
.woocommerce-checkout #payment { background: var(--surface) !important; border-radius: var(--radius-sm) !important; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media(max-width:768px){
  .site-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 1rem; box-shadow: var(--shadow-md); }
  .site-nav.open { display: flex; }
  .site-header__inner { position: relative; }
  .nav-toggle { display: flex; }
  .hero { min-height: 80vh; }
}
@media(max-width:480px){
  :root { --space-lg: 3rem; --space-xl: 4rem; }
  .hero__ctas { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media(prefers-reduced-motion:reduce){ *, *::before, *::after { transition: none !important; animation: none !important; } }
