/* ============================================
   Mom Maker — Base Styles & WordPress Resets
   ============================================ */

*, *::before, *::after { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--navbar-height);
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-tight);
  color: var(--text-primary);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p {
  color: var(--text-secondary);
  line-height: var(--lh-body);
  max-width: 68ch;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease-out);
}

a:hover { 
  color: var(--accent-dark); 
}

img { 
  max-width: 100%; 
  height: auto; 
  display: block; 
  object-fit: cover;
}

ul, ol { 
  list-style: none; 
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button { 
  cursor: pointer; 
}

/* Custom Selection style */
::selection {
  background-color: rgba(70, 103, 69, 0.20);
  color: var(--text-primary);
}

/* Custom scroll bar */
::-webkit-scrollbar { 
  width: 6px; 
}
::-webkit-scrollbar-track { 
  background: var(--p-50); 
}
::-webkit-scrollbar-thumb { 
  background: var(--p-300); 
  border-radius: var(--radius-full); 
}
::-webkit-scrollbar-thumb:hover { 
  background: var(--accent); 
}

/* ── Layout Structures ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container--narrow { 
  max-width: var(--container-narrow); 
}

.section-padding {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.bg-cream-dark { 
  background-color: var(--bg-secondary); 
}

/* ── Typographic Utilities ── */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent { 
  color: var(--accent-dark); 
}

.font-editorial {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: var(--fw-regular);
}

/* ── WooCommerce Standard Core Alignment Resets ── */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none !important;
  padding: 1rem 1.5rem !important;
  margin-bottom: var(--space-lg) !important;
  border-radius: var(--radius-sm) !important;
  font-size: var(--fs-small) !important;
  font-weight: var(--fw-semibold) !important;
  display: flex !important;
  align-items: center !important;
  gap: var(--space-sm) !important;
  background: var(--bg-secondary) !important;
  border: 1px solid var(--border) !important;
}

.woocommerce-message {
  border-left: 4px solid var(--accent-success) !important;
  color: var(--accent-success) !important;
}

.woocommerce-error {
  border-left: 4px solid var(--accent-error) !important;
  color: var(--accent-error) !important;
}

/* ── Global Section Headers ── */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-3xl);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.35rem 0.95rem;
  background: var(--p-100);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-family: var(--font-subheading);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  margin-bottom: var(--space-md);
}

.section-badge.green {
  background: var(--accent-bg);
  border-color: rgba(70, 103, 69, 0.2);
  color: var(--accent);
}

.section-badge.terracotta {
  background: var(--accent-terracotta-light);
  border-color: rgba(181, 94, 69, 0.2);
  color: var(--accent-terracotta);
}

.section-header h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-sm);
}

.section-header p {
  font-size: var(--fs-body-lg);
  color: var(--text-secondary);
  margin: 0 auto;
}

.section-line {
  width: 48px;
  height: 2px;
  background-color: var(--accent);
  margin: var(--space-lg) auto 0;
  border-radius: var(--radius-full);
}

/* Responsive Helpers */
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
  .section-header { margin-bottom: var(--space-2xl); }
}

@media (min-width: 768px) {
  .hide-desktop { display: none !important; }
}
