/* ===================================================================
   HEALTHYEATING BASICS — APOTHECARY ALMANAC STYLESHEET
   Unique Namespace: heb-
   Palette: Forest Green (#1b4332), Warm Ochre (#b45309),
            Cream Linen (#fefcf6), Charcoal (#1f2421), Muted (#e2ded6)
   Headlines: 'Baskerville', 'Palatino Linotype', serif
   Body: 'Charter', 'Georgia', serif
   =================================================================== */

:root {
  --heb-forest-900: #0f241a;
  --heb-forest-800: #1b4332;
  --heb-forest-700: #2d6a4f;
  --heb-forest-600: #40916c;
  --heb-forest-100: #eaf4ef;
  --heb-ochre-800: #78350f;
  --heb-ochre-700: #92400e;
  --heb-ochre-600: #b45309;
  --heb-ochre-500: #d97706;
  --heb-ochre-100: #fef3c7;
  --heb-cream-bg: #fefcf6;
  --heb-parchment: #f6f2e7;
  --heb-parchment-card: #fbf9f2;
  --heb-charcoal: #1f2421;
  --heb-charcoal-muted: #4a544e;
  --heb-border-subtle: #e2ded6;
  --heb-border-accent: #c4b59d;
  --heb-font-head: 'Baskerville', 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif;
  --heb-font-body: 'Charter', 'Georgia', 'Cambria', serif;
  --heb-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --heb-shadow-subtle: 0 4px 18px rgba(27, 67, 50, 0.07);
  --heb-shadow-card: 0 8px 30px rgba(27, 67, 50, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--heb-cream-bg);
}

