/* ============================================
   Product Detail Page — Figma static layout
   ============================================ */

.product-detail-figma {
	background: #fff;
	padding-bottom: 0;
}

.pd-breadcrumb-wrap {
	padding: 1rem 0 0.5rem;
}

.pd-breadcrumb {
	font-size: 0.8rem;
}

.pd-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
	color: #9ca3af;
}

.pd-breadcrumb a {
	color: #6b7280;
	text-decoration: none;
}

.pd-breadcrumb .active {
	color: #1a1a2e;
}

.pd-page-head {
	margin-bottom: 1.5rem;
}

.pd-page-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0;
}

.pd-share-btn {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 0.4rem 1rem;
	font-size: 0.875rem;
	color: #374151;
	background: #fff;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.pd-share-btn:hover {
	border-color: var(--primary, #0047ff);
	color: var(--primary, #0047ff);
}

/* Gallery */
.pd-gallery-main {
	background: #f8fafc;
	border-radius: 16px;
	padding: 2rem;
	text-align: center;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pd-main-img {
	max-height: 380px;
	width: auto;
	object-fit: contain;
}

.pd-thumbs-row {
	display: flex;
	gap: 0.75rem;
	margin-top: 1rem;
	flex-wrap: wrap;
}

.pd-thumb {
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	padding: 4px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.2s;
}

.pd-thumb.active,
.pd-thumb:hover {
	border-color: var(--primary, #0047ff);
}

.pd-thumb img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.pd-gallery-panels .pd-panel:first-child {
	border-top: 1px solid #e5e7eb;
}

/* Info card */
.pd-info-card {
	padding: 0.25rem 0;
}

.pd-product-name {
	font-size: 1.35rem;
	font-weight: 700;
	margin: 0;
	color: #1a1a2e;
}

.pd-badge {
	display: inline-flex;
	align-items: center;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.25rem 0.65rem;
	border-radius: 6px;
}

.pd-badge-purple {
	background: #7c3aed;
	color: #fff;
}

.pd-badge-red {
	background: #fef2f2;
	color: #dc2626;
	border: 1px solid #fecaca;
}

.pd-badge-save {
	background: var(--primary, #0047ff);
	color: #fff;
}

.pd-wishlist-btn {
	color: #9ca3af;
	font-size: 1.25rem;
	padding: 0;
	border: none;
	background: none;
}

.pd-wishlist-btn.active {
	color: #ef4444;
}

.pd-listing-id {
	font-size: 0.8rem;
	color: #9ca3af;
	margin: 0.75rem 0;
}

.pd-price-block {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 0.75rem;
}

.pd-price-now {
	font-size: 1.75rem;
	font-weight: 700;
	color: #1a1a2e;
}

.pd-price-old {
	font-size: 1rem;
	color: #ef4444;
	text-decoration: line-through;
}

.pd-meta-line {
	font-size: 0.8rem;
	color: #6b7280;
	margin-bottom: 1.25rem;
}

.pd-meta-line .bi-geo-alt-fill {
	color: var(--primary, #0047ff);
}

.pd-meta-sep {
	margin: 0 0.5rem;
	color: #d1d5db;
}

/* Accordions in sidebar */
.pd-accordion-block {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	margin-bottom: 0.75rem;
	overflow: hidden;
}

.pd-acc-head {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.875rem 1rem;
	background: #fff;
	border: none;
	font-weight: 600;
	font-size: 0.9rem;
	color: #1a1a2e;
	text-align: left;
}

.pd-acc-head .bi-chevron-down {
	font-size: 0.85rem;
	color: #9ca3af;
	transition: transform 0.2s;
}

.pd-acc-head:not(.collapsed) .bi-chevron-down {
	transform: rotate(180deg);
}

.pd-acc-body {
	padding: 0 1rem 1rem;
	font-size: 0.85rem;
	color: #6b7280;
	line-height: 1.6;
}

.pd-key-spec-box {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 0.875rem;
	height: 100%;
	background: #fafafa;
}

.pd-key-spec-box i {
	font-size: 1.25rem;
	color: var(--primary, #0047ff);
	display: block;
	margin-bottom: 0.35rem;
}

.pd-key-spec-box small {
	display: block;
	color: #9ca3af;
	font-size: 0.7rem;
	margin-bottom: 0.15rem;
}

.pd-key-spec-box strong {
	font-size: 0.8rem;
	color: #1a1a2e;
	font-weight: 600;
}

/* Alerts */
.pd-alert {
	border-radius: 10px;
	padding: 0.75rem 1rem;
	font-size: 0.8rem;
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin-bottom: 0.65rem;
}

.pd-alert-orange {
	background: #fff7ed;
	color: #c2410c;
	border: 1px solid #fed7aa;
}

.pd-alert-red {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.pd-contact-btn {
	background: var(--primary, #0047ff);
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 0.9rem 1.25rem;
	font-weight: 600;
	font-size: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.pd-contact-btn:hover {
	background: #0035cc;
	color: #fff;
}

/* Panels */
.pd-panel {
	border-bottom: 1px solid #e5e7eb;
	margin-bottom: 0;
}

.pd-spec-panel {
	border-top: 1px solid #e5e7eb;
	padding-top: 1rem;
}

.pd-panel-head,
.pd-spec-head,
.pd-faq-head {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
	background: none;
	border: none;
	font-weight: 600;
	font-size: 0.95rem;
	color: #1a1a2e;
	text-align: left;
}

.pd-panel-head .bi-chevron-down,
.pd-spec-head .bi-chevron-down,
.pd-faq-head .bi-chevron-down {
	color: #9ca3af;
	font-size: 0.85rem;
	transition: transform 0.2s;
}

.pd-panel-head:not(.collapsed) .bi-chevron-down,
.pd-spec-head:not(.collapsed) .bi-chevron-down,
.pd-faq-head:not(.collapsed) .bi-chevron-down {
	transform: rotate(180deg);
}

.pd-panel-body {
	padding-bottom: 1.25rem;
}

.pd-locked-box {
	background: #f9fafb;
	border: 1px dashed #d1d5db;
	border-radius: 12px;
	padding: 1.25rem;
	text-align: center;
	margin-bottom: 1rem;
}

.pd-locked-box i {
	font-size: 1.5rem;
	color: #9ca3af;
	margin-bottom: 0.5rem;
	display: block;
}

.pd-locked-box p {
	font-size: 0.85rem;
	color: #6b7280;
	margin: 0;
}

.pd-unlock-btn {
	background: var(--primary, #0047ff);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 0.45rem 1.5rem;
	font-size: 0.875rem;
	font-weight: 600;
}

.pd-unlock-btn:hover {
	background: #0035cc;
	color: #fff;
}

.pd-map-wrap {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
}

.pd-condition-row {
	display: flex;
	gap: 0.5rem;
	flex-wrap: nowrap;
}

.pd-condition-item {
	flex: 1 1 0;
	min-width: 0;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 0.75rem 0.35rem;
	text-align: center;
	font-size: 0.7rem;
	color: #6b7280;
	background: #fff;
}

.pd-condition-item .pd-cond-emoji {
	display: block;
	font-size: 1.5rem;
	margin-bottom: 0.35rem;
}

.pd-condition-item .pd-cond-label {
	font-size: 0.8rem;
	color: #1a1a2e;
}

.pd-condition-item .pd-cond-desc {
	font-size: 0.65rem;
	color: #9ca3af;
	line-height: 1.3;
}

.pd-condition-item.active {
	border-color: #7c3aed;
	background: rgba(124, 58, 237, 0.06);
	color: #7c3aed;
}

.pd-condition-item.active .pd-cond-label {
	color: #7c3aed;
}

.pd-condition-item.active .pd-cond-desc {
	color: #7c3aed;
	opacity: 0.8;
}

/* Spec panel */
.pd-spec-heading {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #e5e7eb;
}

.pd-spec-item {
	border-bottom: 1px solid #f3f4f6;
}

.pd-spec-body {
	padding-bottom: 0.75rem;
}

.pd-spec-row {
	display: flex;
	justify-content: space-between;
	padding: 0.4rem 0;
	font-size: 0.85rem;
	border-bottom: 1px solid #f9fafb;
}

.pd-spec-row span {
	color: #9ca3af;
}

.pd-spec-row strong {
	color: #1a1a2e;
	font-weight: 500;
}

/* Related */
.pd-section-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #1a1a2e;
}

.pd-slider-row {
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.pd-related-col {
	scroll-snap-align: start;
	width: 240px;
}

.pd-related-card {
	position: relative;
	background: #fff;
	border: 1px solid #f3f4f6;
	border-radius: 16px;
	padding: 1rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	height: 100%;
}

.pd-related-img-wrap {
	text-align: center;
	padding: 0.5rem 0 1rem;
}

.pd-related-img-wrap img {
	max-height: 140px;
	object-fit: contain;
}

.pd-related-title {
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 0.35rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pd-related-price {
	font-weight: 700;
	font-size: 0.95rem;
	color: #1a1a2e;
}

.pd-related-arrow {
	position: absolute;
	right: 12px;
	bottom: 12px;
	width: 34px;
	height: 34px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	font-size: 0.85rem;
}

.pd-slider-nav .btn {
	width: 36px;
	height: 36px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* FAQ */
.pd-faq-section {
	border-top: 1px solid #f3f4f6;
}

.pd-faq-item {
	border-bottom: 1px solid #e5e7eb;
}

.pd-faq-body {
	padding: 0 0 1rem;
	font-size: 0.85rem;
	color: #6b7280;
	line-height: 1.6;
}

/* App CTA */
.pd-app-cta {
	background: var(--primary, #0047ff);
	padding: 3rem 0;
	margin-top: 1rem;
}

.pd-app-cta-inner {
	color: #fff;
}

.pd-app-cta h3 {
	font-size: 1.35rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.pd-app-cta p {
	opacity: 0.9;
	margin-bottom: 1.25rem;
}

.pd-app-call-btn {
	background: #fff;
	color: var(--primary, #0047ff);
	border-radius: 999px;
	padding: 0.65rem 1.5rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.pd-app-call-btn:hover {
	background: #f0f4ff;
	color: var(--primary, #0047ff);
}

.pd-app-person {
	max-height: 280px;
	object-fit: contain;
	border-radius: 12px;
}

@media (max-width: 991.98px) {
	.pd-gallery-main {
		min-height: 280px;
		padding: 1.25rem;
	}

	.pd-main-img {
		max-height: 260px;
	}

	.pd-price-now {
		font-size: 1.5rem;
	}

	.pd-condition-row {
		overflow-x: auto;
		padding-bottom: 0.25rem;
		-webkit-overflow-scrolling: touch;
	}

	.pd-condition-item {
		flex: 0 0 120px;
		font-size: 0.65rem;
	}
}

/* Premium Payment Modal Styling */
#mbPaymentModal .nav-pills .nav-link {
	color: #6b7280;
	background: transparent;
	transition: all 0.2s ease-in-out;
	border: 1px solid transparent;
}

#mbPaymentModal .nav-pills .nav-link.active {
	color: #7c3aed;
	background: #ffffff;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
	border: 1px solid rgba(124, 58, 237, 0.15);
}

#mbPaymentModal .form-control:focus {
	border-color: #7c3aed;
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

#mbPaymentModal .form-check-input:checked {
	background-color: #7c3aed;
	border-color: #7c3aed;
}

#mbPaymentModal .btn-primary {
	background-color: #7c3aed;
	border-color: #7c3aed;
	transition: all 0.25s ease;
}

#mbPaymentModal .btn-primary:hover,
#mbPaymentModal .btn-primary:focus {
	background-color: #6d28d9;
	border-color: #6d28d9;
	box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25) !important;
}

#mbPayProcessingOverlay {
	border-radius: inherit;
	z-index: 1060;
}

/* Animations & Transitions */
@keyframes pulseGlow {
	0%, 100% { transform: scale(1); opacity: 0.9; }
	50% { transform: scale(1.05); opacity: 1; }
}

.cursor-pointer {
	cursor: pointer;
}

#upiQrArea svg {
	animation: pulseGlow 4s infinite ease-in-out;
}

