/* =========================================================================
 * ELVERA — Fiche produit + page Best Sellers
 * ========================================================================= */

/* -------------------------------------------------------------------------
 * LAYOUT HAUT DE FICHE
 * ------------------------------------------------------------------------- */
.ev-product { max-width: 1240px; margin: 0 auto; padding: 40px 24px 0; }

.ev-product__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	margin-bottom: 64px;
}

.ev-product__gallery img {
	border-radius: var(--elvera-radius);
	background: var(--elvera-bg-soft);
}

.ev-product__title {
	margin: 0 0 14px;
	font-size: clamp(28px, 3.5vw, 40px);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--elvera-black);
}

.ev-product__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}
.ev-product__badges li {
	padding: 5px 12px;
	border: 1px solid var(--elvera-line);
	border-radius: 100px;
	font-size: 11.5px;
	font-weight: 500;
	color: #4a4a4a;
}

.ev-product__price {
	margin-bottom: 24px;
	font-size: 22px;
	font-weight: 600;
	color: var(--elvera-black);
}
.ev-product__price del { font-weight: 400; color: #b0b0b0; }

/* Formulaire WooCommerce */
.ev-product__form .variations { width: 100%; margin-bottom: 14px; }
.ev-product__form .variations td { padding: 0 0 12px; }
.ev-product__form .variations label {
	font-size: 13px;
	font-weight: 600;
	color: var(--elvera-ink);
}
.ev-product__form select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--elvera-line);
	border-radius: var(--elvera-radius-sm);
	font-family: inherit;
	font-size: 14px;
	background: #fff;
}

.ev-product__form .single_add_to_cart_button {
	width: 100%;
	padding: 15px 24px !important;
	border: 0;
	border-radius: var(--elvera-radius-sm) !important;
	background: var(--elvera-black) !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 600;
	cursor: pointer;
}
.ev-product__form .single_add_to_cart_button:hover { opacity: 0.87; }

.ev-product__form .quantity { margin-right: 10px; }
.ev-product__form .quantity .qty {
	width: 70px;
	padding: 12px 8px;
	border: 1px solid var(--elvera-line);
	border-radius: var(--elvera-radius-sm);
	text-align: center;
	font-family: inherit;
}

/* Livraison */
.ev-product__ship {
	margin-top: 24px;
	padding: 18px;
	border: 1px solid var(--elvera-line);
	border-radius: var(--elvera-radius);
	background: var(--elvera-bg-soft);
}
.ev-product__ship-line { margin: 0 0 14px; font-size: 13.5px; }
.ev-product__ship-line strong { color: var(--elvera-success); }

.ev-ship-steps {
	display: flex;
	justify-content: space-between;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}
.ev-ship-steps li {
	position: relative;
	flex: 1;
	text-align: center;
	font-size: 12px;
	color: var(--elvera-grey);
}
.ev-ship-steps li span {
	display: block;
	font-weight: 600;
	font-size: 12.5px;
	color: var(--elvera-ink);
}
.ev-ship-steps li:not(:last-child)::after {
	content: "→";
	position: absolute;
	right: -7px;
	top: 2px;
	color: #c8c8c8;
}

/* -------------------------------------------------------------------------
 * BUNDLES
 * ------------------------------------------------------------------------- */
.ev-bundles {
	margin: 0 0 26px;
	padding: 20px;
	border: 1px solid var(--elvera-line);
	border-radius: var(--elvera-radius);
}

.ev-bundles__title {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ev-tier {
	margin-bottom: 10px;
	border: 1px solid var(--elvera-line);
	border-radius: var(--elvera-radius-sm);
	overflow: hidden;
	transition: border-color 0.15s ease;
}
.ev-tier.is-open { border-color: var(--elvera-black); }
.ev-tier--popular.is-open { box-shadow: 0 0 0 1px var(--elvera-black); }

.ev-tier__head {
	position: relative;
	display: block;
	width: 100%;
	padding: 14px 16px;
	border: 0;
	background: #fff;
	font-family: inherit;
	text-align: left;
	cursor: pointer;
}
.ev-tier__head strong { display: block; font-size: 14.5px; }
.ev-tier__meta { font-size: 12.5px; color: var(--elvera-grey); }

.ev-tier__flag {
	position: absolute;
	top: 12px; right: 12px;
	padding: 3px 10px;
	border-radius: 100px;
	background: var(--elvera-black);
	color: #fff;
	font-size: 10.5px;
	font-weight: 600;
}

.ev-tier__body { padding: 4px 16px 16px; background: var(--elvera-bg-soft); }

.ev-tier__row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}
.ev-tier__row > span {
	flex: 0 0 76px;
	font-size: 12px;
	font-weight: 600;
	color: var(--elvera-grey);
}
.ev-tier__row > span.is-free { color: var(--elvera-success); }
.ev-tier__row select {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid var(--elvera-line);
	border-radius: var(--elvera-radius-sm);
	font-family: inherit;
	font-size: 13.5px;
	background: #fff;
}

