/*
 * LineaCraft: styles theme.json can't express.
 * Colors and sizes come from the theme.json presets (--wp--preset--*, --wp--custom--*).
 */

/* Header, main and footer sit flush; sections carry their own spacing. */
.wp-site-blocks > * {
	margin-block-start: 0;
}

h1,
h2,
h3 {
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

/* Eyebrow: small caps label with a dashed stitch in front. */
.is-style-eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.is-style-eyebrow:not(.has-text-color) {
	color: var(--wp--preset--color--clay);
}

.is-style-eyebrow::before {
	content: "";
	flex: 0 0 34px;
	border-top: 2px dashed currentColor;
	opacity: 0.65;
}

/* Clickable card: links inside stretch over the whole card. */
.is-style-card-link {
	position: relative;
}

.is-style-card-link a {
	color: inherit;
	text-decoration: none;
}

.is-style-card-link a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.is-style-card-link:focus-within {
	outline: 2px solid var(--wp--preset--color--clay);
	outline-offset: 3px;
}

.is-style-card-link a:focus {
	outline: none;
}

.lineacraft-arrow img {
	transition: transform 0.2s;
}

.is-style-card-link:hover .lineacraft-arrow img {
	transform: translateX(4px);
}

/* Checklist: list items with a forest check mark. */
.is-style-checklist,
.lineacraft-summary ul {
	list-style: none;
	padding-left: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	line-height: 1.45;
}

.is-style-checklist li,
.lineacraft-summary li {
	position: relative;
	margin: 0;
	padding-left: 34px;
}

.is-style-checklist li::before,
.lineacraft-summary li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 22px;
	height: 22px;
	background: url("../icons/check.svg") center / contain no-repeat;
}

/* Chips: the hook size list. */
.is-style-chips,
.is-style-chips-sage {
	list-style: none;
	padding-left: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.is-style-chips li,
.is-style-chips-sage li {
	margin: 0;
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid var(--wp--custom--color--chip-line);
	background: var(--wp--preset--color--surface);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
}

.is-style-chips-sage li {
	border-color: var(--wp--custom--color--chip-sage-line);
	background: var(--wp--preset--color--sage);
}

/* Round badge holding a letter or number (how-it-works steps). */
.lineacraft-badge {
	box-sizing: border-box;
	padding: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	line-height: 1;
}

/* Rating line with a clay star in front. */
.lineacraft-rating {
	display: flex;
	align-items: center;
	gap: 8px;
}

.lineacraft-rating::before {
	content: "";
	flex: 0 0 18px;
	height: 18px;
	background: url("../icons/star.svg") center / contain no-repeat;
}

/* Header: search, account and cart as 44px icon buttons. */
.lineacraft-header__tools .wp-block-search__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--wp--preset--color--ink);
}

.lineacraft-header__tools .wp-block-search__button:hover {
	background: var(--wp--preset--color--sand);
	color: var(--wp--preset--color--ink);
}

.lineacraft-header__tools .wp-block-search__button svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.lineacraft-header__tools .wp-block-search__input {
	border-radius: 999px;
	border-color: var(--wp--custom--color--field-line);
	padding: 0 16px;
	min-height: 44px;
}

.lineacraft-header__tools .wc-block-customer-account__link,
.lineacraft-header__tools .wc-block-mini-cart__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	color: var(--wp--preset--color--ink);
}

/* Phones: keep the menu button next to the icons, on the right. */
@media (max-width: 599px) {
	.lineacraft-header__tools {
		order: 1;
		margin-left: auto;
	}

	.lineacraft-header .wp-block-navigation {
		order: 2;
	}
}

/* Phone menu: large serif links, left-aligned, with stitched dividers. */
.lineacraft-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.lineacraft-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,
.lineacraft-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
	align-items: stretch;
}

.lineacraft-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
	width: 100%;
	gap: 0;
}

.lineacraft-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
	border-bottom: 2px dashed var(--wp--preset--color--stitch-soft);
}

.lineacraft-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
	padding: 16px 0;
	font-family: var(--wp--preset--font-family--young-serif);
	font-size: 30px;
	line-height: 1.2;
}

.lineacraft-header__tools .wc-block-mini-cart__badge {
	background: var(--wp--preset--color--clay);
	color: #fff;
	font-weight: 700;
}

