.vpp-product--v1 {
  margin-top: 0;
}

.vpp-product__breadcrumbs--version_1 {
  background: var(--vpp-breadcrumb-bg, #76c141);
  padding: 10px 0;
}

.vpp-product__breadcrumbs--version_1 a {
  font-size: 15px;
  line-height: 1.5em;
}

.vpp-product__sticky-purchase-inner {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.75rem 0;
  display: grid;
  gap: 1rem;
  align-items: center;
  grid-template-columns: auto 1fr auto;
}

.vpp-product__hero-left,
.vpp-product__hero-right {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.vpp-product__hero-features {
  margin-top: 0.5rem;
}

.vpp-product__features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vpp-product__feature-item {
  border: 1px solid var(--vpp-blue-border);
  border-radius: 12px;
  padding: 1rem;
  background: #f9fbff;
}

.vpp-product__feature-item::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: #1e57a6;
  opacity: 0.14;
}

.vpp-product__feature-item--has-inline-icon::before {
  display: none;
}

.vpp-product__feature-icon {
  width: 1.125rem;
  height: 1.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1e57a6;
  flex: 0 0 1.125rem;
}

.vpp-product__feature-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.vpp-product__feature-item dt {
  margin: 0;
  color: #1e57a6;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.2em;
}

.vpp-product__feature-title {
  font-weight: 700;
}

.vpp-product__feature-item dd {
  margin: 0.25rem 0 0;
  color: #1b1f24;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.2em;
}

.vpp-product__feature-item--has-inline-icon dd {
  padding-left: 26px;
}

.vpp-product--v1 .vpp-product__gallery {
  width: 100%;
  margin: 0 auto;
  /* border: 1px solid var(--vpp-blue-border); */
  /* border-radius: 12px; */
  /*background: #f9fbff;*/
  background: #fff;
  overflow: hidden;
}

.vpp-product--v1 .vpp-product__gallery .woocommerce-product-gallery {
  width: 100% !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.vpp-product--v1 .vpp-product__gallery .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  max-width: var(--vpp-gallery-image-max-width, 380px);
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.vpp-product--v1 .vpp-product__gallery .woocommerce-product-gallery__wrapper {
  min-height: 300px;
}

.vpp-product__gallery--v1 .woocommerce-product-gallery--single-image .woocommerce-product-gallery__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vpp-product__gallery--v1 .woocommerce-product-gallery--single-image .woocommerce-product-gallery__image {
  width: 100%;
  margin: 0;
}

.vpp-product__gallery--v1 .woocommerce-product-gallery--single-image .woocommerce-product-gallery__image a,
.vpp-product__gallery--carousel-simple .woocommerce-product-gallery__image a,
.vpp-product__gallery--native-thumbnails .flex-viewport .woocommerce-product-gallery__image a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vpp-product__gallery--v1 .woocommerce-product-gallery--single-image .woocommerce-product-gallery__image a,
.vpp-product__gallery--native-thumbnails .flex-viewport .woocommerce-product-gallery__image a {
  min-height: 380px;
  padding: 1rem;
}

.vpp-product__gallery--carousel-simple {
  --vpp-carousel-easing: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  width: 100%;
}

.vpp-product__gallery--carousel-simple .woocommerce-product-gallery {
  position: relative;
  overflow: hidden;
}

.vpp-product__gallery--carousel-simple .woocommerce-product-gallery__wrapper {
  position: relative;
  min-height: 300px;
  width: 100%;
  display: flex;
  transition: transform var(--vpp-carousel-duration, 350ms) var(--vpp-carousel-easing, ease);
  will-change: transform;
  backface-visibility: hidden;
}

.vpp-product__gallery--carousel-simple .woocommerce-product-gallery__image {
  margin: 0;
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}

.vpp-product__gallery--carousel-simple[data-vpp-carousel-effect="slide"] .woocommerce-product-gallery__image {
  position: relative;
  inset: auto;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.vpp-product__gallery--carousel-simple[data-vpp-carousel-effect="fade"] .woocommerce-product-gallery__wrapper {
  display: block;
  transition: none;
  min-height: 1px;
  transform: none !important;
}

.vpp-product__gallery--carousel-simple[data-vpp-carousel-effect="fade"] .woocommerce-product-gallery__image {
  position: absolute;
  inset: 0;
  flex: 0 0 auto;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition:
    opacity var(--vpp-carousel-duration, 350ms) ease-in-out,
    transform var(--vpp-carousel-duration, 350ms) cubic-bezier(0.22, 0.61, 0.36, 1);
}

.vpp-product__gallery--carousel-simple[data-vpp-carousel-effect="fade"] .woocommerce-product-gallery__image.is-active {
  position: relative;
  z-index: 2;
  opacity: 1;
  transform: scale(1);
  pointer-events: none;
}

.vpp-product__gallery--carousel-simple .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.vpp-product__gallery--carousel-simple .woocommerce-product-gallery__image a {
  cursor: default;
  pointer-events: none;
}

.vpp-product__gallery--carousel-simple .flex-control-thumbs,
.vpp-product__gallery--carousel-simple .zoomImg {
  display: none !important;
}

.vpp-product__gallery-controls {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  pointer-events: none;
  z-index: 3;
}

.vpp-product__gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #919191;
  box-shadow: none;
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  padding: 0;
  appearance: none;
  pointer-events: auto;
}

.vpp-product__gallery-arrow--prev {
  left: 0.5rem;
}

.vpp-product__gallery-arrow--next {
  right: 0.5rem;
}

.vpp-product__gallery-arrow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
}

.vpp-product__gallery-arrow svg {
  display: block;
  width: 1.625rem;
  height: 1.625rem;
}

.vpp-product__gallery-arrow svg path {
  fill: currentColor !important;
}

.vpp-product__gallery-dots {
  display: flex;
  width: 100%;
  flex: 0 0 100%;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 0.75rem;
  margin: 1rem auto 0;
}

.vpp-product__gallery-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 0.62rem;
  height: 0.62rem;
  border: 1px solid #919191;
  border-radius: 999px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  appearance: none;
}

