/** Shopify CDN: Minification failed

Line 78:10 Unexpected "{"
Line 78:19 Expected ":"
Line 79:14 Expected identifier but found whitespace
Line 79:16 Unexpected "{"
Line 79:25 Expected ":"
Line 79:65 Expected ":"
Line 80:17 Expected identifier but found whitespace
Line 80:19 Unexpected "{"
Line 80:28 Expected ":"
Line 80:71 Expected ":"

**/
/* ===============================================
   PRODUCTO MERCADO LIBRE - ESTILOS COMPLETOS
   =============================================== */

:root {
  --ml-primary: #FF6600;
  --ml-primary-dark: #E85D00;
  --ml-success: #1a1a1a;
  --ml-warning: #ff6600;
  --ml-text: #333;
  --ml-text-light: #666;
  --ml-text-lighter: #999;
  --ml-border: #e5e5e5;
  --ml-bg-light: #f5f5f5;
  --ml-bg-primary-light: #FFE8DC;
  --ml-radius: 6px;
}

/* ===============================================
   BREADCRUMBS
   =============================================== */
.breadcrumbs-ml {
  padding: 12px 0;
  margin-bottom: 16px;
}

.breadcrumbs-ml__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs-ml__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.breadcrumbs-ml__link {
  color: var(--ml-primary);
  text-decoration: none;
}

.breadcrumbs-ml__link:hover {
  text-decoration: underline;
}

.breadcrumbs-ml__separator {
  color: var(--ml-text-light);
}

.breadcrumbs-ml__current {
  color: var(--ml-text);
}

/* ===============================================
   SECCIÓN
   =============================================== */
.section-{{ section.id }}-padding {
  padding-top: {{ section.settings.padding_top | default: 36 }}px;
  padding-bottom: {{ section.settings.padding_bottom | default: 36 }}px;
}

/* ===============================================
   CARRUSEL DE LOGOS
   =============================================== */
.product-ml__media-strip {
  background: var(--ml-bg-light);
  border-top: 1px solid var(--ml-border);
  border-bottom: 1px solid var(--ml-border);
  padding: 20px 0;
  overflow: hidden;
  margin-bottom: 40px;
}

.product-ml__media-label {
  text-align: center;
  font-size: 14px;
  color: var(--ml-text-light);
  margin-bottom: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-ml__media-carousel {
  overflow: hidden;
  width: 100%;
}

.product-ml__media-track {
  display: flex;
  gap: 60px;
  animation: scroll-logos 30s linear infinite;
  width: fit-content;
}

.product-ml__media-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
}

.product-ml__media-item img {
  max-width: 120px;
  height: auto;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 0.3s;
}

.product-ml__media-item:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

.product-ml__media-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--ml-text);
  opacity: 0.6;
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.product-ml__media-carousel:hover .product-ml__media-track {
  animation-play-state: paused;
}

/* ===============================================
   LAYOUT PRINCIPAL
   =============================================== */
.product-ml__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

/* ===============================================
   GALERÍA DE IMÁGENES - SOLUCIÓN ROBUSTA
   =============================================== */
.product-ml__gallery {
  position: sticky;
  top: 20px;
  height: fit-content;
}

.product-ml__main-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--ml-border);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.product-ml__main-image:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-ml__main-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.product-ml__main-image:hover img {
  transform: scale(1.08);
}

.product-ml__thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 10px;
}

.product-ml__thumbnail {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 2px solid var(--ml-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.product-ml__thumbnail:hover {
  border-color: var(--ml-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 131, 250, 0.2);
}

.product-ml__thumbnail.active {
  border-color: var(--ml-primary);
  box-shadow: 0 4px 12px rgba(52, 131, 250, 0.3);
}

.product-ml__thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ===============================================
   INFORMACIÓN DEL PRODUCTO
   =============================================== */
.product-ml__info {
  background: #fff;
}

.product-ml__badge {
  display: inline-block;
  background: var(--ml-warning);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-ml__title {
  font-size: 28px;
  font-weight: 400;
  color: var(--ml-text);
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.product-ml__vendor {
  font-size: 14px;
  color: var(--ml-text-light);
  margin-bottom: 12px;
}

.product-ml__vendor-link {
  color: var(--ml-primary);
  text-decoration: none;
  font-weight: 500;
}

.product-ml__vendor-link:hover {
  text-decoration: underline;
}

/* ===============================================
   RATING Y META
   =============================================== */
.product-ml__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ml-border);
}

.product-ml__rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-ml__stars {
  display: flex;
  gap: 2px;
}

.product-ml__star {
  width: 16px;
  height: 16px;
}

.product-ml__rating-count {
  font-size: 13px;
  color: var(--ml-text-light);
}

.product-ml__sold {
  font-size: 13px;
  color: var(--ml-text-light);
  padding-left: 16px;
  border-left: 1px solid var(--ml-border);
}

/* ===============================================
   PRECIO
   =============================================== */
.product-ml__price-wrapper {
  margin-bottom: 32px;
}

.product-ml__price-old {
  font-size: 14px;
  color: var(--ml-text-lighter);
  margin-bottom: 6px;
}

.product-ml__price-old-amount {
  text-decoration: line-through;
}

.product-ml__price-current {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.product-ml__price-amount {
  font-size: 36px;
  font-weight: 300;
  color: var(--ml-text);
}

.product-ml__discount-badge {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.3px;
}

.product-ml__installments {
  font-size: 16px;
  color: var(--ml-text);
}

.product-ml__installments strong {
  font-weight: 600;
}

.product-ml__installment-amount {
  color: var(--ml-success);
  font-weight: 500;
}

/* ===============================================
   VARIANTES
   =============================================== */
.product-ml__variants {
  margin-bottom: 24px;
}

.product-ml__variant-group {
  margin-bottom: 20px;
}

.product-ml__variant-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ml-text);
  margin-bottom: 10px;
}

.product-ml__variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-ml__variant-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-ml__variant-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 10px 16px;
  border: 1px solid var(--ml-border);
  border-radius: var(--ml-radius);
  background: #fff;
  color: var(--ml-text);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.product-ml__variant-button:hover {
  border-color: var(--ml-primary);
}

.product-ml__variant-input:checked + .product-ml__variant-button {
  border-color: var(--ml-primary);
  background: var(--ml-bg-primary-light);
  color: var(--ml-primary);
  font-weight: 600;
}

/* ===============================================
   CANTIDAD Y COMPRA
   =============================================== */
.product-ml__quantity-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.product-ml__quantity-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ml-text);
}

