:root {
  --herboria-forest: #1f2b23;
  --herboria-sage: #7d8f74;
  --herboria-ivory: #f7f5f0;
  --herboria-card: #fffefb;
  --herboria-border: rgba(31, 43, 35, .14);
  --herboria-body: #4c514a;
  --herboria-muted: #7a8178;
}

/* Match WoodMart's native single-product accordion: plain rows, thin dividers, no cards. */
.herboria-product-accordion {
  width: 100%;
  margin: 0;
  border-top: 1px solid var(--herboria-border);
  background: transparent;
  font-family: inherit;
  color: var(--herboria-body);
}

.herboria-accordion-item {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--herboria-border);
  background: transparent;
  box-shadow: none;
}

.herboria-accordion-trigger,
.herboria-faq-question {
  appearance: none;
  -webkit-appearance: none;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 0;
  margin: 0 !important;
  padding: 17px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--herboria-forest) !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  cursor: pointer;
}

.herboria-accordion-trigger > span:first-child,
.herboria-faq-question > span:first-child {
  flex: 1 1 auto;
  text-align: left;
}

.herboria-accordion-trigger:hover,
.herboria-accordion-trigger:focus-visible,
.herboria-faq-question:hover,
.herboria-faq-question:focus-visible {
  color: var(--herboria-sage) !important;
  outline: none;
}

.herboria-accordion-icon {
  position: relative;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  color: currentColor;
  opacity: .55;
}

.herboria-accordion-icon::before,
.herboria-accordion-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .2s ease, opacity .2s ease;
}

.herboria-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

[aria-expanded="true"] .herboria-accordion-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%);
}

.herboria-accordion-panel,
.herboria-faq-answer {
  background: transparent;
}

.herboria-accordion-content {
  padding: 0 0 22px;
  background: transparent;
  color: var(--herboria-body);
  font-size: 14px;
  line-height: 1.7;
}

.herboria-accordion-content h2,
.herboria-accordion-content h3,
.herboria-product-section h2,
.herboria-product-section h3 {
  margin: 0 0 12px;
  color: var(--herboria-forest);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  line-height: 1.25;
}

.herboria-accordion-content h2,
.herboria-product-section h2 { font-size: 22px; }
.herboria-accordion-content h3,
.herboria-product-section h3 { font-size: 18px; }

.herboria-accordion-content p,
.herboria-product-section p {
  margin-top: 0;
  margin-bottom: 14px;
}

.herboria-accordion-content p:last-child,
.herboria-product-section p:last-child { margin-bottom: 0; }

.herboria-accordion-content ul,
.herboria-accordion-content ol,
.herboria-product-section ul,
.herboria-product-section ol {
  margin: 10px 0 16px;
  padding-left: 20px;
}

.herboria-features ul {
  display: grid;
  gap: 8px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.herboria-features li {
  position: relative;
  padding-left: 21px;
}

.herboria-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--herboria-sage);
  font-weight: 700;
}

.herboria-section-block + .herboria-section-block {
  margin-top: 22px;
}

/* Product table remains lightly structured, while all prose stays on a clean background. */
.herboria-details-table {
  overflow: hidden;
  border: 1px solid var(--herboria-border);
  border-radius: 4px;
  background: transparent;
}

.herboria-detail-row {
  display: grid;
  grid-template-columns: minmax(130px, 34%) 1fr;
  border-bottom: 1px solid var(--herboria-border);
}

.herboria-detail-row:last-child { border-bottom: 0; }

.herboria-detail-label,
.herboria-detail-value {
  padding: 11px 12px;
}

.herboria-detail-label {
  color: var(--herboria-forest);
  background: rgba(168, 177, 140, .09);
  font-weight: 600;
}

.herboria-detail-value {
  background: transparent;
}

/* Precautions are intentionally plain, like the native WoodMart content area. */
.herboria-precautions {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.herboria-faq-list {
  border-top: 1px solid var(--herboria-border);
}

.herboria-faq-item {
  border-bottom: 1px solid var(--herboria-border);
}

.herboria-faq-question {
  padding: 14px 0 !important;
  font-size: 14px;
}

.herboria-faq-answer-inner {
  padding: 0 0 17px;
  color: var(--herboria-body);
  font-size: 14px;
  line-height: 1.7;
}

.herboria-short-benefit {
  margin: 0 0 14px;
  color: #5c655d;
  font-size: 15px;
  line-height: 1.6;
}

.herboria-product-content-empty {
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: var(--herboria-muted);
  font-size: 13px;
}

@media (max-width: 767px) {
  .herboria-accordion-trigger { padding: 16px 0 !important; font-size: 14px; }
  .herboria-accordion-content { padding-bottom: 19px; font-size: 13.5px; }
  .herboria-detail-row { grid-template-columns: 1fr; }
  .herboria-detail-label { padding-bottom: 5px; }
  .herboria-detail-value { padding-top: 5px; }
}
