/* Tecno CSS Global - by Tecnoambassador */
/* OCULTAR COLUMNA Y BOTONES DE FACTURA EN EL FRONT (EVITAR AFIP) */
/* 1. Borra la columna "Factura" completa del Historial de Pedidos (ZOne Theme) */
#order-history th:nth-child(6),
#order-history td:nth-child(6),
.page-customer-account th:nth-child(6),
.page-customer-account td:nth-child(6),
#history table th:nth-child(6),
#history table td:nth-child(6) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    padding: 0 !important;
}

/* 2. Por seguridad, borra cualquier botón suelto de PDF en los detalles internos del pedido */
a[href*="pdf-invoice"],
[class*="pdf-invoice"],
.order-actions a[href*="pdf-invoice"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* OCULTAR EN EL FRONT FACTURAS POR ABONO */
/* Facturas por abono: ocultar enlaces en todos los menús */
a[href*="abono"],
a[href*="credit-slip"],
a[href*="order-slip"],
a[href*="controller=order-slip"],
a#order-slips-link,
a#slips-link,
a.link-item[href*="slip"],
a[href*="/vales"] {
  display: none !important;
}

li:has(> a[href*="abono"]),
li:has(> a[href*="credit-slip"]),
li:has(> a[href*="order-slip"]),
li:has(> a#order-slips-link),
li:has(> a#slips-link) {
  display: none !important;
}

body#order-slip #content,
body#order-slip .page-content {
  display: none !important;
}

/* OCULTAR EN CARRITO PRECIO 0,00 0,000000 */
/* Ocultar precio unitario ($ 0,00 0.000000) en carrito y resumen final (checkout) */
span.product-line__item-unit-price,
.product-line__item--prices .product-line__item-unit-price,
.product-line__item-unit-price,
div.cart-summary-product__unit-price,
.cart-summary-product__unit-price,
.cart-summary-product__unit-price .value {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* MEJORAR VISUAL EN TABLETS EN VERTICAL */
@media (min-width: 768px) and (max-width: 991px) {
  #wrapper {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}
