﻿/*
	Theme Name: Domoting
	Theme URI: https://www.stilogolab.com/
	Description: Theme web Domoting
	Version: 1.0
	Author: Stílogo Lab S.L
	Tags: HTML5, CSS3, Responsive

*/

/* inria-sans-300 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Inria Sans';
	font-style: normal;
	font-weight: 300;
	src: url('fonts/inria-sans-v14-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* inria-sans-300italic - latin */
  @font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Inria Sans';
	font-style: italic;
	font-weight: 300;
	src: url('fonts/inria-sans-v14-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* inria-sans-regular - latin */
  @font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Inria Sans';
	font-style: normal;
	font-weight: 400;
	src: url('fonts/inria-sans-v14-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* inria-sans-italic - latin */
  @font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Inria Sans';
	font-style: italic;
	font-weight: 400;
	src: url('fonts/inria-sans-v14-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* inria-sans-700 - latin */
  @font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Inria Sans';
	font-style: normal;
	font-weight: 700;
	src: url('fonts/inria-sans-v14-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* inria-sans-700italic - latin */
  @font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Inria Sans';
	font-style: italic;
	font-weight: 700;
	src: url('fonts/inria-sans-v14-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
*, *:after, *:before {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    outline: none;
}

img {
	max-width: 100%;
}

html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{
	text-decoration: none;
	background-color:transparent}
	a:visited{
		
	}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}





	
/*------------------------------------*\
    Sin tienda
\*------------------------------------*/

header.main form.search,
.button.cart-button,
.button.login-button,
.button.admin-key,
.onsale,
.add_to_cart_button, 
.add_to_cart_button:hover,
.woocommerce div.product form.cart,
.bs-price,
.button.add_to_cart_button,
.button.search {
	display: none !important;
}

header.main form.search {
	opacity: 0;
}






	
/*------------------------------------*\
    MAIN
\*------------------------------------*/


/* Definición de variables */
:root {
	--color-main-text: #313131;
	--color-primario: #3c3c3c; /* Color primario */
	--color-secundario: #6B92BE; /* Color secundario */
	--color-terciario: #ada294; /* Color terciario */
	--color-cuaternario: #e4e3e0; /* Color cuaternario */
	--color-quintario: #e4e3e0; /* Color quinario */
	--color-sextario: #3c3c3c; /* Color sexto */
	--color-septenario: #fd7e14; /* Color septenario */
	--color-octavario: #ffc107; /* Color octavario */
}

::selection {
	color: #fff;
	background-color: var(--color-terciario);
	border-radius: 10px;
}
  

body {
	font-family: 'Inria Sans', sans-serif;
	font-weight: 400;
	color: var(--color-sextario);
	background: #fff;
	line-height: 1.3;
}

a:not(nav.main a, .bs-product a) {
	color: var(--color-main-text);
	text-decoration: underline;
}

a:hover {
	color: var(--color-secundario);
}


.wrapper {
	max-width: 1920px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 3rem;
	padding-right: 3rem;
}

h1, h2, h3 {
	font-weight: 400;
	line-height: 1.2;
}

.animated {
	-o-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-webkit-transition: all 0.4s ease;
	transition: all 0.4s ease;

 }


 .btn-main {
	background-color: var(--color-primario);
	color: #fff;
	border: 1px solid var(--color-primario);
	padding: 0.3rem 1rem 0.4rem;
	font-size: 1.2rem;
	font-weight: 700;
	cursor: pointer;
	border-radius: 4px;
 }

 .btn-main:hover {
	background-color: var(--color-secundario);
	border: 1px solid var(--color-secundario);
	color: #fff;
 }


 .btn-secondary {
	background-color: var(--color-terciario);
	color: #fff;
	border: 1px solid var(--color-terciario);
	padding: 0.3rem 1rem 0.4rem;
	font-size: 1.2rem;
	font-weight: 700;
	cursor: pointer;
	border-radius: 4px;

 }

 .btn-secondary:hover {
	background-color: var(--color-secundario);
	border: 1px solid var(--color-secundario);
 }


 .btn-tertiary {
	color: var(--color-main-text);
	text-decoration: underline;
	background-color: transparent;
	border: 0;
	padding: 0.3rem 1rem 0.4rem;
	font-size: 1.2rem;
	cursor: pointer;
 }

 .btn-tertiary:hover {
	color: var(--color-secundario);
 }

 /* Icon burger */
 header.main #icon-menu {
	cursor: pointer;
	padding: 0.5rem;
 }

 header.main #icon-menu .line {
	width: 28px;
	height: 2px;
	background-color: #313131;
	margin-bottom: 5px;
	border-radius: 2px;
	transition: all 0.3s ease;
 }

 header.main #icon-menu.active .line.top {
	transform: rotate(45deg) translate(5px, 5px);
	transform-origin: center;
 }

 header.main #icon-menu.active .line.middle {
	opacity: 0;
 }

 header.main #icon-menu.active .line.bottom {
	transform: rotate(-45deg) translate(5px, -5px);
	transform-origin: center;
 }
 

