/* GENERADO — no editar a mano.
 * Origen:  hello-elementor/assets/css/woocommerce-custom.css
 * Huella:  f28a4da4553bdd55c68c934715f625c3
 * Cambios: 57 selectores acotados a :where(main.site-main)
 *          9 selectores de titulos que excluyen header, pie y popups
 * Como y por que: _notas/generar-tema-woocommerce.py y joma-ajustes.php, bloque 9.3.
 */
/**
 * Estilos personalizados para WooCommerce
 * Aplica en todas las paginas
 */

/* ============================================
   PRECIO - SIN FONDO AZUL, TEXTO NEGRO
   ============================================ */

/* Quitar fondo azul del precio - maxima especificidad */
.woocommerce-Price-amount,
.woocommerce-Price-amount bdi,
.woocommerce-Price-amount .woocommerce-Price-currencySymbol,
.price .woocommerce-Price-amount,
.elementor-widget-woocommerce-product-price .woocommerce-Price-amount,
.elementor-widget-woocommerce-product-price .price,
.elementor-widget-woocommerce-product-price bdi,
.woocommerce-Price-currencySymbol,
.woocommerce-price-suffix,
.woocommerce-loop-product__title + .price,
.product .price,
.woocommerce-product-price,
.e-loop-item .price,
.elementor-element .price {
    background-color: transparent !important;
    background: none !important;
    background-image: none !important;
    color: #000000 !important;
    font-weight: 400 !important;
}

/* Especifico para el elemento bdi */
bdi {
    background-color: transparent !important;
    background: none !important;
    color: #000000 !important;
}

/* ============================================
   TITULOS DE PRODUCTOS - CAPITALIZE
   ============================================ */

/* Primera letra de cada palabra en mayuscula */
.product_title.entry-title,
.woocommerce-loop-product__title,
.elementor-widget-woocommerce-product-title .product_title,
.e-loop-item .product_title,
.woocommerce-product-title,
.product .entry-title {
    text-transform: capitalize !important;
}

/* ============================================
   CHECKOUT Y PAGINAS DE WOOCOMMERCE - FUENTE GOTHAM NARROW + COLOR NEGRO
   ============================================ */

/* Aplicar solo en checkout, cart, my account, order received, etc. */
.woocommerce-checkout,
.woocommerce-cart,
.woocommerce-account,
.woocommerce-order-received,
.woocommerce-view-order,
.woocommerce-edit-account,
.woocommerce-edit-address,
.woocommerce-lost-password,
.page-template-default.woocommerce-page,
body.woocommerce-checkout,
body.woocommerce-cart,
body.woocommerce-account {
    /* Fuente base para toda la página */
    font-family: "Gotham Narrow", "Gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
}

/* TÍTULOS PRINCIPALES - Peso 800 + COLOR NEGRO + SIN ITÁLICA */
.woocommerce-checkout :where(main.site-main) h1,
.woocommerce-checkout :where(main.site-main) h2,
.woocommerce-checkout :where(main.site-main) h3,
.woocommerce-cart :where(main.site-main) h1,
.woocommerce-cart :where(main.site-main) h2,
.woocommerce-cart :where(main.site-main) h3,
.woocommerce-account :where(main.site-main) h1,
.woocommerce-account :where(main.site-main) h2,
.woocommerce-account :where(main.site-main) h3,
.woocommerce-order-received h1:where(:not(.elementor-location-header *, .elementor-location-footer *, .elementor-location-popup *)),
.woocommerce-order-received h2:where(:not(.elementor-location-header *, .elementor-location-footer *, .elementor-location-popup *)),
.woocommerce-order-received h3:where(:not(.elementor-location-header *, .elementor-location-footer *, .elementor-location-popup *)),
.woocommerce-page h1:where(:not(.elementor-location-header *, .elementor-location-footer *, .elementor-location-popup *)),
.woocommerce-page h2:where(:not(.elementor-location-header *, .elementor-location-footer *, .elementor-location-popup *)),
.woocommerce-page h3:where(:not(.elementor-location-header *, .elementor-location-footer *, .elementor-location-popup *)),
.woocommerce-checkout .page-title,
.woocommerce-cart .page-title,
.woocommerce-account .page-title,
.woocommerce-checkout .entry-title,
.woocommerce-cart .entry-title,
.woocommerce-account .entry-title,
.woocommerce-checkout .woocommerce-order-received__title,
.woocommerce-thankyou-order-received,
.woocommerce-order-details__title,
.woocommerce-column__title,
.woocommerce-checkout .product-title,
.woocommerce-cart .product-name,
.woocommerce-checkout-review-order-table th,
.shop_table th,
.woocommerce-checkout .entry-header h1,
.single-product .product_title,
.single-product h1.product_title,
.single-product h2.product_title {
    font-family: "Gotham Narrow", "Gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 800 !important;
    color: #000000 !important;
    font-style: normal !important;
}

