/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
/* ================= Áurea Relojería ================= */
/* Texto oscuro sobre botones dorados */
.add_to_cart_button, .single_add_to_cart_button,
.elementor-widget-woocommerce-cart .woocommerce .checkout-button.button, .woocommerce-cart .woocommerce .checkout-button.button,
.woocommerce #place_order, .woocommerce .button.alt, .aurea-wa-button { color: #0A0A0A !important; }
.woocommerce-cart .shop_table .button, .woocommerce-checkout .shop_table .button,
.elementor-widget-woocommerce-cart .woocommerce .button, .woocommerce-cart .woocommerce a.button { color: #0A0A0A; border-color: var(--e-global-color-accent); }
.woocommerce-cart .shop_table .button:hover, .woocommerce-checkout .shop_table .button:hover,
.elementor-widget-woocommerce-cart .woocommerce .button:hover, .woocommerce-cart .woocommerce a.button:hover,
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .shop_table .button:hover { color: #0A0A0A !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-accept { color: #0A0A0A !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover { color: #0A0A0A !important; background-color: var(--e-global-color-accent) !important; filter: brightness(.93); }
.contenido_legales a, .woocommerce-MyAccount-content-wrapper a, .cmplz-cookiebanner .cmplz-link { color: var(--e-global-color-secondary); }
.woocommerce-info { border-top-color: var(--e-global-color-accent); background: #FDF8F0; }

/* Categorías del inicio */
.aurea-cat .elementor-image-box-img { width: 100% !important; overflow: hidden; border-radius: 8px; }
.aurea-cat .elementor-image-box-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .3s ease; }
.aurea-cat:hover .elementor-image-box-img img { transform: scale(1.04); }
.aurea-cat .elementor-image-box-title { margin-bottom: 4px; }
.aurea-cat .elementor-image-box-title a { color: inherit; }

/* Ficha: selector de color, cantidad y botón */
.single-product table.variations { border: 0; margin-bottom: 14px; width: 100%; }
.single-product table.variations th, .single-product table.variations td { border: 0; background: none; padding: 4px 0; text-align: left; vertical-align: middle; }
.single-product table.variations th.label { width: 70px; font-weight: 600; }
.single-product table.variations select { min-height: 46px; border: 1px solid var(--e-global-color-9b4bd5f); border-radius: 6px; padding: 0 12px; width: 100%; max-width: 320px; background: #fff; }
.single-product .reset_variations { font-size: 13px; margin-left: 10px; color: var(--e-global-color-d06a591); }
.single-product .woocommerce-variation-price { margin: 6px 0 12px; font-size: 20px; font-weight: 600; }
.single-product .product_meta > span { display: block; margin-top: 4px; font-size: 14px; }
.single-product .elementor-widget-woocommerce-product-meta .detail-label { font-weight: 600; margin-right: 6px; }

/* Ficha: pestañas */
.single-product .woocommerce-tabs ul.tabs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; border-bottom: 1px solid var(--e-global-color-9b4bd5f); }
.single-product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; background: none; border: 0; border-radius: 0; }
.single-product .woocommerce-tabs ul.tabs li::before, .single-product .woocommerce-tabs ul.tabs li::after { display: none; }
.single-product .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 18px; color: var(--e-global-color-d06a591); font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent; }
.single-product .woocommerce-tabs ul.tabs li.active a { color: #0A0A0A; border-bottom-color: var(--e-global-color-accent); }
.single-product .woocommerce-tabs .panel > h2:first-child { display: none; }
.single-product .woocommerce-tabs .panel h2 { font-size: 20px; margin: 18px 0 8px; }
.woocommerce table.shop_attributes { width: 100%; max-width: 640px; border-collapse: collapse; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--e-global-color-9b4bd5f); text-align: left; background: none; font-style: normal; }
.woocommerce table.shop_attributes th { width: 40%; font-weight: 600; }
.woocommerce table.shop_attributes td p { margin: 0; padding: 0; }