/* header */

header.main {
	position: sticky;
	top: 0;
	z-index: 9999999;
}

header.main .container {
	gap: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.4rem;
	background-color: #fff;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	z-index: 10;
	box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2);

}

header.main .flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

header.main #icon-menu {
	min-width: 30px;
}

header.main .logo {
	display: none;
	max-width: 230px;
}

header.main .logo-mobile {
	display: block;
	max-width: 50px;
}



header.main .icon-menu {
	display: none;
}

header.main nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}



header.main nav ul > li > ul {
	margin-left: 1rem;
}

header.main nav li {
	margin-bottom: 0.5rem;
}

header.main nav div > ul > li > a:first-of-type {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

header.main nav div > ul > li > ul a:hover {
	text-decoration: underline;
}

header a.logo {
	flex-grow: 1;
}

header picture.logo > img {
	width: 160px;
}

header picture.admin-key {
	margin-left: 0.5rem;
}

header picture.admin-key > img {
	width: 20px;
	margin-bottom: -6px;
}

header.main h1 {
	font-size: 1.5rem;
	color: var(--color-cuaternario);
}
header.main .ripped {
	position: absolute;
	right: 0;
	left: 0;
	width: 100%;
	bottom: 0;
	height: 15%;
}

#menu-item-165 a {
	color: var(--color-secundario);
	text-decoration: underline;
}


header.main .buttons-menu {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

header.main .buttons-menu .telephone {
	display: block;
}

header.main .buttons-menu .telephone a {
	text-decoration: none;
	color: var(--color-sextario);
}

header.main .buttons-menu .phone-button {
	display: none;
}


header.main .buttons-menu a {
	color: var(--color-secundario);
}

header.main .buttons-menu a:hover {
	color: var(--color-terciario);
}

header.main .buttons-menu .button {
	position: relative;
	width: 25px;
}

header.main .buttons-menu .button svg {
	width: 100%;
}

header.main .buttons-menu .button .cart-count-badge {
    background-color: #dc3f5a;
    color: #fff;
    border-radius: 100%;
    font-size: 0.6rem;
    position: absolute;
    bottom: 0;
    right: -6px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}


header.main form.search {
	display: none;
	align-items: center;
	position: relative;
	width: 100%;
	max-width: 300px;
}

header.main form.search input {
	border: 1px solid transparent;
	background-color: #f5f5f5;
	border-radius: 4px;
	padding: 0.5rem 1rem;
	font-size: 1.2rem;
	width: 100%;
}

header.main form.search input:focus {
	outline: none;
	border: 1px solid var(--color-secundario);
}

header.main form.search button {
	background-color: transparent;
	position: absolute;
	right: 0;
	border: none;
	cursor: pointer;
	padding-top: 4px;
	height: 30px;
	width: 30px;
}

header.main nav.main {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	background-color: #fff;
	padding: 5rem 1rem 2rem 1rem;
	color: #313131;
	box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2);
	transform: translateY(-100%);
	transition: transform 0.3s ease-in-out;
	font-size: 1.2rem; 
}

header.main nav.main.open {
	transform: translateY(0);
}

/* Elemento de cierre dentro del nav */
nav.main .close-btn {
	position: absolute;
	top: 1rem;
	right: 1rem;
	font-size: 2rem;
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
	}

