/*
 Theme Name:   Woodmart Child
 Template:     woodmart
 Version:      1.0.0
*/

.compu-icecat-specs-wrap{
  position: relative;
}

.compu-icecat-specs-grid{
  position: relative;
  overflow: hidden;
  transition: max-height .35s ease;
}

.compu-icecat-specs-wrap.is-collapsed .compu-icecat-specs-grid{
  max-height: 420px;
}

.compu-icecat-specs-wrap.is-expanded .compu-icecat-specs-grid{
  max-height: none;
}

.compu-icecat-specs-wrap.is-collapsed .compu-icecat-specs-grid::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.96) 70%, #fff 100%);
}

.compu-icecat-specs-toggle-wrap{
  text-align: center;
  margin-top: 12px;
}

.compu-icecat-specs-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
  color: #111;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.compu-icecat-specs-toggle:hover,
.compu-icecat-specs-toggle:focus{
  background: #f7f7f7;
  border-color: #c9c9c9;
  color: #111;
}

.compu-icecat-specs-toggle:focus{
  outline: none;
}

@media (max-width: 767px){
  .compu-icecat-specs-wrap.is-collapsed .compu-icecat-specs-grid{
    max-height: 420px;
  }
}

/* ===== MEGAMENÚS GENERALES — TEXTO OSCURO POR DEFECTO ===== */
ul.wd-sub-menu.mega-menu-list {
    --sub-menu-color: #333333;
    --sub-menu-color-hover: #CC0000;
}
ul.wd-sub-menu.mega-menu-list .wd-sub-accented > li > a {
    color: #111111 !important;
    font-weight: 700 !important;
}
ul.wd-sub-menu.mega-menu-list li > a:hover {
    color: #CC0000 !important;
}
/* altura completa */
.cms-block-235511 > .elementor > .elementor-section-wrap > .e-con {
    min-height: 100% !important;
    align-items: stretch !important;
}

/* ===== PRECIO REGULAR TACHADO — Jerarquía visual oferta ===== */
.price del {
    font-size: 72% !important;
    color: #999999 !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 2px !important;
    text-decoration-color: #999999 !important;
}

/* ===== TARJETAS DE PRODUCTO — Mejora visual shop ===== */

/* Contenedor de la tarjeta */
.products .product .product-element-top {
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}

.products li.product {
    border: 1px solid #e8e8e8 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease !important;
    background: #fff !important;
}

.products li.product:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12) !important;
    transform: translateY(-2px) !important;
}

/* Título del producto — más oscuro y con peso */
.products li.product .wd-entities-title a,
.products li.product .woocommerce-loop-product__title {
    color: #111111 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* Marca — rojo discreto como link */
.products li.product .woodmart-product-brands-links a,
.products li.product .wd-product-brands a {
    color: #CC0000 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Precio actual — más grande y bold */
.products li.product .price ins .amount,
.products li.product .price > .amount {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111111 !important;
}

/* SKU — más pequeño y discreto */
.products li.product .sku-wrapper {
    font-size: 11px !important;
    color: #aaaaaa !important;
}

/* Info inferior con padding */
.products li.product .product-element-bottom,
.products li.product .caption-container {
    padding: 10px 14px 14px !important;
}

/* Botón añadir al carrito — ancho completo */
.products li.product .add_to_cart_button,
.products li.product .button {
    width: 100% !important;
    text-align: center !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

/* ===== FIN TARJETAS DE PRODUCTO ===== */
