.ndl-shop-themes{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 32px}.ndl-shop-themes a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--ndl-line);padding:8px 15px;color:var(--ndl-ink);background:#fff;text-decoration:none;font-size:14px;line-height:1.3}.ndl-shop-themes a[aria-current=page]{background:var(--ndl-ink);color:#fff;border-color:var(--ndl-ink)}.ndl-shop-themes a:hover{border-color:var(--ndl-ink)}.ndl-product-guide-links{display:flex;flex-wrap:wrap;gap:6px 22px;font-size:13px;margin:14px 0 0}.ndl-product-guide-links a{display:inline-flex;align-items:center;min-height:36px;color:var(--ndl-muted)}.ndl-buying-guide .ndl-guide-illustration{max-width:780px;margin:24px auto 40px}.ndl-buying-guide .ndl-guide-illustration img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:3/2;object-fit:contain;background:#eef3f1}.ndl-buying-guide figcaption{font-size:14px;line-height:1.6;color:var(--ndl-muted);margin-top:12px}.ndl-buying-guide .article>section{margin-bottom:46px}.ndl-format-summary{background:#f3f5ef;padding:22px 26px;margin:20px 0}.ndl-guide .ndl-format-summary h3{margin:0 0 14px}.ndl-format-summary ul{columns:2;column-gap:30px}.ndl-format-summary li{break-inside:avoid}.ndl-guide-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:26px 0}.ndl-guide-product-grid:has(>.ndl-guide-product:only-child){max-width:470px}.ndl-guide-product-image img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}.ndl-guide-product-image{margin:0}.ndl-guide-product>p{margin:12px 0 0}.ndl-guide-product a{min-height:44px;display:inline-flex;align-items:center}.ndl-guide-links{display:flex;flex-wrap:wrap;gap:8px 20px}.ndl-guide-links a{min-height:44px;display:inline-flex;align-items:center}.ndl-learning-card .wp-block-heading a{text-decoration:none}.ndl-learning-card .wp-block-image{margin:0 0 18px}.ndl-learning-card .wp-block-image img{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;max-height:none;margin:0}.ndl-shop-themes a:focus-visible,.ndl-product-guide-links a:focus-visible{outline:2px solid #9b496a;outline-offset:3px}
@media(max-width:600px){.ndl-shop-themes{gap:7px;margin-bottom:24px}.ndl-shop-themes a{font-size:13px;padding:8px 11px}.ndl-guide-product-grid{grid-template-columns:1fr;gap:28px}.ndl-format-summary{padding:20px}.ndl-format-summary ul{columns:1}.ndl-buying-guide figcaption{font-size:13px}.ndl-buying-guide .ndl-guide-illustration{margin-top:20px;margin-bottom:30px}.ndl-product-guide-links{gap:2px 20px}.ndl-learning-card .wp-block-image img{max-height:none}}

