/*
Theme Name:   Digital Growth
Theme URI:    https://example.com/
Description:  Kadence child theme for the Digital Growth service requests web app: navy and amber brand, Baloo 2 and Hind fonts, service cards with "Starting at" prices, and a voice-or-type requirement box on every service page.
Author:       Your business name
Template:     kadence
Version:      1.4.2
Requires at least: 6.2
Requires PHP: 7.4
License:      GPL-2.0-or-later
Text Domain:  digital-growth
*/

/* ---------- Brand tokens ---------- */
:root {
	--dg-navy: #1F2F7A;
	--dg-navy-dark: #14205A;
	--dg-amber: #F2A007;
	--dg-amber-ink: #141B3D;
	--dg-heading: #1B2350;
	--dg-ink: #1D2333;
	--dg-muted: #5A6275;
	--dg-line: #E3E6EE;
	--dg-field: #C9CFE0;
	--dg-tint: #EEF1FA;
	--dg-page: #F7F8FA;
	--dg-card: #FFFFFF;
	--dg-good: #0B6B57;
	--dg-good-bg: #DFF3EC;
	--dg-wa: #17834F;
	--dg-font-body: 'Hind', 'Hind Vadodara', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--dg-font-head: 'Baloo 2', 'Hind', system-ui, sans-serif;
}

/* Kadence global palette: links and default buttons navy; amber is kept for main actions only */
body {
	--global-palette1: var(--dg-navy);
	--global-palette2: var(--dg-navy-dark);
	--global-palette3: var(--dg-heading);
	--global-palette4: var(--dg-ink);
	--global-palette5: var(--dg-muted);
	--global-palette6: var(--dg-line);
	--global-palette7: var(--dg-tint);
	--global-palette8: var(--dg-page);
	--global-palette9: var(--dg-card);
}

/* ---------- Base type ---------- */
html body {
	font-family: var(--dg-font-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--dg-ink);
	background: var(--dg-page);
}

html body h1,
html body h2,
html body h3,
html body h4,
html body .site-title,
html body .woocommerce-loop-product__title,
html body .product_title {
	font-family: var(--dg-font-head);
	color: var(--dg-heading);
	line-height: 1.15;
	font-weight: 700;
}

html body a {
	color: var(--dg-navy);
}

html body a:hover {
	color: var(--dg-navy-dark);
}

html body :focus-visible {
	outline: 3px solid var(--dg-amber);
	outline-offset: 2px;
}

/* ---------- Main action buttons (amber) ---------- */
.dg-send,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce .checkout-button,
.wc-block-components-checkout-place-order-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 22px;
	border: 0;
	border-radius: 12px;
	background: var(--dg-amber);
	color: var(--dg-amber-ink);
	font-family: var(--dg-font-head);
	font-weight: 700;
	font-size: 18px;
	text-decoration: none;
	cursor: pointer;
}

.dg-send:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background: #E09400;
	color: var(--dg-amber-ink);
}

/* ---------- Home hero ---------- */
.dg-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px;
	margin: 8px 0 40px;
}

