/* Only the Yarn category chooser. Card shells remain stable when Pinterest wraps images. */
.editorial-site.yarn-section .yarn-category-browser{padding:32px 24px!important;margin:0 0 54px!important;background:#f7f8f4!important;border:1px solid #e6ebe5!important;border-radius:20px!important;scroll-margin-top:24px}
.editorial-site.yarn-section .yarn-category-browser>h2{margin:0 0 26px!important;color:#193b47!important;font:700 clamp(25px,3vw,34px)/1.2 Georgia,serif!important;text-align:center!important}
.editorial-site.yarn-section .yarn-category-portraits{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:stretch!important;gap:16px!important}
.editorial-site.yarn-section .yarn-category-item{box-sizing:border-box;flex:0 0 calc((100% - 64px)/5);min-width:0;display:flex}
.editorial-site.yarn-section .yarn-category-item>.pin-image{display:block!important;width:100%!important;height:auto!important;min-width:0!important;max-width:none!important;margin:0!important}
.editorial-site.yarn-section .yarn-category-portraits .yarn-category-card{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;height:100%!important;min-height:214px!important;gap:0!important;padding:20px 10px 16px!important;margin:0!important;background:#fff!important;border:1px solid #e2e8e2!important;border-radius:14px!important;color:#193b47!important;text-decoration:none!important;text-align:center!important;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.editorial-site.yarn-section .yarn-category-portraits .yarn-category-card:hover{border-color:#176b63!important;box-shadow:0 5px 16px #193b4710!important;transform:translateY(-3px)}
.editorial-site.yarn-section .yarn-category-portraits .yarn-category-card:focus-visible{outline:3px solid #176b63!important;outline-offset:3px!important}
.editorial-site.yarn-section .yarn-category-photo{display:block!important;width:92px!important;height:92px!important;flex:none!important;margin:0 auto 14px!important;padding:4px!important;box-sizing:content-box!important;border-radius:50%!important;background:#eef3ed!important}
.editorial-site.yarn-section .yarn-category-photo .pin-image{display:block!important;width:92px!important;height:92px!important;min-width:0!important;max-width:100%!important;margin:0!important}
.editorial-site.yarn-section .yarn-category-photo img{display:block!important;width:92px!important;height:92px!important;max-width:100%!important;margin:0!important;object-fit:cover!important;border-radius:50%!important}
.editorial-site.yarn-section .yarn-category-name{display:flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;margin:0 0 10px!important;font:700 15px/1.4 Arial,sans-serif!important;color:#193b47!important;overflow-wrap:normal!important}
.editorial-site.yarn-section .yarn-category-count{display:inline-flex!important;align-items:center!important;gap:8px!important;padding:5px 10px!important;margin-top:auto!important;border-radius:20px!important;background:#eef5ef!important;color:#176359!important;font:600 12px/1.25 Arial,sans-serif!important}
.editorial-site.yarn-section .yarn-category-portraits .pin-save{width:34px!important;height:34px!important;min-height:0!important;padding:0!important;gap:0!important;margin:0!important;border-radius:50%!important}
@media(max-width:1050px){.editorial-site.yarn-section .yarn-category-item{flex-basis:calc((100% - 32px)/3)}}
@media(max-width:600px){.editorial-site.yarn-section .yarn-category-browser{padding:24px 12px!important;border-radius:16px!important}.editorial-site.yarn-section .yarn-category-portraits{gap:12px!important}.editorial-site.yarn-section .yarn-category-item{flex-basis:calc((100% - 12px)/2)}.editorial-site.yarn-section .yarn-category-portraits .yarn-category-card{padding:16px 8px 14px!important;min-height:206px!important}.editorial-site.yarn-section .yarn-category-photo{width:80px!important;height:80px!important;margin-bottom:12px!important}.editorial-site.yarn-section .yarn-category-photo .pin-image,.editorial-site.yarn-section .yarn-category-photo img{width:80px!important;height:80px!important}.editorial-site.yarn-section .yarn-category-name{font-size:14px!important;min-height:40px!important}}
@media(prefers-reduced-motion:reduce){.editorial-site.yarn-section .yarn-category-portraits .yarn-category-card{transition:none!important}.editorial-site.yarn-section .yarn-category-portraits .yarn-category-card:hover{transform:none!important}}
