/* =============================================
   BEAUTY REPUBLIC — Global Stylesheet
   Warm · Minimal · Editorial · Tucson rooted
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Cormorant+SC:wght@300;400;500;600&family=Source+Code+Pro:wght@300;400;500&display=swap');

:root {
  --bg:       #FAF7F2;
  --bg-alt:   #E8DDD0;
  --bg-dark:  #3D2B1F;
  --text:     #3D2B1F;
  --text-2:   #6B5144;
  --text-3:   #9C9188;
  --accent:   #C4957A;
  --sage:     #8A9E8C;
  --border:   rgba(61,43,31,0.12);
  --border-2: rgba(61,43,31,0.22);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { 
  scroll-behavior: smooth; 
  overflow-x: hidden;
  width: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Source Code Pro', monospace;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

/* ---- ANNOUNCEMENT BANNER ---- */
.banner {
  background: var(--accent);
  color: var(--bg);
  text-align: center;
  padding: 0.7rem 2rem;
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 3rem;
  max-width: 100%;
  box-sizing: border-box;
}
.nav-logo {
  font-family: 'Cormorant SC', serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text);
}
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-link {
  font-family: 'Source Code Pro', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-cta {
  font-family: 'Source Code Pro', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 0.5px solid var(--border-2);
  padding-bottom: 2px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: 'Source Code Pro', monospace;
  font-size: 13px;
  letter-spacing: 0.07em;
  padding: 12px 30px;
  border-radius: 30px;
  transition: all 0.22s;
  cursor: pointer;
  border: none;
}
.btn-fill {
  background: var(--accent);
  color: var(--bg);
  border: 0.5px solid var(--accent);
}
.btn-fill:hover { opacity: 0.83; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 0.5px solid var(--border-2);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost {
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--accent); }

/* ---- TYPOGRAPHY ---- */
.eyebrow {
  display: block;
  font-family: 'Source Code Pro', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.85rem;
  font-weight: 400;
}
h1 {
  font-family: 'Abril Fatface', serif;
  font-size: 62px;
  font-weight: 400;
  line-height: 1.02;
  color: var(--text);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
h2 {
  font-family: 'Abril Fatface', serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
h3 {
  font-family: 'Cormorant SC', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
h4 {
  font-family: 'Source Code Pro', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.5rem;
}
p { font-family: 'Source Code Pro', monospace; color: var(--text-2); line-height: 1.95; font-size: 13px; font-weight: 300; }
.lead { font-family: 'Source Code Pro', monospace; font-size: 13px; max-width: 520px; font-weight: 300; line-height: 2.1; }
.muted { font-family: 'Source Code Pro', monospace; color: var(--text-3); font-size: 11px; letter-spacing: 0.04em; }
blockquote {
  font-family: 'Cormorant SC', serif;
  font-size: 20px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent);
  margin: 1.5rem 0;
  letter-spacing: 0.04em;
  font-weight: 400;
}
.link-accent {
  font-size: 13px;
  color: var(--accent);
  border-bottom: 0.5px solid var(--accent);
  padding-bottom: 2px;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.link-accent:hover { opacity: 0.75; }

/* ---- BRAND STRIP ---- */
.brand-strip {
  padding: 1rem 3rem;
  border-bottom: 0.5px solid var(--border);
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  align-items: center;
  background: var(--bg);
}
.brand-strip-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.brand-name { font-size: 13px; color: var(--text-2); }

/* ---- STATS ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 0.5px solid var(--border);
}
.stat {
  padding: 2.5rem;
  text-align: center;
  border-right: 0.5px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Abril Fatface', serif;
  font-size: 38px;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---- LAYOUT CONTAINER ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  width: 100%;
}

/* ---- SECTIONS ---- */
.section { padding: 5rem 3rem; border-bottom: 0.5px solid var(--border); overflow: visible; max-width: 100%; }
.section > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--bg-dark); border-bottom: none; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}
.center { text-align: center; }
.center p, .center .lead { margin-left: auto; margin-right: auto; }

/* ---- PAGE HERO ---- */
.page-hero {
  padding: 5.5rem 3rem 4.5rem;
  background: var(--bg-alt);
  border-bottom: 0.5px solid var(--border);
}
.page-hero h1 { font-size: 46px; margin-bottom: 1rem; }
.page-hero p { max-width: 560px; font-size: 16px; }

/* ---- HERO ---- */
.hero {
  min-height: 94vh;
  display: flex;
  align-items: flex-end;
  padding: 5rem 3rem;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.hero-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-3);
  background: var(--bg-alt);
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero h1 { font-size: 58px; }
.hero p { font-size: 17px; margin-bottom: 2.5rem; max-width: 480px; }
.hero-btns { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* ---- TWO COL ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
  max-width: 100%;
}
.two-col.flip { direction: rtl; }
.two-col.flip > * { direction: ltr; }
.col-img {
  height: 540px;
  background: var(--bg-alt);
  border-radius: 12px;
  overflow: hidden;
  border: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-3);
}
.col-text p { margin-bottom: 1rem; font-size: 15px; }

/* ---- TAGS ---- */
.tags-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }
.tag {
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border: 0.5px solid var(--sage);
  border-radius: 20px;
  color: var(--sage);
}

