/* ── Inline / archive CTA blocks ─────────────────────────────────────────── */

.coil-cta {
	margin: 2.5rem 0;
	padding: 1.75rem 2rem;
	border-radius: 6px;
	background: linear-gradient(135deg, #1a2b3c 0%, #243a50 100%);
	color: #fff;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.coil-cta--inline {
	margin: 2rem 0;
}

.coil-cta--end {
	margin-top: 3rem;
}

.coil-cta--archive {
	margin: 3rem 0 1rem;
}

.coil-cta__headline {
	margin: 0 0 0.35rem;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}

.coil-cta__text {
	margin: 0 0 1.25rem;
	font-size: 1rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.88);
}

.coil-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.coil-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.4rem;
	border-radius: 4px;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
	white-space: nowrap;
}

.coil-cta__btn--primary {
	background: #c8a45a;
	color: #1a2b3c;
	border: 2px solid #c8a45a;
}

.coil-cta__btn--primary:hover {
	background: #d4b46a;
	border-color: #d4b46a;
	color: #1a2b3c;
}

.coil-cta__btn--secondary {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.55);
}

.coil-cta__btn--secondary:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
	color: #fff;
}

/* ── Sticky bottom CTA ───────────────────────────────────────────────────── */

.coil-sticky-cta {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 389;
	background: #1a2b3c;
	color: #fff;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.18);
	transform: translateY(100%);
	transition: transform 0.3s ease;
	padding-bottom: env(safe-area-inset-bottom, 0);
}

.coil-sticky-cta.is-visible {
	transform: translateY(0);
}

body.coil-sticky-cta-active {
	padding-bottom: calc(var(--coil-sticky-cta-height, 52px) + env(safe-area-inset-bottom, 0));
}

.coil-sticky-cta__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.6rem 1.25rem;
	font-size: 0.9rem;
}

.coil-sticky-cta__label {
	font-weight: 600;
}

.coil-sticky-cta__link {
	color: #c8a45a;
	font-weight: 600;
	text-decoration: none;
}

.coil-sticky-cta__link:hover {
	color: #d4b46a;
	text-decoration: underline;
}

.coil-sticky-cta__sep {
	opacity: 0.4;
}

@media (max-width: 600px) {
	.coil-sticky-cta__sep {
		display: none;
	}

	.coil-sticky-cta__inner {
		flex-direction: column;
		gap: 0.25rem;
		padding: 0.5rem 1rem;
	}
}

/* ── Product page quote CTA ──────────────────────────────────────────────── */

.coil-product-quote--primary {
	margin: 1rem 0 1.25rem;
	padding: 1.25rem 1.5rem;
	border: 2px solid #c8a45a;
	border-radius: 6px;
	background: #faf8f4;
}

.coil-product-quote__btn {
	display: inline-block;
	padding: 0.85rem 2rem;
	background: #c8a45a;
	color: #1a2b3c !important;
	border-radius: 4px;
	font-size: 1.05rem;
	font-weight: 700;
	text-decoration: none !important;
	text-align: center;
	transition: background 0.2s;
}

.coil-product-quote__btn:hover {
	background: #d4b46a;
	color: #1a2b3c !important;
}

.coil-product-quote__note {
	margin: 0.65rem 0 0;
	font-size: 0.85rem;
	color: #555;
	line-height: 1.4;
}

.coil-product-quote--secondary {
	margin: 1rem 0 0;
}

.coil-product-quote__link {
	font-weight: 600;
	color: #1a2b3c;
	text-decoration: underline;
}

.coil-product-quote__link:hover {
	color: #c8a45a;
}

/* ── Product listing clickability ────────────────────────────────────────── */

.tax-product_cat .wd-product .wd-product-img-link,
.post-type-archive-product .wd-product .wd-product-img-link,
.woocommerce-shop .wd-product .wd-product-img-link {
	display: block;
	position: relative;
	z-index: 1;
	cursor: pointer;
}

.tax-product_cat .wd-product .wd-entities-title a,
.post-type-archive-product .wd-product .wd-entities-title a,
.woocommerce-shop .wd-product .wd-entities-title a,
.tax-product_cat .wd-product .wd-loop-prod-title a,
.post-type-archive-product .wd-product .wd-loop-prod-title a,
.woocommerce-shop .wd-product .wd-loop-prod-title a {
	cursor: pointer;
}

/* Let swatches / buttons remain clickable; pass clicks through elsewhere on thumb */
.tax-product_cat .wd-product .wd-product-thumb .wd-buttons,
.post-type-archive-product .wd-product .wd-product-thumb .wd-buttons,
.woocommerce-shop .wd-product .wd-product-thumb .wd-buttons,
.tax-product_cat .wd-product .wd-product-thumb .wrapp-swatches,
.post-type-archive-product .wd-product .wd-product-thumb .wrapp-swatches,
.woocommerce-shop .wd-product .wd-product-thumb .wrapp-swatches {
	pointer-events: none;
}

.tax-product_cat .wd-product .wd-product-thumb .wd-buttons a,
.post-type-archive-product .wd-product .wd-product-thumb .wd-buttons a,
.woocommerce-shop .wd-product .wd-product-thumb .wd-buttons a,
.tax-product_cat .wd-product .wd-product-thumb .wd-buttons button,
.post-type-archive-product .wd-product .wd-product-thumb .wd-buttons button,
.woocommerce-shop .wd-product .wd-product-thumb .wd-buttons button,
.tax-product_cat .wd-product .wd-product-thumb .wrapp-swatches a,
.post-type-archive-product .wd-product .wd-product-thumb .wrapp-swatches a,
.woocommerce-shop .wd-product .wd-product-thumb .wrapp-swatches a,
.tax-product_cat .wd-product .wd-product-thumb .wrapp-swatches button,
.post-type-archive-product .wd-product .wd-product-thumb .wrapp-swatches button,
.woocommerce-shop .wd-product .wd-product-thumb .wrapp-swatches button {
	pointer-events: auto;
}

.coil-product-card-link {
	cursor: pointer;
}

.coil-product-card-link .wd-entities-title,
.coil-product-card-link .wd-loop-prod-title {
	cursor: pointer;
}

/* ── Product gallery zoom hint ───────────────────────────────────────────── */

.single-product .woocommerce-product-gallery__image > a,
.single-product .woocommerce-product-gallery__image img {
	cursor: zoom-in;
}

.single-product .woocommerce-product-gallery.image-action-popup .woocommerce-product-gallery__image > a::after {
	content: "";
	position: absolute;
	right: 12px;
	bottom: 12px;
	width: 32px;
	height: 32px;
	background: rgba(0, 0, 0, 0.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") center / 18px no-repeat;
	border-radius: 4px;
	pointer-events: none;
}

.single-product .woocommerce-product-gallery__image {
	position: relative;
}

/* ── Fallback lightbox ───────────────────────────────────────────────────── */

.coil-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.88);
	padding: 2rem;
}

.coil-lightbox[hidden] {
	display: none;
}

.coil-lightbox__img {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
}

.coil-lightbox__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.coil-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 1.5rem;
	cursor: pointer;
}

.coil-lightbox__nav--prev {
	left: 1rem;
}

.coil-lightbox__nav--next {
	right: 1rem;
}
