.brand-image {
	width: 150px;
	height: auto;
	max-height: 100px;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

.module-item-banner-right {
	position: relative;
	float: right;
	display: flex;
	max-height: 440px;
	margin-left: 10px;
	width: calc(100% / 5);
	z-index: 1;
	overflow: hidden;
}

.filter-search .search-wrapper input {
	height: 34px;
}

.recom-label {
	border-radius: 5px;
	padding: 3px 15px;
	color: #fff;
	font-weight: BOLD;
	font-size: 12px;
	display: flex;
	z-index: 1;
	background: #44328f;
}

.all-filters .filters-category .panel-body,
.module-filter .cat-top-view .panel-body {
	overflow-y: scroll;
	height: auto;
	max-height: 600px;
	margin-top: 10px;
}

.subcategory-image {
	width: auto;
	height: 160px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	margin: 0 auto;
}

.brands-title,
.products-block-title {
	font-size: 24px;
	font-weight: normal !important;
}

.category-page-content .article {
	margin-top: 60px;
	background: white;
	padding: 15px;
}

.category-page-content .brand-links {
	margin-top: 50px;
}

.newsletter-text h2 {
	font-size: 32px;
	font-weight: 600;
}

.expandable {
	position: relative;
	width: 100%;
	overflow: hidden;
	margin-bottom: -45px;
}

.content-expandable {
	height: 500px;
	overflow: hidden;
}

.expand-button {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 10px;
	color: #333333;
	font-weight: bold;
	text-align: center;
	font-size: 20px;
	cursor: pointer;
	background: #f5f5f5;
}

.blur-effect {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 90px;
	background: linear-gradient(to top,
			rgba(255, 255, 255, 1) 40%,
			rgba(255, 255, 255, 0) 100%);
	z-index: 0;
}

.subcategory-image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

/* Bundle container styling */
.bundle-container.buy-together {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 15px;
	margin-bottom: 20px;
	background: white;
}

.bundle-header h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
}

.bundle-products {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
}

.product-together {
	text-align: center;
	flex: 1;
	min-width: 120px;
}

.product-together .product-image img {
	max-width: 100px;
	max-height: 100px;
	margin: 0 auto;
}

.product-together_info {
	margin-top: 10px;
}

.bundle-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 15px;
	border-top: 1px dashed #ddd;
}

.price-summary {
	display: flex;
	flex-direction: column;
}

.original-total {
	text-decoration: line-through;
	color: #999;
	font-size: 14px;
}

.bundle-total {
	font-weight: bold;
	font-size: 16px;
	color: #333;
}

.bundle-discount {
	color: #e53935;
	font-size: 14px;
}


