/* Main BJ7 child theme styles. Root style.css is kept for WordPress theme metadata only. */

:root {
  --bj7-green: #1D9E75;
  --bj7-green-dark: #0F6E56;
  --bj7-green-light: #E1F5EE;
  --bj7-green-mid: #9FE1CB;
  --bj7-gray-1: #F7F7F5;
  --bj7-border: #D3D1C7;
  --bj7-text: #2C2C2A;
  --bj7-text-2: #6B6A67;
  --bj7-text-3: #B4B2A9;
  --page-desktop-max-width: 1200px;
  --font-size-m: 16px;
}

:root :where(.is-layout-flow)>* {
  margin-block-start: 0;
  margin-block-end: 0;
}

.bj7-global-topbar,
.bj7-global-header,
.bj7-global-footer,
.bj7-global-topbar *,
.bj7-global-header *,
.bj7-global-footer * {
  box-sizing: border-box;
}

.bj7-global-topbar {
  background: #1D9E75;
  color: #fff;
  text-align: center;
  font-family: "Sora", sans-serif;
  font-size: var(--font-size-m);
  font-weight: 500;
  padding: 7px 16px;
  line-height: 1.45;
}

.bj7-global-header {
  background: #fff;
  border-bottom: 2px solid #1D9E75;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 30;
}

.bj7-global-logo,
.bj7-global-logo:visited {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.bj7-global-logo img {
  width: 34px;
  height: 34px;
  display: block;
  flex: 0 0 auto;
}

.bj7-global-logo-title,
.bj7-global-logo-subtitle {
  display: block;
  line-height: 1.2;
}

.bj7-global-logo-title {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #1D9E75;
}

.bj7-global-logo-subtitle {
  font-family: "Sora", sans-serif;
  font-size: 10px;
  color: #6B6A67;
}

.bj7-global-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.bj7-global-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: #fff;
  border: 1px solid #D3D1C7;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}

.bj7-global-nav-toggle-line {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: #1D9E75;
  transition: transform .16s ease, opacity .16s ease;
}

.bj7-global-nav-toggle[aria-expanded="true"] .bj7-global-nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.bj7-global-nav-toggle[aria-expanded="true"] .bj7-global-nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.bj7-global-nav-toggle[aria-expanded="true"] .bj7-global-nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.bj7-global-nav a,
.bj7-global-nav a:visited {
  font-family: "Sora", sans-serif;
  font-size: var(--font-size-m);
  color: #6B6A67;
  text-decoration: none;
  font-weight: 500;
}

.bj7-global-nav a:hover,
.bj7-global-nav a.is-highlighted {
  color: #1D9E75;
}

.bj7-global-nav .bj7-global-nav-cta,
.bj7-global-nav .bj7-global-nav-cta:visited {
  background: #1D9E75;
  color: #fff;
  padding: 7px 16px;
  border-radius: 7px;
  font-weight: 600;
}

.bj7-global-nav .bj7-global-nav-cta:hover {
  background: #0F6E56;
  color: #fff;
}

.bj7-global-footer {
  background: #2C2C2A;
  color: #B4B2A9;
  font-family: "Sora", sans-serif;
  font-size: var(--font-size-m);
  padding: 24px;
  line-height: 1.7;
}

.bj7-footer-grid {
  max-width: 980px;
  margin: 0 auto 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bj7-footer-col h3 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9FE1CB;
  margin-bottom: 10px;
}

.bj7-footer-col a,
.bj7-footer-col a:visited {
  display: block;
  color: #B4B2A9;
  text-decoration: none;
  margin-bottom: 5px;
  font-size: var(--font-size-m);
}

.bj7-footer-col a:hover {
  color: #9FE1CB;
}

.bj7-footer-col p {
  font-size: var(--font-size-m);
  margin: 0 0 4px;
}

.bj7-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bj7-badge-item {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, .06);
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 10px;
}

.bj7-footer-bottom {
  max-width: 980px;
  margin: 0 auto;
  border-top: .5px solid #444441;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 10px;
}

@media (max-width: 1024px) {
  .bj7-global-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
  }

  .bj7-global-logo {
    min-width: 0;
  }

  .bj7-global-nav-toggle {
    display: inline-flex;
  }

  .bj7-global-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-top: 1px solid #D3D1C7;
    padding-top: 8px;
  }

  .bj7-global-nav.is-open {
    display: flex;
  }

  .bj7-global-nav a,
  .bj7-global-nav a:visited {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 2px;
    border-bottom: 1px solid #EBEBE6;
    font-size: 13px;
  }

  .bj7-global-nav .bj7-global-nav-cta,
  .bj7-global-nav .bj7-global-nav-cta:visited {
    justify-content: center;
    min-height: 44px;
    margin-top: 10px;
    border-bottom: 0;
  }

  .bj7-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bj7-global-topbar {
    padding: 8px 12px;
    font-size: 10px;
  }

  .bj7-global-header {
    padding: 10px 14px;
  }

  .bj7-global-logo-title {
    font-size: 13px;
  }

  .bj7-footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bj7-global-footer {
    padding: 22px 18px;
  }

  .bj7-footer-bottom {
    flex-direction: column;
  }
}