/* Footer: the brand column takes the spare width, link columns sit on the right. */
.lineacraft-footer__brand {
	flex: 999 1 380px;
	min-width: 0;
}

.lineacraft-footer__links {
	flex: 1 1 160px;
}

.lineacraft-footer .wp-block-navigation a {
	text-decoration: none;
}

.lineacraft-footer .wp-block-navigation a:hover {
	text-decoration: underline;
}

/* Newsletter form (footer). */
.lineacraft-newsletter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 440px;
	width: 100%;
}

.lineacraft-newsletter__email {
	flex: 1 1 220px;
	min-height: 50px;
	padding: 0 18px;
	border: 1px solid var(--wp--custom--color--footer-field-line);
	border-radius: 999px;
	background: var(--wp--custom--color--footer-field);
	color: #fff;
	font: inherit;
	font-size: 16px;
}

.lineacraft-newsletter__email::placeholder {
	color: var(--wp--preset--color--fern);
}

.lineacraft-newsletter__submit {
	min-height: 50px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--pine);
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.lineacraft-newsletter__submit:hover {
	background: #fff;
}

.lineacraft-newsletter__submit[disabled] {
	opacity: 0.7;
	cursor: progress;
}

.lineacraft-newsletter__status {
	flex-basis: 100%;
	margin: 0;
	font-size: 14px;
}

/* Two-column grid sections that center their columns vertically. */
.lineacraft-center-items {
	align-items: center;
}

.lineacraft-rating strong {
	color: var(--wp--preset--color--ink);
}

/* Hero: "NEW" pill link and the counter card on the photo. */
.lineacraft-pill .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-align: left;
}

.lineacraft-pill mark {
	flex-shrink: 0;
	white-space: nowrap;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.lineacraft-counter-card {
	width: fit-content;
	max-width: 100%;
}

/* Phones: the text goes under the display instead of squeezing beside it. */
@media (max-width: 599px) {
	.wp-block-group.lineacraft-counter-card {
		flex-wrap: wrap;
	}
}

.lineacraft-lcd {
	padding: 2px 10px 3px;
	border: 2px solid var(--wp--custom--color--lcd-line);
	border-radius: 8px;
	background: var(--wp--custom--color--lcd);
	color: var(--wp--custom--color--lcd-text);
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
	font-size: 20px;
	letter-spacing: 0;
	line-height: 1;
	white-space: nowrap;
}

/* Each count sits under its S or R label, as on the hook's screen. */
.lineacraft-lcd.lineacraft-lcd {
	gap: 6px;
}

.lineacraft-lcd__cell.lineacraft-lcd__cell {
	position: relative;
	gap: 0;
}

/* The divider spans the digits only, not the labels above them. */
.lineacraft-lcd__cell + .lineacraft-lcd__cell::before {
	content: "";
	position: absolute;
	bottom: 0.1em;
	left: -4px;
	height: 0.8em;
	border-left: 2px solid currentColor;
}

.lineacraft-lcd p {
	margin: 0;
}

.lineacraft-lcd__label {
	font-size: 9px;
	line-height: 1;
	opacity: 0.85;
}

/* Kit cards (home): white card, image on top, buy row pinned to the bottom. */
.lineacraft-kit {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 22px;
	background: var(--wp--preset--color--surface);
}

.lineacraft-kit > * {
	margin-block: 0;
}

.lineacraft-kit__body {
	flex-grow: 1;
}

.lineacraft-kit__buy {
	margin-top: auto;
	width: 100%;
}

.lineacraft-kit .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

.lineacraft-kit .wc-block-components-product-button {
	margin: 0;
}

.lineacraft-kit .wc-block-components-product-button__button {
	min-height: 48px;
	padding: 0 24px;
	font-size: 16px;
}

.lineacraft-kit__new {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 1;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--wp--preset--color--forest);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
}

/* Text beside a wide photo that wraps under it on narrow screens. */
.lineacraft-split {
	align-items: center;
}

.lineacraft-split__text {
	flex: 1 1 360px;
	min-width: 0;
}

.lineacraft-split__media {
	flex: 1.6 1 480px;
	min-width: 0;
	margin: 0;
}

.lineacraft-split__media img {
	width: 100%;
}

