.medusa-catalogo {
  font-family: Inter, Arial, sans-serif;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 15px;
  color: #263238;
}

.medusa-filtros {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: nowrap;
  margin: 0 0 30px;
}

.medusa-filtros button {
  border: 2px solid #A7A7B1;
  background: #fff;
  color: #767688;
  border-radius: 999px;
  padding: 7px 38px;
  font-size: 16px;
  width: 216px;
  font-family: 'Nunito Sans';
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: 0.25s;
}

.medusa-filtros button.active,
.medusa-filtros button:hover {
  background: #0A0F2B;
  color: #fff;
  border-color: #09192f;
}

.medusa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.medusa-card {
  background: #F5F5F7;
  border-radius: 14px;
  padding: 18px;
  position: relative;
  box-shadow: 0 10px 22px rgba(20, 35, 55, 0.05);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: 0.25s;
}

.medusa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(20, 35, 55, 0.12);
}

.medusa-img-wrap {
  position: relative;
  border-radius: 6px;
  height: 304px !important;
  width: 338px !important;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.medusa-img-note {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 20px;
  color: #fff;
  font-size: 8.19px;
  font-family: 'Nunito Sans';
  font-weight: 400;
  text-align: center;
  line-height: 1.3;
  z-index: 4;
  text-shadow: 0 2px 5px rgba(0,0,0,.45);
  pointer-events: none;
}

.medusa-product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.medusa-logo {
  position: absolute;
  top: 10px;
  right: 10px;
  max-width: 70px;
  max-height: 34px;
  background: #fff;
  border-radius: 8px !important;
  border: 1px solid #A7A7B1 !important;
  padding: 4px;
  object-fit: contain;
}

.medusa-badge {
  display: inline-flex;
  align-self: flex-start;
  background: #A7A7B1;
  color: #FFFFFF;
  font-family: 'Nunito Sans';
  border: 1px solid #d6dae0;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 12px;
}

.medusa-label {
  font-size: 16px;
  font-family: 'Nunito Sans';
  line-height: 1;
  margin: 14px 0 5px;
  color: #000000;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.medusa-card h3 {
  font-size: 16px;
  font-family: 'Nunito Sans';
  margin: 0;
  color: #767688;
  font-weight: 500;
}

.medusa-value {
  font-size: 16px;
  font-family: 'Nunito Sans';
  font-weight: 500;
  margin: 0;
  color: #767688;
  line-height: 1.4;
}

.medusa-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.medusa-info-btn,
.medusa-quote-btn {
  width: 50%;
  height: 50px;
  border-radius: 999px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s;
}

.medusa-info-btn {
  border: 2px solid #25AC89;
  font-family: 'Poppins';
  font-weight: 500;
  font-size: 16px;
  color: #25AC89;
  background: transparent;
}

.medusa-quote-btn {
  border: 1px solid #20c89b;
  color: #fff;
  background: linear-gradient(90deg, #25AC89, #4CBF77);
  font-family: 'Poppins';
  font-weight: 500;
  font-size: 16px;
}

.medusa-info-btn:hover {
  background: transparent;
  color: black;
}

.medusa-quote-btn:hover {
  filter: brightness(0.96);
}

/* ===== PAGINATION ===== */

.medusa-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.medusa-pagination button {
  border: 0;
  background: #F5F5F7;
  color: #A7A7B1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  font-family: 'Poppins';
  cursor: pointer;
  font-weight: 700;
  padding: inherit;
}

.medusa-pagination button.active {
  background: #e5e9ef;
  color: #39424d;
}

.medusa-pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===== MODAL ===== */

.medusa-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.medusa-modal.open {
  display: flex;
}

.medusa-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(2px);
}

.medusa-modal-box {
  position: relative;
  z-index: 1;
  width: min(960px, 94vw);
  min-height: 440px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 22px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.medusa-close {
  position: absolute;
  right: 18px;
  top: 14px;
  border: 0;
  background: rgba(255, 255, 255, 0.75);
  font-size: 26px;
  line-height: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  color: #67707a;
  z-index: 3;
}

/* ===== RESPONSIVE CATÁLOGO ===== */

@media (max-width: 900px) {
  .medusa-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .medusa-modal-box {
    grid-template-columns: 1fr;
  }

  .medusa-modal-img {
    min-height: 260px;
  }

  .medusa-filtros button {
    padding: 7px 24px;
  }
}

@media (max-width: 560px) {
  .medusa-grid {
    grid-template-columns: 1fr;
  }

  .medusa-card {
    padding: 15px;
  }

  .medusa-filtros {
    gap: 8px;
  }

  .medusa-filtros button {
    font-size: 10px;
    padding: 7px 16px;
  }

  .medusa-actions {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .medusa-info-btn,
  .medusa-quote-btn {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    height: 45px;
    white-space: nowrap;
  }

  .medusa-modal-box {
    padding: 16px;
    border-radius: 18px;
  }

  .medusa-modal-content h2 {
    font-size: 20px;
  }

  .medusa-modal {
    padding: 12px;
  }
}

/* ===== LANDING INDIVIDUAL DE PRODUCTO ===== */

/* ===== LANDING INDIVIDUAL DE PRODUCTO ===== */

.medusa-single-wrap {
  font-family: Inter, Arial, sans-serif;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 0 70px;
  color: #222635;
}

.medusa-single-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #A7A7B1;
  font-family: 'Nunito Sans', Inter, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.medusa-back {
  width: 38px;
  height: 38px;
  border: 2px solid #A7A7B1;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #A7A7B1;
  text-decoration: none !important;
  font-size: 34px;
  line-height: 1;
  font-weight: 300;
  background: #fff;
}

.medusa-back:hover {
  color: #25AC89;
  border-color: #25AC89;
}

.medusa-single-top span {
  color: #A7A7B1;
}

.medusa-product-landing {
  display: grid;
  grid-template-columns: 510px 1fr;
  gap: 34px;
  align-items: start;
}

.medusa-single-gallery {
  position: relative;
  width: 510px;
  height: 467px !important;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at center, #b7b7bc 0%, #77777d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.medusa-single-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

.medusa-single-progress {
  position: absolute;
  top: 20px;
  left: 34px;
  right: 34px;
  display: flex;
  gap: 14px;
  z-index: 4;
}

.medusa-single-progress span {
  height: 7px;
  flex: 1;
  border-radius: 20px;
  background: rgba(255,255,255,.18);
}

.medusa-single-progress span.active {
  background: #fff;
}

.medusa-single-prev {
  left: 32px;
}

.medusa-single-next {
  right: 32px;
}

.medusa-single-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none !important;
  background: transparent !important;
  z-index: 20;
  padding: 0;
  cursor: pointer;
}

.medusa-single-arrow img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.medusa-single-note {
  bottom: 18px;
  font-size: 10px;
  z-index: 5;
}

.medusa-single-info {
  padding-top: 0;
}

.medusa-single-info h1 {
  margin: 0 0 12px;
  font-family: 'Poppins', sans-serif;
  color: #292930;
  font-size: 29px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.3px;
  max-width: 490px;
}

.medusa-single-info .medusa-badge {
  margin-top: 0;
  font-size: 14px;
  padding: 4px 11px;
}

.medusa-single-specs {
  display: flow;
  margin-top: 82px;
}

.medusa-single-specs strong {
  display: block;
  font-family: 'Nunito Sans', Inter, Arial, sans-serif;
  color: #000;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 1px;
  font-weight: 800;
  margin-bottom: 5px;
}

.medusa-single-specs p {
  margin: 0;
  color: #767688;
  font-family: 'Nunito Sans', Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}

.medusa-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.medusa-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 2px 8px;
  border: 2px solid #A7A7B1;
  border-radius: 999px;
  color: #A7A7B1;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  background: #fff;
}

.medusa-single-actions {
  display: flex;
  gap: 12px;
  margin-top: 82px;
  align-items: center;
}

.medusa-single-actions .medusa-info-btn,
.medusa-single-actions .medusa-quote-btn {
  width: auto;
  min-width: 230px;
  height: 40px;
  padding: 0 20px;
  font-size: 15px;
}

/* ===== CTAS INFERIORES ===== */

.medusa-single-ctas {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 18px;
  margin-top: 80px;
}

.medusa-help-card {
  position: relative;
  min-height: 240px;
  border-radius: 18px;
  padding: 34px;
  display: flex;
  overflow: hidden;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}

.medusa-help-card h2 {
  margin: 0 0 26px;
  font-family: 'Poppins';
  font-size: 32px;
  line-height: 1.05;
  font-weight: 600;
  color: #fff;
}

.medusa-help-card p {
  margin: 0;
  font-family: 'Nunito Sans', Inter, Arial, sans-serif;
  color: #fff;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.35;
}

.medusa-help-dark {
  background: #0A0F2B;
  align-items: flex-start;
  gap: 18px;
}

.medusa-check {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.medusa-check img {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
}

/* ===== CTA VERDE CON IMAGEN ===== */

.medusa-help-green{
  position: relative;
  background: linear-gradient(135deg, #25AC89 0%, #4CBF77 100%);
  min-height: 238px;
  padding: 35px 24px 30px 34px;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: visible !important;
}


.medusa-help-content{
  position: relative;
  z-index: 4;
  max-width: 280px;
}

.medusa-help-green h2{
  font-size: 27px;
  line-height: 1.16;
  font-weight: 700;
  margin: 0 0 38px;
  width: 400px;
  color: #fff;
}

.medusa-help-green p{
  font-size: 24px;
  line-height: 1.25;
  font-family:'Nunito Sans';
  max-width: 250px;
  font-weight:500;
  color: #fff;
  margin: 0;
}

.medusa-help-person{
    position: absolute;
    right: 62px;
    top: -42px;
    height: 315px;
    width: auto;
    z-index: 6;
    pointer-events: none;

    filter: none;
}

.medusa-help-green a {
    position: absolute;
    right: 28px;
    bottom: 20px;
    z-index: 10;
    width: 250px;
    height: 45px;
    border-radius: 999px;
    background: #F3F3F3;
    color: #25AC89 !important;
    font-family: 'Poppins';
    font-size: 19.2px;
    font-weight: 500;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ===== RESPONSIVE LANDING ===== */

@media (max-width: 900px) {
  .medusa-product-landing,
  .medusa-single-ctas {
    grid-template-columns: 1fr;
  }

  .medusa-single-gallery,
  .medusa-single-img {
    width:361px;
    height: 330px;
  }

  .medusa-single-info h1 {
    font-size: 26px;
  }

  .medusa-single-specs {
    margin-top: 28px;
  }

  .medusa-help-green {
    min-height: 280px;
  }

  .medusa-help-person {
    right: 70px;
    height: 95%;
  }
}

@media (max-width: 560px) {
  .medusa-single-wrap {
    padding: 26px 16px 50px;
  }

  .medusa-single-gallery,
  .medusa-single-img {
    min-height: 280px;
    height: 280px;
  }

  .medusa-single-progress {
    left: 22px;
    right: 22px;
    gap: 8px;
  }

  .medusa-single-prev {
    left: 14px;
  }

  .medusa-single-next {
    right: 14px;
  }

  .medusa-single-specs {
    grid-template-columns: 1fr;
  }

  .medusa-single-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .medusa-single-actions .medusa-info-btn,
  .medusa-single-actions .medusa-quote-btn {
    width: 100%;
    min-width: 0;
  }

  .medusa-help-card {
    padding: 28px 24px;
  }

  .medusa-help-card h2 {
    font-size: 24px;
  }

  .medusa-help-green {
    min-height: 320px;
    padding: 28px 22px;
    align-items: flex-start;
  }

  .medusa-help-content {
    max-width: 220px;
  }

  .medusa-help-green h2 {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .medusa-help-green p {
    font-size: 16px;
    max-width: 190px;
  }

  .medusa-help-person {
    right: -5px;
    height: 100%;
    top:1px;
  }

  .medusa-help-green a {
    right: 24px;
    bottom: 28px;
    min-width: 180px;
    height: 40px;
    font-size: 16px;
  }
}
/* ===== AJUSTE LANDING INVERSORES ===== */
body.single-medusa_producto .medusa-single-wrap,
.medusa-single-wrap{
  max-width: 1050px !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
  box-sizing: border-box !important;
}

body.single-medusa_producto .medusa-product-landing,
.medusa-product-landing{
  grid-template-columns: 445px minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: start !important;
}

body.single-medusa_producto .medusa-single-gallery,
.medusa-single-gallery{
  width: 616px !important;
  height: 566px !important;
  border-radius: 14px !important;
}

body.single-medusa_producto .medusa-single-info h1,
.medusa-single-info h1{
  font-size: 32px !important;
  line-height: 1.15 !important;
  font-weight: 600 !important;
  max-width: 420px !important;
  margin: 0 0 10px !important;
  color: #292930 !important;
}

body.single-medusa_producto .medusa-single-info .medusa-badge,
.medusa-single-info .medusa-badge{
  font-size: 16px !important;
  line-height: 1 !important;
  padding: 4px 9px !important;
  margin: 0 !important;
}

body.single-medusa_producto .medusa-single-specs,
.medusa-single-specs{
  margin-top: 56px !important;
}

body.single-medusa_producto .medusa-inversor-specs,
.medusa-inversor-specs{
  margin-top: 56px !important;
}

body.single-medusa_producto .medusa-inversor-volts,
.medusa-inversor-volts{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 28px !important;
  margin-top: 14px !important;
  max-width: 430px !important;
}

body.single-medusa_producto .medusa-inversor-volt-col,
.medusa-inversor-volt-col{
  min-width: 0 !important;
}

body.single-medusa_producto .medusa-inversor-volt-col + .medusa-inversor-volt-col,
.medusa-inversor-volt-col + .medusa-inversor-volt-col{
  border-left: 2px solid #A7A7B1 !important;
  padding-left: 28px !important;
}

body.single-medusa_producto .medusa-inversor-volts strong,
.medusa-inversor-volts strong{
  font-size: 12px !important;
  letter-spacing: 1.2px !important;
  margin-bottom: 8px !important;
  white-space: nowrap !important;
}

body.single-medusa_producto .medusa-inversor-volts p,
.medusa-inversor-volts p{
  font-size: 12px !important;
  line-height: 1.6 !important;
  color: #292930 !important;
  max-width: 170px !important;
}

body.single-medusa_producto .medusa-single-actions,
.medusa-single-actions{
  margin-top: 46px !important;
  gap: 12px !important;
}


@media (max-width: 900px){
  body.single-medusa_producto .medusa-product-landing,
  .medusa-product-landing{
    grid-template-columns: 1fr !important;
  }

  body.single-medusa_producto .medusa-single-gallery,
  .medusa-single-gallery{
    width: 361px !important;
    height: 330px !important;
  }

  body.single-medusa_producto .medusa-inversor-volts,
  .medusa-inversor-volts{
    max-width: 100% !important;
  }
}

@media (max-width: 560px){
  body.single-medusa_producto .medusa-inversor-volts,
  .medusa-inversor-volts{
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body.single-medusa_producto .medusa-inversor-volt-col + .medusa-inversor-volt-col,
  .medusa-inversor-volt-col + .medusa-inversor-volt-col{
    border-left: 0 !important;
    padding-left: 0 !important;
  }
}

/* ===== AJUSTES DE CATÁLOGO / FILTROS ===== */
.medusa-hidden {
  display: none !important;
}

.medusa-catalogo *,
.medusa-catalogo *::before,
.medusa-catalogo *::after {
  box-sizing: border-box;
}

.medusa-img-wrap {
  width: 100% !important;
  max-width: 338px;
  margin: 0 auto;
}

.medusa-card {
  overflow: hidden;
}

.medusa-value:empty,
.medusa-card h3:empty {
  display: none;
}

@media (max-width: 900px) {
  .medusa-filtros {
    gap: 10px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .medusa-filtros::-webkit-scrollbar {
    display: none;
  }

  .medusa-filtros button {
    flex: 0 0 auto;
    width: auto;
    min-width: 126px;
    font-size: 14px;
    font-family:'Nunito Sans';
    font-weight:700;
  }
}

/* ===== LANDINGS POR TIPO DE PRODUCTO ===== */
.medusa-micro-grid{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:28px !important;
  margin-top:14px !important;
  max-width:430px !important;
}

.medusa-micro-grid > div + div{
  border-left:2px solid #A7A7B1 !important;
  padding-left:28px !important;
}

.medusa-micro-specs .medusa-pills span,
.medusa-panel-specs .medusa-pills span{
  font-size:20px !important;
  min-height:22px !important;
  padding:1px 8px !important;
}

.medusa-estructura-specs{
  margin-top:34px !important;
}

.medusa-estructura-specs > div,
.medusa-panel-specs > div,
.medusa-micro-specs > div{
  margin-bottom:18px !important;
}

@media (max-width:560px){
  .medusa-micro-grid{
    grid-template-columns:1fr !important;
    gap:12px !important;
  }
  .medusa-micro-grid > div + div{
    border-left:0 !important;
    padding-left:0 !important;
  }
}

/* ===== AJUSTE MICROINVERSORES: valores en óvalo ===== */
body.single-medusa_producto .medusa-micro-specs .medusa-micro-grid,
.medusa-micro-specs .medusa-micro-grid{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 28px !important;
  margin-top: 14px !important;
  max-width: 430px !important;
}

body.single-medusa_producto .medusa-micro-specs .medusa-micro-grid > div + div,
.medusa-micro-specs .medusa-micro-grid > div + div{
  border-left: 2px solid #A7A7B1 !important;
  padding-left: 28px !important;
}

body.single-medusa_producto .medusa-micro-specs p.medusa-pills,
.medusa-micro-specs p.medusa-pills{
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-medusa_producto .medusa-micro-specs p.medusa-pills span,
.medusa-micro-specs p.medusa-pills span{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  min-width: auto !important;
  min-height: 21px !important;
  padding: 1px 9px !important;
  border: 2px solid #A7A7B1 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #A7A7B1 !important;
  font-family: 'Nunito Sans', Inter, Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

@media (max-width:560px){
  body.single-medusa_producto .medusa-micro-specs .medusa-micro-grid,
  .medusa-micro-specs .medusa-micro-grid{
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body.single-medusa_producto .medusa-micro-specs .medusa-micro-grid > div + div,
  .medusa-micro-specs .medusa-micro-grid > div + div{
    border-left: 0 !important;
    padding-left: 0 !important;
  }
}

/* ===== AJUSTE FINAL: ALINEACIÓN LANDING PRODUCTO ===== */
@media (min-width: 901px){
  body.single-medusa_producto .medusa-single-wrap,
  .medusa-single-wrap{
    max-width: 1244px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-medusa_producto .medusa-product-landing,
  .medusa-product-landing{
    display: grid !important;
    grid-template-columns: 613px minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: start !important;
    width: 100% !important;
  }

  body.single-medusa_producto .medusa-single-gallery,
  .medusa-single-gallery{
    width: 613px !important;
    max-width: 613px !important;
  }

  body.single-medusa_producto .medusa-single-ctas,
  .medusa-single-ctas{
    display: grid !important;
    grid-template-columns: 613px 613px !important;
    gap: 18px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin-top: 80px !important;
  }

  body.single-medusa_producto .medusa-help-card,
  .medusa-help-card{
    width: 613px !important;
    max-width: 613px !important;
    height: 289px !important;
    min-height: 289px !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 1280px) and (min-width: 901px){
  body.single-medusa_producto .medusa-single-wrap,
  .medusa-single-wrap{
    max-width: calc(100vw - 36px) !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  body.single-medusa_producto .medusa-product-landing,
  .medusa-product-landing,
  body.single-medusa_producto .medusa-single-ctas,
  .medusa-single-ctas{
    grid-template-columns: 1fr 1fr !important;
  }


  body.single-medusa_producto .medusa-help-card,
  .medusa-help-card{
    width: 100% !important;
    max-width: none !important;
  }
}

@media (max-width: 900px){
  body.single-medusa_producto .medusa-single-ctas,
  .medusa-single-ctas{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body.single-medusa_producto .medusa-help-card,
  .medusa-help-card{
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
  }
   /* Contenedor de la galería */
    .medusa-single-gallery{
        width: 361px !important;
        height: 331.7px !important;
        margin: 0 auto !important;
    }
}


/* ==================================================
   AJUSTES RESPONSIVE DETALLE DE PRODUCTO - MEDUSA
   ================================================== */

/* Flecha regresar: área clickeable y siempre visible */
.medusa-single-top{
  position: relative !important;
  z-index: 20 !important;
}

.medusa-back{
  flex: 0 0 38px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 30 !important;
}

/* Tamaños generales del detalle */
body.single-medusa_producto .medusa-single-info h1,
.medusa-single-info h1{
  font-size: 20px !important;
  line-height: 1.18 !important;
}

body.single-medusa_producto .medusa-single-info .medusa-badge,
.medusa-single-info .medusa-badge{
  font-size: 14px !important;
  line-height: 1 !important;
}

body.single-medusa_producto .medusa-single-specs strong,
.medusa-single-specs strong,
body.single-medusa_producto .medusa-inversor-volts strong,
.medusa-inversor-volts strong,
body.single-medusa_producto .medusa-micro-specs strong,
.medusa-micro-specs strong,
body.single-medusa_producto .medusa-panel-specs strong,
.medusa-panel-specs strong,
body.single-medusa_producto .medusa-estructura-specs strong,
.medusa-estructura-specs strong{
  font-size: 16px !important;
  line-height: 1.2 !important;
}

body.single-medusa_producto .medusa-single-specs p,
.medusa-single-specs p,
body.single-medusa_producto .medusa-inversor-volts p,
.medusa-inversor-volts p,
body.single-medusa_producto .medusa-micro-specs p,
.medusa-micro-specs p,
body.single-medusa_producto .medusa-panel-specs p,
.medusa-panel-specs p,
body.single-medusa_producto .medusa-estructura-specs p,
.medusa-estructura-specs p{
  font-size: 16px !important;
  line-height: 1.35 !important;
}

@media (max-width: 900px){
    
    
  body.single-medusa_producto .medusa-single-wrap,
  .medusa-single-wrap{
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.single-medusa_producto .medusa-product-landing,
  .medusa-product-landing{
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body.single-medusa_producto{
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
  }
  
   /* Contenedor de la galería */
    .medusa-single-gallery{
        width: 361px !important;
        height: 331.7px !important;
        margin: 0 auto !important;
    }
  .medusa-single-img{
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: contain !important;
  }
}

@media (max-width: 560px){
  body.single-medusa_producto .medusa-single-wrap,
  .medusa-single-wrap{
    padding: 18px 14px 42px !important;
  }

  body.single-medusa_producto .medusa-single-info h1,
  .medusa-single-info h1{
    font-size: 20px !important;
    line-height: 1.18 !important;
    margin-bottom: 8px !important;
  }

  body.single-medusa_producto .medusa-single-info .medusa-badge,
  .medusa-single-info .medusa-badge{
    font-size: 14px !important;
    padding: 5px 10px !important;
  }

  body.single-medusa_producto .medusa-single-specs,
  .medusa-single-specs,
  body.single-medusa_producto .medusa-inversor-specs,
  .medusa-inversor-specs,
  body.single-medusa_producto .medusa-panel-specs,
  .medusa-panel-specs,
  body.single-medusa_producto .medusa-micro-specs,
  .medusa-micro-specs,
  body.single-medusa_producto .medusa-estructura-specs,
  .medusa-estructura-specs{
    margin-top: 22px !important;
  }

  body.single-medusa_producto .medusa-single-specs strong,
  .medusa-single-specs strong,
  body.single-medusa_producto .medusa-inversor-volts strong,
  .medusa-inversor-volts strong,
  body.single-medusa_producto .medusa-micro-specs strong,
  .medusa-micro-specs strong,
  body.single-medusa_producto .medusa-panel-specs strong,
  .medusa-panel-specs strong,
  body.single-medusa_producto .medusa-estructura-specs strong,
  .medusa-estructura-specs strong{
    font-size: 16px !important;
  }

  body.single-medusa_producto .medusa-single-specs p,
  .medusa-single-specs p,
  body.single-medusa_producto .medusa-inversor-volts p,
  .medusa-inversor-volts p,
  body.single-medusa_producto .medusa-micro-specs p,
  .medusa-micro-specs p,
  body.single-medusa_producto .medusa-panel-specs p,
  .medusa-panel-specs p,
  body.single-medusa_producto .medusa-estructura-specs p,
  .medusa-estructura-specs p{
    font-size: 16px !important;
    max-width: 100% !important;
  }

 
}


/* ===== FIX MÓVIL: botones horizontales + asesor CTA verde ===== */
.medusa-help-person-picture{
  display: block;
}

.medusa-help-person-picture .medusa-help-person{
  display: block;
}

@media (max-width: 560px){
  body.single-medusa_producto .medusa-single-actions,
  .medusa-single-actions{
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 24px !important;
  }

  body.single-medusa_producto .medusa-single-actions .medusa-info-btn,
  .medusa-single-actions .medusa-info-btn,
  body.single-medusa_producto .medusa-single-actions .medusa-quote-btn,
  .medusa-single-actions .medusa-quote-btn{
    flex: 1 1 0 !important;
    width: 50% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 36px !important;
    padding: 0 8px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }

  body.single-medusa_producto .medusa-help-person-picture,
  .medusa-help-person-picture{
    position: absolute !important;
    right: -5px !important;
    top: 35px !important;
    height: 78% !important;
    width: auto !important;
    z-index: 6 !important;
    pointer-events: none !important;
  }

  body.single-medusa_producto .medusa-help-person-picture .medusa-help-person,
  .medusa-help-person-picture .medusa-help-person{
    position: static !important;
    height: 100% !important;
    width: auto !important;
    display: block !important;
  }
}

/* ===== CORRECCIÓN FINAL MÓVIL: botones en fila, cards uniformes e imagen móvil correcta ===== */
@media (max-width: 560px){
  body.single-medusa_producto .medusa-single-actions,
  .medusa-single-actions{
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 24px !important;
  }

  body.single-medusa_producto .medusa-single-actions .medusa-info-btn,
  body.single-medusa_producto .medusa-single-actions .medusa-quote-btn,
  .medusa-single-actions .medusa-info-btn,
  .medusa-single-actions .medusa-quote-btn{
    flex: 1 1 calc(50% - 5px) !important;
    width: calc(50% - 5px) !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 36px !important;
    padding: 0 8px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.single-medusa_producto .medusa-single-ctas,
  .medusa-single-ctas{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 28px !important;
  }

  body.single-medusa_producto .medusa-help-card,
  .medusa-help-card{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 14px !important;
  }

  body.single-medusa_producto .medusa-help-dark,
  .medusa-help-dark{
    min-height: 178px !important;
    padding: 22px 20px !important;
    gap: 14px !important;
    overflow: hidden !important;
  }

  body.single-medusa_producto .medusa-check,
  .medusa-check,
  body.single-medusa_producto .medusa-check img,
  .medusa-check img{
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
  }

  body.single-medusa_producto .medusa-help-dark h2,
  .medusa-help-dark h2{
    font-size: 24px !important;
    line-height: 1.08 !important;
    margin: 0 0 20px !important;
  }

  body.single-medusa_producto .medusa-help-dark p,
  .medusa-help-dark p{
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

 

  body.single-medusa_producto .medusa-help-green,
  .medusa-help-green{
    position: relative !important;
min-height: 244px !important;
    padding: 18px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body.single-medusa_producto .medusa-help-green .medusa-help-content,
  .medusa-help-green .medusa-help-content{
    position: relative !important;
    z-index: 5 !important;
    width: 205px !important;
    max-width: 205px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.single-medusa_producto .medusa-help-green h2,
  .medusa-help-green h2{
    position: relative !important;
    z-index: 5 !important;
    width: 205px !important;
    max-width: 205px !important;
    margin: 0 0 17px !important;
    font-size: 24px !important;
    line-height: 1.15 !important;
  }

  body.single-medusa_producto .medusa-help-green p,
  .medusa-help-green p{
    position: relative !important;
    z-index: 5 !important;
    width: 200px !important;
    max-width: 200px !important;
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  body.single-medusa_producto .medusa-help-person-picture,
  .medusa-help-person-picture{
    position: absolute !important;
    top: -4px !important;
    right: -12px !important;
    width: auto !important;
    height: 205px !important;
    z-index: 4 !important;
    pointer-events: none !important;
  }

  body.single-medusa_producto .medusa-help-person-picture .medusa-help-person,
  .medusa-help-person-picture .medusa-help-person{
    position: static !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: right top !important;
  }

  body.single-medusa_producto .medusa-help-green a,
  .medusa-help-green a{
    position: absolute !important;
    top: 174px !important;
    bottom: auto !important;
    left: 18px !important;
    right: auto !important;
    z-index: 8 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 178px !important;
    min-width: 0 !important;
    max-width: 178px !important;
    height: 36px !important;
    padding: 0 14px !important;

    font-size: 12px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
}