.exploded-view-container {
	margin-top:2rem;
}

/* ============================================================
   Linked Product Banner
   ============================================================ */

.linked-product-banner {
	border-radius: 8px;
	overflow: hidden;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border: 1px solid #dee2e6;
}

.linked-product-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: inherit;
	padding: 15px 20px;
	transition: all 0.2s ease;
}

.linked-product-link:hover {
	background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
	text-decoration: none;
	color: inherit;
}

.linked-product-image {
	flex-shrink: 0;
	width: 100px;
	height: 100px;
	margin-right: 20px;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.linked-product-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.linked-product-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.linked-product-label {
	font-size: 0.8rem;
	color: #6c757d;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.linked-product-name {
	font-size: 1.2rem;
	font-weight: 600;
	color: #232323;
}

.linked-product-cta {
	font-size: 0.9rem;
	color: #ed6822;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 5px;
}

.linked-product-cta i,
.linked-product-cta svg {
	transition: transform 0.2s ease;
}

.linked-product-link:hover .linked-product-cta i,
.linked-product-link:hover .linked-product-cta svg {
	transform: translateX(3px);
}

@media (max-width: 576px) {
	.linked-product-link {
		flex-direction: column;
		text-align: center;
		padding: 20px;
	}
	
	.linked-product-image {
		margin-right: 0;
		margin-bottom: 15px;
		width: 120px;
		height: 120px;
	}
	
	.linked-product-info {
		align-items: center;
	}
}

/* ============================================================
   Exploded View Description
   ============================================================ */

.exploded-view-description {
	font-size: 1rem;
	color: #495057;
}

.exploded-view-description p:last-child {
	margin-bottom: 0;
}

/* ============================================================
   Exploded View Image
   ============================================================ */

.exploded-view-image {
	border-radius: 0.5rem 0.5rem 0 0;
	border: 1px solid #dee2e6;
	overflow: hidden;
	margin-bottom: 0;
	text-align: center;
}

.exploded-view-image img {
	max-width: 100%;
	height: auto;
	max-height: 600px;
}

.exploded-view-products h2 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 20px;
	color: #232323;
	position: relative;
}

.exploded-view-products h2::after {
	background-color: #ed6822;
	border-radius: .125rem;
	content: "";
	display: block;
	height: .25rem;
	margin-top: .5rem;
	width: 4rem;
	left: 0;
}

.exploded-view-table {
	background: #fff;
	overflow: hidden;
	width: 100%;
}

.exploded-view-table thead {
	background: #f8f9fa;
}

.exploded-view-table thead th {
	font-weight: 600;
	text-transform: uppercase;
	color: #6c757d;
}

.exploded-view-table tbody td {
	vertical-align: middle;
}

.exploded-view-table tbody tr:hover {
	background-color: #f8f9fa;
}

/* Table filters row */
.table-filters {
	background-color: #f1f3f5 !important;
}

.table-filters td {
	padding: 0.5rem !important;
	vertical-align: middle;
}

.table-filters .filter-input {
	font-size: 0.85rem;
	border: 1px solid #ced4da;
	border-radius: 4px;
	padding: 0.35rem 0.65rem;
}

.table-filters .filter-input:focus {
	border-color: #80bdff;
	box-shadow: 0 0 0 0.15rem rgba(0, 123, 255, 0.15);
	outline: none;
}

.table-filters .filter-input::placeholder {
	color: #adb5bd;
	font-style: italic;
}

#filter-stock {
	font-size: 0.85rem;
	padding: 0.35rem 0.65rem;
	border: 1px solid #ced4da;
	border-radius: 4px;
	min-width: 120px;
}

#filter-stock:focus {
	border-color: #80bdff;
	box-shadow: 0 0 0 0.15rem rgba(0, 123, 255, 0.15);
	outline: none;
}

#clear-filters {
	padding: 0.35rem 0.5rem;
	opacity: 0.5;
	transition: opacity 0.2s;
}

#clear-filters:hover {
	opacity: 1 !important;
}

.no-filter-results td {
	background-color: #fff3cd !important;
}

/* Product column */
.product-info {
	display: flex;
	align-items: center;
}

.product-info .product-link,
.product-info .product-no-link {
	display: flex;
	align-items: center;
	gap: 15px;
}

.product-info .product-link {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s ease-in-out;
}

.product-info .product-link:hover {
	opacity: 0.8;
}

.product-thumb {
	width: 70px;
	height: 70px;
	object-fit: contain;
	background: #f8f9fa;
	border-radius: 4px;
	flex-shrink: 0;
	font-size: 0.75rem;
}