.brands-slider-section .brand-image {
	width: 100px;
	height: 200px;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

.brands-slider-section .brand-name {
	text-align: center;
	margin-top: 8px;
	min-height: 40px;
	line-height: 1.2;
}

.btn-remove-bundle {
	background-color: #f44336;
	color: white;
	border: none;
	padding: 8px 15px;
	border-radius: 4px;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.btn-remove-bundle:hover {
	background-color: #d32f2f;
}

/* Price info styling */
.price-info {
	margin-top: 5px;
}

.original-price {
	text-decoration: line-through;
	color: #999;
	font-size: 13px;
}

.discount {
	color: #e53935;
	font-weight: bold;
	font-size: 13px;
	margin-left: 5px;
}

.brands-slider-section {
	margin-bottom: 40px;
}


.brand-slide {
	padding: 10px;
}

.brand-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 12px 10px;
	background-color: #fff;
	border-radius: 8px;
	transition: box-shadow 0.2s ease-in-out;
	text-decoration: none;
	color: #000;
}


.brand-name {
	margin-top: 10px;
	font-weight: bold;
	font-size: 14px;
	text-transform: uppercase;
	color: #000;
}

.brand-image {
	max-height: 100px;
	object-fit: contain;
	margin: 0 auto;
}

.swiper-slide {
	width: auto;
}

.categories-section {
	margin-top: 16px;
}

/* ===== BREADCRUMB CONTAINER STYLES ===== */
.breadcrumb-const .breadcrumb {
	display: flex;
	/* Flex layout for horizontal alignment */
}

/* ===== BREADCRUMB ITEM STYLES ===== */
.breadcrumb-const .breadcrumb li {
	display: flex;
	align-items: center;
	/* Vertical center alignment */
	position: relative;
	/* For absolute positioning of dropdowns */
}

/* ===== LINK STYLES ===== */
.breadcrumb-const .breadcrumb li a {
	cursor: pointer;
	color: #333;
	/* Default text color */
}

/* ===== BREADCRUMB ITEM CONTAINER ===== */
.breadcrumb-const .breadcrumb-item {
	position: relative;
	display: inline-block;
	padding-left: 7px;
}

/* ===== DROPDOWN MENU STYLES ===== */
.breadcrumb-const .breadcrumb-dropdown {
	position: absolute;
	top: 100%;
	/* Position below parent */
	left: 0;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 3px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	z-index: 100;
	/* Ensure dropdown appears above other content */
	display: none;
	/* Hidden by default */
	min-width: 200px;
	max-height: 300px;
	overflow-y: auto;
	/* Scrollable if content is too long */
}

/* ===== DROPDOWN LIST STYLES ===== */
.breadcrumb-const .breadcrumb-dropdown ul {
	list-style: none;
	padding: 5px 0;
	margin: 0;
}

/* ===== DROPDOWN ITEM STYLES ===== */
.breadcrumb-const .breadcrumb-dropdown li {
	padding: 5px 15px;
	/* white-space: nowrap; */
	/* Prevent text wrapping */
}

/* ===== DROPDOWN LINK STYLES ===== */
.breadcrumb-const .breadcrumb-dropdown li a {
	display: block;
	color: #333;
}

/* ===== DROPDOWN LINK HOVER EFFECT ===== */
.breadcrumb-const .breadcrumb-dropdown li a:hover {
	color: #0066c0;
	/* Blue color on hover */
}

/* ===== SHOW DROPDOWN ON PARENT HOVER ===== */
.breadcrumb-const .has-children:hover .breadcrumb-dropdown {
	display: block;
}

/* ===== LAST ITEM STYLES (CURRENT PAGE) ===== */
.breadcrumb-const .breadcrumb>li:last-of-type a,
.breadcrumb-const .breadcrumb li:last-of-type a {
	pointer-events: all;
	text-decoration: none;
	color: #333 !important;
	/* Force dark color for current page */
}

/* ===== DROPDOWN ARROW STYLES ===== */
.dropdown-arrow {
	display: inline-block;
	margin-left: 5px;
	font-size: 10px;
	color: #666;
	transition: transform 0.3s ease;
	/* Smooth rotation animation */
}

/* ===== ROTATE ARROW ON HOVER ===== */
.has-children:hover .dropdown-arrow {
	transform: rotate(180deg);
}

/* ===== DROPDOWN APPEAR ANIMATION ===== */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
		/* Start slightly above */
	}

	to {
		opacity: 1;
		transform: translateY(0);
		/* End at normal position */
	}
}

/* ===== MOBILE RESPONSIVE STYLES ===== */
@media (max-width: 768px) {

	/* Reset arrow rotation for mobile */
	.dropdown-arrow {
		transform: rotate(0deg);
	}

	/* Rotate arrow when dropdown is active */
	.has-children.active .dropdown-arrow {
		transform: rotate(180deg);
	}
}

/* ===== DROPDOWN ITEM HOVER EFFECTS ===== */
.breadcrumb-dropdown li {
	transition: background 0.2s;
	/* Smooth background color change */
}

.breadcrumb-dropdown li:hover {
	background-color: #f5f5f5;
	/* Light gray background on hover */
}

/* ================================
   Guest-specific styles
   ================================ */

.is-guest .edit-button {
	margin-bottom: 20px;
}

/* .is-guest span.select2.select2-container.select2-container--default, */
.is-guest .edit-button {
	min-width: 100%;
	width: 100% !important;
	padding-left: 10px;
	padding-right: 10px;
}

/* .is-guest .select2-container--default .select2-selection--single {
	height: auto;
	padding-top: 10px;
	padding-bottom: 10px;
	line-height: normal;
} */

/* .is-guest .select2-container .select2-selection--single .select2-selection__rendered {
	display: block;
	padding-left: 8px;
	padding-right: 20px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: middle;
} */

/* ================================
   General admin panel styles
   ================================ */

.admin-ok .product-stats {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: #333;
	line-height: 1.5;
	width: 90%;
}

.admin-ok .product-stats .list-unstyled {
	padding: 0;
	margin: 0 0 20px 0;
	list-style: none;
}

