/* ======= DETAIL LAYOUT ======= */
.detail-section {
	padding: 56px 0 80px;
}

/* LEFT: GALLERY */
.gallery-col {
	position: sticky;
	top: 80px;
}

.main-image-wrap {
	position: relative;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 14px;
	cursor: zoom-in;
}

.main-image {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
	max-height: 520px;
	transition: transform .4s ease;
}

.main-image:hover {
	transform: scale(1.04);
}

.main-image-wrap:hover .zoom-hint {
	opacity: 0;
}

.zoom-hint {
	position: absolute;
	bottom: 14px;
	right: 14px;
	background: rgba(26, 22, 18, .6);
	color: #fff;
	font-size: 10px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 1px;
	pointer-events: none;
	transition: opacity .3s;
}

.lightbox-btn {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	background: rgba(250, 248, 244, .9);
	border: none;
	border-radius: 2px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	color: var(--ink);
	z-index: 3;
	transition: all .2s;
}

.lightbox-btn:hover {
	background: var(--rust);
	color: #fff;
}

/* THUMBNAIL STRIP */
.thumb-strip {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 4px;
}

.thumb-strip::-webkit-scrollbar {
	height: 3px;
}

.thumb-strip::-webkit-scrollbar-track {
	background: var(--border);
}

.thumb-strip::-webkit-scrollbar-thumb {
	background: var(--sepia);
	border-radius: 2px;
}

.thumb-item {
	width: 78px;
	height: 78px;
	flex-shrink: 0;
	border: 2px solid var(--border);
	border-radius: 3px;
	overflow: hidden;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	transition: border-color .2s;
}

.thumb-item.active,
.thumb-item:hover {
	border-color: var(--rust);
}

/* RIGHT: DETAILS */
.detail-col {}

.detail-badge-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.detail-badge {
	font-size: 10px;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: 1px;
	font-weight: 600;
}

.badge-new {
	background: var(--rust);
	color: #fff;
}

.badge-oil {
	background: var(--warm);
	color: var(--sepia);
	border: 1px solid var(--border);
}

.detail-title {
	font-family: var(--font-display);
	font-size: clamp(36px, 4vw, 54px);
	font-weight: 600;
	line-height: 1.05;
	margin-bottom: 10px;
}

.detail-title em {
	font-style: italic;
	color: var(--rust);
}

.detail-artist-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 0;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	margin-bottom: 20px;
}

.detail-artist-av {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	background: var(--sepia);
}

.detail-artist-name {
	font-size: 14px;
	font-weight: 600;
}

.detail-artist-role {
	font-size: 11px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--rust);
}

.detail-price-row {
	margin-bottom: 20px;
}

.detail-price {
	font-family: var(--font-display);
	font-size: clamp(32px, 4vw, 46px);
	color: var(--rust);
	font-weight: 600;
	line-height: 1;
}

.detail-price-note {
	font-size: 12px;
	color: var(--sepia);
	margin-top: 4px;
	letter-spacing: .5px;
}

/* STOCK STATUS */
.stock-box {
	background: var(--warm);
	border: 1px solid var(--border);
	border-radius: 3px;
	padding: 18px 20px;
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.stock-indicator {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #4caf50;
	box-shadow: 0 0 0 3px rgba(76, 175, 80, .2);
	flex-shrink: 0;
}

.stock-indicator.low {
	background: var(--gold);
	box-shadow: 0 0 0 3px rgba(201, 168, 76, .2);
}

.stock-indicator.sold {
	background: #c62828;
	box-shadow: 0 0 0 3px rgba(198, 40, 40, .2);
}

.stock-text-main {
	font-size: 13px;
	font-weight: 600;
	color: var(--ink);
}

.stock-text-sub {
	font-size: 11px;
	color: var(--sepia);
	margin-top: 2px;
	letter-spacing: .5px;
}

.stock-urgency {
	font-size: 11px;
	color: var(--rust);
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-left: auto;
	white-space: nowrap;
}

/* ACTION BUTTONS */
.action-row {
	display: flex;
	gap: 10px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}

.btn-add-bag {
	flex: 1;
	min-width: 160px;
	background: var(--ink);
	color: var(--cream);
	border: none;
	padding: 15px 28px;
	font-size: 12px;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	font-weight: 600;
	border-radius: 2px;
	transition: all .25s;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--font-body);
}

