/*
 * NF Product Description — nf-product-description.css
 * Scoped to .nf-pd-wrap — safe to drop into any Flatsome / WooCommerce page.
 * Mobile-first, fully responsive.
 */

/* ─── TOKENS ─── */
.nf-pd-wrap {
  --nf-navy:       #1B2B4B;
  --nf-navy-deep:  #152038;
  --nf-gold:       #C8A96E;
  --nf-skin:       #B08D6A;
  --nf-cream:      #F7F4EF;
  --nf-cream-mid:  #F0EDE6;
  --nf-border:     #E2DDD5;
  --nf-text-dark:  #1B2B4B;
  --nf-text-mid:   #444444;
  --nf-text-muted: #666666;
  --nf-white:      #ffffff;
}


@media (min-width: 768px) and (max-width: 1270px) {
	.nf-pd-wrap {padding:0 30px;}
}

.product-short-description {
    color: #444444;
}
.nf-pd-below-title {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #272727;
    margin-bottom: 20px;
}

button.single_add_to_cart_button.button.alt {
    background-color: #002449 !important;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 1.5px;
    flex:1;
}
.woocommerce-variation-add-to-cart, form.cart {
    display: flex;
    gap: 1em;
    width: 100%;
    flex-wrap: inherit;
}
.wpa-test-msg {
    display: none;
}
h1.product-title.product_title.entry-title {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 220%;
	margin: 0 0 10px 0;
}
.ux-quantity, .ux-quantity input {
    min-height: 50px;
}
input.ux-quantity__button {
    min-width: 40px;
}

.social-icons.share-icons {
    color: #002449;
}

/* ─── DIVIDER ─── */
.nf-pd-divider {
  border: none;
  border-top: 1px solid var(--nf-border);
  margin: 0 24px;
}
@media (min-width: 768px) {
  .nf-pd-divider { margin: 0 56px; }
}

/* ─────────────────────────────────────────────
   THE DETAILS
───────────────────────────────────────────── */
.nf-pd-details-section {
  margin: 0 auto;
  padding: 40px 0;
}

.nf-pd-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .nf-pd-details-grid {
    grid-template-columns: 180px 1fr;
    gap: 56px;
  }
}

.nf-pd-details-label {
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--nf-navy);
}

.nf-pd-details-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--nf-text-mid);
}
.nf-pd-details-body p { margin: 0 0 0.6em; }
.nf-pd-details-body p:last-child { margin-bottom: 0; }
.nf-pd-details-intro   { margin-bottom: 1.4em !important; }
.nf-pd-details-closing { margin-top: 1.4em !important; font-style: italic;  }

/* Detail rows */
.nf-pd-benefits-grid {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--nf-border);
  margin-top: 4px;
}

.nf-pd-section-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--nf-border);
}
@media (min-width: 600px) {
  .nf-pd-section-block {
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    align-items: baseline;
  }
}

.nf-pd-subhead {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--nf-navy);
  padding-top: 2px;
}

/* Show-more clamp */
.nf-pd-details-clamp {
  position: relative;
  max-height: 90px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.nf-pd-details-clamp.is-expanded { max-height: 2000px; }

.nf-pd-details-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 56px;
  pointer-events: none;
  transition: opacity 0.4s;
}
.nf-pd-details-clamp.is-expanded .nf-pd-details-fade { opacity: 0; }

.nf-pd-details-toggle {
  background: none;
  border: none;
  border-bottom: 1px solid var(--nf-gold);
  padding: 0 0 2px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--nf-navy);
  cursor: pointer;
  margin-top: 20px;
  transition: opacity 0.2s;
}
.nf-pd-details-toggle:hover { opacity: 0.6; }

/* ─────────────────────────────────────────────
   ACCORDION
───────────────────────────────────────────── */
.nf-pd-accordion-wrap {
  max-width: 1280px;
  margin: 0 auto;
}

.nf-pd-accordion-item { border-top: 1px solid var(--nf-border); }
.nf-pd-accordion-item:last-child { border-bottom: 1px solid var(--nf-border); }

.nf-pd-accordion-btn {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--nf-navy);
  text-align: left;
  cursor: pointer;
  transition: opacity 0.2s;
  margin:0;
}
.nf-pd-accordion-btn:hover { opacity: 0.65; }

.nf-pd-acc-plus {
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.35s;
  line-height: 1;
  flex-shrink: 0;
}
.nf-pd-accordion-btn.is-open .nf-pd-acc-plus { transform: rotate(45deg); }

.nf-pd-accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}
.nf-pd-accordion-body.is-open { max-height: 6000px; }

.nf-pd-accordion-wrap--joined > .nf-pd-accordion-item:first-child { border-top: none; }

.nf-pd-accordion-inner {
  padding-bottom: 32px;
}
@media (min-width: 900px) {
  .nf-pd-accordion-inner {
    padding-left: 180px;
    padding-bottom: 36px;
  }
}

/* ─────────────────────────────────────────────
   HOW TO USE — STEP GRID
───────────────────────────────────────────── */
.nf-pd-how-to-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 560px) {
  .nf-pd-how-to-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .nf-pd-how-to-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.nf-pd-step-card {
  border: 1px solid var(--nf-border);
  padding: 24px 20px;
}

.nf-pd-step-img {
  margin-bottom: 14px;
}
.nf-pd-step-img img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  opacity: 0.85;
}

