/* Lead landing sections (request prices & samples page).
   Contract:
   - Why upgrade: section .ck-lp-why; row .ck-lp-why-top with column .ck-lp-why-copy (.ck-lp-why-heading,
     .ck-lp-why-intro) and column .ck-lp-why-media (.ck-lp-why-image); row .ck-lp-why-benefits with column
     .ck-lp-benefit-grid holding text modules .ck-lp-benefit.ck-lp-benefit--{icon} (p.ck-lp-benefit-eyebrow, h3, p)
     and, last, button .ck-lp-why-button to the form, centred under the cards.
     Icons: sales, experience, litter, brand, revenue, planet (img/icons/lp-benefit-{icon}.svg).
     Benefit cards run 3 across on desktop, 2 on tablets and 1 on phones; the photo is one card column wide
     and the heading and intro sit at its foot, just above the cards.
   - Quotes: section .ck-lp-quotes, rows .ck-lp-quote-row (+ --reverse), cards .ck-lp-quote
   - Products: specialty section .ck-lp-products, options .ck-lp-option.ck-lp-option--{slug},
     detail column .ck-lp-detail-column holding inner rows .ck-lp-detail.ck-lp-detail--{slug}
   - Form: section .ck-lp-form-section, row .ck-lp-form-card, copy column .ck-lp-form-intro,
     contact form .ck-lp-form
   - Cups pop-up: last section .dl-popup-content.ck-lp-form-section.ck-lp-cups-popup (#ck-cups-quote), a copy of
     the form section opened by .dl-popup-trigger links; lead-landing.js adds the close button.
   - Phones: the form card and the product card run edge to edge.
*/

.ck-lp-why,
.ck-lp-quotes,
.ck-lp-products,
.ck-lp-form-section {
	--ck-lp-ink: var(--ck-shop-ink, #173229);
	--ck-lp-muted: var(--ck-shop-muted, #60746d);
	--ck-lp-line: var(--ck-shop-line, rgba(23, 50, 41, .14));
	--ck-lp-teal: var(--ck-shop-green, #00786b);
	--ck-lp-lime: #baf259;
	--ck-lp-dark: #002a2e;
	--ck-lp-surface-shadow: var(--ck-commerce-surface-shadow, 0 22px 55px rgba(23, 50, 41, .12));
}

/* ---------- Why upgrade ---------- */

/* Divi gives image modules auto side margins, which would shrink a grid item to the (not yet loaded) photo. */
#page-container .ck-lp-why .ck-lp-why-image {
	width: 100%;
	margin: 0 !important;
}

/* Block wrapper so the lazy photo keeps its aspect-ratio space before it loads (the layout aligns to it). */
#page-container .ck-lp-why .ck-lp-why-image .et_pb_image_wrap {
	display: block;
}

#page-container .ck-lp-why .ck-lp-why-image img {
	display: block;
	width: 100%;
	height: auto;
}

#page-container .ck-lp-why .ck-lp-why-intro p {
	max-width: 30em;
	padding: 0;
	color: #5d6552;
	font-size: 19px;
	line-height: 1.55;
}

/* Benefit cards: a lime icon chip above the eyebrow, title and text. */
#page-container .ck-lp-why .ck-lp-benefit {
	position: relative;
	padding: 112px 30px 32px;
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 18px 40px -30px rgba(0, 42, 46, .45);
}

#page-container .ck-lp-why .ck-lp-benefit::before,
#page-container .ck-lp-why .ck-lp-benefit::after {
	position: absolute;
	content: "";
}

#page-container .ck-lp-why .ck-lp-benefit::before {
	top: 30px;
	left: 30px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--ck-lp-lime);
}

#page-container .ck-lp-why .ck-lp-benefit::after {
	top: 40px;
	left: 40px;
	width: 40px;
	height: 40px;
	background: var(--ck-lp-dark);
	-webkit-mask: url("../../img/icons/lp-benefit-sales.svg") center / contain no-repeat;
	mask: url("../../img/icons/lp-benefit-sales.svg") center / contain no-repeat;
}

#page-container .ck-lp-why .ck-lp-benefit--experience::after {
	-webkit-mask-image: url("../../img/icons/lp-benefit-experience.svg");
	mask-image: url("../../img/icons/lp-benefit-experience.svg");
}

