body.cms-id-10 .page-content,
body.cms-id-11 .page-content,
body.cms-id-12 .page-content,
body.cms-id-13 .page-content,
body.cms-id-14 .page-content {
    max-width: 1140px;
    margin: 0 auto;
    line-height: 1.7;
	padding: 2rem;
	padding-bottom:4rem;
	font-family: 'Neue Haas Grotesk Display', sans-serif !important;
	font-size:16px !important;
	font-weight:regular;
}

body.cms-id-10 .page-content p,
body.cms-id-11 .page-content p,
body.cms-id-12 .page-content p,
body.cms-id-13 .page-content p,
body.cms-id-14 .page-content p{
	margin: 6px 0px 6px 0px;		
}

body.cms-id-10 .page-content h1,
body.cms-id-11 .page-content h1,
body.cms-id-12 .page-content h1,
body.cms-id-13 .page-content h1,
body.cms-id-14 .page-content h1 {
    margin-bottom: 30px;
	font-size: 36px !important;
	color: #666439 !important;
	font-family: Manier, serif !important;
	line-height: 1.2em !important;
	font-weight:500 !important;
}

body.cms-id-10 .page-content h2,
body.cms-id-11 .page-content h2,
body.cms-id-12 .page-content h2,
body.cms-id-13 .page-content h2,
body.cms-id-14 .page-content h2 {
    margin-top: 30px;
	margin-bottom: 20px;
	color: #666439 !important;
	font-size: 28px !important;
	font-family: Manier, serif !important;
	line-height: 1.2em !important;
	font-weight:500 !important;
}
body.cms-id-10 .page-content h3,
body.cms-id-11 .page-content h3,
body.cms-id-12 .page-content h3,
body.cms-id-13 .page-content h3,
body.cms-id-14 .page-content h3 {
	margin-top: 14px;
    margin-bottom: 14px;
	color: #666439 !important;
	font-size: 24px !important;
	line-height: 1.2em !important;
	font-family: Manier, serif !important;
	font-weight:500 !important;
}

body.cms-id-10 .page-content table,
body.cms-id-11 .page-content table,
body.cms-id-12 .page-content table,
body.cms-id-13 .page-content table,
body.cms-id-14 .page-content table {
    width: 100%;
}
body.cms-id-10 .page-content ul,
body.cms-id-11 .page-content ul,
body.cms-id-12 .page-content ul,
body.cms-id-13 .page-content ul,
body.cms-id-14 .page-content ul {
    padding-top:20px;
	padding-bottom:10px;
	padding-right:30px;
	padding-left:30px;
}
body.cms-id-10 .page-content li,
body.cms-id-11 .page-content li,
body.cms-id-12 .page-content li,
body.cms-id-13 .page-content li,
body.cms-id-14 .page-content li {
    padding-bottom:10px;
	margin-left: 10px;
	list-style-position: outside;
	list-style: disc;
	font-family: 'Neue Haas Grotesk Display', sans-serif !important;
	font-size:16px !important;
	font-weight: 400;
	color: #232323;
}
body.cms-id-10 .page-content li::before,
body.cms-id-11 .page-content li::before,
body.cms-id-12 .page-content li::before,
body.cms-id-13 .page-content li::before,
body.cms-id-14 .page-content li::before {
	/*
		content: "•";
		padding-right:10px !important;
	*/
	
}

/*ajustes DS iconos menú top*/
.rightbuttons {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
	max-height: 48px !important;
}
#_desktop_stores_info .stores-info, #_desktop_stores_info .stores-info a, 
#_desktop_search .search-info, #_desktop_user_info .user-info, 
#_desktop_user_info .account, #_desktop_user_info a, .oma-header-logout a {
    height: 48px !important;
    min-width: 48px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: #666439 !important;
    text-decoration: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#_desktop_stores_info svg, #_desktop_search svg, #_desktop_user_info svg, 
#_desktop_user_info img, .oma-account-icon, .oma-header-logout img {
    width: 28px !important;
    height: 28px !important;
    display: block !important;
    object-fit: contain !important;
    margin: 0 auto 2px auto !important;
    padding: 0 !important;
}

