/* Supplement product page. Scoped so course products keep their current layout. */

body.fp-suplement {
  background: #f6eee9;
}

body.fp-suplement .fp-shop {
  padding: 28px 0 88px;
}

body.fp-suplement .fp-shop__shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

body.fp-suplement .fp-shop__kicker {
  margin: 0 0 8px;
  color: #ea5212;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.fp-suplement div.product {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
  align-items: start;
  float: none;
  width: auto;
  margin: 0;
}

body.fp-suplement div.product::before,
body.fp-suplement div.product::after {
  display: none;
}

body.fp-suplement div.product div.images,
body.fp-suplement div.product div.summary,
body.fp-suplement div.product .woocommerce-tabs {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

body.fp-suplement .woocommerce-product-gallery {
  position: relative;
  top: auto;
  opacity: 1 !important;
  padding: 28px;
  border: 1px solid rgba(103, 60, 51, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 42%, rgba(234, 82, 18, 0.08), transparent 46%),
    #fffdfb;
  box-shadow: 0 18px 50px rgba(103, 60, 51, 0.06);
}

body.fp-suplement .woocommerce-product-gallery .flex-viewport,
body.fp-suplement .woocommerce-product-gallery__wrapper,
body.fp-suplement .woocommerce-product-gallery__image,
body.fp-suplement .woocommerce-product-gallery__image a {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  float: none !important;
  transform: none !important;
  transition: none !important;
}

body.fp-suplement .woocommerce-product-gallery__image a {
  height: 100% !important;
}

body.fp-suplement .woocommerce-product-gallery .zoomImg {
  display: none !important;
}

body.fp-suplement .woocommerce-product-gallery__trigger {
  display: none !important;
}

body.fp-suplement .woocommerce-product-gallery__image {
  aspect-ratio: 1;
  overflow: hidden !important;
}

body.fp-suplement .woocommerce-product-gallery__image img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 18px;
  opacity: 1 !important;
}