#page-container .ck-lp-why .ck-lp-benefit--litter::after {
	-webkit-mask-image: url("../../img/icons/lp-benefit-litter.svg");
	mask-image: url("../../img/icons/lp-benefit-litter.svg");
}

#page-container .ck-lp-why .ck-lp-benefit--brand::after {
	-webkit-mask-image: url("../../img/icons/lp-benefit-brand.svg");
	mask-image: url("../../img/icons/lp-benefit-brand.svg");
}

#page-container .ck-lp-why .ck-lp-benefit--revenue::after {
	-webkit-mask-image: url("../../img/icons/lp-benefit-revenue.svg");
	mask-image: url("../../img/icons/lp-benefit-revenue.svg");
}

#page-container .ck-lp-why .ck-lp-benefit--planet::after {
	-webkit-mask-image: url("../../img/icons/lp-benefit-planet.svg");
	mask-image: url("../../img/icons/lp-benefit-planet.svg");
}

#page-container .ck-lp-benefit .ck-lp-benefit-eyebrow {
	margin: 0 0 6px;
	padding: 0;
	color: #336600 !important;
	font-family: "Barlow Condensed", sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.2;
	text-transform: uppercase;
}

#page-container .ck-lp-benefit h3 {
	margin: 0 0 8px;
	padding: 0;
	color: #162707 !important;
	font-family: var(--et_global_body_font, "Grift"), sans-serif !important;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: none;
}

#page-container .ck-lp-benefit p:not(.ck-lp-benefit-eyebrow) {
	padding: 0;
	color: #5d6552 !important;
	font-size: 16px;
	line-height: 1.6;
}

/* The layouts below place the modules on CSS grids; the builder keeps Divi's columns.
   The heading row uses the card grid's columns: copy over the first cards, the photo over the last one. */
body:not(.et-fb) #page-container .ck-lp-why {
	--ck-lp-why-gap: clamp(16px, 1.8vw, 24px);
}

body:not(.et-fb) #page-container .ck-lp-why .ck-lp-why-top {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-rows: minmax(0, 1fr) auto auto;
	column-gap: var(--ck-lp-why-gap);
}

body:not(.et-fb) #page-container .ck-lp-why .ck-lp-why-top::after {
	display: none;
}

body:not(.et-fb) #page-container .ck-lp-why .ck-lp-why-top > .et_pb_column {
	display: contents;
}

/* Heading and intro sit at the foot of the photo, which hangs from the section top. */
body:not(.et-fb) #page-container .ck-lp-why .ck-lp-why-heading {
	grid-column: 1 / 3;
	grid-row: 2;
	margin: 0;
}

body:not(.et-fb) #page-container .ck-lp-why .ck-lp-why-intro {
	grid-column: 1 / 3;
	grid-row: 3;
	margin: 20px 0 0;
}


body:not(.et-fb) #page-container .ck-lp-why .ck-lp-why-image {
	grid-column: 3;
	grid-row: 1 / -1;
}

body:not(.et-fb) #page-container .ck-lp-why .ck-lp-why-benefits {
	margin-top: clamp(32px, 3.4vw, 48px);
}

body:not(.et-fb) #page-container .ck-lp-why .ck-lp-benefit-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--ck-lp-why-gap);
}

body:not(.et-fb) #page-container .ck-lp-why .ck-lp-benefit {
	margin: 0 !important;
}

/* "Upgrade now" centred under the cards; Divi wraps the button module, so the wrapper is the grid item. */
body:not(.et-fb) #page-container .ck-lp-why .ck-lp-benefit-grid .et_pb_button_module_wrapper {
	grid-column: 1 / -1;
	justify-self: center;
	margin: clamp(16px, 2.2vw, 24px) 0 0 !important;
}

@media (max-width: 980px) {
	body:not(.et-fb) #page-container .ck-lp-why .ck-lp-why-top,
	body:not(.et-fb) #page-container .ck-lp-why .ck-lp-benefit-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body:not(.et-fb) #page-container .ck-lp-why .ck-lp-why-heading,
	body:not(.et-fb) #page-container .ck-lp-why .ck-lp-why-intro {
		grid-column: 1;
	}

	body:not(.et-fb) #page-container .ck-lp-why .ck-lp-why-image {
		grid-column: 2;
	}
}