.bj7-404-page {
  min-height: 70vh;
  background: #F7F7F5;
  color: #2C2C2A;
  font-family: "Sora", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
}

.bj7-404-card {
  max-width: 680px;
  text-align: center;
  background: #fff;
  border: 1px solid #D3D1C7;
  border-radius: 12px;
  padding: 42px 32px;
  box-shadow: 0 1px 12px rgba(0, 0, 0, .06);
}

.bj7-404-kicker {
  display: inline-flex;
  background: #E1F5EE;
  color: #0F6E56;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: var(--font-size-m);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.bj7-404-card h1 {
  font-family: "Lora", serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.2;
  font-weight: 500;
  margin: 0 0 12px;
}

.bj7-404-card p {
  color: #6B6A67;
  font-size: 14px;
  line-height: 1.8;
  margin: 0 auto 24px;
}

.bj7-404-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.bj7-404-button,
.bj7-404-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1D9E75;
  color: #fff;
  border-radius: 8px;
  padding: 11px 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.bj7-404-button.secondary,
.bj7-404-button.secondary:visited {
  background: #E1F5EE;
  color: #0F6E56;
}


/* Gutenberg native page patterns */
body.bj7-site-body {
  background: var(--bj7-gray-1);
}

.bj7-page,
.bj7-page-wide {
  font-family: "Sora", sans-serif;
  color: var(--bj7-text);
  line-height: 1.7;
}

.bj7-page,
.site-main {
  max-width: var(--page-desktop-max-width);
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.bj7-page-wide {
  max-width: var(--page-desktop-max-width);
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.bj7-breadcrumb {
  font-size: var(--font-size-m);
  color: var(--bj7-text-3);
  margin: 0 0 24px;
}

.bj7-breadcrumb a {
  color: var(--bj7-green);
  text-decoration: none;
}

.bj7-page-header {
  margin-bottom: 36px;
}

.bj7-page-title,
.bj7-page h1,
.bj7-page-wide h1 {
  font-family: "Lora", serif;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--bj7-text);
  margin: 0 0 10px;
}

.bj7-page-subtitle,
.bj7-intro {
  font-size: 13px;
  color: var(--bj7-text-2);
  margin: 0 0 8px;
}

.bj7-page-subtitle {
  font-style: italic;
}

.bj7-divider {
  width: 48px;
  height: 3px;
  background: var(--bj7-green);
  border-radius: 2px;
  margin: 14px 0 28px;
}

.bj7-prose {
  font-size: 14px;
  color: var(--bj7-text-2);
  line-height: 1.8;
  margin: 0 0 20px;
}

.bj7-prose strong {
  color: var(--bj7-text);
  font-weight: 600;
}

.bj7-highlight-box,
.bj7-section-card,
.bj7-info-card,
.bj7-form-shell,
.bj7-value-card,
.bj7-table-card,
.bj7-article-card {
  background: #fff;
  border: .5px solid var(--bj7-border);
  border-radius: 10px;
}

.bj7-highlight-box {
  border-left: 3px solid var(--bj7-green);
  border-radius: 0 10px 10px 0;
  padding: 18px 20px;
  margin: 28px 0;
  font-size: 13px;
  color: var(--bj7-text-2);
}

.bj7-highlight-box strong {
  color: var(--bj7-green-dark);
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.bj7-stat-row {
  display: flex;
  gap: 12px;
  margin: 28px 0;
  flex-wrap: wrap;
}

.bj7-stat {
  flex: 1;
  min-width: 120px;
  background: var(--bj7-green);
  border-radius: 10px;
  padding: 18px 16px;
  text-align: center;
  color: #fff;
}

.bj7-stat-num {
  font-family: "Lora", serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  margin: 0;
}

.bj7-stat-label {
  font-size: 10px;
  margin-top: 4px;
  opacity: .85;
  letter-spacing: .04em;
}

.bj7-values-grid,
.bj7-rights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.bj7-value-card {
  padding: 16px 18px;
}

.bj7-value-icon,
.bj7-right-icon {
  font-size: 20px;
  margin-bottom: 8px;
}

.bj7-value-title,
.bj7-right-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--bj7-text);
  margin: 0 0 4px;
}

.bj7-value-desc,
.bj7-right-desc {
  font-size: var(--font-size-m);
  color: var(--bj7-text-2);
  line-height: 1.6;
  margin: 0;
}

.bj7-cta-block,
.bj7-essai-banner,
.bj7-contact-box {
  background: var(--bj7-green-light);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  margin-top: 36px;
}

