/*
Theme Name:   IV Tech Latam
Theme URI:    https://ivtechlatam.com
Description:  IV Tech Latam â Dark Tech E-commerce. Child theme de Blocksy. DiseÃ±o oscuro, moderno y profesional inspirado en plataformas SaaS. Optimizado para apps web y tienda fÃ­sica.
Author:       IV Tech Latam
Author URI:   https://ivtechlatam.com
Template:     blocksy
Version:      1.0.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License:      Proprietary
Text Domain:  ivtechlatam

Paleta de colores:
  --ivt-bg:      #050e1f  (fondo principal)
  --ivt-bg2:     #0a1a33  (fondo secundario)
  --ivt-accent:  #00d4ff  (azazl neÃ³n)
  --ivt-text:    #f5f3ee  (texto claro)
*/

/* â Las reglas de diseÃ±o estÃ¡n assets/css/dark-theme.css â */
/* â Las reglas de WooCommerce estÃ¡n en assets/css/woocommerce.css â */

/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   DARK THEME â PÃGINAS WOOCOMMERCE (fallback siempre activo)
   Aplica en shop, producto individual, carrito y checkout.
âââââââââââââââââââââââââââââââââââââââââââââââââââââââ */

/* Fondo y color base */
body.woocommerce,
body.woocommerce-page,
body.single-product,
body.tax-product_cat,
body.archive.woocommerce {
  background-color: #050e1f !important;
  color: #f5f3ee !important;
}

/* Wrappers de contenido Blocksy */
body.woocommerce .site,
body.woocommerce-page .site,
body.single-product .site,
body.woocommerce #page,
body.woocommerce-page #page,
body.single-product #page,
body.woocommerce main,
body.woocommerce-page main,
body.single-product main,
body.woocommerce .site-content,
body.woocommerce-page .site-content,
body.single-product .site-content,
body.woocommerce .ct-container,
body.woocommerce-page .ct-container,
body.single-product .ct-container,
body.woocommerce .ct-main-container,
body.woocommerce-page .ct-main-container,
body.single-product .ct-main-container,
body.woocommerce .entry-content,
body.woocommerce-page .entry-content,
body.single-product .entry-content {
  background-color: #050e1f !important;
}

/* Headings en pÃ¡ginas WC */
body.woocommerce h1, body.woocommerce h2,
body.woocommerce h3, body.woocommerce h4,
body.woocommerce-page h1, body.woocommerce-page h2,
body.woocommerce-page h3,
body.single-product h1, body.single-product h2,
body.single-product h3 {
  color: #f5f3ee !important;
}

/* TÃ­tulo de pÃ¡gina */
body.woocommerce .page-title,
body.woocommerce-page .page-title,
body.woocommerce .entry-title,
body.woocommerce-page .entry-title {
  color: #f5f3ee !important;
}

/* â GRID DE PRODUCTOS â */
.woocommerce ul.products li.product a {
  color: #f5f3ee !important;
  text-decoration: none !important;
}
.woocommerce ul.products li.product a:hover {
  color: #00d4ff !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
  color: #f5f3ee !important;
  background: transparent !important;
}

/* BotÃ³n AÃ±adir al carrito en grid */
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product a.add_to_cart_button {
  background: #00d4ff !important;
  color: #050e1f !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  padding: 10px 0 !important;
  display: block !important;
  text-align: center !important;
  margin: 0 16px 16px !important;
  width: calc(100% - 32px) !important;
  border: none !important;
}
.woocommerce ul.products li.product a.button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
  background: #00a8cc !important;
  color: #050e1f !important;
}

/* Selector de orden y resultado-count */
.woocommerce-ordering select {
  background: #0a1a33 !important;
  color: #f5f3ee !important;
  border: 1px solid rgba(0,212,255,.15) !important;
  border-radius: 8px !important;
}
.woocommerce-result-count { color: #8a877e !important; }

/* â PRODUCTO INDIVIDUAL â */
.woocommerce div.product .product_title,
.woocommerce div.product h1.product_title {
  color: #f5f3ee !important;
}
.woocommerce div.product p,
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .woocommerce-product-details__short-description p {
  color: #c8c5be !important;
}

/* Tabla de atributos */
.woocommerce div.product .woocommerce-product-attributes th {
  background: #0a1a33 !important;
  color: #8a877e !important;
}
.woocommerce div.product .woocommerce-product-attributes td {
  background: transparent !important;
  color: #c8c5be !important;
}

/* Quantity input */
.woocommerce div.product form.cart .quantity input {
  background: #0a1a33 !important;
  color: #f5f3ee !important;
  border: 1.5px solid rgba(0,212,255,.15) !important;
  border-radius: 8px !important;
}

/* Producto individual — título H1 (alta especificidad para ganar a woocommerce.css) */
.woocommerce div.product .summary h1.product_title,
.woocommerce div.product .entry-summary h1.product_title,
.single-product .summary h1.product_title,
.single-product .entry-summary h1.product_title {
  color: #f5f3ee !important;
}

/* Breadcrumb */
.woocommerce-breadcrumb { color: #8a877e !important; background: transparent !important; }
.woocommerce-breadcrumb a { color: #c8c5be !important; }
.woocommerce-breadcrumb a:hover { color: #00d4ff !important; }