/* ---- PRODUCT GRID ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.product-card {
  border-radius: 12px;
  overflow: hidden;
  border: 0.5px solid var(--border);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(61,43,31,0.09);
}
.product-img {
  height: 220px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-3);
  border-bottom: 0.5px solid var(--border);
  position: relative;
  overflow: hidden;
}
.product-info { padding: 1.1rem 1.1rem 1.4rem; }
.product-brand {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.3rem;
}
.product-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.3rem;
  line-height: 1.4;
}
.product-desc {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.product-price { font-size: 14px; color: var(--accent); font-weight: 500; }
.new-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--bg);
  padding: 4px 10px;
  border-radius: 20px;
}

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
}
.service-card {
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  background: #fff;
  transition: transform 0.2s;
}
.service-card:hover { transform: translateY(-2px); }
.service-card h4 { font-size: 16px; margin-bottom: 0.75rem; }
.service-card p { font-size: 14px; margin-bottom: 0.75rem; }
.service-price { font-size: 15px; color: var(--accent); font-weight: 500; }
.service-note { font-size: 12px; color: var(--text-3); font-style: italic; margin-top: 0.4rem; }

/* ---- TRAINING ---- */
.training-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
}
.training-card {
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  background: #fff;
  transition: transform 0.2s;
}
.training-card:hover { transform: translateY(-2px); }
.training-card h4 { font-size: 16px; margin-bottom: 0.6rem; }
.training-card p { font-size: 14px; margin-bottom: 1rem; }
.training-price { font-size: 15px; color: var(--accent); font-weight: 500; }
.training-includes { margin-top: 1rem; list-style: none; }
.training-includes li {
  font-size: 13px;
  color: var(--text-2);
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
  border-top: 0.5px solid var(--border);
}
.training-includes li:last-child { border-bottom: 0.5px solid var(--border); }
.training-includes li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }

/* ---- VALUES ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
}
.value-card {
  padding: 2rem;
  border: 0.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  transition: transform 0.2s;
}
.value-card:hover { transform: translateY(-2px); }
.value-card h4 { color: var(--accent); font-size: 14px; margin-bottom: 0.6rem; }
.value-card p { font-size: 14px; line-height: 1.7; }

/* ---- RETURN NOTICE ---- */
.return-notice {
  background: var(--bg-alt);
  border-bottom: 0.5px solid var(--border);
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.return-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.return-notice p { font-size: 15px; line-height: 1.7; }
.return-notice strong { color: var(--text); }

/* ---- SHOP EMBED ---- */
.shop-embed-section {
  padding: 0;
  border-bottom: 0.5px solid var(--border);
}
.shop-embed-section iframe {
  width: 100%;
  min-height: 85vh;
  border: none;
  display: block;
}
.shop-fallback {
  padding: 5rem 3rem;
  text-align: center;
}

/* ---- EMAIL SECTION ---- */
.email-section {
  padding: 6rem 3rem;
  background: var(--bg-dark);
  text-align: center;
}
.email-section .eyebrow { color: var(--accent); }
.email-section h2 { color: var(--bg); }
.email-section p { color: var(--bg-alt); }
.email-note { font-size: 12px; color: var(--text-3); font-style: italic; margin: 0.3rem 0 2rem; display: block; }
.email-form { display: flex; gap: 8px; max-width: 400px; margin: 0 auto; }
.email-form input {
  flex: 1;
  padding: 12px 18px;
  border: 0.5px solid rgba(196,149,122,0.35);
  border-radius: 30px;
  font-size: 14px;
  font-family: 'Source Code Pro', monospace;
  background: rgba(250,247,242,0.07);
  color: var(--bg);
  outline: none;
}
.email-form input::placeholder { color: var(--text-3); }
.email-form input:focus { border-color: var(--accent); }
.email-form button {
  padding: 12px 24px;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-family: 'Source Code Pro', monospace;
  border: 0.5px solid var(--accent);
  border-radius: 30px;
  background: var(--accent);
  color: var(--bg);
  cursor: pointer;
  transition: opacity 0.2s;
}
.email-form button:hover { opacity: 0.85; }

/* ---- FOOTER ---- */
.footer {
  padding: 2.5rem 3rem;
  background: var(--bg);
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.03em;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-nav { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-link { color: var(--text-3); transition: color 0.2s; }
.footer-link:hover { color: var(--accent); }

/* ---- SIDEBAR SHOP LAYOUT ---- */
.shop-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 70vh;
  border-bottom: 0.5px solid var(--border);
}
.sidebar {
  padding: 2.5rem 1.75rem;
  border-right: 0.5px solid var(--border);
  background: var(--bg);
}
.filter-group { margin-bottom: 2rem; }
.filter-title {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.85rem;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.65rem;
  cursor: pointer;
}
.filter-check {
  width: 15px;
  height: 15px;
  border: 0.5px solid var(--border-2);
  border-radius: 3px;
  flex-shrink: 0;
}
.filter-check.checked { background: var(--accent); border-color: var(--accent); }
.filter-label { font-size: 13px; color: var(--text-2); }
.filter-label.active { color: var(--accent); }
.sidebar-divider { height: 0.5px; background: var(--border); margin: 1.5rem 0; }
.shop-main { padding: 2.5rem; }
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 0.5px solid var(--border);
}
.sort-select {
  font-size: 13px;
  font-family: 'Source Code Pro', monospace;
  color: var(--text-2);
  border: 0.5px solid var(--border-2);
  border-radius: 20px;
  padding: 7px 16px;
  background: var(--bg);
  cursor: pointer;
  outline: none;
}
.br-edit-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--bg-alt);
  border-radius: 14px;
}
.br-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
.category-section { margin-bottom: 3.5rem; }
.category-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 0.5px solid var(--border);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .nav { padding: 1.25rem 1.5rem; }
  .nav-links { gap: 1.5rem; }
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  .hero h1 { font-size: 38px; }
  .page-hero h1 { font-size: 34px; }
  .two-col, .two-col.flip { grid-template-columns: 1fr; gap: 2.5rem; direction: ltr; }
  .col-img { height: 300px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 0.5px solid var(--border); }
  .shop-layout { grid-template-columns: 1fr; }
  .sidebar { border-right: none; border-bottom: 0.5px solid var(--border); }
  .services-grid, .training-grid, .values-grid { grid-template-columns: 1fr; }
  .br-edit-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 3rem 1.5rem; }
  .page-hero { padding: 3rem 1.5rem; }
  .email-section { padding: 4rem 1.5rem; }
  .brand-strip { padding: 1rem 1.5rem; }
  .footer { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
  .footer-nav { justify-content: center; }
  .return-notice { padding: 1.5rem; flex-direction: column; }
}

@media (max-width: 540px) {
  .product-grid { grid-template-columns: 1fr; }
  .br-edit-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .email-form { flex-direction: column; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; }
}