.btn-add-bag:hover {
	background: var(--rust);
}

.btn-enquiry {
	flex: 1;
	min-width: 160px;
	background: transparent;
	color: var(--ink);
	border: 2px solid var(--ink);
	padding: 15px 28px;
	font-size: 12px;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	font-weight: 600;
	border-radius: 2px;
	transition: all .25s;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--font-body);
}

.btn-enquiry:hover {
	border-color: var(--rust);
	color: var(--rust);
}

.btn-wishlist {
	width: 52px;
	height: 52px;
	border: 1px solid var(--border);
	background: #fff;
	border-radius: 2px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: var(--sepia);
	transition: all .2s;
	flex-shrink: 0;
}

.btn-wishlist:hover,
.btn-wishlist.active {
	border-color: var(--rust);
	color: var(--rust);
}

/* ART SPECS */
.specs-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	border: 1px solid var(--border);
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 24px;
}

.spec-item {
	padding: 14px 18px;
	border-bottom: 1px solid var(--border);
	border-right: 1px solid var(--border);
}

.spec-item:nth-child(even) {
	border-right: none;
}

.spec-item:nth-last-child(-n+2) {
	border-bottom: none;
}

.spec-label {
	font-size: 10px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--sepia);
	margin-bottom: 4px;
}

.spec-value {
	font-size: 14px;
	font-weight: 500;
	color: var(--ink);
}

/* DESCRIPTION ACCORDION */
.detail-accordion {}

.detail-acc-item {
	border-bottom: 1px solid var(--border);
}

.detail-acc-item:first-child {
	border-top: 1px solid var(--border);
}

.detail-acc-toggle {
	width: 100%;
	background: none;
	border: none;
	padding: 16px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--ink);
	font-weight: 600;
	cursor: pointer;
	font-family: var(--font-body);
}

.detail-acc-toggle i {
	font-size: 10px;
	color: var(--sepia);
	transition: transform .3s;
}

.detail-acc-item.open .detail-acc-toggle i {
	transform: rotate(180deg);
}

.detail-acc-body {
	font-size: 14px;
	color: var(--sepia);
	line-height: 1.75;
	max-height: 0;
	overflow: hidden;
	transition: max-height .4s ease, padding .3s;
}

.detail-acc-item.open .detail-acc-body {
	max-height: 400px;
	padding-bottom: 18px;
}

/* SHARE ROW */
.share-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}

.share-label {
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--sepia);
}

.share-btn {
	width: 34px;
	height: 34px;
	border: 1px solid var(--border);
	border-radius: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	color: var(--sepia);
	cursor: pointer;
	background: #fff;
	transition: all .2s;
}

.share-btn:hover {
	background: var(--ink);
	color: #fff;
	border-color: var(--ink);
}

/* TRUST BADGES */
.trust-row {
	display: flex;
	gap: 0;
	border: 1px solid var(--border);
	border-radius: 3px;
	overflow: hidden;
	margin-top: 20px;
}

.trust-item {
	flex: 1;
	padding: 14px 12px;
	text-align: center;
	border-right: 1px solid var(--border);
	background: #fff;
}

.trust-item:last-child {
	border-right: none;
}

.trust-item i {
	display: block;
	font-size: 18px;
	color: var(--gold);
	margin-bottom: 6px;
}

.trust-item span {
	font-size: 10px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--sepia);
	line-height: 1.4;
	display: block;
}

/* ======= LIGHTBOX ======= */
.lightbox-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(10, 8, 6, .94);
	z-index: 9998;
	align-items: center;
	justify-content: center;
}

.lightbox-overlay.active {
	display: flex;
}