.nf-pd-step-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--nf-text-muted);
  margin-bottom: 8px;
}

.nf-pd-step-desc {
  font-size: 15px;
  color: var(--nf-text-mid);
  line-height: 1.75;
}
.nf-pd-step-desc p { margin: 0 0 0.5em; }

/* ─────────────────────────────────────────────
   RESULTS
───────────────────────────────────────────── */
.nf-pd-r-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .nf-pd-r-content {
    grid-template-columns: 1fr 1.6fr;
    gap: 56px;
    align-items: center;
  }
}

.nf-pd-ba-name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--nf-navy);
  margin-bottom: 4px;
}

.nf-pd-ba-duration {
  font-size: 13px;
  color: var(--nf-text-muted);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.nf-pd-ba-results-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nf-pd-ba-results-list li {
	font-size: 16px;
    color: var(--text-mid);
    padding: 5px 0 15px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.3px;
    margin: 0 !important;
}

.nf-pd-ba-results-list li::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: var(--gold);
    flex-shrink: 0;
}

.nf-pd-r-cta { margin-top: 24px; }

.nf-pd-r-link {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--nf-navy);
  border-bottom: 1px solid var(--nf-gold);
  padding-bottom: 2px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nf-pd-r-link:hover { opacity: 0.65; }

.nf-pd-r-visual img,
.nf-pd-r-visual iframe,
.nf-pd-r-visual > * {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ─────────────────────────────────────────────
   COMPLETE YOUR ROUTINE — RELATED PRODUCTS
───────────────────────────────────────────── */
.nf-pd-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (min-width: 600px) {
  .nf-pd-related-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 900px) {
  .nf-pd-related-grid { gap: 40px; }
}

.nf-pd-related-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  overflow: hidden;
  position: relative;
}

.nf-pd-related-img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--nf-cream);
}
.nf-pd-related-img-wrap a { display: block; width: 100%; height: 100%; }
.nf-pd-related-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.nf-pd-related-card:hover .nf-pd-related-img-wrap img {
  transform: scale(1.04);
}

.nf-pd-related-caption {
  padding: 14px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (min-width: 480px) {
  .nf-pd-related-caption {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }
}

.nf-pd-related-name {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nf-navy);
  font-weight: 500;
}

.nf-pd-related-price {
  font-size: 0.80rem;
  color: var(--nf-text-muted);
  white-space: nowrap;
}
/* WooCommerce price HTML */
.nf-pd-related-price .woocommerce-Price-amount { color: var(--nf-text-muted); }
.nf-pd-related-price ins { text-decoration: none; }

.nf-pd-related-btns {
  padding: 4px 0 16px;
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.nf-pd-related-btn-cart,
.nf-pd-related-btn-discover {
  flex: 1;
  display: block;
  padding: 11px 4px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 1px solid;
}


.nf-pd-related-btn-cart {
  background: var(--nf-cream);
  color: var(--nf-navy);
  border-color: var(--nf-border);
}
.nf-pd-related-btn-cart:hover {
  background: var(--nf-navy);
  color: #fff;
  border-color: var(--nf-navy);
}

.nf-pd-related-btn-discover {
  background: transparent;
  color: var(--nf-navy);
  border-color: var(--nf-navy);
}
.nf-pd-related-btn-discover:hover {
  background: var(--nf-navy);
  color: #fff;
}

a.added_to_cart {
    font-size: .8em;
    font-weight: 400!important;
    padding: 10px 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ─────────────────────────────────────────────
   CUSTOMER REVIEWS
───────────────────────────────────────────── */
.nf-pd-reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 560px) {
  .nf-pd-reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .nf-pd-reviews-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.nf-pd-review-card {
  background: var(--nf-cream);
  padding: 24px 22px;
}
@media (min-width: 768px) {
  .nf-pd-review-card { padding: 32px; }
}

.nf-pd-review-stars {
  color: var(--nf-gold);
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.nf-pd-review-quote {
  font-size: 15px;
  line-height: 1.85;
  color: var(--nf-text-mid);
  font-style: italic;
  margin-bottom: 16px;
}

.nf-pd-review-author {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--nf-text-muted);
}
.nf-pd-review-author strong {
  color: var(--nf-navy);
  font-weight: 500;
}

/* ─────────────────────────────────────────────
   INGREDIENTS
───────────────────────────────────────────── */
.nf-pd-inci-label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--nf-text-muted);
  margin-bottom: 14px;
}

.nf-pd-inci-text {
  font-size: 15px;
  color: var(--nf-text-mid);
  line-height: 2;
}

/* ─────────────────────────────────────────────
   FAQ body — preserve output from do_shortcode
───────────────────────────────────────────── */
.nf-pd-faq-body {
  font-size: 15px;
  color: var(--nf-text-mid);
  line-height: 1.85;
}

/* ─────────────────────────────────────────────
   ICONS BEFORE ADD TO CART
───────────────────────────────────────────── */
.nf-pd-icons-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: flex-start;
  padding: 10px 0 40px 0;
  justify-content:center;
}

.nf-pd-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 60px;
  text-align: center;
}

.nf-pd-icon-item img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.nf-pd-icon-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--nf-text-muted);
  line-height: 1.3;
}

/* ─────────────────────────────────────────────
   FOOTER SHORTCODE area
───────────────────────────────────────────── */

