.mcg-section{--mcg-accent:#28764d;--mcg-cols:4;--mcg-mobile:2;box-sizing:border-box;display:block;max-width:100%;width:100%;min-width:0;margin:0 auto;padding:4px 0 12px;font-family:inherit;color:#202822;isolation:isolate;container-type:inline-size}
.mcg-section *,.mcg-section *::before,.mcg-section *::after{box-sizing:border-box}
.mcg-section .mcg-heading{font-family:inherit;font-size:24px;font-weight:650;line-height:1.25;letter-spacing:-.025em;color:#202822;margin:0 0 18px;padding:0;text-transform:none}
.mcg-section .mcg-grid{display:grid;grid-template-columns:repeat(var(--mcg-cols),minmax(0,1fr));gap:18px;align-items:stretch;width:100%;margin:0;padding:0}
:is(.mcg-section,.mcg-native-subcategory) a.mcg-card{display:flex;flex-direction:column;min-width:0;width:100%;margin:0;padding:0;background:#fff;border:1px solid #e2e8e3;border-radius:18px;overflow:hidden;color:#202822!important;text-decoration:none!important;box-shadow:0 3px 10px rgba(22,55,38,.045);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;text-align:left;outline-offset:3px;line-height:1.35}
:is(.mcg-section,.mcg-native-subcategory) .mcg-media{display:block;width:100%;aspect-ratio:16/9;position:relative;overflow:hidden;background:#f4f6f3;border:0;margin:0;padding:0}
:is(.mcg-section,.mcg-native-subcategory) .mcg-media img.mcg-image{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover;object-position:center;border-radius:0!important;margin:0!important;padding:0!important;box-shadow:none!important;transition:transform .35s ease}
:is(.mcg-section,.mcg-native-subcategory) .mcg-gf .mcg-media img.mcg-image{object-fit:contain;background:#fff}
:is(.mcg-section,.mcg-native-subcategory) .mcg-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:var(--mcg-accent)}
:is(.mcg-section,.mcg-native-subcategory) .mcg-placeholder svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linejoin:round;stroke-linecap:round}
:is(.mcg-section,.mcg-native-subcategory) .mcg-info{display:flex;flex:1;align-items:center;justify-content:space-between;gap:8px;padding:14px 15px 15px;min-width:0}
:is(.mcg-section,.mcg-native-subcategory) .mcg-copy{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
:is(.mcg-section,.mcg-native-subcategory) .mcg-name{display:block;font-size:16px;font-weight:650;line-height:1.3;color:#202822;letter-spacing:-.015em;overflow-wrap:anywhere;text-transform:none}
:is(.mcg-section,.mcg-native-subcategory) .mcg-count{display:block;font-size:11px;font-weight:500;line-height:1.3;color:#425a49;background:#edf4ef;padding:4px 8px;border-radius:999px;white-space:nowrap}
:is(.mcg-section,.mcg-native-subcategory) .mcg-arrow{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;background:#f0f5f1;color:var(--mcg-accent);border-radius:50%;transition:background .2s,color .2s}
:is(.mcg-section,.mcg-native-subcategory) .mcg-arrow svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
:is(.mcg-section,.mcg-native-subcategory) a.mcg-card:focus-visible{outline:2px solid var(--mcg-accent);border-color:var(--mcg-accent)}
@media(hover:hover){:is(.mcg-section,.mcg-native-subcategory) a.mcg-card:hover{transform:translateY(-3px);border-color:var(--mcg-accent);box-shadow:0 8px 20px rgba(22,55,38,.11)}:is(.mcg-section,.mcg-native-subcategory) a.mcg-card:hover .mcg-image{transform:scale(1.04)}:is(.mcg-section,.mcg-native-subcategory) a.mcg-card:hover .mcg-arrow{background:var(--mcg-accent);color:#fff}}
@media(max-width:1023px){.mcg-section .mcg-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media(max-width:600px){.mcg-section .mcg-heading{font-size:20px;margin-bottom:13px}.mcg-section .mcg-grid{grid-template-columns:repeat(var(--mcg-mobile),minmax(0,1fr));gap:10px}:is(.mcg-section,.mcg-native-subcategory) a.mcg-card{border-radius:14px}:is(.mcg-section,.mcg-native-subcategory) .mcg-info{padding:10px;gap:5px}:is(.mcg-section,.mcg-native-subcategory) .mcg-name{font-size:13px}:is(.mcg-section,.mcg-native-subcategory) .mcg-copy{gap:5px}:is(.mcg-section,.mcg-native-subcategory) .mcg-count{font-size:10px;padding:3px 6px}:is(.mcg-section,.mcg-native-subcategory) .mcg-arrow{flex-basis:24px;width:24px;height:24px}:is(.mcg-section,.mcg-native-subcategory) .mcg-arrow svg{width:13px;height:13px}}
@container (max-width: 800px){.mcg-section .mcg-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@container (max-width: 550px){.mcg-section .mcg-grid{grid-template-columns:repeat(var(--mcg-mobile),minmax(0,1fr));gap:10px}.mcg-section .mcg-heading{font-size:20px;margin-bottom:13px}:is(.mcg-section,.mcg-native-subcategory) a.mcg-card{border-radius:14px}:is(.mcg-section,.mcg-native-subcategory) .mcg-info{padding:10px;gap:5px}:is(.mcg-section,.mcg-native-subcategory) .mcg-name{font-size:13px}:is(.mcg-section,.mcg-native-subcategory) .mcg-count{font-size:10px;padding:3px 6px}:is(.mcg-section,.mcg-native-subcategory) .mcg-arrow{flex-basis:24px;width:24px;height:24px}:is(.mcg-section,.mcg-native-subcategory) .mcg-arrow svg{width:13px;height:13px}}
@media(prefers-reduced-motion:reduce){.mcg-section *{transition:none!important}:is(.mcg-section,.mcg-native-subcategory) a.mcg-card:hover,:is(.mcg-section,.mcg-native-subcategory) a.mcg-card:hover .mcg-image{transform:none}}

/* Native WooCommerce category loop: retain its column layout, restyle child category cards only. */
ul.products li.product-category.mcg-native-subcategory{box-sizing:border-box;min-width:0;background:transparent;border:0;padding:0;box-shadow:none;list-style:none;text-align:left;--mcg-accent:#28764d}
ul.products li.product-category.mcg-native-subcategory > a.mcg-card{display:flex;width:100%;height:100%;padding:0;margin:0;text-align:left;border:1px solid #e2e8e3;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 3px 10px rgba(22,55,38,.045);text-decoration:none!important}
ul.products li.product-category.mcg-native-subcategory .mcg-info{flex:1;min-height:76px}
ul.products li.product-category.mcg-native-subcategory .mcg-media img.mcg-image{margin:0!important;float:none!important}
ul.products li.product-category.mcg-native-subcategory > a.mcg-card::before,ul.products li.product-category.mcg-native-subcategory > a.mcg-card::after{content:none!important;display:none!important}
@media(max-width:600px){ul.products li.product-category.mcg-native-subcategory > a.mcg-card{border-radius:14px}ul.products li.product-category.mcg-native-subcategory .mcg-info{min-height:65px}}
@media(hover:hover){ul.products li.product-category.mcg-native-subcategory > a.mcg-card:hover{border-color:var(--mcg-accent);box-shadow:0 8px 20px rgba(22,55,38,.11)}}
@media(prefers-reduced-motion:reduce){.mcg-native-subcategory *{transition:none!important}.mcg-native-subcategory a.mcg-card:hover,.mcg-native-subcategory a.mcg-card:hover .mcg-image{transform:none}}

/* Match the shortcode grid when the native loop contains only child categories. Mixed product loops are left intact. */
@supports selector(ul:has(> li)) {
  ul.products:has(> li.mcg-native-subcategory):not(:has(> li:not(.mcg-native-subcategory))){display:grid!important;grid-template-columns:repeat(var(--mcg-native-cols,4),minmax(0,1fr));gap:18px!important;align-items:stretch}
  ul.products:has(> li.mcg-native-subcategory):not(:has(> li:not(.mcg-native-subcategory)))::before,ul.products:has(> li.mcg-native-subcategory):not(:has(> li:not(.mcg-native-subcategory)))::after{display:none!important;content:none!important}
  ul.products:has(> li.mcg-native-subcategory):not(:has(> li:not(.mcg-native-subcategory))) > li.mcg-native-subcategory{width:100%!important;max-width:none!important;margin:0!important;float:none!important;clear:none!important;grid-column:auto!important}
  @media(max-width:1023px){ul.products:has(> li.mcg-native-subcategory):not(:has(> li:not(.mcg-native-subcategory))){grid-template-columns:repeat(3,minmax(0,1fr));gap:14px!important}}
  @media(max-width:600px){ul.products:has(> li.mcg-native-subcategory):not(:has(> li:not(.mcg-native-subcategory))){grid-template-columns:repeat(var(--mcg-native-mobile,2),minmax(0,1fr));gap:10px!important}}
}