.dg-hero__text {
	flex: 999 1 460px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.dg-hero__title {
	margin: 0;
	font-size: clamp(32px, 5vw, 46px);
	line-height: 1.08;
}

.dg-hero__lead {
	margin: 0;
	max-width: 36em;
	font-size: 18px;
	color: #4A5268;
}

.dg-hero__side {
	flex: 1 1 340px;
	min-width: 0;
}

/* ---------- Trust chips ---------- */
.dg-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dg-trust li {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 6px 12px;
	background: var(--dg-card);
	border: 1px solid var(--dg-line);
	border-radius: 999px;
	font-size: 15px;
	color: #3A4258;
}

.dg-trust svg {
	flex-shrink: 0;
}

/* ---------- Requirement box ---------- */
.dg-request {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 24px 0;
}

.dg-request__heading {
	margin: 0;
	font-size: 22px;
}

.dg-box {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 24px;
	background: var(--dg-card);
	border: 1px solid var(--dg-line);
	border-radius: 20px;
}

.dg-box__title {
	margin: 0;
	font-size: 24px;
}

.dg-box__sub,
.dg-box__hint {
	margin: 0;
	font-size: 15px;
	color: var(--dg-muted);
}

.dg-box__hint {
	text-align: center;
	font-size: 14px;
}

.dg-voice {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	border: 1px solid var(--dg-line);
	border-radius: 14px;
	background: #FAFBFD;
	color: var(--dg-heading);
	text-decoration: none;
}

.dg-voice:hover {
	border-color: var(--dg-navy);
	color: var(--dg-heading);
}

.dg-voice__mic {
	width: 60px;
	height: 60px;
	flex-shrink: 0;
	border-radius: 999px;
	background: var(--dg-navy);
	display: flex;
	align-items: center;
	justify-content: center;
}

.dg-voice__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.dg-voice__text strong {
	font-size: 17px;
	font-weight: 600;
}

.dg-voice__text small {
	font-size: 14px;
	color: var(--dg-muted);
}

.dg-label {
	display: block;
	margin-bottom: 6px;
	font-size: 15px;
	font-weight: 500;
	color: #3A4258;
}

.dg-box textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid var(--dg-field);
	border-radius: 12px;
	background: var(--dg-card);
	font-family: var(--dg-font-body);
	font-size: 17px;
	line-height: 1.45;
	color: var(--dg-ink);
	resize: vertical;
}

.dg-box .dg-send {
	width: 100%;
}

.dg-setup-note {
	margin: 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: #FDF1D6;
	color: #6E4300;
	font-size: 14px;
}

/* ---------- Service options (variations) ---------- */
.dg-options {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.dg-option {
	flex: 1 1 220px;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 16px 16px 48px;
	background: var(--dg-card);
	border: 1px solid var(--dg-line);
	border-radius: 14px;
	cursor: pointer;
}

.dg-option input {
	position: absolute;
	left: 16px;
	top: 19px;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--dg-navy);
}

.dg-option:has(input:checked) {
	border: 2px solid var(--dg-navy);
	background: #F3F5FC;
	padding: 15px 15px 15px 47px;
}

.dg-option__name {
	font-size: 16px;
	font-weight: 600;
	color: var(--dg-heading);
}

.dg-option__price {
	font-family: var(--dg-font-head);
	font-size: 19px;
	font-weight: 700;
	color: var(--dg-heading);
}

.dg-option__desc {
	font-size: 14px;
	line-height: 1.45;
	color: var(--dg-muted);
}

/* ---------- Prices ---------- */
.dg-from {
	margin-right: 4px;
	font-family: var(--dg-font-body);
	font-size: 0.6em;
	font-weight: 400;
	color: var(--dg-muted);
}

.dg-quote {
	font-family: var(--dg-font-head);
	font-weight: 700;
	color: var(--dg-heading);
}

/* Services rarely have photos: hide WooCommerce's grey placeholder image */
.woocommerce-product-gallery:has(.woocommerce-product-gallery__image--placeholder),
ul.products li.product img.woocommerce-placeholder {
	display: none;
}

html body.woocommerce div.product p.price,
html body.woocommerce div.product span.price,
html body .woocommerce div.product p.price,
html body .woocommerce div.product span.price {
	font-family: var(--dg-font-head);
	font-size: 30px;
	font-weight: 700;
	color: var(--dg-heading);
}

/* ---------- Service cards (shop grid) ---------- */
html body.woocommerce ul.products li.product,
html body .woocommerce ul.products li.product {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	background: var(--dg-card);
	border: 1px solid var(--dg-line);
	border-radius: 16px;
	text-align: left;
}

html body.woocommerce ul.products li.product a img,
html body .woocommerce ul.products li.product a img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	margin: 0 0 4px;
	border-radius: 12px;
}

html body.woocommerce ul.products li.product .woocommerce-loop-product__title,
html body .woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0;
	font-size: 19px;
}

