/* Category archives: header, grid, mc-category-tabs, mc-category-bricks (cz), year hub cards, bottom text, empty state. */
.woocommerce-products-header{margin:0 0 28px}
.woocommerce-products-header__title,.tax-product_cat h1.page-title{font-family:var(--lb-font-display);font-weight:900;font-stretch:125%;text-transform:uppercase;letter-spacing:-.01em;font-size:clamp(1.5rem,1rem + 4vw,2.5rem);line-height:1.02;color:var(--lb-title);margin:0 0 12px}
.woocommerce .mc-category-intro{margin:0 0 24px!important;padding-top:6px;max-width:75ch;font-size:1.05rem;line-height:1.6;color:var(--lb-ink)}
.woocommerce .mc-category-intro>:last-child{margin-bottom:0}

/* grid: 2 col mobile, 3 col >=700, 4 col >=1100 (cards.css) */
.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{margin-bottom:16px}

/* mc-category-tabs (plugin prints inline styles in wp_head: higher specificity here) */
.woocommerce .mc-category-tabs,.mc-category-tabs{margin:36px 0!important;padding:20px;background:var(--lb-surface);border:1px solid var(--lb-border);border-radius:var(--lb-radius)}
.mc-category-tabs h2{font-family:var(--lb-font-display);font-weight:900;font-stretch:125%;text-transform:uppercase;letter-spacing:-.01em;color:var(--lb-title);margin:0 0 12px}
.mc-category-tabs .mc-tabs-nav{margin:12px 0!important;gap:8px!important}
.mc-category-tabs .mc-tabs-nav button[role="tab"]{padding:10px 18px;border:2px solid var(--lb-border);border-radius:999px;background:#fff;color:var(--lb-ink);font-family:var(--lb-font-body);font-weight:700;font-size:.95rem;cursor:pointer}
.mc-category-tabs .mc-tabs-nav button[role="tab"][aria-selected="true"]{background:var(--lb-blue);border-color:var(--lb-blue);color:#fff}
.mc-category-tabs .mc-tabs-nav button[role="tab"]:focus-visible{outline:3px solid var(--lb-yellow);outline-offset:2px}
.mc-category-tabs .mc-tab-panel{line-height:1.65}
.mc-category-tabs .mc-faq-item{border:1px solid var(--lb-border);border-radius:12px;background:#fff}
.mc-category-tabs .mc-faq-question h3{font-family:var(--lb-font-head);font-weight:700;font-stretch:100%;text-transform:none;letter-spacing:0;font-size:1.05rem}
.mc-category-tabs .mc-faq-question:after{color:var(--lb-red-ink)}

/* mc-category-bricks (cz): keep the plugin look, align type and radius with the theme */
.mc-category-bricks{border-color:var(--lb-border)!important;border-radius:var(--lb-radius)!important}
.mc-category-bricks__header h2{font-family:var(--lb-font-display);font-weight:900!important;font-stretch:125%;text-transform:uppercase;letter-spacing:-.01em!important;}
.mc-category-brick__name{font-family:var(--lb-font-head);font-weight:700;font-stretch:100%;text-transform:none;letter-spacing:0;}
@media (max-width:640px){.mc-category-bricks--single{grid-template-columns:1fr!important;padding:20px!important}}

/* [lego_year_hub] cards (plugin inline style is printed in the body: !important on what we change) */
.lego-year-grid{gap:16px!important}
.lego-year-card{background:var(--lb-surface)!important;border:1px solid var(--lb-border)!important;border-radius:var(--lb-radius)!important;box-shadow:none!important;padding:20px!important;transition:transform .15s ease,border-color .15s ease}
.lego-year-card:hover{transform:translateY(-2px);border-color:var(--lb-yellow)!important}
.lego-year-card h3{font-family:var(--lb-font-head);font-weight:700!important;font-stretch:100%;text-transform:none;letter-spacing:0;}
.lego-year-card h3 a{color:var(--lb-title);text-decoration:none}
.lego-year-card>a{display:inline-block;color:var(--lb-blue);text-decoration:none}
.lego-year-card-advent{border-color:var(--lb-yellow)!important}
.lego-year-faq-item{border:1px solid var(--lb-border);border-radius:12px;background:#fff}

/* bottom text */
.lb-cat-bottom{background:var(--lb-surface);border-top:1px solid var(--lb-border);margin-top:32px;padding:32px 0;line-height:1.65}
.lb-cat-bottom h2,.lb-cat-bottom h3{color:var(--lb-title)}
.lb-cat-bottom .lb-container>:last-child{margin-bottom:0}

/* empty state */
.lb-empty{margin:24px 0;padding:32px 24px;text-align:center;background:var(--lb-surface);border:1px solid var(--lb-border);border-radius:var(--lb-radius)}
.lb-empty--announced{border:2px dashed var(--lb-yellow);background:#fffbef}
.lb-empty__title{font-family:var(--lb-font-display);font-weight:900;font-stretch:125%;text-transform:uppercase;letter-spacing:-.01em;line-height:1.02;font-size:clamp(1.1rem,.8rem + 2vw,1.5rem);margin:0 0 10px;color:var(--lb-title)}
.lb-empty__text{max-width:56ch;margin:0 auto 18px;line-height:1.6}
.lb-empty__links{display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:center;margin:0}
.lb-empty__links a{font-weight:700;color:var(--lb-blue)}

/* Content headings under the category H1 (intro, tabs, bottom text): compact, no uppercase, so the H1 is the only big title */
body .mc-category-intro h1,body .mc-category-intro h2,body .mc-category-intro h3,body .mc-category-intro h4,body .mc-category-tabs h2,body .mc-category-tabs h3,body .lb-cat-bottom h2,body .lb-cat-bottom h3{font-family:var(--lb-font-head);font-weight:800;font-stretch:110%;text-transform:none;letter-spacing:0;font-size:1.25rem;line-height:1.25;color:var(--lb-title);margin:1.2em 0 .5em}
body .mc-category-intro>:first-child,body .mc-category-tabs>:first-child,body .lb-cat-bottom .lb-container>:first-child{margin-top:0}
/* Astra shop toolbar (result count + sort select) overflowed 390px screens by ~33px: let it wrap and shrink */
.ast-shop-toolbar-container{flex-wrap:wrap;column-gap:12px}
.ast-shop-toolbar-aside-wrap{min-width:0;max-width:100%}
.woocommerce .woocommerce-ordering select{max-width:100%}
