body.single-product .product-template-three .product-tag-badge {
  display: inline-block;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 20px;
  border-radius: 10px;
  margin-bottom: 12px;
}

body.single-product
  .product-template-three
  .navigation
  .navigation-item
  .pt-nav {
  gap: 15px;
}

body.single-product .product-template-three .product-three-nav-row {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body.single-product
  .product-template-three
  .product-three-nav-row::-webkit-scrollbar {
  display: none;
}

body.single-product
  .product-template-three
  .product-three-nav-row
  .navigation-item {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  white-space: nowrap;
}

@media (min-width: 768px) {
  body.single-product .product-template-three .product-three-nav-row {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  body.single-product
    .product-template-three
    .product-three-nav-row
    .navigation-item {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    white-space: normal;
  }
}

body.single-product .product-template-three .navigation .navigation-item a svg {
  transition: all 0.2s ease-in-out;
  max-height: 45px;
  min-height: 45px;
  fill: #000;
}

body.single-product
  .product-template-three
  .header-product
  .custom-icon-header {
  right: auto;
  left: auto;
}

/* Formulazione section background (Section 2) */
body.single-product .product-template-three .formulazione-gradient-bg {
  background: linear-gradient(
    180deg,
    #ff7801 0%,
    #f78b11 5%,
    #f78b11 95%,
    #ff7801 100%
  );
}

body.single-product .product-template-three .formulazione-grid {
  align-items: stretch;
}

body.single-product .product-template-three .formulazione-grid .can {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Come e Quando section (Section 3) */
body.single-product .product-template-three .come-e-quando-gradient-bg {
  background: #ff7801;
  background: linear-gradient(
    90deg,
    rgba(255, 120, 1, 1) 0%,
    #f78b11 30%,
    rgba(247, 139, 17, 1) 60%,
    rgba(255, 120, 1, 1) 100%
  );
}

body.single-product .product-template-three .how-when-step img {
  max-width: 100%;
}

body.single-product .product-template-three .how-when-tag-image {
  max-width: 360px;
  margin-bottom: 10px;
}

body.single-product .product-template-three .formulazione-grid .can img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* Formulazione pills (Section 2) */
body.single-product .product-template-three .benefit-pill {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 0 0 200px 0;
  padding: 10px 50px 10px 30px;
}

body.single-product .product-template-three .benefit-pill-icon {
  width: 140px;
  height: auto;
  object-fit: contain;
  margin-right: 15px;
  flex-shrink: 0;
}

body.single-product .product-template-three .benefit-pill-text {
  flex-grow: 1;
  color: #fff;
}

body.single-product .product-template-three .benefit-pill-title {
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.2;
}

body.single-product .product-template-three .benefit-pill-subtitle {
  font-size: 18px;
  opacity: 0.9;
  line-height: 1.2;
  margin-top: 2px;
}

body.single-product .product-template-three .benefit-pill-toggle {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background-color: #fff;
  color: #f47c00;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Formulazione benefit modal */
body.single-product .product-template-three .benefit-modal .modal-content {
  border: none;
  padding: 30px;
}

body.single-product .product-template-three .benefit-modal .close {
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 1;
  opacity: 1;
  font-size: 20px;
}

body.single-product .product-template-three .benefit-modal-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  height: 320px;
  max-width: 100%;
  border-radius: 50%;
  padding: 20px;
  background: #f48001;
  background: radial-gradient(50% 50% at 50% 50%, #f4b602 0%, #f48001 100%);
}

body.single-product .product-template-three .benefit-modal-circle img {
  max-width: 150%;
  max-height: 150%;
}

body.single-product .product-template-three .benefit-modal-title {
  margin-top: 15px;
}

body.single-product .product-template-three .benefits .product-label-card {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 15px;
  padding: 6px;
  font-size: 14px;
  width: auto;
  height: auto;
  max-width: 180px;
}

body.single-product .product-template-three .product-labels {
  flex-wrap: wrap;
}

body.single-product
  .product-template-three
  .product-labels
  .product-label-item {
  flex: 0 0 50%;
  max-width: 50%;
}

@media (min-width: 768px) {
  body.single-product .product-template-three .product-labels {
    flex-wrap: wrap;
  }

  body.single-product
    .product-template-three
    .product-labels
    .product-label-item {
    display: flex;
    gap: 24px;
    max-width: max-content;
  }
}

body.single-product
  .product-template-three
  section.nutrition-skills
  .table
  thead
  th.label,
body.single-product
  .product-template-three
  section.nutrition-skills
  .table
  tbody
  tr
  th,
body.single-product
  .product-template-three
  section.nutrition-skills
  .table
  tbody
  tr
  td {
  border-bottom: 1px solid white;
}

body.single-product
  .product-template-three
  .ingredients-tabs-three
  .card-header {
  background-color: #ffc078;
  padding: 15px 20px;
  cursor: pointer;
}

body.single-product
  .product-template-three
  .ingredients-tabs-three
  .card-header.active {
  background-color: #f47c00;
}

body.single-product
  .product-template-three
  .ingredients-tabs-three
  .card-header
  .btn-link {
  color: #fff;
  padding: 0;
  pointer-events: none;
}

body.single-product
  .product-template-three
  .ingredients-tabs-three
  .tab-content {
  background-color: #fff;
}

body.single-product
  .product-template-three
  .ingredients-tabs-three
  .tab-content
  .card-body {
  width: 100%;
  background: #f7f7f7;
}

@media (min-width: 768px) {
  body.single-product .product-template-three .header-product {
    height: var(--header-height-three, 410px) !important;
  }

  body.single-product .product-template-three .header-product .header-icon {
    max-height: 170px;
  }

  body.single-product .product-template-three .navigation .navigation-item a {
    font-size: 16px !important;
  }

  body.single-product
    .product-template-three
    .benefits
    .product-label-card
    img {
    width: 52px;
  }

  body.single-product .product-template-three .benefit-modal-title {
    margin-top: 0;
  }
}

/* Video spot (Come e Quando section) - single item, no carousel */
body.single-product
  .product-template-three
  .video-spots-three
  .video-spot-card {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  position: relative;
  text-decoration: none;
}

body.single-product
  .product-template-three
  .video-spots-three
  .video-spot-card
  picture,
body.single-product
  .product-template-three
  .video-spots-three
  .video-spot-card
  img {
  display: block;
  width: 100%;
}

body.single-product .product-template-three .video-spots-three .play-btn {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  z-index: 2;
}

body.single-product .product-template-three .video-spots-three .play-btn img {
  height: auto;
  width: 100%;
}

body.single-product .product-template-three .video-spots-three .owl-nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: -54px;
  margin-top: 0;
  pointer-events: none;
  position: absolute;
  right: -54px;
  top: 43%;
  transform: translateY(-50%);
}

body.single-product
  .product-template-three
  .video-spots-three
  .owl-nav
  button.owl-prev,
body.single-product
  .product-template-three
  .video-spots-three
  .owl-nav
  button.owl-next {
  align-items: center;
  background: transparent !important;
  color: #fff !important;
  display: flex;
  font-size: 40px !important;
  height: 72px;
  justify-content: center;
  line-height: 1 !important;
  margin: 0;
  pointer-events: auto;
  width: 54px;
}

body.single-product
  .product-template-three
  .video-spots-three
  .owl-nav
  button.owl-prev
  i,
body.single-product
  .product-template-three
  .video-spots-three
  .owl-nav
  button.owl-next
  i {
  display: block;
  line-height: 1;
}

body.single-product .product-template-three .video-spots-three .owl-dots {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

body.single-product
  .product-template-three
  .video-spots-three
  .owl-dots
  .owl-dot
  span {
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  height: 8px;
  margin: 0 5px;
  transition:
    width 0.2s ease,
    background-color 0.2s ease;
  width: 40px;
}

body.single-product
  .product-template-three
  .video-spots-three
  .owl-dots
  .owl-dot.active
  span {
  background-color: #fff;
  width: 40px;
}

@media (max-width: 767.98px) {
  body.single-product .product-template-three .video-spots-three .owl-nav {
    left: -10px;
    right: -10px;
  }

  body.single-product
    .product-template-three
    .video-spots-three
    .owl-nav
    button.owl-prev,
  body.single-product
    .product-template-three
    .video-spots-three
    .owl-nav
    button.owl-next {
    font-size: 28px !important;
    height: 48px;
    width: 36px;
  }
}

body.single-product .product-template-three .intro-blocks-three {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

body.single-product
  .product-template-three
  .intro-blocks-three
  [class*="col-"] {
  width: 83.3333%;
  max-width: 83.3333%;
  margin-left: auto;
  margin-right: auto;
  flex: none;
  padding: 0;
  margin-bottom: 0;
}

body.single-product .product-template-three .product-labels-subtitle {
  font-size: 16px;
}

@media (min-width: 768px) {
  body.single-product .product-template-three .intro-blocks-three {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 72px;
  }

  body.single-product
    .product-template-three
    .intro-blocks-three
    [class*="col-"] {
    width: auto;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    flex: none;
  }

  body.single-product .product-template-three .intro-blocks-three p {
    font-size: 16px;
  }
}

@media (min-width: 1320px) {
  body.single-product .product-template-three .intro-blocks-three {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 90px;
  }
}

@media (max-width: 767.99px) {
  body.single-product .header-product .container .img-container {
    height: auto !important;
  }

  body.single-product .product-template-three .benefit-pill {
    border-radius: 0 0 200px 0;
    padding: 10px 30px 10px 10px;
  }
  body.single-product .product-template-three .benefit-pill-title {
    font-size: 18px;
  }
  body.single-product .product-template-three .benefit-pill-subtitle {
    font-size: 14px;
  }
  body.single-product .product-template-three .benefit-pill-icon {
    width: 100px;
  }
  body.single-product .product-template-three .benefit-pill-toggle {
    width: 24px;
    height: 24px;
  }
  body.single-product .product-template-three .benefit-modal-circle {
    width: 150px;
    height: 150px;
  }

  body.single-product
    .product-template-three
    .product-labels
    .product-label-item {
    flex: 0 0 100%;
    max-width: 100%;
  }

  body.single-product .product-template-three .benefits .product-label-card {
    max-width: none;
  }

  body.single-product .benefits .product-label-card img {
    width: 40px;
  }

  body.single-product .product-template-three .product-labels-subtitle {
    font-size: 14px;
  }
}

.formulazione-pill-bg-one {
  background: linear-gradient(90deg, rgba(255, 161, 2, 0) 0%, #ffc204 65.38%);
}

.formulazione-pill-bg-two {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
}
