/* Phase 7h.2 (naturali-inner.php): /reviews/, About, FAQ, shop cards and product pages. Loaded only with the 7h.2
   flag on, and never on the homepage. */

/* ---------------------------------------------------------------- shared page frame */
.nfi-page { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: #1a1a4e; line-height: 1.55; }
.nfi-wrap { max-width: 720px; margin: 0 auto; }
.nfi-page h1 { margin: 0 0 10px; font-family: 'Fraunces', 'Fraunces Fallback', Georgia, serif; font-weight: 600; font-size: clamp(30px, 6vw, 42px); line-height: 1.1; letter-spacing: -0.5px; color: #1a1a4e; }
.nfi-page h2 { margin: 0 0 6px; font-family: 'Inter', system-ui, sans-serif; font-size: 17px; font-weight: 800; line-height: 1.3; color: #1a1a4e; }
.nfi-lede { margin: 0 0 18px; font-size: 16px; color: #4a4a68; }

/* ---------------------------------------------------------------- /reviews/ (the reviews block brings its own styles) */
.nfi-reviews { padding: 8px 0 24px; }
.nfi-reviews .nfi-wrap { padding: 0 20px; }
.nfi-reviews .nfi-lede { margin-bottom: 14px; }

/* ---------------------------------------------------------------- About */
.nfi-about p { margin: 0 0 10px; font-size: 15px; }
.nfi-principles { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0 0 18px !important; padding: 0 !important; list-style: none; }
.nfi-principles li { margin: 0; padding: 12px 14px; border-radius: 14px; background: #e8f5f5; }
.nfi-principles p { margin: 0; font-size: 14px; color: #4a4a68; }
.nfi-block { margin: 0 0 16px; scroll-margin-top: 90px; }
.nfi-promise { padding-top: 12px; border-top: 1px solid #e6e6ef; font-size: 14px !important; color: #6b6b85; }
.nfi-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: #3a3a93; color: #fff !important; font-weight: 700; text-decoration: none; }
.nfi-btn:hover { background: #2e2e78; }
@media (min-width: 720px) { .nfi-principles { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------- FAQ: 16 px from the screen edge */
@media (max-width: 767px) {
	.nfi.page-id-185 .content-container.site-container { padding-left: 16px; padding-right: 16px; }
	.nfi.page-id-185 .entry-content .alignfull > .wp-block-group__inner-container { padding-left: 16px; padding-right: 16px; }
}

/* ---------------------------------------------------------------- shop */
.nfi ul.products li.product { position: relative; }
.nfi-badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 3px 9px; border-radius: 999px; background: #f5a623; color: #1a1a4e; font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; line-height: 1.5; pointer-events: none; }
.nfi-card-img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.nfi-card-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; aspect-ratio: 1; background: #f2e8d5; color: #1a1a4e; font-family: 'Fraunces', 'Fraunces Fallback', Georgia, serif; font-size: 20px; font-weight: 600; text-align: center; }
.nfi-card-ph small { font-family: 'Inter', system-ui, sans-serif; font-size: 12px; font-weight: 600; color: #6b6b85; }
/* Two cards a row on phones: nine products in under six screens. */
@media (max-width: 543px) {
	.nfi ul.products.grid-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; row-gap: 12px; }
	.nfi ul.products li.product .product-details { padding: 10px 10px 12px; }
	.nfi ul.products li.product .woocommerce-loop-product__title { font-size: 14px; line-height: 1.3; }
	.nfi ul.products li.product .star-rating-wrap, .nfi ul.products li.product .jdgm-widget { font-size: 12px; }
	.nfi-badge { top: 6px; left: 6px; font-size: 10px; padding: 2px 7px; }
	.nfi-card-ph { font-size: 16px; }
}

/* ---------------------------------------------------------------- product pages */
/* Subscribe above One-time; the plugin prints One-time first. */
.nfi .wcsatt-options-prompt-radios { display: flex; flex-direction: column-reverse; }
/* Judge.me on product pages: no medals or photo gallery (the reviews keep their photos). */
.nfi.single-product .jdgm-medals-wrapper, .nfi.single-product .jdgm-gallery-wrapper, .nfi.single-product .jdgm-rev-widg__gallery { display: none !important; }
/* Description: first section, then "Read more". */
.nfi-more > summary { display: inline-flex; align-items: center; min-height: 44px; margin: 4px 0 8px; color: #3a3a93; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; list-style: none; }
.nfi-more > summary::-webkit-details-marker { display: none; }
.nfi-more[open] > summary { display: none; }
