@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//pcmatplus.com/wp-content/themes/woodmart/fonts/woodmart-font-2-400.woff2?v=8.2.7") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//pcmatplus.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//pcmatplus.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//pcmatplus.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//pcmatplus.com/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//pcmatplus.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//pcmatplus.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//pcmatplus.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//pcmatplus.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(118,118,118);
	--wd-text-font-size: 15px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 14px;
	--wd-brd-radius: 10px;
	--wd-primary-color: rgb(28,97,231);
	--wd-alternative-color: rgba(28,97,231,0.2);
	--wd-link-color: rgb(28,97,231);
	--wd-link-color-hover: rgb(28,97,231);
	--btn-default-bgcolor: rgb(225,235,255);
	--btn-default-bgcolor-hover: rgb(219,227,249);
	--btn-default-color: rgb(28,97,231);
	--btn-default-color-hover: rgb(28,97,231);
	--btn-accented-bgcolor: rgb(28,97,231);
	--btn-accented-bgcolor-hover: rgb(28,97,231);
	--btn-transform: capitalize;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: rgb(28,97,231);
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
html .wd-nav-mobile > li > a {
	text-transform: capitalize;
}
html .post.wd-post:not(.blog-design-small) .wd-entities-title {
	font-size: 18px;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-size: 16px;
	text-transform: none;
}
.page .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
.single-product .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
.woodmart-archive-blog .wd-page-content {
	background-color: rgb(246,246,246);
	background-image: none;
}
html .wd-buy-now-btn {
	background: rgb(101,214,40);
}
html .wd-buy-now-btn:hover {
	background: rgb(95,158,44);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-bg: rgb(255,255,255);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 35px;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
}



@media (min-width: 1200px) {
  :root, body { --wd-container-w: 100% !important; }
  .container,
  .wd-content-layout { max-width: 100% !important; }
}

@media (min-width: 1400px) {
  /* respirar en los bordes en vez de pegar el contenido al borde */
  .container,
  .wd-content-layout { padding-left: 40px; padding-right: 40px; }

  /* más productos por fila para mantener la densidad */
  .wd-products.grid-columns-5,
  .wd-carousel[style*="--wd-col-lg:5"] { --wd-col-lg: 7 !important; }

  .wd-products.grid-columns-4,
  .wd-carousel[style*="--wd-col-lg:4"] { --wd-col-lg: 6 !important; }

  .wd-products.grid-columns-3,
  .wd-carousel[style*="--wd-col-lg:3"] { --wd-col-lg: 5 !important; }
}

/* ============================================================
   PCMAT - Pulido de catalogo (Woodmart 8.x + WooCommerce)
   Theme Settings > Custom CSS > Global custom CSS
   Verificado en pcmatplus.com/tienda a 1920 / 1280 / 390 px
   ============================================================ */

/* --- 1. Tokens propios (prefijo pm- para no chocar con el tema) --- */
:root {
  --pm-ink:    #1a1d21;  /* texto principal, no negro puro */
  --pm-muted:  #5b6470;  /* secundario, contraste 6:1 sobre blanco */
  --pm-line:   #e6e8ec;  /* bordes hairline */
  --pm-radius: 12px;
  --pm-ease:   cubic-bezier(.23, 1, .32, 1);
}

/* --- 2. Imagenes de producto: dejar de deformarlas --- */
/* El tema sirve object-fit: fill, que estira la foto para llenar la caja. */
.product-grid-item .product-image-link img,
.wd-product .product-image-link img {
  object-fit: contain;
  aspect-ratio: 1 / 1;   /* reserva el hueco: evita saltos de layout (CLS) */
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;  /* funde el fondo blanco del PNG con la tarjeta */
}

/* --- 3. La tarjeta: contorno propio, elevacion solo en hover --- */
.product-grid-item .product-wrapper {
  background: #fff;
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  padding: 14px 14px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* transiciones concretas, nunca "all" */
  transition: border-color 200ms var(--pm-ease),
              box-shadow   200ms var(--pm-ease),
              transform    200ms var(--pm-ease);
}

