/* This file is intentionally scoped to WooCommerce single-product pages. */
body.fenek-product-design-active {
  --fenek-navy: #073f70;
  --fenek-orange: #f36a21;
  --fenek-yellow: #ffd348;
  --fenek-cream: #fff8eb;
  --fenek-line: #eadfc9;
}

body.fenek-product-design-active .altEmail_container {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.fenek-product-design-active .elementor-location-single > .elementor-element,
body.fenek-product-design-active .elementor-location-single .elementor-section,
body.fenek-product-design-active .elementor-location-single .e-con {
  font-family: "Source Sans 3", sans-serif;
}

body.fenek-product-design-active .woocommerce-product-gallery img {
  border-radius: 18px;
}

body.fenek-product-design-active .woocommerce-product-gallery__wrapper > div {
  overflow: hidden;
  border-radius: 20px;
  background: var(--fenek-cream);
}

body.fenek-product-design-active .woocommerce-product-gallery .flex-control-thumbs img {
  border: 1px solid transparent;
  border-radius: 10px;
  opacity: .78;
}

body.fenek-product-design-active .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
body.fenek-product-design-active .woocommerce-product-gallery .flex-control-thumbs img:hover {
  border-color: var(--fenek-orange);
  opacity: 1;
}

body.fenek-product-design-active h1.product_title,
body.fenek-product-design-active .elementor-widget-woocommerce-product-title h1,
body.fenek-product-design-active .woocommerce-tabs h2,
body.fenek-product-design-active .elementor-widget-heading h2 {
  color: var(--fenek-navy);
  font-family: Nunito, sans-serif;
  font-weight: 900;
  letter-spacing: -.025em;
}

body.fenek-product-design-active .elementor-widget-woocommerce-product-title .elementor-heading-title {
  color: var(--fenek-navy) !important;
  font-family: Nunito, sans-serif !important;
  font-weight: 900 !important;
}

/* Overrides the legacy global WooCommerce title rule using Fraunces !important. */
body.fenek-product-design-active.woocommerce div.product .product_title.elementor-heading-title {
  color: var(--fenek-navy) !important;
  font-family: Nunito, sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: -.025em !important;
}

body.fenek-product-design-active .woocommerce-product-details__short-description {
  color: #36546e;
  font-size: 18px;
  line-height: 1.65;
}

body.fenek-product-design-active .price,
body.fenek-product-design-active .price ins,
body.fenek-product-design-active .woocommerce-Price-amount {
  color: var(--fenek-orange);
  font-family: Nunito, sans-serif;
  font-weight: 900;
}

body.fenek-product-design-active form.cart {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: stretch;
}

body.fenek-product-design-active form.cart .quantity input {
  min-width: 58px;
  min-height: 50px;
  border: 1px solid var(--fenek-line);
  border-radius: 12px;
  color: var(--fenek-navy);
  font-weight: 700;
}

body.fenek-product-design-active form.cart .single_add_to_cart_button,
body.fenek-product-design-active .add_to_cart_button {
  min-height: 50px;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--fenek-orange) !important;
  color: #fff !important;
  font-family: Nunito, sans-serif;
  font-weight: 900;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

body.fenek-product-design-active form.cart .single_add_to_cart_button:hover,
body.fenek-product-design-active .add_to_cart_button:hover {
  background: #d85716 !important;
  box-shadow: 0 10px 22px rgba(243, 106, 33, .22);
  transform: translateY(-1px);
}

body.fenek-product-design-active .fenek-product-freebie {
  display: grid;
  gap: 4px;
  max-width: 460px;
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid #cfe2c6;
  border-radius: 14px;
  background: #f2faed;
  color: var(--fenek-navy);
}

body.fenek-product-design-active .fenek-product-freebie__eyebrow {
  color: #688351;
  font-family: Nunito, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

body.fenek-product-design-active .fenek-product-freebie strong {
  font-family: Nunito, sans-serif;
  font-size: 16px;
  line-height: 1.35;
}

body.fenek-product-design-active .fenek-product-freebie__detail {
  color: #48667d;
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

body.fenek-product-design-active .woocommerce-tabs {
  max-width: 1100px;
  margin: 56px auto;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--fenek-line);
  border-radius: 22px;
  background: #fff;
}

body.fenek-product-design-active .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px !important;
  padding: 0 !important;
  border: 0 !important;
}

body.fenek-product-design-active .woocommerce-tabs ul.tabs::before,
body.fenek-product-design-active .woocommerce-tabs ul.tabs li::before,
body.fenek-product-design-active .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

body.fenek-product-design-active .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  border: 1px solid var(--fenek-line) !important;
  border-radius: 999px !important;
  background: var(--fenek-cream) !important;
}

