/* =========================================================
   Tania - PDP v2 (RQ-01) - capa de override
   Se carga DESPUES de Tania-Main.min.css, solo en Producto_v2.
   Todo va dentro de #product-content para no afectar otras paginas.
   Colores: marca #76236d · texto #1d1d1f · gris #6b6b6b · borde #e5e5e5
   ========================================================= */

/* ---------------------------------------------------------
   0. Arreglos generales (desktop y mobile)
   --------------------------------------------------------- */

/* tania-producto-EXP.js pone height inline en .col-for (en mobile 150px)
   y recorta la foto. Se libera el alto para que mande la imagen. */
#product-content .product-image .col-for,
#product-content .product-image .cont-slider {
  height: auto !important;
}
/* Carrusel cuadrado (las fotos son 1000x1000). Asi el video vertical,
   que va como slide, no estira el bloque. */
#product-content .product-image .slick-for .slick-list {
  aspect-ratio: 1 / 1;
  height: auto !important;
  overflow: hidden;
}
#product-content .product-image .slick-for .slick-track { height: 100% !important; }
#product-content .product-image .slick-for img.slick-slide {
  width: 100%;
  height: auto;
  display: block;
}
#product-content .product-image .slick-for video.slick-slide {
  width: 100%;
  height: 100% !important;
  object-fit: contain;
  background: #000;
}

/* Zoom por hover (elevateZoom) desactivado en v2: con la imagen grande
   solo ampliaba 1,5x y tapaba la foto con un cuadro. Se reemplaza en RQ-02
   por una vista ampliada al tocar/clic. Para volver al zoom, borrar esta regla. */
.zoomContainer { display: none !important; }

/* Dimension "Estado promocional" (Normal / Rebajado): es un dato interno, el
   cliente no la elige. Se oculta siempre (antes solo con 1 opcion: con 2 opciones
   quedaba visible y sin marcar, y el aviso "falta elegir" bloqueaba la compra).
   Cuando hace falta para identificar el SKU, la marca tania-producto-v2.js (sec. 10). */
#product-content .seletor-sku ul.topic.Estadopromocional { display: none; }

/* Evita scroll horizontal por el 100vw de mobile sin romper position: sticky */
body#product-page { overflow-x: clip; }

/* ---------------------------------------------------------
   1. Marca + referencia (juntas, como en el original)
   --------------------------------------------------------- */
#product-content .codigo-producto {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-size: 12px;
  color: #6b6b6b;
  margin: 0 0 12px;
}
#product-content .codigo-producto .attr-prod,
#product-content .codigo-producto .attr-prod a {
  display: inline;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #76236d;
  text-decoration: none;
  margin: 0;
}
#product-content .codigo-producto .ref-prod {
  display: inline;
  margin: 0;
  font-size: 12px;
  color: #6b6b6b;
}
#product-content .codigo-producto .ref-prod span,
#product-content .codigo-producto .ref-prod .productReference { display: inline; }
#product-content .codigo-producto .ref-prod span { margin-right: 3px; }

/* ---------------------------------------------------------
   2. Selector de color / talla
   --------------------------------------------------------- */
#product-content .seletor-sku input.sku-selector {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
#product-content .seletor-sku .skuList > span { display: contents; }

/* Color antes que Talla, como en la propuesta */
#product-content .sku-selector-container {
  display: flex;
  flex-direction: column;
}
#product-content .seletor-sku ul.topic.Color { order: 1; }
#product-content .seletor-sku ul.topic.Talla { order: 2; }
#product-content .seletor-sku ul.topic { order: 3; }

#product-content .seletor-sku ul.topic {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
#product-content .seletor-sku .specification {
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  color: #6b6b6b;
  margin: 0 0 10px;
}
/* Etiqueta propia con el valor elegido (la crea tania-producto-v2.js).
   La original solo se oculta si la nueva existe. */