header.main nav.main  a{
	color: #313131;
}


.sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0);
	white-space: nowrap; border: 0;
  }


/* Best sellers */

.best-sellers-wrapper {
	margin: 2rem 0 6rem;
}

  .best-sellers-grid {
	grid-template-columns: repeat(2, 1fr);
	margin: 0;
	grid-gap: 1rem;
    display: flex;    
	flex-wrap: wrap;
  }


  .best-sellers-grid .bs-product {
    position: relative;
	background-color: #F5F5F6;
	border-radius: 10px;
	padding: 1.2rem;
  }

  .best-sellers-grid .bs-product .bs-title {
	color: #6B92BE;
	font-size: 1.3rem;
	font-weight: 400;
	margin-bottom: 0.5rem;
  }

  .best-sellers-grid .bs-product .size-woocommerce_thumbnail {
	border-radius: 8px;
	margin-bottom: 1rem;
  }
  .best-sellers-grid .bs-product .onsale {
    background-color: #dc3f5a !important;
    min-height: 3.236em;
    min-width: 3.236em;
    padding: .202em;
    font-size: 1em;
    font-weight: 700;
    position: absolute;
    text-align: center;
    line-height: 3.236;
    top: -.5em;
    left: -.5em;
    margin: 0;
    border-radius: 100%;
    color: #fff;
    font-size: .857em;
    z-index: 9;
  }
 
.best-sellers-grid .bs-thumb img {
    width: 100%;
    height: auto;
    display: block;
}
  
.best-sellers-grid .bs-price {
    margin: 0.5em 0 2rem;
    font-size: 1em;
	margin-left: auto;
}

.best-sellers-grid .bs-product .add_to_cart_button {
	display: inline-block;     /* ajusta al contenido */
	white-space: nowrap;       /* todo en una línea */
	max-width: 100%;           /* nunca más ancho que el contenedor */
	overflow: hidden;          /* recorta el sobrante */
	text-overflow: ellipsis;   /* añade “…” si no cabe */
  
	/* estilo visual */
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	width: 25px;
	height: 25px;
	fill: #6B92BE;
}

.best-sellers-grid .bs-product .add_to_cart_button:hover {
	fill: #597ea7; 
}

.best-sellers-wrapper .best-sellers-link {
	color: #6B92BE;
	font-size: 0.8em;
	margin: 1rem 0;
	display: block;
	font-size: 1.1rem;
}

.best-sellers-wrapper .best-sellers-link:hover {
	text-decoration: underline;
}

.swiper-button-next, .swiper-button-prev {
	color: #ffffff80 !important;
}

.archive #primary.content-area{
	max-width: 1920px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 3rem;
	padding-right: 3rem;
	padding-top: 2rem;
	padding-bottom: 4rem;
}

.woocommerce-page {
	background-color: #fdfcfa; 
}

.woocommerce-page header.main + main {
	max-width: 1220px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 3rem;
	padding-right: 3rem;
	padding-top: 2rem;
	padding-bottom: 4rem;
}


/* Novedades .recent-products */

.recent-products {
	margin-top: 2rem;
	margin-bottom: 6rem;
}

.recent-products-content {
	max-width: 1150px;
	margin: 0 auto;
}
.recent-products-content .title {
	font-size: 1.8rem;
	font-weight: 400;
	margin-bottom: 1rem;
}

.recent-products h2 {
	font-size: 1.8rem;
	font-weight: 400;

}

.recent-products .loop-product-brand {
	font-size: 0.8em;
	margin-top: 0.5rem;
	text-transform: uppercase;
	font-weight: 700;
}

.recent-products ul.products li.product {
	background-color: #F5F5F6;
	padding: 1rem !important;
	border-radius: 5px;
}	.recent-products .loop-product-short-description {
		display: block;
	}

.recent-products h2.woocommerce-loop-product__title {
    font-size: 1.2em !important;
	color: #6B92BE;
	padding: 0 !important;
}

.recent-products .loop-product-short-description {
	display: none;
	font-size: 0.9em;
	margin-top: 0.5rem;
}


/* Productos */

.products {

}

