/* Shop layouts for the local adaptive preview. */

body.fk-responsive-dev:is(.post-type-archive-fkm_product, .tax-fkm_product_category, .family-page-cart, .family-page-favorites) main .inner-hero {
	min-height: 0;
	padding-block: clamp(22px, 3vw, 58px);
}

body.fk-responsive-dev:is(.post-type-archive-fkm_product, .tax-fkm_product_category, .family-page-cart, .family-page-favorites) main .inner-hero > .shell {
	min-height: 0;
	padding-block: 0;
}

body.fk-responsive-dev:is(.post-type-archive-fkm_product, .tax-fkm_product_category, .family-page-cart, .family-page-favorites) main .inner-hero h1 {
	margin-block: .18em .3em;
	font-size: clamp(32px, 4.3vw, 68px) !important;
	line-height: 1.08 !important;
	overflow-wrap: anywhere;
}

body.fk-responsive-dev .catalog-showcase {
	padding: clamp(16px, 2.15vw, 30px) 0;
}

body.fk-responsive-dev .catalog-showcase .catalog-showcase__head {
	gap: 12px clamp(16px, 2vw, 36px);
	margin-bottom: clamp(10px, 1.5vw, 18px);
}

body.fk-responsive-dev .catalog-showcase .catalog-showcase__head h2 {
	font-size: clamp(26px, 3.2vw, 50px) !important;
	line-height: 1.1;
}

body.fk-responsive-dev .catalog-showcase .catalog-showcase__controls {
	margin: 0;
}

body.fk-responsive-dev .catalog-showcase .catalog-showcase__grid {
	padding-bottom: 7px;
}

body.fk-responsive-dev .catalog-showcase__grid > a {
	flex-basis: clamp(198px, 22vw, 304px);
}

body.fk-responsive-dev .catalog-showcase__grid > a > span {
	min-height: 56px;
	padding: 12px 6px 12px 14px;
	font-size: clamp(15px, 1.35vw, 18px);
}

body.fk-responsive-dev .catalog-showcase__grid > a > b {
	padding: 12px 14px 12px 6px;
}

body.fk-responsive-dev .catalog-showcase__grid .catalog-showcase__media img {
	aspect-ratio: 2.1;
}

body.fk-responsive-dev main .catalog-area {
	display: grid;
	grid-template-columns: clamp(232px, 18vw, 310px) minmax(0, 1fr);
	gap: clamp(16px, 2vw, 34px);
	padding: clamp(18px, 3vw, 48px) 0 clamp(42px, 5vw, 88px);
}

body.fk-responsive-dev .catalog-area > div {
	min-width: 0;
}

body.fk-responsive-dev .catalog-area .catalog-filters {
	position: sticky;
	inset: auto;
	top: 16px;
	display: block;
	min-width: 0;
	margin: 0;
	padding: 0;
	z-index: auto;
}

.family-kraft-theme .catalog-filters .filter-title__label {
	color: #fff7ee;
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.025em;
}

.family-kraft-theme .catalog-area .catalog-results-title {
	--fkm-title-section: clamp(23px, 2.2vw, 34px);
	margin: 0 0 8px;
	overflow-wrap: anywhere;
}

body.fk-responsive-dev .catalog-area .catalog-filters form {
	padding-inline: clamp(12px, 1.55vw, 24px);
}

body.fk-responsive-dev .catalog-area .catalog-filters .filter-group {
	min-width: 0;
	padding-block: clamp(10px, 1.3vw, 17px);
}

body.fk-responsive-dev .catalog-area .catalog-filters :is(.price-filter, .price-filter > label, input:not([type=radio], [type=checkbox])) {
	min-width: 0;
}

body.fk-responsive-dev .fk-catalog-filter-disclosure > summary {
	display: none;
}

body.fk-responsive-dev .catalog-product-grid,
body.fk-responsive-dev .favorites-grid {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr));
	gap: clamp(14px, 1.35vw, 24px);
}

body.fk-responsive-dev :is(.catalog-product-grid, .favorites-grid) .product-card {
	min-width: 0;
}

body.fk-responsive-dev :is(.catalog-product-grid, .favorites-grid) .product-card h3 {
	overflow-wrap: anywhere;
}

body.fk-responsive-dev :is(.catalog-product-grid, .favorites-grid) .product-card .card-pricing {
	flex-wrap: wrap;
	gap: 6px 10px;
}

body.fk-responsive-dev .favorites-section {
	padding-block: clamp(20px, 4vw, 64px);
}

body.fk-responsive-dev .favorites-toolbar {
	flex-wrap: wrap;
	gap: 10px 20px;
}

body.fk-responsive-dev .favorites-empty {
	padding: clamp(24px, 4vw, 54px) clamp(12px, 3vw, 32px);
}