/* Divi's phone range: heading beside the photo at its foot, the intro full width just below. */
@media (max-width: 767px) {
	body:not(.et-fb) #page-container .ck-lp-why .ck-lp-why-top {
		grid-template-rows: auto auto;
	}

	body:not(.et-fb) #page-container .ck-lp-why .ck-lp-why-heading {
		grid-row: 1;
		align-self: end;
	}

	body:not(.et-fb) #page-container .ck-lp-why .ck-lp-why-image {
		grid-row: 1;
	}

	body:not(.et-fb) #page-container .ck-lp-why .ck-lp-why-intro {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	#page-container .ck-lp-why .ck-lp-why-intro p {
		font-size: 17px;
	}
}

/* Phones: one column of compact cards with the icon on the left. */
@media (max-width: 599px) {
	body:not(.et-fb) #page-container .ck-lp-why .ck-lp-why-top {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		column-gap: 16px;
	}

	body:not(.et-fb) #page-container .ck-lp-why .ck-lp-benefit-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	#page-container .ck-lp-why .ck-lp-benefit {
		padding: 22px 20px 24px 92px;
		border-radius: 22px;
	}

	#page-container .ck-lp-why .ck-lp-benefit::before {
		top: 22px;
		left: 20px;
		width: 54px;
		height: 54px;
	}

	#page-container .ck-lp-why .ck-lp-benefit::after {
		top: 30px;
		left: 28px;
		width: 38px;
		height: 38px;
	}

	#page-container .ck-lp-benefit h3 {
		font-size: 20px;
	}
}

/* ---------- Quotes ---------- */

/* The section background's colour at its left and right edges, for the fades below. */
#page-container .ck-lp-quotes {
	--ck-lp-quote-edge-l: rgb(0, 24, 28);
	--ck-lp-quote-edge-r: rgb(0, 24, 28);
}

#page-container .ck-lp-quotes .ck-lp-quote-row {
	position: relative;
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
}

/* Edge fades as overlays: a mask on the scroller would hide the section from the cards' backdrop blur. */
#page-container .ck-lp-quotes .ck-lp-quote-row::before,
#page-container .ck-lp-quotes .ck-lp-quote-row::after {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 3;
	display: block;
	width: 6%;
	height: auto;
	visibility: visible;
	content: "";
	pointer-events: none;
}

#page-container .ck-lp-quotes .ck-lp-quote-row::before {
	left: 0;
	background: linear-gradient(90deg, var(--ck-lp-quote-edge-l), transparent);
}

#page-container .ck-lp-quotes .ck-lp-quote-row::after {
	right: 0;
	background: linear-gradient(270deg, var(--ck-lp-quote-edge-r), transparent);
}

@media (max-width: 980px) {
	#page-container .ck-lp-quotes {
		--ck-lp-quote-edge-l: rgb(4, 32, 35);
		--ck-lp-quote-edge-r: rgb(5, 53, 59);
	}
}

#page-container .ck-lp-quotes .ck-lp-quote-row + .ck-lp-quote-row {
	margin-top: 20px;
}

/* Not floated: the row's ::after is a fade here, not Divi's clearfix. */
#page-container .ck-lp-quotes .ck-lp-quote-row > .et_pb_column {
	position: relative;
	float: none;
	display: flex;
	align-items: stretch;
	gap: 20px;
	width: 100% !important;
	margin: 0 !important;
	padding: 4px 0;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}

#page-container .ck-lp-quotes .ck-lp-quote-row > .et_pb_column::-webkit-scrollbar {
	display: none;
}

/* Mouse users can grab a row and drag it; touch uses native swiping. */
@media (hover: hover) and (pointer: fine) {
	#page-container .ck-lp-quotes .ck-lp-quote-row > .et_pb_column[data-ck-lp-marquee] {
		cursor: grab;
		-webkit-user-select: none;
		user-select: none;
	}

	#page-container .ck-lp-quotes .ck-lp-quote-row > .et_pb_column.is-dragging {
		cursor: grabbing;
	}
}