#_desktop_stores_info .mini-text-icons, #_desktop_search .mini-text-icons, 
#_desktop_user_info .mini-text-icons, .oma-header-logout a span {
    display: block !important;
    visibility: visible !important;
    width: auto !important;
    min-width: max-content !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
    font-weight: 400 !important;
    color: #666439 !important;
    text-align: center !important;
    white-space: nowrap !important;
    text-transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
/*ajustes DS iconos menú top*/

/* Sonpura Chat - Tooltip */
#sonpura-root .sp-chatbot__launcher {
    position: relative;
    overflow: visible;
}

#sonpura-root .sp-chatbot__launcher::after {
    content: "¿En qué podemos ayudarte?";
    position: absolute;

    /* Mostrar el text a l'esquerra del botó */
    right: calc(100% + 12px);
    left: auto;

    top: 50%;
    transform: translateY(-50%);

    background: #676539;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;

    white-space: nowrap;
    font-size: 14px;
    line-height: 1.2;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 9999;
}

/* Metacom 2026-11-19: texto de la burbuja en el idioma de la tienda (en sonpura.fr y .pt salía en castellano).
   Solo cambia el content; ES y el resto de idiomas siguen con la regla de arriba. */
html[lang^="fr"] #sonpura-root .sp-chatbot__launcher::after {
    content: "Comment pouvons-nous vous aider ?";
}

html[lang^="pt"] #sonpura-root .sp-chatbot__launcher::after {
    content: "Como podemos ajudar?";
}

/* Mostrar el tooltip en passar el ratolí */
#sonpura-root .sp-chatbot__launcher:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Sonpura Chat - Posició a la dreta */
#sonpura-root.sp-chatbot {
    left: auto !important;
    right: 32px !important;
    margin-left: 0 !important;
    align-items: flex-end !important;
}

/* Versió mòbil */
@media (max-width: 768px) {
    #sonpura-root.sp-chatbot {
        left: auto !important;
        right: 16px !important;
    }
}

/* Ocultar opcions 4 i 5 en espanyol */
html[lang^="es"] .advtm_menu_4,
html[lang^="es"] .advtm_menu_5 {
    display: none !important;
}

/* Ocultar opcions 4 i 5 en portuguès (Cabeceiras i Almofadas van dins de Complementos).
   Metacom 2026-11-16: estava només al custom.css del servidor; es passa al repositori
   tal qual, perquè no es perdi en el proper desplegament. */
html[lang^="pt"] .advtm_menu_4,
html[lang^="pt"] .advtm_menu_5 {
    display: none !important;
}

/* ATELIER - PORTUGAL */

/* Ocultar les columnes Bases i Cabeceiras mentre no tinguin productes enllaçats.
   Metacom 2026-11-23: abans s'amagaven sempre. Sonpura ja ha associat a PT les bases
   i els capçals d'Atelier; quan es posin els enllaços (link_5) al back office, les
   columnes surten soles. Fins llavors no canvia res. */
html[lang^="pt"] .advtm_menu_30 .adtm_column_38:not(:has(a[href*=".html"])),
html[lang^="pt"] .advtm_menu_30 .adtm_column_39:not(:has(a[href*=".html"])) {
    display: none !important;
}

/* Ocultar opcions buides */
html[lang^="pt"] .advtm_menu_30 li:has(> a.adtm_unclickable) {
    display: none !important;
}

/* Permetre que Colchões ocupi tot l'espai */
html[lang^="pt"] .advtm_menu_30 .advtm_column_37 {
    width: 100% !important;
    float: none !important;
}

/* ==== Metacom 2026-11-19: Colecao El Corte Ingles fuera del menu de PT ====
   No se vende en Portugal (criterio de Sonpura, 2026-11-09): sus productos ya estan
   desactivados en la tienda PT, pero la columna 7 del menu (pm_advancedtopmenu, de tipo
   categoria) es comun a las tres tiendas y seguia saliendo vacia. Requiere el ajuste de
   setFirstMenuItemsOfEachRow en pm_advancedtopmenu.js (ignora columnas ocultas). */