.vpp-product__gallery-dot.is-active {
  border-color: #919191;
  background: #919191;
}

.vpp-product__gallery--native-thumbnails {
  position: relative;
}

.vpp-product__gallery-shell {
  padding: 0;
}

.vpp-product__gallery-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.vpp-product__gallery-track {
  display: flex;
  width: 100%;
  transition: transform var(--vpp-carousel-duration, 350ms) var(--vpp-carousel-easing, ease);
  will-change: transform;
}

.vpp-product__gallery--native-thumbnails[data-vpp-carousel-effect="fade"] .vpp-product__gallery-track {
  display: block;
  transition: none;
}

.vpp-product__gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}

.vpp-product__gallery--native-thumbnails[data-vpp-carousel-effect="fade"] .vpp-product__gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--vpp-carousel-duration, 350ms) ease-in-out,
    transform var(--vpp-carousel-duration, 350ms) cubic-bezier(0.22, 0.61, 0.36, 1);
  transform: scale(1.02);
}

.vpp-product__gallery--native-thumbnails[data-vpp-carousel-effect="fade"] .vpp-product__gallery-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.vpp-product__gallery-image {
  display: block;
  width: 100%;
  max-width: var(--vpp-gallery-image-max-width, 380px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.vpp-product__gallery-slide .container-image-and-badge,
.vpp-product__gallery--v1 .woocommerce-product-gallery--single-image .container-image-and-badge {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: var(--vpp-gallery-image-max-width, 380px);
  line-height: 0;
}

.vpp-product__gallery-slide .container-image-and-badge > img,
.vpp-product__gallery-slide .container-image-and-badge > a,
.vpp-product__gallery--v1 .woocommerce-product-gallery--single-image .container-image-and-badge > img,
.vpp-product__gallery--v1 .woocommerce-product-gallery--single-image .container-image-and-badge > a {
  display: block;
  width: 100%;
  border: 1px solid var(--vpp-blue-border);
  border-radius: 12px;
}

.vpp-product--v1 .yith-wcbm-badge.yith-wcbm-badge-image-uploaded img {
  width: 100%;
}

.vpp-product__gallery-thumbbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
}

.vpp-product__gallery-thumbs-viewport {
  overflow: hidden;
}

.vpp-product__gallery-thumbs-track {
  display: flex;
  gap: 0.75rem;
  transition: transform 250ms ease;
  will-change: transform;
}

.vpp-product__gallery-thumb {
  flex: 0 0 calc((100% - (0.75rem * (var(--vpp-gallery-thumb-columns) - 1))) / var(--vpp-gallery-thumb-columns));
  width: calc((100% - (0.75rem * (var(--vpp-gallery-thumb-columns) - 1))) / var(--vpp-gallery-thumb-columns));
  min-width: calc((100% - (0.75rem * (var(--vpp-gallery-thumb-columns) - 1))) / var(--vpp-gallery-thumb-columns));
  height: 100%;
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid #d8dce4;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  line-height: 0;
  appearance: none;
  -webkit-appearance: none;
}

.vpp-product__gallery-thumb::before {
  content: "";
  display: block;
  padding-top: 100%;
}

.vpp-product__gallery-thumb.is-active {
  border-color: #284ef0;
  box-shadow: inset 0 0 0 1px #284ef0;
}

.vpp-product__gallery-thumb-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vpp-product__gallery-thumb-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 1px solid #d8dce4;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #919191;
  box-shadow: 0 4px 16px rgba(24, 69, 155, 0.08);
  cursor: pointer;
}