#page-container .ck-lp-quotes .ck-lp-quote.et_pb_text {
	flex: 0 0 min(380px, 78vw);
	margin: 0 !important;
	padding: 26px 30px 30px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 22px;
	background: linear-gradient(150deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035) 60%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 48px -30px rgba(0, 0, 0, .7);
	color: rgba(240, 247, 245, .92) !important;
	-webkit-backdrop-filter: blur(8px) saturate(130%);
	backdrop-filter: blur(8px) saturate(130%);
}

#page-container .ck-lp-quotes .ck-lp-quote.et_pb_text::before {
	display: block;
	height: 38px;
	color: var(--ck-lp-lime);
	content: "\201C";
	font-family: Georgia, "Times New Roman", serif;
	font-size: 72px;
	line-height: 1;
}

#page-container .ck-lp-quotes .ck-lp-quote.et_pb_text p {
	margin: 0;
	padding: 0;
	color: inherit !important;
	font-size: 18px;
	line-height: 1.55;
}

/* In the builder the rows stay static and wrap so every quote is editable. */
body.et-fb #page-container .ck-lp-quotes .ck-lp-quote-row > .et_pb_column {
	flex-wrap: wrap;
	overflow: visible;
}

body.et-fb #page-container .ck-lp-quotes .ck-lp-quote-row::before,
body.et-fb #page-container .ck-lp-quotes .ck-lp-quote-row::after {
	display: none;
}

/* ---------- Products ---------- */

#page-container .ck-lp-products > .et_pb_row {
	width: 90%;
	max-width: 1280px;
}

@media (min-width: 981px) {
	#page-container .ck-lp-products > .et_pb_row {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
		column-gap: clamp(28px, 3.6vw, 64px);
		align-items: start;
	}

	#page-container .ck-lp-products > .et_pb_row::after {
		display: none;
	}

	#page-container .ck-lp-products > .et_pb_row > .et_pb_column {
		float: none;
		width: auto;
		margin-right: 0;
	}
}

#page-container .ck-lp-products .ck-lp-option.et_pb_text {
	margin-bottom: 10px !important;
	border-radius: 14px;
	outline: 0;
	cursor: pointer;
}

#page-container .ck-lp-products .ck-lp-option.et_pb_text:last-child {
	margin-bottom: 0 !important;
}

.ck-lp-option-card {
	position: relative;
	display: grid;
	grid-template-columns: 68px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	min-height: 92px;
	padding: 12px 42px 12px 12px;
	border: 1px solid var(--ck-lp-line);
	border-radius: 14px;
	background: #fff;
	color: var(--ck-lp-ink);
	text-align: left;
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background-color .16s ease;
}

.ck-lp-option:hover .ck-lp-option-card,
.ck-lp-option:focus-visible .ck-lp-option-card {
	border-color: rgba(0, 120, 107, .55);
	box-shadow: 0 12px 28px rgba(23, 50, 41, .11);
	transform: translateY(-1px);
}

.ck-lp-option-card.is-active {
	border-color: var(--ck-lp-teal);
	background: #fff;
	box-shadow: inset 0 0 0 2px var(--ck-lp-teal), 0 12px 26px rgba(0, 120, 107, .14);
}

.ck-lp-option-card .ck-commerce-choice-dot {
	top: 14px;
	right: 14px;
}

#page-container .ck-lp-option-card .ck-lp-option-thumb {
	display: block;
	width: 68px;
	height: 68px;
	border-radius: 12px;
	background: #f5f7f0;
	/* The renders have wide transparent margins; cover crops them so the holder fills the tile. */
	object-fit: cover;
}

.ck-lp-option-name {
	display: block;
	color: var(--ck-lp-ink);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.15;
}

.ck-lp-option-fit {
	display: block;
	margin-top: 5px;
	color: var(--ck-lp-muted);
	font-size: 13px;
	line-height: 1.25;
}

.ck-lp-option-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 8px;
}

.ck-lp-option-chips .ck-commerce-chip {
	white-space: nowrap;
}

/* All cards share one grid cell: the column keeps the tallest card's height and the arrows never move. */
body:not(.et-fb) #page-container .ck-lp-products .ck-lp-detail-column {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

body:not(.et-fb) #page-container .ck-lp-products .ck-lp-detail {
	grid-area: 1 / 1;
	margin: 0 !important;
	transition: opacity .28s ease, visibility 0s linear 0s;
}