.product-thumb-placeholder {
	width: 70px;
	height: 70px;
	background: #e9ecef;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #adb5bd;
	flex-shrink: 0;
}

.product-thumb-placeholder i {
	font-size: 1.5rem;
}

.product-details {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.product-name {
	font-weight: 600;
	font-size: 0.95rem;
	color: #232323;
	line-height: 1.3;
}

.product-reference {
	font-size: 0.85rem;
	color: #6c757d;
}

/* Stock column */
.col-stock .badge {
	font-size: 0.8rem;
	font-weight: 500;
	padding: 0.4rem 0.75rem;
}

.stock-dot {
	width: 8px;
	height: 8px;
	display: inline-block;
	border-radius: 50%;
}

.stock-dot-success {
	background-color: #28a745;
}

.stock-dot-warning {
	background-color: #ff9800;
}

.stock-dot-danger {
	background-color: #e30022;
}

.stock-unavailable {
	color: #adb5bd;
	font-style: italic;
}

/* Price column */
.price-container {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.price-tax-incl {
	font-weight: 700;
	font-size: 1.1rem;
	color: #232323;
}

.price-tax-excl {
	font-size: 0.85rem;
	color: #6c757d;
}

.price-unavailable {
	color: #adb5bd;
	font-size: 1rem;
}

/* Action column */
.col-action {
	width: 200px;
}

.add-to-cart-form {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.qty-add-container {
	display: flex;
	align-items: center;
	gap: 10px;
}

.qty-selector {
	display: flex;
	align-items: center;
	border: 1px solid #ced4da;
	border-radius: 4px;
	overflow: hidden;
}

.btn-qty {
	width: 32px;
	height: 36px;
	background: #f8f9fa;
	border: none;
	font-size: 1.1rem;
	font-weight: 600;
	color: #495057;
	cursor: pointer;
	transition: background-color 0.2s ease-in-out;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-qty:hover {
	background: #e9ecef;
}

.btn-qty:active {
	background: #dee2e6;
}

.qty-input {
	width: 50px;
	height: 36px;
	border: none;
	border-left: 1px solid #ced4da;
	border-right: 1px solid #ced4da;
	text-align: center;
	font-size: 0.95rem;
	font-weight: 500;
	-moz-appearance: textfield;
	-webkit-appearance: none;
	appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.qty-input:focus {
	outline: none;
	background: #fff;
}

.btn-add-to-cart {
	background-color: #01294d;
	color: #fff;
	border: none;
	padding: 8px 14px;
	border-radius: 50rem;
	font-weight: 600;
	font-size: 0.85rem;
	cursor: pointer;
	transition: background-color 0.2s ease-in-out;
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.btn-add-to-cart:hover {
	background-color: #ed6822;
}

.btn-add-to-cart:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

/* Spinner for loading state */
.spinner-border-sm {
	width: 1rem;
	height: 1rem;
	border-width: 0.15em;
}

.not-available {
	color: #dc3545;
	font-weight: 500;
	font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {
	.qty-add-container {
		flex-direction: column;
		align-items: stretch;
	}
	
	.btn-add-to-cart {
		justify-content: center;
	}
}

@media (max-width: 768px) {
	.exploded-view-table thead {
		display: none;
	}
	
	.exploded-view-table tbody td {
		display: block;
		text-align: left !important;
		width: 100% !important;
	}
	
	.exploded-view-table tbody td:before {
		content: attr(data-label);
		font-weight: 600;
		color: #6c757d;
		display: block;
		margin-bottom: 5px;
		font-size: 0.8rem;
		text-transform: uppercase;
	}
	
	.col-price .price-container {
		align-items: flex-start;
	}
	
	.qty-add-container {
		flex-direction: row;
	}
}

/* ============================================================
   Carousel Styles
   ============================================================ */

.carousel-zoom-wrapper {
	position: relative;
	margin-bottom: 30px;
}

.exploded-view-carousel {
	border-radius: 0.5rem 0.5rem 0 0;
	border: 1px solid #dee2e6;
	overflow: hidden;
}

.exploded-view-carousel .carousel-item img {
	width: 100%;
	height: auto;
	max-height: 600px;
	object-fit: contain;
	background-color: #f8f9fa;
}

.exploded-view-carousel .carousel-indicators {
	bottom: 10px;
}

.exploded-view-carousel .carousel-indicators button {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	margin: 0 5px;
	background-color: rgba(255, 255, 255, 0.7);
	border: 2px solid transparent;
	transition: background-color 0.2s ease;
}

.exploded-view-carousel .carousel-indicators button.active {
	background-color: #ed6822;
}

.carousel-control-prev, .carousel-control-next {
	border: 1px solid #dee2e6;
	opacity: 1;
	transition: border-color 0.2s ease;
}

:is(.carousel-control-prev, .carousel-control-next):hover {
	border-color: #01294d;
}

/* ============================================================
   Zoom Container & Controls
   ============================================================ */

.zoom-container {
	position: relative;
	overflow: hidden;
	cursor: zoom-in;
	background-color: #f8f9fa;
}

.zoom-container.zoomed {
	cursor: grab;
}

.zoom-container.zoomed.dragging {
	cursor: grabbing;
}

.zoomable-image {
	transition: transform 0.3s ease;
	transform-origin: center center;
}

.zoom-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px;
	background: #f8f9fa;
	border-radius: 0 0 0.5rem 0.5rem;
	border: 1px solid #dee2e6;
	border-top: none;
}

.btn-zoom {
	width: 40px;
	height: 40px;
	border: 1px solid #dee2e6;
	background: #fff;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	color: #495057;
}

.btn-zoom:hover {
	background: #e9ecef;
	border-color: #adb5bd;
}

.btn-zoom:active {
	background: #dee2e6;
	transform: scale(0.95);
}

.btn-zoom:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.zoom-level {
	min-width: 50px;
	text-align: center;
	font-weight: 600;
	font-size: 0.9rem;
	color: #495057;
}

.zoom-hint {
	font-size: 0.8rem;
	color: #6c757d;
	font-style: italic;
	margin-right: 10px;
}

/* ============================================================
   Zoom Modal (Fullscreen)
   ============================================================ */

.zoom-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	z-index: 99999999999;
	overflow: hidden;
}

.zoom-modal.active {
	display: flex;
	flex-direction: column;
}

.zoom-modal-content {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.zoom-modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 50px;
	height: 50px;
	border: none;
	background: #01294d;
	color: #fff;
	font-size: 2rem;
	border-radius: 50%;
	cursor: pointer;
	z-index: 10;
	transition: all 0.2s ease;
}

.zoom-modal-close:hover {
	background: rgba(255, 255, 255, 0.2);
}

/* Modal navigation buttons */
.zoom-modal-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 60px;
	height: 60px;
	border: none;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border-radius: 50%;
	cursor: pointer;
	z-index: 10;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.zoom-modal-nav:hover {
	background: rgba(255, 255, 255, 0.25);
}

.zoom-modal-prev {
	left: 20px;
}

.zoom-modal-next {
	right: 20px;
}

.zoom-modal-counter {
	font-size: 0.9rem;
	color: #fff;
	margin-right: 15px;
	font-weight: 500;
}

.zoom-modal-controls {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem;
	background: #01294d;
	border-radius: 0.5rem;
	z-index: 10;
}

.zoom-modal-controls .btn-zoom {
	width: 44px;
	height: 44px;
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: #fff;
}

.zoom-modal-controls .btn-zoom:hover {
	background: rgba(255, 255, 255, 0.3);
}

.zoom-modal-level {
	min-width: 60px;
	text-align: center;
	font-weight: 600;
	font-size: 1rem;
	color: #fff;
}

.zoom-modal-image-wrapper {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: auto;
	padding: 20px;
	cursor: grab;
}

.zoom-modal-image-wrapper.dragging {
	cursor: grabbing;
}

.zoom-modal-image {
	max-width: none;
	max-height: none;
	transition: transform 0.2s ease;
	user-select: none;
	-webkit-user-drag: none;
}

@media (max-width: 768px) {
	.zoom-modal-nav {
		width: 44px;
		height: 44px;
	}
	
	.zoom-modal-prev {
		left: 10px;
	}
	
	.zoom-modal-next {
		right: 10px;
	}
	
	.zoom-modal-nav svg {
		width: 24px;
		height: 24px;
	}
}

/* ============================================================
   PDF Download Button
   ============================================================ */
.exploded-view-pdf-download .btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	font-weight: 600;
	background-color: #dc3545;
	border-color: #dc3545;
	color: #fff;
	border-radius: 6px;
	transition: all 0.2s ease;
}

.exploded-view-pdf-download .btn:hover {
	background-color: #c82333;
	border-color: #bd2130;
}

.exploded-view-pdf-download .btn svg {
	flex-shrink: 0;
}

/* Linked product caption */
.exploded-view-image figcaption {
	text-align: center;
	margin-top: 15px;
	padding: 10px;
	background-color: #f8f9fa;
	border-radius: 0 0 8px 8px;
}

.exploded-view-image figcaption .btn-link {
	color: #ed6822;
	font-weight: 500;
	text-decoration: none;
}

.exploded-view-image figcaption .btn-link:hover {
	text-decoration: underline;
}

/* ============================================================
   Responsive adjustments for carousel
   ============================================================ */

@media (max-width: 768px) {
	.exploded-view-carousel .carousel-item img {
		max-height: 400px;
	}
	
	.exploded-view-carousel .carousel-control-prev,
	.exploded-view-carousel .carousel-control-next {
		width: 40px;
	}
	
	.exploded-view-pdf-download {
		margin-top: 20px;
		padding: 15px;
	}
	
	.exploded-view-pdf-download .btn {
		padding: 10px 20px;
		font-size: 0.9rem;
	}
}

/* ============================================================
   Exploded View Listing Page
   ============================================================ */

.exploded-view-listing {
	padding: 20px 0;
}

/* Header */
.listing-header {
	background: #f8f9fa;
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 30px;
	border: 1px solid #dee2e6;
}

.listing-header .search-form .input-group {
	max-width: 100%;
}

.listing-header .search-form .form-control {
	border-radius: 6px 0 0 6px;
}

.listing-header .search-form .btn {
	border-radius: 0 6px 6px 0;
	background-color: #ed6822;
	border-color: #ed6822;
}

.listing-header .search-form .btn:hover {
	background-color: #d55a15;
	border-color: #d55a15;
}

.results-count {
	color: #6c757d;
	font-size: 0.95rem;
}

.sort-controls {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: flex-end;
}

.sort-controls label {
	margin: 0;
	white-space: nowrap;
	font-weight: 500;
	color: #495057;
}

.sort-controls .form-select {
	width: auto;
	min-width: 160px;
}

/* Sidebar */
.listing-sidebar {
	position: sticky;
	top: 20px;
}

.filter-block {
	background: #fff;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
}

.filter-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid #ed6822;
	color: #232323;
}

.category-filter-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.category-filter-list li {
	margin-bottom: 8px;
}

.category-filter-list li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 12px;
	border-radius: 6px;
	text-decoration: none;
	color: #495057;
	transition: all 0.2s ease;
}

.category-filter-list li a:hover {
	background: #f8f9fa;
	color: #ed6822;
}

.category-filter-list li.active a {
	background: #ed6822;
	color: #fff;
}

.category-filter-list li .count {
	font-size: 0.85rem;
	opacity: 0.7;
}

/* Active Filters */
.active-filters {
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 8px;
	padding: 15px;
}

.active-filters h4 {
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 10px;
	color: #856404;
}

.filter-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	padding: 5px 10px;
	border-radius: 20px;
	font-size: 0.85rem;
	margin-right: 8px;
	margin-bottom: 8px;
	border: 1px solid #ffc107;
}

.filter-tag .remove-filter {
	color: #dc3545;
	font-weight: bold;
	text-decoration: none;
	font-size: 1.1rem;
	line-height: 1;
}

.filter-tag .remove-filter:hover {
	color: #a71d2a;
}

.filter-tag-manufacturer {
	border-color: #212529;
	background: #f8f9fa;
}

.clear-all-filters {
	display: block;
	margin-top: 10px;
	font-size: 0.85rem;
	color: #856404;
}

/* Grid */
.exploded-views-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
}

