.mp-product-page {
  --green: #7BC043;
  --text: #111;
  --muted: #666;
  --light: #d9d9d9;

  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}

.mp-product-page *,
.mp-product-page *::before,
.mp-product-page *::after {
  box-sizing: border-box;
}

/* ==============================
   BREADCRUMB
============================== */

.mp-product-page .breadcrumb,
.mp-product-page .woocommerce-breadcrumb {
  margin: 0 auto;
  padding: 120px 48px 0px;
  font-size: 18px;
  color: #3C4355;
  font-family: roboto;
}

.mp-product-page .breadcrumb a,
.mp-product-page .woocommerce-breadcrumb a {
  color: #000;
  text-decoration: underline;
  font-weight: 400;
}

/* ==============================
   PRODUCT MAIN
============================== */

.mp-product-page .producto-principal {
  padding: 34px 22px 40px;
}

.mp-product-page .producto-grid {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr;
  gap: 30px;
  align-items: start;
}

.mp-product-page .visual-grid {
  display: grid;
  grid-template-columns: 129px 1fr;
  gap: 20px;
  align-items: start;
}

.mp-product-page .thumbs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mp-product-page .thumbs img {
  width: 129px;
  height: 129px;
  object-fit: cover;
  border-radius: 20px;
  border: 5px solid var(--green);
  cursor: pointer;
}

.mp-product-page .thumbs img:hover {
  transform: scale(1.03);
}

.mp-product-page .thumbs img.active {
  border-color: #111;
}

.mp-product-page .main-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.mp-product-page .main-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  display: block;
}

.mp-product-page .main-image img,
.mp-product-page .thumbs img,
.mp-product-page figure,
.mp-product-page figure img {
  box-shadow: none !important;
  filter: none !important;
}

.mp-product-page .producto-info {
  text-align: center;
}

.mp-product-page .info-title {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.mp-product-page .info-divider {
  height: 1px;
  background: #111;
  width: 100%;
  margin: 2px 0 18px;
}

.mp-product-page .price-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  margin-top:42px;
}

.mp-product-page .price-row .price-amount {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.1;
}

.mp-product-page .price-amount .amount,
.mp-product-page .price-amount bdi {
  color: var(--green);
}

.mp-product-page .price-unit {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
}

.mp-product-page .price-note {
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 16px;
  color: #111;
  text-transform: uppercase;
}
.mp-product-page .price-note-secondary {
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 24px;
  color: rgba(30, 30, 30, 0.77);
  text-transform: uppercase;
  text-decoration: underline;
}

/* ==============================
   VOLUME CARD
============================== */

.mp-product-page .volume-card {
  display: inline-block;
  background: var(--light);
  border-radius: 26px;
  padding: 23px 29px;
  width: 100%;
  max-width: 471px;
  color: #111;
  text-align: center;
}

.mp-product-page .volume-card p {
  margin: 0 0 10px;
}

.mp-product-page .volume-card p:last-child {
  margin-bottom: 0;
}

.mp-product-page .volume-title,
.mp-product-page .volume-card strong:first-child {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.mp-product-page .volume-card strong:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.mp-product-page .volume-card strong:first-child svg {
  display: inline-block;
  width: 20px;
  height: 20px;
}

.mp-product-page .volume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 130px;
  font-size: 14px;
  font-weight: 700;
}

.mp-product-page .volume-grid .head {
  font-weight: 700;
}

.mp-product-page .volume-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  font-size: 14px;
  border: 0;
  font-weight: 700;
}

.mp-product-page .volume-card table th,
.mp-product-page .volume-card table td {
  padding: 3px 12px;
  border: 0;
  text-align: center;
  color: #111;
}

.mp-product-page .volume-card table th {
  text-transform: uppercase;
  font-weight: 700;
}

.mp-product-page .sku {
  font-size: 11px;
  font-weight: 700;
  margin: 20px 0 16px;
  color: #111;
}

