/* =============================================================================
   tania-shelf.css  –  Tarjeta de producto de TODA la tienda (shelf 000-shelf.html)
   Estilo de "Acompáñalo con" (PDP v2): colores en círculos y tallas en botones
   siempre visibles; lo elegido en chips debajo del nombre (.tania-card-sel, lo
   llena tania-shelf.js).

   Solo afecta tarjetas con la clase .tania-card (la pone 000-shelf.html), así
   que las vitrinas que aún usan el shelf viejo no cambian.
   Se carga DESPUÉS de Tania-Main.min.css. El prefijo body:not(#tc) suma el
   peso de un id para ganarle a las reglas de Tania-Main (vitrina, :hover…).
   La grilla de cada página (columnas, una por fila en celular) NO va aquí:
   va en el CSS de cada página (p. ej. tania-categoria-v2.css).
   ============================================================================= */

.tania-card, .tc-pop {
  --tc-purple: #72246c;
  --tc-purple-soft: #f6eef5;
  --tc-teal: #00a9a8;
}

/* ---------- Tarjeta ---------- */
body:not(#tc) .tania-card {
  display: flex; flex-direction: column; height: 100%; margin: 0 !important; padding: 0 !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: none !important;
}
body:not(#tc) .tania-card .cont-productimage { border-radius: 4px; overflow: hidden; background: #f6f3f5; }
body:not(#tc) .tania-card .prodt_det { padding: 14px 4px 0 !important; text-align: center; }
body:not(#tc) .tania-card .product_title { margin: 0 !important; min-height: 0 !important; height: auto !important; }
body:not(#tc) .tania-card .product_title a {
  font-family: Poppins-SemiBold, Poppins, sans-serif !important; font-size: 15px !important; line-height: 1.3 !important;
  color: inherit !important; text-transform: none !important;
  /* Tania-Main le pone height:36px y corta el texto sin "…": 2 líneas con "…" y misma altura en todas */
  display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; height: auto !important; min-height: 2.6em;
}
body:not(#tc) .tania-card .cont-prices { margin: 6px 0 0 !important; display: flex; justify-content: center; align-items: baseline; gap: 8px; }
body:not(#tc) .tania-card .best-price { font-size: 21px !important; font-weight: 500 !important; color: var(--tc-teal) !important; }
body:not(#tc) .tania-card .old-price { font-size: 13px !important; color: #a99fae !important; }
body:not(#tc) .tania-card .buyButtonAssync {
  display: block !important; position: static !important; width: 100% !important; height: 40px; margin: 12px 0 0 !important; box-sizing: border-box;
  padding: 0 12px !important; line-height: 40px !important; border-radius: 999px !important; background: var(--tc-purple) !important; border-color: var(--tc-purple) !important;
  color: #fff !important; font-size: 12px !important; font-weight: 600 !important; letter-spacing: .04em; text-align: center;
}

/* ---------- Lupa: ver las fotos en grande (sin quitar el enlace de la foto) ---------- */
body:not(#tc) .tania-card .cont-productimage { position: relative; }
.tania-card .tc-zoom {
  position: absolute; right: 8px; bottom: 8px; z-index: 3;
  display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: #3a2e3f;
  box-shadow: 0 2px 10px rgba(58, 46, 63, .2); cursor: zoom-in;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: opacity .2s, transform .2s, background-color .15s;
}
.tania-card .tc-zoom svg { width: 22px; height: 22px; }
/* Zona tocable aún más grande que el círculo: el dedo que cae cerca de la lupa
   abre el zoom en vez de entrar al producto por error */
.tania-card .tc-zoom::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
.tania-card .tc-zoom:hover { background: #fff; color: var(--tc-purple); transform: scale(1.06); }
.tania-card .tc-zoom:focus-visible { outline: 2px solid var(--tc-purple); outline-offset: 2px; opacity: 1; }
/* Con mouse aparece al pasar por la tarjeta; en pantallas táctiles siempre se ve */
@media (hover: hover) and (pointer: fine) {
  .tania-card .tc-zoom { opacity: 0; transform: translateY(4px); }
  .tania-card:hover .tc-zoom { opacity: 1; transform: none; }
}
.tania-card .tc-zoom.tc-loading { cursor: progress; opacity: 1; }
.tania-card .tc-zoom.tc-loading svg { animation: tc-pulse .8s ease-in-out infinite alternate; }
@keyframes tc-pulse { from { opacity: .35; } to { opacity: 1; } }

/* ---------- Visor: el mismo de la PDP v2 (fondo claro, botones blancos redondos,
   contador en pastilla, miniaturas abajo). Copia de tania-producto-v2.css,
   limitada a .tc-pswp para no tocar el visor de la PDP.
   z-index: el header fijo de la tienda usa 1000000 y quedaba encima del visor. */
html .pswp.tc-pswp {
  z-index: 1000010;
  --pswp-bg: #f6f3f5;
  --pswp-icon-color: #1d1d1f;
  --pswp-icon-color-secondary: transparent;
  --pswp-icon-stroke-color: transparent;
  --pswp-icon-stroke-width: 0;
}
html .pswp.tc-pswp .pswp__top-bar { padding: 16px; height: auto; display: flex; align-items: center; gap: 10px; }
html .pswp.tc-pswp .pswp__button--zoom,
html .pswp.tc-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.tc-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.tc-pswp .pswp__button--arrow--prev { left: 20px; }
html .pswp.tc-pswp .pswp__button--arrow--next { right: 20px; }
html .pswp.tc-pswp .pswp__button:hover { background: #f4ecf3; }
html .pswp.tc-pswp .pswp__button .pswp__icn,
html .pswp.tc-pswp .pswp__button--arrow .pswp__icn {
  position: static; width: 22px; height: 22px; margin: 0; top: auto; left: auto; transform: none; fill: none; stroke: #1d1d1f;
}
/* PhotoSwipe voltea el ícono de "siguiente"; el nuestro ya apunta a la derecha */
html .pswp.tc-pswp .pswp__button--arrow--next .pswp__icn { transform: none; }
html .pswp.tc-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);
}
/* El indicador de carga también trae margin-right:auto y partía el espacio con el contador */
html .pswp.tc-pswp .pswp__preloader { order: 2; margin: 0; }
/* "Ver producto" en la barra de arriba, antes de acercar y cerrar */
html .pswp.tc-pswp .tc-pswp-cta {
  order: 2; display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--tc-purple, #72246c); color: #fff; font: 600 12px Poppins, sans-serif; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap; box-shadow: 0 2px 10px rgba(114, 36, 108, .25); pointer-events: auto;
}
html .pswp.tc-pswp .tc-pswp-cta:hover { background: #5d1d58; color: #fff; }
html .pswp.tc-pswp .pswp__button--zoom.pswp__button--zoom { order: 3; }
html .pswp.tc-pswp .pswp__button--close { order: 4; }
html .pswp.tc-pswp .tc-pswp-thumbs {
  position: absolute; left: 0; right: 0; bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; justify-content: center; gap: 8px; padding: 0 16px; overflow-x: auto; pointer-events: auto;
}
html .pswp.tc-pswp .tc-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;
}
html .pswp.tc-pswp .tc-pswp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
html .pswp.tc-pswp .tc-pswp-thumb.is-active { border-color: #1d1d1f; opacity: 1; }
@media (max-width: 767px) {
  html .pswp.tc-pswp .pswp__button--arrow { display: none; }   /* en celular se desliza */
  html .pswp.tc-pswp .tc-pswp-cta { padding: 0 14px; font-size: 11px; }
}

/* ---------- Flechas de los carruseles (slick) con tarjetas: iguales a las del visor ----------
   Tania-Main usa una imagen blanca de 15x40 (arrow-l/r.png) que casi no se ve sobre fotos
   claras. Aquí: círculo blanco con sombra y la misma flecha de línea del zoom. */
body:not(#tc) .slick-slider:has(.tania-card) > .slick-arrow, body:not(#tc) .rotador-top .slick-arrow {
  top: 38%; z-index: 6; width: 48px; height: 48px; margin: 0; padding: 0; transform: translateY(-50%);
  border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .14);
  font-size: 0; color: transparent; cursor: pointer; transition: background-color .15s, opacity .2s;
}
body:not(#tc) .slick-slider:has(.tania-card) > .slick-prev, body:not(#tc) .rotador-top .slick-prev { left: 8px; right: auto; }
body:not(#tc) .slick-slider:has(.tania-card) > .slick-next, body:not(#tc) .rotador-top .slick-next { right: 8px; left: auto; }
body:not(#tc) .slick-slider:has(.tania-card) > .slick-arrow:hover, body:not(#tc) .rotador-top .slick-arrow:hover,
body:not(#tc) .slick-slider:has(.tania-card) > .slick-arrow:focus-visible, body:not(#tc) .rotador-top .slick-arrow:focus-visible { background: #f4ecf3; }
body:not(#tc) .slick-slider:has(.tania-card) > .slick-arrow::before, body:not(#tc) .rotador-top .slick-arrow::before {
  content: ""; display: block; width: 22px; height: 22px; margin: auto; opacity: 1;
  background: no-repeat center / 22px 22px;
}
body:not(#tc) .slick-slider:has(.tania-card) > .slick-prev::before, body:not(#tc) .rotador-top .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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}
body:not(#tc) .slick-slider:has(.tania-card) > .slick-next::before, body:not(#tc) .rotador-top .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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
}
body:not(#tc) .slick-slider:has(.tania-card) > .slick-arrow.slick-disabled, body:not(#tc) .rotador-top .slick-arrow.slick-disabled { opacity: .35; cursor: default; }
@media (max-width: 767px) {
  body:not(#tc) .slick-slider:has(.tania-card) > .slick-arrow, body:not(#tc) .rotador-top .slick-arrow { width: 40px; height: 40px; }
  body:not(#tc) .slick-slider:has(.tania-card) > .slick-arrow::before, body:not(#tc) .rotador-top .slick-arrow::before { width: 20px; height: 20px; background-size: 20px 20px; }
}
/* Rotador del home: mismas flechas, centradas en el alto del banner y separadas del borde
   (a la derecha está la pestaña fija "Guía de tallas") */
body:not(#tc) .rotador-top .slick-arrow { top: 50%; }
body:not(#tc) .rotador-top .slick-prev { left: 56px; }
body:not(#tc) .rotador-top .slick-next { right: 56px; }
@media (max-width: 767px) {
  body:not(#tc) .rotador-top .slick-prev { left: 12px; }
  body:not(#tc) .rotador-top .slick-next { right: 40px; }
}

/* ---------- "+N": recuadro con todos los colores ----------
   Flota sobre la tarjeta (no la agranda ni salta de línea); en celular, hoja desde abajo. */
body:not(#tc) .tania-card .sku-selector-quick { position: relative !important; }
.tc-pop {
  position: absolute; left: -8px; right: -8px; bottom: calc(100% + 8px); z-index: 30;
  padding: 12px; background: #fff; border-radius: 14px; box-shadow: 0 14px 36px rgba(58, 46, 63, .2);
  text-align: left; animation: tc-pop-in .15s ease-out;
}
@keyframes tc-pop-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tc-pop.tc-pop--down { bottom: auto; top: calc(100% + 8px); }
.tc-pop-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; font: 600 13px Poppins, sans-serif; color: #3a2e3f; }
.tc-pop-head small { font-weight: 400; color: #7b6f80; }
.tc-pop-close {
  width: 28px; height: 28px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #f6f3f5;
  font: 400 18px/28px Poppins, sans-serif; color: #3a2e3f; cursor: pointer;
}
.tc-pop-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; max-height: 240px; overflow: auto; }
.tc-pop-opt {
  display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; padding: 6px; border: 0; border-radius: 8px;
  background: none; font: 400 12px Poppins, sans-serif; color: #3a2e3f; text-align: left; cursor: pointer;
}
.tc-pop-opt:hover, .tc-pop-opt:focus-visible { background: #faf5f9; outline: none; }
.tc-pop-opt span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-pop-opt i {
  flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #bdbdbd;
}
.tc-pop-opt.is-selected { font-weight: 600; color: var(--tc-purple); }
.tc-pop-opt.is-selected i { box-shadow: 0 0 0 2px #1d1d1f; }
@media (max-width: 575px) {
  .tc-pop {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 1000005; max-height: 75vh; overflow: auto;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0;
    box-shadow: 0 0 0 100vmax rgba(30, 20, 32, .38); animation: tc-sheet-in .2s ease-out;
  }
  .tc-pop.tc-pop--down { top: auto; bottom: 0; }
  @keyframes tc-sheet-in { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
  .tc-pop-head { font-size: 15px; margin-bottom: 12px; }
  .tc-pop-list { max-height: none; gap: 4px 8px; }
  .tc-pop-opt { padding: 10px 8px; font-size: 14px; }
  .tc-pop-opt i { width: 26px; height: 26px; }
}

/* ---------- Chips con lo elegido, debajo del nombre ---------- */
.tania-card-sel { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; min-height: 22px; margin: 8px 0 0; }
.tania-card-chip {
  display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px;
  background: var(--tc-purple-soft); color: var(--tc-purple); font-size: 11px; font-weight: 600; line-height: 1; white-space: nowrap;
  animation: tc-chip-in .25s ease;
}
.tania-card-chip .tc-lbl { font-weight: 400; color: #8a4f84; }
.tania-card-chip .tc-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #fff; box-shadow: 0 0 0 1px rgba(118, 35, 109, .35); background-size: cover; }
.tania-card-chip--empty { background: #fff; color: #6b6b6b; font-weight: 400; border: 1px dashed #d6d6d6; animation: none; }
@keyframes tc-chip-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

/* ---------- Compra rápida siempre visible ----------
   Se anula el "desplegable" de Tania-Main (30x29 con overflow y :hover absoluto)
   y su modo mobile "Seleccionar opciones" (.quickBuy.fixed). */
body:not(#tc) .tania-card .quickBuy,
body:not(#tc) .tania-card .quickBuy.fixed {
  position: static !important; width: 100% !important; margin: 0 !important; padding: 12px 0 0 !important;
  background: none !important; box-shadow: none !important; border-radius: 0 !important; z-index: auto !important; text-align: left;
  /* Ocupa el resto de la tarjeta: colores/tallas arriba y el botón siempre abajo */
  display: flex !important; flex-direction: column; flex: 1 1 auto;
}
body:not(#tc) .tania-card .quickBuy .buyButtonAssync { margin-top: auto !important; }
body:not(#tc) .tania-card .quickBuy .sku-selector-quick { margin-bottom: 12px !important; }

/* Misma altura en toda la fila (carruseles slick y grillas): así los botones quedan
   alineados aunque un producto tenga colores y tallas en una línea y otro en dos. */
body:not(#tc) .slick-track:has(.tania-card) { display: flex !important; }
body:not(#tc) .slick-track:has(.tania-card) > .slick-slide { float: none !important; flex: 0 0 auto; height: auto !important; }
body:not(#tc) li:has(> .tania-card) { display: flex !important; flex-direction: column; }
body:not(#tc) li > .tania-card { flex: 1 1 auto; height: auto; }
/* "Acompáñalo con" (PDP) envuelve la compra rápida en un div.col-12: ese div también
   se estira, si no el botón quedaba a media tarjeta y no alineado con el de al lado */
body:not(#tc) .tania-card > .col-12:has(> .quickBuy) { display: flex !important; flex-direction: column; flex: 1 1 auto; }
body:not(#tc) .tania-card .quickBuy::before,
body:not(#tc) .tania-card .sku-selector-quick::before,
body:not(#tc) .tania-card .sku-selector-quick .color-label,
body:not(#tc) .tania-card .sku-selector-quick .size-label,
body:not(#tc) .tania-card .sku-selector-quick .messageSelection,
body:not(#tc) .tania-card .quickBuy .closeButtonQuickBuy { display: none !important; content: none !important; }
/* Colores y tallas centrados (como el nombre y el precio), en la misma línea cuando
   caben; si no, las tallas bajan solas. tania-shelf.js recorta colores con "+N"
   para que entren (fit) y marca .tc-oneline cuando comparten línea: ahí va una
   línea divisoria fina entre colores y tallas. position:relative para el recuadro "+N". */
body:not(#tc) .tania-card .sku-selector-quick,
body:not(#tc) .tania-card:hover .sku-selector-quick {
  position: relative !important; display: flex !important; flex-direction: row !important; flex-wrap: wrap;
  align-items: center; justify-content: center; column-gap: 14px; row-gap: 8px;
  width: 100% !important; height: auto !important; padding: 0 !important; border: 0 !important; background: none !important; overflow: visible !important;
}
body:not(#tc) .tania-card .sku-selector-quick .colors,
body:not(#tc) .tania-card .sku-selector-quick .sizes,
body:not(#tc) .tania-card .sku-selector-quick .colors:hover,
body:not(#tc) .tania-card .sku-selector-quick .sizes:hover {
  position: static !important; top: auto !important; left: auto !important; z-index: auto !important;
  display: flex !important; flex-wrap: wrap; align-items: center; gap: 6px;
  width: 100% !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 2px !important;
  border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; overflow: visible !important; cursor: default;
}
body:not(#tc) .tania-card .sku-selector-quick .colors,
body:not(#tc) .tania-card .sku-selector-quick .colors:hover,
body:not(#tc) .tania-card .sku-selector-quick .sizes,
body:not(#tc) .tania-card .sku-selector-quick .sizes:hover { width: auto !important; flex: 0 1 auto; justify-content: center; }
body:not(#tc) .tania-card .sku-selector-quick.tc-oneline .sizes,
body:not(#tc) .tania-card .sku-selector-quick.tc-oneline .sizes:hover { padding-left: 14px !important; border-left: 1px solid #e7e0e8 !important; border-radius: 0 !important; }
body:not(#tc) .tania-card .sku-selector-quick .item_color::after { display: none !important; }
/* Muchos colores: los que no caben se esconden y queda un botón "+N" que los abre */
body:not(#tc) .tania-card .sku-selector-quick .colors .item_color.tc-hide,
body:not(#tc) .tania-card .sku-selector-quick .colors:hover .item_color.tc-hide { display: none !important; }
.tania-card .tc-more {
  position: relative; flex: 0 0 auto; height: 26px; min-width: 26px; margin: 0; padding: 0 7px; border: 1px solid #d6d6d6; border-radius: 999px;
  background: #fff; font: 600 11px Poppins, sans-serif; color: var(--tc-purple); cursor: pointer;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
/* Zona tocable más grande que el botón (era fácil tocar al lado en celular) */
.tania-card .tc-more::before { content: ""; position: absolute; inset: -9px -6px; }
.tania-card .tc-more:hover { border-color: var(--tc-purple); }
/* Solo las tallas del color elegido (tania-compraRapida.js le pone display:block a ese grupo) */
body:not(#tc) .tania-card .sku-selector-quick .color-sizes { display: none !important; }
body:not(#tc) .tania-card .sku-selector-quick .color-sizes[style*="block"] { display: flex !important; flex-wrap: wrap; gap: 6px; }
/* Colores: círculos con borde gris (para que el blanco se vea); elegido con anillo oscuro */
body:not(#tc) .tania-card .quickBuy .item_color,
body:not(#tc) .tania-card .quickBuy .item_color.selected,
body:not(#tc) .tania-card .sku-selector-quick .colors:hover .item_color {
  position: static !important; display: block !important; flex: 0 0 auto; width: 22px !important; height: 22px !important; margin: 0 !important;
  border-radius: 50% !important; border: 2px solid #fff !important; box-shadow: 0 0 0 1px #bdbdbd; background-size: cover; cursor: pointer;
}
body:not(#tc) .tania-card .quickBuy .item_color.selected { box-shadow: 0 0 0 2px #1d1d1f; }
/* Tallas: botones */
body:not(#tc) .tania-card .quickBuy .size,
body:not(#tc) .tania-card .quickBuy .size.selected {
  position: static !important; display: inline-flex !important; align-items: center; justify-content: center;
  width: auto !important; min-width: 34px; height: 30px !important; margin: 0 !important; padding: 0 8px !important; line-height: 1 !important;
  border: 1px solid #d6d6d6 !important; border-radius: 6px !important; background: #fff !important; font-size: 12px !important; color: #1d1d1f !important; cursor: pointer;
}
body:not(#tc) .tania-card .quickBuy .size:hover { border-color: var(--tc-purple) !important; }
body:not(#tc) .tania-card .quickBuy .size.selected { border-color: var(--tc-purple) !important; background: var(--tc-purple-soft) !important; color: var(--tc-purple) !important; font-weight: 600; }
/* Aviso de la tienda ("Seleccione la talla…" / "Agregado") */
body:not(#tc) .tania-card .quickBuy .errorMsgAdd { display: block; margin: 8px 0 0; font-size: 12px; line-height: 1.3; font-weight: 600; color: #d1435b; }
body:not(#tc) .tania-card .quickBuy .errorMsgAdd.msm--succes { color: #2e7d32; }

/* ---------- Pantallas chicas: selectores más grandes para el dedo ---------- */
@media (max-width: 991px) {
  body:not(#tc) .tania-card .product_title a { font-size: 13px !important; }
  body:not(#tc) .tania-card .best-price { font-size: 17px !important; }
  /* También en :hover: al tocar, el celular activa el hover y los círculos se achicaban
     a 22px; la fila se corría 16px bajo el dedo y el toque caía fuera de "+N". */
  body:not(#tc) .tania-card .quickBuy .item_color,
  body:not(#tc) .tania-card .quickBuy .item_color.selected,
  body:not(#tc) .tania-card .sku-selector-quick .colors:hover .item_color { width: 26px !important; height: 26px !important; }
  body:not(#tc) .tania-card .quickBuy .size,
  body:not(#tc) .tania-card .quickBuy .size.selected { min-width: 36px; height: 32px !important; font-size: 13px !important; }
  body:not(#tc) .tania-card .buyButtonAssync { padding: 0 6px !important; font-size: 11px !important; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* "Acompáñalo con": colores en una línea y tallas siempre debajo, así todas las
     tarjetas del carrusel tienen el mismo orden y tamaño (sin línea divisoria) */
  body:not(#tc) .cross-selling .tania-card .sku-selector-quick .colors,
  body:not(#tc) .cross-selling .tania-card .sku-selector-quick .sizes { flex: 0 0 100% !important; }
  body:not(#tc) .cross-selling .tania-card .sku-selector-quick.tc-oneline .sizes { padding-left: 2px !important; border-left: 0 !important; }
}

/* ---------------------------------------------------------------------------
   Pestañas de vitrinas ("Lo más vendido / Nuevos / Descuentos…"), en PDP y home:
   etiqueta pequeña arriba (su texto lo pone cada página con ::before { content }),
   títulos grandes en gris, el activo en negro y una línea fina hasta el borde.
   La rayita .indicator la mueve el JS de la tienda (Tania-Main): solo se le cambia
   el color y se le quita el margen que Tania-Main pone a los li.
   --------------------------------------------------------------------------- */
html body .section-tabs::before {
  display: block;
  margin: 0 0 4px;
  font: 600 11px Poppins, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #76236d;
}
html body .section-tabs .tabs-list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}
html body .section-tabs .tabs-list::after {
  content: "";
  flex: 1 1 auto;
  min-width: 24px;
  height: 1px;
  background: linear-gradient(90deg, #e3cfe0, rgba(227, 207, 224, 0));
}
html body .section-tabs .tabs-list li:not(.indicator) {
  flex: 0 0 auto;
  margin: 0;
  padding: 6px 0 8px;
  font: 500 24px/1.2 Poppins, sans-serif;
  color: #b3a9b6;
  text-transform: none;
  cursor: pointer;
  transition: color .15s;
}
html body .section-tabs .tabs-list li:not(.indicator):hover,
html body .section-tabs .tabs-list li.active:not(.indicator) { color: #1d1d1f; }
html body .section-tabs .tabs-list .indicator { height: 2px; margin: 0; background: #76236d; border-radius: 2px; }
@media (max-width: 991px) {
  html body .section-tabs .tabs-list { gap: 20px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
  html body .section-tabs .tabs-list::-webkit-scrollbar { display: none; }
  html body .section-tabs .tabs-list li:not(.indicator) { font-size: 17px; }
}
