/* =========================================================
   AXULIN redesign, classic theme version (v2)
   Homepage section, Order section and hero banner.
   Fonts are loaded by the plugin.
   Written to win against classic theme styles: no CSS variables,
   higher specificity and !important on fonts and colors.
   ========================================================= */

/* ---------- Base reset inside both sections ---------- */
body .ax-section, body .ax-section p, body .ax-section li, body .ax-section a,
body .ax-section span, body .ax-section div, body .ax-section ul,
body .ax-order, body .ax-order p, body .ax-order li, body .ax-order a,
body .ax-order span, body .ax-order div, body .ax-order ul {
  font-family: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-sizing: border-box;
}
body .ax-section p, body .ax-section li, body .ax-section span,
body .ax-order p, body .ax-order li, body .ax-order span {
  color: #2B2B28 !important;
  font-weight: 400 !important;
}
body .ax-section h2::before, body .ax-section h2::after, body .ax-section h3::before, body .ax-section h3::after,
body .ax-order h2::before, body .ax-order h2::after { display: none !important; }
body .ax-section img, body .ax-order img { border: 0 !important; box-shadow: none !important; padding: 0 !important; background: none !important; }

/* ---------- Hero banner ---------- */
body .ax-hero { position: relative; }
body .ax-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, rgba(20,45,25,0.45) 0%, rgba(20,45,25,0.15) 45%, rgba(20,45,25,0) 70%);
}
body .ax-hero > * { position: relative; z-index: 2; }
body .ax-hero-title {
  font-family: 'Fraunces', Georgia, serif !important;
  font-weight: 500 !important;
  font-size: clamp(34px, 4.4vw, 62px) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  color: #FFFFFF !important;
  text-shadow: 0 2px 18px rgba(0,0,0,0.22) !important;
  max-width: 600px;
}
body a.ax-hero-button {
  display: inline-block;
  font-family: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 500 !important; font-size: 17px !important;
  letter-spacing: 0.01em !important; text-transform: none !important;
  background: #FFFFFF !important; color: #2F5D3A !important;
  border: none !important; border-radius: 999px !important;
  padding: 14px 34px !important; text-decoration: none !important; box-shadow: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}