.mp-product-page .btn-contactar {
  font-family: 'Montserrat', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 379px;
  min-height: 58px;
  margin-top: 14px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 600;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.mp-product-page .btn-contactar:hover {
  color: #fff;
  opacity: 0.92;
}

/* ==============================
   DESCRIPTION
============================== */

.mp-product-page .descripcion-seccion {
  margin: 0 auto;
  padding: 20px 120px 50px;
}

.mp-product-page .descripcion-seccion h2 {
  font-size: 32px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 5px;
  color: #111;
  text-transform: uppercase;
}

.mp-product-page .info-divider-description {
  height: 1px;
  background: #111;
  width: 100%;
}

.mp-product-page .descripcion-contenido {
  font-size: 12px;
  font-weight: 600;
  padding: 49px 29px 0;
  color: #111;
  text-transform: uppercase;
}

.mp-product-page .descripcion-contenido p {
  margin: 0 0 16px;
}

/* ==============================
   RELATED PRODUCTS
============================== */

.mp-product-page .related-section {
  padding: 30px 100px 44px;
  background: url('https://mistyrose-hedgehog-825904.hostingersite.com/wp-content/uploads/2026/05/Frame-2087327126-2.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.mp-product-page .related-title {
  margin: 0 0 20px;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #111;
  font-size: 32px;
  text-transform: uppercase;
}

.mp-product-page .related-wrap {
  position: relative;

}

.mp-product-page .related-track {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 18px 0px 18px;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none;
}

.mp-product-page .related-track:active {
  cursor: grabbing;
}

.mp-product-page .related-track::-webkit-scrollbar {
  display: none;
}

.mp-product-page .related-card {
  flex: 0 0 420px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: center;
  border: 2px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.mp-product-page .related-card:hover {
  text-decoration: none;
}

.mp-product-page .related-media {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  padding: 28px 26px 8px;
}

.mp-product-page .related-media img {
  max-width: 92%;
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.mp-product-page .related-card,
.mp-product-page .related-media,
.mp-product-page .related-media img,
.mp-product-page .related-card img,
.mp-product-page .related-card figure,
.mp-product-page .related-card figure img {
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
}

.mp-product-page .related-bottom {
  padding: 10px 22px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mp-product-page .related-name {
  font-size: 18px;
  letter-spacing: 0.6px;
  color: #222;
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.35;
  /*min-height: 98px;*/
}

.mp-product-page .related-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.mp-product-page .related-price-main {
  font-size: 28px;
  font-weight: 900;
  color: #111;
  line-height: 1;
}

.mp-product-page .related-price-main .amount,
.mp-product-page .related-price-main bdi {
  color: #111;
}

.mp-product-page .related-price-unit {
  font-size: 14px;
  color: #9a9a9a;
  font-weight: 600;
}

.mp-product-page .related-price-min {
  font-size: 13px;
  color: #9a9a9a;
  font-weight: 600;
  flex-basis: 100%;
  margin-top: 2px;
}

.mp-product-page .related-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 2px 0 12px;
}


.mp-product-page .related-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 146px;
  height: 135px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  z-index: 2;
  font-size: 34px;
  color: #111;
  display: grid;
  place-items: center;
}

.mp-product-page .related-prev {
  left: -170px;
  padding-left: 60px;
}

.mp-product-page .related-next {
  right: -170px;
  padding-right: 60px;
}

/* Card verde */
.mp-product-page .related-card-green {
  background: #8CD21A;
  border: none;
  display: grid;
  place-items: center;
}

.mp-product-page .related-green-inner {
  text-align: center;
  padding: 34px 26px;
  color: #143000;
}

.mp-product-page .related-green-inner .related-green-title {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  color: #1E1E1E;
}

.mp-product-page .related-green-inner p {
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 18px;
  opacity: 0.85;
  color: #1E1E1E;
}

.mp-product-page .related-green-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: #8CD21A;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.28);
}

.mp-product-page .related-green-btn:hover {
  background: #000;
  color: #fff;
}

.mp-product-page .related-section{
  margin-bottom: 0 !important;
  padding-bottom: 110px !important;
}


/*Quitar CSS de ASTRA*/

/* Quitar el boxed y padding del contenedor de Astra solo en single product */
body.single-product .ast-container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

body.single-product .elementor-location-single .e-con-boxed > .e-con-inner {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* Evitar que Elementor limite el ancho del widget */
body.single-product .elementor-location-single .elementor-widget-shortcode {
  width: 100%;
}

/* ==============================
   MOBILE 
============================== */

@media (max-width: 767px) {
  .mp-product-page .breadcrumb,
  .mp-product-page .woocommerce-breadcrumb {
    padding: 59px 10px 16px;
    font-size: 13px;
  }

  .mp-product-page .producto-principal {
    padding: 8px 16px 32px;
  }

  .mp-product-page .producto-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mp-product-page .visual-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mp-product-page .main-image {
    order: 1;
  }

  .mp-product-page .main-image img {
    width: 282px;
  }

 .mp-product-page .thumbs {
    order: 2;
    display: flex;       
    flex-wrap: wrap;     
    flex-direction: row;
    gap: 13px;
    padding-bottom: 6px;
    justify-content: center;
  }

  .mp-product-page .thumbs img {
    width: 62px;
    height: 62px;
    flex: 0 0 auto;
    border-radius: 10px;
  }

  .mp-product-page .producto-info {
    text-align: center;
  }

  .mp-product-page .info-title {
    font-size: 20px;
  }

  .mp-product-page .info-divider {
    max-width: 100%;
  }

  .mp-product-page .price-row {
    flex-wrap: wrap;
    margin-top:27px;
  }

  .mp-product-page .price-row .price-amount {
    font-size: 38px;
    margin: 0;
    padding: 0;
  }

  .mp-product-page .price-unit,
  .mp-product-page .price-note {
    font-size: 13px;
  }

  .mp-product-page .volume-card {
    max-width: 100%;
    padding: 20px 18px;
    border-radius: 22px;
  }

  .mp-product-page .volume-grid {
    gap: 6px 40px;
  }

  .mp-product-page .btn-contactar {
    width: 100%;
    max-width: 327px;
    margin-top: 0px;
  }

  .mp-product-page .descripcion-seccion {
    padding: 20px 16px 44px;
  }

  .mp-product-page .descripcion-seccion h2,
  .mp-product-page .related-title {
    font-size: 24px;
  }

  .mp-product-page .descripcion-contenido {
    padding: 32px 0 0;
    font-size: 11px;
  }

  .mp-product-page .related-section {
    padding: 28px 0 40px;
  }

  .mp-product-page .related-track {
    gap: 18px;
    padding: 8px 16px 18px;
  }

  .mp-product-page .related-card {
    flex: 0 0 82vw;
  }

  .mp-product-page .related-media {
    padding: 24px 20px 8px;
  }

  .mp-product-page .related-media img {
    max-height: 260px;
  }

  .mp-product-page .related-name {
    font-size: 15px;
  }

  .mp-product-page .related-price-main {
    font-size: 24px;
  }

  .mp-product-page .related-arrow {
    display: none;
  }

  .mp-product-page .related-green-inner .related-green-title {
    font-size: 28px;
  }

  .mp-product-page .related-green-inner p {
    font-size: 15px;
  }
  .mp-product-page .related-dots{
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
  }
  .mp-product-page .related-dot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    transition: all .3s;  
  }
  .mp-product-page .related-dot.active{
    background: #7ac943;
    transform: scale(1.2);
  }

}