.bj7-cta-block p,
.bj7-essai-banner p,
.bj7-contact-box p {
  font-size: 13px;
  color: var(--bj7-green-dark);
  margin: 0 0 14px;
  font-weight: 500;
}

.bj7-button,
.bj7-button:visited,
.bj7-cta-block .wp-block-button__link,
.bj7-essai-banner .wp-block-button__link {
  display: inline-block;
  background: var(--bj7-green);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 11px 24px;
  border-radius: 8px;
  text-decoration: none;
}

.bj7-button:hover,
.bj7-cta-block .wp-block-button__link:hover,
.bj7-essai-banner .wp-block-button__link:hover {
  background: var(--bj7-green-dark);
  color: #fff;
}

.bj7-content-grid,
.bj7-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 24px;
}

.bj7-info-card,
.bj7-form-shell,
.bj7-section-card,
.bj7-article-card {
  padding: 20px 22px;
  margin-bottom: 16px;
}

.bj7-info-card h2,
.bj7-form-shell h2,
.bj7-section-card h2,
.bj7-table-card h2 {
  font-size: var(--font-size-m);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bj7-text-2);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: .5px solid var(--bj7-border);
}

.bj7-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 13px;
}

.bj7-info-icon {
  font-size: 18px;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.bj7-info-label,
.bj7-dl .key {
  font-size: 10px;
  color: var(--bj7-text-3);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2px;
}

.bj7-info-val,
.bj7-dl .val {
  color: var(--bj7-text);
  font-weight: 500;
}

.bj7-info-sub {
  font-size: var(--font-size-m);
  color: var(--bj7-text-2);
}

.bj7-contact-form-shortcode .wpcf7-form p {
  margin: 0 0 10px;
}

.bj7-contact-form-shortcode input[type="text"],
.bj7-contact-form-shortcode input[type="email"],
.bj7-contact-form-shortcode input[type="tel"],
.bj7-contact-form-shortcode textarea,
.bj7-contact-form-shortcode select {
  width: 100%;
  font-family: "Sora", sans-serif;
  font-size: var(--font-size-m);
  padding: 8px 10px;
  border: 1px solid var(--bj7-border);
  border-radius: 7px;
  background: var(--bj7-gray-1);
  color: var(--bj7-text);
}

.bj7-contact-form-shortcode input[type="submit"] {
  display: block;
  width: 100%;
  background: var(--bj7-green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px;
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.bj7-dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 6px 12px;
  font-size: 13px;
}

.bj7-notice {
  background: var(--bj7-green-light);
  border: 1px solid var(--bj7-green-mid);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: var(--font-size-m);
  color: var(--bj7-green-dark);
  margin-top: 16px;
}

.bj7-article-card h2 {
  font-size: 13px;
  font-weight: 700;
  color: var(--bj7-green);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bj7-article-number {
  background: var(--bj7-green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.bj7-article-card p {
  font-size: 13px;
  color: var(--bj7-text-2);
  line-height: 1.75;
  margin: 0;
}

.bj7-table-card {
  overflow: hidden;
  margin-bottom: 16px;
}

.bj7-table-card h2 {
  padding: 14px 18px 10px;
  margin: 0;
}

.bj7-table-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-m);
}

.bj7-table-card th {
  background: var(--bj7-text);
  color: #fff;
  font-weight: 600;
  font-size: var(--font-size-m);
  padding: 8px 14px;
  text-align: left;
}

.bj7-table-card td {
  padding: 9px 14px;
  border-bottom: .5px solid var(--bj7-border);
  color: var(--bj7-text-2);
  vertical-align: top;
}

.bj7-table-card tr:nth-child(even) td {
  background: var(--bj7-gray-1);
}

.bj7-table-card tr:last-child td {
  border-bottom: none;
}

@media (max-width: 820px) {

  .bj7-page,
  .bj7-page-wide {
    padding: 32px 18px 52px;
  }

  .bj7-content-grid,
  .bj7-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {

  .bj7-values-grid,
  .bj7-rights-grid {
    grid-template-columns: 1fr;
  }

  .bj7-dl {
    grid-template-columns: 1fr;
  }

  .bj7-stat-row {
    flex-direction: column;
  }
}

/* BJ7 native Gutenberg homepage */
.bj7-page-home {
  max-width: none;
  padding: 0 0 64px;
}

.bj7-page-home .bj7-content {
  width: 100%;
}

.bj7-home {
  font-family: "Sora", sans-serif;
  color: var(--bj7-text);
  background:
    radial-gradient(circle at top right, rgba(29, 158, 117, .10), transparent 34%),
    var(--bj7-gray-1);
  line-height: 1.7;
}

.bj7-home .wp-block-group,
.bj7-home .wp-block-buttons {
  box-sizing: border-box;
}

.bj7-home-hero,
.bj7-home-section,
.bj7-home-final-cta,
.bj7-home-trust-strip {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.bj7-home-hero {
  padding: 38px 24px 18px;
}

.bj7-home-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 22px;
  align-items: stretch;
}

.bj7-home-hero-copy,
.bj7-home-proof-card,
.bj7-home-product-card,
.bj7-home-benefit,
.bj7-home-faq-item,
.bj7-home-steps-card {
  background: #fff;
  border: .5px solid var(--bj7-border);
  border-radius: 12px;
  box-shadow: 0 1px 12px rgba(0, 0, 0, .055);
}

.bj7-home-hero-copy {
  padding: 32px 34px;
}

.bj7-home-title {
  font-family: "Lora", serif;
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--bj7-text);
  max-width: var(--page-desktop-max-width);
  margin: 0 0 16px;
}

.bj7-home-lead {
  max-width: 680px;
  color: var(--bj7-text-2);
  font-size: 15px;
  margin: 0 0 24px;
}

.bj7-home-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bj7-home-actions .wp-block-button__link,
.bj7-home-actions .wp-block-button__link:visited {
  border-radius: 8px;
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 22px;
  text-decoration: none;
}

.bj7-button-primary .wp-block-button__link,
.bj7-button-primary .wp-block-button__link:visited {
  background: var(--bj7-green);
  color: #fff;
}

.bj7-button-primary .wp-block-button__link:hover {
  background: var(--bj7-green-dark);
  color: #fff;
}

.bj7-button-secondary .wp-block-button__link,
.bj7-button-secondary .wp-block-button__link:visited {
  background: var(--bj7-green-light);
  color: var(--bj7-green-dark);
}

.bj7-button-secondary .wp-block-button__link:hover {
  background: var(--bj7-green-mid);
  color: var(--bj7-green-dark);
}

.bj7-home-proof-card {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bj7-home-proof-kicker,
.bj7-section-eyebrow,
.bj7-home-product-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bj7-green-dark);
  margin: 0 0 10px;
}

.bj7-home-proof-title {
  font-family: "Lora", serif;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.15;
  font-weight: 500;
  color: var(--bj7-text);
  margin: 0 0 12px;
}

.bj7-home-proof-card p:not(.bj7-home-proof-kicker) {
  color: var(--bj7-text-2);
  font-size: 13px;
  margin: 0 0 18px;
}

.bj7-home-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: auto;
}

.bj7-home-mini-stats p {
  background: var(--bj7-green-light);
  border-radius: 8px;
  color: var(--bj7-green-dark) !important;
  font-size: 10px !important;
  line-height: 1.35;
  padding: 10px 8px;
  text-align: center;
  margin: 0 !important;
}

.bj7-home-mini-stats strong {
  display: block;
  font-size: 15px;
  color: var(--bj7-green-dark);
}

.bj7-home-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 24px 18px;
}

