:root {
  --afc-pine: #1C3326;
  --afc-pine-deep: #13241A;
  --afc-oat: #F7F4EC;
  --afc-linen: #EFEAE0;
  --afc-ochre: #C98A2B;
  --afc-ochre-dark: #8C5C14;
  --afc-ink: #1B1A17;
  --afc-muted: #524E46;
  --afc-border: rgba(27, 26, 23, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--afc-oat);
  color: var(--afc-ink);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.15;
  margin-top: 0;
  text-wrap: balance;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--afc-pine); }
.afc-mono { font-family: "IBM Plex Mono", monospace; font-variant-numeric: tabular-nums; }
.afc-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.afc-skip-link { position: absolute; left: -9999px; }
.afc-skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--afc-pine); color: var(--afc-oat); padding: 10px 16px; border-radius: 6px; }

/* Header */
.afc-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 244, 236, 0.96);
  border-bottom: 1px solid var(--afc-border);
  backdrop-filter: blur(8px);
}
.afc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 74px;
}
.afc-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--afc-ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.afc-brand-name { font-family: "Fraunces", Georgia, serif; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.afc-nav-list { display: flex; list-style: none; margin: 0; padding: 0; gap: 24px; }
.afc-nav-list a { text-decoration: none; color: var(--afc-muted); font-size: 0.9rem; font-weight: 500; white-space: nowrap; }
.afc-nav-list a:hover { color: var(--afc-pine); text-decoration: underline; text-underline-offset: 5px; }
.afc-header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.afc-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--afc-ink);
  white-space: nowrap;
}
.afc-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--afc-ochre);
  color: var(--afc-ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
}
.afc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.16s ease, background-color 0.16s ease;
}
.afc-btn-primary { background: var(--afc-pine); color: var(--afc-oat); }
.afc-btn-primary:hover { background: var(--afc-pine-deep); }
.afc-btn-secondary { border: 1px solid var(--afc-pine); color: var(--afc-pine); background: transparent; }
.afc-btn-secondary:hover { background: rgba(28, 51, 38, 0.06); }
.afc-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--afc-border);
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 600;
  color: var(--afc-ink);
}
.afc-mobile-nav { border-top: 1px solid var(--afc-border); background: var(--afc-oat); }
.afc-mobile-nav-inner { display: flex; flex-direction: column; gap: 14px; padding: 18px 24px 24px; }
.afc-mobile-nav-inner a { text-decoration: none; font-weight: 600; color: var(--afc-ink); }

