:root {
  --eco-primary: #07833f;
  --eco-primary-dark: #045d2d;
  --eco-primary-hover: #066f37;
  --eco-primary-soft: #edf8f1;
  --eco-primary-softer: #f6fbf8;
  --eco-text: #172019;
  --eco-muted: #68736b;
  --eco-border: #e1e8e3;
  --eco-white: #fff;
  --eco-danger: #b42318;
  --eco-radius: 12px;
  --eco-shadow: 0 10px 30px rgba(16, 48, 29, .06);
  --eco-container: 1540px;
}

.eco-product-page,
.eco-product-page * {
  box-sizing: border-box;
}

.eco-product-page,
.eco-product-page button,
.eco-product-page input,
.eco-product-page select,
.eco-product-page textarea {
  font-family: var(--font-family-base), Arial, sans-serif;
}

.eco-product-page {
  width: 100%;
  overflow: hidden;
  background: transparent;
  color: var(--eco-text);
}

.eco-product-container {
  width: 100%;
  margin: 0 auto;
}

.eco-product-page a {
  color: #07833f;
  text-decoration: none;
}

.eco-product-page button,
.eco-product-page input,
.eco-product-page select,
.eco-product-page textarea {
  font: inherit;
}

.eco-product-page .product-customization,
.eco-product-page .product-customization .product-customization-submit,
.eco-product-page button[name="submitCustomizedData"],
.eco-product-page .customization-message,
.eco-product-page .custom-file {
  display: none !important;
}

.eco-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 18px 0 15px;
  list-style: none;
  color: var(--eco-muted);
  font-size: 12px;
}

.eco-breadcrumb a {
  color: var(--eco-primary);
}

.eco-breadcrumb span {
  color: #a8b1aa;
}

.eco-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
  gap: 28px;
  align-items: stretch;
  padding-bottom: 28px;
}

.eco-card {
  border: 1px solid var(--eco-border);
  border-radius: var(--eco-radius);
  background: var(--eco-white);
  box-shadow: var(--eco-shadow);
}

.eco-gallery {
  min-width: 0;
  padding: 18px;
}

.eco-gallery-stage {
  position: relative;
  display: flex;
  min-height: 520px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}

.eco-gallery-main {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 550px;
  object-fit: contain;
  transition: opacity .18s ease;
}

.eco-gallery-main.is-changing {
  opacity: .55;
}

.eco-gallery-main--logo {
  width: min(70%, 520px);
  height: auto;
  max-height: 300px;
  margin: auto;
  object-fit: contain;
}

.eco-gallery-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.eco-stock-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid #b9dfc8;
  border-radius: 999px;
  background: #f3fbf6;
  color: var(--eco-primary-dark);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.eco-quality-badge {
  position: relative;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 6px;
  border: 1px solid var(--eco-border);
  border-radius: 999px;
  background: #fff;
  color: var(--eco-text);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  cursor: help;
  box-shadow: 0 4px 14px rgba(16, 48, 29, .06);
}

.eco-quality-badge img {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.eco-quality-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 20;
  width: 245px;
  padding: 11px 13px;
  border-radius: 9px;
  background: #172019;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: none;
  box-shadow: 0 12px 28px rgba(0,0,0,.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.eco-quality-tooltip::before {
  position: absolute;
  bottom: 100%;
  left: 16px;
  width: 0;
  height: 0;
  border-right: 6px solid transparent;
  border-bottom: 7px solid #172019;
  border-left: 6px solid transparent;
  content: "";
}

.eco-quality-tooltip strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.eco-quality-badge:hover .eco-quality-tooltip,
.eco-quality-badge:focus .eco-quality-tooltip,
.eco-quality-badge:focus-within .eco-quality-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.eco-zoom-button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--eco-text);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.eco-gallery-thumbs-wrap {
  position: relative;
  margin-top: 15px;
  padding: 0 30px;
}

.eco-gallery-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(92px, 112px);
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: inline mandatory;
}

.eco-gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.eco-gallery-thumb {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  padding: 5px;
  border: 1px solid var(--eco-border);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  scroll-snap-align: start;
}

.eco-gallery-thumb.is-active {
  border-color: var(--eco-primary);
  box-shadow: 0 0 0 2px rgba(7, 131, 63, .12);
}

