/* ============================================================
   RECYCLOR — Page produit bijou (single-bijou)
   Aligné sur la charte recyclormontreal.ca (palette, typo, CTA).
   Scoped under .rcyc-bjs.
   ============================================================ */

.rcyc-bjs {
	--rcyc-bjs-ink:       #1A1A1A;
	--rcyc-bjs-ink-mid:   #6B6B6B;
	--rcyc-bjs-ink-light: #8A8A8A;
	--rcyc-bjs-gold:      #C9A961;
	--rcyc-bjs-bg:        #FFFFFF;
	--rcyc-bjs-bg-warm:   #F2EFE7;
	--rcyc-bjs-line:      #E5E5E0;

	background: var(--rcyc-bjs-bg);
	color: var(--rcyc-bjs-ink);
	padding: 56px 20px 80px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	box-sizing: border-box;
}
.rcyc-bjs *, .rcyc-bjs *::before, .rcyc-bjs *::after { box-sizing: border-box; }

/* Pleine largeur sous le menu, comme les sections de l'accueil */
.rcyc-bjs {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left:  calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}
body:has( .rcyc-bjs ) { overflow-x: clip; }

@media (min-width: 768px) {
	.rcyc-bjs { padding: 80px 40px 112px; }
}

.rcyc-bjs .rcyc-bjs-container {
	max-width: 1280px;
	margin: 0 auto;
}

/* ===== Breadcrumb ===== */
.rcyc-bjs .rcyc-bjs-breadcrumb {
	margin-bottom: 40px;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.rcyc-bjs .rcyc-bjs-breadcrumb a {
	color: var(--rcyc-bjs-ink-mid);
	text-decoration: none;
	transition: color 0.2s;
}
.rcyc-bjs .rcyc-bjs-breadcrumb a:hover { color: var(--rcyc-bjs-ink); }

/* ===== Grid layout ===== */
.rcyc-bjs .rcyc-bjs-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}
@media (min-width: 900px) {
	.rcyc-bjs .rcyc-bjs-grid {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		gap: 72px;
		align-items: start;
	}
}

/* ============================================================
   MEDIA COLUMN — gallery, thumbs, video
   ============================================================ */
.rcyc-bjs .rcyc-bjs-media { min-width: 0; }

.rcyc-bjs .rcyc-bjs-mainphoto {
	position: relative;
	aspect-ratio: 4 / 5;
	background: var(--rcyc-bjs-bg-warm);
	overflow: hidden;
	margin-bottom: 16px;
}
.rcyc-bjs .rcyc-bjs-mainphoto-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--rcyc-bjs-ink-light);
	font-size: 32px;
}
/* Slide layer — used by both images and the video frame */
.rcyc-bjs .rcyc-bjs-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.rcyc-bjs .rcyc-bjs-slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.3s ease, visibility 0s linear 0s;
}
.rcyc-bjs .rcyc-bjs-slide--image { object-fit: cover; }
.rcyc-bjs .rcyc-bjs-slide--video {
	background: #000;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
}
.rcyc-bjs .rcyc-bjs-slide--video iframe,
.rcyc-bjs .rcyc-bjs-slide--video video {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.rcyc-bjs .rcyc-bjs-arrow {
	appearance: none;
	border: 0;
	background: rgba(255, 255, 255, 0.9);
	color: var(--rcyc-bjs-ink);
	width: 42px;
	height: 42px;
	border-radius: 999px;
	cursor: pointer;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, transform 0.2s;
	z-index: 2;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.rcyc-bjs .rcyc-bjs-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.rcyc-bjs .rcyc-bjs-arrow-prev { left: 14px; }
.rcyc-bjs .rcyc-bjs-arrow-next { right: 14px; }

.rcyc-bjs .rcyc-bjs-zoom {
	appearance: none;
	border: 0;
	background: rgba(26, 26, 26, 0.7);
	color: #fff;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	cursor: pointer;
	position: absolute;
	right: 14px;
	bottom: 14px;
	font-size: 15px;
	z-index: 2;
	transition: background 0.2s;
}
.rcyc-bjs .rcyc-bjs-zoom:hover { background: rgba(26, 26, 26, 0.92); }

.rcyc-bjs .rcyc-bjs-thumbs {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax(76px, 1fr) );
	gap: 8px;
	margin-bottom: 28px;
}
.rcyc-bjs .rcyc-bjs-thumb {
	appearance: none;
	border: 1px solid transparent;
	background: var(--rcyc-bjs-bg-warm);
	padding: 0;
	aspect-ratio: 1 / 1;
	cursor: pointer;
	overflow: hidden;
	transition: border-color 0.15s, transform 0.15s;
}
.rcyc-bjs .rcyc-bjs-thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
.rcyc-bjs .rcyc-bjs-thumb:hover { border-color: var(--rcyc-bjs-ink-light); }
.rcyc-bjs .rcyc-bjs-thumb.is-active { border-color: var(--rcyc-bjs-ink); }

/* Video thumbnail — overlay a play triangle to flag it visually */
.rcyc-bjs .rcyc-bjs-thumb { position: relative; }
.rcyc-bjs .rcyc-bjs-thumb--video::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.32);
	transition: background 0.15s;
	pointer-events: none;
}
.rcyc-bjs .rcyc-bjs-thumb--video:hover::before { background: rgba(0, 0, 0, 0.22); }
.rcyc-bjs .rcyc-bjs-thumb-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	z-index: 2;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
	pointer-events: none;
}
.rcyc-bjs .rcyc-bjs-thumb-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--rcyc-bjs-ink-light);
	font-size: 18px;
}