.bj7-home-trust-strip p {
  background: #fff;
  border: .5px solid var(--bj7-border);
  border-radius: 8px;
  color: var(--bj7-text-2);
  font-size: var(--font-size-m);
  margin: 0;
  padding: 10px 12px;
}

.bj7-home-section {
  padding: 34px 24px 0;
}

.bj7-home-section-soft {
  margin-top: 24px;
  padding-top: 0;
}

.bj7-home-section-soft>.bj7-home-split {
  background: var(--bj7-green-light);
  border-radius: 12px;
  padding: 26px;
}

.bj7-section-title {
  font-family: "Lora", serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.16;
  font-weight: 500;
  color: var(--bj7-text);
  max-width: var(--page-desktop-max-width);
  margin: 0 0 12px;
}

.bj7-section-intro,
.bj7-home-section>p,
.bj7-home-split-copy p,
.bj7-home-seo-copy p {
  max-width: 780px;
  color: var(--bj7-text-2);
  font-size: 14px;
  margin: 0 0 14px;
}

.bj7-home-product-grid,
.bj7-home-benefit-grid,
.bj7-home-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.bj7-home-benefit-grid,
.bj7-home-faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bj7-home-product-card,
.bj7-home-benefit,
.bj7-home-faq-item {
  padding: 20px;
}

.bj7-home-product-card.is-featured {
  border-color: var(--bj7-green-mid);
  box-shadow: 0 4px 20px rgba(29, 158, 117, .12);
}

.bj7-home-product-card h3,
.bj7-home-benefit h3,
.bj7-home-faq-item h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--bj7-text);
  margin: 0 0 8px;
}

.bj7-home-product-card p,
.bj7-home-benefit p,
.bj7-home-faq-item p {
  color: var(--bj7-text-2);
  font-size: var(--font-size-m);
  line-height: 1.7;
  margin: 0 0 12px;
}

.bj7-home-product-link a,
.bj7-home-product-link a:visited {
  color: var(--bj7-green-dark);
  font-weight: 700;
  text-decoration: none;
}

.bj7-home-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
  gap: 22px;
  align-items: center;
}

.bj7-home-steps-card {
  padding: 18px 20px;
  box-shadow: none;
}