/* Customer photos: two square columns on phones instead of a tall single-file stack. */
@media (max-width: 599px) {
	.wp-block-group.lineacraft-ugc {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.lineacraft-ugc img {
		height: auto !important;
		aspect-ratio: 1;
	}
}

/* Photos with a fixed height and object-fit fill their column. */
.wp-block-image img[style*="object-fit:cover"],
.wp-block-image img[style*="object-fit:contain"] {
	width: 100%;
}

/* Product page buy area: gallery on the left, summary on the right; they stack on phones. */
.lineacraft-buy__media {
	flex: 999 1 560px;
	min-width: 0;
}

.lineacraft-buy__summary {
	flex: 1 1 400px;
	min-width: 0;
}

.lineacraft-buy .woocommerce-breadcrumb,
.lineacraft-buy .woocommerce-breadcrumb a {
	color: var(--wp--preset--color--subtle);
}

.is-style-eyebrow a {
	color: inherit;
	text-decoration: none;
}

/* Gallery: each photo sits in a white rounded well, thumbnails wrap beneath it.
   WooCommerce caps the gallery at 512px and floats it; here it fills its column. */
.lineacraft-buy .wp-block-woocommerce-product-image-gallery {
	max-width: none;
}

.lineacraft-buy .woocommerce-product-gallery {
	position: relative;
	float: none;
	width: 100% !important;
	margin: 0;
}

.lineacraft-buy .woocommerce-product-gallery__image {
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 24px;
	background: var(--wp--preset--color--surface);
}

/* Photos keep their own shape, so a landscape photo isn't letterboxed in a square. */
.lineacraft-buy .woocommerce-product-gallery__image img {
	width: 100%;
	max-height: 620px;
	object-fit: contain;
}

.lineacraft-buy .woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 14px 0 0 !important;
	padding: 0;
}

/* Phones: thumbnails scroll sideways in one row, so the title and price come sooner. */
@media (max-width: 781px) {
	.lineacraft-buy .woocommerce-product-gallery .flex-control-thumbs {
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}

	.lineacraft-buy .woocommerce-product-gallery .flex-control-thumbs li {
		flex: 0 0 auto;
		scroll-snap-align: start;
	}
}

.lineacraft-buy .woocommerce-product-gallery .flex-control-thumbs li {
	width: 72px !important;
	margin: 0 !important;
	float: none !important;
	list-style: none;
}

.lineacraft-buy .woocommerce-product-gallery .flex-control-thumbs img {
	box-sizing: border-box;
	width: 72px;
	height: 72px;
	border: 1px solid var(--wp--custom--color--header-line);
	border-radius: 12px;
	background: var(--wp--preset--color--surface);
	object-fit: cover;
	opacity: 1 !important;
	cursor: pointer;
}

.lineacraft-buy .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
	border: 2px solid var(--wp--preset--color--forest);
}

/* Outranks WooCommerce's ".woocommerce span.onsale". */
.lineacraft-buy .wp-block-woocommerce-product-image-gallery span.onsale {
	top: 16px;
	left: 16px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--wp--preset--color--forest);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.lineacraft-buy .wc-block-components-product-price del {
	color: var(--wp--preset--color--subtle);
	font-size: 20px;
	font-weight: 400;
}

.lineacraft-buy .wc-block-components-product-price ins {
	text-decoration: none;
}

.lineacraft-summary > :first-child {
	margin-top: 0;
}

.lineacraft-summary p {
	line-height: 1.6;
}

.lineacraft-summary strong {
	color: var(--wp--preset--color--ink);
}

/* Quantity stepper and add-to-cart button. */
.lineacraft-add-to-cart form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 4px 0 0;
}

.lineacraft-add-to-cart .wc-block-components-quantity-selector {
	display: flex;
	align-items: center;
	width: auto;
	margin: 0 !important;
	border: 1px solid var(--wp--custom--color--field-line);
	border-radius: 999px;
	background: var(--wp--preset--color--surface);
}

.lineacraft-add-to-cart .wc-block-components-quantity-selector::after {
	display: none;
}

.lineacraft-add-to-cart .wc-block-components-quantity-selector__button {
	min-width: 50px;
	height: 56px;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--ink);
	font-size: 22px;
	opacity: 1;
	cursor: pointer;
}

.lineacraft-add-to-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input {
	width: 32px;
	min-width: 32px;
	height: 56px !important;
	padding: 0 !important;
	border: 0;
	background: transparent;
	box-shadow: none;
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	appearance: textfield;
}