#product-content .seletor-sku .pdp-dim-label {
  font-size: 13px;
  color: #6b6b6b;
  margin: 0 0 10px;
  list-style: none;
}
#product-content .seletor-sku .pdp-dim-label > * { display: inline; }
#product-content .seletor-sku .pdp-dim-value { color: #1d1d1f; font-weight: 600; margin-left: 4px; }
#product-content .seletor-sku .pdp-dim-label + .specification { display: none; }

#product-content .seletor-sku .show-guide-text {
  font-size: 13px;
  text-transform: none;
  color: #1d1d1f;
  text-decoration: underline;
}
#product-content .seletor-sku .skuList { flex: 0 0 100%; }

/* Tallas: botones con borde en cuadricula */
#product-content .seletor-sku .item-dimension-Talla {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
#product-content .seletor-sku label.dimension-Talla {
  width: auto;
  height: 44px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  background: #fff;
  color: #1d1d1f;
  font-size: 13px;
  cursor: pointer;
}
#product-content .seletor-sku label.dimension-Talla.sku-picked,
#product-content .seletor-sku label.dimension-Talla.checked {
  border-color: #76236d;
  background: #f4ecf3;
  color: #76236d;
  font-weight: 600;
}

/* Colores: circulos */
#product-content .seletor-sku .item-dimension-Color {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#product-content .seletor-sku label.dimension-Color {
  position: relative;
  width: 32px;
  height: 32px;
  margin: 0;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #d6d6d6;
  font-size: 0;
  cursor: pointer;
}
#product-content .seletor-sku label.dimension-Color .colortool { font-size: 11px; }
/* Color elegido: VTEX marca el <input> hermano anterior del label */
#product-content .seletor-sku input.sku-selector:checked + label.dimension-Color,
#product-content .seletor-sku input.sku-picked + label.dimension-Color,
#product-content .seletor-sku label.dimension-Color.sku-picked,
#product-content .seletor-sku label.dimension-Color.checked {
  box-shadow: 0 0 0 2px #1d1d1f;
  border-width: 3px;
}

/* ---------------------------------------------------------
   3. Cantidad + Agregar a la bolsa
   --------------------------------------------------------- */
#product-content .buy-button-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 4px 0 0;
}
#product-content .buy-button-box .last { display: none; }
#product-content .buy-button-box .unavailable-button,
#product-content .buy-button-box .notifyme { flex: 0 0 100%; }

#product-content .botonCantidad {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: 48px;
  margin: 0;
  border: 1px solid #d6d6d6;
  border-radius: 999px;
  padding: 0 6px;
  background: #fff;
}
#product-content .botonCantidad .control {
  width: 32px;
  text-align: center;
  font-size: 0;
  cursor: pointer;
  user-select: none;
}
/* Tania-Main ya pinta "-" / "+" con ::before: se anula para no duplicar */
#product-content .botonCantidad .control::before { content: none; }
#product-content .botonCantidad .restar::after { content: "\2212"; font-size: 18px; }
#product-content .botonCantidad .sumar::after  { content: "+";      font-size: 18px; }
#product-content .botonCantidad input.buy-in-page-quantity {
  width: 36px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 14px;
  -moz-appearance: textfield;
}
#product-content .botonCantidad input::-webkit-outer-spin-button,
#product-content .botonCantidad input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

#product-content a.buy-in-page-button {
  flex: 1 1 0;
  width: auto;                /* Tania-Main lo pone a 100% y salta de linea */
  min-width: 0;
  display: flex !important;   /* el JS de VTEX le pone display:block inline */
  align-items: center;
  justify-content: center;
  height: 48px;
  margin: 0;
  border-radius: 999px;
  background: #76236d;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}

/* Disponibilidad en tienda: pildora con borde */
#product-content .btn-stores-cont { margin: 12px 0 0; }
#product-content .btn-stores {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  border: 1px solid #d6d6d6;
  border-radius: 999px;
  font-size: 13px;
  text-transform: none;
  color: #1d1d1f;
  background: #fff;
}
#product-content .btn-stores img { height: 14px; width: auto; }