.bj7-home-steps-card p {
  border-bottom: .5px solid var(--bj7-border);
  color: var(--bj7-text-2);
  font-size: 13px;
  margin: 0;
  padding: 10px 0;
}

.bj7-home-steps-card p:last-child {
  border-bottom: 0;
}

.bj7-home-steps-card strong {
  color: var(--bj7-green-dark);
}

.bj7-home-benefit-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bj7-green-light);
  border-radius: 50%;
  margin: 0 0 10px !important;
}

.bj7-home-seo-copy {
  background: #fff;
  border-top: 3px solid var(--bj7-green);
  border-radius: 12px;
  margin-top: 34px;
  padding: 28px 30px;
}

.bj7-home-faq-item {
  box-shadow: none;
}

.bj7-home-final-cta {
  background: var(--bj7-text);
  border-radius: 12px;
  color: #fff;
  margin-top: 38px;
  padding: 32px 30px;
  text-align: center;
}

.bj7-home-final-cta h2 {
  font-family: "Lora", serif;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  margin: 0 auto 10px;
  max-width: 720px;
}

.bj7-home-final-cta p {
  color: var(--bj7-text-3);
  max-width: 660px;
  margin: 0 auto 18px;
}

.bj7-home-final-cta .bj7-home-actions {
  justify-content: center;
}

.bj7-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 10px;
}

.bj7-contact-icon {
  flex: 0 0 auto;
  line-height: 1.4;
}

.bj7-contact-value {
  display: inline-block;
  line-height: 1.4;
}

.bj7-phone-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 12px;
  margin-top: 2px;
  background-color: rgb(255 59 35);
  mask: url("https://s.w.org/images/core/emoji/17.0.2/svg/1f4de.svg") center / contain no-repeat;
  -webkit-mask: url("https://s.w.org/images/core/emoji/17.0.2/svg/1f4de.svg") center / contain no-repeat;
}

@media (max-width: 900px) {

  .bj7-home-hero-inner,
  .bj7-home-split {
    grid-template-columns: 1fr;
  }

  .bj7-home-trust-strip,
  .bj7-home-product-grid,
  .bj7-home-benefit-grid,
  .bj7-home-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bj7-home-hero {
    padding: 22px 14px 14px;
  }

  .bj7-home-hero-copy,
  .bj7-home-proof-card,
  .bj7-home-section-soft>.bj7-home-split,
  .bj7-home-seo-copy,
  .bj7-home-final-cta {
    padding: 22px 18px;
  }

  .bj7-home-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .bj7-home-trust-strip,
  .bj7-home-product-grid,
  .bj7-home-benefit-grid,
  .bj7-home-faq-grid,
  .bj7-home-mini-stats {
    grid-template-columns: 1fr;
  }

  .bj7-home-trust-strip {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Dynamic WooCommerce machine and consumable pages */
.bj7-machines-list,
.bj7-consumables-order {
  font-family: "Sora", sans-serif;
  color: #2C2C2A;
}

.bj7-machines-intro,
.bj7-consumables-intro {
  background: #E1F5EE;
  border: 1px solid #9FE1CB;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 22px;
  color: #0F6E56;
  font-size: 14px;
  line-height: 1.65;
}

.bj7-machines-intro p,
.bj7-consumables-intro p {
  margin: 0;
}

.bj7-machines-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bj7-machine-card {
  background: #fff;
  border: 1px solid #D3D1C7;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(44, 44, 42, .07);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.bj7-machine-card.is-disabled {
  opacity: .72;
}

.bj7-machine-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.bj7-machine-format,
.bj7-machine-trial-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: var(--font-size-m);
  font-weight: 700;
  line-height: 1;
  padding: 7px 10px;
}

.bj7-machine-format {
  background: #1D9E75;
  color: #fff;
}

.bj7-machine-trial-badge.is-trial {
  background: #E1F5EE;
  color: #0F6E56;
}

.bj7-machine-trial-badge.is-buy {
  background: #F7F7F5;
  color: #6B6A67;
}

.bj7-machine-card h2 {
  font-size: 19px;
  line-height: 1.25;
  margin: 0 0 10px;
  color: #2C2C2A;
}

.bj7-machine-desc,
.bj7-machine-attrs,
.bj7-machine-stock {
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 10px;
  color: #6B6A67;
}

.bj7-machine-attrs {
  font-size: var(--font-size-m);
}

.bj7-machine-stock {
  color: #BA7517;
  font-weight: 600;
}

.bj7-machine-price {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: #0F6E56;
  margin: auto 0 18px;
  padding-top: 12px;
}

.bj7-machine-price span {
  font-size: var(--font-size-m);
  font-weight: 600;
  color: #6B6A67;
}

.bj7-machine-button,
.bj7-machine-button:visited,
.bj7-consumables-submit,
.bj7-single-trial-button,
.bj7-single-trial-button:visited,
.bj7-single-order-form-button,
.bj7-single-order-form-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  border: 0;
  background: #1D9E75;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  padding: 12px 18px;
  cursor: pointer;
}

