
:root {
	--magenta: #E6007E;
}

body {
	font-family: 'Lato', sans-serif;
}

.page-header .panel.wrapper {
	background-color: #000;
	color: #fff;
}
.page-wrapper header.page-header .header.content {
	padding: 5px 20px 10px;
	max-width: 1520px;
}
.page-wrapper header.page-header .header.content .logo,
.page-wrapper header.page-header .header.content .logo2 {
	margin: 0 ;
}
.page-wrapper header.page-header .header.content .logo img,
.page-wrapper header.page-header .header.content .logo2 img {
	width: 100%;
    max-width: 100px !important;
}
	
		
.page-wrapper header.page-header .panel.wrapper .panel.header {
	display: flex;
	align-items:center;
	max-width: 1500px;
}	
.page-wrapper header.page-header .header.content .logo2 {
	float: right;
	order:2;
}
  
@media(max-width: 768px) {
	.page-wrapper header.page-header .header.content {
		display: flex;
        align-items: center;
        justify-content: center;
	}
	.page-wrapper header.page-header .panel.wrapper .panel.header {
        justify-content: space-between;	
		padding: 10px 5px;
	}
	.page-wrapper header.page-header.logged .panel.wrapper .panel.header {
		align-items: end;	
		min-height: 55px;	
		padding-bottom: 7px;
		position: relative;	
	}	
	.page-wrapper header.page-header .header.content .logo {
		width: 100px;
		text-align:left;
	}	 
	.page-wrapper header.page-header .header.content .logo2 {
		width: 100px;
		text-align: right;
	}	
	.page-wrapper header.page-header .header.content .logo:after {
	    content: '';
	    background: #333;
	    width: 2px;
	    height: 20px;
	    display: inline-block;
	    position: absolute;
	    top: 20px;	
	    right: 0;	
	}	
	.page-wrapper header.page-header .header.content .logo img, 
	.page-wrapper header.page-header .header.content .logo2 img {
		width: 62px;
	}
}



/* header links */
.page-wrapper header.page-header .header.links li:last-of-type {
	display: inline-block;
}
.page-header .header.panel ul.header.links {
	display: inline-block;
}
.header.panel ul.header.links {
	order: 3;
	margin: 0;
    padding: 0 10px;	
	display: block;	
}
.header.panel ul.header.links a {
	font-size: 12px;
	font-weight: bold;
}

.header.panel ul.header.links li.authorization-link {
	margin-left: 0;
}
.header.panel ul.header.links li.authorization-link a {
	font-size: 0;
	line-height: 30px;
}
.header.panel ul.header.links li.authorization-link a:before {
	background: url(../images/ic-header-micuenta.png) no-repeat;
    background-size: contain;
    content: '' !important;
    height: 25px;
    width: 20px;
    line-height: 28px;
    vertical-align: top;
    display: inline-block;
    overflow: hidden;
    text-align: center;
	margin-top: 5px;
}

.header.panel > .header.links > li.welcome a {
    padding-right: 15px;
    margin-right: 15px;
	line-height: 25px;
}
.page-header .header.panel > .header.links > li.greet.welcome {
    display: none;
}
.page-header.logged .header.panel > .header.links > li.greet.welcome {
	display: inline-block;
	margin-left: 0;
}
.page-header.logged .header.panel > .header.links > li.welcome a { 
	position: absolute;
	top: 0;
	right: 0;
	padding-right: 0;
}
.header.panel > .header.links > li.welcome + li.authorization-link a[href*=logout] {
	font-size: 12px;
	line-height: 26px;
}
.header.panel > .header.links > li.welcome + li.authorization-link a[href*=logout]:before {
	display: none;
}

@media(max-width: 768px) {
	.page-header.logged .panel.header .links.custom {
		display: none;
	}
	
	.page-header {
	    border-bottom: 1px solid #cccccc;
	    margin-bottom: 20px;
	    position: sticky;
	    top: 0;
	    z-index: 999;
	    background: #fff;
	}
}
@media(min-width: 768px) {
	.header.panel ul.header.links {
	    border-right: 2px solid;
		border-left: 2px solid;
	}
	.page-header.logged .header.panel > .header.links > li.welcome a { 
		border-right: 2px solid;
		position: initial;
		padding-right: 15px;
	}
}



.panel.header .links.custom {
	order:2;
    /*border-right: 2px solid;*/
    padding-right: 15px;	
}
.panel.header .links.custom img {
	display: block;
}



