

@media only screen and (max-width: 768px){
	.catalog-product-view .product-items .product-item, .relacionados .product-box {
		width: calc((100% / 2) - 10px) !important;
		transition: .3s ease;
	}
	.minicart-items .product-item-details{
		width:100%;
	}
	#checkout .opc-sidebar .items-in-cart .minicart-items .product-item {
		display: block !important;
	}
	.checkout-index-index li.product-item{
		display: block !important;
	}
	.checkout-index-index .product-item-inner{
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
	}
	.checkout-index-index span.product-image-wrapper > img{
		margin: auto !important;
	}
	#checkout .opc-sidebar .items-in-cart .minicart-items .product-item .product .product-item-name{
		text-align: center;
		margin-top: 1rem;
	}
	#checkout .opc-sidebar .items-in-cart .minicart-items .product-item .product .details-qty{
		text-align: center;
	}
	#checkout .opc-sidebar .items-in-cart .minicart-items .product-item .product {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.checkout-index-index .custom-slide{
		left: 5% !important;
	}
	/* .minicart-wrapper{
		position: unset;
	} */
	
}
@media (max-width: 767px)
{
	.navigation .level0.category-item.level-top {
		margin: 0 10px 0 0;
		display: inline-block;
		position: unset;
		width: 100%;
		text-align: left;
	}
	.sections.nav-sections {
		position: fixed;
		top: 0;
		background: #e2e2e2;
	}	
	header.page-header .header.content .nav-toggle {
		position: inherit;
		width: 10%;
		order: 1;
		top: 0;
		left: 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}	
}
@media (min-width: 767px) and (max-width: 992px){
	.section-items.nav-sections-items .navigation .level0 > .level-top {
		color: #575757;
		line-height: 25px;
		padding: 0 12px;
		text-decoration: none;
		box-sizing: border-box;
		position: relative;
		display: inline-block;
	}	
	.sections.nav-sections { 
        z-index: 1 !important;
    } 
	.section-items.nav-sections-items{
		z-index: 1 !important;
	}
}
@media (min-width:992px) and (max-width:1024px){
	
	.minicart-wrapper .block-minicart {
		right: 5px !important;
	}	
	.product-list .product-box {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding: 10px;
		margin: 5px;
		background: #fff;
		width: calc((100%/3) - 20px );
	}
	.relacionados .product-list.grid, .listado-categorias .categorias-items, .product-list.list {
		display: flex;
		flex-wrap: wrap;
	}
	/* .section-items.nav-sections-items .navigation .level0 > .level-top {
		color: #575757;
		line-height: 25px;
		padding: 0 12px;
		text-decoration: none;
		box-sizing: border-box;
		position: relative;
		display: inline-block;
	}	 */
} 
@media (max-width:991px){ 
	.catalog-product-view .ficha-product{
		width: 100%;
	}
	.catalog-product-view .product-items .product-item, .relacionados .product-box {
    width: calc((100% / 3) - 10px) !important;
    transition: .3s ease;
}
    .sections.nav-sections { 
        z-index: 2;
    } 
	.catalogos-categoria span.categoryname.product-category-name {
		font-size: 14px;
		font-weight: 700;
		color: #ff3300;
		text-decoration: underline;
		margin-bottom: 10px;
		display: block;
	}	
	.catalogos-categoria .container-category {
		width: 30%;
	}	
	.catalogos-categoria .container-downloads {
		width: 70%;
		padding: 5px;
	}	
	.cms-catalogos .listado-categorias {
		background: white;
		padding: 0;
	}
	.catalogos-categoria span.img-container img {
		max-width: 100px;
		width: 100%;
	}
	.catalogo i.fas.fa-file-download {
		font-size: 18px;
		color: #ff3300;
	}	
	.container-downloads {
		margin-left: 0;
	}	
	header.page-header {
		z-index: 2;
	}	
	.panel.header {
		flex-direction: column;
	}
	.panel.wrapper {
		display: none;
	}	
	
	header.page-header .header.content {
		padding: 10px;
		display: flex;
		flex-wrap: wrap;
	}
	.buscador.link {
		width: 100%;
		margin: 10px 0 0 0;
		order: 4;
	}	
	.header-actions-wrapper {
		display: flex;
		align-items: center;
		justify-content: space-between;
		order: 3;
		width: 50%;
	}
	.header.content .logo {
		width: 30%;
		order: 2;
		z-index: auto;
		margin: 0 5%;
		display: flex;
		align-items: center;
	}
	.navigation > ul {
		padding: 0;
		list-style: none;
		display: flex;
		justify-content: center;
		align-items: flex-start;
		outline: none;
		flex-direction: column;
	}	
	/* .navigation .level0.category-item.level-top {
		margin: 0 10px 0 0;
		display: inline-block;
		position: unset;
		width: 100%;
		text-align: left;
	}	 */
	.resp {
		display: block;
		width: 30px;
	}	
	.label-text ,
	.text > .label-text {
		display: none;
	}	
	.resp i.fas.fa-sign-out-alt,
	.resp i.far.fa-user {
		color: black;
		font-size: 28px;
	}	
	.minicart-wrapper, .cuenta {
		width: calc(100%/3);
		text-align: center;
		display: flex;
		justify-content: center;
		align-items: center;
		margin: 0;
	}
	header.page-header .header.content .minicart-wrapper .action.showcart:before {
		width: 32px;
	}	
	.catalog-category-view .product-list.list,	.relacionados .product-list.grid, .listado-categorias .categorias-items, .product-list.list {
		display: grid;
		grid-template-columns: repeat(auto-fill, calc((100%/2) - 5px));
		grid-gap: 10px;
	}		
	.product-image-photo {
		display: block;
		height: auto;
		max-width: 100%;
		position: initial;
		width: 100%;
		height: auto;
	}
	.product-image-wrapper {
		width: 100%;
		height: auto;
		padding-bottom: 0 !important;
	}	
	.product-image-container {
		display: inline-block;
		max-width: 100%;
		width: 100% !important;
		min-width: initial;
	}	
	.product-box .addcart {
		flex-direction: column;
	}
	.catalogsearch-result-index .product-box .addcart .qty, .cms-index-index .product-box .addcart .qty, .catalog-category-view .product-box .addcart .qty {
		width: 100%;
	}	
	.product-box .addcart .btn-principal {
		padding: 0;
		width: 100%;
		max-width: 120px;
		border-radius: 20px;
	}		
	.catalog-product-view.page-layout-1column .columns .column.main {
		flex-direction: column;
	}	
	.catalog-product-view.page-layout-1column .product.media {
		width: 100%;
	}		
	.ficha-product {
		margin-top: 15px;
		width: 100%;
	}		
	.product-box .addcart .qty {
		display: flex;
		border: 1px solid #dcdcdc;
		align-items: center;
		background: #fff;
		width: calc((100%/2) - 5px );
		max-width: 120px;
	}	
	.catalog-product-view .product-box .addcart {
		max-width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
	}
	.catalog-product-view .product-box .addcart .btn-principal {
		padding: 0;
		width: calc((100%/2) - 5px );
		max-width: initial;
		margin-left: 0;
	}	
	.ficha-product .product-box .addcart .qty .minus, .ficha-product .product-box .addcart .qty .plus {
		width: calc(100%/3);
		font-size: 30px;
	}		
	.footer.ferpasa .enlaces-footer {
		flex-direction: column;
	}	
	.footer.ferpasa .enlaces-footer a {
		margin: 0;
		font-size: 16px;
		width: 100%;
		text-align: center;
		line-height: 2;
	}	
	/* .sections.nav-sections {
		position: fixed;
		top: 0;
		background: #e2e2e2;
	} */	
	.navigation > ul .level0 a {
		color: #000;
	}	
	.navigation > ul .level0 .submenu a span {
		padding: 0;
	}	
	.navigation > ul .level0 a {
		font-size: 14px;
		line-height: 1.4;
	}	
	.navigation > ul .level1 a > span {
		color: #676767;
	}	
	.page-wrapper .navigation .level0 .submenu {
		min-width: initial;
	}		
	.header-envios .right {
		flex-direction: column;
	}	
	.barseparator {
		display: none;
	}	
	span.idiomas {
		display: none;
	}	
	.banderas {
		display: flex;
		justify-content: center;
		margin-top: 15px;
	}	
	.header-envios {
		color: black;
	}	
	.header-envios .right a {
		color: #000;
		font-weight: bold;
	}	
	/* ul.header.links {
		display: block !important;
	}	 */
	.breadcrumbs li a, .breadcrumbs li strong {
		font-size: 12px;
		font-weight: initial;
		text-transform: inherit;
		color: #060;
	}	
	.breadcrumbs ul {
		display: block;
	}	
	.breadcrumbs li a:after {
		display: none;
	}	
	.max-width, #maincontent, .breadcrumbs {
		max-width: 1600px;
		margin: 0;
		padding: 0 15px;
	}	
	.product.info.detailed .item.title {
		order: -1;
		margin-bottom: -1px;
	}
	.block-minicart .items-total {
		float: left;
		margin: 0 10px;
		width: 100%;
		text-align: left;
	}	
	.block-minicart .subtotal {
		margin: 0 10px 0;
		text-align: left;
		width: 100%;
		display: flex;
		justify-content: space-between;
	}	
	.minicart-items .product-item-name {
		text-align: left;
	}	
	.minicart-items .product-item-name a {
		color: #000000;
		width: 100%;
		display: block;
		font-size: 12px;
	}	
	.block-minicart .price-container {
		text-align: right;
	}	
	.block-minicart .product-item-pricing {
		display: flex;
		flex-direction: row-reverse;
		align-items: center;
		justify-content: space-between;
	}	
	.minicart-wrapper .product .actions {
		width: 100%;
	}	
	a.action.viewcart {
		color: white;
		background: #ff3300;
		padding: 10px;
		border-radius: 5px;
	}	
	.cart-container {
		background: white;
	}	
	.cart-summary {
		background: #ffffff;
		margin-bottom: 25px;
		padding: 1px 15px 25px;
	}	
	.cart-container .form-cart .action.update, .cart-container .form-cart .action.continue, .cart-container .form-cart .action.clear {
		margin: auto;
		display: block;
		width: max-content;
	}	
	#checkout .opc-wrapper {
		width: 100%;
	}	
	.btn-principal, .modal-footer .action, #checkout .opc-wrapper #co-payment-form .payment-method .payment-method-content .actions-toolbar .checkout {
		display: inline-block;
		border: 0;
		margin: 0;
		line-height: 40px;
		padding: 0 10px;
		background: #f30;
		color: #fff;
		cursor: pointer;
		position: relative;
		z-index: 0;
		text-transform: uppercase;
		transition: all .3s;
	}	
	.page-layout-2columns-left .sidebar {
		flex: inherit;
		width: 100%;
		float: left;
		order: 1;
	}	
	.page-layout-2columns-left .column.main {
		flex: 100%;
		width: 100%;
		float: right;
		padding-left: 0;
		order: 2;
		display: flex;
		flex-direction: column;
	}	
	.block-dashboard-info .block-content, .block-dashboard-orders .block-content, .block-dashboard-addresses .block-content, .block-addresses-default .block-content, .block-addresses-list .block-content {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		flex-direction: column;
	}	
	.block-dashboard-info .block-content > *, .block-dashboard-addresses .block-content > *, .block-addresses-default .block-content > *, .block-addresses-list .block-content > * {
		flex: 100%;
		width: 100%;
		float: left;
	}	
	.block-dashboard-addresses .block-title .action, .block-dashboard-orders .block-title .action {
		float: inherit;
	}	
	form .title {
		text-align: left;
		font-size: 16px;
		text-transform: uppercase;
		margin-bottom: 15px;
	}	
	h1.page-title span {
		display: block;
		font-size: 15px;
		font-weight: bold;
	}
	
	#checkout .opc-sidebar {
		flex:0 0 50%;
		float:left;
		width: 92%;
		padding: 30px;
		margin: 0;
	}

	#checkout .opc-sidebar .items-in-cart .minicart-items .product-item {
		/* display: flex; */
		align-items: center;
		padding: 20px;
		background: #fff;
		margin-bottom: 15px;
	}
	

}

