/* All rules are scoped to the category content, never the header or product page. */
body.sml-category-layout-theme_1 #content #primary{margin-top:24px}
.sml-cat{--sml-red:#f90000;--sml-cream:#f6ebcf;--sml-black:#111;--sml-line:#e7e3da;color:var(--sml-black);padding:0 0 48px;width:100%;min-width:0}
.sml-cat *{box-sizing:border-box}
.sml-cat .sml-cat-intro{background:var(--sml-cream);border:1px solid #e9ddbd;border-radius:14px;padding:clamp(24px,4vw,42px);margin-bottom:24px}
.sml-cat .sml-cat-intro h1{font-size:clamp(28px,3.5vw,46px);line-height:1.15;margin:0 0 14px;color:#111;overflow-wrap:anywhere}
.sml-cat .sml-cat-intro p{max-width:none;width:100%;margin:0;font-size:17px;line-height:1.75;color:#37332b}
.sml-cat .sml-cat-intro{display:grid;grid-template-columns:minmax(0,1fr) 180px;column-gap:32px;align-items:center}
.sml-cat .sml-cat-intro-copy{min-width:0}
.sml-cat .sml-cat-brand{grid-column:2;grid-row:1 / 3;width:180px;overflow:hidden}
.sml-cat .sml-cat-brand img{display:block;width:100%;max-width:100%;height:auto;margin:0;object-fit:contain}
.sml-cat .sml-cat-intro > .sml-cat-benefits{grid-column:1}
.sml-cat .sml-cat-read-more{display:inline;white-space:nowrap;color:#111;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.sml-cat #sml-category-description{scroll-margin-top:100px}
.sml-cat .sml-cat-benefits{display:flex;flex-wrap:wrap;gap:22px 36px;list-style:none;padding:0;margin:24px 0 0}
.sml-cat .sml-cat-benefits li{display:flex;align-items:center;gap:12px;min-width:0;margin:0;padding:0;font-size:17px;font-weight:700;line-height:1.4;color:#000}
.sml-cat .sml-cat-benefit-icon{display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;color:var(--sml-red)}
.sml-cat .sml-cat-benefit-icon svg{display:block;width:100%;height:100%}
.sml-cat .sml-cat-benefit-label{overflow-wrap:anywhere;color:#000}
.sml-cat .sml-cat-footer-benefits{display:flex;flex-wrap:wrap;list-style:none;margin:32px 0 0;padding:28px 0;border-top:1px solid var(--sml-line)}
.sml-cat .sml-cat-footer-benefits li{display:flex;flex:1 1 180px;flex-direction:column;align-items:center;gap:12px;text-align:center;padding:12px 24px;margin:0;border-right:1px solid var(--sml-line);font-size:16px;font-weight:700}
.sml-cat .sml-cat-footer-benefits li:last-child{border-right:0}
.sml-cat .sml-cat-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin:28px 0 20px}
.sml-cat .sml-cat-toolbar .woocommerce-notices-wrapper{flex-basis:100%}
.sml-cat .sml-cat-toolbar .woocommerce-notices-wrapper:empty{display:none}
.sml-cat .sml-cat-toolbar .woocommerce-result-count,.sml-cat .sml-cat-toolbar .woocommerce-ordering{float:none;margin:0;font-size:14px}
.sml-cat .sml-cat-toolbar select{max-width:100%;border:1px solid #d7d2c8;border-radius:6px;background:#fff;color:#222;padding:10px 30px 10px 12px;min-height:44px}
.sml-cat .sml-cat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;list-style:none;margin:0 0 32px;padding:0}
.sml-cat .sml-cat-card{display:flex;flex-direction:column;min-width:0;margin:0;padding:0;border:1px solid var(--sml-line);border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 3px 12px #00000005}
.sml-cat .sml-cat-photo{display:block;position:relative;flex-shrink:0;width:100%;aspect-ratio:4/3;padding:0;overflow:hidden;background:#fff;border-bottom:1px solid #f0ede7}
.sml-cat .sml-cat-photo img{display:block;position:absolute;inset:8px;width:calc(100% - 16px)!important;height:calc(100% - 16px)!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center;margin:0!important}
.sml-cat .sml-cat-badge{position:absolute;top:12px;left:12px;background:#eee;color:#333;border-radius:30px;padding:5px 11px;font-size:12px;font-weight:700}
.sml-cat .sml-cat-card-body{display:flex;flex-direction:column;flex:1;padding:16px;gap:16px}
.sml-cat .sml-cat-card h2{font-size:19px;line-height:1.4;margin:0;font-weight:700;overflow-wrap:anywhere;text-align:center}
.sml-cat .sml-cat-card h2 a{color:#111;text-decoration:none}
.sml-cat .sml-cat-price{margin-top:auto;padding-top:24px;min-height:59px;text-align:center;font-size:23px;font-weight:800;line-height:1.5;color:#111}
.sml-cat .sml-cat-price-sale{padding-top:0}
.sml-cat .sml-cat-price del{display:block;font-size:15px;line-height:24px;color:#666;font-weight:400;margin:0;text-align:center}
.sml-cat .sml-cat-price ins{display:block;background:transparent;text-decoration:none;color:var(--sml-red);text-align:center}
.sml-cat .sml-cat-price .woocommerce-price-suffix{display:none}
.sml-cat .sml-cat-price-prefix{font-size:14px;font-weight:400;color:#111;white-space:nowrap}
.sml-cat .sml-cat-grid .product-category{float:none;width:auto;margin:0;padding:20px;border:1px solid var(--sml-line);border-radius:12px;list-style:none}
.sml-cat .sml-cat-grid .product-category img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}
.sml-cat .sml-cat-grid .product-category h2{font-size:19px;line-height:1.4}
.sml-cat .sml-cat-button{display:flex;justify-content:center;align-items:center;gap:12px;background:var(--sml-cream);color:#000;border:1px solid #111;border-radius:6px;min-height:44px;padding:10px 14px;font-size:14px;font-weight:700;text-decoration:none;margin-top:0}
.sml-cat .sml-cat-button:hover{background:#ecdcb4;color:#000}
.sml-cat a:focus-visible,.sml-cat select:focus-visible{outline:3px solid var(--sml-red);outline-offset:3px}
.sml-cat .sml-cat-description{border-top:1px solid var(--sml-line);margin-top:42px;padding-top:32px;max-width:900px;font-size:16px;line-height:1.8;overflow-wrap:anywhere}
.sml-cat .sml-cat-description h2{font-size:27px;line-height:1.3}
.sml-cat .sml-cat-description img{max-width:100%;height:auto}
@media(max-width:1000px){.sml-cat .sml-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:767px){.sml-cat .sml-cat-excerpt{display:none}.sml-cat .sml-cat-intro{grid-template-columns:minmax(0,1fr) 95px;column-gap:14px}.sml-cat .sml-cat-brand{width:95px;grid-row:1}.sml-cat .sml-cat-intro > .sml-cat-benefits{grid-column:1 / -1}}
@media(max-width:560px){.sml-cat .sml-cat-grid{grid-template-columns:minmax(0,1fr)}.sml-cat .sml-cat-benefits{flex-direction:column;gap:16px}.sml-cat .sml-cat-footer-benefits{flex-direction:column}.sml-cat .sml-cat-footer-benefits li{flex-basis:auto;border-right:0}.sml-cat .sml-cat-toolbar{align-items:stretch;flex-direction:column}.sml-cat .sml-cat-toolbar select{width:100%}.sml-cat .sml-cat-card-body{padding:18px}.sml-cat .sml-cat-description{margin-top:28px}}