body.fk-responsive-dev.single-fkm_product main > .product-layout {
	display: block;
	width: min(100% - 2 * var(--fk-adaptive-gutter), 1680px);
	padding: 0;
}

body.fk-responsive-dev.single-fkm_product .product-copy.fk-product-adaptive {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
	grid-template-areas:
		"media purchase"
		"information information";
	align-items: start;
	gap: clamp(20px, 2.6vw, 42px) clamp(16px, 2.4vw, 40px);
	position: static;
	overflow: visible;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

body.fk-responsive-dev .fk-product-adaptive .fk-product-purchase-card {
	grid-area: purchase;
	min-width: 0;
	padding: clamp(16px, 1.5vw, 28px);
	border: 1px solid #e0d6ca;
	border-radius: 14px;
	background: #fffdf9;
}

body.fk-responsive-dev .fk-product-adaptive .product-heading > p:first-child {
	margin: 0 0 7px;
	color: #a4360a;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
}

body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-heading h1 {
	max-width: 24ch;
	margin: 0 0 8px;
	font-size: clamp(26px, 2.65vw, 44px) !important;
	line-height: 1.12 !important;
	letter-spacing: -.035em;
	overflow-wrap: anywhere;
}

body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-code {
	margin-bottom: 0;
}

body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-calculator {
	min-width: 0;
	margin-top: clamp(10px, 1vw, 16px);
	padding: 0;
	border: 0;
	background: transparent;
}

body.fk-responsive-dev .fk-product-adaptive .product-quantity {
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(84px, 26%, 138px);
	align-items: center;
	gap: 8px 14px;
	margin-block: 10px;
}

body.fk-responsive-dev .fk-product-adaptive .product-quantity label {
	display: block;
	font-size: 14px;
	font-weight: 700;
}

body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-quantity input {
	min-height: 44px;
	margin: 0;
	padding-inline: 10px;
	border-radius: 8px;
	font: inherit;
}

body.fk-responsive-dev .fk-product-adaptive .product-quantity .product-min-order {
	margin: 3px 0 0;
	font-size: 12px;
}

body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-calculator .calc-row {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-calculator .calc-row > div {
	padding: clamp(8px, 1vw, 12px);
	border: 1px solid #eee3d6;
	background: #f6f0e8;
}

body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-calculator .calc-row span {
	font-size: clamp(10px, 1vw, 12px);
	letter-spacing: normal;
	text-transform: none;
}

body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-calculator .calc-row strong {
	margin-top: 3px;
	font-size: clamp(17px, 2vw, 29px);
	overflow-wrap: anywhere;
}

body.fk-responsive-dev .fk-product-adaptive .product-calculator [data-product-calc-status]:empty {
	display: none;
}

body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-calculator .product-saving {
	margin: 0 0 8px;
}

body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-add {
	--fk-orange: #aa310b;
	min-height: 48px;
	margin-top: 0;
	padding-inline: 12px;
}

body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-add:hover {
	--fk-orange: #842809;
}

.fk-product-adaptive .product-order-actions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(118px, 100%), 1fr));
	gap: 8px;
}

.fk-product-adaptive .product-quick-button {
	min-height: 48px;
	padding: 8px 10px;
	border: 1px solid #aa310b;
	border-radius: 9px;
	background: #fffdf9;
	color: #8c2e10;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	cursor: pointer;
}

.fk-product-adaptive .product-quick-button:hover:not(:disabled) {
	background: #f8ede2;
}

.fk-product-adaptive .product-quick-button:disabled {
	border-color: #ded3c6;
	background: #f6f0e8;
	color: #756458;
	cursor: not-allowed;
}

.fk-product-adaptive .product-quick-success {
	margin: 10px 0 0;
	padding: 10px 12px;
	border: 1px solid #b9c8b1;
	border-radius: 8px;
	background: #f0f5ed;
	color: #344831;
	font-size: 14px;
}

.fk-product-adaptive .product-quick-dialog {
	width: min(calc(100% - 24px), 490px);
	max-height: calc(100dvh - 24px);
	overflow: auto;
	overscroll-behavior: contain;
	padding: clamp(16px, 4vw, 28px);
	border: 1px solid #e0d6ca;
	border-radius: 16px;
	background: #fffdf9;
	color: #2b211b;
	box-shadow: 0 20px 65px #261b1533;
}

.fk-product-adaptive .product-quick-dialog::backdrop {
	background: #231711a0;
}

.product-quick-dialog__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.product-quick-dialog .product-quick-dialog__heading p {
	margin: 0;
	font-size: clamp(23px, 5.5vw, 31px);
	font-weight: 750;
	line-height: 1.1;
	letter-spacing: -.025em;
}

