/*
 * Override PNeus CSS
 *
 * @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
 * @copyright Aimeos (aimeos.org), 2014-2018
 */



 .browser {
	display: none !important;
}

 .basket-mini {
	 color: #FFF !important;
 }

 .catalog-list .main-catalog-legend .media-list {
	height: 0px;
 }

 .catalog-list-items .list .product {
	border-left: solid 1px #555;
	border-left-color: var(--ai-secondary, #555);
	border-bottom: none;
	text-align: left;
	width: 100%;
}

.catalog-list-items .list .media-list {
	float: none;
	display: table-cell;
	height: 10px;
	background-color: #FFF;
	width: 4%;
}

.catalog-list-items .list td {
	vertical-align: middle;
}

.catalog-list-items .list .product-brand {
	width: 5%;
	background-color: #FFF;
}

.catalog-list-items .list .product-brand img{
	max-height: 40px;
	max-width: 120px;
}

.catalog-list-items .list .media-list .image {
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	text-align: center;
	overflow: hidden;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	height: 0;
	padding-top: 100%;
	cursor: pointer;
}

.catalog-list-items .list .product-label {
	width: 20%;
}

.catalog-list-items .list .product-stock {
	width: 5%;
}

.catalog-list-items .list .product-icon {
	width: 5%;
}

/*
	Ci sono 8 .product-type in ogni riga
*/
.catalog-list-items .list .product-type {
	width: 5%;
}

.catalog-list-items .list .product-timeframe {
	width: 5%;
}

.catalog-list-items .list .product-price {
	width: 10%;
}

.catalog-list-items .list .product-code {
	width: 20%;
}

.newb2b_row {
    display: table;
    width: 100%; /*Optional*/
    table-layout: fixed; /*Optional*/
}
.newb2b_column {
    display: table-cell;
}

.catalog-list-items .list .text-list {
    display: table-cell;
	width: 60%;
	float: none;
}

.catalog-list-items .list .offer {
	display: table-cell;
	width: 240px;
	float: right;
}

.attribute-lists, .price-lists, .auto-list {
	padding: 10px;
	background-color: #FFF;
}

.catalog-list-items .addbasket .input-group {
	padding: 5px;
	margin: auto;
}

.addbasket{
	position: relative;
	bottom: 10px;
}

.filters-block {
	background-color: #363636;
	color: #FFF !important;
	padding: 20px;
}

.filters-block h2 {
	background-color: #FFF;
}

select.disabled {
	background-color: #e9ecef !important;
    opacity: 1;
    pointer-events: none;
}

.catalog-filter-search .input-group {
	border: 0;
}

.catalog-filter-search .input-group .btn-primary {
	width: auto;
	color: #FFF;
}

.auto-list{
	display: none;
	width: 100%;
	margin: auto;
	margin-bottom: 2em;
}

.auto-filter-tree > h2 {
	border-top: solid 1px transparent;
	border-bottom: solid 1px #555;
	border-bottom-color: var(--ai-secondary, #555);
	text-align: center;
	font-size: 100%;
	cursor: pointer;
	width: 100%;
	display: block;
	padding: 0.5em;
	margin: 0;
}

label {
	display: inline-block;
	margin-bottom: .5rem;
	margin-right: 15px;
}

.navbar {
	background-color: #e0e0e0;
	box-shadow: 1px 0 10px rgb(0 0 0 / 50%);
}

li.nav-item {
	border: 1px solid #000;
	margin: 2px;
	text-transform: uppercase;
	font-weight: bold;
}

li.nav-item.active {
	background-color: #363636;
}

li.nav-item.active .nav-link {
	color: #FFF;
}

li.nav-item.active .nav-link:hover {
	color: #FFF;
}

#master_search {
	flex-direction: column;
}

.catalog-filter-attribute.col, .catalog-filter-price.col, .catalog-filter-supplier.col, .catalog-filter-search.col, .catalog-filter-tree.col {
	padding-right: 15px;
	padding-left: 15px;
}

.catalog-filter-attribute {
	margin: 1em 0;
}

.catalog-filter-supplier .attr-list {
	overflow-y: scroll;
	max-height: 300px;
}

.catalog-filter-supplier label {
	margin-right: 0;
}

.catalog-filter-attribute .custom-control {
	color: #FFF;
}

.catalog-list-type {
    display: none;
}

.table td, .table th {
    padding: .1rem .15rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.btn-ricerca-auto {
	margin-top: 1em;
}

.supplier-lists .disabled {
    display: none !important;
}

.aimeos .account-review {
	display: none;
}

.account-history {
	margin: 0 auto;
	margin-top: 20px;
	}

@media (min-width: 1280px) {
	.col-md-1 {
		flex: 0 0 16%;
		max-width: 16%;
		background-color: #e0e0e0;
		box-shadow: 1px 0 10px rgb(0 0 0 / 50%);
		border-top: 25px;
		border-bottom: 25px;
		padding-top: 20px;
		padding-left: 25px;
		}

	.col-md-11 {
		flex: 0 0 84%;
		max-width: 84%;
		}

	.position-fixed {
		position: fixed!important;
		max-width: 200px;
		}

}

.position-fixed {
	position: fixed!important;
	max-width: 160px;
	}
.content {
    margin: 0 2%;
}


.catalog-list-head, .catalog-list-footer {
	text-align: center;
}
.lds-ring {
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
	background: url("https://cdnjs.cloudflare.com/ajax/libs/galleriffic/2.0.1/css/loader.gif") no-repeat;
	margin:auto;
  }

  .lds-ring div {
	box-sizing: border-box;
	display: block;
	position: absolute;
	width: 64px;
	height: 64px;
	margin: 8px;
	border: 8px solid #000;
	border-radius: 50%;
	animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	border-color: #000 transparent transparent transparent;
  }
  .lds-ring div:nth-child(1) {
	animation-delay: -0.45s;
  }
  .lds-ring div:nth-child(2) {
	animation-delay: -0.3s;
  }
  .lds-ring div:nth-child(3) {
	animation-delay: -0.15s;
  }
  @keyframes lds-ring {
	0% {
	  transform: rotate(0deg);
	}
	100% {
	  transform: rotate(360deg);
	}
  }
  
 .ui-autocomplete {
	 display: none !important;
 }

/* ========================================
   RESPONSIVE MOBILE MENU STYLES
   ======================================== */

/* Mobile Menu Toggle Button (Hamburger) */
.mobile-menu-toggle {
	position: fixed;
	top: 80px;
	left: 15px;
	z-index: 1100;
	background-color: #363636;
	border: none;
	border-radius: 5px;
	width: 45px;
	height: 45px;
	padding: 8px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
}

/* Nascondi hamburger su desktop */
@media (min-width: 1280px) {
	.mobile-menu-toggle {
		display: none !important;
	}
}

.mobile-menu-toggle span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: #fff;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1040;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
	opacity: 1;
	visibility: visible;
}

/* Nascondi overlay su desktop */
@media (min-width: 1280px) {
	.mobile-menu-overlay {
		display: none !important;
	}
}

/* Sidebar Wrapper - Mobile/Tablet (fino a 1280px) */
@media (max-width: 1279.98px) {
	.sidebar-wrapper {
		position: fixed;
		top: 0;
		left: -280px;
		width: 280px;
		height: 100vh;
		z-index: 1050;
		background-color: #e0e0e0;
		box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
		transition: left 0.3s ease;
		overflow-y: auto;
		padding: 70px 20px 20px 20px !important;
	}

	.sidebar-wrapper.active {
		left: 0;
	}

	.sidebar-wrapper .position-fixed {
		position: relative !important;
		max-width: 100%;
	}

	.sidebar-wrapper .menu {
		width: 100%;
	}

	/* Main content takes full width on mobile/tablet */
	.main-content-wrapper {
		flex: 0 0 100%;
		max-width: 100%;
		padding: 0 !important;
	}

	/* Prevent body scroll when menu is open */
	body.menu-open {
		overflow: hidden;
	}

	/* Adjust content margin on mobile/tablet */
	.content {
		margin: 0 15px;
		margin-left: 70px;
	}
}

/* Desktop - maintain original behavior (da 1280px in su) */
@media (min-width: 1280px) {
	.sidebar-wrapper {
		position: relative;
	}
}