@media (hover: hover) and (pointer: fine) {
  .product-grid-item .product-wrapper:hover {
    border-color: #cdd3db;
    box-shadow: 0 6px 20px rgba(28, 97, 231, .10); /* sombra tintada al azul de marca */
    transform: translateY(-2px);
  }
}

/* --- 4. Jerarquia: manda el precio, no el boton --- */
.product-grid-item .wd-entities-title {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--pm-ink);
  /* dos lineas fijas: alinea precios y botones entre columnas */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(14px * 1.35 * 2);
  margin-bottom: 6px;
}

.product-grid-item .wrap-price { margin-top: auto; }

.product-grid-item .price { font-size: 20px; letter-spacing: -.01em; }

/* el color vive en .amount, no en .price: hay que apuntar al hijo */
.product-grid-item .price .amount,
.product-grid-item .price ins .amount,
.product-grid-item .price bdi {
  color: var(--pm-ink);
  font-weight: 700;
}

.product-grid-item .price del .amount,
.product-grid-item .price del bdi {
  color: var(--pm-muted);
  font-weight: 400;
  font-size: 14px;
}

/* --- 5. Quitar el ruido del listado --- */
/* 5 estrellas grises sin ninguna resena: ocupan sitio y no dicen nada */
.product-grid-item .wd-star-rating:has(span[style*="width:0%"]) { display: none; }
/* SKU: dato de ficha de producto, no de listado */
.product-grid-item .wd-product-sku { display: none; }
/* categoria repetida bajo cada titulo */
.product-grid-item .wd-product-cats { display: none; }
/* "In stock" en los 12 productos no informa; solo importa cuando NO hay */
.product-grid-item .wd-product-stock.in-stock { display: none; }
.product-grid-item .wd-product-stock.out-of-stock {
  font-size: 12px;
  font-weight: 600;
  color: #b42318;
}

/* --- 6. Boton: presente, no dominante ------------------------------
   OPCIONAL. Baja el peso visual del CTA para que el ojo encuentre
   antes el producto y el precio. Es una decision con impacto
   potencial en conversion: mide antes/despues, y si no te convence
   borra solo este bloque 6.
   Los !important son necesarios: el color del boton lo genera
   Theme Settings con especificidad alta.
   ------------------------------------------------------------------ */
.wd-product.product-grid-item .wd-add-btn > a.button {
  background: transparent !important;
  color: #1c61e7 !important;
  border: 1px solid #1c61e7 !important;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 160ms var(--pm-ease),
              color            160ms var(--pm-ease),
              transform        160ms var(--pm-ease);
}

@media (hover: hover) and (pointer: fine) {
  .wd-product.product-grid-item .wd-add-btn > a.button:hover {
    background: #1c61e7 !important;
    color: #fff !important;
  }
}

/* feedback tactil al pulsar: confirma que la interfaz te ha oido */
.wd-product.product-grid-item .wd-add-btn > a.button:active { transform: scale(.97); }

/* --- 7. Foco visible para navegacion por teclado --- */
.product-grid-item a:focus-visible,
.product-grid-item .button:focus-visible {
  outline: 2px solid #1c61e7;
  outline-offset: 2px;
  border-radius: 6px;
}

/* --- 8. Categorias: misma familia visual que los productos --- */
.wd-cats-element .category-grid-item .wd-entities-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--pm-ink);
}
.wd-cats-element .category-grid-item mark,
.wd-cats-element .category-grid-item .category-count {
  color: var(--pm-muted);
  font-size: 12px;
}

/* --- 9. Respeta a quien pide menos movimiento --- */
@media (prefers-reduced-motion: reduce) {
  .product-grid-item .product-wrapper,
  .wd-product.product-grid-item .wd-add-btn > a.button {
    transition-duration: 1ms;
  }
  .product-grid-item .product-wrapper:hover { transform: none; }
}