/* Before the script runs, show only the first card; afterwards only the active one. */
body:not(.et-fb) #page-container .ck-lp-products:not(.ck-lp-products--ready) .ck-lp-detail ~ .ck-lp-detail,
body:not(.et-fb) #page-container .ck-lp-products--ready .ck-lp-detail:not(.is-active) {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity .28s ease, visibility 0s linear .28s;
}

#page-container .ck-lp-products .ck-lp-detail {
	display: flex;
	flex-direction: column;
	scroll-margin-top: 110px;
	box-shadow: 0 30px 60px -30px rgba(0, 42, 46, .55);
}

/* Photo, then copy; the column fills the card so every card keeps the tallest one's height. */
#page-container .ck-lp-products .ck-lp-detail > .et_pb_column {
	flex: 1 1 auto;
	width: 100%;
}

#page-container .ck-lp-detail .ck-lp-detail-image {
	margin: 0 0 24px !important;
}

#page-container .ck-lp-detail .ck-lp-detail-image .et_pb_image_wrap {
	display: block;
	overflow: hidden;
	border-radius: 22px;
	background: radial-gradient(circle at 50% 60%, #0e5a63 0%, var(--ck-lp-dark) 72%);
}

#page-container .ck-lp-detail .ck-lp-detail-image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

#page-container .ck-lp-detail .ck-lp-detail-copy {
	margin: 0 !important;
	padding: 0 12px;
}

#page-container .ck-lp-detail-copy h3 {
	padding-bottom: 10px;
	color: #fff !important;
	font-family: var(--et_global_heading_font, "Anton"), Impact, sans-serif;
	font-size: 44px;
	font-weight: 400;
	line-height: 1.05;
	text-transform: uppercase;
}

#page-container .ck-lp-detail-copy p {
	padding-bottom: 0;
	color: rgba(247, 248, 242, .82) !important;
	font-size: 16px;
	line-height: 1.6;
}

#page-container .ck-lp-detail-copy ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 28px;
	margin: 18px 0 0;
	padding: 0 0 0 1.4em !important;
}

#page-container .ck-lp-detail-copy ul li {
	padding-bottom: .35em;
	color: #fff;
	font-size: 15px;
	line-height: 1.5;
}

#page-container .ck-lp-detail-copy ul li::before {
	color: var(--ck-lp-lime);
}

@media (max-width: 599px) {
	/* Kept compact so a tapped card and its arrows fit on one phone screen. */
	#page-container .ck-lp-detail .ck-lp-detail-image {
		margin-bottom: 16px !important;
	}

	#page-container .ck-lp-detail .ck-lp-detail-copy {
		padding: 0 4px;
	}

	#page-container .ck-lp-detail-copy h3 {
		font-size: 34px;
	}

	#page-container .ck-lp-detail-copy ul {
		grid-template-columns: minmax(0, 1fr);
		margin-top: 12px;
	}

	.ck-lp-detail-nav {
		margin-top: 16px;
	}
}

/* Arrows under the card, styled like the dark controls of the home page testimonials. */
.ck-lp-detail-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 22px;
	color: var(--ck-lp-muted);
	font-size: 14px;
	font-weight: 700;
}

.ck-lp-detail-nav__count {
	margin-right: 4px;
	font-variant-numeric: tabular-nums;
}

.ck-lp-detail-nav__button {
	position: relative;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 23, 27, .66);
	color: rgba(240, 251, 248, .96);
	box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .9);
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.ck-lp-detail-nav__button::before {
	width: 28px;
	height: 28px;
	background-color: currentColor;
	content: "";
	-webkit-mask: url("../../img/icons/ck-arrow-right.svg") center / contain no-repeat;
	mask: url("../../img/icons/ck-arrow-right.svg") center / contain no-repeat;
}

.ck-lp-detail-nav__button--prev::before {
	-webkit-mask-image: url("../../img/icons/ck-arrow-left.svg");
	mask-image: url("../../img/icons/ck-arrow-left.svg");
}

.ck-lp-detail-nav__button:hover {
	background: rgba(0, 23, 27, .84);
	color: #fff;
	transform: translateY(-1px);
}