.bj7-machine-button:hover,
.bj7-consumables-submit:hover,
.bj7-single-trial-button:hover,
.bj7-single-order-form-button:hover {
  background: #0F6E56;
  color: #fff !important;
}

.bj7-single-trial-button-wrap {
  align-items: stretch;
  clear: both;
  display: grid;
  gap: 10px 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bj7-single-trial-button,
.bj7-single-order-form-button {
  width: 100%;
}

.bj7-consumables-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #fff;
  border: 1px solid #D3D1C7;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(44, 44, 42, .07);
}

.bj7-consumables-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 13px;
}

.bj7-consumables-table th,
.bj7-consumables-table td {
  padding: 13px 12px;
  border-bottom: 1px solid #EBEBE6;
  vertical-align: middle;
}

.bj7-consumables-table th {
  background: #2C2C2A;
  color: #fff;
  text-align: left;
  font-size: var(--font-size-m);
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bj7-consumables-table th.center,
.bj7-consumables-table td.center {
  text-align: center;
}

.bj7-consumables-table th.right,
.bj7-consumables-table td.right {
  text-align: right;
}

.bj7-consumables-table td strong,
.bj7-consumables-table td span {
  display: block;
}

.bj7-consumables-table td strong {
  color: #2C2C2A;
  margin-bottom: 4px;
}

.bj7-consumables-table td span {
  color: #6B6A67;
  font-size: var(--font-size-m);
  line-height: 1.45;
}

.bj7-consumables-group td {
  background: #E1F5EE;
  color: #0F6E56;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: var(--font-size-m);
}

.bj7-consumables-sku {
  display: inline-flex !important;
  background: #F7F7F5;
  color: #6B6A67 !important;
  border-radius: 6px;
  padding: 4px 7px;
  font-family: monospace;
  font-size: 11px !important;
}

.bj7-consumables-qty {
  width: 100%;
  min-height: 42px;
  border: 1px solid #9FE1CB;
  border-radius: 9px;
  text-align: center;
  font: 700 17px/1 "Sora", sans-serif;
  color: #2C2C2A;
  background: #fff;
  padding: 6px;
}

.bj7-consumables-qty:focus {
  outline: 2px solid rgba(29, 158, 117, .18);
  border-color: #1D9E75;
}

.bj7-consumables-discount,
.bj7-consumables-line-total {
  color: #0F6E56;
  font-weight: 700;
  white-space: nowrap;
}

.bj7-consumables-stock {
  color: #BA7517 !important;
  font-weight: 600;
}

.bj7-consumables-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.bj7-consumables-actions>div {
  min-width: 210px;
  padding: 14px 18px;
  background: #F7F7F5;
  border: 1px solid #D3D1C7;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #6B6A67;
}

.bj7-consumables-actions strong {
  color: #0F6E56;
  font-size: 18px;
}

@media (max-width: 900px) {
  .bj7-machines-grid {
    grid-template-columns: 1fr;
  }

  .bj7-consumables-actions {
    justify-content: stretch;
  }

  .bj7-consumables-actions>div,
  .bj7-consumables-submit {
    width: 100%;
  }
}


/* WooCommerce single product page */
body.single-product .site-content .ast-container {
  max-width: 1100px;
  padding-left: 24px;
  padding-right: 24px;
}

body.single-product div.product {
  font-family: "Sora", sans-serif;
  color: var(--bj7-text);
}

body.single-product div.product .woocommerce-product-gallery {
  background: #fff;
  border: 1px solid var(--bj7-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(44, 44, 42, .06);
}

body.single-product div.product .summary {
  background: #fff;
  border: 1px solid var(--bj7-border);
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: 0 8px 24px rgba(44, 44, 42, .06);
}

body.single-product .product_title {
  font-family: "Lora", serif;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.16;
  color: var(--bj7-text);
  margin-bottom: 10px;
}

body.single-product div.product p.price,
body.single-product div.product span.price {
  color: var(--bj7-green-dark);
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 14px;
}

body.single-product .woocommerce-product-details__short-description {
  color: var(--bj7-text-2);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

body.single-product table.variations {
  margin-bottom: 12px;
}

body.single-product table.variations th,
body.single-product table.variations td {
  display: block;
  padding: 0;
  text-align: left;
}

body.single-product table.variations label {
  display: block;
  color: var(--bj7-text);
  font-size: var(--font-size-m);
  font-weight: 800;
  margin-bottom: 7px;
}

body.single-product table.variations select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--bj7-green-mid);
  border-radius: 9px;
  color: var(--bj7-text);
  font-family: "Sora", sans-serif;
  font-size: 13px;
  padding: 0 12px;
}

body.single-product table.variations .reset_variations {
  display: inline-block;
  color: var(--bj7-text-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  margin-top: 7px;
  text-decoration: none;
  text-transform: uppercase;
}

body.single-product div.product form.cart {
  margin: 20px 0 16px;
}

body.single-product div.product form.cart::after {
  content: "";
  display: block;
  clear: both;
}

body.single-product div.product form.cart .qty {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--bj7-green-mid);
  border-radius: 9px;
  color: var(--bj7-text);
  font: 700 15px/1 "Sora", sans-serif;
  text-align: center;
}

.woocommerce-variation-add-to-cart,
.woocommerce-variation-add-to-cart .bj7-single-trial-button-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.woocommerce-js div.product form.cart div.quantity {
  margin: 1em 0;
}

.woocommerce-variation-add-to-cart>*,
.woocommerce-variation-add-to-cart .bj7-single-trial-button-wrap,
.woocommerce-variation-add-to-cart .bj7-single-trial-button-wrap>*,
.woocommerce-variation-add-to-cart input {
  width: 100% !important;
}

body.single-product div.product form.cart .button.single_add_to_cart_button {
  min-height: 44px;
  background: var(--bj7-green);
  border-radius: 10px;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 800;
  padding: 12px 20px;
}

body.single-product div.product form.cart .button.single_add_to_cart_button:hover {
  background: var(--bj7-green-dark);
  color: #fff;
}

.bj7-single-trial-button.is-disabled,
.bj7-single-trial-button.is-disabled:hover {
  background-color: #EBEBE6 !important;
  color: var(--bj7-text-2) !important;
  cursor: not-allowed;
  opacity: .85;
  pointer-events: none;
}

.bj7-single-order-form-button,
.bj7-single-order-form-button:visited,
.bj7-single-order-form-button:hover {
  background: var(--bj7-green-light);
}

.bj7-single-order-form-button:hover {
  background: var(--bj7-green-mid);
}

.bj7-single-trial-note {
  clear: both;
  color: var(--bj7-text-2);
  font-size: var(--font-size-m);
  grid-column: 1 / -1;
  line-height: 1.5;
  margin: 2px 0 0;
}

.bj7-product-meta {
  border-top: 1px solid var(--bj7-border);
  color: var(--bj7-text-2);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: var(--font-size-m);
  margin-top: 16px;
  padding-top: 14px;
}

.bj7-product-meta a {
  color: var(--bj7-green-dark);
  font-weight: 700;
  text-decoration: none;
}

.bj7-product-meta .tagged_as {
  display: none !important;
}

body.single-product div.product .summary>.product_meta:not(.bj7-product-meta),
body.single-product div.product .product_meta .tagged_as {
  display: none !important;
}

.bj7-product-details-stack {
  clear: both;
  display: grid;
  gap: 18px;
  margin: 36px 0 48px;
}

.bj7-product-detail-card {
  background: #fff;
  border: 1px solid var(--bj7-border);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(44, 44, 42, .06);
  padding: 24px 26px;
}

.bj7-product-detail-card h2 {
  border-bottom: 1px solid var(--bj7-border);
  color: var(--bj7-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 0 0 16px;
  padding-bottom: 10px;
  text-transform: uppercase;
}

.bj7-product-detail-content {
  color: var(--bj7-text-2);
  font-size: 14px;
  line-height: 1.8;
}

.bj7-product-detail-content p:last-child {
  margin-bottom: 0;
}

.bj7-product-detail-content table.shop_attributes {
  border: 0;
  margin: 0;
}

.bj7-product-detail-content table.shop_attributes th,
.bj7-product-detail-content table.shop_attributes td {
  border-bottom: 1px solid var(--bj7-border);
  color: var(--bj7-text-2);
  font-size: 13px;
  padding: 10px 0;
}

.bj7-product-detail-content table.shop_attributes td:nth-child(2) {
  padding: 10px 10px;
}

.bj7-product-detail-content table.shop_attributes th {
  color: var(--bj7-text);
  font-weight: 800;
  width: 220px;
}

.bj7-product-detail-content table.shop_attributes tr:last-child th,
.bj7-product-detail-content table.shop_attributes tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 921px) {
  body.single-product .site-content .ast-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  body.single-product div.product .woocommerce-product-gallery,
  body.single-product div.product .summary {
    padding: 22px 20px;
  }
}

@media (max-width: 640px) {
  body.single-product .site-content .ast-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  body.single-product div.product form.cart .quantity,
  body.single-product div.product form.cart .qty,
  body.single-product div.product form.cart .button.single_add_to_cart_button,
  .bj7-single-trial-button,
  .bj7-single-order-form-button {
    width: 100%;
  }

  .bj7-single-trial-button-wrap {
    grid-template-columns: 1fr;
  }

  body.single-product div.product form.cart .quantity {
    margin: 0 0 10px;
  }

  .bj7-product-detail-card {
    padding: 20px 18px;
  }

  .bj7-product-detail-content table.shop_attributes th,
  .bj7-product-detail-content table.shop_attributes td {
    display: block;
    width: 100%;
  }

  .bj7-product-detail-content table.shop_attributes th {
    border-bottom: 0;
    padding-bottom: 2px;
  }
}

/* WooCommerce checkout page */
.wp-block-woocommerce-checkout,
.wc-block-checkout {
  max-width: 1040px;
  margin: 0 auto;
  font-family: "Sora", sans-serif;
  color: var(--bj7-text);
}

.wc-block-components-sidebar-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  gap: 34px;
  align-items: start;
}