.lineacraft-add-to-cart .wc-block-components-quantity-selector__input::-webkit-inner-spin-button,
.lineacraft-add-to-cart .wc-block-components-quantity-selector__input::-webkit-outer-spin-button {
	margin: 0;
	appearance: none;
}

.lineacraft-add-to-cart .single_add_to_cart_button {
	flex: 1 1 220px;
	min-height: 58px;
	margin: 0;
	padding: 0 24px;
	border-radius: 999px;
	font-size: 18px;
	font-weight: 600;
}

/* "Buy on Amazon" in place of the form while visitors buy there (inc/amazon.php). */
.lineacraft-amazon-buy {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	margin-top: 4px;
	padding: 0 24px;
	font-size: 18px;
	text-decoration: none;
}

/* Buy bar pinned to the bottom while the add-to-cart form is off screen (assets/js/add-to-cart.js). */
.lineacraft-sticky-buy {
	position: fixed;
	inset: auto 0 0;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px max(var(--wp--style--root--padding-right), calc((100% - var(--wp--style--global--wide-size)) / 2));
	padding-bottom: max(12px, env(safe-area-inset-bottom));
	border-top: 1px solid var(--wp--custom--color--header-line);
	background: var(--wp--preset--color--base);
	box-shadow: 0 -10px 30px rgb(31 46 37 / 8%);
	transform: translateY(100%);
	visibility: hidden;
	transition: transform 0.25s ease, visibility 0.25s;
}

.lineacraft-sticky-buy.is-visible {
	transform: none;
	visibility: visible;
}

.lineacraft-sticky-buy__name {
	min-width: 0;
	margin: 0;
	overflow: hidden;
	font-family: var(--wp--preset--font-family--young-serif);
	font-size: 22px;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lineacraft-sticky-buy__button {
	flex-shrink: 0;
	min-height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
}

a.lineacraft-sticky-buy__button {
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.lineacraft-sticky-buy__button:disabled {
	cursor: progress;
	opacity: 0.75;
}

@media (max-width: 599px) {
	.lineacraft-sticky-buy__name {
		display: none;
	}

	.lineacraft-sticky-buy__button {
		flex: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lineacraft-sticky-buy {
		transition: none;
	}
}

/* Product tabs (generic product template). */
.wp-block-woocommerce-product-details .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 8px;
	margin: 0 0 24px;
	padding: 0;
	border-bottom: 2px dashed var(--wp--preset--color--stitch-soft);
}

/* WooCommerce's own tab selectors are more specific, hence !important. */
.wp-block-woocommerce-product-details .woocommerce-tabs ul.tabs li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
}

.wp-block-woocommerce-product-details .woocommerce-tabs ul.tabs::before,
.wp-block-woocommerce-product-details .woocommerce-tabs ul.tabs li::before,
.wp-block-woocommerce-product-details .woocommerce-tabs ul.tabs li::after {
	display: none !important;
}

.wp-block-woocommerce-product-details .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 12px 16px;
	color: var(--wp--preset--color--muted);
	font-weight: 600;
	text-decoration: none;
}

.wp-block-woocommerce-product-details .woocommerce-tabs ul.tabs li.active a {
	color: var(--wp--preset--color--ink);
	box-shadow: inset 0 -3px 0 var(--wp--preset--color--forest);
}

/* Feature rows: text and photo side by side; on phones the photo comes first. */
.lineacraft-wrap-reverse {
	flex-wrap: wrap-reverse !important;
}

.lineacraft-split__half {
	flex: 1 1 420px;
	min-width: 0;
	margin: 0;
}

.lineacraft-split__half img {
	width: 100%;
}

.lineacraft-measure-s {
	max-width: 460px;
}

/* Comparison table: the LineaCraft column is highlighted. All three columns fit on a phone. */
.is-style-comparison {
	overflow-x: auto;
	margin-inline: 0;
	margin-bottom: 0;
}

.is-style-comparison table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

@media (max-width: 599px) {
	.is-style-comparison table {
		font-size: 14px;
	}

	.is-style-comparison :is(th, td),
	.is-style-comparison thead th {
		padding: 12px 6px;
	}
}

.is-style-comparison :is(th, td) {
	padding: 16px 12px;
	border: 0;
}

.is-style-comparison thead {
	border: 0;
}

.is-style-comparison thead th {
	padding: 14px 12px;
	color: var(--wp--preset--color--subtle);
	font-weight: 600;
}