.eco-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eco-thumbs-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--eco-text);
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .09);
}

.eco-thumbs-arrow-prev {
  left: 0;
}

.eco-thumbs-arrow-next {
  right: 0;
}

.eco-summary {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 13px 0 0;
}

.eco-reference-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 13px;
  color: var(--eco-muted);
  font-size: 12px;
}

.eco-reference-row strong {
  color: var(--eco-primary);
  font-weight: 800;
}

.eco-product-title {
  margin: 0;
  color: var(--eco-text);
  font-size: clamp(30px, 3vw, 50px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.eco-product-subtitle {
  margin: 10px 0 0;
  color: var(--eco-muted);
  font-size: 15px;
  line-height: 1.5;
  text-transform: uppercase;
}

.eco-price {
  margin-top: 5px;
}

.eco-price .current-price {
  color: var(--eco-primary-dark);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 800;
  line-height: 1;
}

.eco-price .current-price-value {
  color: inherit;
}

.eco-price .product-discount,
.eco-price .regular-price {
  font-size: 15px;
}

.eco-tax-label {
  margin-top: 7px;
  color: var(--eco-muted);
  font-size: 13px;
}

.eco-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 31px;
  padding: 0 2px;
}

.eco-benefit {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.eco-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--eco-primary-soft);
  color: var(--eco-primary);
}

.eco-icon svg {
  width: 19px;
  height: 19px;
}

.eco-benefit strong {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
}

.eco-benefit small {
  display: block;
  color: var(--eco-muted);
  font-size: 11px;
}

.eco-buy-card {
  margin-top: 28px;
  padding: 22px;
}

.eco-stock-message {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--eco-primary-dark);
}

.eco-stock-message strong {
  display: block;
  font-size: 15px;
}

.eco-stock-message small {
  display: block;
  margin-top: 2px;
  color: var(--eco-muted);
  font-size: 12px;
}

.eco-location {
  margin-top: 16px;
  color: var(--eco-muted);
  font-size: 13px;
}

.eco-location strong {
  color: var(--eco-text);
}

.eco-product-actions {
  margin-top: 18px;
}

.eco-product-actions .product-variants {
  margin-bottom: 14px;
}

.eco-product-actions .product-variants-item {
  margin-bottom: 12px;
}

.eco-product-actions .control-label {
  margin-bottom: 7px;
  color: var(--eco-text);
  font-size: 13px;
  font-weight: 700;
}

.eco-product-actions select,
.eco-product-actions .form-control {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--eco-border);
  border-radius: 8px;
  background: #fff;
}

.eco-product-add-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 12px;
}

.eco-hidden-quantity {
  display: none !important;
}

