/* Marketplace page styles */

.mb-route-page {
	min-height: 60vh;
}

.filters-panel {
	position: sticky;
	top: 100px;
}

.products-page .pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	margin: 0 2px;
	border-radius: 50%;
	text-decoration: none;
	color: var(--text-dark, #1a1a2e);
}

.products-page .pagination .current {
	background: var(--primary, #0047ff);
	color: #fff;
}

.sell-page .form-label {
	font-size: 0.875rem;
}

.my-listings-page .table > :not(caption) > * > * {
	padding: 1rem;
}

.mb-auth-layout .site-content {
	padding: 0;
	height: 100%;
}

.mb-no-site-chrome .site-container {
	min-height: 100vh;
}

body.mb-auth-screen .mb-no-site-chrome .site-container {
	min-height: 0;
	height: 100%;
}

.payment-disclaimer {
	margin-top: 2rem;
}

.filter-accordion .accordion-body {
	padding-bottom: 0.5rem;
}

.products-page .product-card {
	min-width: 220px;
}

#mbProductsResultsWrap {
	min-height: 280px;
}

.mb-products-loader {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.75);
	border-radius: 1rem;
}

#mbProductsResults.mb-products-loading {
	opacity: 0.45;
	pointer-events: none;
}

.products-page .pagination .page-link {
	border-radius: 50%;
	min-width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Product detail page (Figma) */
.product-detail-page {
	background: #fff;
}

.product-detail-page .product-gallery-main {
	min-height: 380px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-detail-page .product-main-img {
	max-height: 420px;
	object-fit: contain;
}

.product-info-panel {
	background: #fff;
}

.product-price-current {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--text-dark, #1a1a2e);
}

.product-price-old {
	color: #dc3545;
	text-decoration: line-through;
	font-size: 1rem;
}

.badge-condition {
	background: #7c3aed;
	color: #fff;
}

.badge-unverified {
	background: #fee2e2;
	color: #dc2626;
	font-weight: 500;
}

.badge-save {
	background: var(--primary, #0047ff);
	color: #fff;
	font-weight: 600;
}

.product-sidebar-accordion .accordion-button,
.product-panel-accordion .accordion-button,
.product-spec-accordion .accordion-button,
.product-faq-accordion .accordion-button {
	background: transparent;
	box-shadow: none;
}

.product-sidebar-accordion .accordion-button:not(.collapsed),
.product-panel-accordion .accordion-button:not(.collapsed),
.product-spec-accordion .accordion-button:not(.collapsed),
.product-faq-accordion .accordion-button:not(.collapsed) {
	background: transparent;
	color: var(--text-dark, #1a1a2e);
}

.product-cta-btn {
	padding: 0.875rem 1.25rem;
	font-weight: 600;
}

.product-alert-warning {
	background: #fff8e6;
	color: #92400e;
}

.product-alert-danger {
	background: #fef2f2;
	color: #b91c1c;
}

.condition-cards-row {
	gap: 0.5rem;
}

.condition-card-item {
	border: 1px solid var(--border-color, #e5e7eb);
	border-radius: 12px;
	padding: 0.75rem 0.5rem;
	text-align: center;
	min-width: 90px;
	background: #fff;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.condition-card-item.is-active {
	border-color: #7c3aed;
	background: rgba(124, 58, 237, 0.08);
	color: #7c3aed;
}

.product-spec-table th {
	width: 50%;
}

.product-slide-card {
	position: relative;
	border-radius: 16px !important;
}

.product-slide-card .product-card-img img {
	max-height: 160px;
	object-fit: contain;
}

.product-slide-arrow {
	position: absolute;
	right: 12px;
	bottom: 12px;
	width: 36px;
	height: 36px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px !important;
}

.mb-slide-card-col {
	min-width: 220px;
	max-width: 260px;
}

.mb-wishlist-btn.active i {
	color: #dc3545;
}

.mb-wishlist-btn.active i::before {
	content: "\f415";
}

.mb-wishlist-btn.mb-wishlist-loading {
	opacity: 0.6;
	pointer-events: none;
}

.product-card-wishlist {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	z-index: 2;
	width: 2rem;
	height: 2rem;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.mb-form-error-line + .mb-form-error-line {
	margin-top: 0.35rem;
}

.mb-account-subnav {
	padding: 0.5rem 0.75rem;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	margin-bottom: 1.5rem;
}

.mb-account-subnav .btn-sm {
	padding: 0.35rem 0.85rem;
	font-size: 0.8125rem;
}

@media (min-width: 768px) {
	.mb-account-subnav {
		flex-wrap: nowrap !important;
	}
}

.mb-account-page .text-center.mb-4 {
	margin-bottom: 1.5rem !important;
}

.mb-account-page .text-center.mb-4 .h2 {
	font-size: 1.5rem;
}

@media (max-width: 991.98px) {
	.product-detail-page .product-gallery-main {
		min-height: 280px;
	}

	.product-price-current {
		font-size: 1.5rem;
	}
}

@media (max-width: 991.98px) {
	.filters-panel {
		position: static;
	}
}

/* ==========================================================================
   ORUphones Style Hero Banner Slider
   ========================================================================== */
.oru-sell-slider-wrapper {
	position: relative;
	margin-bottom: 2rem;
}

.oru-sell-slider-wrapper .carousel-fade .carousel-item {
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

.oru-sell-slider-wrapper .carousel-fade .carousel-item.active {
	opacity: 1;
	z-index: 2;
}

.oru-slide-content {
	min-height: 280px;
	position: relative;
}

.oru-cta-btn {
	background-color: #0f172a !important;
	color: #ffffff !important;
	border: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.oru-cta-btn:hover {
	background-color: #000000 !important;
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.35);
}

/* Edge Floating Navigation Controls (ORUphones style) */
.oru-slider-btn-prev,
.oru-slider-btn-next {
	width: 42px;
	height: 48px;
	top: 50%;
	transform: translateY(-50%);
	opacity: 0.95;
	z-index: 10;
	transition: all 0.2s ease;
}

.oru-slider-btn-prev {
	left: 0;
}

.oru-slider-btn-next {
	right: 0;
}

.oru-slider-control-icon {
	width: 36px;
	height: 44px;
	background: #ffffff;
	color: #1e293b;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
	transition: all 0.2s ease;
}

.oru-slider-btn-prev .oru-slider-control-icon {
	border-radius: 0 10px 10px 0;
}

.oru-slider-btn-next .oru-slider-control-icon {
	border-radius: 10px 0 0 10px;
}

.oru-slider-btn-prev:hover .oru-slider-control-icon,
.oru-slider-btn-next:hover .oru-slider-control-icon {
	background: #0f172a;
	color: #ffffff;
}

/* Indicator Dots */
.oru-slider-dots {
	position: absolute;
	bottom: 14px;
	left: 32px;
	right: auto;
	margin: 0;
	gap: 6px;
	z-index: 10;
}

.oru-slider-dots [data-bs-slide-to] {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #cbd5e1;
	border: none;
	opacity: 0.8;
	transition: all 0.3s ease;
	padding: 0;
	margin: 0;
}

.oru-slider-dots .active {
	width: 28px;
	border-radius: 12px;
	background-color: #0f172a !important;
	opacity: 1;
}

.oru-slide-img-box img {
	transition: transform 0.5s ease;
}

.oru-slide-img-box:hover img {
	transform: scale(1.04);
}

@media (max-width: 767.98px) {
	.oru-slide-content {
		padding: 1.5rem 1.25rem !important;
	}
	.oru-slide-img-box img {
		max-height: 180px !important;
		min-width: 160px !important;
	}
	.oru-slider-dots {
		left: 50%;
		transform: translateX(-50%);
	}
	.oru-slider-btn-prev,
	.oru-slider-btn-next {
		width: 32px;
		height: 40px;
	}
	.oru-slider-control-icon {
		width: 30px;
		height: 38px;
		font-size: 0.95rem;
	}
}