body.fenek-product-design-active .woocommerce-tabs ul.tabs li.active {
  border-color: var(--fenek-navy) !important;
  background: var(--fenek-navy) !important;
}

body.fenek-product-design-active .woocommerce-tabs ul.tabs li a {
  color: var(--fenek-navy) !important;
  font-family: Nunito, sans-serif;
  font-weight: 800;
}

body.fenek-product-design-active .woocommerce-tabs ul.tabs li.active a {
  color: #fff !important;
}

body.fenek-product-design-active .woocommerce-Tabs-panel {
  color: #36546e;
  font-size: 17px;
  line-height: 1.7;
}

body.fenek-product-design-active .woocommerce-Tabs-panel img,
body.fenek-product-design-active .entry-content img {
  display: block;
  width: auto;
  max-width: min(100%, 640px);
  height: auto;
  margin: 24px auto;
}

body.fenek-product-design-active .elementor-widget-loop-carousel {
  padding: 8px 0 18px;
}

body.fenek-product-design-active .elementor-widget-loop-carousel .e-loop-item {
  height: auto;
}

body.fenek-product-design-active .elementor-widget-loop-carousel .e-loop-item > .elementor,
body.fenek-product-design-active .elementor-widget-loop-carousel .e-loop-item .elementor-element {
  height: 100%;
}

body.fenek-product-design-active .elementor-widget-loop-carousel .product {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--fenek-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 63, 112, .08);
}

body.fenek-product-design-active .elementor-widget-loop-carousel .e-loop-item.product {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--fenek-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 63, 112, .08);
}

body.fenek-product-design-active .elementor-widget-loop-carousel .product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--fenek-cream);
}

body.fenek-product-design-active .elementor-widget-loop-carousel .e-loop-item.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--fenek-cream);
}

body.fenek-product-design-active .elementor-widget-loop-carousel .product .woocommerce-loop-product__title {
  min-height: 2.6em;
  padding: 18px 18px 0;
  color: var(--fenek-navy);
  font-family: Nunito, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}

body.fenek-product-design-active .elementor-widget-loop-carousel .e-loop-item.product .woocommerce-loop-product__title {
  min-height: 2.6em;
  padding: 18px 18px 0;
  color: var(--fenek-navy);
  font-family: Nunito, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}

body.fenek-product-design-active .elementor-widget-loop-carousel .product .price {
  padding: 10px 18px 0;
  font-size: 18px;
}

body.fenek-product-design-active .elementor-widget-loop-carousel .e-loop-item.product .price {
  padding: 10px 18px 0;
  font-size: 18px;
}

body.fenek-product-design-active .elementor-widget-loop-carousel .product .button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: auto 18px 18px;
  text-align: center;
}

body.fenek-product-design-active .elementor-widget-loop-carousel .e-loop-item.product .button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: auto 18px 18px;
  text-align: center;
}

body.fenek-product-design-active .elementor-widget-loop-carousel .star-rating,
body.fenek-product-design-active .elementor-widget-loop-carousel .wc-gzd-additional-info {
  display: none !important;
}

body.fenek-product-design-active .fenek-product-recommendations {
  max-width: 1200px;
  margin: 56px auto;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--fenek-line);
  border-radius: 22px;
  background: #fffdf7;
}

body.fenek-product-design-active .fenek-product-recommendations__group + .fenek-product-recommendations__group {
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid rgba(7, 63, 112, .15);
}

body.fenek-product-design-active .fenek-product-recommendations__heading {
  margin-bottom: 24px;
  text-align: center;
}

body.fenek-product-design-active .fenek-product-recommendations__heading p {
  margin: 0 0 5px;
  color: #688351;
  font-family: Nunito, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.fenek-product-design-active .fenek-product-recommendations__heading h2 {
  margin: 0;
  color: var(--fenek-navy);
  font-family: Nunito, sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
}

body.fenek-product-design-active .fenek-product-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body.fenek-product-design-active .fenek-product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--fenek-line);
  min-width: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(7, 63, 112, .06);
}

body.fenek-product-design-active .fenek-product-card__image {
  display: block;
  margin: 12px 12px 0;
  padding: 10px;
  border-radius: 6px;
  background: var(--fenek-cream);
}

body.fenek-product-design-active .fenek-product-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

body.fenek-product-design-active .fenek-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px 16px 16px;
}