/* Cards */
.exploded-view-card {
	background: #fff;
	border: 1px solid #dee2e6;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	height: 100%;
}

.exploded-view-card:hover {
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	transform: translateY(-3px);
	border-color: #ed6822;
}

.exploded-view-card .card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.exploded-view-card .card-image {
	position: relative;
	height: 200px;
	background: #f8f9fa;
	overflow: hidden;
}

.exploded-view-card .card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.exploded-view-card:hover .card-image img {
	transform: scale(1.05);
}

.exploded-view-card .card-image .no-image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: #adb5bd;
}

.exploded-view-card .card-badges {
	position: absolute;
	top: 10px;
	left: 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	z-index: 5;
}

.exploded-view-card .card-badges li {
	display: block;
	background: rgba(237, 104, 34, 0.9);
	color: #fff;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	width: max-content;
}

.exploded-view-card .linked-product-banner {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 80px;
	height: 80px;
	border-radius: 0.5rem;
	border: 2px solid #ed6822;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.exploded-view-card .linked-product-banner img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.exploded-view-card .card-body {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.exploded-view-card .card-title {
	font-size: 1.1rem;
	font-weight: 600;
	/* margin-bottom: 10px; */
	color: #232323;
	line-height: 1.3;
}

.exploded-view-card .card-description {
	font-size: 0.9rem;
	color: #6c757d;
	margin-bottom: 15px;
	line-height: 1.5;
	flex: 1;
}

