/* ==========================================================================
   Ideas & Inspiration + project pages + the product pages' "See It Installed" (#382) row:
   inc/features/inspiration.php. main, card #387 (Jay 30 Oct: mockup B "wider shelves, filter bar on top, featured
   project") + #385 (the H1 in Cormorant Garamond) + #384 (31 Oct: the shelves = Global Select's focused shelves).
   This week's styles: content 1360px (the header follows it: --swp-page-width), Lato everywhere except the H1 and the
   featured project's name (Global Select's Cormorant 500, its @font-face printed by inspiration.php), ink #2f3f2e
   links with a thin grey underline, arrow links with the underline on hover only, the category cards' heart.
   Sections: 1 page width + tokens · 2 header · 3 filter bar · 4 shelves · 5 cards + hearts · 6 featured band ·
   7 space pages (grid) · 8 the closing CTA · 9 phones · 10 project pages · 11 product pages.
   ========================================================================== */

/* 1. Page width + tokens */
body.swp-insp-b { --swp-page-width: 1360px; }
@media (min-width: 850px) { body.swp-insp-b { --swp-page-gutter: 20px; } }
.swp-insp-head,
.swp-insp-browse,
.swp-insp-onprod,
body.swp-insp-b .row.swp-insp-cta-row {
	--insp-ink: #2f3f2e;
	--insp-text: #4a5548;
	--insp-muted: #666666;
	--insp-line: #e3e6e0;
	--insp-soft: #faf9f6;
	--insp-sage: #5d7d59;
	--insp-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-family: Lato, "Lato Fallback", "Helvetica Neue", Arial, sans-serif;
	color: var(--insp-ink);
}
.swp-insp-head,
.swp-insp-browse { box-sizing: border-box; max-width: 1390px; margin: 0 auto; padding: 0 15px; }
@media (min-width: 850px) { .swp-insp-head, .swp-insp-browse { max-width: 1400px; padding: 0 20px; } }
body.swp-insp-b #main { background: #ffffff; }
.swp-insp-browse [hidden],
.swp-insp-browse[hidden] { display: none !important; }
.swp-insp-arrow { display: inline-block; margin-left: 0.3em; font-size: 0.85em; text-decoration: none; }

