/* ─── NAV FONT: DM Sans ─── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500&display=swap');

/* Give nav all available space */
.main-navigation { flex: 1 1 auto !important; }

/* Force single row */
.main-navigation .menu, .primary-menu {
  flex-wrap: nowrap !important;
  justify-content: center !important;
}

.main-navigation a, .primary-menu a, #site-navigation a,
.navigation-main a, .menu-item a {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  padding-left: 9px !important;
  padding-right: 9px !important;
}

/* Hide unlinked social icons */
.social-link-facebook, .social-link-youtube, .social-link-twitter {
  display: none !important;
}

/* ─── SITE TITLE / WORDMARK ─── */
.brand .logo-icon, .brand .site-title, .site-title,
.header-site-branding .site-title {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 17px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

/* ─── HEADER "SHOP NOW" BUTTON ─── */
.header-button-wrap .button, .header-button-wrap a.button {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.09em !important;
  border-radius: 0 !important;
  padding: 10px 20px !important;
}

/* ══════════════════════════════════════
   TYPOGRAPHY SYSTEM
   Headings: Bodoni Moda
   Body + UI: DM Sans
   ══════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;0,6..96,700;1,6..96,400;1,6..96,500&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bodoni Moda', serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
}
h1 { font-weight: 600 !important; }

body, p, li, td, th, label, input, textarea, select, blockquote,
.entry-content, .wp-block-paragraph {
  font-family: 'DM Sans', sans-serif !important;
}
body { font-size: 17px !important; }

.site-footer, .site-footer p, .site-footer a, .site-footer li,
.site-footer .site-title, .footer-html {
  font-family: 'DM Sans', sans-serif !important;
}

/* ─── FOOTER WORDMARK ─── */
.kt-adv-headingbf64ed-df,
.site-footer .wp-block-kadence-advancedheading,
.site-footer h1, .site-footer h2, .site-footer h3 {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

.wp-block-kadence-advancedheading[class*="kt-adv-heading"] {
  font-family: inherit !important;
}

/* ─── HIDE WOOCOMMERCE DEMO PRODUCT GRID ON SHOP PAGE ─── */
.woocommerce-shop .woocommerce-result-count,
.woocommerce-shop .woocommerce-ordering,
.woocommerce-shop ul.products,
.woocommerce-shop .woocommerce-notices-wrapper,
.woocommerce-shop .products {
  display: none !important;
}

/* hide WooCommerce view-toggle buttons and leftover UI */
.woocommerce-shop .kadence-shop-top-row,
.woocommerce-shop .wc-block-grid__products,
body.woocommerce-shop .page-layout-grid,
.woocommerce-shop nav.woocommerce-MyAccount-navigation,
.woocommerce-shop .woocommerce-display-toggle { display: none !important; }

/* =====================================================
   SHOP PAGE: CONTRAST + CARD ALIGNMENT FIXES
   ===================================================== */

/* Restore cream text inside dark navy boxes and dark buttons */
.post-type-archive-product [style*="background-color:#1C1C2E"] p,
.post-type-archive-product [style*="background-color:#1C1C2E"] li,
.post-type-archive-product [style*="background-color:#1C1C2E"] ul,
.post-type-archive-product [style*="background-color:#1C1C2E"] h2,
.post-type-archive-product [style*="background-color:#1C1C2E"] h3 {
  color: #F5EDD6 !important;
}
.post-type-archive-product a.wp-block-button__link[style*="background-color:#1C1C2E"] {
  color: #F5EDD6 !important;
}

/* Journal cards + Method cards: flex column so buttons pin to bottom */
.post-type-archive-product .wp-block-column[style*="background:#fff;padding:2rem"],
.post-type-archive-product .wp-block-column[style*="border:1px solid #e0d9cc"] {
  display: flex !important;
  flex-direction: column !important;
}
.post-type-archive-product .wp-block-column[style*="background:#fff;padding:2rem"] .wp-block-buttons,
.post-type-archive-product .wp-block-column[style*="border:1px solid #e0d9cc"] .wp-block-buttons {
  margin-top: auto !important;
  padding-top: 1.5rem !important;
}

/* Hide WooCommerce "no products found" message on shop page */
.woocommerce-shop .woocommerce-info,
.woocommerce-shop .woocommerce-no-products-found {
  display: none !important;
}