.product-quick-dialog__close {
	--fkm-text-sm: 23px;
	flex: 0 0 44px;
	min-height: 44px;
	padding: 0;
	border: 1px solid #e0d6ca;
	border-radius: 9px;
	background: #fffdf9;
	color: #2b211b;
	font: inherit;
	font-size: 25px;
	line-height: 1;
	cursor: pointer;
}

.product-quick-dialog__form {
	display: grid;
	gap: 12px;
}

.product-quick-dialog__summary {
	padding: 12px 14px;
	border: 1px solid #eee3d6;
	border-radius: 9px;
	background: #f6f0e8;
}

.product-quick-dialog__summary p {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
}

.product-quick-dialog__summary dl,
.product-quick-dialog__summary dd {
	margin: 0;
}

.product-quick-dialog__summary dl > div {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: 14px;
}

.product-quick-dialog__summary dd {
	font-weight: 700;
	text-align: right;
}

.product-quick-dialog .product-quick-dialog__note,
.product-quick-dialog__optional {
	margin: 0;
	color: #66584c;
	font-size: 13px;
}

.product-quick-dialog__field {
	display: grid;
	gap: 5px;
	font-size: 14px;
	font-weight: 650;
}

.product-quick-dialog__optional {
	font-weight: 400;
}

.product-quick-dialog__field input {
	width: 100%;
	min-height: 44px;
	padding: 8px 10px;
	border: 1px solid #ccbeb0;
	border-radius: 8px;
	background: #fff;
	color: #2b211b;
	font: inherit;
}

.product-quick-dialog__form .product-quick-dialog__consent {
	margin: 0;
	font-size: 13px;
}

.product-quick-dialog__submit {
	min-height: 46px;
	padding: 8px 12px;
	border: 0;
	border-radius: 9px;
	background: #aa310b;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.product-quick-dialog__submit:disabled {
	opacity: .65;
	cursor: wait;
}

.fk-product-adaptive :is(.product-quick-button, .product-quick-dialog :is(button, input, a)):focus-visible {
	outline: 2px solid #aa310b;
	outline-offset: 2px;
}

body.fk-responsive-dev .fk-product-adaptive .product-media {
	grid-area: media;
	min-width: 0;
	overflow: hidden;
	border: 1px solid #e0d6ca;
	border-radius: 14px;
	background: #f1efec;
}

body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-gallery-main {
	display: grid;
	place-items: center;
	width: 100%;
	height: min(780px, max(145px, calc(100svh - 244px)));
	min-height: 0;
	aspect-ratio: auto;
	border-radius: 0;
	background: #f1efec;
}

body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-gallery-main img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: contain;
}

body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-thumbs {
	display: flex;
	gap: clamp(5px, .65vw, 10px);
	margin-top: 0;
	padding: 8px;
}

body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-thumbs button {
	flex: 0 1 auto;
	width: clamp(44px, 4.6vw, 62px);
	min-width: 0;
	height: clamp(44px, 4.6vw, 62px);
	cursor: pointer;
}

body.fk-responsive-dev .fk-product-adaptive :is(.product-thumbs button, .product-wholesale button, .product-wholesale input, .product-quantity input, .product-add):focus-visible {
	outline: 2px solid #aa310b;
	outline-offset: 2px;
}

body.fk-responsive-dev .fk-product-adaptive .product-information {
	grid-area: information;
	min-width: 0;
	overflow-wrap: anywhere;
	margin-bottom: clamp(24px, 4vw, 60px);
}

body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-information > section {
	margin: 0;
	padding: clamp(16px, 2.4vw, 36px);
	border: 1px solid #e0d6ca;
	border-radius: 14px;
	background: #fffdf9;
}

body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-information > section + section {
	margin-top: clamp(12px, 1.5vw, 24px);
}

body.fk-responsive-dev .fk-product-adaptive .product-information h2 {
	margin: 0 0 12px;
	font-size: clamp(22px, 2.2vw, 34px);
	line-height: 1.2;
}

body.fk-responsive-dev .fk-product-adaptive .product-description__content {
	max-width: 78ch;
}

body.fk-responsive-dev .fk-product-adaptive .product-description__content > :last-child {
	margin-bottom: 0;
}

body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-characteristics dl {
	margin: 0;
}

body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-characteristics dt {
	color: #594e46;
}

body.fk-responsive-dev .fk-product-adaptive .product-wholesale {
	margin: 10px 0 0;
	padding: clamp(9px, 1vw, 14px);
	border-color: #eee3d6;
	border-radius: 9px;
	background: #f6f0e8;
	font-family: inherit;
}

body.fk-responsive-dev .fk-product-adaptive .product-wholesale input[type=range] {
	margin: 8px 0;
	accent-color: #aa310b;
}