.vpp-product__gallery-thumb-arrow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
}

.vpp-product__gallery-thumb-arrow svg {
  display: block;
  width: 1.625rem;
  height: 1.625rem;
}

.vpp-product__gallery-thumb-arrow svg path {
  fill: currentColor !important;
}

.vpp-product__short-description,
.vpp-product__purchase-panel--version_1 {
  min-width: 0;
}

.vpp-product__purchase-panel--version_1 {
  border: 0;
  margin-top: 40px;
  padding: 0;
}

.vpp-product__purchase-top-row {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.vpp-product__price-card {
  position: relative;
  border: 1px solid #d8dce4;
  border-radius: 12px;
  padding: 1.5rem 1.25rem 1rem;
  background: #fff;
}

.vpp-product__price-card-badge-wrap {
  position: absolute;
  top: -0.8rem;
  left: -.3rem;
}

.vpp-product__price-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  background: var(--vpp-promo);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5em;
  text-transform: uppercase;
}

.vpp-product__price-prefix,
.vpp-product__purchase-options-heading {
  margin: 0 0 0.9rem;
  color: var(--vpp-blue);
  font-size: 1.12rem;
  line-height: 1.2;
}

.vpp-product__purchase-options-heading {
  font-weight: 700;
}

.vpp-product__price-prefix {
  margin: 10px 0 0 !important;
  font-size: 14px;
  font-weight: 400;
}

.vpp-product__price-regular {
  margin: 0 0 5px;
  color: #80879a;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: line-through;
}

.vpp-product__price-current {
  margin: 0;
  color: var(--vpp-blue);
  font-size: 30px;
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: normal;
}

.vpp-product__price-savings {
  display: inline-flex;
  margin: 12px 0 0;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #8fcd5f;
  background: #f3faeb;
  color: #6eb83f;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8em;
}

.vpp-product__purchase-options-panel {
  min-width: 0;
}

.vpp-product__purchase-options--v1 {
  gap: 0.7rem;
  margin-bottom: 0;
}

.vpp-product__purchase-option--v1 {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  width: 100%;
  padding: 0.95rem 1.05rem;
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.vpp-product__purchase-option--v1.is-active {
  border-color: var(--vpp-blue-border);
  background: #f7fbff;
  box-shadow: inset 0 0 0 1px #ecf3ff;
}

.vpp-product__purchase-option-radio {
  position: relative;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.25rem;
  border: 1px solid #c8cfdd;
  border-radius: 999px;
}

.vpp-product__purchase-option--v1.is-active .vpp-product__purchase-option-radio {
  border-color: var(--vpp-blue);
}

.vpp-product__purchase-option--v1.is-active .vpp-product__purchase-option-radio::after {
  content: "";
  position: absolute;
  inset: 0.2rem;
  border-radius: 999px;
  background: var(--vpp-blue);
}

.vpp-product__purchase-option-main {
  display: grid;
  gap: 0.28rem;
}

.vpp-product__purchase-option-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.vpp-product__purchase-option-title {
  color: var(--vpp-blue);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
}

.vpp-product__purchase-option-price {
  color: var(--vpp-blue);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.2;
}

.vpp-product__purchase-option-subtitle {
  color: var(--vpp-muted);
  font-size: 0.88rem;
  line-height: 1.25;
}

.vpp-product__purchase-option-features {
  display: grid;
  gap: 0.1rem;
  color: var(--vpp-text);
  font-size: 0.88rem;
  line-height: 1.22;
}

.vpp-product__purchase-option-feature {
  position: relative;
  padding-left: 1rem;
}

.vpp-product__purchase-option-feature::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--vpp-green);
  font-weight: 700;
}

