
:root {
  --green: #287a3d;
  --dark-green: #14532d;
  --light-green: #eaf4ec;
  --cream: #FAF6EF; /* site-wide page background (= Tailwind cream-100) */
  --white: #ffffff;
  --text: #151515;
  --muted: #666666;
  --border: #d9e7dd;
}


* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  overflow-x: hidden;
  /* clip keeps horizontal overflow hidden without breaking position: sticky */
  overflow-x: clip;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: var(--cream);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 900 !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}

h1 {
  font-size: clamp(2.35rem, 4.7vw, 4.5rem) !important;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.5rem) !important;
}

h3 {
  font-size: clamp(1.5rem, 2.2vw, 2.25rem) !important;
}

h4 {
  font-size: clamp(1.25rem, 1.6vw, 1.75rem) !important;
}

h5 {
  font-size: clamp(1.125rem, 1.2vw, 1.35rem) !important;
}

h6 {
  font-size: 1rem !important;
  line-height: 1.35 !important;
}

@media (max-width: 640px) {
  h1,
  h2 {
    line-height: 1.08 !important;
  }

  h3,
  h4 {
    line-height: 1.18 !important;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1440px, 92%);
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}


.factory-thumb.is-active {
  border-color: rgba(20, 83, 45, 0.45);
  background: #14532d;
}

.factory-thumb.is-active p {
  color: #faf6ef;
}

/* Sharp design: square corners sitewide.
   Delete this block to bring the rounded corners back. */
*,
*::before,
*::after {
  border-radius: 0 !important;
}

/* Product card ------------------------------------------------------------
   Shared by the shop grid and the home page products section
   (template-parts/product-card.php). */
.npp-pcard .npp-line-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* main.css forces every h3 to a hero size with !important; tune the card title back. */
.npp-pcard .npp-card-title {
  font-size: 1.0625rem !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: -0.005em !important;
  min-height: 2.975rem;
}

/* Price markup from WooCommerce: sale price first, old price small beside it */
.npp-pcard .npp-price {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  column-gap: 8px;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.npp-pcard .npp-price del {
  color: #9ca3af;
  font-weight: 600;
  font-size: 0.8125rem;
}

.npp-pcard .npp-price ins {
  text-decoration: none;
}

/* WooCommerce's own stylesheet ships `ul.products li.product a img { width:100%;
   height:auto; margin:0 0 1em }` with higher specificity than the Tailwind
   utilities on the thumbnail. Force the intended sizing back. */
.npp-pcard .npp-card-media img {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: contain;
}

/* Placeholder shown when a product image is missing or fails to load */
.npp-pcard .npp-noimg {
  display: none;
}

.npp-pcard .npp-card-media.is-empty .npp-noimg {
  display: flex;
}

/* Inner-page hero entrance — matches the homepage hero (template-parts/hero.php) */
.npp-page-hero-content {
  animation: nppPageHeroIn 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes nppPageHeroIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .npp-page-hero-content {
    animation: none !important;
  }
}