html[lang^="pt"] #adtm_menu .adtm_column_7 {
    display: none !important;
}

/* ==== Metacom 2026-11-06: iconos de la cabecera sin cortar en movil y tablet ====
   Mismo criterio que las landings FR/PT: en movil solo el icono de tiendas
   (busqueda y cuenta siguen en el menu); en tablet, margen a la derecha.
   Probado en ES, FR y PT de 375 a 1180 px. */
@media (max-width: 1110px) {
    #header .rightbuttons { margin-right: 15px !important; }
}
@media (max-width: 575px) {
    #header #_desktop_search,
    #header #_desktop_user_info { display: none !important; }
}

/* ==== Metacom 2026-11-18: estilos del blog (PrestaBlog: /blog, categorías y artículos) ====
   Diseño del Figma acordado con Sonpura. Parten de las reglas que había en el custom.css del
   servidor (copia de Wayback Machine del 2026-08-22), que se perdieron al versionar custom.css
   en ef7cc5b4 (2026-10-26). Cambios respecto a aquella copia:
   - Todo va limitado a las páginas del blog (#module-prestablog-blog o los id propios de
     PrestaBlog), para no tocar la cabecera, el pie ni el resto de la web.
   - Los títulos h3-h6 y los iconos van solo dentro del contenido (#content-wrapper), no en el
     menú ni en los títulos del pie.
   - Las reglas de la página Inspiración (CMS 32) no van aquí: esa página lleva sus estilos en
     su propio contenido.
   - El slider de /blog se adapta a tablet y móvil (antes tenía 595 px fijos y el título blanco
     quedaba sobre fondo blanco).
   - Se quita una regla que no se aplicaba por un selector roto ("h1." sin clase). */

/* Menú de categorías de PrestaBlog: oculto, como en el diseño */
#module-prestablog-blog #prestablog_menu_cat{
	display:none;
}

/* Sin enlace (lightbox) en las imágenes de los artículos */
#module-prestablog-blog .wp-block-image a.fancybox,
#prestablogfont a.fancybox{
	pointer-events:none;
	cursor:default;
}

#module-prestablog-blog #prestablogfront div,
#module-prestablog-blog #prestablogfront li{
	font-family:'Neue Haas Grotesk Display', serif;
	line-height:1.5em;
	margin-bottom:10px;
	color:#000000;
	font-size:18px;
}

#module-prestablog-blog #prestablogfront span{
	font-family:'Neue Haas Grotesk Display', serif;
	line-height:1.5em;
	color:#000000;
	font-size:18px;
}

/* Rejilla de artículos en categorías y en /blog: 2 columnas (1 en móvil) */
body#module-prestablog-blog ul.blog_list_1-7-grid{
	display:flex;
	flex-wrap:wrap;
	gap:32px;
	height:auto !important;
}

body#module-prestablog-blog ul.blog_list_1-7-grid > li.blog-grid{
	position:static !important;
	width:calc(50% - 16px);
}

@media (max-width: 767px){
	body#module-prestablog-blog ul.blog_list_1-7-grid > li.blog-grid{
		width:100%;
	}
}

/* Imagen de cabecera de la categoría */
#module-prestablog-blog .prestablog_cat_img{
	width:100%;
}

#module-prestablog-blog #content-wrapper > .cat_desc_blog{
	display:none;
}

/* Ancho del contenido del blog */
body#module-prestablog-blog .container-fluid{
	max-width:1140px;
	margin:0 auto;
}

#module-prestablog-blog .breadcrumb{
	display:none;
}

#module-prestablog-blog #wrapper > .container{
	width:100% !important;
}

/* Slider de /blog (foto grande con el título encima) */
#module-prestablog-blog .nivo-caption{
	font-family:'Manier', serif;
	font-style:normal;
	font-weight:400;
	font-size:48px;
	line-height:1.2em;
	margin:0;
	text-align:left;
	border:none;
}

#module-prestablog-blog .prestablog_slide .nivo-caption{
	color:white;
	background-color:#00000000;
	background-image:none;
	border:none;
	width:100%;
	text-align:center;
	top:0;
	padding-top:130px;
	box-shadow:none;
}

