: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: 16px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: rgb(37,48,84);
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: rgb(41,52,131);
	--wd-entities-title-color-hover: rgb(61, 61, 61);
	--wd-alternative-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(41,52,131);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(37,48,84);
	--wd-alternative-color: rgb(41,52,131);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(36,53,142);
	--btn-accented-bgcolor-hover: rgb(28,42,112);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://colchoncomfy.com/wp-content/uploads/2021/08/promo-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
	--wd-popup-padding: 15px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(242,242,240);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 12px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: #0a0a0a;
}

/* ============================================================
   COLCHONES COMFY — CSS Global (WoodMart > Ajustes del tema)
   Limpiado y deduplicado — 2026-08-19
   Dominio: colchoncomfy.com
   ============================================================ */


/* ============================================================
   1. HEADER
   ============================================================ */

/* Fondo sólido al hacer scroll (sticky) */
.whb-header.whb-sticked .whb-general-header {
  background-color: #253054 !important;
}

/* Fondo sólido en páginas sin hero (todas menos Inicio y Comparar) */
body:not(.page-id-1595):not(.page-id-1169) .whb-header .whb-general-header {
  background-color: #253054 !important;
}

/* Menú alineado a la derecha, peso normal */
.whb-header .wd-header-nav.wd-header-main-nav { text-align: right !important; }
.whb-header .wd-nav-main.wd-nav { justify-content: flex-end !important; }
.whb-header .woodmart-nav-link { font-weight: 400 !important; }

/* === Comfy: hover celeste del menu principal === */
.whb-header .wd-nav-main > li:hover > a.woodmart-nav-link {
  color: #8FA8DC !important;
}
.whb-header .wd-nav-main > li:hover > a.woodmart-nav-link .nav-link-text:after {
  background-color: #8FA8DC !important;
}

/* === Comfy: underline blanco en el item activo === */
.whb-header .wd-nav-main > li.current-menu-item > a.woodmart-nav-link .nav-link-text:after,
.whb-header .wd-nav-main > li.current-menu-ancestor > a.woodmart-nav-link .nav-link-text:after,
.whb-header .wd-nav-main > li.current-menu-parent > a.woodmart-nav-link .nav-link-text:after {
  background-color: #ffffff !important;
}

/* Badge del contador de comparar (posición y estilo tipo carrito) */
.wd-header-compare .wd-tools-icon {
  position: relative !important;
  display: flex !important;
}
.wd-tools-count {
  background-color: #656e9b !important;
  color: #ffffff !important;
}
.wd-header-compare .wd-tools-count {
  position: absolute !important;
  top: -5px !important;
  right: -9px !important;
  left: auto !important;
  bottom: auto !important;
  width: 15px !important;
  height: 15px !important;
  min-width: 0 !important;
  font-size: 9px !important;
  line-height: 15px !important;
  border-radius: 50% !important;
  background-color: #656e9b !important;
  color: #ffffff !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: center !important;
}

/* Carrito oculto (modo catálogo, sin venta online) */
.wd-header-cart { display: none !important; }

/* Logo móvil — evita duplicado */
.whb-column_mobile3 img[src*="azuloscuro"] { opacity: 0 !important; }
.whb-column_mobile3 .wd-main-logo,
.whb-mobile-center .wd-main-logo { background-image: none !important; }

@media (max-width: 1024px) {
  .whb-column.whb-visible-lg { display: none !important; }
}


/* ============================================================
   2. MENÚS DESPLEGABLES
   ============================================================ */

/* Fondo oscuro de submenús y menú móvil */
.wd-sub-menu,
.sub-sub-menu.wd-dropdown,
.mobile-nav.wd-side-hidden {
  background-color: #253054 !important;
}
.whb-header .wd-dropdown-menu.wd-dropdown {
  background-color: #253054 !important;
}

/* Color de texto de submenús */
.wd-sub-menu .woodmart-nav-link,
.sub-sub-menu.wd-dropdown .woodmart-nav-link,
.mobile-nav .menu-item > a,
.mobile-nav a {
  color: #ffffff !important;
}
.sub-sub-menu.wd-dropdown .woodmart-nav-link {
  color: #bcd4f0 !important;
}

