/* BodyFrank product details: icon highlights, claim, nutrition tab, coming-soon state. */
.bf-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 6px !important; padding: 0 !important; list-style: none; }
.bf-highlights li { display: flex; gap: 12px; align-items: center; margin: 0 !important; padding: 12px 14px; border: 1px solid var(--bf-line); border-radius: 12px; background: #fff; }
.bf-highlights__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--bf-fire); box-shadow: 0 8px 18px rgb(255 90 0 / 0.22); }
.bf-highlights__icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bf-highlights strong { display: block; font-size: 0.88rem; line-height: 1.25; color: var(--bf-ink); }
.bf-highlights small { display: block; margin-top: 2px; font-size: 0.74rem; line-height: 1.35; color: #6b717b; }
.bf-claim { margin: 8px 0 0 !important; font-size: 0.72rem; line-height: 1.5; color: #8a9099; }

/* Nutrition & ingredients tab */
.bf-nutri { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: start; max-width: 1100px; margin-inline: auto; }
.bf-nutri h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 1rem !important; font-style: normal; color: var(--bf-ink); }
.bf-nutri h3 svg { width: 18px; height: 18px; fill: none; stroke: #e8530b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bf-nutri__table { padding: 20px; border: 1px solid var(--bf-line); border-radius: 14px; background: #fff; }
.bf-nutri__serving { margin: -4px 0 12px; font-size: 0.82rem; color: #6b717b; }
.bf-nutri__table table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.bf-nutri__table thead th { padding: 8px 0; border-bottom: 3px solid var(--bf-ink); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bf-ink); text-align: right; }
.bf-nutri__table thead th:first-child { text-align: left; }
.bf-nutri__table td { padding: 9px 0; border-bottom: 1px solid #ececee; color: var(--bf-ink); text-align: right; font-weight: 600; }
.bf-nutri__table td:first-child { text-align: left; font-weight: 700; }
.bf-nutri__table tr.is-sub td:first-child { padding-left: 16px; font-weight: 500; color: #6b717b; }
.bf-nutri__table tr.is-sub td { font-weight: 500; color: #6b717b; }
.bf-nutri__info { display: grid; gap: 12px; }
.bf-nutri__block { padding: 18px 20px; border: 1px solid var(--bf-line); border-radius: 14px; background: #fafafb; }
.bf-nutri__block div, .bf-nutri__block p { margin: 0; font-size: 0.88rem; line-height: 1.65; color: var(--bf-muted); }
.bf-nutri__block p + p { margin-top: 6px; }

/* Coming soon */
.bf-soon { display: grid; gap: 6px; margin: 16px 0; padding: 16px 18px; border: 1px dashed #ffc29e; border-radius: 14px; background: #fff7f0; }
.bf-soon__pill { justify-self: start; padding: 5px 12px; border-radius: 999px; background: var(--bf-ink); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.bf-soon p { margin: 0; font-size: 0.86rem; color: var(--bf-muted); }
.bf-soon a { color: #e8530b; font-weight: 700; }
.bf-badge-soon {
  position: absolute; top: 20px; right: 20px; z-index: 3; padding: 4px 10px; border-radius: 6px; background: #fff; color: var(--bf-ink);
  border: 1px solid var(--bf-line); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
ul.products li.product .bf-soon-btn { background-image: none !important; background-color: var(--bf-ink) !important; color: #fff !important; }

@media (max-width: 989px) {
  .bf-nutri { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
  .bf-highlights { grid-template-columns: 1fr; }
}

/* Product cards: show the whole artwork, no crop */
ul.products li.product .ct-media-container { background: radial-gradient(ellipse 70% 60% at 70% 30%, rgb(255 138 0 / 0.14), transparent 65%), linear-gradient(160deg, #fff, #f4f4f6) !important; }
ul.products li.product .ct-media-container img { object-fit: contain !important; padding: 6%; }
ul.products li.product .wc-gzd-additional-info { margin: 0 0 2px !important; }

/* Product card order: title, price, unit price, legal info, category, button */
ul.products li.product > .woocommerce-loop-product__title { order: 1; }
ul.products li.product > .price:not(.price-unit) { order: 2; margin-bottom: 0 !important; }
ul.products li.product > .price-unit { order: 3; margin: 0 !important; font-size: 0.75rem !important; color: #6b717b; }
ul.products li.product > .wc-gzd-additional-info-loop { order: 4; font-size: 0.72rem !important; line-height: 1.4; }
ul.products li.product > .entry-meta { order: 5; margin-top: 4px !important; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: #8a9099; }
ul.products li.product > .ct-woo-card-actions { order: 10; margin-top: auto !important; padding-top: 12px; }

/* Nutrition table: horizontal rules only (theme adds cell borders) */
.bf-nutri__table table, .bf-nutri__table th, .bf-nutri__table td { border-left: 0 !important; border-right: 0 !important; border-top: 0 !important; }
.bf-nutri__table table { border: 0 !important; }
.bf-nutri__table th, .bf-nutri__table td { padding-inline: 0 0 !important; }
.bf-nutri__table td + td, .bf-nutri__table th + th { padding-left: 14px !important; white-space: nowrap; }
/* Active tab: white text on the dark pill */
.single-product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }

/* Rating line on its own row above the price */
.single-product .summary .bf-rev-mini { display: flex !important; width: fit-content; }