@media (max-width:568px){
	
    .block-minicart.ui-dialog-content.ui-widget-content{
        width: 400px;
		box-shadow:0 0 0 220px #0000008f;
    }
}
@media (max-width: 420px) { 
	.ficha-product .product-image-photo {
		margin: 0 auto !important; 
	}
	.catalog-product-view .product-items .product-item, .relacionados .product-box {
		width: 100% !important; 
	}
    .block-minicart.ui-dialog-content.ui-widget-content{
        width: 347px; 
    }
    .mgz__data-grid th.data-grid-th._sortable._descend.col-gposition {
        max-width: 24px;
        width: 24px;
    } 
    .mgz__data-grid th.data-grid-th._sortable._descend.col-gposition span {
        display: none;
    }
    .mgz__data-grid span{
        font-size: 13px;
    }
    .mcafiles-index-index #customer-attachments th {
        font-weight: 500;
        text-align: center;
        padding: 4px 0px;
    }
    .mcafiles-index-index #customer-attachments .col-gdate {
        width: 75px;
    }
    .mgz__data-grid th.data-grid-th._sortable._ascend.col-gposition {
        max-width: 68px;
        width: 68px;
    }
}


@media (max-width: 366px) { 
	
	.block-minicart.ui-dialog-content.ui-widget-content{
        width: 310px; 
    }
	.minicart-items .product-item-pricing .label {
		font-size: 11px !important;
	}
}