@charset "UTF-8";
/* CSS Document */
/* ©pascale moise v1 juillet 2025 */
/*     pascalemoise.com       */

div.wrapper, div.container {
	max-width: 1240px;
	padding: 0 5vw;
	margin: auto;
}

header .container {
	padding: 0;
	margin: 0;
}

body.product main {
	transform: translateY(-5vw);
	margin-bottom: calc(-5vw - 2px);
}


/* ========== Section overlap (homepage pattern) ========== */

body.product section.overlap {
	border-top-left-radius: var(--radius);
	border-top-right-radius: var(--radius);
	margin-top: -40px;
	position: relative;
	z-index: 1;
}


/* ========== Product Section ========== */

.product-section {
	padding: 8vw 0 100px 0;
}

.product-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
	background: #f5f0eb;
	border-radius: var(--radius);
	padding: 5vw;
}

/* Product Images */

.product-images {
	position: sticky;
	top: 20px;
}

.main-image {
	width: 100%;
	height: auto;
	aspect-ratio: 1/1;
	background: #fff;
	border-radius: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 3px solid #e6ebf1;
	margin-bottom: 20px;
	transition: transform 0.3s ease;
	cursor: pointer;
	overflow: hidden;
	position: relative;
}

.main-image:hover {
	transform: scale(1.02);
}

.main-image img, .main-image video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.main-image button.sound {
	width: 30px;
	height: 30px;
}
.main-image button.sound::before {
	width: 30px;
	font-size: 20px;
	line-height: 30px;
}

.thumbnail-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.thumbnail {
	position: relative;
	width: 100%;
	padding-bottom: 100%;
	background: #fff;
	border-radius: 15px;
	border: 3px solid transparent;
	cursor: pointer;
	transition: border-color 0.3s ease;
	overflow: hidden;
}

.thumbnail:hover, .thumbnail.active {
	border-color: rgba(0,0,0,.2);
}

.thumbnail img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ========== Product Info ========== */

body.page h1.product-title {
	margin: 0;
	font-size: 3rem;
	line-height: 3.5rem;
	padding-bottom: 0;
	text-align: center;
}
body.page .product-subtitle {
	font-size: 1.25rem;
	line-height: 1.25em;
	margin-bottom: 60px;
	margin-top: 5px;
	font-weight: 400;
	text-align: center;
}
@media (max-width: 600px) {
	body.page main h1.product-title {
		font-size: 2.25rem;
		line-height: 3rem;
	}
	body.page .product-subtitle {
		font-size: 1rem;
		line-height: 1.1rem;
		margin-bottom: 4vh;
		margin-top: 0;
	}
}

/* Purchase section */

.purchase-section {
	background: #fff;
	border-radius: 30px;
	padding: 30px;
	margin-bottom: 35px;
	text-align: center;
}

.purchase-btn {
	display: block;
	width: 100%;
	background: var(--jaune);
	color: #000;
	border: none;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
	transition: background 0.2s ease;
	padding: 16px 20px;
	margin-bottom: 15px;
}

.purchase-btn:hover {
	background: #f0a800;
}

.purchase-qty {
	display: inline-flex;
	align-items: center;
	gap: 0;
	border: 1px solid #ddd;
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 15px;
}

.qty-btn {
	width: 30px;
	height: 30px;
	border: none;
	background: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	color: #888;
	transition: color 0.2s;
}

.qty-btn:hover {
	color: #000;
}

.qty-input {
	width: 28px;
	border: none;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	-moz-appearance: textfield;
	outline: none;
	background: none;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.machinauts-line {
	font-size: 13px;
	color: #888;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.machinauts-line .star {
	color: #FFD700;
	font-size: 16px;
}

/* Last chance / shipping info */

#lastchance {
	background: var(--jaune);
	border-radius: 30px;
	padding: 10px 30px;
	margin-bottom: 50px;
}

#lastchance h3 {
	display: block;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	margin: 0;
}
#lastchance ul li {
	font-size: .9em;
	line-height: 1.25em;
}

.lastchance-shipping {
	font-size: 16px;
	font-weight: 700;
	color: #1E8E3E;
	margin: 10px 0;
}

.lastchance-text {
	font-size: 15px;
	line-height: 1.5;
	margin-bottom: 0;
}


/* ========== Details Section (tabs) ========== */

.details-section {
	background: #f5f0eb;
	padding: 2vw 0 100px 0;
}

.product-details {
	margin-top: 0;
}

.tabs {
	display: flex;
	justify-content: center;
	gap: 40px;
	margin-bottom: 40px;
	border-bottom: 2px solid rgba(0,0,0,.1);
}

.tab {
	padding: 15px 25px;
	background: none;
	border: none;
	font-size: 16px;
	font-weight: 600;
	color: rgba(0,0,0,.4);
	cursor: pointer;
	transition: color 0.3s ease;
	border-bottom: 3px solid transparent;
	transform: translateY(2px);
}

.tab.active {
	color: #000;
	border-bottom-color: var(--jaune);
}

.tab-content {
	display: none;
	animation: fadeIn 0.3s ease;
}