body a.ax-hero-button:hover { background: #2F5D3A !important; color: #FFFFFF !important; }

/* ---------- Shared pieces ---------- */
body .ax-section p.ax-eyebrow, body .ax-order p.ax-eyebrow {
  font-size: 13px !important; font-weight: 500 !important;
  letter-spacing: 0.14em !important; text-transform: uppercase !important;
  color: #5B8A4A !important; margin: 0 0 16px !important;
}
body .ax-section ul.ax-chips, body .ax-order ul.ax-chips {
  display: flex !important; flex-wrap: wrap; gap: 10px; justify-content: center;
  list-style: none !important; padding: 0 !important; margin: 0 0 28px !important;
}
body .ax-order ul.ax-chips { justify-content: flex-start; margin-bottom: 32px !important; }
body .ax-section ul.ax-chips li, body .ax-order ul.ax-chips li {
  background: #E8F0E0 !important; color: #2F5D3A !important;
  font-size: 15px !important; line-height: 1.4 !important;
  padding: 8px 16px !important; border-radius: 999px; margin: 0 !important;
  list-style: none !important;
}
body .ax-section ul.ax-chips li::before, body .ax-order ul.ax-chips li::before {
  content: "\2713\00a0" !important; color: #2F5D3A !important; font-weight: 500;
  position: static !important; display: inline !important; background: none !important; width: auto !important; height: auto !important;
}
body .ax-section p.ax-btn-wrap, body .ax-order p.ax-btn-wrap { margin: 0 !important; }
body .ax-order .ax-region p.ax-btn-wrap { margin-top: auto !important; }
body .ax-section a.ax-btn, body .ax-order a.ax-btn {
  display: inline-block;
  background: #2F5D3A !important; color: #FFFFFF !important;
  font-size: 17px !important; font-weight: 500 !important; line-height: 1.3 !important;
  padding: 14px 32px !important; border-radius: 6px !important;
  border: none !important; box-shadow: none !important; text-decoration: none !important;
  transition: background 0.2s ease;
}
body .ax-section a.ax-btn:hover, body .ax-order a.ax-btn:hover { background: #244A2D !important; color: #FFFFFF !important; }

/* ---------- Homepage section ---------- */
body .ax-section { background: #FAF8F3; padding: 72px 24px 80px; }
body .ax-section .ax-intro { max-width: 640px; margin: 0 auto; text-align: center; }
body .ax-section h2.ax-h1 {
  font-family: 'Fraunces', Georgia, serif !important;
  font-weight: 500 !important; font-size: clamp(30px, 3.4vw, 42px) !important;
  line-height: 1.15 !important; letter-spacing: -0.01em !important;
  text-transform: none !important; color: #2F5D3A !important;
  margin: 0 0 20px !important; padding: 0 !important; border: 0 !important; text-align: center !important;
}
body .ax-section p.ax-lead { font-size: 19px !important; line-height: 1.6 !important; color: #4A4A45 !important; margin: 0 0 28px !important; }
body .ax-section p.ax-fineprint { font-size: 14px !important; line-height: 1.5 !important; color: #77776F !important; margin: 16px 0 0 !important; }
body .ax-section .ax-body {
  max-width: 640px; margin: 52px auto 0; padding-top: 40px; border-top: 1px solid #E2DED3;
}
body .ax-section .ax-body p { font-size: 18px !important; line-height: 1.65 !important; color: #2B2B28 !important; margin: 0 0 18px !important; }
body .ax-section .ax-body p:last-child { margin-bottom: 0 !important; }
body .ax-section .ax-body a { color: #2F5D3A !important; text-decoration: underline !important; text-underline-offset: 3px; border: 0 !important; box-shadow: none !important; }
body .ax-section div.ax-callout {
  max-width: 640px; margin: 36px auto 0; background: #EEF3E8; border-left: 3px solid #5B8A4A; border-radius: 0;
  padding: 18px 22px;
  font-family: 'Fraunces', Georgia, serif !important; font-size: 21px !important; line-height: 1.4 !important; color: #2F5D3A !important;
}
body .ax-section .ax-features {
  display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  max-width: 880px; margin: 48px auto 0;
}
body .ax-section .ax-card {
  background: #FFFFFF; border: 1px solid #E7E3D8; border-radius: 12px; padding: 28px 22px; text-align: center;
}
body .ax-section .ax-card .ax-icon svg { stroke: #2F5D3A; }
body .ax-section h3.ax-card-title {
  font-family: 'Fraunces', Georgia, serif !important; font-weight: 500 !important; font-size: 21px !important;
  line-height: 1.25 !important; text-transform: none !important; letter-spacing: 0 !important;
  color: #2F5D3A !important; margin: 0 0 8px !important; padding: 0 !important; border: 0 !important;
}
body .ax-section p.ax-card-text { font-size: 16px !important; line-height: 1.55 !important; color: #55554F !important; margin: 0 !important; }
body .ax-section p.ax-footnote { max-width: 880px; margin: 36px auto 0 !important; text-align: center; font-size: 13px !important; line-height: 1.5 !important; color: #77776F !important; }

/* ---------- Clickable feature cards ----------
   The title link is stretched over the whole card. */
body .ax-section .ax-card { position: relative; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
body .ax-section .ax-card:hover { border-color: #5B8A4A; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(47,93,58,0.10); }
body .ax-section h3.ax-card-title a.ax-card-link {
  font-family: 'Fraunces', Georgia, serif !important; font-weight: 500 !important;
  color: #2F5D3A !important; text-decoration: none !important;
  border: 0 !important; box-shadow: none !important; background: none !important;
}
body .ax-section h3.ax-card-title a.ax-card-link::after {
  content: "" !important; position: absolute !important; inset: 0 !important; z-index: 1;
  display: block !important; background: none !important; border: 0 !important;
}
body .ax-section h3.ax-card-title a.ax-card-link:focus-visible { outline: none; }
body .ax-section .ax-card:focus-within { outline: 2px solid #5B8A4A; outline-offset: 3px; }

/* ---------- Order section ---------- */
body .ax-order { background: #FAF8F3; padding: 80px 24px 88px; }
body .ax-order .ax-order-wrap {
  max-width: 1080px; margin: 0 auto;
  display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center;
}
body .ax-order p.ax-eyebrow { text-align: left; }
body .ax-order h2.ax-order-title {
  font-family: 'Fraunces', Georgia, serif !important; font-weight: 500 !important;
  font-size: clamp(32px, 3.4vw, 44px) !important; line-height: 1.12 !important; letter-spacing: -0.01em !important;
  text-transform: none !important; color: #2F5D3A !important; margin: 0 0 14px !important; padding: 0 !important; border: 0 !important;
}
body .ax-order p.ax-order-lead { font-size: 19px !important; line-height: 1.55 !important; color: #4A4A45 !important; margin: 0 0 22px !important; }
body .ax-order .ax-regions { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
body .ax-order .ax-region {
  background: #FFFFFF; border: 1px solid #E7E3D8; border-radius: 12px; padding: 22px 22px 24px;
  display: flex !important; flex-direction: column;
}
body .ax-order .ax-region-head { display: flex !important; align-items: center; gap: 12px; margin-bottom: 16px; }
body .ax-order img.ax-region-flag {
  height: 26px !important; width: auto !important; max-width: none !important; display: block;
  border-radius: 3px !important; box-shadow: 0 0 0 1px rgba(0,0,0,0.08) !important; flex: none; margin: 0 !important;
}
body .ax-order p.ax-region-name {
  font-size: 15px !important; font-weight: 500 !important; letter-spacing: 0.08em !important;
  text-transform: uppercase !important; color: #77776F !important; margin: 0 !important; line-height: 1.2 !important;
}
body .ax-order p.ax-price {
  font-family: 'Fraunces', Georgia, serif !important; font-weight: 500 !important; font-size: 40px !important;
  line-height: 1 !important; color: #2F5D3A !important; margin: 0 0 6px !important;
}
body .ax-order p.ax-price small {
  font-family: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 16px !important; font-weight: 500 !important; color: #77776F !important; margin-left: 4px;
}
body .ax-order p.ax-price-note { font-size: 15px !important; color: #55554F !important; margin: 0 0 20px !important; }
body .ax-order .ax-region a.ax-btn { width: 100%; text-align: center; }
body .ax-order .ax-order-image { display: flex; align-items: center; justify-content: center; }
body .ax-order .ax-order-image img { width: 100% !important; max-width: 500px !important; height: auto !important; display: block; }
body .ax-order p.ax-order-fineprint { font-size: 14px !important; color: #77776F !important; margin: 20px 0 0 !important; }

/* ---------- Phones and tablets ---------- */
@media (max-width: 900px) {
  body .ax-order .ax-order-wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  body .ax-order .ax-order-image { order: -1; }
  body .ax-order .ax-order-image img { max-width: 360px !important; }
}
@media (max-width: 760px) {
  body .ax-section { padding: 56px 20px 64px; }
  body .ax-section .ax-features { grid-template-columns: minmax(0, 1fr); }
  body .ax-section p.ax-lead { font-size: 18px !important; }
}
@media (max-width: 560px) {
  body .ax-order .ax-regions { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Adapt to the space the section actually has ----------
   (not just the screen width), so narrow theme columns or sidebars
   never squeeze the layout. */
body .ax-section, body .ax-order { container-type: inline-size; }
@container (max-width: 900px) {
  body .ax-order .ax-order-wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  body .ax-order .ax-order-image { order: -1; }
  body .ax-order .ax-order-image img { max-width: 360px !important; }
}
@container (max-width: 760px) {
  body .ax-section .ax-features { grid-template-columns: minmax(0, 1fr); }
  body .ax-section p.ax-lead { font-size: 18px !important; }
}
@container (max-width: 560px) {
  body .ax-order .ax-regions { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Homepage product photo: phones only ----------
   Hidden (no space, not downloaded) on computers and tablets. */
body .ax-section .ax-mobile-product { display: none !important; }
@media (max-width: 767px) {
  body .ax-section .ax-mobile-product { display: block !important; max-width: 300px; margin: 32px auto 0; }
  body .ax-section .ax-mobile-product img { display: block; width: 100% !important; height: auto !important; margin: 0 auto; }
}