/* Tabla de descuentos por cantidad (Discount Rules) */
.awdr-bulk-customizable-table, table.wdr_bulk_table_msg { width: 100%; max-width: 420px; border-collapse: collapse; margin: 6px 0 16px; font-size: 14px; }
.awdr-bulk-customizable-table th, .awdr-bulk-customizable-table td, table.wdr_bulk_table_msg th, table.wdr_bulk_table_msg td { padding: 8px 10px; border: 1px solid var(--e-global-color-9b4bd5f); text-align: left; background: #fff; }
.awdr-bulk-customizable-table th, table.wdr_bulk_table_msg th { background: #FDF8F0; font-weight: 600; }
.awdr_cart_strikeout_line del, .cart_item del { color: var(--e-global-color-d06a591); font-weight: 400; }

/* Pedido recibido: WhatsApp */
.aurea-thankyou-wa { margin: 0 0 28px; padding: 22px 24px; border: 1px solid var(--e-global-color-accent); border-radius: 8px; background: #FDF8F0; }
.aurea-thankyou-wa h2 { margin: 0 0 6px; font-size: 22px; }
.aurea-wa-button { display: inline-block; margin-top: 8px; padding: 14px 22px; border-radius: 100px; background: var(--e-global-color-accent); font-weight: 600; text-decoration: none; }
.aurea-wa-button:hover { filter: brightness(.93); }

/* Tablas de las páginas de texto */
.contenido_legales table, .elementor-widget-theme-post-content table { width: 100%; max-width: 520px; border-collapse: collapse; margin: 10px 0 20px; }
.contenido_legales th, .contenido_legales td, .elementor-widget-theme-post-content th, .elementor-widget-theme-post-content td { padding: 10px 12px; border: 1px solid var(--e-global-color-9b4bd5f); text-align: left; }
.elementor-widget-theme-post-content th { background: #FDF8F0; }
.woocommerce-cart table.cart td.product-subtotal, .woocommerce-cart table.cart td.product-price { white-space: nowrap; }
.woocommerce-cart table.cart td.product-price del { display: block; font-size: 12px; }
.woocommerce a.button.aurea-wa-button, a.button.aurea-wa-button { display: inline-block; margin-top: 8px; padding: 14px 26px; border-radius: 100px; background: var(--e-global-color-accent) !important; color: #0A0A0A !important; font-size: 15px; font-weight: 600; text-decoration: none; }
.woocommerce a.button.aurea-wa-button:hover { background: #0A0A0A !important; color: #F0CE85 !important; filter: none; }
/* Páginas de texto (por mayor, preguntas frecuentes, legales): columna legible */
.elementor-21 > .e-con, .elementor-21 > .e-con > .e-con-inner { max-width: 860px; margin-left: auto; margin-right: auto; }
.elementor-21 .elementor-widget-theme-post-content { font-size: 17px; line-height: 1.75; }
.elementor-21 .elementor-widget-theme-post-content h2 { margin: 34px 0 10px; font-size: 24px; line-height: 1.25; color: #0A0A0A; }
.elementor-21 .elementor-widget-theme-post-content p, .elementor-21 .elementor-widget-theme-post-content li { margin-bottom: 10px; }
.elementor-21 .elementor-widget-theme-post-content ul, .elementor-21 .elementor-widget-theme-post-content ol { padding-left: 22px; margin-bottom: 18px; }
.elementor-21 .elementor-widget-theme-post-content a { color: #8A6A2F; text-decoration: underline; text-underline-offset: 3px; }
.elementor-21 .elementor-widget-theme-post-content a:hover { color: #0A0A0A; }
.elementor-21 .elementor-widget-theme-post-content, .elementor-21 .elementor-widget-theme-post-content p, .elementor-21 .elementor-widget-theme-post-content li, .elementor-21 .elementor-widget-theme-post-content td, .elementor-21 .elementor-widget-theme-post-content th { font-size: 17px !important; line-height: 1.75 !important; }
.elementor-widget-woocommerce-product-meta .product_meta > span, .elementor-widget-woocommerce-product-meta .product_meta .detail-container { display: block !important; margin-top: 4px; font-size: 14px; }
.elementor-widget-woocommerce-product-meta .product_meta .detail-label { font-weight: 600; margin-right: 6px; }
.single-product .woocommerce-tabs .panel { font-size: 16px; line-height: 1.7; }
.single-product .woocommerce-tabs .panel ul { padding-left: 20px; margin-bottom: 14px; }
@media (max-width: 767px) { .single-product .woocommerce-tabs ul.tabs li a { padding: 10px 12px; font-size: 14px; } }
.elementor-widget-woocommerce-product-meta .product_meta { display: block !important; }


/* Sección Cómo comprar y FAQ */
.elementor-widget-toggle .elementor-toggle-title { font-family: var(--e-global-typography-text-font-family, inherit); font-weight: 500; font-size: 17px; }
.elementor-widget-toggle .elementor-tab-content { font-size: 16px; line-height: 1.7; color: #6B6457; }
.elementor-widget-toggle .elementor-toggle-item { border-bottom: 1px solid #E5DCCB !important; }
.elementor-widget-toggle .elementor-tab-title.elementor-active { color: #D9AC5B !important; }
.elementor-widget-toggle .elementor-tab-title .elementor-toggle-icon svg { fill: #D9AC5B; }