/* SUBTÍTULOS, FIELDS, CHECKOUT TITLES - Peso 600 + COLOR NEGRO */
.woocommerce-checkout :where(main.site-main) h4,
.woocommerce-checkout :where(main.site-main) h5,
.woocommerce-checkout :where(main.site-main) h6,
.woocommerce-cart :where(main.site-main) h4,
.woocommerce-cart :where(main.site-main) h5,
.woocommerce-cart :where(main.site-main) h6,
.woocommerce-account :where(main.site-main) h4,
.woocommerce-account :where(main.site-main) h5,
.woocommerce-account :where(main.site-main) h6,
.woocommerce-page h4:where(:not(.elementor-location-header *, .elementor-location-footer *, .elementor-location-popup *)),
.woocommerce-page h5:where(:not(.elementor-location-header *, .elementor-location-footer *, .elementor-location-popup *)),
.woocommerce-page h6:where(:not(.elementor-location-header *, .elementor-location-footer *, .elementor-location-popup *)),
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3,
.woocommerce-checkout-payment h3,
#order_review_heading,
.woocommerce-column__title,
.woocommerce-Address-title h3,
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3,
.woocommerce-EditAccountForm fieldset legend,
.woocommerce-EditAccountForm h3,
.woocommerce-address-fields h3,
.woocommerce-account .woocommerce-Addresses h3,
.woocommerce-MyAccount-navigation-link a,
.woocommerce-Form-title,
.woocommerce-form-login h2,
.woocommerce-form-register h2,
.woocommerce-checkout .form-row label,
.woocommerce-cart .cart-collaterals h2,
.woocommerce-cart .cart_totals h2,
.woocommerce-shipping-calculator h2,
.cross-sells h2,
.woocommerce-checkout .woocommerce-shipping-totals th,
.woocommerce-checkout .woocommerce-shipping-totals td,
.checkout_coupon h3,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-notices-wrapper,
.woocommerce-checkout .product-name,
.woocommerce-checkout .product-quantity,
.woocommerce-checkout .product-subtotal,
.woocommerce-checkout .product-total,
.woocommerce-checkout .cart-subtotal th,
.woocommerce-checkout .order-total th,
.woocommerce-checkout .shipping th {
    font-family: "Gotham Narrow", "Gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 600 !important;
    color: #000000 !important;
}

/* LABELS ESPECÍFICOS DE CHECKOUT - COLOR NEGRO */
.woocommerce-checkout .form-row label,
.woocommerce-checkout :where(main.site-main) label,
.woocommerce-cart :where(main.site-main) label,
.woocommerce-account :where(main.site-main) label,
.woocommerce-form__label,
.woocommerce-form-login label,
.woocommerce-form-register label,
.woocommerce-EditAccountForm label,
.woocommerce-address-fields label {
    font-family: "Gotham Narrow", "Gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 600 !important;
    color: #000000 !important;
}