.exploded-view-card .card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-top: 15px;
	border-top: 1px solid #e9ecef;
}

.exploded-view-card .card-meta span {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 0.8rem;
	color: #6c757d;
}

.exploded-view-card .card-meta svg {
	opacity: 0.7;
}

/* Pagination */
.pagination-container {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid #e9ecef;
}

.pagination .page-link {
	color: #495057;
	border-color: #dee2e6;
	padding: 10px 16px;
}

.pagination .page-item.active .page-link {
	background-color: #ed6822;
	border-color: #ed6822;
}

.pagination .page-link:hover {
	background-color: #f8f9fa;
	border-color: #ed6822;
	color: #ed6822;
}

.pagination .page-item.disabled .page-link {
	background-color: #f8f9fa;
	color: #adb5bd;
}

/* No Results */
.no-results {
	text-align: center;
	padding: 60px 20px;
	background: #f8f9fa;
	border-radius: 12px;
	border: 1px solid #dee2e6;
}

.no-results-icon {
	color: #adb5bd;
	margin-bottom: 20px;
}

.no-results h3 {
	font-size: 1.3rem;
	font-weight: 600;
	color: #495057;
	margin-bottom: 10px;
}

.no-results p {
	color: #6c757d;
	margin-bottom: 20px;
}

.no-results .btn-primary {
	background-color: #ed6822;
	border-color: #ed6822;
}