.lightbox-inner {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox-img {
	display: block;
	max-width: 90vw;
	max-height: 85vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 3px;
	transition: transform .3s;
}

.lightbox-close {
	position: fixed;
	top: 24px;
	right: 28px;
	width: 44px;
	height: 44px;
	background: rgba(250, 248, 244, .12);
	border: 1px solid rgba(250, 248, 244, .2);
	border-radius: 2px;
	cursor: pointer;
	color: #fff;
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	transition: background .2s;
}

.lightbox-close:hover {
	background: var(--rust);
}

.lightbox-nav {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(250, 248, 244, .12);
	border: 1px solid rgba(250, 248, 244, .2);
	border-radius: 2px;
	cursor: pointer;
	color: #fff;
	font-size: 18px;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s;
}

.lightbox-nav:hover {
	background: var(--rust);
}

.lightbox-prev {
	left: 20px;
}

.lightbox-next {
	right: 20px;
}

.lightbox-counter {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgba(250, 248, 244, .5);
}

/* Zoom cursor */
.lightbox-img {
	cursor: crosshair;
}

.lightbox-zoom-wrap {
	overflow: hidden;
	position: relative;
}

.lbz-zoomed {
	transform: scale(2);
	transform-origin: center;
	cursor: zoom-out;
}

/* ======= ENQUIRY MODAL ======= */
.enquiry-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(26, 22, 18, .75);
	z-index: 9997;
	align-items: center;
	justify-content: center;
}

.enquiry-overlay.active {
	display: flex;
}

.enquiry-card {
	background: #fff;
	width: 100%;
	max-width: 500px;
	border-radius: 4px;
	margin: 20px;
	animation: slideUp .3s ease;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	/* Remove overflow:hidden — it kills inner scroll. Use clip-path to keep rounded corners */
	overflow: visible;
	clip-path: inset(0 round 4px);
}

@keyframes slideUp {
	from {
		transform: translateY(30px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.enquiry-head {
	background: var(--ink);
	padding: 28px 32px;
	position: relative;
	flex-shrink: 0;  /* always fixed height — never squashed */
}

.enquiry-head h4 {
	font-family: var(--font-display);
	font-size: 28px;
	color: #fff;
	margin-bottom: 4px;
}

.enquiry-head p {
	font-size: 12px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: rgba(250, 248, 244, .5);
}

.enquiry-close {
	position: absolute;
	top: 16px;
	right: 20px;
	font-size: 22px;
	cursor: pointer;
	color: rgba(250, 248, 244, .5);
	background: none;
	border: none;
}

.enquiry-close:hover {
	color: #fff;
}

.enquiry-art-preview {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--warm);
	padding: 14px 32px;
	border-bottom: 1px solid var(--border);
	flex-shrink: 0;  /* fixed — never scrolls */
}

.enquiry-art-thumb {
	width: 52px;
	height: 52px;
	border-radius: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-size: 18px;
	color: #fff;
}

.enquiry-art-info .art-name {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 600;
}

.enquiry-art-info .art-price {
	font-size: 12px;
	color: var(--rust);
	font-weight: 600;
	letter-spacing: .5px;
}

.enquiry-body {
	padding: 24px 32px 28px;
	overflow-y: auto;
	overflow-x: hidden;
	flex: 1 1 0;       /* grow to fill, shrink, scroll — never pushes header */
	min-height: 0;     /* required: flex children ignore overflow without this */
}

/* Scrollbar styling for modal body */
.enquiry-body::-webkit-scrollbar {
	width: 5px;
}

.enquiry-body::-webkit-scrollbar-track {
	background: var(--warm);
	border-radius: 4px;
}

.enquiry-body::-webkit-scrollbar-thumb {
	background: var(--sepia);
	border-radius: 4px;
}

.enquiry-body::-webkit-scrollbar-thumb:hover {
	background: var(--rust);
}

.enquiry-body label {
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--sepia);
	display: block;
	margin-bottom: 6px;
	margin-top: 16px;
}

.enquiry-body label:first-of-type {
	margin-top: 0;
}

.enquiry-body input,
.enquiry-body textarea,
.enquiry-body select {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: 2px;
	padding: 11px 14px;
	font-size: 14px;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--cream);
}

.enquiry-body input:focus,
.enquiry-body textarea:focus {
	outline: none;
	border-color: var(--rust);
}

.enquiry-body textarea {
	min-height: 90px;
	resize: vertical;
}

.btn-enquiry-submit {
	width: 100%;
	background: var(--rust);
	color: #fff;
	border: none;
	padding: 14px;
	font-size: 12px;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	font-weight: 600;
	border-radius: 2px;
	cursor: pointer;
	margin-top: 20px;
	font-family: var(--font-body);
	transition: background .2s;
}

.btn-enquiry-submit:hover {
	background: #d4704a;
}