.product-ml__quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--ml-border);
  border-radius: var(--ml-radius);
  overflow: hidden;
}

.product-ml__quantity-btn {
  width: 40px;
  height: 40px;
  background: #fff;
  border: none;
  color: var(--ml-primary);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.product-ml__quantity-btn:hover:not(:disabled) {
  background: var(--ml-bg-light);
}

.product-ml__quantity-input {
  width: 60px;
  height: 40px;
  border: none;
  border-left: 1px solid var(--ml-border);
  border-right: 1px solid var(--ml-border);
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--ml-text);
}

.product-ml__quantity-input:focus {
  outline: none;
}

.product-ml__quantity-input::-webkit-inner-spin-button,
.product-ml__quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-ml__quantity-input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.product-ml__stock {
  font-size: 13px;
  color: var(--ml-text-light);
}

.product-ml__actions {
  width: 100%;
}

.product-ml__buy-button {
  width: 100%;
  background: linear-gradient(135deg, #FF6600 0%, #E85D00 100%);
  color: #fff;
  border: none;
  padding: 18px 24px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.product-ml__buy-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.product-ml__buy-button:hover::before {
  left: 100%;
}

.product-ml__buy-button:hover:not(:disabled) {
  background: linear-gradient(135deg, #E85D00 0%, #CC5200 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.45);
}

.product-ml__buy-button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.product-ml__buy-button:disabled {
  background: #ccc;
  cursor: not-allowed;
  box-shadow: none;
}

/* ===============================================
   ENVÍO Y GARANTÍA
   =============================================== */
.product-ml__shipping {
  background: var(--ml-bg-light);
  border-radius: var(--ml-radius);
  padding: 20px;
  margin: 24px 0;
}

.product-ml__shipping-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
}

.product-ml__shipping-item:first-child {
  padding-top: 0;
}

.product-ml__shipping-item:not(:last-child) {
  border-bottom: 1px solid var(--ml-border);
}

.product-ml__shipping-item svg {
  flex-shrink: 0;
  color: var(--ml-success);
  margin-top: 2px;
}

.product-ml__shipping-text strong {
  display: block;
  font-size: 14px;
  color: var(--ml-text);
  margin-bottom: 4px;
}

.product-ml__shipping-text p {
  font-size: 13px;
  color: var(--ml-text-light);
  margin: 0;
}

/* ===============================================
   DESCRIPCIÓN
   =============================================== */
.product-ml__description {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--ml-border);
}

.product-ml__description-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ml-text);
  margin: 0 0 16px 0;
}

.product-ml__description-content {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ml-text-light);
}

.product-ml__description-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 16px 0;
  border-radius: var(--ml-radius);
}

.product-ml__description-content p {
  margin: 12px 0;
}

.product-ml__description-content ul,
.product-ml__description-content ol {
  margin: 12px 0;
  padding-left: 24px;
}

.product-ml__description-content li {
  margin: 6px 0;
}

/* ===============================================
   UTILIDADES
   =============================================== */
.page-width {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.placeholder-svg {
  width: 100%;
  height: 100%;
  background: var(--ml-bg-light);
}

/* ===============================================
   RESPONSIVE - TABLET
   =============================================== */
@media screen and (max-width: 989px) {
  .product-ml__container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-ml__gallery {
    position: static;
  }

  .product-ml__title {
    font-size: 24px;
  }

  .product-ml__price-amount {
    font-size: 28px;
  }
}

/* ===============================================
   RESPONSIVE - MÓVIL
   =============================================== */
@media screen and (max-width: 749px) {
  .product-ml__container {
    gap: 20px;
  }

  .product-ml__title {
    font-size: 20px;
  }

  .product-ml__price-amount {
    font-size: 24px;
  }

  .product-ml__thumbnails {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  }

  .product-ml__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .product-ml__sold {
    border-left: none;
    padding-left: 0;
  }

  .breadcrumbs-ml {
    padding: 8px 0;
    margin-bottom: 12px;
  }

  .product-ml__variant-button {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* ===============================================
   ACCESIBILIDAD
   =============================================== */
@media (prefers-reduced-motion: reduce) {
  .product-ml__media-track {
    animation: none;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.product-ml__thumbnail:focus-visible,
.product-ml__variant-button:focus-visible,
.product-ml__quantity-btn:focus-visible,
.product-ml__buy-button:focus-visible {
  outline: 2px solid var(--ml-primary);
  outline-offset: 2px;
}
