/* ==========================================================
   Single Product Page — CorVanta style
   Place at: /wp-content/themes/hello-elementor-child/assets/css/single-product.css
   Enqueue via functions.php (see enqueue-snippet.php)
   ========================================================== */

:root {
	--cvp-navy: #101a33;
	--cvp-navy-light: #16213f;
	--cvp-gold: #e8c168;
	--cvp-gold-light: #f7ecd0;
	--cvp-text: #1c2333;
	--cvp-muted: #6b7280;
	--cvp-border: #e6e8ee;
	--cvp-bg-soft: #f7f8fb;
	--cvp-radius: 14px;
}

.cvp-wrap {
	max-width: 1400px;
	margin: 0 auto;
	padding: 40px 20px 80px;
	color: var(--cvp-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.cvp-wrap * {
	box-sizing: border-box;
}

/* ---------- TOP: gallery + summary ---------- */
.cvp-top {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	margin-bottom: 64px;
}

@media (max-width: 860px) {
	.cvp-top {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

/* Gallery */
.cvp-gallery__main {
	background: var(--cvp-bg-soft);
	border-radius: var(--cvp-radius);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
}

.cvp-gallery__main-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: opacity 0.15s ease;
}

.cvp-gallery__thumbs {
	display: flex;
	gap: 12px;
	margin-top: 14px;
	flex-wrap: wrap;
}

.cvp-gallery__thumb {
	width: 68px;
	height: 68px;
	padding: 0;
	border: 2px solid var(--cvp-border);
	border-radius: 10px;
	background: var(--cvp-bg-soft);
	overflow: hidden;
	cursor: pointer;
	transition: border-color 0.15s ease;
}

.cvp-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.cvp-gallery__thumb:hover {
	border-color: var(--cvp-gold);
}

.cvp-gallery__thumb.is-active {
	border-color: var(--cvp-navy);
}

/* Summary */
.cvp-badge {
	display: inline-block;
	background: var(--cvp-gold-light);
	color: #8a6d1f;
	font-size: 13px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 16px;
}

.cvp-summary__title {
	font-size: 34px;
	font-weight: 700;
	margin: 0 0 8px;
	line-height: 1.2;
}

.cvp-summary__cas {
	color: var(--cvp-muted);
	font-size: 15px;
	margin: 0 0 22px;
}

.cvp-variation-wrap {
	display: flex;
	flex-direction: column;
}

.cvp-variation-wrap__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.cvp-variation-wrap__label {
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--cvp-muted);
	margin: 0;
}

.cvp-variation-btns {
	display: flex;
	gap: 10px;
	margin-bottom: 22px;
	flex-wrap: wrap;
}

.cvp-var-btn {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 96px;
	padding: 10px 18px;
	border-radius: 12px;
	border: 1.5px solid var(--cvp-border);
	background: #fff;
	cursor: pointer;
	color: var(--cvp-text);
	transition: all 0.15s ease;
}

.cvp-var-btn__label {
	font-size: 14px;
	font-weight: 700;
}

.cvp-var-btn:hover {
	border-color: var(--cvp-navy);
}

.cvp-var-btn.is-active {
	border-color: var(--cvp-navy);
	background: var(--cvp-navy);
}

.cvp-var-btn.is-active .cvp-var-btn__label {
	color: #fff;
}

.cvp-var-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* ---------- Quantity selector (1-15, no per-quantity discount) ---------- */
.cvp-qty-wrap {
	margin-bottom: 10px;
}

.cvp-qty-wrap__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.cvp-qty-wrap__label {
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--cvp-muted);
	margin: 0;
}

.cvp-qty-wrap__total {
	font-size: 20px;
	font-weight: 700;
	color: var(--cvp-text);
}

.cvp-qty-select {
	width: 100%;
	padding: 12px 16px;
	border-radius: 12px;
	border: 1.5px solid var(--cvp-border);
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	color: var(--cvp-text);
	cursor: pointer;
}

.cvp-qty-select:focus {
	outline: none;
	border-color: var(--cvp-navy);
}

.cvp-bulk-note {
	font-size: 12.5px;
	color: var(--cvp-muted);
	margin: 0 0 22px;
	line-height: 1.5;
}

.cvp-bulk-note a {
	color: var(--cvp-navy);
	font-weight: 600;
	text-decoration: underline;
}

.cvp-summary__price {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 22px;
}

.cvp-summary__price del {
	color: var(--cvp-muted);
	font-weight: 400;
	font-size: 18px;
	margin-right: 8px;
}

.cvp-summary__price ins {
	text-decoration: none;
}

.cvp-add-to-cart {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 15px 24px;
	background: #fff;
	border: 1.5px solid var(--cvp-navy);
	color: var(--cvp-navy);
	font-weight: 700;
	font-size: 15px;
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.15s ease;
	margin-bottom: 24px;
}

.cvp-add-to-cart__price {
	font-weight: 700;
}

.cvp-add-to-cart:hover {
	background: var(--cvp-navy);
	color: #fff;
}

.cvp-add-to-cart:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.cvp-short-description {
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cvp-short-description p:last-child {
	margin-bottom: 0;
}

/* Notice box */
.cvp-notice {
    background: #fff;
    border: 0px;
    border-radius: var(--cvp-radius);
    padding: 32px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
}

.cvp-notice__title {
	font-weight: 700;
	margin: 0 0 6px;
	font-size: 15px;
}

.cvp-notice__text {
	margin: 0;
	color: var(--cvp-muted);
	font-size: 13.5px;
	line-height: 1.6;
}

/* ---------- Description ---------- */
.cvp-description {
	max-width: 100%;
	margin: 0 0 56px;
	line-height: 1.7;
	color: var(--cvp-text);
}

/* ---------- Generic section ---------- */
.cvp-section {
	margin-bottom: 30px;
}

.cvp-section__title {
	font-size: 26px;
	font-weight: 700;
	margin: 0 0 24px;
}

/* Highlights grid */
.cvp-highlights__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
    align-items: center;
}

@media (max-width: 640px) {
	.cvp-highlights__grid {
		grid-template-columns: 1fr;
	}
}

.cvp-highlight-item__name {
	font-weight: 700;
	margin: 0 0 6px;
	font-size: 16px;
}

.cvp-highlight-item__desc {
	margin: 0;
	color: var(--cvp-muted);
	font-size: 14.5px;
	line-height: 1.6;
}

/* Why researchers choose */

.cvp-why__list {
	margin: 0;
	padding-left: 20px;
	color: var(--cvp-text);
	line-height: 2;
}

/* Specs table */
.cvp-specs__table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid var(--cvp-border);
	border-radius: var(--cvp-radius);
	overflow: hidden;
}