/* SUCCESS TOAST */
.toast-bar {
	position: fixed;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%) translateY(80px);
	background: var(--ink);
	color: #fff;
	padding: 14px 28px;
	border-radius: 2px;
	font-size: 13px;
	letter-spacing: 1px;
	z-index: 9999;
	opacity: 0;
	transition: all .4s;
	white-space: nowrap;
}

.toast-bar.show {
	transform: translateX(-50%) translateY(0);
	opacity: 1;
}

/* RELATED PRODUCTS */
.related-section {
	background: var(--warm);
	padding: 80px 0;
}

.section-tag {
	font-size: 11px;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--rust);
	font-weight: 600;
	display: block;
	margin-bottom: 12px;
}

.section-title {
	font-family: var(--font-display);
	font-size: clamp(32px, 5vw, 54px);
	font-weight: 600;
	line-height: 1.1;
	color: var(--ink);
}

.section-title em {
	font-style: italic;
}

.section-line {
	width: 48px;
	height: 2px;
	background: var(--gold);
	margin: 18px 0 10px;
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 40px;
}

@media(max-width:991px) {
	.related-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media(max-width:576px) {
	.related-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.art-item {
	position: relative;
	overflow: hidden;
	border-radius: 3px;
	cursor: pointer;
	background: #fff;
	border: 1px solid var(--border);
	transition: box-shadow .3s, transform .3s;
}

.art-item:hover {
	box-shadow: 0 20px 50px rgba(26, 22, 18, .14);
	transform: translateY(-5px);
}

.art-img-ph {
	width: 100%;
	height: auto;

	font-family: var(--font-display);
	font-size: 22px;
	color: #fff;
	transition: transform .5s ease;
	overflow: hidden;
}

.art-item:hover .art-img-ph {
	transform: scale(1.06);
}

.art-card-body {
	padding: 13px 15px 15px;
}

.art-card-title {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 2px;
}

.art-card-meta {
	font-size: 11px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--sepia);
}

.art-card-price {
	font-family: var(--font-display);
	font-size: 17px;
	color: var(--rust);
	font-weight: 600;
	margin-top: 5px;
}

.art-artist-corner {
	position: absolute;
	bottom: 0;
	right: 0;
	background: var(--ink);
	color: var(--cream);
	font-size: 10px;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 5px 10px;
	border-top-left-radius: 4px;
}

.art-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--rust);
	color: #fff;
	font-size: 10px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 4px 9px;
	border-radius: 1px;
	z-index: 2;
}

/* BG COLORS */
.bg-a {
	background: #8B6F5E;
}

.bg-b {
	background: #5E7E8B;
}

.bg-c {
	background: #7E8B5E;
}

.bg-d {
	background: #8B7E5E;
}

.bg-e {
	background: #6E5E8B;
}

.bg-f {
	background: #8B5E5E;
}

.bg-g {
	background: #5E8B7E;
}

.bg-h {
	background: #7E5E8B;
}

/* RESPONSIVE DETAIL */
@media(max-width:991px) {
	.gallery-col {
		position: static;
	}

	.main-image {
		max-height: 360px;
	}
}

@media(max-width:576px) {
	.action-row {
		flex-direction: column;
	}

	.btn-add-bag,
	.btn-enquiry {
		flex: none;
		width: 100%;
	}

	.btn-wishlist {
		width: 100%;
		height: 48px;
	}

	.trust-row {
		flex-wrap: wrap;
	}

	.trust-item {
		flex: 1 1 45%;
	}

	.specs-grid {
		grid-template-columns: 1fr;
	}

	.spec-item:nth-child(even) {
		border-right: none;
	}

	.spec-item:nth-last-child(-n+2) {
		border-bottom: 1px solid var(--border);
	}

	.spec-item:last-child {
		border-bottom: none;
	}
}

/* BREADCRUMB */
.breadcrumb-bar {
	background: var(--warm);
	border-bottom: 1px solid var(--border);
	padding: 12px 0;
}

.breadcrumb-art {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--sepia);
	margin: 0;
}

.breadcrumb-art a {
	color: var(--sepia);
	text-decoration: none;
}

.breadcrumb-art a:hover {
	color: var(--rust);
}

.breadcrumb-art .current {
	color: var(--ink);
	font-weight: 600;
}