/* Precio principal - Base */
.bootic-price {
  font-weight: 700;
  color: rgb(17 24 39);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 0.375rem;
}

/* Precio en página de detalle (#product-main) */
#product-main  .bootic-price-comparison {
  font-size: 1.125rem;
}

#product-main  .bootic-price-comparison-label {
  font-size: 0.875rem;
}

#product-main  .price-from {
  font-size: 1rem;
}

#product-main  .net-label {
  font-size: 0.875rem;
}

#product-main .vol-discount-completing-price-container {
  font-size: 1rem;
  padding: 0.75rem 1rem;
}

/* Precio en cards de producto (.product-card) */
.product-card  .bootic-price {
  font-size: 1.125rem;
}

.product-card  .bootic-price-comparison {
  font-size: 0.875rem;
}

.product-card  .bootic-price-comparison-label {
  font-size: 0.6875rem;
}

/* Label "Desde" en rangos de precio */
.price-from {
  font-size: 10px;
  font-weight: 500;
  color: rgb(107 114 128);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* Label "(Neto)" */
.net-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgb(107 114 128);
  margin-left: 0.25rem;
}

/* Contenedor de precio de comparación */
.bootic-price-comparison-box {
  display: none;
  align-items: baseline;
  gap: 0.375rem;
  margin-top: 0.125rem;
}

.bootic-price-comparison-box.shown {
  display: inline-flex
}

/* Label del precio de comparación */
.bootic-price-comparison-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgb(107 114 128);
  text-transform: capitalize;
  display: none;
}

/* Precio de comparación tachado */
.bootic-price-comparison {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(156 163 175);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

/* Precios con descuento por volumen */
span.vol-discount-completing-price-container {
    display: none;
}

/* Estados especiales */
.price-loading .bootic-price {
  background: linear-gradient(90deg, rgb(243 244 246) 25%, rgb(229 231 235) 50%, rgb(243 244 246) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  color: transparent;
  border-radius: 0.25rem;
  min-width: 100px;
  min-height: 1.5rem;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Hover en cards interactivos */
.product-card:hover .bootic-price.with-price-comparison {
  color: rgb(185 28 28);
}

/* Responsive */
@media screen and (max-width: 640px) {
  /* Base mobile */
  .bootic-price {
    font-size: 1rem;
  }

  /* Product main en mobile */
  #product-main  .bootic-price {
    font-size: 1.5rem;
  }

  #product-main  .bootic-price-comparison {
    font-size: 1.5rem;
  }

  #product-main .vol-discount-completing-price-container {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }

  /* Cards en mobile */
  .product-card  .bootic-price {
    font-size: 1.0625rem;
  }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .price-loading .bootic-price {
    animation: none;
    background: rgb(229 231 235);
  }
}
