@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);
}


/* Product Section */

.product-section {
	padding: 3vw 0;
}

.product-section .wrapper {
	
}

.product-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
	background: var(--gris);
	border-radius: 5vw;
	padding: 5vw;
}
        
/* Product Images - UPDATED */

.product-images {
	position: sticky;
	top: 20px;
}

.main-image {
	width: 100%;
	height: 500px;
	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; /* Ensure image doesn't overflow */
	position: relative;
}

.main-image:hover {
	transform: scale(1.02);
}

.main-image img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* This ensures the entire image is visible */
	display: block;
}

.thumbnail-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.thumbnail {
	position: relative;
	width: 100%;
	padding-bottom: 100%; /* This creates a square aspect ratio */
	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; /* This crops the image to fill the square */
	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.5rem;
	line-height: 1.25em;
	margin-bottom: 60px;
	margin-top: 5px;
	font-weight: 400;
	text-align:center;
}


#batchInfo {
	background: #fff;
	border-radius: 30px;
	padding: 10px 30px;
}

.rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 25px;
}

.stars {
	color: #ffc107;
	font-size: 18px;
}

.rating-text {
	color: #8898aa;
	font-size: 14px;
}

.price-section {
	text-align: center;
	margin-bottom: 40px;
}

body.page main .current-price {
	font-size: 4rem;
	line-height: 1em;
	font-weight: 600;
	margin-bottom: 1rem;
}

.original-price {
	font-size: 24px;
	color: #8898aa;
	text-decoration: line-through;
	margin-right: 15px;
}

.discount-badge {
	background: var(--jaune);
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 600;
	display: inline-block;
}

.price-note {
	font-size: 14px;
	color: #525f7f;
	margin-top: 10px;
}
        
 /* Quantity and Add to Cart */

.purchase-section {
	background: #fff;
	border-radius: 30px;
	padding: 30px;
}

.quantity-section {
	margin-bottom: 25px;
}

.quantity-label {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 10px;
	display: block;
}

.quantity-controls {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
}

.quantity-btn {
	width: 40px;
	height: 40px;
	border: 2px solid #d6dbe3;
	background: white;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 18px;
	font-weight: 600;
	color: #32325d;
	transition: all 0.3s ease;
}

.quantity-btn:hover {
	border-color: var(--jaune);
	background: var(--jaune);
}

.quantity-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.quantity-input {
	width: 80px;
	height: 40px;
	text-align: center;
	border: 2px solid #d6dbe3;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	color: #32325d;
}

.quantity-input:focus {
	outline: none;
	border-color: #635bff;
}

.total-price {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 20px;
}

.cta-buttons {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.btn-primary {
	background: #000;
	color: white;
	border: none;
	padding: 16px 32px;
	border-radius: 50px;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	text-transform:uppercase;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	min-width: 200px;
}

.btn-primary:hover {
	transform: translateY(-2px);
}

.btn-secondary {
	background: white;
	color: #635bff;
	border: 2px solid #635bff;
	padding: 14px 32px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	min-width: 180px;
}

.btn-secondary:hover {
	background: #635bff;
	color: white;
}
        
        /* Product Details Tabs */

.product-details {
	margin-top: 60px;
}

.tabs {
	display: flex;
	border-bottom: 2px solid #e6ebf1;
	margin-bottom: 30px;
}

.tab {
	padding: 15px 25px;
	background: none;
	border: none;
	font-size: 16px;
	font-weight: 600;
	color: #8898aa;
	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 {
	font-size: 16px;
	line-height: 1.8;
	color: #525f7f;
	margin-bottom: 30px;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 25px;
	margin-bottom: 30px;
}

.feature-item {
	background: var(--gris);
	padding: 25px;
	border-radius: 15px;
}

.feature-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 10px;
}

.feature-text {
	color: #525f7f;
	line-height: 1.6;
}

.specs-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 30px;
}

.specs-table th, .specs-table td {
	padding: 15px;
	text-align: left;
	border-bottom: 1px solid #e6ebf1;
}

.specs-table th {
	background: #f8f9fc;
	font-weight: 600;
	color: #32325d;
}

.specs-table td {
	color: #525f7f;
}

.faq-item {
	border-bottom: 1px solid #e6ebf1;
	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;
	color: #000;
	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);
}
        
        /* Trust Indicators */

.trust-section {
	background: var(--jaune);
	padding: 60px 0;
	text-align: center;
	border-radius:5vw 5vw 0 0;
	transform: translateY(5vw);
}

.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: 3vw;
}

.trust-icon {
	background: #000;
	width: 100px;
	height: 100px;
	border-radius:50%;
	margin: 0 auto 15px auto;
}
.trust-icon::before {
	font-family: 'Material Icons';
	color: #fff;
	font-size: 50px;
	line-height:100px;
}
.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;
	}
	
	.main-image {
		height: 300px;
	}
	
	.product-title {
		font-size: 32px;
	}
	
	.product-subtitle {
		font-size: 18px;
	}
	
	.current-price {
		font-size: 32px;
	}
	
	.cta-buttons {
		flex-direction: column;
	}
	
	.btn-primary, .btn-secondary {
		min-width: auto;
	}
	
	.tabs {
		flex-wrap: wrap;
	}
	
	.tab {
		flex: 1;
		min-width: 120px;
		padding: 12px 15px;
		font-size: 14px;
	}
	
	.features-grid {
		grid-template-columns: 1fr;
	}
	
	.trust-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	
	.nav-links {
		gap: 15px;
	}
	
	.thumbnail-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 8px;
	}
}

.batch-info {
	background: #fff;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 30px;
	text-align: center;
}

.batch-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 10px;
}

.batch-subtitle {
	font-size: 16px;
	color: #6c757d;
	margin-bottom: 20px;
}

.progress-container {
	width: 100%;
	height: 30px;
	background-color: #e9ecef;
	border-radius: 15px;
	overflow: hidden;
	position: relative;
	margin-bottom: 15px;
}

.progress-bar {
	height: 100%;
	background: var(--jaune);
	transition: width 0.3s ease;
	position: relative;
	overflow: hidden;
}

.progress-bar::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
);
	background-size: 40px 40px;
	animation: progress-animation 1s linear infinite;
}

					  @keyframes progress-animation {
0% {
	background-position: 0 0;
}

100% {
	background-position: 40px 40px;
}
}

					  .batch-numbers {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 10px;
}

.units-sold {
	font-size: 14px;
	color: #6c757d;
}

.units-left {
	font-size: 20px;
	font-weight: 700;
	color: #e74c3c;
}

.units-left-label {
	font-size: 14px;
	color: #6c757d;
	font-weight: 400;
}

					  /* Animation pour l'urgence quand il reste peu d'unités */

.low-stock .units-left {
	animation: pulse 2s infinite;
}

					  @keyframes pulse {
0% {
	transform: scale(1);
}

50% {
	transform: scale(1.05);
}

100% {
	transform: scale(1);
}
}

					  .urgency-message {
	font-size: 13px;
	color: #e74c3c;
	margin-top: 10px;
	font-weight: 500;
	display: none;
}

.low-stock .urgency-message {
	display: block;
}

</style>
        
        @media (max-width: 480px) {
	.product-section {
	padding: 40px 0;
}

.purchase-section {
	padding: 20px;
}

.quantity-controls {
	justify-content: center;
}

.main-image {
	height: 250px;
}

.product-title {
	font-size: 28px;
}

.thumbnail-grid {
	gap: 6px;
}
}
  