#module-prestablog-blog .nivo-directionNav,
#module-prestablog-blog .nivo-slice,
#module-prestablog-blog .nivo-controlNav,
#module-prestablog-blog .prestablog_more{
	display:none;
}

#module-prestablog-blog .sliders_prestablog.nivoSlider{
	height:595px;
	overflow:hidden;
}

/* La foto llena siempre el alto del slider */
#module-prestablog-blog .sliders_prestablog.nivoSlider img.nivo-main-image{
	width:100% !important;
	height:100% !important;
	object-fit:cover;
	object-position:center;
}

@media (max-width: 991px){
	#module-prestablog-blog .sliders_prestablog.nivoSlider{
		height:460px;
	}
	#module-prestablog-blog .prestablog_slide .nivo-caption,
	#module-prestablog-blog .nivo-caption{
		font-size:40px;
		padding-top:100px;
	}
}

@media (max-width: 575px){
	#module-prestablog-blog .sliders_prestablog.nivoSlider{
		height:340px;
	}
	#module-prestablog-blog .prestablog_slide .nivo-caption,
	#module-prestablog-blog .nivo-caption{
		font-size:32px;
		padding:70px 20px 0;
	}
}

#module-prestablog-blog h3 a:hover{
	color:#666439;
}

#module-prestablog-blog li.blog-grid a{
	font-family:'Neue Haas Grotesk Display', serif;
	font-size:18px;
	line-height:1.2em;
}

#module-prestablog-blog .date_blog-cat{
	display:block;
}

#module-prestablog-blog .date_blog-cat .categorie_blog{
	font-size:18px;
}

#module-prestablog-blog #content-wrapper .material-icons{
	font-family:"Material Icons", Arial, sans-serif;
	font-size:24px;
}

#module-prestablog-blog .prestablog_desc{
	font-family:'Neue Haas Grotesk Display', serif;
	font-size:18px;
	line-height:1.2em;
}

#module-prestablog-blog .prestablog_more .comments{
	display:none;
}

/* Artículos */
#module-prestablog-blog #prestablogfront{
	max-width:900px;
	border:none;
	text-align:left;
	font-family:'Neue Haas Grotesk Display', serif;
}

#module-prestablog-blog #prestablogfront time{
	display:none;
}

#module-prestablog-blog #prestablogfront h1,
#module-prestablog-blog #prestablogfront h1 span{
	text-align:left;
	font-family:'Neue Haas Grotesk Display', serif;
	font-size:28px;
	margin-top:60px;
	margin-bottom:20px;
	line-height:1.2em;
}

#module-prestablog-blog #prestablogfront .info_blog{
	margin-bottom:20px;
}

#module-prestablog-blog #prestablogfront h2,
#module-prestablog-blog #prestablogfront h2 span{
	text-align:left !important;
	font-family:'Neue Haas Grotesk Display', serif;
	font-size:22px;
	margin:30px 0px 20px 0px;
	line-height:1.2em;
	border:none;
	padding:0;
}

#module-prestablog-blog #prestablogfront h2 strong{
	font-size:22px;
}

#module-prestablog-blog #content-wrapper h3,
#module-prestablog-blog #content-wrapper h3 span,
#module-prestablog-blog #content-wrapper h4,
#module-prestablog-blog #content-wrapper h4 span{
	font-family:'Neue Haas Grotesk Display', serif;
	font-size:22px;
	border:none;
	text-align:left !important;
	margin:30px 0px 20px 0px;
	padding:0;
	color:#232323;
}

#module-prestablog-blog #content-wrapper h5,
#module-prestablog-blog #content-wrapper h5 span,
#module-prestablog-blog #content-wrapper h6,
#module-prestablog-blog #content-wrapper h6 span{
	font-family:'Neue Haas Grotesk Display', serif;
	font-size:20px;
	border:none;
	text-align:left !important;
	margin:30px 0px 20px 0px;
	padding:0;
	color:#232323;
}

#module-prestablog-blog #content-wrapper h2 a,
#module-prestablog-blog #content-wrapper h3 a,
#module-prestablog-blog #content-wrapper h4 a{
	color:#232323;
	font-size:22px !important;
}