/* Product cards: the image leads; type, price and the entry share a steady grid. */
.woocommerce ul.products{column-gap:24px;row-gap:32px}
.woocommerce ul.products li.product{box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;min-width:0;padding:0 0 12px;border:1px solid #e4e9e5;border-radius:3px;background:#fff;box-shadow:none}
.woocommerce ul.products li.product>a.woocommerce-loop-product__link{display:block;color:inherit;text-decoration:none}
.woocommerce ul.products li.product a img{display:block;width:100%;aspect-ratio:1;object-fit:contain;margin:0;border-radius:2px 2px 0 0}
.woocommerce ul.products li.product .woocommerce-loop-product__title{box-sizing:content-box;font-family:Cardo,Georgia,serif;font-size:18px!important;font-weight:400;line-height:1.35!important;letter-spacing:0;margin:12px 12px 6px;padding:0;height:2.7em;min-height:2.7em;overflow:hidden;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.woocommerce ul.products li.product .price{display:block;font-size:14px;line-height:1.4;min-height:1.4em;margin:0 12px;color:var(--ndl-ink)}
.woocommerce ul.products li.product .star-rating{margin:0 12px 8px}
.woocommerce ul.products li.product>a.button,.woocommerce ul.products li.product>p>a.button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;align-self:stretch;width:calc(100% - 24px);min-height:44px;margin:12px 12px 0!important;padding:9px 12px;font-size:13px;line-height:1.35;text-align:center;text-transform:none;text-decoration:none;background:#fff!important;color:var(--ndl-ink)!important;border:1px solid #cbd4cd!important;box-shadow:none!important;border-radius:2px!important}
.woocommerce ul.products li.product>a.button:hover,.woocommerce ul.products li.product>p>a.button:hover{background:#f2f5f1!important;border-color:var(--ndl-ink)!important}
.woocommerce ul.products li.product a:focus-visible{outline:2px solid #9b496a;outline-offset:3px}
.woocommerce ul.products li.product>p{display:flex;flex-direction:column;flex:1;margin:0}
.woocommerce ul.products li.product p:empty,.woocommerce ul.products li.product>p>br,.woocommerce ul.products li.product .woocommerce-loop-product__link>br{display:none}
.woocommerce ul.products li.product>p>a.button{margin-top:auto!important}
@media(hover:hover) and (pointer:fine){.woocommerce ul.products li.product:hover{border-color:#cbd4cd;box-shadow:0 4px 16px #223f3410}}
@media(max-width:600px){
 .woocommerce ul.products{column-gap:16px;row-gap:24px}
 .woocommerce ul.products li.product{padding-bottom:10px}
 .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;margin:10px 10px 6px}
 .woocommerce ul.products li.product .price{font-size:13px;margin:0 10px}
 .woocommerce ul.products li.product>a.button,.woocommerce ul.products li.product>p>a.button{width:calc(100% - 20px);margin:10px 10px 0!important;padding:8px;font-size:12px}
}

/* Four designs per row on desktop, three on tablet, two on phones. */
.ndl-collection .woocommerce ul.products,.ndl-catalog-grid .woocommerce ul.products{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:20px;row-gap:24px}
.ndl-collection{padding-top:32px!important;padding-bottom:40px!important}
.ndl-collection .ndl-section-head{margin-bottom:18px}
@media(min-width:601px) and (max-width:1023px){
 .ndl-collection .woocommerce ul.products,.ndl-catalog-grid .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
}
@media(max-width:600px){
 .ndl-collection .woocommerce ul.products,.ndl-catalog-grid .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:24px}
 .ndl-collection{padding-top:28px!important;padding-bottom:34px!important}
 .ndl-collection .ndl-section-head{margin-bottom:14px}
}

/* More themes stay in one touch-scroll row on phones. */
@media(max-width:600px){
 .ndl-shop-themes{flex-wrap:nowrap;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;padding:3px 2px 7px;margin-bottom:16px}
 .ndl-shop-themes a{flex:0 0 auto;white-space:nowrap;scroll-snap-align:start}
}

/* Keep the shop's first screen focused on the canvases. */
.ndl-title-band.ndl-shop-heading{box-sizing:border-box;max-width:1160px;margin:0 auto!important;padding:24px 24px 10px!important;background:#fff;border:0;text-align:left}
.ndl-shop-heading h1{font-size:30px;line-height:1.2;margin:0}
.ndl-article.ndl-shop-content{padding-top:8px!important}
.ndl-catalog-grid>.woocommerce{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 190px 210px;align-items:center;column-gap:12px;row-gap:18px}
.ndl-catalog-grid .woocommerce-result-count{grid-column:1;grid-row:1;float:none;margin:0!important;font-size:13px;color:var(--ndl-muted)}
.ndl-shop-content .ndl-shop-filter{grid-column:2;grid-row:1;min-width:0;padding:0;margin:0;border:0}
.ndl-shop-content .ndl-shop-filter summary{box-sizing:border-box;display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 12px;border:1px solid #cbd4cd;border-radius:2px;background:#fff;font-size:13px;font-weight:400;line-height:1.3;list-style:none}
.ndl-shop-filter summary::-webkit-details-marker{display:none}
.ndl-shop-filter summary svg{flex:0 0 auto}
.ndl-shop-filter summary span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ndl-shop-filter summary::after{content:'';width:6px;height:6px;border-right:1px solid;border-bottom:1px solid;transform:rotate(45deg);margin-left:auto;flex:0 0 auto}
.ndl-shop-filter[open] summary{border-color:var(--ndl-ink)}
.ndl-shop-filter[open] summary::after{transform:rotate(225deg)}
.ndl-shop-filter .ndl-shop-themes{position:absolute;z-index:10;right:0;top:52px;box-sizing:border-box;width:min(580px,100%);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;max-height:60vh;overflow:auto;margin:0;padding:12px;border:1px solid var(--ndl-line);border-radius:3px;background:#fff;box-shadow:0 8px 24px #223f3418}
.ndl-shop-filter .ndl-shop-themes a{justify-content:flex-start;min-height:44px;padding:8px 10px;border:0;font-size:13px;white-space:normal}
.ndl-shop-filter .ndl-shop-themes a[aria-current=page]{background:#edf2ec;color:var(--ndl-ink)}
.ndl-shop-filter .ndl-shop-themes a:hover{background:#f4f6f1}
.ndl-shop-filter summary:focus-visible{outline:2px solid #9b496a;outline-offset:3px}
.ndl-catalog-grid .woocommerce-ordering{grid-column:3;grid-row:1;float:none;min-width:0;width:100%;margin:0!important}
.ndl-catalog-grid .woocommerce-ordering select{box-sizing:border-box;width:100%;max-width:100%;min-height:44px;padding:8px 24px 8px 10px;border:1px solid #cbd4cd;border-radius:2px;background-color:#fff;color:var(--ndl-ink);font-family:inherit;font-size:13px;text-overflow:ellipsis}
.ndl-catalog-grid .woocommerce ul.products,.ndl-catalog-grid .woocommerce .woocommerce-pagination,.ndl-catalog-grid .woocommerce>.woocommerce-notices-wrapper{grid-column:1/-1;margin:0!important}
@media(max-width:600px){
 .ndl-title-band.ndl-shop-heading{padding:18px 21px 8px!important}
 .ndl-shop-heading h1{font-size:26px}
 .ndl-article.ndl-shop-content{padding-top:6px!important}
 .ndl-catalog-grid>.woocommerce{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:10px;row-gap:14px}
 .ndl-catalog-grid .woocommerce-result-count{display:none}
 .ndl-shop-content .ndl-shop-filter{grid-column:1}
 .ndl-catalog-grid .woocommerce-ordering{grid-column:2}
 .ndl-shop-filter .ndl-shop-themes{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;top:52px}
}