body.fenek-product-design-active .fenek-product-card h3 {
  min-height: 2.65em;
  margin: 0;
  font-family: Nunito, sans-serif;
  font-size: 17px;
  line-height: 1.35;
}

body.fenek-product-design-active .fenek-product-card h3 a {
  color: var(--fenek-navy) !important;
  text-decoration: none;
}

body.fenek-product-design-active .fenek-product-card__price {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: baseline;
  min-height: 30px;
  margin: 14px 0 2px;
  color: var(--fenek-orange);
  font-family: Nunito, sans-serif;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

body.fenek-product-design-active .fenek-product-card__price del {
  color: #8b98a4;
  font-size: 14px;
  font-weight: 800;
  text-decoration-thickness: 1px;
}

body.fenek-product-design-active .fenek-product-card__price ins {
  color: var(--fenek-orange);
  font-size: clamp(20px, 1.7vw, 24px);
  font-style: normal;
  font-weight: 900;
  text-decoration: none;
}

body.fenek-product-design-active .fenek-product-card__price-note {
  min-height: 20px;
  margin: 0 0 16px;
  color: #64788a;
  font-family: "Source Sans 3", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

body.fenek-product-design-active .fenek-product-card__price-note strong {
  color: #48667d;
  font-weight: 800;
}

body.fenek-product-design-active .fenek-product-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: auto;
  border-radius: 9px;
  background: var(--fenek-orange);
  color: #fff !important;
  font-family: Nunito, sans-serif;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

/* Legacy surprise template: hide the delayed insert at its source. */
body.fenek-product-design-active .elementor-element-c6cafb8,
body.fenek-product-design-active .elementor-element-5d473fb9 {
  display: none !important;
}

/* Product 453: compact expert portrait and an embedded free worksheet card. */
body.postid-453 .elementor-element-40ffb03a img[alt*="Piotr Janoszka"] {
  width: min(100%, 320px) !important;
  height: 320px !important;
  margin: 0 auto !important;
  object-fit: cover;
  border-radius: 50%;
}

body.postid-453 .fenek-product-resources {
  max-width: 760px;
  margin: 30px auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #d6e4d0;
  border-radius: 18px;
  background: #f7fcf3;
  box-shadow: 0 8px 24px rgba(7, 63, 112, .06);
}

body.postid-453 .fenek-product-resources__eyebrow {
  margin: 0 0 6px;
  color: #688351;
  font-family: Nunito, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.postid-453 .fenek-product-resources h3 {
  margin: 0;
  color: var(--fenek-navy);
  font-family: Nunito, sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
}

body.postid-453 .fenek-product-resources__intro {
  margin: 8px 0 22px;
  color: #48667d;
  font-size: 17px;
  line-height: 1.55;
}

body.postid-453 .fenek-product-resources ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.postid-453 .fenek-product-resources__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid #d6e4d0;
  border-radius: 12px;
  background: #fff;
}

body.postid-453 .fenek-product-resources__item h4,
body.postid-453 .fenek-product-resources__item p {
  margin: 0;
}

body.postid-453 .fenek-product-resources__item h4 {
  color: var(--fenek-navy);
  font-family: Nunito, sans-serif;
  font-size: 17px;
  font-weight: 900;
}

body.postid-453 .fenek-product-resources__item p {
  margin-top: 3px;
  color: #48667d;
  font-size: 15px;
  line-height: 1.4;
}

body.postid-453 .fenek-product-resources__item a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 9px;
  background: var(--fenek-orange);
  color: #fff !important;
  font-family: Nunito, sans-serif;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 767px) {
  body.fenek-product-design-active .woocommerce-product-details__short-description {
    font-size: 16px;
  }

  body.fenek-product-design-active .woocommerce-tabs {
    margin: 34px 16px;
    padding: 24px 20px;
  }

  body.fenek-product-design-active form.cart .single_add_to_cart_button {
    flex: 1 1 180px;
  }

  body.fenek-product-design-active .fenek-product-recommendations {
    margin: 34px 16px;
    padding: 24px 18px;
  }

  body.fenek-product-design-active .fenek-product-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body.fenek-product-design-active .fenek-product-card__body {
    padding: 14px;
  }

  body.fenek-product-design-active .fenek-product-card h3 {
    font-size: 16px;
  }

  body.postid-453 .fenek-product-resources {
    margin: 26px 0;
    padding: 22px 18px;
  }

  body.postid-453 .fenek-product-resources__item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.postid-453 .fenek-product-resources__item a {
    width: 100%;
  }
}