.no-results .btn-primary:hover {
	background-color: #d55a15;
	border-color: #d55a15;
}

/* Responsive Listing */
@media (max-width: 1199px) {
	.exploded-views-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 991px) {
	.listing-sidebar {
		position: relative;
		top: 0;
		margin-bottom: 30px;
	}
	
	.sort-controls {
		justify-content: flex-start;
	}
}

@media (max-width: 767px) {
	.exploded-views-grid {
		grid-template-columns: 1fr;
	}
	
	.listing-header .row > div {
		margin-bottom: 15px;
	}
	
	.sort-controls {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.sort-controls .form-select {
		width: 100%;
	}
}

@media (max-width: 575px) {
	.exploded-view-card .card-image {
		height: 180px;
	}
	
	.filter-block {
		padding: 15px;
	}
}

/* ============================================================
   Related Products Section ("Voir aussi" - Cross-selling)
   ============================================================ */

.related-products-section {
	margin-top: 50px;
	padding-top: 40px;
	border-top: 2px solid #e9ecef;
}

.related-products-title {
	position: relative;
	margin-bottom: 1.5rem;
}

.related-products-title::after {
	background-color: #ed6822;
	border-radius: .125rem;
	content: "";
	display: block;
	height: .25rem;
	margin-top: .5rem;
	width: 4rem;
	left: 0;
}

.related-products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.related-product-card {
	background: #fff;
	border: 1px solid #dee2e6;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.related-product-card:hover {
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	transform: translateY(-3px);
	border-color: #ed6822;
}

.related-product-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.related-product-link:hover {
	color: inherit;
	text-decoration: none;
}

.related-product-image {
	position: relative;
	height: 180px;
	background: #f8f9fa;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.related-product-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
	padding: 10px;
}

.related-product-card:hover .related-product-image img {
	transform: scale(1.05);
}

.related-product-no-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #adb5bd;
	background: #f8f9fa;
}

.related-product-info {
	padding: 15px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.related-product-name {
	font-size: 0.95rem;
	font-weight: 600;
	color: #232323;
	line-height: 1.3;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.related-product-card:hover .related-product-name {
	color: #ed6822;
}

.related-product-reference {
	font-size: 0.8rem;
	color: #6c757d;
}

.related-product-price {
	font-size: 1.1rem;
	font-weight: 700;
	color: #232323;
	margin-top: 5px;
}

/* Responsive - Related Products */
@media (max-width: 1199px) {
	.related-products-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 991px) {
	.related-products-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.related-product-image {
		height: 160px;
	}
}

@media (max-width: 575px) {
	.related-products-section {
		margin-top: 30px;
		padding-top: 25px;
	}
	
	.related-products-title {
		font-size: 1.25rem;
	}
	
	.related-products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	
	.related-product-image {
		height: 140px;
	}
	
	.related-product-info {
		padding: 12px;
	}
	
	.related-product-name {
		font-size: 0.85rem;
	}
	
	.related-product-price {
		font-size: 1rem;
	}
}