/* ---------------------------------------------------------
   4. Acordeon desktop (details nativo, cerrado por defecto)
   --------------------------------------------------------- */
#product-content .pdp-accordion { border-top: 1px solid #e5e5e5; margin-top: 24px; }
#product-content .pdp-accordion details { border-bottom: 1px solid #e5e5e5; }
/* summary en display:block (no flex): en algunos Safari un <summary> flex
   no abre/cierra bien. La flecha va posicionada a la derecha. */
#product-content .pdp-accordion summary {
  position: relative;
  display: block;
  list-style: none;
  cursor: pointer;
  padding: 16px 32px 16px 0;
  font-size: 14px;
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
}
#product-content .pdp-accordion summary::-webkit-details-marker { display: none; }
#product-content .pdp-accordion summary::marker { content: ""; }
#product-content .pdp-accordion summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -6px;
  border-right: 2px solid #1d1d1f;
  border-bottom: 2px solid #1d1d1f;
  transform: rotate(45deg);
  transition: transform .2s;
}
#product-content .pdp-accordion details[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
#product-content .pdp-accordion details[open] > summary { color: #76236d; }
/* Sin caja con scroll interno: solo hay un desplegable abierto a la vez */
#product-content .pdp-acc-body {
  padding: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

/* ---------------------------------------------------------
   4b. Seleccion elegida debajo del titulo (la crea tania-producto-v2.js)
   Ocupa siempre su alto, asi al elegir nada se mueve.
   --------------------------------------------------------- */
#product-content .pdp-selection {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  margin: 2px 0 12px;
}
#product-content .pdp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f4ecf3;
  color: #76236d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  animation: pdpChipIn .25s ease;
}
#product-content .pdp-chip-label { font-weight: 400; color: #8a4f84; }
#product-content .pdp-chip-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(118, 35, 109, .35);
}
#product-content .pdp-chip--empty {
  background: #fff;
  color: #6b6b6b;
  font-weight: 400;
  border: 1px dashed #d6d6d6;
  animation: none;
}
@keyframes pdpChipIn {
  from { opacity: 0; transform: translateY(3px); }
  to   { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------
   4c. Widget de Addi (por fuera; por dentro lo estiliza el JS)
   --------------------------------------------------------- */
#product-content addi-product-widget {
  display: block;
  width: 100%;
  margin: 8px 0 4px;
  font-size: 13px;
}

/* ---------------------------------------------------------
   4d. Flechas del carrusel: circulos blancos con chevron
   --------------------------------------------------------- */
#product-content .slick-for .slick-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  font-size: 0;
  color: transparent;
  transform: translateY(-50%);
  cursor: pointer;
  transition: opacity .2s, background-color .2s;
}
#product-content .slick-for .slick-arrow:hover { background: #fff; }
#product-content .slick-for .slick-prev { left: 14px; right: auto; }
#product-content .slick-for .slick-next { right: 14px; left: auto; }
/* Chevron en SVG (nitido en cualquier pantalla) */
#product-content .slick-for .slick-arrow::before,
#product-content .slick-for .slick-arrow::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 0;
  font-size: 0;
  opacity: 1;
  transform: none;
  background: no-repeat center / 20px 20px;
}
#product-content .slick-for .slick-arrow::after { display: none; }
#product-content .slick-for .slick-prev::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}
#product-content .slick-for .slick-next::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
}
#product-content .slick-for .slick-arrow.slick-disabled { opacity: .35; cursor: default; }

/* ---------------------------------------------------------
   4e. Aviso "Elige tu talla" (reemplaza el alert de VTEX)
   --------------------------------------------------------- */
