.sm-catalog{clear:both;margin:2rem 0 2.5rem;padding:clamp(1rem,3vw,2rem);border:1px solid #e8e5dd;border-radius:12px;background:#fffdf8}.sm-catalog__heading{margin:0 0 1.25rem}.sm-catalog__heading h2{margin:0 0 .4rem;color:#20231a;font-size:clamp(1.35rem,2.7vw,2rem);line-height:1.2}.sm-catalog__heading p{margin:0;color:#6f7068;font-size:.95rem}.sm-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));gap:1rem}.sm-category-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid #e9e6dd;border-radius:10px;background:#fff;color:#20231a;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.sm-category-card:hover,.sm-category-card:focus-visible{transform:translateY(-3px);border-color:#365a43;box-shadow:0 10px 25px #20231a12}.sm-category-card:focus-visible,.sm-catalog-nav a:focus-visible,.sm-catalog-nav button:focus-visible{outline:3px solid #ed7245;outline-offset:3px}.sm-category-card__media{display:grid;aspect-ratio:4/3;place-items:center;overflow:hidden;background:linear-gradient(135deg,#f5f3ed,#e8eee4)}.sm-category-card__image{display:block;width:100%;height:100%;object-fit:cover}.sm-category-card__fallback{color:#365a43;font-size:3rem;line-height:1}.sm-category-card__body{display:grid;gap:.45rem;padding:.9rem 1rem 1rem}.sm-category-card__name{font-size:1rem;font-weight:650;line-height:1.35}.sm-category-card__meta{display:flex;justify-content:space-between;gap:.5rem;color:#77786e;font-size:.78rem}.sm-category-card__meta span{color:#ed7245}.sm-catalog--children{margin-top:1.5rem;margin-bottom:2rem}.sm-catalog--departments{margin-top:0;margin-bottom:2rem}.sm-catalog-nav{font:inherit}.sm-catalog-nav ul{margin:0;padding:0;list-style:none}.sm-catalog-nav__root{display:flex;align-items:center;gap:.3rem}.sm-catalog-nav__item{position:relative}.sm-catalog-nav__item>a{display:inline-flex;align-items:center;min-height:42px;padding:.55rem .75rem;color:inherit;text-decoration:none}.sm-catalog-nav__item>a:hover{color:#365a43}.sm-catalog-nav__toggle{display:inline-grid;width:34px;height:34px;place-items:center;border:0;border-radius:5px;background:transparent;color:inherit;cursor:pointer}.sm-catalog-nav__toggle[aria-expanded=true]{transform:rotate(180deg)}.sm-catalog-nav__children{position:absolute;z-index:1000;top:100%;left:0;min-width:240px;max-height:min(70vh,560px);overflow:auto;padding:.45rem!important;border:1px solid #e8e5dd;border-radius:8px;background:#fffdf8;box-shadow:0 12px 30px #20231a18}.sm-catalog-nav__children[hidden]{display:none!important}.sm-catalog-nav__children .sm-catalog-nav__children{top:0;left:100%}.sm-catalog-nav__children .sm-catalog-nav__item{display:flex;align-items:center;flex-wrap:wrap}.sm-catalog-nav__children .sm-catalog-nav__item>a{flex:1}.sm-catalog-nav__children .sm-catalog-nav__children{position:static;flex-basis:100%;margin-left:.8rem;box-shadow:none}.sm-catalog-empty{padding:1rem;border-radius:8px;background:#f5f3ed;color:#66685f}@media(max-width:782px){.sm-catalog{margin:1.25rem 0;padding:1rem}.sm-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.sm-category-card__body{padding:.7rem}.sm-category-card__name{font-size:.9rem}.sm-catalog-nav__root{display:block}.sm-catalog-nav__item>a{min-height:46px}.sm-catalog-nav__children{position:static;max-height:none;min-width:0;width:100%;padding:.1rem 0 .35rem .8rem!important;border:0;border-radius:0;background:transparent;box-shadow:none}.sm-catalog-nav__children .sm-catalog-nav__children{margin-left:.4rem}.sm-catalog-nav__children[hidden]{display:none!important}}@media(max-width:360px){.sm-category-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.sm-category-card{transition:none}}

/* v1.3.0: clean, non-deceptive illustration when no published product photo exists. */
.sm-category-card__empty{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#e7f0eb 0%,#c9dcd3 52%,#e8eee6 100%);overflow:hidden}
.sm-category-card__empty-shape{display:block;width:48%;aspect-ratio:1;border:2px solid rgba(43,91,75,.23);border-radius:24%;transform:rotate(-12deg);background:linear-gradient(145deg,rgba(255,255,255,.85),rgba(79,139,111,.18));box-shadow:18px 15px 0 -7px rgba(54,107,81,.14),0 18px 32px rgba(36,83,62,.15)}
.sm-category-card__image{object-position:center;object-fit:contain;background:#f7f8f6}

/* v1.4.1: Keep category navigation tiles compact on wide archive pages. */
.sm-catalog{box-sizing:border-box;width:100%;max-width:100%;min-width:0}
.sm-category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),240px));justify-content:start;align-items:start;gap:16px;max-width:100%}
.sm-category-card{box-sizing:border-box;width:100%;max-width:240px;min-width:0}
.sm-category-card__media{display:block;width:100%;height:auto;aspect-ratio:4/3;overflow:hidden}
.sm-category-card__image{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;background:#f7f8f6}
@media(max-width:600px){.sm-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sm-category-card{max-width:none}}
@media(max-width:360px){.sm-category-grid{grid-template-columns:1fr}}

/* 1.4.2: Keep the existing white "New" badge; suppress the overlapping WooCommerce/Blocksy sale flash on archive cards only. Sale pricing remains visible. */
body.post-type-archive-product ul.products li.product .onsale,
body.tax-product_cat ul.products li.product .onsale,
body.tax-product_tag ul.products li.product .onsale,
body.post-type-archive-product ul.products li.product .ct-woo-card-extra .onsale { display:none !important; }

/* 1.4.3: Two custom MU-plugins both render a loop badge. Keep the
   editorial smcb-card badge; hide only the redundant blue verified badge
   on WooCommerce product archive cards. Single-product badges unaffected. */
body.post-type-archive-product .woocommerce ul.products li.product .sm-verified-badge,
body.tax-product_cat .woocommerce ul.products li.product .sm-verified-badge,
body.tax-product_tag .woocommerce ul.products li.product .sm-verified-badge,
body.woocommerce-shop ul.products li.product .sm-verified-badge,
body.woocommerce.archive ul.products li.product .sm-verified-badge {
  display: none !important;
}