.ev-tier__price {
	margin: 12px 0 0;
	font-size: 15px;
}
.ev-tier__price del { color: #b0b0b0; margin-right: 6px; }
.ev-tier__price strong { font-size: 18px; }
.ev-tier__price span { font-size: 12.5px; color: var(--elvera-grey); }

.ev-bundles__add { width: 100%; margin-top: 6px; }
.ev-bundles__add:disabled { opacity: 0.35; cursor: not-allowed; }

.ev-bundles__note {
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--elvera-success);
}

/* -------------------------------------------------------------------------
 * BLOC COA
 * ------------------------------------------------------------------------- */
.ev-coa {
	margin-bottom: 64px;
	padding: 40px;
	border: 1px solid var(--elvera-line);
	border-radius: var(--elvera-radius);
	background: var(--elvera-bg-soft);
	text-align: center;
}
.ev-coa h2 {
	margin: 0 0 24px;
	font-size: clamp(20px, 2.6vw, 28px);
	font-weight: 600;
	letter-spacing: -0.015em;
}

.ev-coa__checks {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
}
.ev-coa__checks li {
	padding: 8px 16px;
	border-radius: 100px;
	background: #fff;
	border: 1px solid var(--elvera-line);
	font-size: 13px;
	font-weight: 500;
}
.ev-coa__checks li::before {
	content: "✓ ";
	color: var(--elvera-success);
	font-weight: 700;
}

/* -------------------------------------------------------------------------
 * DESCRIPTION + SPECS
 * ------------------------------------------------------------------------- */
.ev-pdesc {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 48px;
	margin-bottom: 64px;
}

.ev-pdesc__body p {
	font-size: 15.5px;
	line-height: 1.75;
	color: #3d3d3d;
}

.ev-specs {
	padding: 26px;
	border: 1px solid var(--elvera-line);
	border-radius: var(--elvera-radius);
	background: #fff;
	align-self: start;
}
.ev-specs h3 {
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.ev-specs dl { margin: 0; }
.ev-specs dt {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--elvera-grey);
}
.ev-specs dd {
	margin: 2px 0 14px;
	font-size: 14.5px;
	color: var(--elvera-black);
}
.ev-specs dd:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------------------
 * PANEL 4 TESTS
 * ------------------------------------------------------------------------- */
.ev-tests { margin-bottom: 64px; text-align: center; }

.ev-tests__sub {
	max-width: 56ch;
	margin: 0 auto 36px;
	font-size: 14.5px;
	color: var(--elvera-grey);
}

.ev-tests__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	text-align: left;
}

.ev-tests__item {
	padding: 22px;
	border: 1px solid var(--elvera-line);
	border-radius: var(--elvera-radius);
}
.ev-tests__item h3 {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 600;
}
.ev-tests__item h3 span {
	padding: 2px 10px;
	border-radius: 100px;
	background: #e8f5ec;
	color: var(--elvera-success);
	font-size: 11px;
	font-weight: 600;
}
.ev-tests__item p {
	margin: 0;
	font-size: 13px;
	color: var(--elvera-grey);
}

/* -------------------------------------------------------------------------
 * FAQ PRODUIT + RELATED
 * ------------------------------------------------------------------------- */
.ev-faq--product {
	max-width: 760px;
	margin: 0 auto 64px;
	padding: 0;
	background: none;
}

.ev-related { margin-bottom: 72px; }
.ev-related .ev-h2 { margin-bottom: 26px; }

/* -------------------------------------------------------------------------
 * RESPONSIVE
 * ------------------------------------------------------------------------- */
@media (max-width: 900px) {
	.ev-product__top { grid-template-columns: 1fr; gap: 28px; }
	.ev-pdesc { grid-template-columns: 1fr; gap: 28px; }
	.ev-coa { padding: 28px 20px; }
}