/* Hover de submenús */
.wd-sub-menu .menu-item:hover > a,
.sub-sub-menu.wd-dropdown .menu-item:hover > a,
.mobile-nav .menu-item:hover > a,
.mobile-nav .menu-item.wd-active > a {
  background-color: #656e9b !important;
  color: #ffffff !important;
}

/* === Comfy: hover submenu de borde a borde (1er y 2do nivel) === */
.whb-header .wd-dropdown-menu.wd-dropdown,
.whb-header .wd-dropdown-menu.wd-dropdown > .container,
.whb-header .wd-sub-menu,
.whb-header .sub-sub-menu.wd-dropdown {
  padding: 0 !important;
}
.whb-header .wd-sub-menu > li > a.woodmart-nav-link,
.whb-header .sub-sub-menu.wd-dropdown > li > a.woodmart-nav-link {
  padding: 12px 22px !important;
}

/* === Comfy: esquinas redondeadas en el primero y el ultimo === */
.whb-header .wd-sub-menu > li:first-child > a.woodmart-nav-link,
.whb-header .sub-sub-menu.wd-dropdown > li:first-child > a.woodmart-nav-link {
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
}
.whb-header .wd-sub-menu > li:last-child > a.woodmart-nav-link,
.whb-header .sub-sub-menu.wd-dropdown > li:last-child > a.woodmart-nav-link {
  border-bottom-left-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
}

/* Ocultar categorías demo del tema */
.wd-nav-product-cat .cat-item-53,
.wd-nav-product-cat .cat-item-60,
.wd-nav-product-cat .cat-item-61,
.wd-nav-product-cat .cat-item-63,
.wd-nav-product-cat .cat-item-70,
.wd-nav-product-cat .cat-item-79,
.wd-nav-product-cat .cat-item-105 {
  display: none !important;
}
.mobile-nav .mobile-categories-title { display: none !important; }


/* ============================================================
   3. FOOTER
   ============================================================ */