#product-content .seletor-sku ul.topic.pdp-need { animation: pdpShake .35s ease; }
#product-content .seletor-sku ul.topic.pdp-need label.dimension-Talla {
  border-color: #d1435b;
  background: #fff5f6;
}
#product-content .seletor-sku ul.topic.pdp-need label.dimension-Color { box-shadow: 0 0 0 1px #d1435b; }
#product-content .seletor-sku .pdp-need-msg {
  flex: 0 0 100%;
  order: 9;
  margin: 8px 0 0;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  color: #d1435b;
}
/* Aviso de combinacion que no existe (lo crea tania-producto-v2.js, seccion 9) */
#product-content .seletor-sku .pdp-info-msg {
  flex: 0 0 100%;
  order: 9;
  margin: 8px 0 0;
  padding: 8px 12px;
  list-style: none;
  border-radius: 8px;
  background: #faf5f9;
  font-size: 12.5px;
  line-height: 1.4;
  color: #5b4a58;
}
#product-content .seletor-sku .pdp-info-msg strong { color: #76236d; font-weight: 600; }
@keyframes pdpShake {
  0%, 100% { transform: none; }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* ---------------------------------------------------------
   4g. Agotados (la clase pdp-oos la pone tania-producto-v2.js segun skuJson)
   Estilo suave a proposito: el cliente debe ver que el producto existe
   y poder tocarlo, sin que parezca roto.
   --------------------------------------------------------- */
#product-content .seletor-sku label.dimension-Color.pdp-oos::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 1px;
  bottom: 1px;
  width: 1px;
  margin-left: -.5px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .18);
  transform: rotate(45deg);
  z-index: 2;
  pointer-events: none;
}
#product-content .seletor-sku label.dimension-Talla.pdp-oos {
  color: #8f8a8e;
  background: #fff linear-gradient(to top right, transparent calc(50% - .5px), #e7e2e6 50%, transparent calc(50% + .5px));
  border-color: #e3dee2;
  border-style: dashed;
}
#product-content .seletor-sku label.dimension-Talla.pdp-oos.sku-picked,
#product-content .seletor-sku label.dimension-Talla.pdp-oos.checked {
  border-style: solid;
  border-color: #c9a9c5;
  color: #76236d;
  background: #faf5f9;
}

/* Aviso de combinacion agotada (reemplaza el alert y el "SIN INVENTARIO" de la tienda) */
#product-content .buy-button-box .pdp-oos-box {
  display: none;
  flex: 0 0 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #ece4eb;
  border-radius: 10px;
  background: #faf7fa;
  font-size: 13px;
  line-height: 1.45;
  color: #5b4a58;
}
#product-content .buy-button-box .pdp-oos-box strong { display: block; margin-bottom: 2px; color: #76236d; }
#product-content .buy-button-box .pdp-oos-box .pdp-oos-alt { display: block; margin-top: 2px; }
#product-content .buy-button-box.pdp-soldout .pdp-oos-box { display: block; }
#product-content .buy-button-box .pdp-oos-box.pdp-pulse { animation: pdpPulse .6s ease; }
@keyframes pdpPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(118, 35, 109, 0); }
  40% { box-shadow: 0 0 0 4px rgba(118, 35, 109, .15); }
}
#product-content .buy-button-box.pdp-soldout a.buy-in-page-button {
  background: #efe9ee !important;
  color: #9a8f98;
  cursor: not-allowed;
}
#product-content .buy-button-box.pdp-soldout .botonCantidad { opacity: .5; pointer-events: none; }
#product-content .pdp-chip.pdp-chip--oos { background: #f3eef2; color: #8a7a87; }
.pdp-sticky.pdp-soldout .pdp-sticky__btn { background: #efe9ee; color: #9a8f98; }

/* ---------------------------------------------------------
   4f. Barra fija de compra (solo mobile/tablet; la crea el JS)
   --------------------------------------------------------- */
.pdp-sticky { display: none; }
@media (max-width: 991px) {
  .pdp-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .10);
    transform: translateY(110%);
    transition: transform .25s ease;
    font-family: Poppins, sans-serif;
  }
  .pdp-sticky.show { transform: none; }
  .pdp-sticky__info { flex: 1 1 auto; min-width: 0; }
  .pdp-sticky__price { font-size: 16px; font-weight: 700; line-height: 1.2; color: #1d1d1f; }
  .pdp-sticky__sel {
    font-size: 12px;
    color: #76236d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .pdp-sticky__sel.is-empty { color: #d1435b; }
  .pdp-sticky__btn {
    flex: 0 0 auto;
    height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: #76236d;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    cursor: pointer;
  }
  /* que la barra no tape el final de la pagina */
  body.pdp-sticky-on { padding-bottom: 72px; }
}

/* ---------------------------------------------------------
   5. Zoom moderno (PhotoSwipe 5, lo abre tania-producto-v2.js)
   --------------------------------------------------------- */
#product-content .product-image .col-for { position: relative; }
#product-content .product-image .slick-for img.slick-slide { cursor: zoom-in; }
#product-content .pdp-zoom-btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #1d1d1f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  cursor: pointer;
}