.eco-add-to-cart {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: var(--eco-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.eco-add-to-cart:hover {
  background: var(--eco-primary-hover);
}

.eco-add-to-cart:active {
  transform: translateY(1px);
}

.eco-add-to-cart:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.eco-favorite {
  display: grid;
  min-height: 56px;
  place-items: center;
  border: 1px solid var(--eco-border);
  border-radius: 8px;
  background: #fff;
  color: var(--eco-primary);
  cursor: pointer;
}

.eco-help-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 18px 21px;
  border: 1px solid #d9ecdf;
  border-radius: var(--eco-radius);
  background: linear-gradient(90deg, #eff9f3, #f8fcf9);
}

.eco-help-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.eco-help-text {
  display: block;
  min-width: 0;
}

.eco-help-copy strong {
  display: block;
  color: var(--eco-primary-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.eco-help-copy small {
  display: block;
  margin-top: 3px;
  color: var(--eco-muted);
  font-size: 11px;
  line-height: 1.5;
}

.eco-whatsapp {
  display: inline-flex;
  min-height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid #9dd0ae;
  border-radius: 8px;
  background: #fff;
  color: var(--eco-primary-dark) !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.eco-whatsapp:hover {
  border-color: var(--eco-primary);
  background: var(--eco-primary);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(7, 131, 63, .17);
}

/* Precio 0 €: bloque de consulta destacado */
.eco-help-card--price-consultation {
  position: relative;
  isolation: isolate;
  align-items: stretch;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(7, 131, 63, .28);
  border-radius: 12px;
  background:
    radial-gradient(circle at 92% 20%, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(135deg, #045d2d 0%, #07833f 54%, #09964a 100%);
  box-shadow: 0 12px 30px rgba(4, 93, 45, .17);
}

.eco-help-card--price-consultation::before {
  content: "";
  position: absolute;
  top: -45px;
  right: -35px;
  z-index: -1;
  width: 150px;
  height: 150px;
  border: 28px solid rgba(255,255,255,.06);
  border-radius: 50%;
  pointer-events: none;
}

.eco-help-card--price-consultation::after {
  content: "";
  position: absolute;
  right: 95px;
  bottom: -75px;
  z-index: -1;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(255,255,255,.035);
  pointer-events: none;
}

.eco-help-card--price-consultation .eco-help-copy {
  flex: 1 1 auto;
}

.eco-help-card--price-consultation .eco-help-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.eco-help-card--price-consultation .eco-help-icon svg {
  width: 25px;
  height: 25px;
}

.eco-help-label {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  margin-bottom: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.11);
  color: rgba(255,255,255,.93);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.eco-help-card--price-consultation .eco-help-copy strong {
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
}

.eco-help-card--price-consultation .eco-help-copy small {
  max-width: 620px;
  margin-top: 5px;
  color: rgba(255,255,255,.76);
  font-size: 12px;
  line-height: 1.55;
}

.eco-whatsapp--price-consultation {
  min-height: 52px;
  align-self: center;
  padding: 0 20px;
  border: 1px solid #fff;
  border-radius: 9px;
  background: #fff;
  color: var(--eco-primary-dark) !important;
  font-size: 13px;
  box-shadow: 0 8px 20px rgba(3, 49, 24, .2);
}

.eco-whatsapp--price-consultation:hover {
  border-color: #fff;
  background: #f2fff6;
  color: var(--eco-primary-dark) !important;
  box-shadow: 0 11px 25px rgba(3, 49, 24, .25);
}

.eco-whatsapp-arrow {
  transition: transform .2s ease;
}

.eco-whatsapp--price-consultation:hover .eco-whatsapp-arrow {
  transform: translateX(3px);
}

@media (max-width: 991px) {
  .eco-help-card--price-consultation {
    align-items: flex-start;
    flex-direction: column;
  }

  .eco-whatsapp--price-consultation {
    width: 100%;
    align-self: stretch;
  }
}

.eco-features-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-bottom: 28px;
  padding: 18px 10px;
}

.eco-feature-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  padding: 0 18px;
  border-right: 1px solid var(--eco-border);
}

.eco-feature-item:last-child {
  border-right: 0;
}

.eco-feature-item strong {
  display: block;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eco-feature-item small {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--eco-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eco-tabs-card {
  margin-bottom: 28px;
  overflow: hidden;
}

.eco-tabs-nav {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--eco-border);
  scrollbar-width: none;
}

.eco-tabs-nav::-webkit-scrollbar {
  display: none;
}

.eco-tab-button {
  position: relative;
  min-height: 58px;
  flex: 0 0 auto;
  padding: 0 26px;
  border: 0;
  background: transparent;
  color: var(--eco-text);
  font-size: 13px;
  cursor: pointer;
}

.eco-tab-button.is-active {
  color: var(--eco-primary-dark);
  font-weight: 800;
}

.eco-tab-button.is-active::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  background: var(--eco-primary);
  content: "";
}

.eco-tab-panels {
  padding: 25px;
}

.eco-tab-panel {
  display: none;
}

.eco-tab-panel.is-active {
  display: block;
}

.eco-description-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 24px;
}

.eco-description-content h2,
.eco-description-content h3 {
  margin: 0 0 16px;
  color: var(--eco-text);
  font-size: 18px;
}

.eco-description-content {
  color: var(--eco-muted);
  font-size: 13px;
  line-height: 1.75;
}

.eco-description-content ul {
  margin: 16px 0;
  padding-left: 20px;
}

.eco-description-content img,
.eco-description-content iframe {
  max-width: 100%;
  height: auto;
}

.eco-info-box {
  padding: 20px;
  border: 1px solid var(--eco-border);
  border-radius: 10px;
  background: #fbfcfb;
}

.eco-info-box + .eco-info-box {
  margin-top: 14px;
}

.eco-info-box h3 {
  margin: 0 0 12px;
  color: var(--eco-primary-dark);
  font-size: 14px;
}

.eco-info-box p {
  margin: 0 0 7px;
  color: var(--eco-muted);
  font-size: 12px;
  line-height: 1.6;
}

.eco-guarantee-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--eco-primary-soft);
  color: var(--eco-primary-dark);
  font-size: 12px;
  font-weight: 700;
}

.eco-feature-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.eco-feature-table tr {
  border-bottom: 1px solid var(--eco-border);
}

.eco-feature-table tr:last-child {
  border-bottom: 0;
}

.eco-feature-table th,
.eco-feature-table td {
  padding: 14px 10px;
  text-align: left;
}

.eco-feature-table th {
  width: 35%;
  color: var(--eco-text);
  font-weight: 700;
}

.eco-feature-table td {
  color: var(--eco-muted);
}


.eco-brand-panel {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.eco-brand-logo-box {
  display: flex;
  min-height: 170px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 1px solid var(--eco-border);
  border-radius: 10px;
  background: var(--eco-white);
}

.eco-brand-logo-link {
  display: flex;
  width: 100%;
  min-height: 125px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition:
    background-color .2s ease,
    transform .2s ease;
}

.eco-brand-logo-link:hover {
  background: var(--eco-primary-softer);
}

.eco-brand-logo-link:active {
  transform: scale(.98);
}

.eco-brand-logo {
  display: block;
  width: 100%;
  max-width: 160px;
  max-height: 110px;
  object-fit: contain;
  transition: transform .2s ease;
}

.eco-brand-logo-link:hover .eco-brand-logo {
  transform: scale(1.04);
}

.eco-brand-logo-placeholder {
  display: flex;
  width: 100px;
  height: 100px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--eco-primary-soft);
  color: var(--eco-primary-dark);
  font-size: 30px;
  font-weight: 800;
}

.eco-brand-content {
  min-width: 0;
}

.eco-brand-content h2 {
  margin: 0 0 16px;
  color: var(--eco-text);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.eco-brand-description {
  color: var(--eco-muted);
  font-size: 14px;
  line-height: 1.75;
}

.eco-brand-description p {
  margin: 0 0 12px;
}

.eco-brand-description ul,
.eco-brand-description ol {
  margin: 12px 0;
  padding-left: 22px;
}

.eco-brand-description img,
.eco-brand-description iframe {
  max-width: 100%;
  height: auto;
}

.eco-brand-empty {
  margin: 0;
  color: var(--eco-muted);
  font-size: 14px;
  line-height: 1.7;
}

.eco-brand-advice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--eco-primary-soft);
  color: var(--eco-primary-dark);
  font-size: 12px;
  line-height: 1.6;
}

.eco-brand-advice svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin-top: 1px;
}