.ck-lp-detail-nav__button:active {
	background: rgba(0, 23, 27, .92);
	transform: translateY(0);
}

.ck-lp-detail-nav__button:focus-visible {
	outline: 2px solid var(--green4, #5e9f04);
	outline-offset: 2px;
}

/* ---------- Form ---------- */

#page-container .ck-lp-form-card {
	overflow: hidden;
	box-shadow: 0 30px 60px -30px rgba(0, 42, 46, .45);
}

#page-container .ck-lp-form-intro .ck-lp-form-heading h2 {
	padding-bottom: 0;
}

/* The shop note sits at the foot of the dark panel. */
#page-container .ck-lp-form-card .ck-lp-form-intro {
	display: flex;
	flex-direction: column;
}

#page-container .ck-lp-form-intro .ck-lp-form-note {
	margin-top: auto !important;
	margin-bottom: 0 !important;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .15);
}

#page-container .ck-lp-form-intro .ck-lp-form-note p {
	font-size: 15px;
	line-height: 1.6;
}

/* Numbered steps: lime dots with the number in the heading font. */
#page-container .ck-lp-form-copy ol {
	display: grid;
	gap: 18px;
	margin: 26px 0 0;
	padding: 0 !important;
	list-style: none;
	counter-reset: ck-lp-step;
}

#page-container .ck-lp-form-copy ol li {
	position: relative;
	min-height: 38px;
	padding: 7px 0 0 56px;
	color: #fff;
	font-size: 17px;
	line-height: 1.5;
	counter-increment: ck-lp-step;
}

#page-container .ck-lp-form-copy ol li::before {
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--ck-lp-lime);
	color: var(--ck-lp-dark);
	content: counter(ck-lp-step);
	font-family: var(--et_global_heading_font, "Anton"), Impact, sans-serif;
	font-size: 20px;
	line-height: 1;
}

#page-container .ck-lp-form .et_pb_contact_field {
	margin-bottom: 16px;
}

#page-container .ck-lp-form .et_pb_contact_form_label,
#page-container .ck-lp-form .et_pb_contact_field_options_title {
	margin: 0 0 7px;
	color: var(--ck-lp-ink);
	font-size: 13px !important;
	font-weight: 800;
	line-height: 1.25 !important;
}

#page-container .ck-lp-form .et_pb_contact_field_desc,
#page-container .ck-lp-form .et_pb_contact_field .field-description {
	margin-top: 6px;
	color: var(--ck-lp-muted);
	font-size: 12px !important;
	font-weight: 650;
	line-height: 1.35 !important;
}

#page-container .ck-lp-form .input:not([type="checkbox"]):not([type="radio"]) {
	width: 100%;
	min-height: 52px;
	padding: 14px 16px !important;
	border: 0 !important;
	border-radius: var(--ck-commerce-field-radius, 15px) !important;
	background-color: var(--ck-commerce-field-background, #f0f0ec) !important;
	box-shadow: var(--ck-commerce-field-shadow);
	color: var(--ck-lp-ink) !important;
	font-family: var(--et_global_body_font, "Grift"), sans-serif !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	letter-spacing: normal !important;
	line-height: 1.3;
	text-transform: none !important;
}

#page-container .ck-lp-form textarea.input:not([type="checkbox"]):not([type="radio"]) {
	min-height: 140px;
}

/* Placeholder = the typed text, faded; the site's form preset would otherwise make it 20px. */
#page-container .ck-lp-form.et_pb_contact_form_container .input::placeholder {
	color: var(--ck-lp-ink) !important;
	opacity: .45;
	font-family: var(--et_global_body_font, "Grift"), sans-serif !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}

#page-container .ck-lp-form .input:not([type="checkbox"]):not([type="radio"]):focus {
	outline: none;
	box-shadow: var(--ck-commerce-field-focus-shadow);
}

#page-container .ck-lp-form .et_pb_contact_field_checkbox label {
	color: var(--ck-lp-muted) !important;
	font-family: var(--et_global_body_font, "Grift"), sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	letter-spacing: normal !important;
	line-height: 1.5;
	text-transform: none !important;
}

#page-container .ck-lp-form .et_pb_contact_field_checkbox label i {
	border-radius: 6px;
	background-color: var(--ck-commerce-field-background, #f0f0ec) !important;
	box-shadow: var(--ck-commerce-field-shadow);
}

