/**
 * Gemini Downloadables: purchase box + "what's included" panel.
 * Self-contained, explicit colors (light), scoped under .gdl-* so it does not
 * collide with the theme. Mirrors the approved mockup.
 */

.gdl-purchase,
.gdl-included {
	--gdl-ink: #172231;
	--gdl-muted: #5b6675;
	--gdl-line: #e2e7ee;
	--gdl-line-strong: #cfd7e1;
	--gdl-navy: #16324f;
	--gdl-navy-2: #22557f;
	--gdl-navy-tint: #eaf1f8;
	--gdl-brass: #9a6a16;
	--gdl-brass-tint: #f6efdf;
	--gdl-surface: #ffffff;
	--gdl-surface-2: #f6f8fb;
	box-sizing: border-box;
	color: var(--gdl-ink);
	font-family: inherit;
}

.gdl-purchase *,
.gdl-included * {
	box-sizing: border-box;
}

/* ---------- purchase box ---------- */

.gdl-purchase {
	background: var(--gdl-surface);
	border: 1px solid var(--gdl-line);
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(20, 35, 55, .06), 0 8px 24px rgba(20, 35, 55, .08);
	padding: 20px;
	max-width: 520px;
}

.gdl-h {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gdl-muted);
	margin: 0 0 14px;
}

.gdl-opts {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.gdl-opt {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	border: 1.5px solid var(--gdl-line-strong);
	border-radius: 10px;
	padding: 14px 16px;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}

.gdl-opt:hover {
	border-color: var(--gdl-navy-2);
}

.gdl-opt input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.gdl-dot {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid var(--gdl-line-strong);
	display: grid;
	place-items: center;
	transition: border-color .15s;
}

.gdl-dot::after {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--gdl-navy);
	transform: scale(0);
	transition: transform .15s;
}

.gdl-opt-body {
	flex: 1 1 auto;
	min-width: 0;
}

.gdl-opt-name {
	font-weight: 600;
	font-size: 15.5px;
	line-height: 1.3;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	color: var(--gdl-ink);
}

.gdl-opt-sub {
	display: block;
	color: var(--gdl-muted);
	font-size: 13px;
	margin-top: 2px;
}

.gdl-opt-price {
	font-weight: 700;
	font-size: 18px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	color: var(--gdl-ink);
}

.gdl-tag {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--gdl-brass);
	background: var(--gdl-brass-tint);
	border-radius: 999px;
	padding: 3px 8px;
}

.gdl-opt.is-selected {
	border-color: var(--gdl-navy);
	background: var(--gdl-navy-tint);
}

.gdl-opt.is-selected .gdl-dot {
	border-color: var(--gdl-navy);
}

.gdl-opt.is-selected .gdl-dot::after {
	transform: scale(1);
}

.gdl-opt input:focus-visible + .gdl-dot {
	outline: 2px solid var(--gdl-navy-2);
	outline-offset: 3px;
}

.gdl-buy {
	display: flex;
	gap: 12px;
	align-items: stretch;
	margin-top: 18px;
}

.gdl-qty {
	display: flex;
	align-items: center;
	border: 1.5px solid var(--gdl-line-strong);
	border-radius: 10px;
	overflow: hidden;
}