body.heb-body-root {
  font-family: var(--heb-font-body);
  color: var(--heb-charcoal);
  background-color: var(--heb-cream-bg);
  line-height: 1.72;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Base links & images */
a.heb-link {
  color: var(--heb-forest-800);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
a.heb-link:hover {
  color: var(--heb-ochre-600);
}

img.heb-img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Master container */
.heb-main-wrapper {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Bar: Botanical Almanach Edition Header */
.heb-top-almanac-bar {
  background-color: var(--heb-forest-900);
  color: var(--heb-ochre-100);
  padding: 8px 0;
  font-family: var(--heb-font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--heb-ochre-600);
}

.heb-top-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.heb-top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.heb-top-bar-tag {
  background-color: var(--heb-ochre-600);
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.heb-top-bar-right {
  display: flex;
  gap: 16px;
  color: #d1fae5;
  font-size: 0.78rem;
}

/* Masthead (Newspaper & Herbal Almanac Header) */
.heb-masthead-header {
  background-color: var(--heb-cream-bg);
  border-bottom: 2px solid var(--heb-forest-800);
  padding: 28px 0 20px 0;
  position: relative;
}

.heb-masthead-inner {
  text-align: center;
}

.heb-masthead-ornament-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}

.heb-ornament-line {
  height: 1px;
  width: 90px;
  background: linear-gradient(90deg, transparent, var(--heb-ochre-600), transparent);
}

.heb-masthead-crest-svg {
  width: 44px;
  height: 44px;
}

.heb-masthead-title {
  font-family: var(--heb-font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--heb-forest-800);
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
}

.heb-masthead-title a {
  color: inherit;
  text-decoration: none;
}

.heb-masthead-subtitle {
  font-family: var(--heb-font-head);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-style: italic;
  color: var(--heb-ochre-700);
  margin-bottom: 16px;
}

.heb-masthead-meta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 10px;
  border-top: 1px solid var(--heb-border-subtle);
  font-size: 0.85rem;
  color: var(--heb-charcoal-muted);
  font-family: var(--heb-font-sans);
}

.heb-masthead-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.heb-meta-dot {
  color: var(--heb-ochre-600);
}

/* Botanical Navigation Menu */
.heb-nav-bar {
  background-color: var(--heb-parchment);
  border-bottom: 1px solid var(--heb-border-subtle);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.heb-nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.heb-nav-link {
  font-family: var(--heb-font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heb-forest-800);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.heb-nav-link:hover,
.heb-nav-link.heb-active {
  background-color: var(--heb-forest-800);
  color: #fff;
}

.heb-nav-link-pill {
  background-color: var(--heb-ochre-100);
  color: var(--heb-ochre-800);
  border: 1px solid var(--heb-ochre-600);
}
.heb-nav-link-pill:hover {
  background-color: var(--heb-ochre-600);
  color: #fff;
}

/* ===================================================================
   UNIQUE 2-COLUMN LAYOUT ENGINE (68% / 32% Apothecary Almanac Layout)
   =================================================================== */

.heb-almanac-section {
  padding: 40px 0 60px 0;
  flex: 1 0 auto;
}

.heb-almanac-layout-engine {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

/* Left Column: 68% Botanical Research & In-depth Editorial */
.heb-col-botanical-research {
  flex: 0 0 68%;
  max-width: 68%;
  padding-right: 36px;
}

/* Middle Botanical Separator Border with botanical styling */
.heb-botanical-divider {
  width: 1px;
  background: linear-gradient(180deg, var(--heb-border-subtle) 0%, var(--heb-ochre-600) 25%, var(--heb-forest-800) 50%, var(--heb-ochre-600) 75%, var(--heb-border-subtle) 100%);
  position: relative;
  align-self: stretch;
}

.heb-botanical-divider::after {
  content: "✤";
  position: sticky;
  top: 120px;
  left: -8px;
  display: block;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--heb-ochre-600);
  background-color: var(--heb-cream-bg);
  border-radius: 50%;
  border: 1px solid var(--heb-border-accent);
}

/* Right Column: 32% Herbal Monographs, Rest & Protocol Advice */
.heb-col-herbal-monographs {
  flex: 0 0 32%;
  max-width: 32%;
  padding-left: 36px;
}

/* ===================================================================
   EDITORIAL ARTICLE COMPONENTS (100% Unique Copywriting Styles)
   =================================================================== */

.heb-article-header {
  margin-bottom: 28px;
}

.heb-article-kicker {
  font-family: var(--heb-font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--heb-ochre-600);
  display: inline-block;
  margin-bottom: 8px;
  background-color: var(--heb-ochre-100);
  padding: 3px 10px;
  border-radius: 3px;
}

.heb-article-main-title {
  font-family: var(--heb-font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--heb-forest-800);
  line-height: 1.25;
  margin-bottom: 16px;
}

.heb-article-lead-paragraph {
  font-family: var(--heb-font-head);
  font-size: 1.25rem;
  line-height: 1.68;
  color: var(--heb-forest-900);
  font-style: italic;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--heb-border-subtle);
  margin-bottom: 26px;
}

/* Drop-cap for botanical newspaper feel */
.heb-drop-cap::first-letter {
  float: left;
  font-family: var(--heb-font-head);
  font-size: 3.8rem;
  line-height: 0.8;
  padding-top: 4px;
  padding-right: 10px;
  padding-bottom: 2px;
  color: var(--heb-forest-800);
  font-weight: 700;
}

.heb-editorial-p {
  margin-bottom: 20px;
  text-align: justify;
}

.heb-editorial-h2 {
  font-family: var(--heb-font-head);
  font-size: 1.65rem;
  color: var(--heb-forest-800);
  margin: 36px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--heb-border-accent);
  display: flex;
  align-items: center;
  gap: 10px;
}

.heb-editorial-h3 {
  font-family: var(--heb-font-head);
  font-size: 1.3rem;
  color: var(--heb-forest-700);
  margin: 26px 0 12px 0;
}

/* Botanical Infographic Box */
.heb-botanical-media-box {
  background-color: var(--heb-parchment-card);
  border: 1px solid var(--heb-border-subtle);
  border-radius: 8px;
  padding: 18px;
  margin: 28px 0;
  box-shadow: var(--heb-shadow-subtle);
}

.heb-botanical-media-img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 12px;
}

.heb-botanical-media-caption {
  font-size: 0.9rem;
  color: var(--heb-charcoal-muted);
  font-style: italic;
  text-align: center;
}

/* Engraved Botanical Callout */
.heb-engraved-callout {
  background-color: var(--heb-parchment);
  border-left: 4px solid var(--heb-forest-800);
  border-right: 1px solid var(--heb-border-subtle);
  border-top: 1px solid var(--heb-border-subtle);
  border-bottom: 1px solid var(--heb-border-subtle);
  padding: 22px 26px;
  margin: 28px 0;
  border-radius: 0 6px 6px 0;
  position: relative;
}

.heb-callout-quote-mark {
  font-family: var(--heb-font-head);
  font-size: 3rem;
  color: var(--heb-ochre-500);
  opacity: 0.4;
  position: absolute;
  top: 6px;
  right: 16px;
  line-height: 1;
}

.heb-callout-title {
  font-family: var(--heb-font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heb-forest-800);
  margin-bottom: 8px;
}

/* ===================================================================
   DAILY CONDITIONING PROTOCOL CHECKLIST (Poranek, Południe, Zmierzch)
   =================================================================== */

.heb-protocol-checklist-card {
  background-color: #fff;
  border: 2px solid var(--heb-forest-800);
  border-radius: 8px;
  padding: 28px;
  margin: 36px 0;
  box-shadow: var(--heb-shadow-subtle);
}

.heb-protocol-card-header {
  border-bottom: 1px solid var(--heb-border-subtle);
  padding-bottom: 14px;
  margin-bottom: 20px;
  text-align: center;
}

.heb-protocol-card-title {
  font-family: var(--heb-font-head);
  font-size: 1.45rem;
  color: var(--heb-forest-800);
  font-weight: 700;
}

.heb-protocol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.heb-protocol-time-block {
  background-color: var(--heb-parchment-card);
  border: 1px solid var(--heb-border-subtle);
  border-radius: 6px;
  padding: 16px;
}

.heb-protocol-time-badge {
  display: inline-block;
  background-color: var(--heb-forest-800);
  color: #fff;
  font-family: var(--heb-font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.heb-protocol-time-title {
  font-family: var(--heb-font-head);
  font-size: 1.1rem;
  color: var(--heb-forest-900);
  margin-bottom: 8px;
  font-weight: 700;
}

.heb-protocol-list {
  list-style: none;
  font-size: 0.95rem;
}

.heb-protocol-item {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--heb-charcoal);
}

.heb-protocol-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--heb-ochre-600);
  font-weight: 700;
}