.eco-brand-actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}

.eco-brand-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid var(--eco-primary);
  border-radius: 8px;
  background: var(--eco-primary);
  color: var(--eco-white) !important;
  font-size: 13px;
  font-weight: 800;
  transition:
    background-color .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.eco-brand-link:hover {
  border-color: var(--eco-primary-hover);
  background: var(--eco-primary-hover);
  color: var(--eco-white) !important;
}

.eco-brand-link:active {
  transform: translateY(1px);
}

.eco-brand-link svg {
  flex: 0 0 auto;
  fill: currentColor;
}

.eco-related {
  padding-bottom: 30px;
}

.eco-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
}

.eco-section-heading h2 {
  margin: 0;
  color: var(--eco-text);
  font-size: 20px;
}

.eco-section-heading a {
  color: var(--eco-primary);
  font-size: 12px;
  font-weight: 700;
}

.eco-products-slider-wrap {
  position: relative;
}

.eco-products-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 64px) / 5);
  gap: 16px;
  overflow-x: auto;
  padding: 2px;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: inline mandatory;
}

.eco-products-slider::-webkit-scrollbar {
  display: none;
}

.eco-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--eco-border);
  border-radius: 10px;
  background: #fff;
  scroll-snap-align: start;
}

.eco-product-card-image {
  position: relative;
  display: block;
  aspect-ratio: 1.2 / 1;
  padding: 13px;
  background: #fff;
}