/* TEXTOS NORMALES, PÁRRAFOS, INPUTS - Peso 400 + COLOR NEGRO */
.woocommerce-checkout :where(main.site-main) p,
.woocommerce-checkout :where(main.site-main) span:not(.woocommerce-Price-currencySymbol),
.woocommerce-checkout :where(main.site-main) div,
.woocommerce-checkout :where(main.site-main) input,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout :where(main.site-main) button:not(.button),
.woocommerce-checkout :where(main.site-main) a:not(.button),
.woocommerce-checkout :where(main.site-main) li,
.woocommerce-checkout :where(main.site-main) td,
.woocommerce-checkout .product-name,
.woocommerce-checkout .product-quantity,
.woocommerce-checkout .product-subtotal,
.woocommerce-checkout .product-total,
.woocommerce-checkout .cart-subtotal td,
.woocommerce-checkout .order-total td,
.woocommerce-checkout .shipping td,
.woocommerce-checkout .amount,
.woocommerce-checkout .woocommerce-Price-amount,
.woocommerce-checkout .variation,
.woocommerce-checkout .product-name .variation,
.woocommerce-checkout .product-name dl,
.woocommerce-checkout .product-name dd,
.woocommerce-checkout .product-name dt,
.woocommerce-cart :where(main.site-main) p,
.woocommerce-cart :where(main.site-main) span:not(.woocommerce-Price-currencySymbol),
.woocommerce-cart :where(main.site-main) div,
.woocommerce-cart :where(main.site-main) input,
.woocommerce-cart textarea,
.woocommerce-cart select,
.woocommerce-cart :where(main.site-main) button:not(.button),
.woocommerce-cart :where(main.site-main) a:not(.button),
.woocommerce-cart :where(main.site-main) li,
.woocommerce-cart :where(main.site-main) td,
.woocommerce-account :where(main.site-main) p,
.woocommerce-account :where(main.site-main) span:not(.woocommerce-Price-currencySymbol),
.woocommerce-account :where(main.site-main) div,
.woocommerce-account :where(main.site-main) input,
.woocommerce-account textarea,
.woocommerce-account select,
.woocommerce-account :where(main.site-main) button:not(.button),
.woocommerce-account :where(main.site-main) a:not(.button),
.woocommerce-account :where(main.site-main) li,
.woocommerce-account :where(main.site-main) td,
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .select2-selection,
.woocommerce-checkout .select2-container,
.woocommerce-checkout .payment_method label,
.woocommerce-checkout .payment_box p,
.woocommerce-checkout .woocommerce-checkout-review-order-table td,
.woocommerce-checkout .woocommerce-checkout-review-order-table span:not(.woocommerce-Price-currencySymbol),
.woocommerce-checkout .woocommerce-shipping-methods li,
.woocommerce-checkout .woocommerce-shipping-methods label,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper,
.woocommerce-checkout .woocommerce-terms-and-conditions,
.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-form__label,
.woocommerce-checkout .woocommerce-form__input,
.woocommerce-checkout .place-order,
.woocommerce-cart .shop_table td,
.woocommerce-cart .product-price,
.woocommerce-cart .product-subtotal,
.woocommerce-cart .product-quantity,
.woocommerce-cart .cart_totals td,
.woocommerce-cart .cart_totals th,
.woocommerce-cart .shipping-calculator-form,
.woocommerce-cart .cart-discount,
.woocommerce-cart .coupon,
.woocommerce-account .woocommerce-MyAccount-content p,
.woocommerce-account .woocommerce-MyAccount-content a:not(.button),
.woocommerce-account .woocommerce-MyAccount-content td,
.woocommerce-account .woocommerce-MyAccount-content span:not(.woocommerce-Price-currencySymbol),
.woocommerce-account .woocommerce-orders-table,
.woocommerce-account .woocommerce-downloads-table,
.woocommerce-account .woocommerce-Address address,
.woocommerce-account .woocommerce-MyAccount-navigation ul,
.woocommerce-account .woocommerce-MyAccount-navigation li,
.woocommerce-account .woocommerce-MyAccount-navigation a,
.woocommerce-account .woocommerce-EditAccountForm input,
.woocommerce-account .woocommerce-EditAccountForm label,
.woocommerce-account .woocommerce-address-fields input,
.woocommerce-account .woocommerce-address-fields label,
.woocommerce-account .woocommerce-address-fields select,
.woocommerce-account .woocommerce-ResetPassword input,
.woocommerce-account .woocommerce-ResetPassword label,
.woocommerce-account .order-again .button,
.woocommerce-account .view-order-details {
    font-family: "Gotham Narrow", "Gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 400 !important;
    color: #000000 !important;
}

/* Placeholders en inputs - COLOR NEGRO */
.woocommerce-checkout input::placeholder,
.woocommerce-checkout textarea::placeholder,
.woocommerce-cart input::placeholder,
.woocommerce-cart textarea::placeholder,
.woocommerce-account input::placeholder,
.woocommerce-account textarea::placeholder {
    font-family: "Gotham Narrow", "Gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 400 !important;
    color: #666666 !important;
}