/* link mayorista */
.panel.header .link-mayoristas {
	display: flex;
	flex-wrap: wrap;
    width: auto;
    align-items: center;
    background: transparent;
    padding: 0 10px;
	column-gap: 15px;
	order:1;
	margin-right: auto;
}
.panel.header .link-mayoristas div {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 5px;
}
.panel.header .link-mayoristas a {
	color: #000;
    font-weight: 400;
    font-size: 16px;
}
.panel.header .link-mayoristas .linea-vertical {
	border-left: 2px solid #ccc; 
	height: 20px;
}


@media(max-width: 768px) {
	.panel.header .link-mayoristas {	
		column-gap: 5px;
		font-size: 9px;
		line-height: 1;
		letter-spacing: 0.5px;
	}
	.panel.header .link-mayoristas .linea-vertical {
		/*display: none;*/
		height: 10px;
	}
}



/* minicart */
.minicart-wrapper {
	order:5;
	width: 24px;
    height: 24px;	
}
.minicart-wrapper a.action.showcart:before {
    background: url(../images/ic-header-carrito.png) no-repeat;
    background-size: contain;
    content: '' !important;
    height: 25px;
    width: 20px
}
.minicart-wrapper .action.showcart .counter.qty {
    background: transparent;
    color: #000;
    font-size: 13px;
    font-weight: bold;
	transform: translate(-23px, -1px);
}
.minicart-wrapper .action.showcart .counter-number {
	text-shadow: none;
}

@media(max-width: 768px) {
	.minicart-wrapper {
		margin-top:0;
	}
}



/* buscador */
.header-panel-buscador {
	background: #EEEEEE; 
	position: relative
}
.header-panel-buscador .contenedor {
    display: flex;
    justify-content: space-between;
	align-items: center;
    margin: auto;
    max-width: 1520px;
    padding: 5px 20px;
	min-height: 44px;
}
.header-panel-buscador div.top-bar-segundo {
	text-align: center;
	flex:2;
}


@media (max-width: 360px) {		
	.block.block-search .block.block-content .form.minisearch .field.search label.label:before {
		font-size: 26px;
	    line-height: 26px;
	    margin-right: 0;
	}  
}
@media (max-width: 768px) {
	.block-search .label {
	    position: absolute;
	    top: 65px;
	    right: 10px;
	    z-index: 1;
	}
	.block-search .control {
	    border-top: 0;
	    margin: 0;
	    width: 100%;
	    position: absolute;
	    bottom: -125px;
	    right: 0;
	    z-index: 999;
		background: #fff;
	}
	.block-search input {
		font-size: 14px;
	    position: absolute;
	    border: 2px solid #333;
	    border-radius: 5px;
	    height: 40px;
	}	
	.block.block-search .block.block-content .form.minisearch .field.search label.label:before {
		color: #000;
	}
}


/* navegacion  menu */
.nav-sections-item-content>.navigation {
    max-width: 1280px;
	background: transparent;
}
.nav-sections .section-item-content.nav-sections-item-content {
	border:0;
}
.navigation a, .navigation a:hover {
	color: #000;
}
.navigation .level0>.level-top {
	color: #000;
	font-weight: bold;
}
div.nav-sections .section-item-content.nav-sections-item-content>li {
	list-style: none;
    font-size: 1.6rem;
}
div.nav-sections .section-item-content.nav-sections-item-content>li a.link-contacto {
    margin: 0;
    transition: all .5s ease;
    font-weight: bold;
    color: #000;
    padding: 8px 40px 8px 15px;
    text-transform: uppercase;
    word-wrap: break-word;
    display: block;
    text-decoration: none;
}

@media(min-width: 768px) {
	div.nav-sections .section-item-content.nav-sections-item-content>li a.link-contacto {
		display: none;
	}
}

.checkout-payment-method .payment-method._active .payment-method-content {
    position: relative;
    margin-bottom: 30px;
}
.checkout-agreements-block {
    position: absolute;
    bottom: -40px;
}
.checkout-agreements-block button.action.action-show {
	line-height: 1;
}


/* footer */
.page-wrapper .copyright {
    height: 130px;
    background-color: #fff;
}	
.page-wrapper .copyright span {
      color: #646464;
      font-size: 14px;
      font-weight: 400;
      line-height: 18px;
    }
}