.eco-product-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eco-product-card-stock {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--eco-primary-soft);
  color: var(--eco-primary-dark);
  font-size: 9px;
  font-weight: 800;
}

.eco-product-card-body {
  padding: 13px;
}

.eco-product-card-title {
  display: -webkit-box;
  min-height: 38px;
  overflow: hidden;
  color: var(--eco-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.eco-product-card-reference {
  margin-top: 6px;
  color: var(--eco-muted);
  font-size: 10px;
}

.eco-product-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
}

.eco-product-card-price {
  color: var(--eco-primary-dark);
  font-size: 18px;
  font-weight: 800;
}

.eco-product-card-tax {
  display: block;
  color: var(--eco-muted);
  font-size: 9px;
  font-weight: 400;
}

.eco-product-card-cart {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid #8dcca4;
  border-radius: 7px;
  background: #fff;
  color: var(--eco-primary);
}

.eco-slider-arrow {
  position: absolute;
  top: 45%;
  z-index: 3;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--eco-border);
  border-radius: 50%;
  background: #fff;
  color: var(--eco-text);
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .08);
}

.eco-slider-arrow-prev {
  left: -18px;
}

.eco-slider-arrow-next {
  right: -18px;
}

.eco-final-cta {
  padding: 55px 20px;
  background:
    radial-gradient(circle at 80% 20%, rgba(20, 155, 75, .35), transparent 32%),
    linear-gradient(135deg, #07572d, #07833f);
  color: #fff;
  text-align: center;
  border-radius:10px;
}

.eco-final-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
}

.eco-final-cta p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
}

.eco-final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.eco-final-button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 19px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.eco-final-button-primary {
  border-color: #fff;
  background: #fff;
  color: var(--eco-primary-dark);
}

.eco-image-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(0, 0, 0, .86);
}

.eco-image-modal.is-open {
  display: flex;
}

.eco-image-modal img {
  display: block;
  max-width: 94vw;
  max-height: 92vh;
  object-fit: contain;
}

.eco-image-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 1199px) {
  .eco-product-hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr);
  }

  .eco-gallery-stage {
    min-height: 440px;
  }

  .eco-features-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 0;
  }

  .eco-feature-item:nth-child(3) {
    border-right: 0;
  }

  .eco-products-slider {
    grid-auto-columns: calc((100% - 48px) / 4);
  }
}

@media (max-width: 991px) {
  .eco-product-hero {
    grid-template-columns: 1fr;
  }

  .eco-summary {
    padding-top: 0;
  }

  .eco-benefits {
    margin-top: 24px;
  }

  .eco-description-grid {
    grid-template-columns: 1fr;
  }

  .eco-products-slider {
    grid-auto-columns: calc((100% - 32px) / 3);
  }
}

/* =========================================================
   ESTABILIDAD VISUAL / CLS EN FICHA DE PRODUCTO MÓVIL
   - Reserva espacio antes de cargar imágenes y contenido AJAX.
   - Evita desplazamientos del wrapper durante el render inicial.
   ========================================================= */

@media (max-width: 767px) {
  body#product #wrapper,
  body.page-product #wrapper {
    position: relative;
    width: 100%;
    min-height: 1px;
  }

  body#product .eco-product-page,
  body.page-product .eco-product-page {
    display: block;
    width: 100%;
    min-height: 1px;
  }

  body#product .eco-product-hero,
  body.page-product .eco-product-hero {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  body#product .eco-gallery,
  body.page-product .eco-gallery {
    width: 100%;
    min-width: 0;
  }

  body#product .eco-stock-message,
  body.page-product .eco-stock-message {
    min-height: 48px;
  }
}