/* ============================================================
   INFO COLUMN — same typographic system as the homepage
   ============================================================ */
.rcyc-bjs .rcyc-bjs-info { min-width: 0; }

.rcyc-bjs .rcyc-bjs-eyebrow {
	font-size: 11px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--rcyc-bjs-gold);
	font-weight: 500;
	margin-bottom: 16px;
}
.rcyc-bjs .rcyc-bjs-title {
	font-size: 36px;
	font-weight: 300;
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin: 0 0 16px;
	color: var(--rcyc-bjs-ink);
}
@media (min-width: 768px) {
	.rcyc-bjs .rcyc-bjs-title { font-size: 48px; }
}
.rcyc-bjs .rcyc-bjs-spec {
	font-size: 12px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--rcyc-bjs-ink-light);
	margin-bottom: 24px;
}
.rcyc-bjs .rcyc-bjs-price {
	font-size: 32px;
	font-weight: 300;
	color: var(--rcyc-bjs-ink);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.01em;
	margin-bottom: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--rcyc-bjs-line);
}

.rcyc-bjs .rcyc-bjs-description {
	color: var(--rcyc-bjs-ink-mid);
	line-height: 1.65;
	font-size: 15px;
	margin-bottom: 40px;
	max-width: 540px;
}
.rcyc-bjs .rcyc-bjs-description p:first-child { margin-top: 0; }
.rcyc-bjs .rcyc-bjs-description p:last-child { margin-bottom: 0; }

/* ===== CTA buttons — match homepage style ===== */
.rcyc-bjs .rcyc-bjs-cta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
}
.rcyc-bjs .rcyc-bjs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 32px;
	border-radius: 999px;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 500;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all 0.2s;
	text-align: center;
}
.rcyc-bjs .rcyc-bjs-btn-primary {
	background: var(--rcyc-bjs-ink);
	color: #fff;
}
.rcyc-bjs .rcyc-bjs-btn-primary:hover {
	background: var(--rcyc-bjs-gold);
	color: var(--rcyc-bjs-ink);
}
.rcyc-bjs .rcyc-bjs-btn-outline {
	color: var(--rcyc-bjs-ink);
	background: transparent;
	border-color: rgba(26, 26, 26, 0.3);
}
.rcyc-bjs .rcyc-bjs-btn-outline:hover {
	border-color: var(--rcyc-bjs-ink);
	background: var(--rcyc-bjs-bg-warm);
}
.rcyc-bjs .rcyc-bjs-btn-icon {
	flex-shrink: 0;
	width: 14px;
	height: 14px;
}
.rcyc-bjs .rcyc-bjs-btn-link {
	display: inline-block;
	color: var(--rcyc-bjs-ink-mid);
	text-decoration: none;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 500;
	padding: 8px 4px;
	border-bottom: 1px solid transparent;
	transition: color 0.2s, border-color 0.2s;
	margin-left: 4px;
}
.rcyc-bjs .rcyc-bjs-btn-link:hover {
	color: var(--rcyc-bjs-gold);
	border-bottom-color: var(--rcyc-bjs-gold);
}

@media (max-width: 540px) {
	.rcyc-bjs .rcyc-bjs-cta {
		flex-direction: column;
		align-items: stretch;
	}
	.rcyc-bjs .rcyc-bjs-btn,
	.rcyc-bjs .rcyc-bjs-btn-link {
		margin-left: 0;
		text-align: center;
	}
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.rcyc-bjs-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.94);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	padding: 24px;
	cursor: zoom-out;
}
.rcyc-bjs-lightbox[hidden] { display: none; }
.rcyc-bjs-lightbox .rcyc-bjs-lightbox-img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}
.rcyc-bjs-lightbox .rcyc-bjs-lightbox-close {
	position: absolute;
	top: 20px;
	right: 24px;
	appearance: none;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border: 0;
	font-size: 28px;
	line-height: 1;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.2s;
}
.rcyc-bjs-lightbox .rcyc-bjs-lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }
