/* ===== CONTENEDOR GENERAL ===== */
.eshop-product{
  width: 100%;
  box-sizing: border-box;
}

/* ===== LOADING ===== */
.eshop-product__loading{
  padding: 20px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* ===== LAYOUT SUPERIOR ===== */
.eshop-product__top{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: start;
}

/* ===== GALERÍA ===== */
.eshop-gallery{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* Imagen principal */
.eshop-gallery__main{
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  cursor: zoom-in;
}

.eshop-gallery__main img{
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ===== BADGE DESCUENTO SOBRE IMAGEN ===== */
.eshop-gallery__discount{
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: #5F9996;
  color: #fff;
  font-weight: 900;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

/* ===== THUMBNAILS ===== */
.eshop-gallery__thumbs{
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.eshop-thumb{
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(0,0,0,.10);
  background: #fff;
  cursor: pointer;
  opacity: .85;
}

.eshop-thumb.is-active{
  border-color: #5F9996;
  opacity: 1;
}

.eshop-thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== INFO PRODUCTO ===== */
.eshop-info{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.eshop-breadcrumb{
  font-size: 13px;
  opacity: .75;
  margin-bottom: 6px;
}

.eshop-title{
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.eshop-metaRow{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 13px;
  opacity: .85;
  margin-bottom: 12px;
}

/* ===== PRECIOS ===== */
.eshop-priceBox{
  margin: 10px 0 14px 0;
}

.eshop-old{
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.eshop-price{
  color: #5F9996 !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  margin-top: 2px;
}

.eshop-stock{
  font-size: 13px;
  opacity: .85;
  margin: 10px 0;
}

/* ===== ACCIONES (50% / 50%) ===== */
.eshop-actions{
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.eshop-qty{
  width: 50%;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.15);
  padding: 0 12px;
  font-weight: 900;
  outline: none;
}

/* ✅ BOTÓN RENOMBRADO */
.eshop-product-add-btn{
  width: 50% !important;
  height: 46px !important;
  border-radius: 12px !important;
  border: 1px solid #5F9996 !important;
  background: #5F9996 !important;
  color: #fff !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent !important;
}

.eshop-product-add-btn:hover,
.eshop-product-add-btn:focus,
.eshop-product-add-btn:active{
  background: #5F9996 !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
}

/* ===== LOGO MARCA ===== */
.eshop-brandLogo{
  margin-top: 14px;
}

.eshop-brandLogo img{
  max-width: 250px !important;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===== SECCIONES INFERIORES ===== */
.eshop-section{
  margin-top: 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.eshop-section h3{
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: 900;
}

/* ===== DESCRIPCIÓN ===== */
.eshop-desc{
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.eshop-desc ul{
  padding-left: 18px !important;
  margin: 10px 0 !important;
}

.eshop-desc *{
  max-width: 100%;
}

/* ===== VIDEO ===== */
.eshop-video video{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
}

/* Lightbox icon sizing (tuyo) */
.eshop-lightbox__close i,
.eshop-lightbox__nav i{
  font-size: 22px;
  pointer-events: none;
}

.eshop-lightbox__close{
  display: flex;
  align-items: center;
  justify-content: center;
}

.eshop-lightbox__nav{
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ======================================================
   ✅ EFECTO PRO (UNICO): eshop-pind2 (SKELETON + FADE)
====================================================== */

/* Fade-in del contenido real (evita el "aparece de golpe") */
.eshop-pind2__fade{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .28s ease, transform .28s ease;
  will-change: opacity, transform;
}
.eshop-pind2__fade.is-in{
  opacity: 1;
  transform: translateY(0);
}

/* Skeleton layout */
.eshop-pind2__loading{
  padding: 14px;
}

/* si usas mount + loading dentro del root */
.eshop-pind2__sk-top{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  align-items: start;
}

.eshop-pind2__sk-img{
  height: 440px;
  border-radius: 14px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: eshopPind2Shimmer 1.1s infinite;
}

.eshop-pind2__sk-info{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eshop-pind2__sk-line,
.eshop-pind2__sk-price,
.eshop-pind2__sk-btn{
  border-radius: 999px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: eshopPind2Shimmer 1.1s infinite;
}

.eshop-pind2__sk-line{ height: 14px; }
.eshop-pind2__sk-line.w40{ width: 40%; }
.eshop-pind2__sk-line.w60{ width: 60%; }
.eshop-pind2__sk-line.w85{ width: 85%; }
.eshop-pind2__sk-line.w90{ width: 90%; }
.eshop-pind2__sk-line.w95{ width: 95%; }

.eshop-pind2__sk-price{
  height: 28px;
  width: 55%;
  margin-top: 10px;
}

.eshop-pind2__sk-btn{
  height: 46px;
  width: 70%;
  margin-top: 12px;
}

.eshop-pind2__sk-desc{
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@keyframes eshopPind2Shimmer{
  0%{ background-position: 200% 0; }
  100%{ background-position: -200% 0; }
}

.eshop-pind2__msg{
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 1024px){
  .eshop-product__top{
    grid-template-columns: 1fr;
  }
  .eshop-gallery__main{
    height: 380px;
  }

  /* skeleton */
  .eshop-pind2__sk-top{
    grid-template-columns: 1fr;
  }
  .eshop-pind2__sk-img{
    height: 360px;
  }
}

@media (max-width: 600px){
  .eshop-gallery__main{
    height: 320px;
  }
  .eshop-title{
    font-size: 20px;
  }
  .eshop-price{
    font-size: 22px !important;
  }
  .eshop-actions{
    flex-direction: column;
  }
  .eshop-qty,
  .eshop-product-add-btn{
    width: 100% !important;
  }

  /* skeleton */
  .eshop-pind2__sk-img{
    height: 320px;
  }
}