/* ===================================================================
   INTERACTIVE HOOK FEATURE: TEST OCENY RÓWNOWAGI I ENERGII MĘSKIEJ
   =================================================================== */

.heb-quiz-container {
  background-color: var(--heb-parchment);
  border: 2px solid var(--heb-ochre-600);
  border-radius: 8px;
  padding: 30px;
  margin: 36px 0;
  box-shadow: var(--heb-shadow-card);
  position: relative;
}

.heb-quiz-header {
  text-align: center;
  margin-bottom: 24px;
}

.heb-quiz-tag {
  background-color: var(--heb-ochre-600);
  color: #fff;
  font-family: var(--heb-font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 8px;
}

.heb-quiz-title {
  font-family: var(--heb-font-head);
  font-size: 1.55rem;
  color: var(--heb-forest-800);
  margin-bottom: 8px;
}

.heb-quiz-desc {
  font-size: 0.95rem;
  color: var(--heb-charcoal-muted);
}

.heb-quiz-step {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--heb-border-accent);
}
.heb-quiz-step:last-of-type {
  border-bottom: none;
}

.heb-quiz-question-label {
  font-family: var(--heb-font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heb-forest-900);
  margin-bottom: 12px;
  display: block;
}

.heb-quiz-options-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.heb-quiz-option-label {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #fff;
  border: 1px solid var(--heb-border-subtle);
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.96rem;
}

.heb-quiz-option-label:hover {
  border-color: var(--heb-ochre-600);
  background-color: var(--heb-ochre-100);
}

.heb-quiz-option-label input[type="radio"] {
  accent-color: var(--heb-forest-800);
  width: 18px;
  height: 18px;
}

.heb-quiz-btn-calc {
  display: block;
  width: 100%;
  background-color: var(--heb-forest-800);
  color: #fff;
  font-family: var(--heb-font-sans);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 20px;
}
.heb-quiz-btn-calc:hover {
  background-color: var(--heb-ochre-600);
}

.heb-quiz-result-box {
  display: none;
  background-color: #fff;
  border: 2px solid var(--heb-forest-800);
  border-radius: 6px;
  padding: 24px;
  margin-top: 24px;
  animation: hebFadeIn 0.3s ease-in;
}

.heb-quiz-score-meter {
  height: 12px;
  background-color: var(--heb-border-subtle);
  border-radius: 6px;
  overflow: hidden;
  margin: 12px 0 16px 0;
}

.heb-quiz-score-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--heb-ochre-500), var(--heb-forest-700));
  width: 0%;
  transition: width 0.8s ease;
}