/* Hero & Vitals */
.afc-hero { padding: 48px 0 64px; }
.afc-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: stretch; }
.afc-kicker { color: var(--afc-ochre-dark); font-size: 0.85rem; font-weight: 600; margin: 0 0 12px; }
.afc-kicker-light { color: #E4B35E; font-size: 0.85rem; font-weight: 600; margin: 0 0 10px; }
.afc-hero-copy { display: flex; flex-direction: column; justify-content: center; }
.afc-hero-copy h1 { font-size: clamp(2.1rem, 3.8vw, 3.4rem); margin-bottom: 18px; letter-spacing: -0.02em; }
.afc-lead { font-size: 1.05rem; color: var(--afc-muted); max-width: 56ch; margin: 0 0 28px; }
.afc-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.afc-hero-media { border-radius: 14px; overflow: hidden; border: 1px solid var(--afc-border); min-height: 360px; }
.afc-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.afc-vitals-strip {
  margin-top: 32px;
  background: var(--afc-pine);
  color: var(--afc-oat);
  border-radius: 12px;
  border-top: 3px solid var(--afc-ochre);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 24px 28px;
}
.afc-vital { display: flex; flex-direction: column; gap: 4px; }
.afc-vital-label { font-size: 0.78rem; color: #E4B35E; font-weight: 600; }
.afc-vital-value { font-size: 1rem; color: var(--afc-oat); font-weight: 600; }
.afc-vital-link { text-decoration: none; }
.afc-vital-link:hover { text-decoration: underline; }
.afc-vital-sub { font-size: 0.8rem; color: rgba(247, 244, 236, 0.78); }

/* Sections & Cards */
.afc-section { padding: 72px 0; }
.afc-section-tinted { background: var(--afc-linen); border-top: 1px solid var(--afc-border); border-bottom: 1px solid var(--afc-border); }
.afc-section-head { max-width: 680px; margin-bottom: 36px; }
.afc-section-head h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-bottom: 0; }
.afc-dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.afc-card { background: #FFFFFF; border: 1px solid var(--afc-border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.afc-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--afc-linen); }
.afc-card-media img { width: 100%; height: 100%; object-fit: cover; }
.afc-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.afc-card-kicker { font-size: 0.8rem; color: var(--afc-ochre-dark); font-weight: 600; margin: 0 0 8px; }
.afc-card-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.afc-card-body p { color: var(--afc-muted); font-size: 0.94rem; margin: 0 0 18px; flex: 1; }
.afc-text-link { font-weight: 600; text-decoration: none; font-size: 0.9rem; color: var(--afc-pine); }
.afc-text-link:hover { text-decoration: underline; }

.afc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.afc-split-media { border-radius: 14px; overflow: hidden; border: 1px solid var(--afc-border); }
.afc-list { padding-left: 18px; margin: 18px 0 24px; color: var(--afc-ink); }
.afc-list li { margin-bottom: 8px; }

.afc-staples-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.afc-panel { background: #FFFFFF; border: 1px solid var(--afc-border); border-radius: 12px; padding: 26px; }
.afc-panel-pine { background: var(--afc-pine); color: var(--afc-oat); border-color: var(--afc-pine); }
.afc-panel-pine p { color: rgba(247, 244, 236, 0.86); }
.afc-visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.afc-hours-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.afc-hours-table th, .afc-hours-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--afc-border); }
.afc-hours-table td { text-align: right; font-weight: 600; }
.afc-divider { border: 0; border-top: 1px solid var(--afc-border); margin: 20px 0; }
.afc-contact-links a { font-weight: 600; text-decoration: none; }

/* WooCommerce Integration Styling */
.afc-wc-main { padding: 48px 0 80px; }
.woocommerce ul.products li.product {
  background: #FFFFFF;
  border: 1px solid var(--afc-border);
  border-radius: 12px;
  padding: 16px !important;
  transition: transform 0.16s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-2px); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: "Fraunces", Georgia, serif;
  color: var(--afc-ink);
  font-size: 1.05rem !important;
}
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price {
  color: var(--afc-pine) !important;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background-color: var(--afc-pine) !important;
  color: var(--afc-oat) !important;
  border-radius: 8px !important;
  padding: 11px 18px !important;
  font-weight: 600 !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background-color: var(--afc-pine-deep) !important;
}
.woocommerce .woocommerce-breadcrumb {
  color: var(--afc-muted);
  font-size: 0.875rem;
  margin-bottom: 24px;
}

/* Footer */
.afc-footer { background: var(--afc-pine); color: var(--afc-oat); padding: 56px 0 32px; }
.afc-footer a { color: var(--afc-oat); text-decoration: none; }
.afc-footer a:hover { text-decoration: underline; }
.afc-brand-footer .afc-brand-name { color: var(--afc-oat); }
.afc-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; padding-bottom: 32px; border-bottom: 1px solid rgba(247, 244, 236, 0.16); }
.afc-footer-heading { font-size: 1rem; color: #E4B35E; margin-bottom: 12px; }
.afc-footer-text { margin: 6px 0; color: rgba(247, 244, 236, 0.84); font-size: 0.92rem; }
.afc-footer-links { list-style: none; padding: 0; margin: 0; }
.afc-footer-links li { margin-bottom: 8px; font-size: 0.92rem; }
.afc-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 0.85rem; color: rgba(247, 244, 236, 0.78); }

@media (max-width: 960px) {
  .afc-nav { display: none; }
  .afc-menu-toggle { display: inline-flex; }
  .afc-hero-grid, .afc-split, .afc-visit-grid, .afc-footer-grid { grid-template-columns: 1fr; }
  .afc-vitals-strip { grid-template-columns: repeat(2, 1fr); }
  .afc-dept-grid, .afc-staples-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .afc-vitals-strip { grid-template-columns: 1fr; }
}