.wd-footer.color-scheme-light,
.wd-footer.color-scheme-light .widget-title,
.wd-footer.color-scheme-light h1,
.wd-footer.color-scheme-light h2,
.wd-footer.color-scheme-light h3,
.wd-footer.color-scheme-light h4,
.wd-footer.color-scheme-light p,
.wd-footer.color-scheme-light li,
.wd-footer.color-scheme-light .wd-text-block {
  color: #253054 !important;
}
.wd-footer.color-scheme-light a { color: #1e3a8a !important; }
.wd-footer.color-scheme-light a:hover { color: #0a1a33 !important; }

/* Footer fijo con efecto reveal al hacer scroll */
.wd-page-content.main-page-wrapper {
  position: relative;
  z-index: 2;
  background-color: #ffffff;
}
footer.elementor-location-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 1;
}

/* Botón "subir" a la izquierda */
.scrollToTop,
.scrollToTop.button-show {
  inset-inline-end: auto !important;
  right: auto !important;
  left: 20px !important;
  inset-inline-start: 20px !important;
}


/* ============================================================
   4. MODO CATÁLOGO (sin venta online)
   ============================================================ */

/* === Comfy: ocultar precios === */
.woocommerce-Price-amount,
.wd-loop-prod-price,
.price,
.product .price,
.summary .price,
p.price,
span.price,
.wd-product-detail .price {
  display: none !important;
}

/* Ocultar formulario de compra en la ficha */
.single-product form.cart { display: none !important; }


/* ============================================================
   5. BOTÓN WHATSAPP
   ============================================================ */

.wa-cta-wrap {
  text-align: center !important;
  margin-top: 15px !important;
  clear: both;
}
@media (min-width: 768px) {
  .wa-cta-wrap { text-align: left !important; }
}
@media (max-width: 767px) {
  .single-product table.woocommerce-product-attributes { margin-top: 25px !important; }
}

.wa-cta-btn {
  display: inline-block !important;
  background-color: #25D366 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 7px 16px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
}
.wa-cta-btn:hover {
  background-color: #1ebe5b !important;
  color: #ffffff !important;
}


/* ============================================================
   6. TARJETAS DE PRODUCTO (listado)
   ============================================================ */

/* === Comfy: ajustes tarjeta de producto === */
.wd-product .wd-entities-title,
.wd-product .wd-entities-title a {
  font-size: 19px !important;
  font-weight: 700 !important;
}

/* Descripción pequeña */
.wd-product .wd-more-desc,
.wd-product .wd-more-desc p,
.wd-product .wd-loop-prod-short-desc,
.wd-product .comfy-card-desc p {
  font-size: 11px !important;
  line-height: 1.4 !important;
}
.wd-more-desc .hover-content-inner p,
.wd-more-desc-inner p {
  font-size: 8px !important;
  line-height: 1.4 !important;
}

/* Ocultar tags, wishlist, vista rápida y WhatsApp del listado */
.wd-product .wd-product-cats { display: none !important; }
.wd-product .wrap-wishlist-button { display: none !important; }
.wd-product .wd-bottom-actions { display: none !important; }
.wd-product .wa-cta-wrap { display: none !important; }

/* === Comfy: boton Ver producto === */
.wd-product .wrapp-swatches {
  justify-content: center !important;
  align-items: center;
  position: relative !important;
}
.wd-product .wrapp-swatches .wd-compare-btn {
  position: absolute !important;
  right: 6px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
}
.wd-view-product-btn {
  display: inline-block;
  background: #253054;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  text-decoration: none !important;
  line-height: 1.5;
  white-space: nowrap;
}
.wd-view-product-btn:hover {
  background: #1b2440;
  color: #fff !important;
}

/* === miniaturas 4:5 uniformes en listado === */
.wd-product .wd-product-thumb .product-image-link {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.wd-product .wd-product-thumb .product-image-link img,
.wd-product .wd-product-thumb .wd-product-img-hover img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center;
  max-width: none;
}
.wd-product .wd-product-thumb .wd-product-img-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Botones de acción más compactos en móvil */
@media (max-width: 767px) {
  .wd-product-card-hover .wd-action-btn { width: 26px !important; height: 26px !important; }
  .wd-product-card-hover .wd-action-btn .wd-action-icon svg { width: 12px !important; height: 12px !important; }
  .wd-product-card-hover .wd-add-btn { min-height: 30px !important; }
  .wd-product-card-hover .wd-add-btn a { height: 30px !important; line-height: 30px !important; }
  .wd-product-card-hover .wd-add-btn .wd-action-icon svg { width: 14px !important; height: 14px !important; }
}


/* ============================================================
   7. FICHA DE PRODUCTO
   ============================================================ */

.single-product .product_title.entry-title {
  font-size: 54px !important;
  line-height: 1.15 !important;
}

.single-product .wd-compare-btn,
.single-product .wd-wishlist-btn {
  margin-top: 15px !important;
}

/* Tabla de especificaciones */
.single-product table.woocommerce-product-attributes {
  background-color: #f5f6fc !important;
  padding: 15px !important;
  border-radius: 4px !important;
  margin-bottom: 35px !important;
}
.single-product table.woocommerce-product-attributes .woocommerce-product-attributes-item__label,
.single-product table.woocommerce-product-attributes .woocommerce-product-attributes-item__value {
  font-size: 9.6px !important;
  padding: 10px 15px !important;
}
.single-product table.woocommerce-product-attributes .woocommerce-product-attributes-item__label {
  white-space: nowrap !important;
}


/* ============================================================
   8. GALERÍA DE PRODUCTO
   ============================================================ */

/* Imagen principal: contenedor con altura fija, imagen contenida */
.woocommerce-product-gallery__image {
  position: relative !important;
  display: block !important;
  min-height: 480px !important;
  background-color: transparent !important;
  padding: 0 !important;
}
.woocommerce-product-gallery__image img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  margin: 0 !important;
  max-width: 100% !important;
  max-height: none !important;
}
.woocommerce-product-gallery__image img[src*=".png"] {
  filter: brightness(0.93) contrast(1.03) !important;
}

