/**
 * Captured Shopify parity for homepage cards, public content, and the footer.
 * Loaded after the primary theme stylesheet.
 */

/* Homepage product cards. */
.home-product-card h3 {
	margin: 0;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.2;
}

.home-product-card .card-quick-add--source {
	position: absolute;
	right: 12px;
	bottom: 12px;
	left: auto;
	display: flex;
	width: auto;
	margin: 0;
	opacity: 0;
	transform: none;
	transition: opacity 180ms ease;
	z-index: 2;
}

.home-product-card:hover .card-quick-add--source,
.home-product-card:focus-within .card-quick-add--source {
	opacity: 1;
	transform: none;
}

.home-product-card .card-quick-add--source .card-quick-add__button {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 36px;
	height: 36px;
	min-height: 36px;
	padding: 0;
	overflow: hidden;
	border: 2px solid rgb(0 0 0 / 15%);
	border-radius: 50px;
	color: #0a0a0a;
	background: #fff;
	box-shadow: none;
	white-space: nowrap;
	transition: width 180ms ease, border-color 180ms ease;
}

.home-product-card .card-quick-add--source .card-quick-add__button:hover,
.home-product-card .card-quick-add--source .card-quick-add__button:focus-visible {
	width: 78px;
	border-color: rgb(0 0 0 / 35%);
}

.home-product-card .card-quick-add__icon {
	display: grid;
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	place-items: center;
}

.home-product-card .card-quick-add__icon svg {
	width: 20px;
	height: 20px;
}

.home-product-card .card-quick-add__label {
	display: inline-block;
	padding-right: 12px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	opacity: 0;
	transition: opacity 120ms ease;
}

.home-product-card .card-quick-add__button:hover .card-quick-add__label,
.home-product-card .card-quick-add__button:focus-visible .card-quick-add__label {
	opacity: 1;
}

.home-product-card .card-quick-add--source .card-quick-add__button:focus-visible {
	outline: 2px solid #0a0a0a;
	outline-offset: 3px;
}

/* Policy and contact page presentation. Commerce pages stay white. */
.site-main--policy {
	min-height: 45vh;
	padding: 32px 0;
	color: #fff;
	background: #0a0a0a;
}

.site-main--contact,
.site-main--commerce {
	color: #0a0a0a;
	background: #fff;
}

.site-main--contact {
	padding: 40px 0 84px;
}

.page-content-shell--policy,
.page-content-shell--contact,
.page-content-shell--commerce {
	width: 100%;
}

.entry--policy {
	max-width: 606px;
	margin: 0 auto;
}

.entry--policy .entry-header {
	margin-bottom: 24px;
}

.entry--policy .entry-title,
.entry--policy .entry-content h1 {
	font-size: clamp(48px, 5.6vw, 56px);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.025em;
}

.entry--policy .entry-content {
	font-size: 14px;
	font-weight: 400;
	line-height: 22.4px;
}

.entry--policy .entry-content h1,
.entry--policy .entry-content h2,
.entry--policy .entry-content h3,
.entry--policy .entry-content h4,
.entry--policy .entry-content h5,
.entry--policy .entry-content h6 {
	margin: clamp(24px, 3.3em, 40px) 0 0.35em;
	font-weight: 400;
}

.entry--policy .entry-content h1 {
	margin-top: 0;
}

.entry--policy .entry-content h2 {
	font-size: clamp(36px, 4.8vw, 48px);
	line-height: 1.08;
}

.entry--policy .entry-content h3 {
	font-size: 32px;
	line-height: 1.15;
}

.entry--policy .entry-content h4 {
	font-size: 24px;
	line-height: 1.15;
}

.entry--policy .entry-content :is(p, ul, ol) {
	margin-top: 0;
	margin-bottom: 1em;
}

.entry--policy .entry-content :is(ul, ol) {
	padding-left: 1.5em;
}

.entry--policy .entry-content :is(ul, ol) :is(ul, ol) {
	margin-top: 0.35em;
	margin-bottom: 0;
}

.entry--policy a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.entry--contact {
	max-width: none;
	margin: 0;
}

.entry--contact .entry-header {
	margin-bottom: 32px;
	text-align: center;
}

.entry--contact .entry-title {
	margin: 0;
	font-size: 48px;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.025em;
}

.entry--contact .svn13-contact-form-wrap {
	max-width: 595px;
	margin: 0 auto;
}

.entry--contact .svn13-staging-form-note,
.entry--contact .svn13-contact-status {
	margin: 0 0 16px;
	padding: 10px 12px;
	border: 1px solid #d7d7d7;
	border-radius: 4px;
	font-size: 12px;
	line-height: 1.4;
}

.entry--contact .svn13-staging-form-note {
	color: #333;
	background: #f7f7f7;
}

.entry--contact .svn13-contact-form,
.entry--contact .svn13-contact-form__row {
	gap: 16px;
}

.site-main--contact .entry--contact .svn13-contact-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.entry--contact .svn13-contact-form textarea {
	padding: 14px;
	border: 1px solid #333;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.4;
	color: #fff;
	background: #1a1a1a;
}

.site-main--contact .entry--contact .svn13-contact-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]) {
	min-height: 48px;
}

.entry--contact .svn13-contact-form textarea {
	min-height: 180px;
}