.wc-block-components-sidebar-layout .wc-block-components-main,
.wc-block-components-sidebar-layout .wc-block-components-sidebar {
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wc-block-components-checkout-step,
.wc-block-components-sidebar {
  background: #fff;
  border: 1px solid var(--bj7-border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(44, 44, 42, .06);
}

.wc-block-components-checkout-step {
  padding: 22px 24px;
  margin-bottom: 16px;
}

.wc-block-components-checkout-step__heading,
.wc-block-components-title {
  color: var(--bj7-text);
}

.wc-block-components-sidebar {
  overflow: hidden;
}

.wc-block-components-sidebar .wc-block-components-panel,
.wc-block-components-sidebar .wc-block-components-totals-wrapper {
  border-color: var(--bj7-border);
}

.wc-block-components-sidebar .wc-block-components-order-summary__button-text,
.wc-block-components-sidebar .wc-block-components-totals-item__label,
.wc-block-components-sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  color: var(--bj7-text);
  font-weight: 700;
}

.wc-block-components-sidebar .wc-block-components-order-summary-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 14px 0;
}

.wc-block-components-sidebar .wc-block-components-order-summary-item__image {
  display: none !important;
}

.wc-block-components-sidebar .wc-block-components-order-summary-item__description {
  min-width: 0;
  width: auto !important;
  padding: 0 !important;
}

