.woocommerce a.checkout-button {
    width: auto !important;
    height: auto !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
    display: inline-block !important;
    text-align: center !important;
}

.woocommerce .wc-proceed-to-checkout {
    text-align: right !important;
}
/* Arreglar botón gigante del carrito */
.woocommerce-cart .wc-proceed-to-checkout {
    text-align: right !important;
    margin-top: 20px !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce a.checkout-button,
a.checkout-button.button.alt.wc-forward,
.wc-block-cart__submit-button,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button {
    width: auto !important;
    max-width: 320px !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 14px 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    font-size: 18px !important;
    text-align: center !important;
    border-radius: 0 !important;
}

.woocommerce-cart .cart_totals .button,
.woocommerce-cart .cart_totals a.button {
    flex: 0 0 auto !important;
}
/* =========================
   WooCommerce botones uniformes
   Cart + Checkout + Pay button
   ========================= */

/* Contenedores de acciones */
.woocommerce-cart .wc-proceed-to-checkout,
.woocommerce-checkout #payment,
.woocommerce-checkout .place-order {
    text-align: right !important;
}

/* Botón del carrito */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce a.checkout-button,
a.checkout-button.button.alt.wc-forward {
    width: auto !important;
    max-width: 320px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 14px 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-align: center !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
}

/* Botón final del checkout / pagar */
.woocommerce-checkout #payment #place_order,
.woocommerce-checkout .place-order .button,
.woocommerce-checkout button.button.alt,
.woocommerce-checkout button#place_order {
    width: auto !important;
    max-width: 320px !important;
    min-width: 220px !important;
    min-height: 0 !important;
    padding: 14px 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-align: center !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    float: none !important;
    text-decoration: none !important;
}

/* Evita que flex o estilos globales los estiren */
.woocommerce-cart .cart_totals .button,
.woocommerce-cart .cart_totals a.button,
.woocommerce-checkout .place-order,
.woocommerce-checkout #payment div.place-order {
    flex: 0 0 auto !important;
}

/* Hover estable */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #payment #place_order:hover,
.woocommerce-checkout button#place_order:hover {
    transform: none !important;
}

/* Móvil */
@media (max-width: 767px) {
    .woocommerce-cart .wc-proceed-to-checkout,
    .woocommerce-checkout #payment,
    .woocommerce-checkout .place-order {
        text-align: center !important;
    }

    .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
    .woocommerce-checkout #payment #place_order,
    .woocommerce-checkout button#place_order {
        width: 100% !important;
        max-width: 100% !important;
    }
}
.woocommerce-order-details a,
.woocommerce-table__product-name a,
.woocommerce td.product-name a {
  font-size: 20px !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  transition: none !important;
  animation: none !important;
  transform: none !important;
}

.woocommerce-order-details a:hover,
.woocommerce-table__product-name a:hover,
.woocommerce td.product-name a:hover,
.woocommerce-order-details a:focus,
.woocommerce-table__product-name a:focus,
.woocommerce td.product-name a:focus {
  color: inherit !important;
  text-decoration: none !important;
  transition: none !important;
  animation: none !important;
  transform: none !important;
}