/*
 * "Next" layer (inc/next.php): refinements from the November 2026 review, loaded after style.css.
 * Same design, tightened: one card style, calmer checkout, a fuller footer, better use of the
 * width on cart, checkout and Over ons, and terracotta text that passes the contrast check.
 */

.jfe-next {
	--jfe-accent-text: #b04a30; /* terracotta for small text: 4.9:1 on cream (the fill colour gives 4.1:1) */
	--wp--preset--color--rose: #b04a30;
	--jfe-rose: #b04a30; /* sale prices and the "Aanbieding" label */
}

/* ---------- Small things everywhere ---------- */
.jfe-next p, .jfe-next li { text-wrap: pretty; }
.jfe-next .jfe-more a, .jfe-next .jfe-arrow:not(.wp-element-button), .jfe-next .jfe-tabs__all, .jfe-next .jfe-panel__card a,
.jfe-next .jfe-contact-card a, .jfe-next .jfe-nl__kicker, .jfe-next .jfe-cc__text a, .jfe-next .jfe-signature,
.jfe-next .jfe-nav__list > li.jfe-sale > a, .jfe-next .jfe-nl__status.is-error { color: var(--jfe-accent-text); }
.jfe-next .jfe-catlist li a { color: var(--jfe-accent-text) !important; }
.jfe-next .jfe-catlist li a:hover, .jfe-next .jfe-catlist li.current-cat a:hover { color: var(--jfe-accent-text) !important; }
.jfe-next .jfe-catlist li.current-cat a { color: #fff !important; }
/* The cart counter keeps its colours once WooCommerce's script has started (it used to flip to white). */
.jfe-next .jfe-cart .wc-block-mini-cart__badge { background: var(--wp--preset--color--accent) !important; color: #fff !important; }
.jfe-next :target { scroll-margin-top: 120px; }
.jfe-next .jfe-banner__text p { color: #fff; }
.jfe-next .wp-site-blocks > main { margin-top: 0; }

.jfe-next-pill {
	position: fixed; z-index: 80; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; white-space: nowrap;
	background: var(--wp--preset--color--contrast); color: #fff; border-radius: 999px; padding: 8px 16px; font-size: 13px;
	box-shadow: 0 8px 24px rgba(43, 36, 32, .28);
}
.jfe-next-pill a { color: #f3c9bb; margin-left: 10px; text-decoration: underline; text-underline-offset: 3px; }
.jfe-next-pill a:hover { color: #fff; }

/* ---------- Homepage ---------- */
/* Hero: a line of context and three promises under the button, so the text side is not an empty panel */
.jfe-next .jfe-slide__text h1 { margin-bottom: 18px; }
.jfe-next .jfe-hero__lead { font-size: 19px; line-height: 1.5; color: var(--jfe-soft); max-width: 30ch; margin: 0 0 28px; }
.jfe-next .jfe-hero__usps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--jfe-ink); }
.jfe-next .jfe-hero__usps li, .jfe-next .jfe-deliv p { position: relative; padding-left: 28px; }
.jfe-next .jfe-hero__usps li::before, .jfe-next .jfe-deliv p::before {
	content: ""; position: absolute; left: 0; top: .12em; width: 18px; height: 18px; border-radius: 50%; background: var(--jfe-leaf);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.7 7.7-5.4 5.6a1 1 0 0 1-1.4 0L5.3 10.6a1 1 0 1 1 1.4-1.4l1.9 1.9 4.7-4.8a1 1 0 0 1 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm4.7 7.7-5.4 5.6a1 1 0 0 1-1.4 0L5.3 10.6a1 1 0 1 1 1.4-1.4l1.9 1.9 4.7-4.8a1 1 0 0 1 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 900px) {
	.jfe-next .jfe-hero__lead { font-size: 17px; max-width: none; margin-bottom: 20px; }
	.jfe-next .jfe-hero__usps { margin-top: 22px; font-size: 14px; gap: 6px; }
	.jfe-next .jfe-slide__text { padding-bottom: 36px; }
}

/* Collections: the leaf branches behind the tiles, also when the template no longer has the loose leaf spans */
.jfe-next .jfe-circles:not(:has(.jfe-leaf))::before, .jfe-next .jfe-circles:not(:has(.jfe-leaf))::after {
	content: "" !important; position: absolute; z-index: -1; pointer-events: none; aspect-ratio: 560 / 670;
	background: url("../img/leaf-branch.svg") center / contain no-repeat;
}
.jfe-next .jfe-circles:not(:has(.jfe-leaf))::before { width: 280px; left: -3%; top: -10px; right: auto; bottom: auto; transform: rotate(-38deg); opacity: .16; }
.jfe-next .jfe-circles:not(:has(.jfe-leaf))::after { width: 210px; right: 1%; top: -30px; left: auto; bottom: auto; transform: scaleX(-1) rotate(-52deg); opacity: .14; }
@media (max-width: 900px) {
	.jfe-next .jfe-circles:not(:has(.jfe-leaf))::before { width: 170px; left: -60px; top: 10px; }
	.jfe-next .jfe-circles:not(:has(.jfe-leaf))::after { width: 140px; right: -40px; top: 40px; }
}

/* "Nieuw binnen" on phones: the link under the heading instead of squeezed next to it */
@media (max-width: 900px) {
	.jfe-next .jfe-tabs .jfe-sec-head { flex-wrap: wrap; gap: 4px 12px; }
	.jfe-next .jfe-tabs__all { flex-basis: 100%; text-align: left; font-size: 15px !important; }
}

/* ---------- Product cards ---------- */
.jfe-next .jfe-grid .wp-block-post-title { font-size: 15px !important; line-height: 1.4; margin-bottom: 6px !important; }
.jfe-next .jfe-grid li:hover .wp-block-post-title a { color: var(--jfe-accent-text); }
.jfe-next .jfe-grid .wc-block-components-product-price { font-size: 16px; font-variant-numeric: lining-nums tabular-nums; }
.jfe-next .jfe-grid .wc-block-components-product-price del { font-size: 14px; }
.jfe-next .jfe-grid .wc-block-components-product-image { transition: box-shadow .25s ease; }
.jfe-next .jfe-grid li:hover .wc-block-components-product-image { box-shadow: 0 10px 26px rgba(43, 36, 32, .10); }
.jfe-next .jfe-heart { transition: transform .15s ease; }
.jfe-next .jfe-heart:hover { transform: scale(1.08); }

/* Classic WooCommerce lists (e.g. [products ids="…"]): same grid as the shop */
.jfe-next .woocommerce.columns-5 > .jfe-grid--loop > ul, .jfe-next .jfe-popular .jfe-grid--loop > ul { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.jfe-next .jfe-grid--loop br, .jfe-next .jfe-grid--loop > p:empty, .jfe-next .woocommerce > p:empty { display: none; }
/* More than five hand-picked favourites: one row you can scroll, instead of a second row with one leftover */
.jfe-next .jfe-popular .jfe-grid--loop > ul:has(> li:nth-child(6)) {
	display: grid; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 18px) / 5);
	gap: 18px !important; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 6px;
}
.jfe-next .jfe-popular .jfe-grid--loop > ul:has(> li:nth-child(6))::-webkit-scrollbar { display: none; }
.jfe-next .jfe-popular .jfe-grid--loop > ul:has(> li:nth-child(6)) > li { display: block !important; scroll-snap-align: start; min-width: 0; }
.jfe-scroll-btns { display: flex; gap: 8px; margin-left: auto; }
.jfe-scroll-btns + .jfe-more { margin-left: 8px; }
.jfe-scroll-btns button {
	width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--jfe-line); background: var(--jfe-white); color: var(--jfe-ink);
	display: grid; place-items: center; cursor: pointer; padding: 0; transition: border-color .15s, opacity .15s;
}
.jfe-scroll-btns button:hover:not(:disabled) { border-color: var(--jfe-ink); }
.jfe-scroll-btns button:disabled { opacity: .35; cursor: default; }
.jfe-scroll-btns svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) {
	.jfe-next .jfe-popular .jfe-grid--loop > ul:has(> li:nth-child(6)) { grid-auto-columns: 44%; gap: 12px !important; margin-right: calc(-1 * var(--wp--style--root--padding-right, 18px)); padding-right: 18px; }
	.jfe-scroll-btns { display: none; }
	.jfe-scroll-btns + .jfe-more { margin-left: 0; }
	.jfe-next .jfe-popular .jfe-sec-head { flex-wrap: wrap; gap: 4px 12px; }
}