@keyframes hebFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================================================================
   RIGHT COLUMN: HERBAL MONOGRAPHS & NIGHT REST ADVICE
   =================================================================== */

.heb-sidebar-block {
  margin-bottom: 32px;
}

.heb-sidebar-title {
  font-family: var(--heb-font-head);
  font-size: 1.25rem;
  color: var(--heb-forest-800);
  border-bottom: 2px solid var(--heb-ochre-600);
  padding-bottom: 6px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.heb-sidebar-badge {
  font-family: var(--heb-font-sans);
  font-size: 0.7rem;
  background-color: var(--heb-forest-100);
  color: var(--heb-forest-800);
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
}

.heb-monograph-card {
  background-color: var(--heb-parchment-card);
  border: 1px solid var(--heb-border-subtle);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 18px;
  transition: transform 0.2s ease;
}
.heb-monograph-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--heb-shadow-subtle);
}

.heb-monograph-herb-latin {
  font-family: var(--heb-font-head);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--heb-ochre-700);
}

.heb-monograph-herb-name {
  font-family: var(--heb-font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heb-forest-900);
  margin-bottom: 6px;
}

.heb-monograph-herb-desc {
  font-size: 0.92rem;
  color: var(--heb-charcoal);
  line-height: 1.55;
  margin-bottom: 10px;
}

.heb-monograph-substances {
  font-size: 0.8rem;
  font-family: var(--heb-font-sans);
  color: var(--heb-forest-700);
  background-color: #fff;
  padding: 4px 8px;
  border-radius: 3px;
  border: 1px dashed var(--heb-border-accent);
}

/* Night Rest & Nervous System Reset Card */
.heb-night-rest-card {
  background-color: var(--heb-forest-900);
  color: #fefcf6;
  border-radius: 8px;
  padding: 22px;
  border-left: 4px solid var(--heb-ochre-500);
}

.heb-night-rest-card h4 {
  font-family: var(--heb-font-head);
  font-size: 1.2rem;
  color: var(--heb-ochre-100);
  margin-bottom: 10px;
}

.heb-night-rest-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #e2ded6;
  margin-bottom: 12px;
}

.heb-night-tip-list {
  list-style: none;
  font-size: 0.88rem;
}
.heb-night-tip-item {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: #d1fae5;
}
.heb-night-tip-item::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--heb-ochre-500);
  font-size: 1.2rem;
  line-height: 1;
}

/* Informational Product Register Card in Sidebar (NO price, NO form) */
.heb-sidebar-product-preview {
  background-color: #fff;
  border: 1px solid var(--heb-border-accent);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  box-shadow: var(--heb-shadow-subtle);
}

.heb-sidebar-product-preview img {
  max-width: 130px;
  margin: 0 auto 12px auto;
}

.heb-sidebar-product-title {
  font-family: var(--heb-font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heb-forest-800);
  margin-bottom: 6px;
}

.heb-sidebar-product-spec {
  font-size: 0.85rem;
  color: var(--heb-charcoal-muted);
  margin-bottom: 12px;
}

.heb-sidebar-info-link {
  display: inline-block;
  background-color: var(--heb-forest-800);
  color: #fff;
  text-decoration: none;
  font-family: var(--heb-font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.heb-sidebar-info-link:hover {
  background-color: var(--heb-ochre-600);
}

/* ===================================================================
   QUALITY CERTIFICATE BADGES ROW (GIS, ISO 22000, GMP, Certyfikat Jakości)
   =================================================================== */

.heb-certificates-section {
  background-color: var(--heb-parchment);
  border-top: 1px solid var(--heb-border-subtle);
  border-bottom: 1px solid var(--heb-border-subtle);
  padding: 36px 0;
  margin-top: 40px;
}

.heb-certificates-header {
  text-align: center;
  margin-bottom: 24px;
}

.heb-certificates-title {
  font-family: var(--heb-font-head);
  font-size: 1.35rem;
  color: var(--heb-forest-800);
  font-weight: 700;
}

.heb-badges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px 48px;
}

.heb-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 140px;
}

.heb-badge-svg {
  width: 90px;
  height: 90px;
  margin-bottom: 8px;
  transition: transform 0.2s ease;
}
.heb-badge-item:hover .heb-badge-svg {
  transform: scale(1.05);
}

.heb-badge-caption {
  font-family: var(--heb-font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--heb-forest-900);
  line-height: 1.3;
}