.gdl-qty button {
	width: 40px;
	border: 0;
	background: var(--gdl-surface-2);
	color: var(--gdl-ink);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.gdl-qty button:hover {
	background: var(--gdl-navy-tint);
}

.gdl-qty-input {
	width: 44px;
	border: 0;
	text-align: center;
	font: inherit;
	font-weight: 600;
	background: var(--gdl-surface);
	color: var(--gdl-ink);
	-moz-appearance: textfield;
}

.gdl-add {
	flex: 1 1 auto;
	border: 0;
	border-radius: 10px;
	background: var(--gdl-navy);
	color: #fff;
	font: inherit;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	white-space: nowrap;
	text-decoration: none;
	transition: background .15s;
}

.gdl-add:hover,
.gdl-add:focus {
	background: var(--gdl-navy-2);
	color: #fff;
}

.gdl-cta-price {
	font-variant-numeric: tabular-nums;
}

.gdl-fine {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	color: var(--gdl-muted);
	font-size: 13px;
	line-height: 1.45;
	margin: 14px 0 0;
}

.gdl-fine svg {
	flex: 0 0 auto;
	margin-top: 1px;
}

/* ---------- what's included ---------- */

.gdl-included {
	background: var(--gdl-surface);
	border: 1px solid var(--gdl-line);
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(20, 35, 55, .06), 0 8px 24px rgba(20, 35, 55, .08);
	padding: 18px 20px;
	max-width: 340px;
}

.gdl-inc-h {
	margin: 0 0 4px;
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gdl-muted);
	font-weight: 600;
}

.gdl-inc-count {
	font-size: 13px;
	color: var(--gdl-brass);
	font-weight: 600;
	margin-bottom: 12px;
}

.gdl-inc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.gdl-inc-list li {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 9px 0;
	border-bottom: 1px solid var(--gdl-line);
	font-size: 14.5px;
	color: var(--gdl-ink);
}

.gdl-inc-list li:last-child {
	border-bottom: 0;
}

.gdl-pdf {
	flex: 0 0 auto;
	color: var(--gdl-brass);
}

.gdl-inc-name {
	min-width: 0;
}

.gdl-inc-tag {
	margin-left: auto;
	font-size: 11px;
	color: var(--gdl-muted);
}

@media (max-width: 600px) {
	.gdl-purchase,
	.gdl-included {
		max-width: none;
	}
}

/* ---------- full product layout ---------- */

.gdlp {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 24px;
	color: #172231;
	box-sizing: border-box;
}

.gdlp * {
	box-sizing: border-box;
}

.gdlp-breadcrumbs {
	padding: 18px 0 2px;
	font-size: 13.5px;
	color: #5b6675;
}

.gdlp-breadcrumbs .woocommerce-breadcrumb {
	color: #5b6675;
	font-size: 13.5px;
	margin: 0;
}

.gdlp-breadcrumbs a {
	color: #5b6675;
	text-decoration: none;
}

.gdlp-breadcrumbs a:hover {
	color: #22557f;
}

.gdlp-top {
	display: grid;
	grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
	gap: 44px;
	align-items: start;
	padding: 8px 0 40px;
}

.gdlp-cover-img {
	width: 100%;
	height: auto;
	display: block;
	border: 1px solid #e2e7ee;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(20, 35, 55, .06), 0 8px 24px rgba(20, 35, 55, .08);
}

.gdlp-eyebrow {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: #9a6a16;
	margin: 0 0 8px;
}

.gdlp-title {
	font-size: clamp(26px, 3.4vw, 36px);
	line-height: 1.14;
	font-weight: 700;
	margin: 0 0 14px;
	color: #172231;
}

.gdlp-summary {
	font-size: 16px;
	line-height: 1.6;
	color: #172231;
	max-width: 60ch;
	margin: 0 0 6px;
}

.gdlp-summary p {
	margin: 0 0 12px;
}

.gdlp-desc {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 44px;
	align-items: start;
	border-top: 1px solid #e2e7ee;
	padding: 32px 0 40px;
}

.gdlp-desc-h {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 12px;
	color: #172231;
}

.gdlp-prose {
	max-width: 64ch;
	font-size: 15.5px;
	line-height: 1.65;
	color: #172231;
}

.gdlp-prose p {
	margin: 0 0 14px;
}

@media (max-width: 820px) {
	.gdlp-top {
		grid-template-columns: 1fr;
		gap: 26px;
	}
	.gdlp-cover {
		max-width: 300px;
	}
	.gdlp-desc {
		grid-template-columns: 1fr;
		gap: 26px;
	}
}