/* Visor: fondo blanco, iconos oscuros, miniaturas abajo.
   "html .pswp" porque photoswipe.css se carga despues en el template. */
html .pswp {
  --pswp-bg: #f6f3f5;          /* gris rosado muy suave: la foto y los botones blancos resaltan */
  --pswp-icon-color: #1d1d1f;
  --pswp-icon-color-secondary: transparent;
  --pswp-icon-stroke-color: transparent;
  --pswp-icon-stroke-width: 0;
}
/* Botones del visor: circulos blancos con sombra e iconos de linea
   (los SVG los pasa tania-producto-v2.js) */
html .pswp .pswp__top-bar { padding: 16px; height: auto; display: flex; align-items: center; gap: 10px; }
html .pswp .pswp__button--zoom,
html .pswp .pswp__button--close {
  position: static;
  width: 44px;
  height: 44px;
  margin: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  opacity: 1;
}
html .pswp .pswp__button--arrow {
  top: 50%;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .14);
  opacity: 1;
}
html .pswp .pswp__button--arrow--prev { left: 20px; }
html .pswp .pswp__button--arrow--next { right: 20px; }
html .pswp .pswp__button:hover { background: #f4ecf3; }
html .pswp .pswp__button .pswp__icn,
html .pswp .pswp__button--arrow .pswp__icn {
  position: static;
  width: 22px;
  height: 22px;
  margin: 0;
  top: auto;
  left: auto;
  transform: none;
  fill: none;
  stroke: #1d1d1f;
}
html .pswp .pswp__button--arrow--next .pswp__icn { transform: none; }
html .pswp .pswp__button--zoom.pswp__button--zoom { order: 2; }
html .pswp .pswp__button--close { order: 3; }
html .pswp .pswp__counter {
  order: 1;
  margin: 0 auto 0 0;
  height: 32px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  color: #1d1d1f;
  font-size: 13px;
  text-shadow: none;
  opacity: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}
@media (max-width: 767px) {
  html .pswp .pswp__button--arrow { display: none; }   /* en mobile se desliza */
}
.pdp-pswp-thumbs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  overflow-x: auto;
  pointer-events: auto;
}
.pdp-pswp-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #f2f2f2;
  cursor: pointer;
  opacity: .6;
}
.pdp-pswp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-pswp-thumb.is-active { border-color: #1d1d1f; opacity: 1; }

/* =========================================================
   DESKTOP (>= 992px)
   Galeria fija (sticky) a la izquierda mientras se recorre la info.
   ========================================================= */
@media (min-width: 992px) {
  #product-content > .row { align-items: flex-start; }

  /* Galeria 58% · Info 42% */
  #product-content .product-image.col-lg-5 {
    width: 58%;
    max-width: 58%;
    flex: 0 0 58%;
    position: sticky;
    top: 140px;               /* el header se vuelve fijo (122px) al hacer scroll */
  }
  #product-content .product-info.col-lg-7 {
    width: 42%;
    max-width: 42%;
    flex: 0 0 42%;
    padding-left: 40px;
  }

  /* Miniaturas verticales pegadas a la imagen */
  #product-content .product-image .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    margin: 0;
  }
  #product-content .product-image .col-nav {
    flex: 0 0 84px;
    max-width: 84px;
    padding: 0 12px 0 0;
  }
  #product-content .product-image .col-nav img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid transparent;
    margin-bottom: 10px;
    cursor: pointer;
  }
  #product-content .product-image .col-nav .slick-current img,
  #product-content .product-image .col-nav img.slick-current {
    border-color: #1d1d1f;
  }
  #product-content .product-image .col-for {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 84px);
    padding: 0;
  }
  #product-content .product-image .slick-for .slick-list { border-radius: 12px; }
  /* Flechas solo al pasar el mouse por la foto */
  #product-content .slick-for .slick-arrow { opacity: 0; }
  #product-content .product-image:hover .slick-for .slick-arrow { opacity: 1; }

  /* Columna de info: una columna, orden de la propuesta */
  #product-content .product-info.col-lg-7 > .row { margin: 0; }
  #product-content .product-info.col-lg-7 > .row > .col-lg-6:first-child {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  #product-content .product-info-desk { display: contents; }
  #product-content .product-info-desk .product-name       { order: 1; }
  #product-content .product-info-desk .pdp-selection      { order: 1; }
  #product-content .product-info-desk .codigo-producto    { order: 2; }
  #product-content .product-info-desk .price-box          { order: 3; }
  #product-content .product-info-desk .model-size         { order: 4; }
  #product-content .product-info-desk .product-description{ order: 5; }
  #product-content .seletor-sku     { order: 6; }
  #product-content .buy-button-box  { order: 7; }
  #product-content .btn-stores-cont { order: 8; }
  #product-content .pdp-accordion   { order: 9; }

  #product-content .product-info-desk .product-name .highTitle {
    font-size: 30px;
    line-height: 1.15;
    font-weight: 500;
    text-align: left;
    margin: 0 0 8px;
  }
  #product-content .product-info-desk .price-box {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px;
  }
  #product-content .product-info-desk .model-size:empty { display: none; }
  #product-content .product-info-desk .product-description {
    font-size: 14px;
    line-height: 1.5;
    color: #444;
    margin: 0 0 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e5e5e5;
  }

}