body.fp-suplement span.onsale {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  min-height: 0;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: #ea5212;
  color: #fffdfb;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

body.fp-suplement div.product div.summary {
  padding: 32px 32px 28px;
  border: 1px solid rgba(103, 60, 51, 0.08);
  border-radius: 28px;
  background: #fffdfb;
  box-shadow: 0 18px 50px rgba(103, 60, 51, 0.06);
}

body.fp-suplement .product_title {
  margin: 0 0 14px;
  color: #3b2925;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

body.fp-suplement p.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin: 0 0 18px;
  color: #3b2925;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

body.fp-suplement p.price del {
  color: #a08e86;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 1;
}

body.fp-suplement p.price ins {
  color: #ea5212;
  font-weight: 750;
  text-decoration: none;
}

body.fp-suplement .woocommerce-price-suffix {
  color: #8a645b;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.fp-suplement .woocommerce-product-details__short-description {
  display: -webkit-box;
  margin: 0 0 22px;
  overflow: hidden;
  color: #673c33;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

body.fp-suplement .woocommerce-product-details__short-description p {
  margin: 0 0 8px;
  font-size: 16px;
}

body.fp-suplement .fp-flavors {
  margin: 0 0 18px;
}

body.fp-suplement .fp-flavors__label,
body.fp-suplement .fp-stocknote {
  margin: 0 0 8px;
  color: #3b2925;
  font-size: 13px;
  font-weight: 700;
}

body.fp-suplement .fp-flavors__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.fp-suplement .fp-flavor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px 0 16px;
  border: 1px solid rgba(103, 60, 51, 0.16);
  border-radius: 999px;
  background: #fffdfb;
  color: #3b2925;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}

body.fp-suplement .fp-flavor span {
  color: #8a645b;
  font-size: 12px;
  font-weight: 650;
}

body.fp-suplement .fp-flavor.is-active {
  border-color: #3b2925;
  background: #3b2925;
  color: #fffdfb;
}

body.fp-suplement .fp-flavor.is-active span {
  color: rgba(255, 253, 251, 0.72);
}

body.fp-suplement .fp-flavor:focus-visible,
body.fp-suplement .quantity .qty:focus-visible,
body.fp-suplement .single_add_to_cart_button:focus-visible {
  outline: 2px solid #ea5212;
  outline-offset: 2px;
}

body.fp-suplement.fp-flavors-ready table.variations {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}

body.fp-suplement form.cart {
  margin: 0;
}

body.fp-suplement .woocommerce-variation-description,
body.fp-suplement .woocommerce-variation-price {
  display: none;
}

body.fp-suplement .woocommerce-variation-availability,
body.fp-suplement .stock,
body.fp-suplement .stock.in-stock {
  margin: 0 0 12px;
  color: #3b2925 !important;
  font-size: 14px;
  font-weight: 650;
}

body.fp-suplement .woocommerce-variation-add-to-cart {
  display: flex;
  gap: 10px;
  align-items: center;
}

body.fp-suplement form.cart:not(.variations_form) {
  display: flex;
  gap: 10px;
  align-items: center;
}

body.fp-suplement .quantity {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 !important;
  float: none !important;
}

body.fp-suplement .quantity .screen-reader-text {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  clip: auto !important;
  clip-path: none !important;
  overflow: visible !important;
  color: #8a645b;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

body.fp-suplement .quantity .qty {
  width: 72px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(103, 60, 51, 0.18);
  border-radius: 14px;
  background: #fffdfb;
  color: #3b2925;
  color-scheme: light;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

body.fp-suplement .single_add_to_cart_button {
  flex: 1 1 auto;
  min-height: 48px;
  margin: 0 !important;
  padding: 0 32px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #c2410c !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 650 !important;
  letter-spacing: normal;
}

body.fp-suplement .single_add_to_cart_button:hover {
  background: #9a3412 !important;
  color: #fff !important;
}

body.fp-suplement .single_add_to_cart_button.disabled,
body.fp-suplement .single_add_to_cart_button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

body.fp-suplement .product_meta,
body.fp-suplement .reset_variations {
  display: none !important;
}

body.fp-suplement .woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: 18px !important;
  padding: 12px 32px 36px;
  border: 1px solid rgba(103, 60, 51, 0.08);
  border-radius: 28px;
  background: #fffdfb;
  box-shadow: 0 18px 50px rgba(103, 60, 51, 0.05);
}

body.fp-suplement div.product .woocommerce-tabs ul.tabs {
  display: flex !important;
  gap: 8px;
  position: static !important;
  overflow: visible !important;
  margin: 0 0 18px !important;
  padding: 18px 0 0 !important;
  border: 0 !important;
  list-style: none;
}

body.fp-suplement div.product .woocommerce-tabs ul.tabs::before,
body.fp-suplement div.product .woocommerce-tabs ul.tabs::after,
body.fp-suplement div.product .woocommerce-tabs ul.tabs li::before,
body.fp-suplement div.product .woocommerce-tabs ul.tabs li::after,
body.fp-suplement div.product .woocommerce-tabs ul.tabs li.active::before,
body.fp-suplement div.product .woocommerce-tabs ul.tabs li.active::after {
  display: none !important;
  content: none !important;
}

body.fp-suplement div.product .woocommerce-tabs ul.tabs li,
body.fp-suplement div.product .woocommerce-tabs ul.tabs li.active {
  display: block !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.fp-suplement div.product .woocommerce-tabs ul.tabs li a {
  display: inline-flex !important;
  align-items: center;
  float: none !important;
  min-height: 38px;
  padding: 0 14px !important;
  border-radius: 999px !important;
  background: #f6eee9 !important;
  color: #673c33 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none;
}

body.fp-suplement div.product .woocommerce-tabs ul.tabs li.active a {
  background: #3b2925 !important;
  color: #fffdfb !important;
}

body.fp-suplement .woocommerce-Tabs-panel {
  max-width: 760px;
  color: #673c33;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.65;
}

body.fp-suplement .woocommerce-Tabs-panel:has(.fp-opis) {
  max-width: none;
}

body.fp-suplement .woocommerce-Tabs-panel > h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

body.fp-suplement .woocommerce-Tabs-panel p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.65;
}

body.fp-suplement .product__info-text_accent {
  margin-top: 8px;
  padding: 20px 22px;
  border-radius: 18px;
  background: #f6eee9;
}

body.fp-suplement table.woocommerce-product-attributes {
  width: 100%;
  border: 0;
}

body.fp-suplement table.woocommerce-product-attributes th,
body.fp-suplement table.woocommerce-product-attributes td {
  padding: 14px 0;
  border-top: 1px solid rgba(103, 60, 51, 0.12);
  background: transparent;
  color: #3b2925;
  font-size: 15px;
  font-style: normal;
  font-weight: 650;
  text-align: left;
}

body.fp-suplement .related,
body.fp-suplement .upsells {
  display: none;
}

@media (max-width: 860px) {
  body.fp-suplement .fp-shop {
    padding-top: 16px;
  }

  body.fp-suplement div.product {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.fp-suplement .woocommerce-product-gallery {
    position: static;
    padding: 16px;
    border-radius: 22px;
  }

  body.fp-suplement .woocommerce-product-gallery__image img {
    height: min(420px, 92vw);
  }

  body.fp-suplement div.product div.summary,
  body.fp-suplement .woocommerce-tabs {
    padding: 22px 18px 24px;
    border-radius: 22px;
  }

  body.fp-suplement .product_title {
    font-size: 36px;
  }

  body.fp-suplement p.price {
    font-size: 30px;
  }

  body.fp-suplement .woocommerce-variation-add-to-cart,
  body.fp-suplement form.cart:not(.variations_form) {
    align-items: stretch;
  }
}

body.fp-suplement .woocommerce-product-details__short-description {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

body.fp-suplement .fp-opis {
  display: grid;
  gap: 34px;
}

body.fp-suplement .fp-opis__lead {
  max-width: 68ch;
  margin: 0 0 16px;
  color: #3b2925;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

body.fp-suplement .fp-opis__spec {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.fp-suplement .fp-opis__spec li {
  margin: 0;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: #f6eee9;
}

body.fp-suplement .fp-opis__spec strong {
  display: block;
  color: #3b2925;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
}

body.fp-suplement .fp-opis__spec span {
  display: block;
  margin-top: 6px;
  color: #8a645b;
  font-size: 13px;
  font-weight: 650;
}

body.fp-suplement .fp-opis__rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.fp-suplement .fp-opis__rows li {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid rgba(103, 60, 51, 0.12);
}

body.fp-suplement .fp-opis__rows strong {
  display: block;
  color: #3b2925;
  font-size: 15px;
  font-weight: 750;
}

body.fp-suplement .fp-opis__rows span {
  display: block;
  margin-top: 2px;
  color: #8a645b;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.4;
}

body.fp-suplement .fp-opis h3 {
  margin: 0 0 14px;
  color: #3b2925;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

body.fp-suplement .fp-opis__facts,
body.fp-suplement .fp-opis__types,
body.fp-suplement .fp-opis__split,
body.fp-suplement .fp-opis__effects,
body.fp-suplement .fp-opis__pair {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.fp-suplement .fp-opis__facts,
body.fp-suplement .fp-opis__effects,
body.fp-suplement .fp-opis__split,
body.fp-suplement .fp-opis__pair {
  grid-template-columns: 1fr 1fr;
}

body.fp-suplement .fp-opis__types {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.fp-suplement .fp-opis__facts li,
body.fp-suplement .fp-opis__effects li,
body.fp-suplement .fp-opis__types article,
body.fp-suplement .fp-opis__pair article,
body.fp-suplement .fp-opis__who li {
  margin: 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f6eee9;
  color: #3b2925;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

body.fp-suplement .fp-opis__split p {
  margin: 0;
  padding: 18px 20px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

body.fp-suplement .fp-opis__split .is-down {
  background: #fffdfb;
  border: 1px solid rgba(103, 60, 51, 0.12);
  color: #673c33;
}

body.fp-suplement .fp-opis__split .is-up {
  background: #3b2925;
  color: #fffdfb;
}

body.fp-suplement .fp-opis__types span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #ea5212;
  color: #fffdfb;
  font-size: 14px;
  font-weight: 750;
}

body.fp-suplement .fp-opis__types h4,
body.fp-suplement .fp-opis__effects strong,
body.fp-suplement .fp-opis__dose strong {
  display: block;
  margin: 0 0 4px;
  color: #3b2925;
  font-size: 16px;
  font-weight: 750;
}

body.fp-suplement .fp-opis__types p,
body.fp-suplement .fp-opis__pair p,
body.fp-suplement .fp-opis__dose p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

body.fp-suplement .fp-opis__note,
body.fp-suplement .fp-opis__close {
  margin: 14px 0 0;
  color: #3b2925;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

body.fp-suplement .fp-opis__dose {
  margin: 0;
}

body.fp-suplement .fp-opis__dose > div {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 8px 18px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid rgba(103, 60, 51, 0.12);
}

body.fp-suplement .fp-opis__dose dt {
  margin: 0;
  color: #3b2925;
  font-size: 15px;
  font-weight: 750;
}

body.fp-suplement .fp-opis__dose dd {
  margin: 0;
  color: #673c33;
  font-size: 15px;
  font-weight: 650;
}

body.fp-suplement .fp-opis__dose p {
  grid-column: 1 / -1;
  color: #8a645b;
  font-weight: 450;
}

body.fp-suplement .fp-opis__who {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.fp-suplement .fp-opis__who li {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
}

body.fp-suplement .fp-opis__safe {
  max-width: 68ch;
  margin: 0;
  color: #673c33;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 860px) {
  body.fp-suplement .fp-opis__facts,
  body.fp-suplement .fp-opis__types,
  body.fp-suplement .fp-opis__split,
  body.fp-suplement .fp-opis__effects,
  body.fp-suplement .fp-opis__pair,
  body.fp-suplement .fp-opis__rows,
  body.fp-suplement .fp-opis__spec,
  body.fp-suplement .fp-opis__dose > div {
    grid-template-columns: 1fr;
  }

  body.fp-suplement .fp-opis__spec {
    grid-template-columns: 1fr 1fr;
  }
}