/* Botones de WooCommerce - mantener peso 600 */
.woocommerce-checkout .button,
.woocommerce-checkout #place_order,
.woocommerce-checkout .checkout-button,
.woocommerce-cart .button,
.woocommerce-cart .checkout-button,
.woocommerce-cart .update_cart,
.woocommerce-account .button,
.woocommerce-account .woocommerce-Button,
.woocommerce-page .button {
    font-family: "Gotham Narrow", "Gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 600 !important;
}

/* ============================================
   BOTÓN AÑADIR AL CARRITO - SINGLE PRODUCT
   ============================================ */

/* Botón en página de producto individual */
.single-product .single_add_to_cart_button,
.single-product .button.single_add_to_cart_button,
.woocommerce div.product form.cart .button,
.single_add_to_cart_button.button.alt,
.elementor-add-to-cart .single_add_to_cart_button {
    border-radius: 50px !important;
    padding-top: 13px !important;
    padding-bottom: 13px !important;
    font-family: "Gotham Narrow", "Gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Enlaces - peso normal + COLOR NEGRO */
.woocommerce-checkout :where(main.site-main) a,
.woocommerce-cart :where(main.site-main) a,
.woocommerce-account :where(main.site-main) a {
    font-weight: 400 !important;
    color: #000000 !important;
}

.woocommerce-checkout :where(main.site-main) a:hover,
.woocommerce-cart :where(main.site-main) a:hover,
.woocommerce-account :where(main.site-main) a:hover {
    font-weight: 600 !important;
    color: #000000 !important;
}

/* Tablas - asegurar fuente y color consistente */
.woocommerce-checkout table,
.woocommerce-cart table,
.woocommerce-account table,
.woocommerce-checkout .shop_table,
.woocommerce-cart .shop_table,
.woocommerce-account .shop_table,
.woocommerce-checkout :where(main.site-main) th,
.woocommerce-checkout :where(main.site-main) td,
.woocommerce-cart :where(main.site-main) th,
.woocommerce-cart :where(main.site-main) td,
.woocommerce-account :where(main.site-main) th,
.woocommerce-account :where(main.site-main) td {
    font-family: "Gotham Narrow", "Gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
    color: #000000 !important;
}

/* Mensajes de WooCommerce - COLOR NEGRO */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
.woocommerce-notices-wrapper {
    font-family: "Gotham Narrow", "Gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 400 !important;
    color: #000000 !important;
}

.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
    font-weight: 400 !important;
}

/* Forzar color negro en elementos específicos que a veces quedan azules */
.woocommerce-checkout .product-name a,
.woocommerce-cart .product-name a,
.woocommerce-checkout .shop_table .product-name,
.woocommerce-cart .shop_table .product-name,
.woocommerce-checkout .cart_item .product-name,
.woocommerce-cart .cart_item .product-name {
    color: #000000 !important;
    font-weight: 400 !important;
}

.woocommerce-checkout .shop_table .product-total,
.woocommerce-checkout .shop_table .product-subtotal,
.woocommerce-cart .shop_table .product-subtotal,
.woocommerce-cart .shop_table .product-price {
    color: #000000 !important;
}

/* Navegación de Mi Cuenta - items activos e inactivos */
.woocommerce-MyAccount-navigation-link a,
.woocommerce-MyAccount-navigation-link.is-active a {
    color: #000000 !important;
}

/* Títulos de direcciones en Mi Cuenta */
.woocommerce-Address-title h3,
.woocommerce-Address-title .edit {
    color: #000000 !important;
}

/* Tablas de pedidos y descargas */
.woocommerce-orders-table__cell,
.woocommerce-orders-table__header,
.woocommerce-downloads-table__cell,
.woocommerce-downloads-table__header {
    color: #000000 !important;
}

/* Formularios de login y registro */
.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-form-login label,
.woocommerce-form-register label,
.woocommerce-form-login input,
.woocommerce-form-register input {
    color: #000000 !important;
}

/* Checkbox y radio buttons - texto negro */
.woocommerce-checkout .woocommerce-form__input-checkbox + span,
.woocommerce-checkout .woocommerce-form__input-radio + span,
.woocommerce-terms-and-conditions-checkbox-text {
    color: #000000 !important;
}