.tab-content.active {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Description tab */

.description-text {
	max-width: 800px;
	margin: 0 auto;
}

.description-text h3 {
	font-size: 1.5rem;
	line-height: 1.8rem;
	font-weight: normal;
	margin-bottom: 15px;
}

.description-text p {
	line-height: 1.6;
	color: #555;
}

.description-text h4 {
	font-size: 1.1rem;
	font-weight: normal;
	margin: 2em 0 .5em 0;
}

.description-text ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.description-text ul li {
	padding: 8px 0;
	line-height: 1.5;
	border-bottom: 1px solid rgba(0,0,0,.06);
}

.description-text ul li:last-child {
	border-bottom: none;
}

/* Specs tab */

.specs-wrapper {
	max-width: 900px;
	margin: 0 auto;
	padding: 20px 0;
}

.specs-table {
	width: 100%;
	border-collapse: collapse;
	font-family: sans-serif;
	font-size: 15px;
	margin-bottom: 30px;
}

.specs-table th, .specs-table td {
	padding: 15px;
	text-align: left;
	border-bottom: 1px solid rgba(0,0,0,.1);
}

.specs-table th {
	width: 35%;
	color: #555;
	font-weight: 600;
}

.specs-table td {
	color: #333;
}

/* Features tab */

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 25px;
	margin-bottom: 30px;
}

.feature-item {
	background: #fff;
	padding: 25px;
	border-radius: var(--radius);
}

.feature-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 10px;
}

.feature-text {
	color: #525f7f;
	line-height: 1.6;
}

/* FAQ */

.faq-wrapper {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	border-bottom: 1px solid rgba(0,0,0,.1);
	margin-bottom: 20px;
}

.faq-question {
	width: 100%;
	background: none;
	border: none;
	padding: 20px 0;
	text-align: left;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.faq-answer {
	padding: 0 0 20px 0;
	color: #525f7f;
	line-height: 1.6;
	display: none;
}

.faq-answer.open {
	display: block;
	animation: fadeIn 0.3s ease;
}

.faq-icon {
	transition: transform 0.3s ease;
	width: 20px;
	height: 20px;
}
.faq-icon::after {
	position: absolute;
	right: 0;
	top: 0;
	font-family: 'Material Icons';
	content: '\e313';
	display: inline-block;
	font-size: 20px;
	width: 20px;
	height: 20px;
	line-height: 20px;
	font-weight: 400;
	border-radius: 50%;
	background: #000;
	color: #fff;
	text-align: center;
	transition: all .25s ease-in-out 0s;
}

.faq-question.open .faq-icon {
	transform: rotate(180deg);
}


/* ========== Atelier section ========== */

.atelier-section {
	background: #4fc477;
	padding: 2vw 0 100px 0;
}

.atelier-section h3 {
	font-size: 2rem;
	line-height: 2.2rem;
	font-weight: normal;
	margin-bottom: 20px;
}

.atelier-section p {
	font-size: .95rem;
	line-height: 1.25rem;
}

.atelier-flex {
	display: flex;
	align-items: center;
	gap: 40px;
	flex-wrap: wrap;
}

.atelier-image {
	flex: 1;
	min-width: 300px;
}

.atelier-image img {
	width: 100%;
	border-radius: var(--radius);
}

.atelier-content {
	flex: 1;
	min-width: 300px;
}

.atelier-content p + p {
	margin-top: 15px;
}

.atelier-badges {
	margin-top: 25px;
	display: flex;
	gap: 15px;
	align-items: center;
}

.badge {
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: bold;
}

.badge-france {
	background: rgba(255,255,255,.3);
	color: #000;
}

.badge-repair {
	background: rgba(0,0,0,.1);
	color: #000;
}

.atelier-section a.arrow {
	margin-top: 25px;
}


/* ========== Trust section ========== */

.trust-section {
	background: var(--jaune);
	padding: 2vw 0 100px 0;
	text-align: center;
}

.trust-section h3 {
	font-size: 2rem;
	line-height: 2.2rem;
	font-weight: normal;
	text-align: center;
	margin-bottom: 40px;
}

.trust-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-top: 40px;
}

.trust-item {
	text-align: center;
	background: rgba(255,255,255,.2);
	padding: 30px;
	border-radius: var(--radius);
}

.trust-icon {
	background: #000;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	margin: 0 auto 15px auto;
}
.trust-icon::before {
	font-family: 'Material Icons';
	color: #fff;
	font-size: 40px;
	line-height: 80px;
}
.trust-icon.lock::before {
	content: '\e897';
}
.trust-icon.cancel::before {
	content: '\e5c9';
}
.trust-icon.security::before {
	content: '\e32a';
}

.trust-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 8px;
}

.trust-text {
	line-height: 1.6;
}


/* ========== Mobile Responsive ========== */

@media (max-width: 768px) {
	.container {
		padding: 0 15px;
	}

	.product-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.product-images {
		position: static;
	}

	.cta-buttons {
		flex-direction: column;
	}

	.btn-primary, .btn-secondary {
		min-width: auto;
	}

	.tabs {
		flex-wrap: wrap;
		gap: 0;
	}

	.tab {
		flex: 1;
		white-space: nowrap;
		padding: 12px 5px;
		font-size: 12px;
	}

	.features-grid {
		grid-template-columns: 1fr;
	}

	.trust-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.thumbnail-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 8px;
	}

	.atelier-flex {
		flex-direction: column;
	}

	.atelier-image, .atelier-content {
		min-width: 0;
		width: 100%;
	}
}

@media (max-width: 480px) {
	.product-section {
		padding: 40px 0 60px 0;
	}

	.purchase-section {
		padding: 20px;
	}

	.quantity-controls {
		justify-content: center;
	}

	.main-image {
		height: 250px;
	}

	.product-title {
		font-size: 28px;
	}

	.thumbnail-grid {
		gap: 6px;
	}
}