html body.woocommerce ul.products li.product .price,
html body .woocommerce ul.products li.product .price {
	margin-top: auto;
	font-family: var(--dg-font-head);
	font-size: 26px;
	font-weight: 700;
	color: var(--dg-heading);
}

.dg-card-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 15px;
	font-weight: 600;
	color: var(--dg-navy);
	text-decoration: none;
}

.dg-section-title {
	margin: 40px 0 16px;
	font-size: 28px;
}

.dg-note {
	font-size: 14px;
	color: var(--dg-muted);
}

/* ---------- How it works ---------- */
.dg-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
	counter-reset: dg-step;
}

.dg-steps li {
	flex: 1 1 180px;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0;
	counter-increment: dg-step;
}

.dg-steps li::before {
	content: counter(dg-step);
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	box-sizing: border-box;
	border: 2px solid var(--dg-navy);
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--dg-font-head);
	font-weight: 700;
	color: var(--dg-navy);
}

.dg-steps strong {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: var(--dg-heading);
}

.dg-steps span {
	font-size: 14px;
	line-height: 1.45;
	color: var(--dg-muted);
}

/* ---------- FAQ ---------- */
.dg-faq {
	background: var(--dg-card);
	border: 1px solid var(--dg-line);
	border-radius: 16px;
	overflow: hidden;
}

.dg-faq details {
	border-bottom: 1px solid #EDEFF4;
}

.dg-faq details:last-child {
	border-bottom: 0;
}

.dg-faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 0 20px;
	font-size: 17px;
	font-weight: 600;
	color: var(--dg-heading);
	cursor: pointer;
	list-style: none;
}

.dg-faq summary::-webkit-details-marker {
	display: none;
}

.dg-faq summary::after {
	content: '+';
	font-size: 22px;
	font-weight: 400;
	color: var(--dg-navy);
}

.dg-faq details[open] summary::after {
	content: '\2212';
}

.dg-faq details p {
	margin: 0;
	padding: 0 20px 18px;
	font-size: 16px;
	color: #3A4258;
}

/* ---------- Floating WhatsApp button ---------- */
.dg-float {
	position: fixed;
	right: 16px;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	z-index: 999;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 18px 0 14px;
	border-radius: 999px;
	background: var(--dg-wa);
	color: #FFFFFF;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(20, 32, 90, 0.18);
}

html body .dg-float:hover {
	color: #FFFFFF;
	background: #126B40;
}

@media (max-width: 600px) {
	.dg-float {
		padding: 0;
		width: 56px;
		height: 56px;
		justify-content: center;
	}

	.dg-float span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.dg-box {
		padding: 18px;
	}
}

/* =========================================================================
 * 1.2.0: home sections (hero buttons, illustration, why, problems, ask) and Contact
 * ====================================================================== */

/* Buttons */
.dg-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 20px;
	border-radius: 12px;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
}

.dg-btn--primary {
	background: var(--dg-amber);
	color: var(--dg-amber-ink);
	font-family: var(--dg-font-head);
	font-weight: 700;
	font-size: 17px;
}

html body .dg-btn--primary:hover {
	background: #E09400;
	color: var(--dg-amber-ink);
}

.dg-btn--outline {
	border: 1.5px solid var(--dg-navy);
	background: #FFFFFF;
	color: var(--dg-navy);
}

.dg-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* Hero illustration */
.dg-illo {
	position: relative;
	width: 100%;
	max-width: 460px;
	margin: 0 auto;
	container-type: inline-size;
}

.dg-illo__svg {
	display: block;
	width: 100%;
	height: auto;
}

.dg-illo__label {
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-size: 2.5cqw;
	line-height: 1.25;
	color: var(--dg-heading);
}

.dg-illo__label--center {
	align-items: center;
	text-align: center;
}

.dg-illo__label--green {
	color: #0B6B57;
	font-weight: 600;
}

.dg-illo__label--bold {
	font-weight: 700;
	font-size: 2.6cqw;
}