/* Fondo gris solo para imágenes PNG / recortadas del catálogo */
.woocommerce-product-gallery__image:has(img[src*=".png"]) {
  background-color: #e8e8e8 !important;
  padding: 20px 48px !important;
  box-sizing: border-box !important;
}
.woocommerce-product-gallery__image:has(a[href*="-1."]),
.woocommerce-product-gallery__image:has(a[href*="-2."]),
.woocommerce-product-gallery__image:has(a[href*="-3."]),
.woocommerce-product-gallery__image:has(a[href*="-4."]) {
  background-color: #e8e8e8 !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}

/* Miniaturas de la galería */
.wd-gallery-thumb .wd-carousel-item {
  background-color: transparent !important;
  padding: 0 !important;
}
.wd-gallery-thumb .wd-carousel-item img {
  object-fit: contain !important;
}
.wd-gallery-thumb .wd-carousel-item:has(img[src*=".png"]) {
  background-color: #e8e8e8 !important;
  padding: 8px 14px !important;
  box-sizing: border-box !important;
}
.wd-gallery-thumb .wd-carousel-item:has(img[src*="-1-"]),
.wd-gallery-thumb .wd-carousel-item:has(img[src*="-2-"]),
.wd-gallery-thumb .wd-carousel-item:has(img[src*="-3-"]),
.wd-gallery-thumb .wd-carousel-item:has(img[src*="-4-"]) {
  background-color: #e8e8e8 !important;
  padding: 8px !important;
  box-sizing: border-box !important;
}


/* ============================================================
   9. CABECERAS DE PÁGINA (títulos con imagen de fondo)
   ============================================================ */

/* Migas de pan en blanco */
.wd-page-title .wd-breadcrumbs a {
  color: #ffffff !important;
  font-weight: 700 !important;
}
.wd-page-title .wd-breadcrumbs .wd-delimiter,
.wd-page-title .wd-breadcrumbs .wd-last {
  color: #ffffff !important;
  font-weight: 400 !important;
}

/* Archivos de producto */
body.term-colchones .wd-page-title-bg,
body.woocommerce-shop .wd-page-title-bg {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
body.term-colchones .wd-page-title-bg {
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                    url("https://colchoncomfy.com/wp-content/uploads/2026/07/ROOM-Comfy-wide2.webp") !important;
}
body.woocommerce-shop .wd-page-title-bg {
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                    url("https://colchoncomfy.com/wp-content/uploads/2026/07/RoomBedComfyWide222.webp") !important;
}
body.term-colchones .wd-page-title-bg img,
body.woocommerce-shop .wd-page-title-bg img { opacity: 0 !important; }

/* Contacto */
body.page-id-143 .wd-page-title-bg {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                    url("https://colchoncomfy.com/wp-content/uploads/2026/07/ROOM-Comfy-wide-scaled.webp") !important;
}
body.page-id-143 .wd-page-title-bg img { opacity: 0 !important; }

/* Comparar */
body.page-id-1169 .wd-page-title-bg img {
  content: url("https://colchoncomfy.com/wp-content/uploads/2026/07/BedComfy-webCompare.jpg") !important;
}
body.page-id-1169 .wd-prefooter { display: none !important; }

/* Hero de Inicio */
body.page-id-1595 .elementor-cta__bg {
  background-image: url("https://colchoncomfy.com/wp-content/uploads/2026/05/mujercostadaComfy.webp") !important;
}


/* ============================================================
   10. PÁGINA COMPARAR
   ============================================================ */

.wd-compare-remove .wd-action-text { font-size: 0 !important; }
.wd-compare-remove .wd-action-text::after {
  content: "Eliminar" !important;
  font-size: 14.4px !important;
  font-weight: 600 !important;
}