/*
 Theme Name:   Stellarium Child
 Theme URI:    http://stellarium.bold-themes.com
 Description:  Stellarium child theme
 Author:       BoldThemes
 Author URI:   http://bold-themes.com
 Template:     stellarium
 Version:      1.0.0
 Tags:         one-column, right-sidebar, custom-menu, featured-images, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  stellarium-child
*/


/* Theme customization starts here
-------------------------------------------------------------- */

/* ── Homepage: ocultar título de página del theme ── */
.page-id-18038 .btArticleHeader,
.page-id-18038 .entry-title,
.page-id-18038 .page-title,
.page-id-18038 .btPageTitle { display: none !important; }

/* ── Homepage: quitar padding del contenedor del theme ── */
.page-id-18038 .btContent,
.page-id-18038 .btContentWrap,
.page-id-18038 #btMainContent,
.page-id-18038 .btMainContent { padding: 0 !important; }

/* ── Homepage: fondo oscuro detrás del hero ── */
.page-id-18038 body,
.page-id-18038 .btPageWrap { background: #0C0A18 !important; }

/* ── Padding cero en todas las inner pages (nuestros templates lo controlan) ── */
.btContent,
.btContentWrap,
#btMainContent,
.btMainContent { padding: 0 !important; margin: 0 !important; }

/* ── Notificaciones WooCommerce — dark theme ── */
.woocommerce-message,
.woocommerce-info { background: rgba(19,17,43,.9) !important; border-top-color: #C9A84C !important; color: #EDE8DC !important; }
.woocommerce-error { background: rgba(80,10,10,.9) !important; border-top-color: #c94c4c !important; color: #EDE8DC !important; }
.woocommerce-message a, .woocommerce-info a { color: #C9A84C !important; }

/* ══════════════════════════════════════════════════════════
   GLOBAL DARK THEME — todas las páginas del sitio
   ══════════════════════════════════════════════════════════ */

/* Fuerza fondo oscuro en todo el sitio */
html body,
.btPageWrap,
#btMainContent,
.btMainContent,
.btContentWrap,
.btContent,
.bt-page-content {
  background-color: #0C0A18 !important;
  color: #EDE8DC !important;
}

/* Tipografía global */
body {
  font-family: 'Lato', sans-serif !important;
}

/* Títulos del theme */
h1, h2, h3, h4, h5, h6,
.btArticleTitle,
.entry-title,
.page-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif !important;
  color: #EDE8DC !important;
}

/* Links — solo texto suelto, NO botones */
a:not([class*="btn"]):not([class*="cta"]):not([class*="__link"]):not([class*="card__link"]) {
  color: #C9A84C;
}

/* Botones dorados — texto siempre oscuro (NO usar selector genérico hero__cta) */
a[class*="btn--gold"],
a[class*="cta--gold"],
a[class*="eval__btn"],
a[class*="cta__btn"],
.adb-btn--gold,
.rp-hero__cta--gold,
.rp-eval__btn,
.le-btn--gold,
.se-btn--gold,
.sb-hero__cta,
.ti-hero__cta,
.lt-hero__cta,
.lt-cta__btn,
.ta-hero__cta,
.ta-cta__btn,
.le-cta .le-btn--gold,
.mt-btn--gold,
.tp-btn--gold,
.vx-btn--gold {
  color: #0C0A18 !important;
}

/* Botones outline — texto dorado */
a[class*="btn--outline"],
.adb-btn--outline,
.rp-hero__cta--outline,
.le-btn--outline,
.se-btn--outline,
.mt-btn--outline,
.tp-btn--outline,
.vx-btn--outline {
  color: #C9A84C !important;
}

/* Ocultar barra de página del theme en todas las inner pages */
.btArticleHeader,
.btPageHeader,
.btBreadcrumbs,
.bt-page-header {
  display: none !important;
}

/* Sidebar del theme — forzar oscuro */
.btSidebar,
.widget,
.widget-title {
  background: transparent !important;
  color: #9B96B5 !important;
  border-color: rgba(201,168,76,.12) !important;
}

/* Quitar bordes blancos residuales */
.btContent,
.btContentWrap {
  border: none !important;
  box-shadow: none !important;
}

/* ══════════════════════════════════════════════════════════
   WOOCOMMERCE + ELEMENTOR — Dark theme overrides
   ══════════════════════════════════════════════════════════ */

/* ── Elementor cart / checkout widget backgrounds ── */
.e-cart-layout-one-column,
.elementor-widget-woocommerce-cart,
.elementor-widget-woocommerce-checkout-page,
.e-checkout__container,
.woocommerce-cart-form,
.woocommerce table.shop_table,
.cart_totals,
.woocommerce-checkout #payment,
.woocommerce #order_review,
.wc-proceed-to-checkout {
  background: transparent !important;
  color: #EDE8DC !important;
}

/* ── Cart table dark styling ── */
.woocommerce table.shop_table,
.woocommerce table.cart,
.elementor-widget-woocommerce-cart table {
  background: rgba(255,255,255,.03) !important;
  border: 1px solid rgba(201,168,76,.15) !important;
  border-collapse: collapse !important;
  color: #EDE8DC !important;
}
.woocommerce table.shop_table th,
.woocommerce table.cart th {
  background: rgba(201,168,76,.07) !important;
  color: #C9A84C !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 10px !important; letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid rgba(201,168,76,.2) !important;
  padding: 14px 12px !important;
}
.woocommerce table.shop_table td,
.woocommerce table.cart td {
  border-top: 1px solid rgba(201,168,76,.08) !important;
  color: #EDE8DC !important;
  background: transparent !important;
  padding: 12px !important;
}
.woocommerce table.shop_table td.product-name a,
.woocommerce table.cart td.product-name a {
  color: #EDE8DC !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 16px !important;
}
.woocommerce table.cart .product-price,
.woocommerce table.cart .product-subtotal,
.woocommerce table.shop_table .product-price,
.woocommerce table.shop_table .product-subtotal {
  color: #C9A84C !important;
  font-weight: 600 !important;
}

/* ── Cart totals box ── */
.cart_totals,
.woocommerce .cart_totals,
.woocommerce-cart .cart_totals {
  background: rgba(201,168,76,.04) !important;
  border: 1px solid rgba(201,168,76,.15) !important;
  border-radius: 4px !important;
  padding: 24px !important;
}
.cart_totals h2,
.cart_totals table th,
.cart_totals table td {
  color: #EDE8DC !important;
  background: transparent !important;
  border-color: rgba(201,168,76,.1) !important;
}
.cart_totals .order-total .amount {
  color: #C9A84C !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

/* ── Proceed to checkout button ── */
.wc-proceed-to-checkout a.checkout-button,
.wc-proceed-to-checkout .checkout-button,
.elementor-widget-woocommerce-cart .woocommerce .wc-proceed-to-checkout .checkout-button,
.elementor-widget-woocommerce-cart .woocommerce .wc-proceed-to-checkout a.checkout-button {
  --checkout-button-normal-text-color: #0C0A18;
  background: #C9A84C !important;
  color: #0C0A18 !important;
  font-family: 'Lato', sans-serif !important;
  font-weight: 700 !important; letter-spacing: 2px !important;
  text-transform: uppercase !important; font-size: 11px !important;
  border: none !important; border-radius: 2px !important;
  padding: 14px 28px !important; display: block !important;
  text-align: center !important; text-decoration: none !important;
}
.wc-proceed-to-checkout a.checkout-button:hover {
  background: #E8C97A !important; color: #0C0A18 !important;
}

/* ── Cart quantity input ── */
.woocommerce .quantity .qty {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(201,168,76,.25) !important;
  color: #EDE8DC !important;
  border-radius: 2px !important;
  text-align: center !important;
}

/* ── Remove product button ── */
.woocommerce table.cart a.remove {
  color: rgba(201,168,76,.4) !important;
}
.woocommerce table.cart a.remove:hover {
  color: #C9A84C !important;
  background: transparent !important;
}

/* ── WooCommerce My Account — dark nav + links ── */
.woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  padding: 0 !important; margin: 0 !important;
  display: flex; flex-wrap: wrap; gap: 4px !important;
}
.woocommerce-MyAccount-navigation ul li a {
  display: block !important;
  padding: 10px 18px !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 11px !important; letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: #9B96B5 !important;
  border: 1px solid rgba(201,168,76,.15) !important;
  border-radius: 2px !important;
  text-decoration: none !important;
  transition: all .25s !important;
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
  color: #C9A84C !important;
  border-color: rgba(201,168,76,.4) !important;
  background: rgba(201,168,76,.06) !important;
}

/* ── WooCommerce general link color — SOLO dentro del contenido WooCommerce ── */
/* IMPORTANTE: NO usar .woocommerce-page a (aplica al header/footer también) */
.woocommerce-cart-form a,
.cart_totals a:not(.checkout-button):not([class*="button"]),
.woocommerce-MyAccount-content a,
.woocommerce .woocommerce-orders-table a,
.woocommerce .woocommerce-info a,
.woocommerce .woocommerce-message a,
.woocommerce-checkout .woocommerce-form a,
.e-cart-layout-one-column a:not([class*="btn"]):not([class*="cta"]):not([class*="adb-"]):not(.checkout-button):not([class*="button"]) {
  color: #C9A84C !important;
}
.woocommerce-cart-form a:hover,
.cart_totals a:hover,
.woocommerce-MyAccount-content a:hover {
  color: #E8C97A !important;
}

/* ── WooCommerce notices ── */
.woocommerce-info,
.woocommerce-message {
  background: rgba(201,168,76,.07) !important;
  border-top-color: #C9A84C !important;
  color: #EDE8DC !important;
}
.woocommerce-error {
  background: rgba(180,30,30,.12) !important;
  border-top-color: #c94c4c !important;
  color: #EDE8DC !important;
}

/* ── Forms in cart/checkout/account ── */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form input[type="text"],
.woocommerce-page form input[type="email"],
.woocommerce-page form input[type="password"] {
  background: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(201,168,76,.2) !important;
  color: #EDE8DC !important;
  border-radius: 2px !important;
}
.woocommerce form .form-row label,
.woocommerce-page form label {
  color: #9B96B5 !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 11px !important; letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
}

/* ── Shop product cards ── */
.woocommerce ul.products li.product {
  background: rgba(255,255,255,.03) !important;
  border: 1px solid rgba(201,168,76,.1) !important;
  border-radius: 4px !important;
  transition: border-color .25s !important;
}
.woocommerce ul.products li.product:hover {
  border-color: rgba(201,168,76,.35) !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Cormorant Garamond', 'Georgia', serif !important;
  color: #EDE8DC !important;
  font-size: 18px !important;
}
.woocommerce ul.products li.product .price {
  color: #C9A84C !important;
}
/* Botón shop — outlined blanco, estilo original del tema */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.6) !important;
  font-size: 10px !important; letter-spacing: 2px !important;
  text-transform: uppercase !important; font-weight: 600 !important;
  border-radius: 2px !important;
  transition: border-color .25s, color .25s !important;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(201,168,76,.7) !important;
  color: #C9A84C !important;
}

/* ── My Account content area ── */
.woocommerce-MyAccount-content {
  color: #EDE8DC !important;
}
.woocommerce-orders-table,
.woocommerce-orders-table th,
.woocommerce-orders-table td {
  border-color: rgba(201,168,76,.12) !important;
  color: #EDE8DC !important;
  background: transparent !important;
}
.woocommerce-orders-table th {
  color: #C9A84C !important;
  font-size: 10px !important; letter-spacing: 2px !important;
  text-transform: uppercase !important;
}

/* ── Elementor WooCommerce widget wrappers — dark backgrounds ── */
.elementor-widget-woocommerce-cart .e-cart-layout-one-column,
.elementor-widget-woocommerce-cart .e-cart__items,
.elementor-widget-woocommerce-cart .e-cart__coupon,
.e-cart__container,
.e-cart__main,
.elementor-widget-woocommerce-cart,
.e-wc-cart-empty,
.e-shop-table,
.e-cart-section,
.e-cart-section--no-coupon,
.e-cart-section--coupon {
  background: transparent !important;
  background-color: transparent !important;
  color: #EDE8DC !important;
}

/* Force dark on ALL white-ish elements inside cart widget */
.elementor-widget-woocommerce-cart * {
  border-color: rgba(201,168,76,.15) !important;
}
.elementor-widget-woocommerce-cart td,
.elementor-widget-woocommerce-cart th,
.elementor-widget-woocommerce-cart .cart-subtotals td,
.elementor-widget-woocommerce-cart table {
  background-color: transparent !important;
  color: #EDE8DC !important;
}

/* ── Fix sidebar on WooCommerce pages ── */
.btSidebar { display: none !important; }
#btMainContent.btColumnsWrap { max-width: 100% !important; }
.btContent { max-width: 100% !important; }