.is-style-comparison thead th:nth-child(2) {
	border-radius: 14px 14px 0 0;
	background: var(--wp--preset--color--forest);
	color: #fff;
	font-weight: 700;
}

.is-style-comparison tbody tr {
	border-top: 2px dashed var(--wp--preset--color--stitch-soft);
}

.is-style-comparison tbody th {
	font-weight: 500;
	text-align: left;
}

.is-style-comparison tbody td {
	color: var(--wp--preset--color--subtle);
	text-align: center;
}

.is-style-comparison tbody td:nth-child(2) {
	background: var(--wp--preset--color--sage);
	color: var(--wp--preset--color--forest);
	font-weight: 700;
}

.is-style-comparison tbody tr:last-child td:nth-child(2) {
	border-radius: 0 0 14px 14px;
}

/* FAQ: dashed separators and a clay plus sign that turns into a cross when open. */
.lineacraft-faq__list {
	border-top: 2px dashed var(--wp--preset--color--stitch-soft);
}

.lineacraft-faq .wp-block-details {
	margin: 0;
	padding: 0 4px;
	border-bottom: 2px dashed var(--wp--preset--color--stitch-soft);
}

.lineacraft-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 64px;
	font-size: 18px;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

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

.lineacraft-faq summary::after {
	content: "+";
	flex-shrink: 0;
	color: var(--wp--preset--color--clay);
	font-size: 26px;
	font-weight: 400;
	transition: transform 0.2s;
}

.lineacraft-faq details[open] > summary::after {
	transform: rotate(45deg);
}

.lineacraft-faq .wp-block-details > p {
	margin: 0 0 22px;
	color: var(--wp--preset--color--muted);
	font-size: 17px;
}

/* Customer reviews. */
.lineacraft-reviews .wp-block-woocommerce-product-review-template {
	display: grid;
	gap: 16px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.lineacraft-reviews .woocommerce-verification-required {
	color: var(--wp--preset--color--muted);
	font-size: 15px;
}

.lineacraft-reviews .wp-block-woocommerce-product-review-form {
	padding: 28px;
	border: 2px dashed var(--wp--preset--color--stitch-soft);
	border-radius: 20px;
}

/* Cart drawer, cart and checkout: line items show name, price and quantity, not the description. */
.wc-block-components-product-metadata__description {
	display: none;
}

/* Below the two-column layout WooCommerce shows the summary twice: collapsed at the top and in full above
   Place Order. Keep the full one by the button. */
.wc-block-checkout__sidebar:not(.is-large) .wp-block-woocommerce-checkout-order-summary-block {
	display: none;
}

/* Empty cart: no crying face, a pill button back to the shop, product cards like the home kits. */
.wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
	display: none;
}

.wc-block-cart__empty-cart__title {
	font-size: var(--wp--preset--font-size--x-large);
}

.wp-block-woocommerce-empty-cart-block > p a {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0 28px;
	border-radius: 999px;
	background: var(--wp--preset--color--forest);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.wp-block-woocommerce-empty-cart-block > p a:hover {
	background: var(--wp--preset--color--forest-deep);
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
	justify-content: center;
	gap: 24px;
	margin: 0;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 0 1 280px;
	max-width: 280px;
	margin: 0;
	padding: 0 0 22px;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 22px;
	background: var(--wp--preset--color--surface);
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link {
	color: inherit;
	text-decoration: none;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image {
	display: block;
	width: 100%;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

/* WooCommerce turns the grid into a block on phones, which drops the gap. */
@media (max-width: 599px) {
	.wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
		display: flex !important;
		gap: 16px;
	}
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
	padding: 0 16px;
	font-family: var(--wp--preset--font-family--young-serif);
	font-size: 20px;
	font-weight: 400;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
	font-size: 17px;
	font-weight: 700;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price ins {
	text-decoration: none;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price del {
	color: var(--wp--preset--color--subtle);
	font-weight: 400;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart {
	margin-top: auto;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-onsale {
	top: 14px;
	right: auto;
	left: 14px;
	padding: 6px 12px;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--forest);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* "Pairs well with" cards. */
.lineacraft-cross {
	align-items: center;
}

.lineacraft-cross__media {
	flex-shrink: 0;
}

.lineacraft-cross__text {
	flex: 1 1 200px;
}

.lineacraft-cross .wp-block-image {
	margin: 0;
}

.lineacraft-cross img {
	background: var(--wp--preset--color--surface);
}
