.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.template-card{border:1px solid #dedfd8;background:#fff;min-width:0}.template-art{position:relative;display:block;aspect-ratio:4/3;background-size:cover;background-position:center;overflow:hidden}.template-art img{position:absolute;width:75%;height:95%;left:0;top:2.5%;object-fit:contain;filter:drop-shadow(0 7px 5px #18241c12)}.preview-badge{position:absolute;left:12px;top:12px;padding:5px 8px;background:#ffffffdf;color:#525c53;border:1px solid #e0e4dc;font-size:10px;letter-spacing:.04em}.template-content{padding:21px}.template-content .eyebrow{font-size:10px;margin:0 0 9px}.template-content h3{font-size:23px;line-height:1.15;margin:0 0 12px;letter-spacing:-.025em}.template-content p:not(.eyebrow){font-size:13px;line-height:1.6;color:#667065;min-height:82px;margin:0 0 19px}.template-content .button{font-size:12px;display:inline-flex;padding:12px 14px}.template-disclaimer{font-size:12px;color:#697369;line-height:1.6;max-width:850px;margin:19px 0 0}.template-own{margin-top:27px;padding:24px;background:#f2f4ef;display:flex;align-items:center;flex-wrap:wrap;gap:20px}.template-own>div{margin-right:auto;max-width:510px}.template-own h3{margin:0 0 8px;font-size:20px}.template-own p{margin:0;color:#697369;font-size:13px}.template-own .text-link{font-size:12px}.studio-template-bar{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap;padding:13px 15px;margin:21px auto 0;background:#fff;border:1px solid #e5e8df;width:fit-content;color:#68726d;font-size:12px}.studio-template-bar strong{color:#222c24}.studio-template-bar a{color:#19332a;text-underline-offset:4px}.quote input:focus-visible,.quote select:focus-visible,.quote textarea:focus-visible{outline:2px solid #19332a;outline-offset:2px}.quote form p{max-width:900px}.template-art:focus-visible{outline:3px solid #19332a;outline-offset:3px}.template-content .button:hover{background:#354939}@media(max-width:1000px){.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.template-grid{grid-template-columns:1fr;gap:20px}.template-art{aspect-ratio:4/3}.template-content p:not(.eyebrow){min-height:0}.template-own{padding:20px;gap:16px}.template-own .button{width:100%}.studio-template-bar{gap:9px;font-size:11px}.quote form{gap:12px}.custom-tool-band h2{overflow-wrap:anywhere}}

.custom-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.custom-choice-card{border:1px solid #dedfd8;background:#fff;padding:21px;min-height:235px;display:flex;flex-direction:column}.custom-choice-card .eyebrow{font-size:10px;margin:0 0 10px}.custom-choice-card h3{font-size:22px;line-height:1.15;margin:0 0 12px}.custom-choice-card p:not(.eyebrow){font-size:13px;line-height:1.6;color:#667065;margin:0 0 18px}.custom-choice-card .button,.custom-choice-card .text-link{margin-top:auto;align-self:flex-start;font-size:12px}.custom-choice-ready{background:#f2f4ef}.custom-choice-own{background:#19332a;color:#fff}.custom-choice-own p:not(.eyebrow){color:#dbe2d8}.custom-choice-own .eyebrow{color:#b9c9b7}.custom-choice-own .button-light{background:#fff;color:#19332a}@media(max-width:1000px){.custom-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.custom-choice-grid{grid-template-columns:1fr}.custom-choice-card{min-height:0}}

.product-direction-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.product-direction-card{border:1px solid #dedfd8;background:#fff;padding:21px;min-height:220px;display:flex;flex-direction:column}.product-direction-card .eyebrow{font-size:10px;margin:0 0 10px}.product-direction-card h3{font-size:20px;line-height:1.18;margin:0 0 12px}.product-direction-card p:not(.eyebrow){font-size:13px;line-height:1.6;color:#667065;margin:0 0 18px}.product-direction-card .text-link{margin-top:auto;align-self:flex-start;font-size:12px}@media(max-width:1000px){.product-direction-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.product-direction-grid{grid-template-columns:1fr}.product-direction-card{min-height:0}}

/* Give the long-form custom page a little more room without widening every route. */
.custom-page-section[data-astro-cid-z43qqqhl],.faq-section[data-astro-cid-z43qqqhl]{max-width:1280px}
.custom-page-supply[data-astro-cid-z43qqqhl]{max-width:1280px}
.custom-tool-band[data-astro-cid-z43qqqhl]{position:relative}
.custom-tool-band[data-astro-cid-z43qqqhl]::before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:#e98b6c}
.custom-product-references{margin-top:38px;padding-top:26px;border-top:1px solid #dedfd8}
.custom-product-references-heading{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);column-gap:24px;align-items:end;margin-bottom:18px}
.custom-product-references-heading .eyebrow{grid-column:1/-1;margin:0 0 8px;font-size:10px}
.custom-product-references-heading h3{font-size:22px;line-height:1.2;margin:0}
.custom-product-references-heading>p:last-child{font-size:13px;line-height:1.55;color:#667065;margin:0}
.custom-product-reference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.custom-product-reference-card{min-width:0;display:grid;grid-template-columns:minmax(120px,.85fr) minmax(0,1.15fr);align-items:center;gap:18px;padding:14px;border:1px solid #dedfd8;background:#fff;color:inherit;text-decoration:none}
.custom-product-reference-card img{display:block;width:100%;height:150px;object-fit:contain;background:#f4f5f1}
.custom-product-reference-card span{display:grid;gap:7px}
.custom-product-reference-card strong{font-size:15px;line-height:1.3}
.custom-product-reference-card small{font-size:12px;color:#667065}
.custom-product-reference-card:focus-visible{outline:3px solid #19332a;outline-offset:3px}
@media(max-width:760px){.custom-product-references-heading{grid-template-columns:1fr;gap:8px}.custom-product-references-heading .eyebrow{grid-column:auto}.custom-product-reference-grid{grid-template-columns:1fr}.custom-product-reference-card{grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr);gap:14px}.custom-product-reference-card img{height:128px}.custom-tool-band[data-astro-cid-z43qqqhl]::before{width:4px}}
@media(max-width:380px){.custom-product-reference-card{grid-template-columns:1fr}.custom-product-reference-card img{height:155px}}

/* Tighten vertical rhythm across the full custom page while keeping sections distinct. */
.custom-page-section[data-astro-cid-z43qqqhl],.faq-section[data-astro-cid-z43qqqhl]{padding-top:62px;padding-bottom:62px}
#choose-start,#design-gallery{max-width:1280px;padding:62px 24px}
.custom-tool-band[data-astro-cid-z43qqqhl]{padding-top:60px;padding-bottom:60px}
.pricing-band[data-astro-cid-z43qqqhl]{gap:54px;padding-top:62px;padding-bottom:62px}
.custom-page-supply[data-astro-cid-z43qqqhl]{padding-bottom:64px}
.custom-intro-note[data-astro-cid-z43qqqhl]{padding-top:16px;padding-bottom:16px}
.custom-page-section[data-astro-cid-z43qqqhl] .section-heading,.faq-section[data-astro-cid-z43qqqhl] .section-heading,#choose-start .section-heading,#design-gallery .section-heading{margin-bottom:26px}
@media(max-width:760px){.custom-page-section[data-astro-cid-z43qqqhl],.faq-section[data-astro-cid-z43qqqhl]{padding-top:44px;padding-bottom:44px}#choose-start,#design-gallery{padding:46px 24px}.custom-tool-band[data-astro-cid-z43qqqhl],.pricing-band[data-astro-cid-z43qqqhl]{padding-top:48px;padding-bottom:48px;gap:24px}.custom-page-supply[data-astro-cid-z43qqqhl]{padding-bottom:48px}.custom-page-section[data-astro-cid-z43qqqhl] .section-heading,.faq-section[data-astro-cid-z43qqqhl] .section-heading,#choose-start .section-heading,#design-gallery .section-heading{margin-bottom:22px}}

/* Keep the true photo and unverified style visual distinct but equally weighted. */
.custom-product-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.custom-product-reference-card{display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden;height:100%}
.custom-product-reference-media{position:relative;display:block!important;width:100%;aspect-ratio:4/3;background:#f4f5f1;overflow:hidden}
.custom-product-reference-media img{position:absolute;inset:0;width:100%;height:100%;padding:12px;object-fit:contain;background:#f4f5f1}
.custom-product-reference-badge{position:absolute;left:10px;top:10px;padding:6px 8px;background:#fff;color:#344238;border:1px solid #dfe4dd;font-size:10px;font-weight:700;line-height:1.2}
.custom-product-reference-copy{flex:1;align-content:start;padding:14px 16px}
.custom-product-reference-copy strong{font-size:15px;line-height:1.35}
.custom-product-reference-copy small{font-size:12px;line-height:1.5;color:#667065}
.custom-product-reference-card:hover{border-color:#aeb9ae}
@media(max-width:520px){.custom-product-reference-grid{grid-template-columns:1fr}}

/* Custom page typography and spacing are based on Ribstead's actual workflow. */
.custom-socks-page .eyebrow{font-size:13px;line-height:1.4;letter-spacing:0;text-transform:none;margin-bottom:12px}
.custom-socks-page .custom-section[data-astro-cid-z43qqqhl]{padding-top:50px;padding-bottom:50px}
.custom-socks-page .custom-intro-note{max-width:1280px;padding:10px 24px;font-size:15px;line-height:1.55}
.custom-socks-page .custom-page-section[data-astro-cid-z43qqqhl],.custom-socks-page .faq-section[data-astro-cid-z43qqqhl]{padding-top:46px;padding-bottom:46px}
.custom-socks-page #choose-start,.custom-socks-page #design-gallery{padding-top:46px;padding-bottom:46px}
.custom-socks-page .custom-tool-band[data-astro-cid-z43qqqhl]{padding-top:46px;padding-bottom:46px}
.custom-socks-page .pricing-band[data-astro-cid-z43qqqhl]{padding-top:48px;padding-bottom:48px;gap:42px}
.custom-socks-page .custom-page-supply[data-astro-cid-z43qqqhl]{padding-bottom:46px}
.custom-socks-page .custom-final-cta[data-astro-cid-z43qqqhl]{padding-top:52px;padding-bottom:52px}
.custom-socks-page .custom-page-section[data-astro-cid-z43qqqhl] .section-heading,.custom-socks-page .faq-section[data-astro-cid-z43qqqhl] .section-heading,.custom-socks-page #choose-start .section-heading,.custom-socks-page #design-gallery .section-heading{margin-bottom:20px}
.custom-socks-page .process-list{gap:18px}
.custom-socks-page .process-list li{padding-top:13px;gap:8px}
.custom-socks-page .process-list small{font-size:14px;line-height:1.55}
.custom-socks-page .info-grid[data-astro-cid-z43qqqhl],.custom-socks-page .faq-grid[data-astro-cid-z43qqqhl]{gap:14px 24px}
.custom-socks-page .info-grid[data-astro-cid-z43qqqhl] article[data-astro-cid-z43qqqhl],.custom-socks-page .faq-grid[data-astro-cid-z43qqqhl] details[data-astro-cid-z43qqqhl]{padding:14px 0}
.custom-socks-page .info-grid[data-astro-cid-z43qqqhl] p[data-astro-cid-z43qqqhl],.custom-socks-page .faq-grid[data-astro-cid-z43qqqhl] p[data-astro-cid-z43qqqhl]{font-size:15px;line-height:1.55}
.custom-socks-page .faq-grid[data-astro-cid-z43qqqhl] summary[data-astro-cid-z43qqqhl]{font-size:16px;line-height:1.45}
.custom-socks-page .size-guide-note{font-size:14px}
.custom-socks-page .template-grid{gap:16px}
.custom-socks-page .template-content{padding:18px;display:flex;flex-direction:column}
.custom-socks-page .template-content .eyebrow{font-size:13px}
.custom-socks-page .template-content h3{font-size:22px;letter-spacing:0}
.custom-socks-page .template-content p:not(.eyebrow){font-size:15px;line-height:1.55;min-height:0;margin-bottom:16px}
.custom-socks-page .template-content .button{font-size:14px;margin-top:auto}
.custom-socks-page .template-disclaimer{font-size:14px;line-height:1.55;max-width:none}
.custom-socks-page .template-own{margin-top:20px;padding:20px}
.custom-socks-page .template-own p{font-size:15px;line-height:1.55}
.custom-socks-page .custom-product-references{margin-top:28px;padding-top:20px}
.custom-socks-page .custom-product-references-heading{margin-bottom:14px}
.custom-socks-page .custom-product-references-heading h3{font-size:24px}
.custom-socks-page .custom-product-references-heading>p:last-child{font-size:15px}
.custom-socks-page .custom-product-reference-badge{font-size:12px}
.custom-socks-page .custom-product-reference-copy{gap:5px}
.custom-socks-page .custom-product-reference-copy strong{font-size:17px}
.custom-socks-page .custom-product-reference-copy small{font-size:14px}
.custom-socks-page .supply-section figcaption{font-size:14px}
@media(max-width:760px){.custom-socks-page .custom-section[data-astro-cid-z43qqqhl]{padding-top:36px;padding-bottom:36px}.custom-socks-page .custom-page-section[data-astro-cid-z43qqqhl],.custom-socks-page .faq-section[data-astro-cid-z43qqqhl],.custom-socks-page #choose-start,.custom-socks-page #design-gallery{padding-top:34px;padding-bottom:34px}.custom-socks-page .custom-tool-band[data-astro-cid-z43qqqhl],.custom-socks-page .pricing-band[data-astro-cid-z43qqqhl]{padding-top:36px;padding-bottom:36px;gap:22px}.custom-socks-page .custom-page-supply[data-astro-cid-z43qqqhl]{padding-bottom:38px}.custom-socks-page .custom-final-cta[data-astro-cid-z43qqqhl]{padding-top:40px;padding-bottom:40px}.custom-socks-page .custom-page-section[data-astro-cid-z43qqqhl] .section-heading,.custom-socks-page .faq-section[data-astro-cid-z43qqqhl] .section-heading,.custom-socks-page #choose-start .section-heading,.custom-socks-page #design-gallery .section-heading{margin-bottom:16px}.custom-socks-page .custom-product-references-heading h3{font-size:22px}}