.admin-ok .product-stats .product-attr::before,
.admin-ok .product-stats .admin-ul li::before {
	display: none;
}

.admin-ok .select2-selection__arrow {
	display: none;
}

#open_popover_lose_money {
	margin-bottom: 30px;
}

/* Styles for elements with red borders that are overridden */
.admin-ok .flexCol [style*="border: 1px solid red"],
.admin-ok .product-stats [style*="border: 1px solid red"],
.admin-ok .product-stock {
	border: 1px solid #e0e0e0 !important;
	border-radius: 5px;
	padding: 12px !important;
	margin: 15px 0 !important;
	background-color: #f9f9f9;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Row styles for product stats */
.admin-ok .product-stats .row {
	display: flex;
	padding: 8px 0;
	border-bottom: 1px dashed #e0e0e0;
}

.admin-ok .product-stats .row:last-child {
	border-bottom: none;
}

/* Column styles */
.admin-ok .product-stats .col-md-6 {
	flex: 1;
	padding: 0 10px;
}

.admin-ok .product-stats .col-md-6.bold {
	font-weight: 600;
	color: #2c3e50;
}

/* Section headings in product stats */
.admin-ok .product-stats .bold[style*="font-weight: 700"] {
	display: block;
	font-size: 18px;
	color: #2c3e50;
	text-align: center;
	margin: 10px 0;
	padding-bottom: 8px;
	border-bottom: 1px solid #eee;
}

/* Stock and product info styles */
.admin-ok .product-stock.in-stock {
	color: #28a745;
	font-weight: 500;
	padding: 5px 0;
}

.admin-ok .product-manufacturer,
.admin-ok .product-model,
.admin-ok .product-sku,
.admin-ok .product-mpn {
	padding: 3px 0;
}

/* Category select styles */
.admin-ok .product-stats select.form-control {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background-color: white;
	margin: 10px 0;
}

/* Active status styles */
.admin-ok .product-stats [style*="color: green"] {
	color: #28a745 !important;
	font-weight: 500;
	padding: 3px 8px;
	background-color: #e8f5e9;
	border-radius: 3px;
}

/* ================================
   Select2 improvements
   ================================ */

.select2-container {
	width: 100% !important;
	/* margin: 10px 0; */
}

.select2-selection {
	min-height: 38px !important;
	border-radius: 4px !important;
	border: 1px solid #ddd !important;
}

.sub-title-text-newsletter {
	font-size: 32px;
	font-weight: 600;
}

.search-result.view-more.tt-suggestion.tt-selectable a {
	padding-left: 10px;
	padding-bottom: 5px;
}

.home-page .promo-products .module-products-243 .nav-tabs {
	background: #FFD800 !important;
}


.together-products-modal .price-brand-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	/* центрира вертикално */
}

.together-products-modal .product-thumb a.btn.btn-cart {
	padding-left: 40px;
	padding-right: 25px;
}

.together-products-modal .price {
	/* махаме float и display flex, ако е зададен */
	float: none !important;
	display: block !important;
}

.together-products-modal .button-listing {
	float: none !important;
	display: block !important;
}

.together-products-modal .product-layout {
	padding: 20px;
}

.together-products-modal a.btn.btn-cart::after {
	visibility: hidden;
}

.together-products-modal .close {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 30px;
	color: #000;
	opacity: 0.6;
	z-index: 10;
}

.together-products-modal .close:hover {
	opacity: 1;
}

.together-products-modal .modal-content {
	position: relative;
}

.together-products-modal .close {
	z-index: 1051;
}

.together-products-modal .caption a {
	color: black !important;
	text-align: left;
}

.together-products-modal #category-tabs {
	margin-bottom: 20px;
}

.together-products-modal #category-tabs li.active {
	background: #FFD800;
}

.together-products-modal .nav-tabs>li>a {
	color: white !important;
}

.together-products-modal .nav-tabs>li>a {
	color: black;
}

.together-products-modal #category-tabs li {
	background: black;
	border-radius: 4px;
	margin-right: 15px;
}

.together-products-modal #category-tabs {
	margin-bottom: 20px;
}

.together-products-modal .product-thumb .name {
	margin-top: 10px;
}

.together-products-modal h4 {
	text-transform: normal;
}

.together-products-modal .modal-content .btn.popup-close {
	right: 2px;
	top: 5px;
}

.together-products-modal .modal-content {
	position: relative;
}
