/*
	Color principal: #A6053B
*/
@import url(https://fonts.googleapis.com/css?family=Exo+2:400,600);
/*
@import url(https://fonts.googleapis.com/css?family=Lato:400,700);
@import url(https://fonts.googleapis.com/css?family=Roboto:400,700);
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600);
@import url(https://fonts.googleapis.com/css?family=Fira+Sans:400,700);
*/

body {
	font-family: 'Exo 2', 'Open Sans', 'Bitstream Vera Sans', 'Arial', 'Sans Serif', 'sans-serif';
	/*
	font-family: 'Exo 2', sans-serif;
	font-family: 'Raleway';
	font-family: 'Roboto', sans-serif;
	font-family: 'Lato', sans-serif;
	font-family: 'Fira Sans', sans-serif;
	*/
	font-size: 17px;
}

/* iconos im- */
.im {
	font-size: inherit !important;
}

@media screen {

	body {
		/*color: #FFF;
		background: #A6053B;*/
	}
	@media (min-width: 1020px) { /* PC */
		.body {
			min-height: 500px;
		}
	}

	/* detalle comandos */
	.cmd,
	.cmd:link,
	a.cmd,
	a.cmd:link {
		border-radius: 4px;
		padding: 3px 9px;
	}
	.cmd:active,
	.cmd:focus,
	a.cmd:active,
	a.cmd:focus {
		padding: 2px 8px;
	}
	.newalert_window_body_mobile .newalert_cmds .cmd,
	.cmd_big,
	a.cmd_big,
	.cmd_big:active,
	a.cmd_big:active,
	.cmd_big:hover,
	a.cmd_big:hover,
	.cmd_big:link,
	a.cmd_big:link {
		padding: 12px 24px;
	}
	.cmd_big:active,
	a.cmd_big:active,
	.cmd_big:focus,
	a.cmd_big:focus {
		padding: 11px 23px;
	}

	/* comandos especificos */
	.cmd_buy, a.cmd_buy {
		color: #FFF !important;
		background: #A6053B;
	}


	/* combos */
	.cmb,
	.cmb[readonly],
	.cmb[disabled],
	.cmb:focus {
		border-width: 1px;
		background-image: url(cmb.png);
	}

	/* textos */
	.txt,
	.txt:active,
	.txt:focus {
		border-width: 1px;
	}

	/* título */
	.title {
		border: none;
		background: #EEE;
	}
	.title_link:hover, .title_link:hover .title_link_icon>* {
		color: #A6053B;
	}
	.title_logo h1, .title_logo h2 {
		margin: 9px 0px;
	}
	/* logo algo más grande (base: 28px móvil / 64px PC) */
	.title_logo a.logo img {
		height: 34px;
	}
	@media (min-width: 1020px) { /* PC */
		.title_logo a.logo img {
			height: 76px;
		}
	}
	/*.title a.logo img {
		max-height: 56px;
	}
	@media (max-width: 1020px) { /* móviles */
		.title a.logo img {
			max-height: 38px;
		}
	}*/
	.head_buscador {
	}
	.head_buscador_cmd {
		margin: 0;
		border-radius: 0;
		box-shadow: none;
		background: #CCC;
	}
	.head_buscador_txt {
		background: #FFF;
		border: 1px solid #FFF;
	}
	.head_buscador_cmd,
	.head_buscador_txt {
		padding: 6px 9px;
	}
	.head_buscador_txt:focus {
		border: 1px solid #222;
	}
	.head_buscador:focus-within .head_buscador_cmd {
		background: #222;
	}
	.title_buscador {
		display: flex;
		justify-content: center;
	}
	.head_buscador_txt {
		width: auto;
	}
	.title_link_caption {
		display: flex;
		align-items: center;
	}
	@media (max-width: 640px) { /* móviles */
		.title_link_caption {
			display: none;
		}
	}
	.title_link_icon>* {
		color: #000;
		font-size: 28px !important;
	}
	.title_link_caption br {
		display: none;
	}
	.menu_item_badge_red {
		background: #A6053B;
	}

	/* botones de cabecera: "Entra o Regístrate" y "Mi carrito" */
	.title_usuario,
	.title_carrito {
		display: flex;
		align-items: center;
		gap: 8px;
		margin-left: 8px;
		padding: 8px 16px;
		border-radius: 999px;
		font-weight: 600;
		font-size: 15px;
		line-height: 1;
		transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
	}
	.title_usuario .title_link_icon>*,
	.title_carrito .title_link_icon>* {
		font-size: 20px !important;
	}
	.title_usuario .title_link_caption,
	.title_carrito .title_link_caption {
		margin: 0;
		color: inherit;
	}
	.title_usuario .title_link_icon,
	.title_carrito .title_link_icon {
		position: relative;
		display: flex;
		align-items: center;
	}

	/* usuario: botón con borde */
	.title_usuario {
		color: #A6053B;
		background: #FFF;
		border: 2px solid #A6053B;
	}
	.title_usuario .title_link_icon>* {
		color: #A6053B;
	}
	.title_usuario:hover,
	.title_usuario:focus-visible {
		color: #FFF;
		background: #A6053B;
	}
	.title_usuario:hover .title_link_icon>*,
	.title_usuario:focus-visible .title_link_icon>* {
		color: #FFF;
	}

	/* carrito: botón relleno */
	.title_carrito {
		color: #FFF;
		background: #A6053B;
		border: 2px solid #A6053B;
		box-shadow: 0 3px 8px rgba(166, 5, 59, 0.25);
	}
	.title_carrito .title_link_icon>* {
		color: #FFF;
	}
	.title_carrito:hover,
	.title_carrito:focus-visible {
		background: #85042F;
		border-color: #85042F;
		box-shadow: 0 5px 14px rgba(166, 5, 59, 0.35);
	}

	/* contador del carrito: burbuja en la esquina del icono */
	.title_link_icon .menu_item_badge_count {
		position: absolute;
		top: -9px;
		right: -10px;
		left: auto;
		margin: 0;
		min-width: 18px;
		padding: 3px 4px;
		box-sizing: border-box;
		text-align: center;
		font-size: 11px !important;
		line-height: 12px;
		border-radius: 999px;
		color: #A6053B;
		background: #FFF;
		border: 1px solid #A6053B;
		box-shadow: none;
	}
	.carrito_items .title_link_icon .menu_item_badge_count {
		color: #FFF;
		background: #222;
		border-color: #FFF;
	}

	/* el desplegable del carrito no hereda el estilo del botón */
	.title_carrito #carrito_popup_body {
		font-weight: normal;
		font-size: 15px;
		line-height: normal;
	}

	/* móvil: solo iconos redondos */
	@media (max-width: 640px) {
		.title_usuario,
		.title_carrito {
			margin-left: 6px;
			padding: 9px;
		}
	}


	/* migas de pan */
	.migas {
		background: #666;
		box-shadow: none;
	}
	.migas ul {
		padding: 7px 0;
	}
	.migas ul > li {
		color: #A6053B;
	}
	.migas ul > li > a {
		padding: 7px 6px;
	}

	/* inversión presentación */
	.index_portada {
	}
	.index_buscador_grupo {
	}
	.index_buscador_icono {
		display: none;
	}

	/* enlaces encima del buscador de portada */
	.body a.index_box {
		background: rgba(64,64,64,0.8);
	}
	.body a.index_box:hover {
		background: rgba(64,64,64,1);
	}

	/* buscador de portada */
	.index_subpresentacion {
		position: relative;
		background: center center no-repeat url(portada.jpg);
		background-size: cover;
		box-shadow: 0px 3px 5px rgba(0,0,0,0.3);
	}
	.index_subpresentacion_ar {
		background: transparent;
		padding-top: 25%;
		min-height: 320px;
	}
	.index_subpresentacion_texto {
		position: absolute;
		bottom: 20px;
		color: #FFF;
		background: rgba(200,20,50,0.6);
		box-shadow: 0px 5px 12px rgba(255,255,255,0.3);
		padding: 15px 20px;
	}
	.index_subpresentacion_texto h2 {
		color: #FFF !important;
	}

	/* iconos de redes sociales */
	.socialcontact {
		background: #000;
	}

	/* pié de página */
	.foot {
		color: #FFF;
		box-shadow: none;
	}
	/* fondo chulo */
	.foot_bg {
		background-image: url();
	}
	.foot .h_separador {
		display: none;
	}


	/* portada: banner */
	.index .index_marcas {
	}
	.index .marcas_title {
		text-align: center;
		margin-top: 0;
	}

	/* boxes portada */
	/*
	.index_boxes {
	}
	.body a.index_box {
		color: #A6053B;
		background: transparent;
	}
	.body a.index_box:hover {
		background: #EEE;
	}
	.body a.index_box .fa {
		display: none;
	}
	*/


	/* index marcas turbos */
	.index .tt_marcas_title {
		display: block;
	}
	.index .tt_marcas {
		margin-top: 0;
	}
	.index .tt_marca>img {
		height: 48px;
		opacity: 0.7;
	}

	/* marcas: deslizante infinito */
	.index .tt_marcas.tlv-marcas {
		display: block;
		width: 100%;
		margin-top: 8px;
		padding: 8px 0;
		overflow: hidden;
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
		mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
	}
	.tlv-marquee_track {
		display: flex;
		width: max-content;
		animation: tlvMarquee 46s linear infinite;
		will-change: transform;
	}
	.tt_marcas.tlv-marcas:hover .tlv-marquee_track,
	.tt_marcas.tlv-marcas:focus-within .tlv-marquee_track {
		animation-play-state: paused;
	}
	.tlv-marquee_group {
		display: flex;
		align-items: center;
		flex: 0 0 auto;
	}
	.tlv-brand {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 auto;
		width: 190px;
		height: 78px;
		margin-right: 14px;
		padding: 14px 18px;
		background: #fff;
		border: 1px solid #e6e6e6;
		border-radius: 8px;
		box-sizing: border-box;
		transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
	}
	.tlv-brand:hover {
		border-color: #A6053B;
		box-shadow: 0 8px 18px rgba(166, 5, 59, 0.12);
		transform: translateY(-2px);
	}
	.tlv-brand img {
		max-width: 100%;
		height: 48px;
		opacity: 0.7;
		filter: grayscale(1);
		transition: opacity 0.18s ease, filter 0.18s ease;
	}
	.tlv-brand:hover img {
		opacity: 1;
		filter: none;
	}
	@keyframes tlvMarquee {
		from { transform: translate3d(0, 0, 0); }
		to   { transform: translate3d(-50%, 0, 0); }
	}
	@media (max-width: 560px) {
		.tlv-brand {
			width: 150px;
			height: 68px;
			margin-right: 10px;
			padding: 10px 14px;
		}
		.tlv-brand img {
			height: 40px;
		}
	}
	@media (prefers-reduced-motion: reduce) {
		.tlv-marquee_track {
			animation: none;
		}
	}

	/* distribución de marcas */
	.index .marcas ul {
		list-style-type: none;
		margin: 0px;
		padding: 0px;
		text-align: center;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
	}
	.index .marcas ul>li>a,
	.index .marcas ul>li>a:link {
		display: block;
		width: 80px;
		height: 80px;
		margin: 4px 12px;
		background: no-repeat;
		background-size: contain;
		opacity: 0.5;
		transition: 0.3s all ease-in-out;
		filter: saturate(0.1);
	}
	.index .marcas ul>li>a:hover {
		opacity: 1;
		filter: saturate(1);
		transition: 0.1s all ease-in-out;
	}
	.index .marcas ul>li>a>* {
		display: none;
	}

	/* peculiaridades */
	.body h2,
	.body h3 {
		color: #A6053B;
		text-shadow: none;
	}

	/* título buscador móvil */
	.head_buscador_title {
		background: #A6053B;
	}

	/* icono portada */
	.body .hicons {
		background: #666;
		margin: 0;
		box-shadow: 0px 3px 5px rgba(0,0,0,0.3);
	}
	.body .hicon_container {
		display: flex;
		flex: 1;
	}
	.body a.hicon {
		display: block;
		flex: 1;
		color: #FFF;
		transition: none;
		background: transparent;
		padding: 0;
		border: 0;
		margin: 0;
	}
	.body .hicon_background {
		display: none;
	}
	.body .hicon_image_bg {
		padding: 0;
	}
	.body .hicon_image {
		position: absolute;
		overflow: hidden;
		background-position: center center;
		background-size: 50%;
		padding: 0;
		margin: 0;
		width: 100%;
		height: 100%;
		opacity: 0.1;
	}
	.body a.hicon:hover .hicon_image {
		background-size: 60%;
	}
	.body .hicon_caption {
		position: relative;
		padding: 32px 9px;
	}
	.body .hicon_caption_size {
		display: none;
	}
	.body a.hicon:active,
	.body a.hicon:hover {
		color: #FFF;
		background: #A6053B;
	}
	.body a.hicon .hicon_background {
		background: #A6053B;
	}

	/* busquedas */
	.body a.busqueda_producto_link_active,
	.body a.busqueda_producto_link_active:hover {
		color: #A6053B;
	}
	.divtable_th {
		background: #A6053B;
	}
	.search_resultados_title {
		background: #FFF;
	}
	.search_body {
		flex-direction: row-reverse;
	}
	.search_filtros {
    margin-left: 16px;
    margin-right: 0;
  }
  .search_filtro {
  	text-align: center;
  	border-bottom: 2px solid #CCC;
  }

	/* margen vertical en dato de información */
	.informacion_dato>* {
		padding-top: 6px;
		padding-bottom: 6px;
	}

	/* presentación invertida del producto */
	.producto {
		flex-direction: row-reverse;
	}
	.producto_precio {
		color: #A6053B;
	}
	/* dar la vuelta */
	.producto .imagenes {
		display: flex;
		flex-direction: column-reverse;
		justify-content: flex-end;
	}

	/* borde e icono de tipo de producto activo */
	.producto_cart_cmd_activo,
	.producto_cart_cmd:active,
	.producto_cart_cmd:focus {
		border-color: #A6053B;
	}
	.producto_cart_cmd_activo .fa-check-square {
		color: #A6053B;
	}

	/* productos cruzados */
	.productocruzado_checked {
		border-color: #A6053B;
	}
	.productocruzado_plus,
	.productocruzado_checked .productocruzado_checkbox_checked {
		color: #A6053B;
	}

	/* tipos de productos */
	/*.producto_cart_tipos {
		display: flex;
		flex-wrap;
	}
	.producto_cart_items {
		display: block;
		white-space: nowrap;
		margin-right: 20px;
	}
	.producto_cart_item {
		display: block;
		position: relative;
	}
	.producto_cart_cmd {
		text-align: left;
		border: 1px dotted transparent;
	}
	.producto_cart_cmd_body {
		padding: 0 9px;
	}
	.producto_tipo_descripcion {
		margin: 12px 0;
	}*/

	/* información */
	.informacion_recibelo_fecha,
	.informacion_envio {
		color: #000;
	}


	/* propiedades compra */
	.propiedades_compra_item {
		box-shadow: none;
		border: 1px dotted #CCC;
	}
	.propiedades_compra_item_icon {
		display: none;
	}
	.propiedades_compra_item_caption {
		color: #A6053B;
		text-align: center;
		font-size: 0.9em;
	}

	/* pasos */
	.shop_step_visited .shop_step_caption {
		color: #A6053B;
	}
	.shop_step_visited .shop_step_dot,
	.shop_step_visited .shop_step_line {
		background-color: #A6053B;
	}
	@keyframes shop_step_animation {
		from { border-color: #A6053B; }
		to { border-color: #EEE; }
	}

	/* contacto: iconos */
	.contacto .address .fa {
		color: #A6053B;
	}

	/* al pulsar el menú lateral, título de las secciones */
	.head_menu_h {
		background-color: #A6053B;
		border-bottom: 2px solid #000;
	}
	.head_menu_h_caption {
		color: #FFF;
	}

}