/* Why go digital */
.dg-why {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 8px 0 40px;
	padding: 32px 28px;
	border-radius: 24px;
	background: var(--dg-tint);
}

.dg-why__head {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 760px;
}

.dg-kicker {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dg-navy);
}

.dg-why__title,
.dg-ask__title {
	margin: 0;
	font-size: clamp(26px, 4vw, 32px);
}

.dg-why__intro {
	margin: 0;
	font-size: 17px;
	color: #3A4258;
}

.dg-benefits {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.dg-benefit {
	flex: 1 1 300px;
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 18px;
	border-radius: 16px;
	background: #FFFFFF;
}

.dg-benefit__icon {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dg-tint--blue { background: #EEF1FA; color: var(--dg-navy); }
.dg-tint--green { background: #E3F4EA; color: #0B5E36; }
.dg-tint--amber { background: #FDF1D6; color: #6E4300; }

.dg-benefit__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.dg-benefit__text strong {
	font-size: 17px;
	line-height: 1.3;
	color: var(--dg-heading);
}

.dg-benefit__text span {
	font-size: 15px;
	line-height: 1.5;
	color: #4A5268;
}

/* Problems */
.dg-problems {
	margin: 0 0 32px;
	scroll-margin-top: 80px;
}

.dg-section-sub {
	margin: -8px 0 14px;
	font-size: 16px;
	color: var(--dg-muted);
}

.dg-problem-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.dg-problem {
	flex: 1 1 260px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 60px;
	padding: 12px 16px;
	border: 1px solid var(--dg-line);
	border-radius: 14px;
	background: #FFFFFF;
	color: var(--dg-heading);
	text-decoration: none;
}

.dg-problem:hover {
	border-color: var(--dg-navy);
	color: var(--dg-heading);
}

.dg-problem span {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.dg-problem strong {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

.dg-problem small {
	font-size: 13px;
	color: var(--dg-muted);
}

.dg-problem svg {
	flex-shrink: 0;
	color: var(--dg-navy);
}

/* Ask: didn't find it? */
.dg-ask {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	align-items: flex-start;
	margin: 40px 0;
	scroll-margin-top: 80px;
}

.dg-ask__text {
	flex: 1 1 320px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.dg-ask__text p {
	margin: 0;
	font-size: 17px;
	color: #3A4258;
}

.dg-ask__box {
	flex: 1 1 360px;
	min-width: 0;
}

.dg-ask__box .dg-request {
	margin: 0;
}

.dg-points {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dg-points li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 16px;
	color: var(--dg-heading);
}

.dg-points__icon {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 12px;
	background: var(--dg-tint);
	color: var(--dg-navy);
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Contact */
.dg-contact {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 16px 0 32px;
}

.dg-contact__cards {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.dg-contact__card {
	flex: 1 1 220px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	border: 1px solid var(--dg-line);
	border-radius: 16px;
	background: #FFFFFF;
}

.dg-contact__card h2 {
	margin: 0;
	font-size: 18px;
}

.dg-contact__icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--dg-tint);
	color: var(--dg-navy);
	display: flex;
	align-items: center;
	justify-content: center;
}

.dg-contact__value {
	font-weight: 600;
	overflow-wrap: anywhere;
}

.dg-contact__btn {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border: 1.5px solid var(--dg-navy);
	border-radius: 12px;
	color: var(--dg-navy);
	font-weight: 600;
	text-decoration: none;
}

.dg-contact__btn--wa {
	border-color: var(--dg-wa);
	background: var(--dg-wa);
	color: #FFFFFF;
}

html body .dg-contact__btn--wa:hover {
	color: #FFFFFF;
	background: #126B40;
}

.dg-contact__main {
	max-width: 640px;
}

.dg-contact__hours {
	margin: 0;
	color: var(--dg-muted);
}

@media (max-width: 600px) {
	.dg-why {
		padding: 24px 18px;
	}

	.dg-hero__title {
		font-size: 34px;
	}

	.dg-btn {
		width: 100%;
		justify-content: center;
	}
}

/* =========================================================================
 * 1.4.0: rich service cards (illustration, badge, description, price, options, button)
 * ====================================================================== */
html body.woocommerce ul.products li.product.dg-card,
html body .woocommerce ul.products li.product.dg-card {
	padding: 0;
	gap: 0;
	overflow: hidden;
	border: 1px solid var(--dg-line);
	border-radius: 18px;
	background: #FFFFFF;
	box-shadow: 0 1px 2px rgba(20, 32, 90, 0.05);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

html body ul.products li.product.dg-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 32px rgba(20, 32, 90, 0.12);
}

.dg-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.dg-card__link:hover {
	color: inherit;
}

.dg-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--dg-tint);
}

html body ul.products li.product.dg-card .dg-card__media .dg-art,
html body ul.products li.product.dg-card .dg-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	border-radius: 0;
}

.dg-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--dg-amber);
	color: var(--dg-amber-ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	box-shadow: 0 4px 10px rgba(242, 160, 7, 0.3);
}

.dg-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 20px;
}

.dg-card__cat {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dg-navy);
}

.dg-card--green .dg-card__cat { color: #0B5E36; }
.dg-card--amber .dg-card__cat { color: #8A5600; }

html body ul.products li.product.dg-card .dg-card__title {
	margin: 0;
	padding: 0;
	font-family: var(--dg-font-head);
	font-size: 20px;
	line-height: 1.2;
	color: var(--dg-heading);
}

.dg-card__desc {
	display: -webkit-box;
	overflow: hidden;
	font-size: 15px;
	line-height: 1.5;
	color: #4A5268;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.dg-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 6px;
}

.dg-card__price {
	font-family: var(--dg-font-head);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--dg-heading);
}

.dg-card__price .dg-from {
	margin-right: 4px;
	font-family: var(--dg-font-body);
	font-size: 13px;
	font-weight: 500;
	color: var(--dg-muted);
}

.dg-card__count {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--dg-tint);
	color: var(--dg-navy);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.dg-card__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 46px;
	margin-top: 6px;
	border: 1.5px solid var(--dg-navy);
	border-radius: 12px;
	color: var(--dg-navy);
	font-size: 15px;
	font-weight: 600;
	transition: background 0.15s ease, color 0.15s ease;
}

html body ul.products li.product.dg-card:hover .dg-card__cta {
	background: var(--dg-navy);
	color: #FFFFFF;
}

/* Even grid for service cards, whatever the parent theme does */
html body .woocommerce ul.products:has(> li.dg-card),
html body.woocommerce ul.products:has(> li.dg-card) {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
	margin: 0 0 24px;
	padding: 0;
}

html body ul.products:has(> li.dg-card)::before,
html body ul.products:has(> li.dg-card)::after {
	display: none;
}

html body .woocommerce ul.products li.product.dg-card,
html body.woocommerce ul.products li.product.dg-card {
	float: none;
	width: auto;
	margin: 0;
}

/* 1.4.2: Contact page in two balanced groups (ways to reach us, offices) */
.dg-contact__cards {
	display: grid;
	gap: 16px;
}

.dg-contact__cards--methods {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dg-contact__cards--offices {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.dg-contact__card {
	flex: none;
	min-width: 0;
}

.dg-contact__card h3 {
	margin: 0;
	font-size: 18px;
	color: var(--dg-heading);
}

.dg-contact__heading {
	margin: 16px 0 0;
	font-size: clamp(22px, 3vw, 26px);
}

.dg-contact__line {
	display: block;
	font-weight: 600;
	line-height: 1.5;
}

.dg-contact__line + .dg-contact__line {
	font-weight: 500;
	color: var(--dg-muted);
}

.dg-contact__hours-line {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--dg-muted);
}

.dg-contact__cards--offices .dg-contact__card {
	gap: 10px;
	padding: 22px;
}

.dg-contact__btn {
	margin-top: auto;
	padding: 0 16px;
}