/* ===================================================================
   POLISH HERBALIST ORDER CERTIFICATE (Świadectwo Zamówienia Zielarskiego)
   Dedicated Page: zamowienie.html
   =================================================================== */

.heb-order-page-wrapper {
  padding: 40px 0 60px 0;
}

.heb-order-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: start;
}

/* Product Presentation Column */
.heb-product-card-dossier {
  background-color: #fff;
  border: 1px solid var(--heb-border-accent);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--heb-shadow-subtle);
}

.heb-product-card-badge {
  background-color: var(--heb-ochre-600);
  color: #fff;
  font-family: var(--heb-font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.heb-product-card-name {
  font-family: var(--heb-font-head);
  font-size: 2rem;
  color: var(--heb-forest-800);
  line-height: 1.2;
  margin-bottom: 10px;
}

.heb-product-card-subtitle {
  font-size: 1.05rem;
  color: var(--heb-ochre-700);
  font-style: italic;
  margin-bottom: 20px;
}

.heb-product-bottle-visual {
  text-align: center;
  margin: 20px 0;
  padding: 20px;
  background-color: var(--heb-parchment-card);
  border-radius: 8px;
  border: 1px dashed var(--heb-border-accent);
}

.heb-product-bottle-visual img {
  max-width: 210px;
  margin: 0 auto;
}

.heb-product-specs-list {
  list-style: none;
  margin: 20px 0;
}

.heb-product-spec-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--heb-border-subtle);
  font-size: 0.95rem;
}

.heb-product-spec-label {
  font-weight: 600;
  color: var(--heb-forest-900);
}

.heb-product-spec-val {
  color: var(--heb-charcoal-muted);
}

/* Pricing box */
.heb-pricing-banner {
  background-color: var(--heb-ochre-100);
  border: 2px dashed var(--heb-ochre-600);
  border-radius: 6px;
  padding: 18px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.heb-price-old-wrap {
  display: flex;
  flex-direction: column;
}
.heb-price-old-label {
  font-size: 0.75rem;
  color: var(--heb-charcoal-muted);
  text-transform: uppercase;
}
.heb-price-old-number {
  font-size: 1.25rem;
  text-decoration: line-through;
  color: #991b1b;
  font-weight: 700;
}

.heb-price-promo-wrap {
  display: flex;
  flex-direction: column;
  text-align: right;
}
.heb-price-promo-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--heb-ochre-800);
  text-transform: uppercase;
}
.heb-price-promo-number {
  font-family: var(--heb-font-head);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--heb-forest-800);
  line-height: 1;
}

.heb-discount-tag {
  background-color: #991b1b;
  color: #fff;
  font-family: var(--heb-font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

/* Certificate Form Card Styling ('Świadectwo Zamówienia Zielarskiego') */
.heb-certificate-card {
  background-color: #fff;
  border: 3px double var(--heb-forest-800);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--heb-shadow-card);
  position: relative;
}

.heb-certificate-watermark {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}

.heb-certificate-header {
  background: linear-gradient(135deg, var(--heb-forest-900), var(--heb-forest-800));
  color: #fff;
  padding: 24px;
  text-align: center;
  position: relative;
  border-bottom: 2px solid var(--heb-ochre-500);
}

.heb-certificate-seal-badge {
  display: inline-block;
  background-color: var(--heb-ochre-600);
  color: #fff;
  font-family: var(--heb-font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.heb-certificate-title {
  font-family: var(--heb-font-head);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.heb-certificate-registry-id {
  font-family: var(--heb-font-sans);
  font-size: 0.8rem;
  color: var(--heb-ochre-100);
}

.heb-certificate-body {
  padding: 28px 24px;
  position: relative;
  z-index: 2;
}

.heb-certificate-notice {
  background-color: var(--heb-parchment);
  border: 1px solid var(--heb-border-subtle);
  border-radius: 6px;
  padding: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--heb-charcoal);
  margin-bottom: 24px;
}

/* Minimalist Lead Form: ONLY 2 inputs (Imię i Nazwisko, Numer telefonu) */
.heb-order-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.heb-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.heb-form-label {
  font-family: var(--heb-font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--heb-forest-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.heb-form-label-hint {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--heb-charcoal-muted);
}

.heb-input-wrapper {
  position: relative;
}

.heb-form-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--heb-font-body);
  font-size: 1.05rem;
  border: 1.5px solid var(--heb-border-accent);
  border-radius: 6px;
  background-color: #fff;
  color: var(--heb-charcoal);
  transition: all 0.2s ease;
  min-height: 48px;
}

.heb-form-input:focus {
  outline: none;
  border-color: var(--heb-forest-800);
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.15);
  background-color: var(--heb-cream-bg);
}

.heb-input-error {
  border-color: #b91c1c !important;
}

.heb-error-feedback {
  display: none;
  color: #b91c1c;
  font-size: 0.82rem;
  font-family: var(--heb-font-sans);
  margin-top: 4px;
}

/* Submit CTA button */
.heb-btn-submit-order {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, var(--heb-ochre-600), var(--heb-ochre-700));
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 16px 20px;
  font-family: var(--heb-font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.35);
  transition: all 0.2s ease;
  min-height: 52px;
  margin-top: 8px;
}