.cvp-specs__table th {
	text-align: left;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--cvp-muted);
	padding: 12px 20px;
	border-bottom: 1px solid var(--cvp-border);
}

.cvp-specs__table td {
	padding: 14px 20px;
	border-bottom: 1px solid var(--cvp-border);
	font-size: 14.5px;
}

.cvp-specs__table tr:last-child td {
	border-bottom: none;
}

.cvp-specs__table td:first-child {
	font-weight: 600;
	width: 50%;
}

.cvp-specs__table td:last-child {
	color: var(--cvp-muted);
	text-align: right;
}

/* Disclaimer */
.cvp-disclaimer__box {
    background: rgba(234, 240, 250, 1);
    border-radius: var(--cvp-radius);
    padding: 32px;
}

.cvp-disclaimer__title {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 700;
}

.cvp-disclaimer__text {
	margin: 0;
	color: var(--cvp-muted);
	font-size: 14px;
	line-height: 1.65;
}

/* Related products */
.cvp-related__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

/* ---------- Sticky add-to-cart bar ---------- */
.cvp-sticky-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: -100px;
	z-index: 999;
	background: #fff;
	border-top: 1px solid var(--cvp-border);
	box-shadow: 0 -6px 24px rgba(16, 26, 51, 0.1);
	transition: bottom 0.25s ease;
}
 