#module-prestablog-blog #content-wrapper h5 a,
#module-prestablog-blog #content-wrapper h6 a{
	color:#232323;
	font-size:20px !important;
}

#module-prestablog-blog h1 span{
	margin:10px 0;
	text-align:left;
	font-family:'Neue Haas Grotesk Display', serif;
	font-size:36px;
	margin-top:60px;
	margin-bottom:60px;
	line-height:1.2em;
}

#module-prestablog-blog h1{
	max-width:1140px;
	margin:0 auto;
	text-align:left;
	font-family:'Neue Haas Grotesk Display', serif;
	font-size:36px;
	margin-top:60px;
	margin-bottom:60px;
	line-height:1.2em;
}

#module-prestablog-blog .prestablog_cat_img{
	width:100%;
	margin:0 auto;
	text-align:left;
	margin-top:0px;
	margin-bottom:0px;
	padding:0px;
	height:500px;
	overflow:hidden;
}

#module-prestablog-blog .prestablog_cat_img img{
	width:100%;
	height:auto;
	margin-top:-60px;
}

#module-prestablog-blog .cat_desc_blog{
	display:none;
}

#module-prestablog-blog .three_article{
	padding-bottom:100px;
	max-width:1140px;
	margin:0 auto;
}

#blog_list_1-7 a.blog_link:hover,
#blog_list_1-7 .comments:hover,
#blog_list_1-7 a.blog_link:hover::before,
#blog_list_1-7 .comments:hover::before{
	color:#FFFFFF !important;
}

#prestablogfont,
#prestablogfont p,
#prestablogfont span,
#prestablogfont ul,
#prestablogfont li{
	font-family:'Neue Haas Grotesk Display', serif;
	font-size:18px;
	line-height:1.5em;
}

#module-prestablog-blog .prestablog-article-navigation{
	margin-top:80px !important;
}

#module-prestablog-blog .prestablog-article-navigation .nav-direction,
#module-prestablog-blog .prestablog-article-navigation .nav-title{
	font-size:14px !important;
	margin-bottom:10px;
}

#module-prestablog-blog .prestablog-article-navigation .nav-direction span{
	margin-bottom:0;
	font-size:14px;
}

#prestablogfont li{
	margin-bottom:10px;
}

#prestablogfont h1, #prestablogfont h2, #prestablogfont h3, #prestablogfont h4, #prestablogfont h5, #prestablogfont h6{
	font-family:'Neue Haas Grotesk Display', serif;
}

#prestablogfront a{
	color:#666439;
}

#prestablogfront a:hover{
	color:#c36c2a;
}

#prestablogfront img{
	width:100%;
	margin-left:0;
	margin-bottom:40px;
	margin-top:20px;
}

#prestablogfront table{
	margin-top:40px;
	margin-bottom:40px;
	margin-left:3%;
	margin-right:3%;
	width:94% !important;
}

#prestablogfront table th{
	padding:6px;
	border-bottom:1px solid #000;
	font-weight:bold;
	font-size:18px;
}

#prestablogfront table td{
	padding:6px;
}

#prestablogfront table img{
	width:100%;
	margin-left:0;
	margin-bottom:2%;
	margin-top:2%;
}

/* Tabla de contenidos */
#module-prestablog-blog .prestablog-toc.float-toc{
	width:100%;
	max-width:600px;
}

#module-prestablog-blog h1.new-template-blog{
	text-align:center !important;
}

#module-prestablog-blog section#wrapper{
	padding:0 !important;
	margin-top:125px !important;
}

@media (max-width: 991px){
	#module-prestablog-blog section#wrapper{
		margin-top:120px !important;
	}

	#module-prestablog-blog .prestablog_cat_img{
		display:block;
		width:100% !important;
		height:500px !important;
		overflow:hidden;
		position:relative;
	}

	#module-prestablog-blog .prestablog_cat_img img{
		margin-top:0px !important;
		position:absolute;
		top:50%;
		left:50%;
		width:100% !important;
		height:100% !important;
		object-fit:cover;
		object-position:center;
		transform:translate(-50%, -50%);
	}

	#module-prestablog-blog .bread-title-article{
		display:block;
		margin-top:6px;
	}

	#module-prestablog-blog .prestablog-article-navigation .col-md-6{
		max-width:50%;
	}

	#module-prestablog-blog #prestablogfront span{
		font-size:16px;
	}
}

