/* Stone product page family (#1059 + #1060): the sections under the top. Printed at the end of the page (not render-blocking),
   like product-page-v2-below.css. One container (1240px, the top's left edge), one rhythm (48px / 32px phones), one heading
   style (the small brown line + a 30px heading), backgrounds alternating white / cream by order (the PHP sets --w / --c). */

/* ---------- every section ---------- */
.swp-sf .swp-sf-sec { position: relative; margin: 0; padding: 48px 0; border: 0; box-shadow: 0 0 0 100vmax var(--swp-sf-bg); clip-path: inset(0 -100vmax); background: var(--swp-sf-bg); scroll-margin-top: 24px; }
.swp-sf .swp-sf-sec--w { --swp-sf-bg: #fff; }
.swp-sf .swp-sf-sec--c { --swp-sf-bg: #f5f3ee; }
.swp-sf .swp-sf-sec.swp-ss { margin: 0; } /* About / Specs carry .swp-ss for stone-specs.css's row styles, not its margin */
.swp-sf .swp-sf-in { max-width: 1240px; margin: 0 auto; text-align: left; }
.swp-sf .swp-sf-narrow { max-width: 880px; margin-left: max(0px, calc((100% - 1240px) / 2)); }
@media (min-width: 1440px) { /* #1158: the sections on the header's edges (1360px), as the top row; text widths unchanged */
	.swp-sf .swp-sf-in:not(.swp-sf-narrow) { max-width: 1360px; } /* the 880 text column keeps its width */
	.swp-sf .swp-sf-narrow { margin-left: max(0px, calc((100% - 1360px) / 2)); }
	/* Lay it out: its round arrows sat 56px outside the 1240 container; the 1360 container leaves 40px at a 1440 window, so they move in as far as needed (never past the window, scrollbar included) */
	.swp-sf .swp-lio .swp-lio__nav--prev { left: max(-56px, calc((1360px - 100vw) / 2 + 12px)); }
	.swp-sf .swp-lio .swp-lio__nav--next { right: max(-56px, calc((1360px - 100vw) / 2 + 12px)); }
}
.swp-sf .swp-sf-hd { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 0 24px; margin: 0 0 22px; }
.swp-sf .swp-sf-eb2, .swp-sf .swp-sf-sec .swp-ss__eyebrow, .swp-sf .swp-sf-sec .swp-lio__eye { margin: 0 0 4px; font: 700 13px/1.3 Lato, "Lato Fallback", Arial, sans-serif; letter-spacing: 0; text-transform: none; color: #a0643a; }
.swp-sf .swp-sf-h, .swp-sf .swp-sf-sec .swp-ss__h, .swp-sf .swp-sf-sec .swp-lio h2 { margin: 0; padding: 0; font: 700 30px/1.2 Lato, "Lato Fallback", Arial, sans-serif; letter-spacing: 0; text-transform: none; color: #2f3f2e; scroll-margin-top: 24px; }
.swp-sf .swp-sf-all { font-size: 15px; font-weight: 700; color: #2f3f2e; text-decoration: none; white-space: nowrap; }
.swp-sf .swp-sf-all:hover, .swp-sf .swp-sf-all:focus-visible { text-decoration: underline; text-decoration-color: #666; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.swp-sf .swp-sf-sub { margin: 0 0 12px; font-size: 12px; line-height: 1.3; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #2f3f2e; }
.swp-sf .swp-sf-box { background: #fff; border: 1px solid #e3e6e0; padding: 22px 28px; }
.swp-sf .swp-sf-sec--w .swp-sf-box { background: #fff; }

/* ---------- About: our text left (reading width), the Benefits list right (#1060 item 10) ---------- */
.swp-sf .swp-sf-about .swp-ss__about { max-width: none; padding: 0; background: none; border: 0; scroll-margin-top: 24px; }
.swp-sf .swp-sf-about .swp-ss__h { margin: 0 0 18px; }
.swp-sf .swp-sf-about .swp-ss__txt { max-width: 720px; font-size: 17px; line-height: 1.6; color: #3d4a3b; }
.swp-sf .swp-sf-about .swp-ss__txt::after { background: linear-gradient(rgba(255, 255, 255, 0), var(--swp-sf-bg, #fff)) !important; }
.swp-sf .swp-sf-split { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 1fr); gap: 0 80px; align-items: start; }
.swp-sf .swp-sf-ben { padding-top: 50px; }
.swp-sf .swp-sf-ben ul { margin: 0; padding: 0; list-style: none; }
.swp-sf .swp-sf-ben li { margin: 0 !important; padding: 13px 0; border-top: 1px solid #dcdfd9; font-size: 16px; line-height: 1.4; font-weight: 700; color: #2f3f2e; }
.swp-sf .swp-sf-ben li:last-child { border-bottom: 1px solid #dcdfd9; }
/*
 * #1072: About in two columns across the full container: the text left (as before, its reading width), "See It Installed"
 * right (one big install photo, up to 3 small ones, "See All N Photos ›"), both starting at the same top line. Without
 * install photos the right column holds the product photo, bigger, and the small round one in the text steps aside.
 * Every photo sits in a fixed 4:3 frame (no jump while it loads). Phones: the text first, the photos under it.
 */
.swp-sf .swp-sf-about2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 0 56px; align-items: start; }
.swp-sf .swp-sf-about2 .swp-sf-ben { padding-top: 24px; }
.swp-sf .swp-sf-inst { margin: 0; }
.swp-sf .swp-sf-inst__h { margin: 0 0 12px; color: #a0643a; } /* the small brown line's place: level with the text's own small line */
.swp-sf .swp-sf-inst__big, .swp-sf .swp-sf-inst__sm { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #ece9e2; }
.swp-sf .swp-sf-inst__img { display: block; width: 100%; height: 100% !important; object-fit: cover; }
.swp-sf .swp-sf-inst--ph { aspect-ratio: 5 / 6; overflow: hidden; background: #ece9e2; } /* the product photo (our 750 × 880 shape) in a fixed frame: no jump while it loads */
.swp-sf .swp-sf-inst__th { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.swp-sf .swp-sf-inst__th li { margin: 0 !important; padding: 0; }
.swp-sf .swp-sf-inst__big:focus-visible, .swp-sf .swp-sf-inst__sm:focus-visible { outline: 2px solid #2f3f2e; outline-offset: 2px; }
.swp-sf .swp-sf-inst__all { display: inline-block; margin: 14px 0 0; padding: 0; border: 0; background: none; cursor: pointer; font-family: inherit; line-height: 1.3; }
.swp-sf .swp-sf-about2:has(.swp-sf-inst--ph) .swp-ss__txt .row:has(> .large-9) > .large-3 { display: none; } /* the bigger product photo is on the right */
@media (max-width: 849px) {
	.swp-sf .swp-sf-about2 { grid-template-columns: minmax(0, 1fr); gap: 28px 0; }
}

/* ---------- C: the story + the band (by ZIP) ---------- */
.swp-sf .swp-sf-story .swp-sf-in { display: grid; gap: 28px; }
.swp-sf .swp-sf-story--ph { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: center; }
.swp-sf .swp-sf-story__ph { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.swp-sf .swp-sf-story__ph .swp-sf-ph { margin: 0; }
.swp-sf .swp-sf-story__ph .swp-sf-ph__img { display: block; width: 100%; height: 340px; object-fit: cover; }
.swp-sf .swp-sf-story__t p { font-size: 17px; line-height: 1.6; color: #3d4a3b; }
.swp-sf .swp-sf-story__a a { font-weight: 700; color: #2f3f2e; }
/* The band (by ZIP) and the high end band (#1139): moved to assets/css/features/help-band.css (sw2, card #1155, 18 Nov, main's OK): one shared band style, also on the box beams page. */

/* ---------- Details + specs: one box with the rows in two columns (one file = a line under them), or two boxes of equal height ---------- */
.swp-sf .swp-sf-specs .swp-ss__specs { padding: 22px 28px; scroll-margin-top: 24px; }
.swp-sf .swp-sf-specs1 .swp-ss__specs > .swp-ss__dl { columns: 2; column-gap: 56px; }
.swp-sf .swp-sf-specs1 .swp-ss__specs > .swp-ss__dl .swp-ss__row { break-inside: avoid; }
.swp-sf .swp-sf-specs1 .swp-ss__specs > .swp-ss__dl .swp-ss__row:first-child { border-top: 1px solid #efe9dd; }
.swp-sf .swp-sf-specs1 .swp-ss__specs > .swp-ss__dl > .swp-ss__row:nth-child(1) { border-top: 0; }
.swp-sf .swp-sf-docs1 { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid #efe9dd; }
.swp-sf .swp-sf-docs1 .swp-sf-sub { margin: 0; }
.swp-sf .swp-sf-docs1 .swp-sf-docs li { border: 0; padding: 0; }
/* #1140: one left-aligned row: FOR YOUR DRAWINGS · Cut Sheet (PDF) · Technical Data ▾ (~24px gaps); phones: the label on top */
.swp-sf .swp-sf-docs1 { justify-content: flex-start; align-items: baseline; gap: 8px 24px; }
.swp-sf .swp-sf-docs1 .swp-sf-docs li { gap: 5px; }
.swp-sf .swp-sf-docs1 .swp-sf-docs__t::before { content: "("; }
.swp-sf .swp-sf-docs1 .swp-sf-docs__t::after { content: ")"; }
.swp-sf .swp-sf-docs1__tech { margin: 0; font-size: 15px; line-height: 1.4; }
@media (max-width: 549px) {
	.swp-sf .swp-sf-docs1 { gap: 8px 24px; }
	.swp-sf .swp-sf-docs1 > .swp-sf-sub { flex: 0 0 100%; }
}
.swp-sf .swp-sf-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.swp-sf .swp-sf-fm { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 22px; margin: 0 0 22px; padding: 0; list-style: none; }
.swp-sf .swp-sf-fm__i { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; }
.swp-sf .swp-sf-fm__i svg { display: block; }
.swp-sf .swp-sf-fm__l { font-size: 12.5px; line-height: 1.3; color: #555; white-space: nowrap; }
.swp-sf .swp-sf-docs { margin: 0; padding: 0; list-style: none; }
.swp-sf .swp-sf-docs li { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 10px 0; border-top: 1px solid #e3e6e0; font-size: 15px; }
.swp-sf .swp-sf-docs a { color: #2f3f2e; text-decoration: underline; text-decoration-color: #666; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.swp-sf .swp-sf-docs__t { font-size: 13px; color: #777; }
/* the calculator row's words (moved from the card): "Let us do the math for you." + "Calculate Your Job ›" */
.swp-sf .swp-sf-calcline { margin: 8px 0 18px; font-size: 16px; line-height: 1.5; color: #3d4a3b; }
.swp-sf .swp-sf-specs .swp-sf-calcline { margin: 18px 0 0; }
.swp-sf .swp-sf-calcgo { display: inline; margin: 0; padding: 0; min-height: 0; border: 0; background: none; font: inherit; font-weight: 700; color: #2f3f2e; letter-spacing: 0; text-transform: none; cursor: pointer; box-shadow: none; }
.swp-sf .swp-sf-calcgo:hover, .swp-sf .swp-sf-calcgo:focus-visible { text-decoration: underline; text-decoration-color: #666; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* #1072: Suggested patterns (was Lay it out): its new address #suggested-patterns and the old #lay-it-out land on the section top */
.swp-sf .swp-lio, .swp-sf .swp-lio__old { scroll-margin-top: 24px; }
.swp-sf .swp-lio__old { display: block; height: 0; overflow: hidden; }
/* ---------- Lay it out (ours) inside the family's container; one pattern = a normal card with its words beside it (#1060 item 12) ---------- */
.swp-sf .swp-sf-sec .swp-lio { max-width: none; margin: 0; padding: 0; border: 0; scroll-margin-top: 24px; }
.swp-sf .swp-sf-sec .swp-lio::before, .swp-sf .swp-sf-sec .swp-lio::after { display: none; }
.swp-sf .swp-sf-sec .swp-lio h2 { margin-bottom: 8px; }
.swp-sf .swp-sf-sec .swp-lio--feat .swp-lio__card { justify-content: flex-start; }
.swp-sf .swp-sf-sec .swp-lio--feat .swp-lio__pic, .swp-sf .swp-sf-sec .swp-lio--feat .swp-lio__pic--bar { width: 280px; padding: 22px; }

/* ---------- Lay it out + Pairs well with side by side (1-2 each, #1060 item 19) ---------- */
.swp-sf .swp-sf-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.swp-sf .swp-sf-duo .swp-lio--feat .swp-lio__card { flex-direction: column; align-items: flex-start; }
.swp-sf .swp-sf-duo .swp-lio--feat .swp-lio__pic { width: min(280px, 100%); }
.swp-sf .swp-sf-duo .swp-sf-cards { grid-template-columns: repeat(2, minmax(0, 230px)); }

/* ---------- the product card rows: one 4-column grid, 4:3 photos (#1113 mock: Pairs well with, More looks, Similar products) ---------- */
.swp-sf .swp-sf-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.swp-sf .swp-sf-cardi { margin: 0 !important; }
.swp-sf .swp-sf-cardi a { display: block; color: #2f3f2e; text-decoration: none; }
.swp-sf .swp-sf-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } /* 5, 9… cards: 3 across, never one alone */
.swp-sf .swp-sf-cardi__img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; background: #e9e6df; }
.swp-sf .swp-sf-cardi__t { display: block; margin: 10px 0 0; font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--swp-name, #444444); } /* #1114 */
.swp-sf .swp-sf-cardi__l { display: block; margin: 3px 0 0; font-size: 13px; line-height: 1.4; color: #666; }
.swp-sf .swp-sf-cardi a:hover .swp-sf-cardi__t, .swp-sf .swp-sf-cardi a:focus-visible .swp-sf-cardi__t { text-decoration: underline; text-decoration-color: #666; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
/* #1113: white rows in one box (~880px), the first one open */
.swp-sf .swp-sf-qs { background: #fff; border: 1px solid #e3e6e0; }
.swp-sf .swp-sf-q { padding: 0 24px; border-top: 1px solid #e3e6e0; }
.swp-sf .swp-sf-q:first-child { border-top: 0; }
.swp-sf .swp-sf-q__s { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 18px; line-height: 1.4; font-weight: 700; color: #2f3f2e; cursor: pointer; list-style: none; }
.swp-sf .swp-sf-q__s::-webkit-details-marker { display: none; }
.swp-sf .swp-sf-q__s::after { content: "+"; flex: none; font-weight: 400; font-size: 22px; line-height: 1; }
.swp-sf .swp-sf-q[open] .swp-sf-q__s::after { content: "\2013"; }
.swp-sf .swp-sf-q__a { padding: 0 0 18px; font-size: 16px; line-height: 1.6; color: #3d4a3b; }
.swp-sf .swp-sf-q__a p { margin: 0 0 10px; }

/* ---------- tablets and phones (the sections) ---------- */
@media (max-width: 1099px) {
	.swp-sf .swp-sf-split { grid-template-columns: minmax(0, 1fr); }
	.swp-sf .swp-sf-ben { padding-top: 20px; }
}
@media (max-width: 849px) {
	.swp-sf .swp-sf-sec { padding: 32px 0; }
	.swp-sf .swp-sf-h, .swp-sf .swp-sf-sec .swp-ss__h, .swp-sf .swp-sf-sec .swp-lio h2 { font-size: 24px; }
	.swp-sf .swp-sf-two, .swp-sf .swp-sf-duo, .swp-sf .swp-sf-story--ph { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.swp-sf .swp-sf-specs1 .swp-ss__specs > .swp-ss__dl { columns: 1; }
	.swp-sf .swp-sf-cards, .swp-sf .swp-sf-duo .swp-sf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.swp-sf .swp-sf-cards > .swp-sf-cardi:last-child:nth-child(odd) { grid-column: 1 / -1; } /* #1113: never one card alone on a row (2 across): a lone last card takes the row, as the projects row (#1099) */
	.swp-sf .swp-sf-box, .swp-sf .swp-sf-specs .swp-ss__specs { padding: 18px 16px; }
	.swp-sf .swp-sf-sec .swp-lio--feat .swp-lio__card { flex-direction: column; align-items: flex-start; }
	.swp-sf .swp-sf-sec .swp-lio--feat .swp-lio__pic { width: min(280px, 100%); }
}
@media (max-width: 549px) {
	.swp-sf .swp-sf-q__s { font-size: 16px; }
	.swp-sf .swp-sf-story__ph .swp-sf-ph__img { height: auto; aspect-ratio: 4 / 5; }
}

/* ---------- #1111 / #1113: About's text ends level with the photo column; "Read More ›" opens the rest ----------
   The grid row takes the photo column's height (the text column has contain: size, so it's clipped from the first paint:
   no jump); the script rounds the cut to a whole line and hides the button when the text fits. Phones: ~6 lines.
   The whole text is in the HTML. stone-specs' own phone "Read more ▾" (#1030) is off inside this layout. */
.swp-sf .swp-sf-rmw .swp-ss__morep { display: none !important; }
.swp-sf .swp-sf-rmw .swp-ss__about:not(.is-open) .swp-ss__txt { max-height: none; overflow: visible; }
.swp-sf .swp-sf-rmw .swp-ss__about .swp-ss__txt::after { display: none !important; }
.swp-sf .swp-sf-rmw .swp-sf-about2__a { display: flex; flex-direction: column; align-self: stretch; contain: size; }
.swp-sf .swp-sf-rm { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.swp-sf .swp-sf-rm::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.2em; background: linear-gradient(rgba(255, 255, 255, 0), var(--swp-sf-bg, #fff)); pointer-events: none; }
.swp-sf .swp-sf-rmw.rm-fits .swp-sf-about2__a, .swp-sf .swp-sf-rmw.is-open .swp-sf-about2__a { contain: none; }
.swp-sf .swp-sf-rmw.rm-fits .swp-sf-rm, .swp-sf .swp-sf-rmw.is-open .swp-sf-rm { overflow: visible; max-height: none !important; }
.swp-sf .swp-sf-rmw.rm-fits .swp-sf-rm::after, .swp-sf .swp-sf-rmw.is-open .swp-sf-rm::after { display: none; }
.swp-sf .swp-sf-rm__b { flex: none; align-self: flex-start; display: inline-block; width: auto; min-height: 0; margin: 14px 0 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: 700 15px/1.3 Lato, "Lato Fallback", Arial, sans-serif; letter-spacing: 0; text-transform: none; color: #2f3f2e; cursor: pointer; }
.swp-sf .swp-sf-rm__b[hidden] { display: none; }
.swp-sf .swp-sf-rm__b:hover, .swp-sf .swp-sf-rm__b:focus-visible { background: none; color: #2f3f2e; text-decoration: underline; text-decoration-color: #666; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 849px) {
	.swp-sf .swp-sf-rmw .swp-sf-about2__a { contain: none; }
	.swp-sf .swp-sf-rmw:not(.is-open):not(.rm-fits) .swp-sf-rm { flex: none; max-height: calc(6 * 1.6em + 70px); } /* the heading + ~6 lines */
}

/* #1131 (Jay: A): one product in a row = a wide feature row (as a single project, #1099): the photo left (about half, 4:3),
   the name (#444, the cards' bold), its small grey line(s) and "View ›" right; 2 products = two halves. Phones: the
   photo above the words; two halves stay two across. */
.swp-sf .swp-sf-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.swp-sf .swp-sf-feat1 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; align-items: center; }
.swp-sf .swp-sf-feat1__ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e9e6df; }
.swp-sf .swp-sf-feat1__img { display: block; width: 100%; height: 100% !important; object-fit: cover; }
.swp-sf .swp-sf-feat1__name { margin: 0 0 8px; font: 700 22px/1.3 Lato, "Lato Fallback", Arial, sans-serif; }
.swp-sf .swp-sf-feat1__name a { color: var(--swp-name, #444444); text-decoration: none; }
.swp-sf .swp-sf-feat1__name a:hover, .swp-sf .swp-sf-feat1__name a:focus-visible { color: var(--swp-name, #444444); text-decoration: underline; text-decoration-color: #666; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.swp-sf .swp-sf-feat1 .swp-sf-cardi__l { margin: 0 0 4px; font-size: 15px; }
.swp-sf .swp-sf-feat1__go { display: inline-block; margin-top: 12px; }
@media (max-width: 849px) {
	.swp-sf .swp-sf-feat1 { grid-template-columns: minmax(0, 1fr); gap: 14px 0; }
	.swp-sf .swp-sf-feat1__name { font-size: 18px; }
}