.heb-btn-submit-order:hover {
  background: linear-gradient(180deg, var(--heb-ochre-500), var(--heb-ochre-600));
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(180, 83, 9, 0.45);
}

.heb-form-guarantees-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--heb-border-subtle);
  font-size: 0.82rem;
  color: var(--heb-charcoal-muted);
  font-family: var(--heb-font-sans);
}

.heb-guarantee-pill {
  display: flex;
  align-items: center;
  gap: 8px;
}

.heb-guarantee-icon {
  color: var(--heb-forest-700);
  font-weight: 700;
}

/* ===================================================================
   THANK-YOU & CONFIRMATION DISPATCH PAGES (dziekujemy.html, thank-you.html, thanks.html)
   =================================================================== */

.heb-dispatch-card {
  background-color: #fff;
  border: 2px solid var(--heb-forest-800);
  border-radius: 8px;
  padding: 36px 30px;
  max-width: 820px;
  margin: 40px auto;
  box-shadow: var(--heb-shadow-card);
  text-align: center;
}

.heb-dispatch-badge-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px auto;
}

.heb-dispatch-title {
  font-family: var(--heb-font-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--heb-forest-800);
  margin-bottom: 12px;
}

.heb-dispatch-subtitle {
  font-size: 1.15rem;
  color: var(--heb-ochre-700);
  margin-bottom: 24px;
}

.heb-dispatch-details-box {
  background-color: var(--heb-parchment-card);
  border: 1px solid var(--heb-border-accent);
  border-radius: 6px;
  padding: 22px;
  text-align: left;
  margin-bottom: 28px;
}