@media (max-width: 575px){
	#module-prestablog-blog .prestablog_cat_img{
		height:340px !important;
	}
}

#module-prestablog-blog #blog_list_1-7 .block_cont{
	border:none !important;
}

/* Sin paginación en las categorías */
#module-prestablog-blog h1.new-template-blog + .prestablog_pagination{
	display:none;
}

#module-prestablog-blog .prestablog_pagination{
	text-align:center !important;
	padding-bottom:60px;
}

/* ==== Metacom 2026-11-18: página Inspiración (CMS 32, /inspiracion) ====
   Diseño del Figma acordado: foto grande con el título encima, subtítulo y rejilla de
   categorías. El contenido de la página (back office) lleva <section class="sp-insp">.
   Las reglas del contenedor solo se aplican si la página tiene ese bloque (:has), así que
   no cambian nada mientras la página tenga el contenido anterior. */
.cms-id-32 #wrapper:has(.sp-insp) .breadcrumb{display:none;}
.cms-id-32 #wrapper:has(.sp-insp){padding-top:0;}
.cms-id-32 #wrapper:has(.sp-insp) > .container{width:100%;max-width:none;}
.cms-id-32 #content.page-cms-32:has(.sp-insp){padding:0;margin:0;background:transparent;box-shadow:none;}
.sp-insp{margin:0;}
.sp-insp-hero{position:relative;height:585px;overflow:hidden;}
.sp-insp-hero img{position:absolute;inset:0;width:100%;height:100%;}
.sp-insp-hero img{object-fit:cover;object-position:center;}
.sp-insp-hero h1{position:relative;z-index:1;margin:0;padding:130px 20px 0;color:#fff;font-family:"Manier",serif;font-weight:normal;font-size:48px;line-height:1.2;text-align:center;text-shadow:0 1px 12px rgba(0,0,0,.25);}
.sp-insp-sub{margin:60px auto;padding:0 20px;max-width:1200px;color:#232323;font-family:"Neue Haas Grotesk Display",sans-serif;font-weight:normal;font-size:36px;line-height:1.2;text-align:center;}
.sp-insp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:56px 30px;max-width:1072px;margin:0 auto;padding:0 20px 100px;}
.sp-insp-card{min-width:0;}
.sp-insp-card .sp-insp-img{display:block;overflow:hidden;}
.sp-insp-card .sp-insp-img img{display:block;width:100%;height:auto;aspect-ratio:337/330;object-fit:cover;transition:transform .4s ease;}
.sp-insp-card .sp-insp-img:hover img{transform:scale(1.05);}
.sp-insp-card h3{margin:20px 0 12px;padding:0;border:0;color:#232323;font-family:"Neue Haas Grotesk Display",sans-serif;font-weight:normal;font-size:22px;line-height:1.2;text-align:left;text-transform:none;}
.sp-insp-card h3 a{color:inherit;text-decoration:none;}
.sp-insp-card p{margin:0;color:#555;font-family:"Neue Haas Grotesk Display",sans-serif;font-size:18px;line-height:1.5;}
@media (max-width:991px){
  .sp-insp-hero{height:460px;}
  .sp-insp-hero h1{padding-top:100px;font-size:40px;}
  .sp-insp-sub{margin:44px auto;font-size:28px;}
  .sp-insp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:44px 24px;padding-bottom:70px;}
}
@media (max-width:575px){
  .sp-insp-hero{height:340px;}
  .sp-insp-hero h1{padding-top:70px;font-size:32px;}
  .sp-insp-sub{margin:36px auto;font-size:22px;}
  .sp-insp-grid{grid-template-columns:1fr;gap:36px;padding-bottom:56px;}
  .sp-insp-card h3{font-size:20px;margin-top:16px;}
  .sp-insp-card p{font-size:16px;}
}