.products .product.type-product {
	background-color: #F5F5F6;
	padding: 2rem !important;
	border-radius: 5px;
}

.products .product.type-product .woocommerce-loop-product__title {
    font-size: 1.2em !important;
    color: #6B92BE;
	color: #165193; /* Corregido contraste */
    padding: 0 !important;
}

.products .product.type-product .loop-product-brand {
    font-size: 0.8em;
    margin-top: 0.5rem;
    text-transform: uppercase;
    font-weight: 700;
}

.woocommerce .woocommerce-ordering select {
	padding: 0.5rem;
	border-radius: 5px;
	border: 1px solid #e1d7c3;
	background-color: #fff;
	color: #313131;
	font-size: 1rem;
	font-weight: 400;
}

/* Profesionales */

.profesionales {
	padding-bottom: 6rem;
}

.profesionales .wrapper .profesionales-content {
	max-width: 1150px;
	margin: 0 auto;
	background-color: #f5f1e9;
	border-radius: 5px;
	padding: 2rem;
	display: flex;
	gap: 1rem;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.profesionales-content-image {
	width: 50%;
	max-width: 70px;
}


.profesionales .wrapper .profesionales-content h2 {
	font-size: 1.6rem;
	font-weight: 400;
	margin-bottom: 0.5rem;
	margin-top: 0;
}

.profesionales .wrapper .profesionales-content h3 {
	font-size: 1.2rem;
	font-weight: 400;
	margin: 0 0 1rem 0;
}

.profesionales .profesionales-content-image svg {
	fill: #e1d7c3;
}


/* Page */
.page-content {
	padding-top: 2rem;
	padding-bottom: 4rem;
}

.page-content h1 {
	font-size: 1.8rem;
	font-weight: 400;
	margin-bottom: 1rem;
}

.page-content article {
	margin-bottom: 2rem;
}

.page-content article a {
	text-decoration: underline;
	color: var(--color-secundario);
}


/*------------------------------------*\
    HOME
\*------------------------------------*/


@media only screen and (min-width:980px) {


	header.main .buttons-menu {
		gap: 1rem;
	}
	header.main .buttons-menu .button { 
		width: 25px;
	}
}

@media only screen and (min-width:768px) {



	header.main .logo-mobile {
		display: none;
	}

	header.main .logo {
		display: block;
	}

	header.main form.search {
		display: flex;
	}

	header.main .button.search {
		display: none;
	}



	.best-sellers-grid { 
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 1em;
	  }


	  .profesionales .wrapper .profesionales-content {
		background-color: #f5f1e9;
		border-radius: 5px;
		padding: 2rem;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		text-align: left;
		gap: 2rem;
	}

	.recent-products ul.products li.product {
		background-color: #F5F5F6;
		padding: 2rem !important;
		border-radius: 5px;
	}
	
	.recent-products .loop-product-short-description {
		display: block;
	}

}
@media only screen and (min-width:480px) {

	header.main nav.main {
		font-size: 1rem; 
	}

	header.main nav div > ul {
		display: flex;
		gap: 4rem;
	}


}


/*------------------------------------*\
    Footer
\*------------------------------------*/

footer.main {
	color: var(--color-main-text);
	display: flex;
	padding-top: 2rem;
	padding-bottom: 2rem;
}

footer.main a:hover {
    text-decoration: underline;
    text-decoration-color: var(--color-quintario);
}

footer.main #menu-footer {
	font-size: 0.8em;
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
}

footer.main #menu-footer li:not(:last-of-type) {
	padding-right: 10px;
	margin-right: 10px;
	border-right: 1px solid var(--color-quintario);
}


footer.main .copyright {
	font-size: 0.8em;
	margin-right: 20px;
}


.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@media only screen and (max-width:480px) {

	footer.main {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 1rem;
	}

	footer.main #menu-footer {
		font-size: 0.8em;
		list-style: none;
		padding: 0;
		margin: 0;
		display: flex;
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}

	footer.main #menu-footer li:not(:last-of-type) {
		border-right: none;
		padding-right: 0;
		margin-right: 0;
	}

	footer.main .copyright {
		font-size: 0.8em;
		margin-right: 20px;
	}
	

}