/* =========================================================
   "ACOMPANALO CON" (todas las pantallas)
   La tarjeta es la de toda la tienda (shelf 000-shelf + tania-shelf.css/js):
   aqui solo van el titulo de la seccion y la grilla / carrusel.
   En VTEX el contentPlaceHolder "Relacionados" de Producto_v2 debe usar el
   shelf 000-shelf (dfaf4a2d-6265-47f9-a772-ed52defa8a88).
   ========================================================= */
#product-content .cross-selling {
  flex: 0 0 100%;
  max-width: 100%;
  margin-top: 56px;
  padding: 0;
}
#product-content .cross-selling .prateleira-cross > h2 { display: none; }
#product-content .cross-selling .prateleira-cross ul,
#product-content .cross-selling .prateleira ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#product-content .cross-selling .prateleira-cross ul > li,
#product-content .cross-selling .prateleira ul > li {
  width: auto;
  max-width: none;
  float: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
/* Si el placeholder sigue con el shelf viejo (4f03ab10), tania-shelf.js convierte cada
   tarjeta en tania-card; mientras tanto no se muestra (evita ver un instante la vieja) */
#product-content .cross-selling .product-cont:not(.tania-card) { visibility: hidden; }
/* Las columnas de Bootstrap del shelf no deben partir la tarjeta */
#product-content .cross-selling .tania-card > [class*="col-"] { width: 100%; max-width: 100%; flex: none; }

/* Titulo: etiqueta pequena + titulo + linea fina que termina en el borde */
#product-content .cross-selling::before {
  content: "Completa tu look";
  display: block;
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #76236d;
}
#product-content .cross-selling > h3 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  font-family: Poppins, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: #1d1d1f;
  text-transform: none;
}
#product-content .cross-selling > h3::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, #e3cfe0, rgba(227, 207, 224, 0));
}