.cvp-sticky-bar.is-visible {
	bottom: 0;
}
 
.cvp-sticky-bar__inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 12px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
 
.cvp-sticky-bar__info {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}
 
.cvp-sticky-bar__img {
	width: 44px;
	height: 44px;
	object-fit: contain;
	background: var(--cvp-bg-soft);
	border-radius: 8px;
	flex-shrink: 0;
}
 
.cvp-sticky-bar__text {
	min-width: 0;
}
 
.cvp-sticky-bar__title {
	margin: 0 0 2px;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
 
.cvp-sticky-bar__price {
	font-size: 15px;
	font-weight: 700;
	color: var(--cvp-navy);
}
 
.cvp-sticky-bar__btn {
	width: auto;
	margin: 0;
	padding: 11px 28px;
	flex-shrink: 0;
	white-space: nowrap;
}

@media (max-width: 860px) {
	.cvp-related__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.cvp-related-card {
	display: block;
	text-decoration: none;
	color: inherit;
	border: 1px solid var(--cvp-border);
	border-radius: var(--cvp-radius);
	overflow: hidden;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
	background: #fff;
}

.cvp-related-card:hover {
	box-shadow: 0 10px 24px rgba(16, 26, 51, 0.08);
	transform: translateY(-2px);
}

.cvp-related-card__img-wrap {
	background: var(--cvp-bg-soft);
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cvp-related-card__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.cvp-related-card__body {
	padding: 14px 16px 18px;
}

.cvp-related-card__cat {
	display: inline-block;
	background: var(--cvp-navy);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 999px;
	margin-bottom: 8px;
}

.cvp-related-card__name {
	margin: 0 0 6px;
	font-weight: 700;
	font-size: 14.5px;
}

.cvp-related-card__price {
	color: var(--cvp-muted);
	font-size: 13.5px;
}

/* FAQ */
.cvp-faq__eyebrow {
	display: inline-block;
	background: var(--cvp-gold-light);
	color: #8a6d1f;
	font-size: 13px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 14px;
}

.cvp-faq__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cvp-faq__item {
	border: 1px solid var(--cvp-border);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

.cvp-faq__question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: none;
	border: none;
	text-align: left;
	padding: 18px 22px;
	font-size: 15.5px;
	font-weight: 600;
	cursor: pointer;
	color: var(--cvp-text);
}

.cvp-faq__icon {
	flex-shrink: 0;
	font-size: 20px;
	line-height: 1;
	color: var(--cvp-muted);
	transition: transform 0.15s ease;
}

.cvp-faq__item.is-open .cvp-faq__icon {
	transform: rotate(45deg);
}

.cvp-faq__answer {
	padding: 0 22px 20px;
	color: var(--cvp-muted);
	font-size: 14.5px;
	line-height: 1.65;
}

.cvp-faq__answer[hidden] {
	display: none;
}

/* CTA */
.cvp-cta {
	background: linear-gradient(120deg, var(--cvp-navy) 0%, var(--cvp-navy-light) 100%);
	border-radius: 20px;
	padding: 48px;
	color: #fff;
	margin-top: 64px;
}

.cvp-cta__content {
	max-width: 520px;
}

.cvp-cta__title {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 14px;
	line-height: 1.25;
}

.cvp-cta__desc {
	color: rgba(255, 255, 255, 0.75);
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 26px;
}

.cvp-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	color: var(--cvp-navy);
	font-weight: 700;
	font-size: 14.5px;
	padding: 13px 24px;
	border-radius: 999px;
	text-decoration: none;
	transition: opacity 0.15s ease;
}

.cvp-cta__btn:hover {
	opacity: 0.85;
}


@media (max-width: 480px) {
	.cvp-sticky-bar__title {
		display: none;
	}
}