.heb-dispatch-step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.heb-dispatch-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.heb-step-num {
  background-color: var(--heb-forest-800);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heb-font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.heb-step-text-title {
  font-family: var(--heb-font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heb-forest-900);
  margin-bottom: 4px;
}

.heb-step-text-desc {
  font-size: 0.92rem;
  color: var(--heb-charcoal-muted);
}

.heb-dispatch-btn-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.heb-btn-secondary {
  background-color: var(--heb-forest-800);
  color: #fff;
  text-decoration: none;
  font-family: var(--heb-font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  display: inline-block;
  min-height: 44px;
  line-height: 20px;
}
.heb-btn-secondary:hover {
  background-color: var(--heb-ochre-600);
}

.heb-btn-outline {
  border: 1.5px solid var(--heb-forest-800);
  color: var(--heb-forest-800);
  text-decoration: none;
  font-family: var(--heb-font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: inline-block;
  min-height: 44px;
  line-height: 20px;
}
.heb-btn-outline:hover {
  background-color: var(--heb-forest-800);
  color: #fff;
}

/* ===================================================================
   CONSOLIDATED LEGAL SHEET (legal.html)
   =================================================================== */

.heb-legal-page-wrapper {
  padding: 40px 0 60px 0;
}

.heb-legal-card {
  background-color: #fff;
  border: 1px solid var(--heb-border-subtle);
  border-radius: 8px;
  padding: 36px;
  box-shadow: var(--heb-shadow-subtle);
}

.heb-legal-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 2px solid var(--heb-border-accent);
  padding-bottom: 12px;
  margin-bottom: 28px;
}

.heb-legal-tab-btn {
  font-family: var(--heb-font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heb-forest-800);
  background: var(--heb-parchment);
  border: 1px solid var(--heb-border-subtle);
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.heb-legal-tab-btn:hover,
.heb-legal-tab-btn.heb-tab-active {
  background-color: var(--heb-forest-800);
  color: #fff;
  border-color: var(--heb-forest-800);
}

.heb-legal-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px dashed var(--heb-border-subtle);
}
.heb-legal-section:last-child {
  border-bottom: none;
}

.heb-legal-h2 {
  font-family: var(--heb-font-head);
  font-size: 1.6rem;
  color: var(--heb-forest-800);
  margin-bottom: 14px;
}

.heb-legal-p {
  margin-bottom: 14px;
  font-size: 0.98rem;
  color: var(--heb-charcoal);
  text-align: justify;
}

.heb-legal-list {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.heb-legal-list li {
  margin-bottom: 6px;
}

/* ===================================================================
   FOOTER (Botanical Health Almanac Editorial Imprint)
   =================================================================== */

.heb-site-footer {
  background-color: var(--heb-forest-900);
  color: #d1fae5;
  padding: 40px 0 24px 0;
  border-top: 3px solid var(--heb-ochre-600);
  margin-top: auto;
  font-size: 0.92rem;
}

.heb-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.heb-footer-brand-col h4 {
  font-family: var(--heb-font-head);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 10px;
}

.heb-footer-disclaimer-text {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #a7f3d0;
  opacity: 0.85;
}

.heb-footer-col h5 {
  font-family: var(--heb-font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--heb-ochre-100);
  margin-bottom: 12px;
}

.heb-footer-nav-list {
  list-style: none;
}

.heb-footer-nav-list li {
  margin-bottom: 8px;
}

.heb-footer-nav-link {
  color: #d1fae5;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}
.heb-footer-nav-link:hover {
  color: var(--heb-ochre-100);
  text-decoration: underline;
}

.heb-footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  text-align: center;
  font-size: 0.78rem;
  color: #6ee7b7;
  font-family: var(--heb-font-sans);
}

/* ===================================================================
   COOKIE CONSENT BANNER (localStorage: healthyeatingbasics_cookie)
   =================================================================== */

.heb-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--heb-forest-900);
  color: #fff;
  border-top: 2px solid var(--heb-ochre-600);
  padding: 16px 24px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  display: none;
}

.heb-cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.heb-cookie-text {
  font-size: 0.88rem;
  line-height: 1.5;
  flex: 1 1 500px;
  color: #e2ded6;
}

.heb-cookie-text a {
  color: var(--heb-ochre-100);
  text-decoration: underline;
}

.heb-cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.heb-cookie-btn-accept {
  background-color: var(--heb-ochre-600);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-family: var(--heb-font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  min-height: 44px;
}
.heb-cookie-btn-accept:hover {
  background-color: var(--heb-ochre-500);
}

.heb-cookie-btn-decline {
  background: transparent;
  color: #d1fae5;
  border: 1px solid #d1fae5;
  padding: 10px 16px;
  font-family: var(--heb-font-sans);
  font-size: 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}
.heb-cookie-btn-decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ===================================================================
   RESPONSIVE MEDIA QUERIES (360px, 768px, 1280px, 1920px)
   =================================================================== */

@media (max-width: 980px) {
  .heb-almanac-layout-engine {
    flex-direction: column;
  }
  .heb-col-botanical-research {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
  }
  .heb-botanical-divider {
    width: 100%;
    height: 1px;
    margin: 32px 0;
    align-self: auto;
  }
  .heb-botanical-divider::after {
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
  }
  .heb-col-herbal-monographs {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0;
  }
  .heb-order-layout-grid {
    grid-template-columns: 1fr;
  }
  .heb-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .heb-main-wrapper {
    padding: 0 16px;
  }
  .heb-top-bar-flex {
    flex-direction: column;
    text-align: center;
  }
  .heb-editorial-p {
    text-align: left;
  }
  .heb-protocol-checklist-card,
  .heb-quiz-container,
  .heb-certificate-body,
  .heb-dispatch-card,
  .heb-legal-card {
    padding: 20px 16px;
  }
  .heb-badges-row {
    gap: 20px 24px;
  }
  .heb-badge-item {
    max-width: 110px;
  }
  .heb-badge-svg {
    width: 72px;
    height: 72px;
  }
  .heb-masthead-title {
    font-size: 1.8rem;
  }
  .heb-masthead-subtitle {
    font-size: 1rem;
  }
  .heb-pricing-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .heb-price-promo-wrap {
    text-align: left;
  }
}