.wc-block-components-sidebar .wc-block-components-product-name {
  display: block;
  color: var(--bj7-text);
  font-size: var(--font-size-m);
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.wc-block-components-sidebar .wc-block-components-product-metadata,
.wc-block-components-sidebar .wc-block-components-product-details {
  color: var(--bj7-text-2);
  font-size: 10px;
  line-height: 1.45;
  margin-top: 4px;
}

.wc-block-components-sidebar .wc-block-components-product-details li,
.wc-block-components-sidebar .wc-block-components-product-details__name,
.wc-block-components-sidebar .wc-block-components-product-details__value {
  margin: 0;
  line-height: 1.45;
}

.wc-block-components-sidebar .wc-block-components-order-summary-item__total-price {
  min-width: 76px;
  color: var(--bj7-text);
  font-size: var(--font-size-m);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.wc-block-components-sidebar .wc-block-components-sale-badge {
  display: inline-flex;
  max-width: 100%;
  margin-top: 4px;
  white-space: normal;
  line-height: 1.3;
}

.wc-block-components-sidebar .wc-block-components-totals-item {
  align-items: center;
  font-size: 13px;
}

.wc-block-components-sidebar .wc-block-components-totals-footer-item {
  color: var(--bj7-green-dark);
  font-size: 18px;
  font-weight: 800;
}

.wc-block-components-button:not(.is-link) {
  background: var(--bj7-green);
  border-radius: 10px;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.wc-block-components-button:not(.is-link):hover {
  background: var(--bj7-green-dark);
  color: #fff;
}

.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-block-components-form .wc-block-components-text-input input[type=email],
.wc-block-components-form .wc-block-components-text-input input[type=number],
.wc-block-components-form .wc-block-components-text-input input[type=tel],
.wc-block-components-form .wc-block-components-text-input input[type=text],
.wc-block-components-form .wc-block-components-text-input input[type=url] {
  border-color: var(--bj7-border);
  border-radius: 8px;
  box-shadow: none;
  color: var(--bj7-text);
  font-family: "Sora", sans-serif;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus {
  border-color: var(--bj7-green);
  box-shadow: 0 0 0 1px var(--bj7-green);
}

.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
  position: sticky;
  top: 24px;
}

fieldset {
  padding: 8px;
  margin-bottom: 1.2em;
}

fieldset legend {
  margin-bottom: 0;
}

.wpcf7-list-item {
  margin: 0;
}

.wpcf7-list-item label {
  display: flex;
  margin-bottom: 1.2em;
}

.wpcf7-list-item input[type=checkbox] {
  margin: 3px 4px 0 0;
}

@media (max-width: 960px) {
  .wc-block-components-sidebar-layout {
    grid-template-columns: 1fr;
  }

  .woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    position: static;
  }
}

@media (max-width: 600px) {
  .wc-block-components-checkout-step {
    padding: 18px 16px;
  }

  .wc-block-components-sidebar .wc-block-components-order-summary-item {
    grid-template-columns: 1fr;
  }

  .wc-block-components-sidebar .wc-block-components-order-summary-item__total-price {
    text-align: left;
  }
}