@media (max-width: 767px) {
  .eco-product-container {
    width: min(calc(100% - 22px), var(--eco-container));
  }

  .eco-breadcrumb {
    padding-top: 12px;
    font-size: 10px;
  }

  .eco-product-hero {
    gap: 18px;
    padding-bottom: 18px;
  }

  .eco-gallery {
    padding: 10px;
  }

  .eco-gallery-stage {
    width: 100%;
    height: clamp(285px, 70vw, 355px);
    min-height: 0;
  }

  .eco-gallery-main {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }

  .eco-gallery-thumbs-wrap {
    padding: 0 24px;
  }

  .eco-gallery-thumbs {
    grid-auto-columns: 82px;
  }

  .eco-product-title {
    font-size: 31px;
  }

  .eco-product-subtitle {
    font-size: 12px;
  }

  .eco-price {
    margin-top: 20px;
  }

  .eco-benefits {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .eco-benefit {
    padding: 10px 12px;
    border: 1px solid var(--eco-border);
    border-radius: 9px;
    background: #fff;
  }

  .eco-buy-card {
    margin-top: 18px;
    padding: 16px;
  }

  .eco-product-add-row {
    grid-template-columns: minmax(0, 1fr) 50px;
    gap: 8px;
  }

  .eco-help-card {
    align-items: stretch;
    flex-direction: column;
  }

  .eco-whatsapp {
    width: 100%;
  }

  .eco-help-card--price-consultation {
    gap: 18px;
    margin-top: 18px;
    padding: 19px 17px;
  }

  .eco-help-card--price-consultation .eco-help-copy {
    align-items: flex-start;
  }

  .eco-help-card--price-consultation .eco-help-icon {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
  }

  .eco-help-card--price-consultation .eco-help-icon svg {
    width: 22px;
    height: 22px;
  }

  .eco-help-card--price-consultation .eco-help-copy strong {
    font-size: 15px;
  }

  .eco-help-card--price-consultation .eco-help-copy small {
    font-size: 11px;
  }

  .eco-whatsapp--price-consultation {
    min-height: 54px;
    padding: 0 14px;
    font-size: 12px;
  }

  .eco-features-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px 8px;
  }

  .eco-feature-item {
    padding: 10px 12px;
  }

  .eco-feature-item:nth-child(2n) {
    border-right: 0;
  }

  .eco-feature-item:nth-child(3) {
    border-right: 1px solid var(--eco-border);
  }

  .eco-tab-button {
    min-height: 52px;
    padding: 0 18px;
    font-size: 12px;
  }

  .eco-tab-panels {
    padding: 18px;
  }


  .eco-brand-panel {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .eco-brand-logo-box {
    min-height: 135px;
  }

  .eco-brand-logo-link {
    min-height: 105px;
  }

  .eco-brand-logo {
    max-width: 140px;
    max-height: 90px;
  }

  .eco-brand-content h2 {
    font-size: 19px;
  }

  .eco-brand-link {
    width: 100%;
    padding: 12px 16px;
    text-align: center;
  }

  .eco-products-slider {
    grid-auto-columns: 72%;
  }

  .eco-slider-arrow {
    display: none;
  }

  .eco-final-cta {
    padding: 42px 15px;
  }
}

@media (max-width: 479px) {
  .eco-gallery-stage {
    height: clamp(285px, 76vw, 320px);
  }

  .eco-gallery-badges {
    top: 10px;
    left: 10px;
    gap: 6px;
  }

  .eco-stock-badge {
    min-height: 26px;
    padding: 4px 8px;
    font-size: 9px;
  }

  .eco-quality-badge {
    min-height: 26px;
    padding: 3px 8px 3px 4px;
    font-size: 9px;
  }

  .eco-quality-badge img {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .eco-quality-tooltip {
    width: min(225px, calc(100vw - 42px));
  }

  .eco-zoom-button {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
  }

  .eco-reference-row {
    gap: 10px;
    font-size: 10px;
  }

  .eco-product-title {
    font-size: 28px;
  }

  .eco-price .current-price {
    font-size: 34px;
  }

  .eco-add-to-cart {
    min-height: 52px;
    font-size: 13px;
  }

  .eco-favorite {
    min-height: 52px;
  }

  .eco-features-strip {
    grid-template-columns: 1fr;
  }

  .eco-feature-item,
  .eco-feature-item:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid var(--eco-border);
  }

  .eco-feature-item:last-child {
    border-bottom: 0;
  }

  .eco-products-slider {
    grid-auto-columns: 83%;
  }
}

@media (max-width: 420px) {
  .eco-help-card--price-consultation .eco-help-copy {
    gap: 10px;
  }

  .eco-help-card--price-consultation .eco-help-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .eco-help-card--price-consultation .eco-help-copy strong {
    font-size: 14px;
  }

  .eco-whatsapp-arrow {
    display: none;
  }
}