/* Divi's contact-form button rules are very specific, so this one matches their depth. */
body #page-container .et_pb_section .ck-lp-form.et_pb_contact_form_container.et_pb_module .et_pb_contact_submit.et_pb_button:not(.et_pb_file_upload_button) {
	min-height: 52px;
	padding: 14px 30px !important;
	border: 1px solid var(--ck-lp-ink) !important;
	border-radius: 999px !important;
	background: var(--ck-lp-ink) !important;
	color: #fff !important;
	box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .18);
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 850 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}

body #page-container .et_pb_section .ck-lp-form.et_pb_contact_form_container.et_pb_module .et_pb_contact_submit.et_pb_button:not(.et_pb_file_upload_button):hover {
	border-color: #24453b !important;
	background: #24453b !important;
}

body #page-container .et_pb_section .ck-lp-form.et_pb_contact_form_container.et_pb_module .et_pb_contact_submit.et_pb_button:not(.et_pb_file_upload_button)::after {
	display: none;
}

/* ---------- Reusable cups pop-up ----------
   A copy of the form section with class .ck-lp-cups-popup, opened by the theme's dl-popup script.
   The section is the backdrop; lead-landing.js adds the close button. */

body:not(.et-fb) #page-container .ck-lp-cups-popup.et_pb_section {
	min-height: 100%;
	padding: 40px 20px !important;
	background: rgba(0, 24, 28, .72) !important;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

body:not(.et-fb) #page-container .ck-lp-cups-popup .ck-lp-form-card {
	position: relative;
	width: 100%;
	max-width: 1040px;
}

.ck-lp-cups-popup .ck-lp-popup-close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 5;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(23, 50, 41, .08);
	cursor: pointer;
}

/* An X drawn with two bars, so it needs no icon font. */
.ck-lp-cups-popup .ck-lp-popup-close::before,
.ck-lp-cups-popup .ck-lp-popup-close::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 2px;
	border-radius: 2px;
	background: var(--ck-lp-ink);
	content: "";
	transform: translate(-50%, -50%) rotate(45deg);
}

.ck-lp-cups-popup .ck-lp-popup-close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

/* Columns stack from 980px and the card can outgrow the screen: the close button stays pinned to the
   screen's corner. A transform or backdrop filter on an ancestor would pin it to the card instead. */
@media (max-width: 980px) {
	body:not(.et-fb) #page-container .ck-lp-cups-popup.et_pb_section {
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	#page-container .dl-popup-wrapper.popup-is-visible .ck-lp-cups-popup .et_pb_row {
		animation: none;
		transform: none;
	}

	.ck-lp-cups-popup .ck-lp-popup-close {
		position: fixed;
		top: 12px;
		right: 12px;
		background: rgba(0, 42, 46, .86);
	}

	body.admin-bar .ck-lp-cups-popup .ck-lp-popup-close {
		top: 58px;
	}

	.ck-lp-cups-popup .ck-lp-popup-close::before,
	.ck-lp-cups-popup .ck-lp-popup-close::after {
		background: #fff;
	}
}

/* ---------- Phones: edge-to-edge cards ---------- */

@media (max-width: 767px) {
	/* The form card fills the screen; no section background shows around it. */
	body:not(.et-fb) #page-container .ck-lp-form-section {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	body:not(.et-fb) #page-container .ck-lp-cups-popup.et_pb_section {
		padding: 0 !important;
	}

	body:not(.et-fb) #page-container .ck-lp-form-section .ck-lp-form-card {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		border-radius: 0 !important;
		box-shadow: none;
	}

	/* The product card breaks out of the row; the options list and the arrows keep the row's inset. */
	body:not(.et-fb) #page-container .ck-lp-products .ck-lp-detail {
		width: 100vw !important;
		max-width: none !important;
		margin-right: calc(50% - 50vw) !important;
		margin-left: calc(50% - 50vw) !important;
		border-radius: 0 !important;
	}
}

/* Keep the cups pop-up above the header when it sits in a Theme Builder body layout. */
.et-db #et-boc .et-l .et_builder_inner_content.popup-is-visible {
	z-index: 99999;
}