.site-main--contact .entry--contact .svn13-contact-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"])::placeholder,
.entry--contact .svn13-contact-form textarea::placeholder {
	color: rgb(255 255 255 / 72%);
	opacity: 1;
}

.site-main--contact .entry--contact .svn13-contact-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):focus-visible,
.entry--contact .svn13-contact-form textarea:focus-visible {
	border-color: #0a0a0a;
	outline: 2px solid #0a0a0a;
	outline-offset: 2px;
}

.entry--contact .svn13-contact-form button {
	justify-self: start;
	min-height: 44px;
	padding: 11px 22px;
	border: 1px solid #0a0a0a;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: #0a0a0a;
	background: #fff;
}

.entry--contact .svn13-contact-form button:hover {
	background: #f2f2f2;
}

.entry--contact .svn13-contact-form button:focus-visible {
	outline: 2px solid #0a0a0a;
	outline-offset: 3px;
}

/* Compact Shopify-style newsletter and utility footer. */
.site-footer {
	padding: 0;
	color: #fff;
	background: #0a0a0a;
}

.site-footer__inner {
	display: block;
	padding-top: 0;
	padding-bottom: 0;
}

.footer-newsletter {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: center;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 30px 0;
}

.footer-newsletter__copy {
	display: grid;
	gap: 6px;
}

.footer-newsletter__title {
	margin: 0;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.2;
}

.footer-newsletter__copy p {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: #fff;
}

.footer-newsletter__form {
	width: 100%;
	max-width: 585px;
	margin: 0 0 0 auto;
}

.footer-newsletter__controls {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 60px;
	gap: 0;
	width: 100%;
	height: 60px;
	overflow: hidden;
	border: 1px solid #dfdfdf;
	border-radius: 100px;
	color: #333;
	background: #fff;
}

.site-footer .footer-newsletter__controls input[type="email"] {
	width: 100%;
	height: 58px;
	min-width: 0;
	padding: 0 20px;
	border: 0;
	border-radius: 100px 0 0 100px;
	font-size: 14px;
	line-height: 1;
	color: #333;
	background: transparent;
}

.site-footer .footer-newsletter__controls input[type="email"]::placeholder {
	color: #666;
	opacity: 1;
}

.site-footer .footer-newsletter__controls input[type="email"]:focus {
	outline: 0;
}

.footer-newsletter__controls:focus-within {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.footer-newsletter__submit {
	display: grid;
	width: 60px;
	height: 58px;
	padding: 0;
	border: 0;
	border-radius: 0 100px 100px 0;
	place-items: center;
	color: #333;
	background: transparent;
	cursor: pointer;
}

.footer-newsletter__submit:hover {
	background: #f2f2f2;
}

.footer-newsletter__submit svg {
	width: 20px;
	height: 20px;
}

.footer-newsletter__status {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 1.3;
	color: #fff;
}

.site-footer__bottom {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	min-height: 28px;
	padding: 6px 0 8px;
	border-top: 1px solid rgb(255 255 255 / 20%);
	font-size: 12px;
	line-height: 1.2;
}

.site-footer__copyright {
	margin: 0;
	font-size: inherit;
	color: #fff;
}

.footer-policies {
	position: relative;
	margin: 0;
	color: #fff;
}

.footer-policies summary {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
	cursor: pointer;
	color: #fff;
}

.footer-policies summary::-webkit-details-marker {
	display: none;
}

.footer-policies summary::after {
	content: '';
	width: 6px;
	height: 6px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 150ms ease;
}

.footer-policies[open] summary::after {
	transform: translateY(2px) rotate(225deg);
}

.footer-policies summary:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.footer-policies .footer-nav {
	position: absolute;
	right: 0;
	bottom: calc(100% + 10px);
	width: max-content;
	min-width: 180px;
	padding: 12px;
	border: 1px solid rgb(255 255 255 / 25%);
	border-radius: 4px;
	background: #0a0a0a;
	box-shadow: 0 8px 24px rgb(0 0 0 / 30%);
	z-index: 5;
}

.footer-policies:not([open]) .footer-nav {
	display: none;
}

.footer-policies .footer-nav__list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-policies .footer-nav__list a {
	font-size: 12px;
	line-height: 1.3;
	color: #fff;
	text-decoration: none;
}

.footer-policies .footer-nav__list a:hover,
.footer-policies .footer-nav__list a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (max-width: 749px) {
	.home-product-card h3 {
		font-size: 24px;
	}

	.home-product-card .card-quick-add--source {
		display: none;
	}

	.site-main--policy {
		padding: 24px 0;
	}

	.site-main--contact {
		padding: 20px 0 48px;
	}

	.entry--policy .entry-title,
	.entry--policy .entry-content h1,
	.entry--contact .entry-title {
		font-size: 48px;
	}

	.entry--contact .svn13-contact-form__row {
		grid-template-columns: 1fr;
	}

	.footer-newsletter {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 16px 0;
	}

	.footer-newsletter__form {
		max-width: none;
		margin: 0;
	}

	.site-footer__bottom {
		flex-direction: row;
		gap: 12px;
		align-items: center;
		padding: 6px 0 8px;
	}

	.footer-policies .footer-nav {
		right: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-product-card .card-quick-add--source,
	.home-product-card .card-quick-add--source .card-quick-add__button,
	.home-product-card .card-quick-add__label,
	.footer-policies summary::after {
		transition: none;
	}
}