/* ---------- Footer ---------- */
.jfe-foot { background: var(--wp--preset--color--contrast); color: #e9dfd6; margin-top: var(--wp--preset--spacing--60); font-size: 15px; }
.jfe-foot__inner {
	max-width: 1240px; margin: 0 auto; padding: 56px clamp(18px, 4vw, 56px) 26px; box-sizing: content-box;
	display: grid; grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px 48px;
}
.jfe-foot a { color: #e9dfd6; text-decoration: none; }
.jfe-foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.jfe-foot__logo { display: inline-block; margin-bottom: 14px; }
.jfe-foot__logo img { height: 74px; width: auto; display: block; filter: brightness(0) invert(1); opacity: .94; }
.jfe-foot__brand p { margin: 0 0 18px; max-width: 34ch; color: #cfc3b8; line-height: 1.55; }
.jfe-foot__contact, .jfe-foot__col ul, .jfe-foot__promise ul, .jfe-foot__legal, .jfe-foot__pay { list-style: none; margin: 0; padding: 0; }
.jfe-foot__contact { display: grid; gap: 9px; }
.jfe-foot__contact li, .jfe-foot__promise li { position: relative; padding-left: 28px; }
.jfe-foot__contact li::before, .jfe-foot__promise li::before {
	content: ""; position: absolute; left: 0; top: .1em; width: 18px; height: 18px; background: #d98a70;
	-webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
.jfe-foot .is-mail { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2'/%3E%3Cpath d='m4 7.5 8 6 8-6'/%3E%3C/svg%3E"); }
.jfe-foot .is-phone { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.5h3l1.5 4-2 1.5a11 11 0 0 0 6 6l1.5-2 4 1.5v3a2 2 0 0 1-2 2A16 16 0 0 1 4.500 5.500a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.jfe-foot .is-pin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-5.6-6.5-11a6.500 6.500 0 0 1 13 0c0 5.400-6.500 11-6.500 11z'/%3E%3Ccircle cx='12' cy='10' r='2.400'/%3E%3C/svg%3E"); }
.jfe-foot .is-ship { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v9H3zM14 10h4l3 3v3h-7z'/%3E%3Ccircle cx='7' cy='17' r='1.600'/%3E%3Ccircle cx='17' cy='17' r='1.600'/%3E%3C/svg%3E"); }
.jfe-foot .is-box { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 4.500v9L12 21l-8-4.500v-9zM4 7.500l8 4.500 8-4.500M12 12v9'/%3E%3C/svg%3E"); }
.jfe-foot .is-return { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h11a5 5 0 0 1 0 10H9'/%3E%3Cpath d='m8 5-4 4 4 4'/%3E%3C/svg%3E"); }
.jfe-foot .is-gift { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.500' y='8' width='17' height='4' rx='1'/%3E%3Cpath d='M5 12v8.500h14V12M12 8v12.500'/%3E%3Cpath d='M12 8c-1.500-3.500-5.500-4-5.500-1.500C6.500 8 9 8 12 8zM12 8c1.500-3.500 5.500-4 5.500-1.500C17.500 8 15 8 12 8z'/%3E%3C/svg%3E"); }
.jfe-foot__col h2 { font-family: var(--wp--preset--font-family--body); font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.3; color: #fff; margin: 6px 0 14px; }
.jfe-foot__col ul { display: grid; gap: 9px; }
.jfe-foot__promise { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; }
.jfe-foot__promise ul { display: flex; flex-wrap: wrap; gap: 10px 36px; color: #e9dfd6; }
.jfe-foot__fine {
	grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; margin-top: -18px;
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; font-size: 14px; color: #b9ada2;
}
.jfe-foot__fine p { margin: 0; }
.jfe-foot__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.jfe-foot__legal a { color: #b9ada2; }
.jfe-foot__pay { display: flex; gap: 8px; margin-left: auto; }
.jfe-foot__pay li { border: 1px solid rgba(255, 255, 255, .28); border-radius: 6px; padding: 4px 10px; font-size: 13px; font-weight: 600; color: #e9dfd6; line-height: 1.3; }
@media (max-width: 900px) {
	.jfe-foot__inner { grid-template-columns: 1fr 1fr; gap: 30px 24px; padding-top: 40px; padding-bottom: 76px; }
	.jfe-foot__brand { grid-column: 1 / -1; }
	.jfe-foot__promise ul { display: grid; gap: 10px; }
	.jfe-foot__pay { margin-left: 0; }
}

/* ---------- Shop and category pages ---------- */
/* A lower page head: the first row of products is on screen straight away */
.jfe-next .jfe-shop-head { grid-template-columns: minmax(0, 1fr) 300px; padding: 30px 0 22px; gap: 40px; }
.jfe-next .jfe-cat-hero { aspect-ratio: 16 / 9; border-radius: 18px; }
.jfe-next .jfe-shop-head h1 { font-size: clamp(36px, 4.4vw, 56px); margin-top: 8px; }
.jfe-next .jfe-shop-head .wp-block-term-description { margin-top: 12px; }
.jfe-next .jfe-shop-head .wp-block-term-description p { margin: 0; }
.jfe-next .jfe-toolbar { margin: 4px 0 22px; }
.jfe-next .jfe-toolbar .jfe-psearch { flex: 0 1 380px; }
.jfe-next .jfe-toolbar .jfe-psearch .wp-block-search__inside-wrapper { min-height: 46px; box-sizing: border-box; }
.jfe-next .jfe-count { margin: 0 0 0 auto; font-size: 15px; color: var(--jfe-soft); white-space: nowrap; }
.jfe-next .woocommerce-ordering select {
	appearance: none; -webkit-appearance: none; height: 46px !important; min-width: 0; padding: 0 44px 0 18px !important; border-radius: 999px !important; cursor: pointer;
	background: var(--jfe-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%232b2420' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 14px no-repeat !important;
}
@media (max-width: 900px) {
	.jfe-next .jfe-shop-head { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 0 14px; padding: 18px 0 16px; align-items: center; }
	.jfe-next .jfe-shop-head__text { display: contents; }
	.jfe-next .jfe-shop-head__text > * { grid-column: 1; margin-block: 0 !important; }
	.jfe-next .jfe-shop-head__text > h1 { font-size: 32px; margin-top: 4px !important; }
	.jfe-next .jfe-shop-head__text > .wp-block-term-description { grid-column: 1 / -1; margin-top: 12px !important; font-size: 15px; }
	.jfe-next .jfe-shop-head > .jfe-cat-hero { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 1; border-radius: 16px; }
	.jfe-next .jfe-toolbar { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px !important; align-items: center; margin-bottom: 16px; }
	.jfe-next .jfe-toolbar > * { flex: none; }
	.jfe-next .jfe-toolbar .jfe-psearch { grid-column: 1 / -1; max-width: none; }
	.jfe-next .jfe-count { margin: 0; grid-column: 1; }
	.jfe-next .jfe-toolbar .woocommerce-ordering { grid-column: 2; margin: 0; }
	.jfe-next .jfe-toolbar .woocommerce-ordering select { width: auto; max-width: 240px; height: 42px !important; font-size: 15px !important; }
}

/* ---------- Product page ---------- */
/* No jump while the photo slider starts: one photo until it is ready, and room for the small photos.
   (While it starts, the slider briefly makes every slide as wide as the whole strip; the max-width stops that.) */
.jfe-next .jfe-gallery { container-type: inline-size; }
.jfe-next .jfe-gallery .woocommerce-product-gallery__image { max-width: 100cqw; }
.jfe-next .jfe-gallery .flex-viewport .woocommerce-product-gallery__wrapper { display: flex; align-items: flex-start; }
.jfe-next .jfe-gallery .flex-viewport .woocommerce-product-gallery__image { flex: 0 0 100cqw; width: 100cqw; }
.jfe-next .jfe-gallery .flex-viewport:not([style*="height"]) .woocommerce-product-gallery__image:nth-child(n + 2) { height: 0; overflow: hidden; }
.jfe-next .jfe-gallery .flex-control-thumbs li { aspect-ratio: 1; overflow: hidden; }
.jfe-next .jfe-gallery .flex-control-thumbs img { width: 100%; height: 100%; object-fit: cover; box-sizing: border-box; display: block; }
.jfe-next .jfe-gallery .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__image:nth-child(n + 2) { display: none; }
.jfe-next .jfe-gallery .woocommerce-product-gallery:not(:has(.flex-control-thumbs)):has(.woocommerce-product-gallery__image:nth-child(2)) { padding-bottom: calc((100% - 40px) / 5 + 12px); }
.jfe-next .jfe-gallery .woocommerce-product-gallery { opacity: 1 !important; }
.jfe-next .jfe-pinfo .wp-block-post-excerpt { margin-top: 14px; }
.jfe-next .jfe-pinfo .wp-block-post-excerpt__excerpt { font-size: 17px; line-height: 1.6; margin: 0; }
.jfe-next .jfe-pinfo form.cart { margin: 22px 0 18px; }
.jfe-next .jfe-pinfo .single_add_to_cart_button { white-space: nowrap; min-height: 50px; font-size: 16px !important; }
.jfe-next .jfe-deliv { gap: 8px !important; padding: 18px 20px !important; }
.jfe-next .jfe-deliv p { font-size: 15px; }
.jfe-next .jfe-deliv p strong { font-weight: 600; }
/* Description: a readable line length, a heading instead of a single tab, properties as a small table */
.jfe-next .wp-block-woocommerce-product-details .woocommerce-tabs ul.tabs:has(> li:only-child) { display: none; }
.jfe-next .wp-block-woocommerce-product-details .woocommerce-tabs:has(ul.tabs > li:only-child) .woocommerce-Tabs-panel > h2:first-child {
	display: block; font-size: clamp(26px, 2.6vw, 34px); margin: 0 0 18px;
}
.jfe-next .wp-block-woocommerce-product-details .woocommerce-Tabs-panel { max-width: 760px; margin-top: 0; padding-top: 0; border: 0; }
.jfe-next .wp-block-woocommerce-product-details .woocommerce-Tabs-panel p { margin: 0 0 1em; line-height: 1.65; }
.jfe-next .wp-block-woocommerce-product-details .woocommerce-Tabs-panel h3 { margin: 1.6em 0 .5em; }
.jfe-next ul.jfe-props { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--jfe-line); max-width: 520px; }
.jfe-next ul.jfe-props li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--jfe-line); margin: 0; }
.jfe-next ul.jfe-props li strong { font-weight: 500; color: var(--jfe-soft); }
.jfe-next .jfe-related .jfe-sec-title { font-size: clamp(26px, 2.6vw, 34px) !important; margin-bottom: 20px !important; }
/* Hand-made "other sizes" cards under a product: same look as the product cards */
.jfe-next .jfe-related > div[style*="grid"] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; max-width: none !important; gap: 22px 18px !important; }
.jfe-next .jfe-juna-card a { position: relative; isolation: isolate; }
.jfe-next .jfe-juna-card a::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; aspect-ratio: 1; background: var(--jfe-beige); border-radius: var(--jfe-radius); }
.jfe-next .jfe-juna-card img { border-radius: var(--jfe-radius) !important; mix-blend-mode: multiply; aspect-ratio: 1; object-fit: cover; display: block; }
.jfe-next .jfe-juna-card h3 { font-family: var(--wp--preset--font-family--body); font-size: 15px !important; font-weight: 500; line-height: 1.4; letter-spacing: 0; margin: 12px 0 6px !important; }
.jfe-next .jfe-juna-card a > span { font-weight: 600; font-size: 16px; }
@media (max-width: 900px) {
	.jfe-next .jfe-product { padding-top: 12px !important; }
	.jfe-next .jfe-pinfo .wp-block-post-excerpt__excerpt { font-size: 16px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
	.jfe-next .jfe-pinfo .quantity input.qty { width: 52px; }
	.jfe-next .jfe-pinfo .single_add_to_cart_button { min-width: 0; padding-left: 18px !important; padding-right: 18px !important; }
	.jfe-next .jfe-related > div[style*="grid"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px 12px !important; }
	.jfe-next ul.jfe-props li { grid-template-columns: 120px minmax(0, 1fr); }
}

/* ---------- Cart: products left, summary and the checkout button right ---------- */
.jfe-next.woocommerce-cart main .woocommerce, .jfe-next.woocommerce-checkout main .woocommerce { max-width: none; }
.jfe-next .woocommerce-cart-form td.product-thumbnail a { display: block; width: 92px; background: var(--jfe-beige); border-radius: 12px; overflow: hidden; }
.jfe-next .woocommerce-cart-form td.product-thumbnail img { width: 92px !important; height: 92px; object-fit: cover; display: block; mix-blend-mode: multiply; }
.jfe-next .woocommerce-cart-form td.product-name a { font-weight: 500; }
@media (min-width: 1000px) {
	.jfe-next.woocommerce-cart main .woocommerce:has(> form.woocommerce-cart-form) { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 0 44px; align-items: start; }
	.jfe-next.woocommerce-cart main .woocommerce:has(> form.woocommerce-cart-form) > * { grid-column: 1 / -1; min-width: 0; }
	.jfe-next.woocommerce-cart main .woocommerce:has(> form.woocommerce-cart-form) > form.woocommerce-cart-form { grid-column: 1; }
	.jfe-next.woocommerce-cart main .woocommerce:has(> form.woocommerce-cart-form) > .cart-collaterals { grid-column: 2; width: auto; float: none; position: sticky; top: 104px; }
	.jfe-next.woocommerce-cart .cart-collaterals .cart_totals.jfe-totals { max-width: none; width: 100%; float: none; }
	.jfe-next .jfe-ship-card { padding: 16px 18px; gap: 14px; }
	.jfe-next .jfe-ship-card > svg { width: 32px; height: 32px; }
}
@media (max-width: 768px) {
	.jfe-next .woocommerce-cart-form td.product-thumbnail a { width: 76px; }
	.jfe-next .woocommerce-cart-form td.product-thumbnail img { width: 76px !important; height: 76px; }
}

/* ---------- Checkout: details left, order and payment right; quiet prompts ---------- */
.jfe-next .woocommerce-form-login-toggle, .jfe-next .woocommerce-form-coupon-toggle { display: inline-block; vertical-align: top; margin: 0 10px 18px 0; }
.jfe-next .woocommerce-form-login-toggle .wc-block-components-notice-banner.is-info,
.jfe-next .woocommerce-form-coupon-toggle .wc-block-components-notice-banner.is-info {
	background: var(--jfe-white) !important; border: 1px solid var(--jfe-line) !important; color: var(--jfe-soft) !important;
	border-radius: 999px !important; padding: 9px 18px 9px 14px !important; margin: 0 !important; gap: 10px; font-size: 15px !important;
}
.jfe-next .woocommerce-form-login-toggle .wc-block-components-notice-banner.is-info::before,
.jfe-next .woocommerce-form-coupon-toggle .wc-block-components-notice-banner.is-info::before { width: 20px; height: 20px; background: var(--wp--preset--color--accent); }
.jfe-next .woocommerce-form-login-toggle .wc-block-components-notice-banner.is-info a,
.jfe-next .woocommerce-form-coupon-toggle .wc-block-components-notice-banner.is-info a {
	display: inline !important; color: var(--jfe-ink) !important; margin: 0 0 0 4px; font-weight: 600;
}
.jfe-next .woocommerce-form-login-toggle .wc-block-components-notice-banner.is-info a:hover,
.jfe-next .woocommerce-form-coupon-toggle .wc-block-components-notice-banner.is-info a:hover { color: var(--jfe-accent-text) !important; }
.jfe-next form.woocommerce-form-login, .jfe-next form.checkout_coupon { max-width: 640px; border: 1px solid var(--jfe-line) !important; border-radius: 16px !important; background: var(--jfe-white); padding: 20px !important; margin: 0 0 22px !important; }
.jfe-next .woocommerce-terms-and-conditions-wrapper abbr.required { display: none; }
@media (max-width: 600px) {
	.jfe-next .woocommerce-form-login-toggle, .jfe-next .woocommerce-form-coupon-toggle { display: block; margin: 0 0 10px; }
	.jfe-next .woocommerce-form-login-toggle .wc-block-components-notice-banner.is-info,
	.jfe-next .woocommerce-form-coupon-toggle .wc-block-components-notice-banner.is-info { border-radius: 16px !important; }
	.jfe-next .woocommerce-form-coupon-toggle { margin-bottom: 20px; }
}
/* Address fields on a grid: street, number and addition on one line, postcode next to the town */
.jfe-next .woocommerce-billing-fields__field-wrapper, .jfe-next .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 14px; }
.jfe-next .woocommerce-billing-fields__field-wrapper::before, .jfe-next .woocommerce-billing-fields__field-wrapper::after,
.jfe-next .woocommerce-shipping-fields__field-wrapper::before, .jfe-next .woocommerce-shipping-fields__field-wrapper::after { content: none; }
.jfe-next .woocommerce-billing-fields__field-wrapper > .form-row, .jfe-next .woocommerce-shipping-fields__field-wrapper > .form-row { grid-column: 1 / -1; width: auto !important; float: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.jfe-next .woocommerce-checkout .form-row .input-text, .jfe-next .woocommerce-checkout .form-row select { width: 100%; }
.jfe-next #billing_first_name_field, .jfe-next #billing_last_name_field, .jfe-next #shipping_first_name_field, .jfe-next #shipping_last_name_field,
.jfe-next #billing_house_number_field, .jfe-next #billing_house_number_suffix_field, .jfe-next #shipping_house_number_field, .jfe-next #shipping_house_number_suffix_field,
.jfe-next #billing_postcode_field, .jfe-next #billing_city_field, .jfe-next #shipping_postcode_field, .jfe-next #shipping_city_field { grid-column: span 3; }
@media (min-width: 600px) {
	.jfe-next #billing_street_name_field, .jfe-next #shipping_street_name_field { grid-column: span 4; }
	.jfe-next #billing_house_number_field, .jfe-next #billing_house_number_suffix_field, .jfe-next #shipping_house_number_field, .jfe-next #shipping_house_number_suffix_field { grid-column: span 1; }
	.jfe-next #billing_postcode_field, .jfe-next #shipping_postcode_field { grid-column: span 2; }
	.jfe-next #billing_city_field, .jfe-next #shipping_city_field { grid-column: span 4; }
}
@media (min-width: 1000px) {
	.jfe-next form.checkout.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; grid-template-rows: auto auto 1fr; gap: 0 56px; align-items: start; }
	.jfe-next form.checkout > * { grid-column: 1 / -1; min-width: 0; }
	.jfe-next form.checkout > .woocommerce-NoticeGroup { grid-row: 1; } /* validation messages stay on top */
	.jfe-next form.checkout > #customer_details { grid-column: 1; grid-row: 2 / span 2; width: auto; float: none; }
	.jfe-next form.checkout > #customer_details .col-1, .jfe-next form.checkout > #customer_details .col-2 { float: none; width: 100%; max-width: none; }
	.jfe-next form.checkout > #customer_details .col-2 { margin-top: 26px; }
	.jfe-next form.checkout > #order_review_heading { grid-column: 2; grid-row: 2; margin-top: 0 !important; }
	.jfe-next form.checkout > #order_review { grid-column: 2; grid-row: 3; width: auto; float: none; position: sticky; top: 20px; }
}

/* ---------- Over ons: photo beside the story on wide screens ---------- */
@media (min-width: 1000px) {
	.jfe-next .jfe-page .wp-block-post-content:has(> .jfe-about-photo) { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 640px); gap: 0 72px; max-width: none !important; align-items: start; }
	.jfe-next .jfe-page .wp-block-post-content:has(> .jfe-about-photo) > * { grid-column: 2; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
	.jfe-next .jfe-page .wp-block-post-content:has(> .jfe-about-photo) > .jfe-about-photo { grid-column: 1; grid-row: 1 / span 30; position: sticky; top: 130px; margin: 0 !important; }
	.jfe-next .jfe-page .wp-block-post-content:has(> .jfe-about-photo) > :nth-child(2) { margin-top: 0 !important; }
	.jfe-next .jfe-about-photo img { aspect-ratio: 4 / 5; object-position: 42% 30%; }
}

/* ---------- Wishlist: a friendly empty state instead of an empty table ---------- */
.jfe-next .wishlist_table:has(td.wishlist-empty) thead { display: none; }
.jfe-next .wishlist_table td.wishlist-empty { padding: 22px 24px !important; font-size: 16px !important; border: 0 !important; }
.jfe-next .wishlist_table:has(td.wishlist-empty) { background: var(--jfe-white); border: 1px solid var(--jfe-line) !important; border-collapse: separate; }

@media (prefers-reduced-motion: reduce) { .jfe-next .jfe-heart, .jfe-next .jfe-grid .wc-block-components-product-image { transition: none; } }

/* ---------- Phone menu: search on top (phones had no search on the homepage) ---------- */
.jfe-nav__search { display: none; }
@media (max-width: 900px) {
	.jfe-next .jfe-nav__search {
		display: flex; align-items: center; margin: 6px 0 10px; padding: 3px 4px 3px 16px;
		border: 1.5px solid var(--jfe-line); border-radius: 999px; background: var(--jfe-white);
	}
	.jfe-next .jfe-nav__search:focus-within { border-color: var(--wp--preset--color--accent); }
	.jfe-next .jfe-nav__search input[type=search] { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--jfe-ink); padding: 8px 0; -webkit-appearance: none; appearance: none; }
	.jfe-next .jfe-nav__search input[type=search]:focus { outline: none; }
	.jfe-next .jfe-nav__search button { flex: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--wp--preset--color--accent); color: #fff; display: grid; place-items: center; padding: 0; cursor: pointer; }
	.jfe-next .jfe-nav__search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
}