.vpp-product__purchase-panel--version_1 .variations,
.vpp-product__purchase-panel--version_1 .reset_variations,
.vpp-product__purchase-panel--version_1 .single_variation .woocommerce-variation-price,
.vpp-product__purchase-panel--version_1 .single_variation .woocommerce-variation-availability {
  display: none !important;
}

.vpp-product__purchase-panel--version_1 .variations_form {
  margin-top: 1rem;
}

body.vpp-layout--version_1 .vpp-product__purchase-panel--version_1 button.single_add_to_cart_button.button.alt,
body.vpp-layout--version_1 .vpp-product__purchase-panel--version_1 a.single_add_to_cart_button.button.alt,
body.vpp-layout--version_1 .vpp-product__purchase-panel--version_1 .single_add_to_cart_button.button.alt,
body.vpp-layout--version_1 .vpp-product__purchase-panel--version_1 .vpp-product__single-add-to-cart-button.single_add_to_cart_button.button.alt {
  width: 100%;
  margin-top: 10px !important;
  height: auto;
  padding: 10px;
  border: 0;
  border-radius: 6px;
  background: var(--vpp-orange);
  color: #fff;
  font-family: Montserrat, Helvetica, Arial, Verdana, sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0;
}

body.vpp-layout--version_1 .vpp-product__purchase-panel--version_1 .single_add_to_cart_button .vpp-product__button-icon,
body.vpp-layout--version_1 .vpp-product__purchase-panel--version_1 .vpp-product__single-add-to-cart-button .vpp-product__button-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.vpp-product__purchase-panel--version_1 .vpp-product__scalapay-widget-anchor {
  margin-top: -10px;
}

.vpp-product__purchase-panel--version_1 .quantity {
  display: none !important;
}

.vpp-product__purchase-panel--version_1 .vpp-product__purchase-note {
  margin-top: -5px;
  color: var(--vpp-muted);
  font-size: 14px;
  line-height: 1.5em;
}

.vpp-product__purchase-panel--version_1 .vpp-product__purchase-note p:first-child {
  margin-top: 0;
}

.vpp-product__purchase-panel--version_1 .vpp-product__purchase-note p:last-child {
  margin-bottom: 0;
}

@media (min-width: 960px) {
  .vpp-product__layout--v1 {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 60px;
  }

  .vpp-product__purchase-top-row {
    grid-template-columns: minmax(200px, 0.5fr) minmax(0, 1fr);
  }
}

@media (max-width: 959px) {
  .vpp-product__gallery-arrow {
    top: 50%;
  }
}

@media (max-width: 767px) {
  .vpp-product__features-grid {
    grid-template-columns: 1fr;
  }

  .vpp-product__purchase-option-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .vpp-product__gallery-arrow {
    top: 50%;
  }

  .vpp-product__gallery-arrow--prev {
    left: 0.35rem;
  }

  .vpp-product__gallery-arrow--next {
    right: 0.35rem;
  }

  .vpp-product__gallery-thumbbar {
    gap: 0.6rem;
    padding: 1rem;
  }

  .vpp-product__gallery-thumbs-track {
    gap: 0.6rem;
  }

  .vpp-product__gallery-thumb {
    border-radius: 16px;
  }

  .vpp-product__gallery-thumb-arrow {
    width: 2.35rem;
    height: 2.35rem;
  }
}

/* Overrides puntuales de especificidad frente al tema o WooCommerce. */
body.vpp-layout--version_1 h1.product_title.entry-title {
  line-height: 1em !important;
  font-weight: 600;
}

body.vpp-layout--version_1 .vpp-read-more {
  display: inline-flex;
  gap: 0;
  margin-top: 0;
}