body.fk-responsive-dev .fk-product-adaptive .product-wholesale__steps button {
	flex-basis: 49px;
	gap: 3px;
	min-height: 44px;
	padding-block: 5px;
	border-radius: 5px;
}

body.fk-responsive-dev .fk-product-adaptive .product-wholesale p {
	margin-top: 6px;
	font-size: 12px;
}

body.fk-responsive-dev .fk-product-adaptive .product-description :is(img, iframe) {
	max-width: 100%;
}

body.fk-responsive-dev.family-page-cart main :is(.cart-layout, .cart-checkout) {
	width: min(100% - 2 * var(--fk-adaptive-gutter), 1640px);
}

body.fk-responsive-dev.family-page-cart main .cart-layout {
	grid-template-columns: minmax(0, 1fr) minmax(270px, .37fr);
	gap: clamp(14px, 2vw, 30px);
	padding: clamp(20px, 3vw, 40px) 0 clamp(32px, 5vw, 68px);
}

body.fk-responsive-dev.family-page-cart .cart-row {
	grid-template-columns: clamp(76px, 8vw, 126px) minmax(0, 1fr) minmax(72px, max-content) minmax(0, auto);
	gap: clamp(10px, 1.5vw, 22px);
}

body.fk-responsive-dev.family-page-cart .cart-row img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
}

body.fk-responsive-dev.family-page-cart .cart-row h2 {
	font-size: clamp(16px, 1.65vw, 23px) !important;
	overflow-wrap: anywhere;
}

body.fk-responsive-dev.family-page-cart .cart-row > strong {
	font-size: clamp(16px, 1.7vw, 22px);
}

body.fk-responsive-dev.family-page-cart .cart-row [data-cart-qty] {
	width: clamp(72px, 8vw, 96px);
	min-height: 44px;
}

body.fk-responsive-dev.family-page-cart .cart-checkout__form > label {
	min-width: 0;
}

@media (max-width: 1100px) {
	body.fk-responsive-dev main .catalog-area {
		grid-template-columns: minmax(0, 1fr);
	}

	body.fk-responsive-dev .catalog-area .catalog-filters {
		position: static;
	}

	body.fk-responsive-dev .fk-catalog-filter-disclosure > summary {
		display: list-item;
		min-height: 44px;
		padding: 12px 16px;
		font-weight: 700;
		cursor: pointer;
	}

	body.fk-responsive-dev .catalog-area .catalog-filters .filter-title {
		justify-content: flex-end;
		padding: 8px 16px;
		background: transparent;
	}

	body.fk-responsive-dev .catalog-area .catalog-filters .filter-title__label {
		display: none;
	}

	body.fk-responsive-dev .catalog-area .catalog-filters .filter-title a {
		color: #a4360a;
	}

	body.fk-responsive-dev .catalog-area .catalog-filters form {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
		align-items: start;
		column-gap: clamp(10px, 2vw, 24px);
	}

	body.fk-responsive-dev .catalog-area .catalog-filters form > .filter-group:first-child {
		grid-column: 1 / -1;
	}

	body.fk-responsive-dev .catalog-area .category-filter {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
		margin-top: 8px;
	}

	body.fk-responsive-dev .catalog-area .filter-options > div {
		max-height: 172px;
	}
}

@media (max-width: 900px) {
	body.fk-responsive-dev.single-fkm_product .product-copy.fk-product-adaptive {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "purchase" "media" "information";
	}

	body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-gallery-main {
		height: auto;
		aspect-ratio: 1;
		max-height: min(60svh, 460px);
	}

	body.fk-responsive-dev.family-page-cart main .cart-layout,
	body.fk-responsive-dev.family-page-cart main .cart-checkout {
		grid-template-columns: minmax(0, 1fr);
	}

	body.fk-responsive-dev.family-page-cart .cart-summary {
		position: static;
	}
}

@media (max-width: 700px) {
	body.fk-responsive-dev .catalog-showcase__grid > a {
		flex-basis: clamp(178px, 58vw, 226px);
	}

	body.fk-responsive-dev.single-fkm_product .fk-breadcrumbs ol {
		gap: 3px 0;
	}

	body.fk-responsive-dev.single-fkm_product .fk-breadcrumbs li :is(a, span) {
		font-size: 12px !important;
		line-height: 1.35 !important;
	}

	body.fk-responsive-dev.single-fkm_product .fk-product-adaptive .product-heading h1 {
		font-size: clamp(25px, 6.2vw, 40px) !important;
	}

	body.fk-responsive-dev.family-page-cart .cart-row {
		grid-template-columns: 76px minmax(0, 1fr);
	}

	body.fk-responsive-dev.family-page-cart .cart-row [data-cart-qty] {
		grid-column: 1;
	}

	body.fk-responsive-dev.family-page-cart .cart-row > strong {
		grid-column: 2;
		text-align: end;
	}
}