/* Pestañas "Lo más vendido / Nuevos / Descuentos": el estilo está en tania-shelf.css
   (igual en el home). Aquí solo la etiqueta de arriba de la PDP. */
html body .section-tabs::before { content: "Te puede gustar"; }

@media (max-width: 1199px) {
  #product-content .cross-selling .prateleira-cross ul,
  #product-content .cross-selling .prateleira ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  /* Mobile: carrusel horizontal deslizable (una tarjeta y parte de la siguiente) */
  #product-content .cross-selling {
    margin: 36px 0 8px;
    padding: 0 16px;
  }
  #product-content .cross-selling > h3 { font-size: 20px; margin-bottom: 14px; }
  #product-content .cross-selling .prateleira-cross ul,
  #product-content .cross-selling .prateleira ul {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -16px;
    padding: 2px 16px 12px;
    scrollbar-width: none;
  }
  #product-content .cross-selling .prateleira-cross ul::-webkit-scrollbar,
  #product-content .cross-selling .prateleira ul::-webkit-scrollbar { display: none; }
  #product-content .cross-selling .prateleira-cross ul > li,
  #product-content .cross-selling .prateleira ul > li {
    flex: 0 0 62%;
    max-width: 260px;
    scroll-snap-align: start;
  }
}

/* =========================================================
   MOBILE / TABLET (< 992px)
   Orden: foto a todo el ancho -> nombre/marca/precio -> compra -> info
   ========================================================= */
@media (max-width: 991px) {
  #product-content #box-bread-brumb { display: none; }

  /* Reordenar: la foto primero */
  #product-content > .row { display: flex; flex-wrap: wrap; }
  #product-content .product-image              { order: 1; }
  #product-content .show-mobil.product-info.col-12 { order: 2; }
  #product-content .product-info.col-lg-7      { order: 3; }

  /* Foto al 100% del viewport, sin margenes */
  #product-content .product-image {
    width: 100vw;
    max-width: 100vw;
    flex: 0 0 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
  }
  #product-content .product-image .row { margin: 0; }
  #product-content .product-image .col-for {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding: 0;
  }

  /* Bloque nombre / marca / precio */
  #product-content .show-mobil.product-info.col-12 { padding: 18px 16px 4px; }
  #product-content .show-mobil.product-info .product-name,
  #product-content .show-mobil.product-info .product-name h1.highTitle {
    text-align: left;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 500;
    margin: 0 0 6px;
  }
  #product-content .show-mobil .codigo-producto { justify-content: flex-start; margin-bottom: 10px; }
  #product-content .slick-for .slick-arrow { width: 36px; height: 36px; }
  /* La lupa a la izquierda: a la derecha la tapa el boton flotante "Encuentra tu talla" */
  #product-content .pdp-zoom-btn { right: auto; left: 12px; bottom: 12px; }
  #product-content .slick-for .slick-prev { left: 10px; }
  #product-content .slick-for .slick-next { right: 10px; }
  #product-content .show-mobil .price-box,
  #product-content .show-mobil .price-box * {
    text-align: left;
  }
  #product-content .show-mobil .price-box {
    font-size: 20px;
    font-weight: 700;
  }

  /* Selector, compra y descripcion */
  #product-content .product-info.col-lg-7 { padding: 8px 16px 0; }
  #product-content .product-info.col-lg-7 > .row { margin: 0; }
  #product-content .product-info.col-lg-7 > .row > .col-lg-6:first-child { padding: 0; }
  #product-content .product-info.show-mobil .product-description {
    font-size: 14px;
    line-height: 1.5;
    color: #444;
    margin: 18px 0 0;
  }

  #product-content .product-info.show-mobil .product-description { text-align: left; }

  /* Acordeon unico en mobile (el viejo .section-collapse se quito del template) */
  #product-content .pdp-accordion { margin: 20px 0 0; }
  #product-content .pdp-accordion summary { padding: 16px 32px 16px 0; min-height: 48px; }
}