/* 2. Header: breadcrumb, H1 (Cormorant, #385), intro, facts row, photo on the right (as the category pages) */
.swp-insp-head { display: flex; align-items: center; justify-content: space-between; gap: 56px; padding-top: 22px; padding-bottom: 30px; }
.swp-insp-head__text { flex: 0 1 700px; max-width: 700px; min-width: 0; }
.swp-insp-crumbs,
.swp-proj-crumbs { margin: 0 0 14px; font-size: 13px; line-height: 1.4; color: #6b6b6b; }
.swp-insp-crumbs a,
.swp-proj-crumbs a { color: #555555; text-decoration: none; }
.swp-insp-crumbs a:hover,
.swp-proj-crumbs a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #666666; text-underline-offset: 3px; }
.swp-insp-crumbs [aria-current] { color: #6b6b6b; }
.swp-insp-sep { margin: 0 7px; color: #999999; }
.swp-insp-head .swp-insp-head__h1 {
	margin: 0 0 14px; padding: 0;
	font-family: var(--insp-serif); font-size: 52px; font-weight: 500; line-height: 1.02; letter-spacing: 0;
	text-transform: none; color: var(--insp-ink); text-wrap: balance;
}
.swp-insp-head__intro { max-width: 37em; margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--insp-text); text-wrap: pretty; }
.swp-insp-facts { display: flex; flex-wrap: wrap; row-gap: 10px; margin: 0; padding: 0; list-style: none; }
.swp-insp-head .swp-insp-facts li { margin: 0; padding: 0 18px; border-left: 1px solid var(--insp-line); font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--insp-ink); list-style: none; }
.swp-insp-head .swp-insp-facts li:first-child { padding-left: 0; border-left: 0; }
.swp-insp-head__photo { flex: 0 0 560px; height: 260px; overflow: hidden; background: #f4f4f1; }
.swp-insp-head__photo picture { display: block; width: 100%; height: 100%; }
.swp-insp-head__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
@media (max-width: 1199px) { .swp-insp-head { gap: 36px; } .swp-insp-head__photo { flex-basis: 44%; } }

/* 3. Filter bar: space links (left), Material / Collection / Indoor-Outdoor (right) */
/* 8 spaces + All = one full line; the three dropdowns under it, on the right */
.swp-insp-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin: 0 0 36px; padding: 14px 0; border-top: 1px solid var(--insp-line); border-bottom: 1px solid var(--insp-line); }
.swp-insp-spaces { flex: 1 1 100%; min-width: 0; }
.swp-insp-spaces ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.swp-insp-spaces li { margin: 0; padding: 0; list-style: none; }
.swp-insp-browse .swp-insp-space {
	display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; box-sizing: border-box;
	border: 1px solid var(--insp-line); background: #ffffff; color: var(--insp-ink);
	font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; text-decoration: none;
}
.swp-insp-browse .swp-insp-space.is-on { border-color: var(--insp-ink); background: var(--insp-ink); color: #ffffff; }
@media (hover: hover) { .swp-insp-browse .swp-insp-space:not(.is-on):hover { border-color: #b9beb6; } }
.swp-insp-space:focus-visible,
.swp-insp-drop select:focus-visible { outline: 2px solid var(--insp-ink); outline-offset: 2px; }
.swp-insp-drops { display: flex; flex: none; align-items: center; gap: 8px; margin-left: auto; }
.swp-insp-drop { margin: 0; }
.swp-insp-browse .swp-insp-drop select {
	height: 38px; min-width: 0; margin: 0; padding: 0 34px 0 14px; box-sizing: border-box;
	border: 1px solid var(--insp-line); border-radius: 0; box-shadow: none;
	background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%232f3f2e' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 13px center;
	color: var(--insp-ink); font-family: inherit; font-size: 13px; line-height: 1.2;
	-webkit-appearance: none; appearance: none; cursor: pointer;
}
.swp-insp-browse .swp-insp-drop select.is-set { border-color: var(--insp-ink); font-weight: 700; }
.swp-insp-clear { margin-left: 6px; font-size: 13px; font-weight: 700; color: var(--insp-ink); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #666666; text-underline-offset: 3px; white-space: nowrap; }
.swp-insp-browse .swp-insp-apply { height: 38px; margin: 0; padding: 0 14px; }
.swp-insp-empty { margin: 0 0 48px; font-size: 16px; color: var(--insp-text); }
.swp-insp-empty a { color: var(--insp-ink); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #666666; text-underline-offset: 3px; }

/* 4. Shelves = Global Select's focused shelves (#384; plugin collection.css section 4 "the focused shelves"): the
   selected project at the left edge, 2.5 × a tile's width, the other projects narrow photo tiles with the name over
   their foot; a sliver of the previous card peeks in on the left (the viewport reaches into the page gutter by
   --insp-peek and pads the same amount); the row fades out on the right; round arrows over the ends on hover / keyboard
   focus, gone at either end; the info panel under the row. The row slides with one transform; the widths animate.
   Global Select's sizes (tile 136 × 220, selected 340) are scaled × 1.37 for this 1360px row (GS's sits in a 960px
   column beside its filters): tile 186 × 300, selected 465; phones exactly as Global Select (26vw / 62vw × 150). */
.swp-insp-shelf { position: relative; margin: 0 0 56px; }
.swp-insp-shelf__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 14px; }
.swp-insp-browse .swp-insp-shelf__title { flex: none; width: auto; margin: 0; font-family: inherit; font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; color: var(--insp-ink); } /* Lato (#385: Cormorant only for the H1 + the featured name); GS's shelf titles are Cormorant */
.swp-insp-shelf__title-link,
.swp-insp-shelf__title-link:visited { color: inherit; text-decoration: none; }
.swp-insp-shelf__title-link:hover,
.swp-insp-shelf__title-link:focus-visible { color: inherit; text-decoration: underline; text-decoration-color: #666666; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.swp-insp-shelf__count { color: var(--insp-muted); font-size: 11px; font-weight: 700; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; } /* GS .gs-shelf__count */
.swp-insp-view__count { margin: -16px 0 16px; font-size: 14px; line-height: 1.4; color: var(--insp-muted); }
.swp-insp-browse a.swp-insp-shelf__all { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; color: var(--insp-ink); font-size: 14px; font-weight: 700; line-height: 1.2; } /* the site's arrow link (base.css §33 swp-link--arrow), as GS's "See all" */
.swp-insp-shelf {
	--insp-tile: 186px; --insp-sel: 465px; --insp-h: 300px; --insp-gap: 12px;
	--insp-peek: clamp(20px, calc((100vw - 1360px) / 2), 40px);
	contain: layout;
} /* no content-visibility (GS has it on shelves 2+): it left shelves blank in full-page captures; the photos below load lazily anyway */
.swp-insp-focus { position: relative; }
.swp-insp-focus__viewport { position: relative; margin-left: calc(-1 * var(--insp-peek)); padding: 0 0 0 var(--insp-peek); overflow: hidden; }
.swp-insp-focus__viewport::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; z-index: 2; width: 90px; background: linear-gradient(to right, rgba(255, 255, 255, 0), #ffffff 85%); pointer-events: none; }
.swp-insp-focus__viewport:focus-visible { outline: 2px solid var(--insp-ink); outline-offset: 4px; }
.swp-insp-browse .swp-insp-focus__row {
	display: flex; gap: var(--insp-gap); margin: 0; padding: 4px 0 8px; list-style: none;
	transform: translateX(calc(-1 * var(--insp-i, 0) * (var(--insp-tile) + var(--insp-gap))));
	transition: transform 0.5s ease-out;
}
.swp-insp-browse .swp-insp-focus__row > .swp-insp-fcard { margin: 0; padding: 0; list-style: none; } /* Flatsome indents list items */
.swp-insp-fcard { position: relative; flex: 0 0 var(--insp-tile); width: var(--insp-tile); height: var(--insp-h); transition: flex-basis 0.5s ease-out, width 0.5s ease-out; }
.swp-insp-fcard.is-selected { flex-basis: var(--insp-sel); width: var(--insp-sel); }
.swp-insp-shelf.is-short .swp-insp-fcard:not(.is-selected) { flex: 1 1 var(--insp-tile); width: auto; max-width: calc(var(--insp-tile) * 1.6); }
.swp-insp-shelf.is-short .swp-insp-focus__viewport::after,
.swp-insp-shelf.is-short .swp-insp-shelf__arrow { display: none; }
.swp-insp-fcard__link { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: 3px; background: #e9eae6; color: #ffffff; text-decoration: none; }
.swp-insp-fcard__photo,
.swp-insp-fcard__photo img { display: block; width: 100%; height: 100%; }
.swp-insp-fcard__photo img { object-fit: cover; }
.swp-insp-fcard__name {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 10px 10px;
	background: linear-gradient(to top, rgba(14, 20, 16, 0.78), rgba(14, 20, 16, 0));
	color: #ffffff; font-size: 13px; font-weight: 700; line-height: 1.25; letter-spacing: 0.01em;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.3s;
}
.swp-insp-fcard.is-selected .swp-insp-fcard__name { opacity: 0; } /* the info panel shows it */
/* the selected card: a white frame ring over the photo (GS) */
.swp-insp-fcard.is-selected .swp-insp-fcard__link { box-shadow: 0 0 0 1px var(--insp-ink), 0 10px 24px rgba(30, 40, 30, 0.18); }
.swp-insp-fcard.is-selected .swp-insp-fcard__link::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px #ffffff; pointer-events: none; }
.swp-insp-fcard__link:focus-visible { outline: 2px solid var(--insp-ink); outline-offset: 3px; }
@media (hover: hover) {
	.swp-insp-fcard:not(.is-selected):not(.swp-insp-fcard--more) .swp-insp-fcard__link:hover { box-shadow: 0 0 0 2px var(--insp-ink); }
}
/* the "See all N ▸" tile after `cap` projects (GS .gs-fcard--more) */
.swp-insp-fcard--more .swp-insp-fcard__more { display: flex; align-items: center; justify-content: center; padding: 12px; background: #ffffff; border: 1px solid var(--insp-line); color: var(--insp-ink); font-size: 14px; font-weight: 700; line-height: 1.3; text-align: center; }
.swp-insp-fcard--more .swp-insp-fcard__more:hover { background: var(--insp-ink); color: #ffffff; }
.swp-insp-fcard__more-text::after { content: ""; display: inline-block; width: 8px; height: 10px; margin-left: 12px; background-color: currentColor; -webkit-mask: var(--swp-icon-triangle) center / 8px 10px no-repeat; mask: var(--swp-icon-triangle) center / 8px 10px no-repeat; transition: transform 0.2s ease; }
.swp-insp-fcard__more:hover .swp-insp-fcard__more-text::after,
.swp-insp-fcard__more:focus-visible .swp-insp-fcard__more-text::after { transform: translateX(4px); }
/* the arrows: round buttons over the row's ends, shown on hover / keyboard focus (desktop); hidden on phones (swipe) */
.swp-insp-browse .swp-insp-shelf__arrow {
	position: absolute; top: calc(var(--insp-h) / 2 + 4px); z-index: 3;
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 0; margin: 0; padding: 0;
	background: #ffffff; border: 1px solid var(--insp-line); border-radius: 50%; box-shadow: 0 2px 10px rgba(30, 40, 30, 0.18);
	color: var(--insp-ink); cursor: pointer; opacity: 0; transform: translateY(-50%); transition: opacity 0.15s, background-color 0.15s;
}
.swp-insp-browse .swp-insp-shelf__arrow[data-insp-prev] { left: calc(var(--insp-peek) + 10px); }
.swp-insp-browse .swp-insp-shelf__arrow[data-insp-next] { right: 10px; }
.swp-insp-shelf:hover .swp-insp-shelf__arrow,
.swp-insp-shelf:focus-within .swp-insp-shelf__arrow,
.swp-insp-browse .swp-insp-shelf__arrow:focus-visible { opacity: 1; }
.swp-insp-browse .swp-insp-shelf__arrow:disabled { display: inline-flex; opacity: 0 !important; pointer-events: none; } /* Flatsome hides disabled buttons with display: none; GS fades them */
.swp-insp-browse .swp-insp-shelf__arrow:not(:disabled):hover { background: var(--insp-ink); color: #ffffff; }
.swp-insp-browse .swp-insp-shelf__arrow:focus-visible { outline: 2px solid var(--insp-ink); outline-offset: 2px; }
/* the info panel under the row: every project's words in the HTML, the selected one shows (GS .gs-focus__info) */
.swp-insp-focus__info { padding-top: 14px; contain: content; }
.swp-insp-browse .swp-insp-finfo__name { margin: 0 0 4px; font-family: inherit; font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: 0; text-transform: none; color: var(--insp-ink); } /* Lato (#385); GS's is Cormorant 30px */
.swp-insp-finfo__name a { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color 0.15s; }
.swp-insp-finfo__name a:hover,
.swp-insp-finfo__name a:focus-visible { color: inherit; text-decoration-color: #666666; }
.swp-insp-finfo__meta { margin: 0 0 8px; color: var(--insp-muted); font-size: 11px; font-weight: 700; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; }
.swp-insp-finfo__desc { max-width: 60ch; margin: 0; color: var(--insp-text); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1099px) {
	.swp-insp-shelf { --insp-tile: 150px; --insp-sel: 375px; --insp-h: 242px; }
}
@media (prefers-reduced-motion: reduce) {
	.swp-insp-browse .swp-insp-focus__row,
	.swp-insp-fcard,
	.swp-insp-fcard__name,
	.swp-insp-browse .swp-insp-shelf__arrow,
	.swp-insp-fcard__more-text::after { transition: none; }
}
.swp-insp-feat__more,
.swp-insp-feat__mat,
.swp-insp-onprod__all,
.swp-proj-allideas,
.swp-proj-shop { font-size: 14px; font-weight: 700; color: var(--insp-ink); text-decoration: none; white-space: nowrap; }
.swp-insp-feat__more:hover,
.swp-insp-feat__mat:hover,
.swp-insp-onprod__all:hover,
.swp-proj-allideas:hover,
.swp-proj-shop:hover { color: var(--insp-ink); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #666666; text-underline-offset: 3px; }

/* 5. Cards (shelves, space pages, related projects, product pages): photo 5 : 6, name, materials line, heart */
.swp-insp-card { position: relative; margin: 0; padding: 0; list-style: none; }
.swp-insp-card__img { position: relative; display: block; aspect-ratio: 5 / 6; overflow: hidden; background: #f4f4f1; }
.swp-insp-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
@media (hover: hover) { .swp-insp-card:hover .swp-insp-card__img img { transform: scale(1.03); } }
.swp-insp-card .swp-insp-card__name { margin: 10px 0 0; font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--insp-ink); text-wrap: balance; }
.swp-insp-card__name a { color: inherit; text-decoration: none; }
.swp-insp-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* the whole card is this one link */
.swp-insp-card:hover .swp-insp-card__name a { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #666666; text-underline-offset: 3px; }
.swp-insp-card__name a:focus-visible { outline: none; }
.swp-insp-card:has(.swp-insp-card__name a:focus-visible) { outline: 2px solid var(--insp-ink); outline-offset: 3px; }
.swp-insp-card__line { margin: 3px 0 0; font-size: 13px; line-height: 1.4; color: var(--insp-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* the heart: the category cards' look (category-template.css "#420 / #452"): white outline + shadow in a 44px tap
   area at the photo's top-right, the oak heart once saved; desktop shows an empty heart on hover / focus only, phones
   only a saved one */
.swp-insp-card .swp-insp-card__heart.image-tools { position: absolute; top: 2px; right: 2px; left: auto; bottom: auto; z-index: 3; width: auto; padding: 0; opacity: 1; visibility: visible; transform: none; }
.swp-insp-card__heart .wishlist-icon { margin: 0; }
.swp-insp-card {
	--swp-insp-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E");
}
.swp-insp-card .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button {
	position: relative; overflow: visible; width: 44px; height: 44px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0;
	background: transparent var(--swp-insp-heart) no-repeat center / 24px 24px; box-shadow: none;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 6px rgba(0, 0, 0, 0.3)); transition: filter 0.15s ease;
}
.swp-insp-card .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button i { display: none; }
.swp-insp-card .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button.wishlist-added { background-image: var(--swp-i-heart-oak, var(--swp-insp-heart)); }
.swp-insp-card .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button:hover,
.swp-insp-card .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button:focus-visible { background-color: transparent; box-shadow: none; }
.swp-insp-card .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button:focus-visible { outline: 2px solid #ffffff; outline-offset: -6px; }
.swp-insp-card .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button::before {
	content: ""; position: absolute; inset: 0; background: var(--swp-i-heart-oak, var(--swp-insp-heart)) no-repeat center / 24px 24px;
	opacity: 0; transition: opacity 0.15s ease; pointer-events: none;
}
.swp-insp-card .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button::after {
	content: attr(data-swp-tip); position: absolute; top: calc(100% - 4px); right: 6px; z-index: 4;
	padding: 4px 8px; border-radius: 3px; background: rgba(47, 63, 46, 0.94); color: #ffffff;
	font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: 0; text-transform: none; white-space: nowrap;
	opacity: 0; transform: translateY(-2px); transition: opacity 0.15s ease, transform 0.15s ease; pointer-events: none;
}
.swp-insp-card .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button.wishlist-added::after { content: attr(data-swp-tip-saved); }
.swp-insp-card .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button:focus-visible::before,
.swp-insp-card .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button:focus-visible::after { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
	.swp-insp-card .swp-insp-card__heart.image-tools { opacity: 0 !important; transition: opacity 0.15s ease; }
	.swp-insp-card:hover .swp-insp-card__heart.image-tools,
	.swp-insp-card:focus-within .swp-insp-card__heart.image-tools,
	.swp-insp-card .swp-insp-card__heart.image-tools:has(.wishlist-added) { opacity: 1 !important; }
	.swp-insp-card .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button:hover::before,
	.swp-insp-card .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button:hover::after { opacity: 1; transform: none; }
}
@media (hover: none), (pointer: coarse) {
	.swp-insp-card .swp-insp-card__heart.image-tools:not(:has(.wishlist-added)) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.swp-insp-card__img img,
	.swp-insp-card .swp-insp-card__heart.image-tools,
	.swp-insp-card .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button,
	.swp-insp-card .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button::before,
	.swp-insp-card .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button::after { transition: none; }
}

/* 6. Featured project band (between the 2nd and 3rd shelf): big photo, name in Cormorant, materials, View the project */
.swp-insp-feat { display: flex; margin: 0 0 48px; border: 1px solid var(--insp-line); background: var(--insp-soft); }
.swp-insp-feat__img { position: relative; flex: 0 0 56%; display: block; min-height: 440px; overflow: hidden; background: #f4f4f1; }
.swp-insp-feat__img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; } /* the band's height comes from the text, the photo fills it */
.swp-insp-feat__body { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; padding: 44px; }
.swp-insp-feat__label,
.swp-insp-feat__mlabel { margin: 0; font-size: 11px; font-weight: 700; line-height: 1.3; letter-spacing: 0.16em; text-transform: uppercase; color: var(--insp-sage); }
.swp-insp-feat__mlabel { margin-top: 18px; font-size: 12px; letter-spacing: 0.12em; color: var(--insp-ink); }
.swp-insp-browse .swp-insp-feat__name { margin: 10px 0 12px; font-family: var(--insp-serif); font-size: 44px; font-weight: 500; line-height: 1.05; letter-spacing: 0; text-transform: none; color: var(--insp-ink); text-wrap: balance; }
.swp-insp-feat__name a { color: inherit; text-decoration: none; }
.swp-insp-feat__name a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #666666; text-underline-offset: 5px; }
.swp-insp-feat__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--insp-text); text-wrap: pretty; }
.swp-insp-feat__mats { margin: 6px 0 0; padding: 0; list-style: none; }
.swp-insp-feat__mats li { margin: 0; padding: 0; font-size: 14px; line-height: 1.8; color: var(--insp-text); list-style: none; }
.swp-insp-feat__mat { font-weight: 400; white-space: normal; }
.swp-insp-feat__more { align-self: flex-start; margin-top: auto; padding-top: 22px; }

/* 7. Space pages (/inspiration/<space>/) and the related / product rows: a grid */
.swp-insp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; margin: 0 0 48px; padding: 0; list-style: none; }
.swp-insp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 20px; }
.swp-insp-grid > .swp-insp-card { margin: 0; } /* #380: Flatsome indents list items 1.3em inside content columns (the Related Projects cards started 21px in) */
.swp-insp-grid .swp-insp-card .swp-insp-card__name { font-size: 16px; }
@media (max-width: 1099px) { .swp-insp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 8. "Planning something like this?" (a UX Builder row with the class swp-insp-cta-row: text + the two pills) */
body.swp-insp-b .row.swp-insp-cta-row { max-width: 1400px; padding: 40px 5px 56px; border-top: 1px solid var(--insp-line); }
body.swp-insp-b .swp-insp-cta-row h2 { margin: 0 0 8px; font-family: Lato, "Lato Fallback", Arial, sans-serif; font-size: 26px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--insp-ink); }
body.swp-insp-b .swp-insp-cta-row p { margin: 0 0 18px; max-width: 37em; font-size: 16px; line-height: 1.6; color: var(--insp-text); }
body.swp-insp-b .swp-insp-cta-row .button { margin: 0 10px 10px 0; }

/* 9. Phones + small tablets */
@media (max-width: 849px) {
	.swp-insp-head { display: block; padding-top: 14px; padding-bottom: 18px; }
	.swp-insp-head__photo { display: none; } /* phones: no header photo (as the category pages) */
	.swp-insp-head .swp-insp-head__h1 { font-size: 36px; line-height: 1.05; }
	.swp-insp-head__intro { font-size: 15px; margin-bottom: 14px; }
	.swp-insp-head .swp-insp-facts li { padding: 0 10px 0 0; border-left: 0; font-size: 13px; }
	.swp-insp-head .swp-insp-facts li + li::before { content: "·"; margin-right: 10px; color: #999999; } /* dots, not lines: the row wraps on phones */
	.swp-insp-bar { display: block; margin-bottom: 28px; padding: 12px 0; } /* stacked: the button row scrolls inside the page width */
	.swp-insp-spaces { margin-bottom: 10px !important; }
	/* the space buttons scroll sideways, edge to edge */
	.swp-insp-spaces { margin: 0 -15px; }
	.swp-insp-spaces ul { flex-wrap: nowrap; overflow-x: auto; padding: 0 15px 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.swp-insp-spaces ul::-webkit-scrollbar { display: none; }
	.swp-insp-spaces li { flex: none; }
	.swp-insp-drops { flex-wrap: wrap; margin-left: 0; }
	.swp-insp-drop { flex: 1 1 30%; min-width: 0; }
	.swp-insp-browse .swp-insp-drop select { width: 100%; padding-left: 10px; padding-right: 26px; background-position: right 9px center; font-size: 13px; }
	.swp-insp-clear { margin: 2px 0 0; }
	.swp-insp-shelf { margin-bottom: 34px; }
	.swp-insp-shelf__head { margin-bottom: 12px; }
	.swp-insp-browse .swp-insp-shelf__title { font-size: 20px; }
	.swp-insp-shelf { --insp-peek: 15px; } /* the page gutter */
	.swp-insp-feat { display: block; margin-bottom: 34px; }
	.swp-insp-feat__img { min-height: 0; aspect-ratio: 4 / 3; }
	.swp-insp-feat__img img { position: static; }
	.swp-insp-feat__body { padding: 20px 18px 24px; }
	.swp-insp-browse .swp-insp-feat__name { font-size: 32px; }
	.swp-insp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
	.swp-insp-grid .swp-insp-card .swp-insp-card__name { font-size: 14px; }
	body.swp-insp-b .row.swp-insp-cta-row { padding: 28px 0 40px; }
	body.swp-insp-b .swp-insp-cta-row h2 { font-size: 22px; }
}
/* phones: Global Select's phone shelf (the selected card about 62 % of the width, tiles about 26 %; swipe, no arrows) */
@media (max-width: 549px) {
	.swp-insp-shelf { --insp-tile: 26vw; --insp-sel: 62vw; --insp-h: 150px; --insp-gap: 8px; margin-bottom: 40px; }
	.swp-insp-browse .swp-insp-shelf__arrow,
	.swp-insp-browse .swp-insp-shelf__arrow:disabled { display: none; }
	.swp-insp-focus__viewport::after { width: 40px; }
	.swp-insp-fcard__name { padding: 26px 8px 8px; font-size: 11px; }
	.swp-insp-focus__info { padding-top: 12px; }
	.swp-insp-browse .swp-insp-finfo__name { font-size: 18px; }
}

/* 10. Project pages (portfolio items with the new layout) */
/* #380 (Jay 31 Oct): one width, as the category pages: the 1360 content column centred with 20px gutters (15px on
   phones), and the header told the same width (--swp-page-width / --swp-page-gutter, sw2's header-v2.css 2-0) so its
   search box and truck line up with the content's edges. Flatsome's grey title bar is not printed on these pages (the
   child theme's portfolio-title-breadcrumbs.php); breadcrumb → H1 → meta line → intro sit on one left edge. */
body.swp-proj { --swp-page-width: 1360px; }
@media (min-width: 850px) { body.swp-proj { --swp-page-gutter: 20px; } }
body.swp-proj #main { background: #ffffff; }
body.swp-proj .portfolio-top > .page-wrapper.row { box-sizing: border-box; max-width: 1390px; margin: 0 auto; padding: 14px 15px 0; }
@media (min-width: 850px) { body.swp-proj .portfolio-top > .page-wrapper.row { max-width: 1400px; padding: 22px 20px 0; } }
body.swp-proj .portfolio-top .page-wrapper > .col-divided,
body.swp-proj .portfolio-bottom,
body.swp-proj .entry-meta { display: none; }
body.swp-proj #portfolio-content { flex-basis: 100%; max-width: 100%; padding-left: 0; padding-right: 0; }
body.swp-proj .row.swp-proj-row { max-width: none; margin-left: 0; margin-right: 0; } /* Flatsome's 1230px row default and its -15px sides: the layout is exactly the 1360 column */
body.swp-proj .row.swp-proj-row > .col { padding-left: 0; padding-right: 0; }
body.swp-proj .swp-proj-crumbs { margin: 0 0 10px; }
body.swp-proj .swp-proj-h1 { margin: 0 0 6px; padding: 0; font-family: Lato, "Lato Fallback", Arial, sans-serif; color: #2f3f2e; font-size: 34px; font-weight: 700; line-height: 1.15; letter-spacing: 0; text-transform: none; text-wrap: balance; }
@media (max-width: 849px) { body.swp-proj .swp-proj-h1 { font-size: 26px; } }
.swp-proj-intro p { max-width: 760px; color: #4a5548; font-size: 17px; line-height: 1.6; }
/* #383: the intro is the project's own text again, with its own links: body-text links (ink, a thin #666 underline) */
.swp-proj-intro a { color: #2f3f2e; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #666666; text-underline-offset: 3px; }
.swp-proj-intro a:hover { color: #2f3f2e; text-decoration-color: #2f3f2e; }
.swp-proj-meta { margin: 0 0 18px; color: #666666; font-size: 15px; }
.swp-proj-meta a { color: #2f3f2e; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #666666; text-underline-offset: 3px; }
.swp-proj-dot { margin: 0 8px; }
.swp-proj-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 28px; }
.swp-proj-photo { display: block; overflow: hidden; aspect-ratio: 1 / 1; background: #f4f4f1; }
.swp-proj-photo.is-first { grid-column: span 2; grid-row: span 2; }
.swp-proj-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .swp-proj-photo img { transition: transform 0.3s; } .swp-proj-photo:hover img { transform: scale(1.03); } }
.swp-proj-photo:focus-visible { outline: 2px solid #2f3f2e; outline-offset: 3px; }
.swp-proj-materials,
.swp-proj-related { margin: 0 0 28px; padding-top: 24px; border-top: 1px solid #e3e6e0; }
.swp-proj-materials h2,
.swp-proj-related h2,
.swp-insp-onprod h2 { margin: 0 0 14px; font-family: Lato, "Lato Fallback", Arial, sans-serif; color: #2f3f2e; font-size: 24px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.swp-proj-materials ul { margin: 0; padding: 0; list-style: none; }
.swp-proj-materials li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 !important; padding: 12px 0; border-bottom: 1px solid #e3e6e0; list-style: none; } /* Flatsome indents list items */
.swp-proj-mat-name { color: #4a5548; font-size: 17px; }
.swp-proj-mat-link { color: #2f3f2e; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #666666; text-underline-offset: 3px; }
.swp-proj-mat-link:hover { color: #2f3f2e; text-decoration-color: #2f3f2e; }
.swp-proj-mat-name small { color: #666666; font-size: 14px; }
.swp-proj-shop { flex: none; font-size: 15px; }
.swp-proj-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 32px; }
.swp-proj-actions .button { margin: 0; }
.swp-proj-heart { display: inline-flex; align-items: center; gap: 8px; margin-right: 8px; color: #2f3f2e; font-size: 15px; font-weight: 700; }
.swp-proj-heart .image-tools { position: static; padding: 0; opacity: 1; }
.swp-proj-related .swp-insp-grid,
.swp-insp-onprod .swp-insp-grid { --insp-ink: #2f3f2e; --insp-muted: #666666; font-family: Lato, "Lato Fallback", Arial, sans-serif; }
.swp-proj-allideas { display: inline-block; margin-top: 6px; }
@media (max-width: 849px) {
	.swp-proj-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.swp-proj-materials li { flex-direction: column; gap: 4px; }
	.swp-insp-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.swp-insp-grid--3 > li:nth-child(3) { display: none; } /* two side by side on phones */
}

/* 11. Product pages: "See It Installed" (#382) (after the product summary / tabs, before related products) */
.swp-insp-onprod { clear: both; box-sizing: border-box; width: 100%; margin: 8px 0 32px; padding-top: 28px; border-top: 1px solid var(--insp-line); }
.swp-insp-onprod__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.swp-insp-onprod .swp-insp-card__img { aspect-ratio: 4 / 3; } /* a lower row than the Inspiration shelves: it sits under the product */

/* #1099 (Jay: never one card alone on a row): the product page's projects. 1 project = a feature row (the photo left,
   about half; the name, its materials and "See the Project ›" right); 2 = two halves; 3 = the row of three. */
.swp-insp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 20px; }
.swp-insp-feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; align-items: center; margin: 0 0 20px; }
.swp-insp-feat__ph { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #ece9e2; }
.swp-insp-feat__img { display: block; width: 100%; height: 100% !important; object-fit: cover; }
.swp-insp-feat__name { margin: 0 0 8px; font: 700 22px/1.3 Lato, "Lato Fallback", Arial, sans-serif; letter-spacing: 0; text-transform: none; color: #2f3f2e; }
.swp-insp-feat__name a { color: inherit; text-decoration: none; }
.swp-insp-feat__name a:hover, .swp-insp-feat__name a:focus-visible { text-decoration: underline; text-decoration-color: #666; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.swp-insp-feat__line { margin: 0 0 14px; font-size: 16px; line-height: 1.5; color: #555; }
@media (max-width: 849px) {
	.swp-insp-feat { grid-template-columns: minmax(0, 1fr); gap: 14px 0; }
}
/* the feature row's photo keeps the card's Project List heart (the same look, top right) */
.swp-insp-feat__phw { position: relative; }
.swp-insp-feat__phw .swp-insp-card__heart.image-tools { position: absolute; top: 2px; right: 2px; left: auto; bottom: auto; z-index: 3; width: auto; padding: 0; opacity: 1; visibility: visible; transform: none; }
.swp-insp-feat__phw {
	--swp-insp-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E");
}
.swp-insp-feat__phw .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button {
	position: relative; overflow: visible; width: 44px; height: 44px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0;
	background: transparent var(--swp-insp-heart) no-repeat center / 24px 24px; box-shadow: none;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 6px rgba(0, 0, 0, 0.3)); transition: filter 0.15s ease;
}
.swp-insp-feat__phw .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button i { display: none; }
.swp-insp-feat__phw .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button.wishlist-added { background-image: var(--swp-i-heart-oak, var(--swp-insp-heart)); }
.swp-insp-feat__phw .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button:hover,
.swp-insp-feat__phw .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button:focus-visible { background-color: transparent; box-shadow: none; }
.swp-insp-feat__phw .swp-insp-card__heart.image-tools .wishlist-icon .wishlist-button.button:focus-visible { outline: 2px solid #ffffff; outline-offset: -6px; }
