/* Studio con Criterio v1.8 — precision adjustments for the header and offers. */
/* Actual vertical-space reduction. A negative margin changes layout height, not just visual position. */
body.scc-theme .scc-header .scc-brand>span:last-child{
 display:flex; flex-direction:column; justify-content:center;
 font-size:17px; line-height:.92!important; gap:0!important;
 letter-spacing:-.065em; white-space:nowrap;
}
body.scc-theme .scc-header .scc-brand-first{display:block;line-height:.91!important;margin:0!important}
body.scc-theme .scc-header .scc-brand-line{
 display:block; line-height:.89!important; margin-top:-4px!important;
 letter-spacing:-.065em; white-space:nowrap;
}
/* On all breakpoints: icon-only student + cart buttons, course button still uses text. */
body.scc-theme .scc-header .scc-header-actions .scc-student-link,
body.scc-theme .scc-header .scc-header-actions .scc-cart-link{
 flex:0 0 46px; width:46px; height:46px; min-height:46px;
 display:inline-flex!important; align-items:center; justify-content:center;
 padding:0!important; margin:0!important; position:relative;
 border-radius:12px;
}
body.scc-theme .scc-header .scc-header-actions .scc-student-link svg,
body.scc-theme .scc-header .scc-header-actions .scc-cart-link svg{display:block;width:22px;height:22px;flex:none}
body.scc-theme .scc-header .scc-header-actions .scc-cart-count{
 display:grid!important; place-items:center; position:absolute;
 min-width:19px;width:auto;height:19px;padding-inline:4px;right:-6px;top:-7px;
 border:2px solid white;line-height:1;font-size:10px;
}
/* Remove the decorative rule between the real WooCommerce sale countdown and home CTA. */
body.scc-theme .scc-home-featured-info .scc-home-featured-foot{
 border-top:none!important; padding-top:0!important; margin-top:8px!important;
}
/* Keep the new 04/05 items consistent with the existing five-point grid. */
#pb-landing .pb-offer-features>div{min-width:0}
#pb-landing .pb-offer-features h4{overflow-wrap:anywhere}
@media(max-width:800px){
 body.scc-theme .scc-header .scc-brand>span:last-child{font-size:14px;line-height:.93!important}
 body.scc-theme .scc-header .scc-brand-line{font-size:14px;line-height:.89!important;margin-top:-3px!important}
 body.scc-theme .scc-header .scc-header-actions .scc-student-link,
 body.scc-theme .scc-header .scc-header-actions .scc-cart-link{
    flex-basis:42px;width:42px;height:42px;min-height:42px;
 }
}
@media(max-width:540px){
 body.scc-theme .scc-header .scc-brand>span:last-child{font-size:12px;line-height:.93!important}
 body.scc-theme .scc-header .scc-brand-line{font-size:12px;line-height:.9!important;margin-top:-3px!important}
 body.scc-theme .scc-header .scc-header-actions .scc-student-link,
 body.scc-theme .scc-header .scc-header-actions .scc-cart-link{
    flex-basis:37px;width:37px;height:39px;min-height:39px;border-radius:10px;
 }
 body.scc-theme .scc-header .scc-header-actions .scc-student-link svg,
 body.scc-theme .scc-header .scc-header-actions .scc-cart-link svg{width:19px;height:19px}
 body.scc-theme .scc-header .scc-header-actions .scc-cart-count{
   right:-5px;top:-6px;width:17px;min-width:17px;height:17px;font-size:9px;padding-inline:2px;
 }
}
@media(max-width:375px){
 body.scc-theme .scc-header .scc-header-actions .scc-student-link,
 body.scc-theme .scc-header .scc-header-actions .scc-cart-link{
   width:34px;flex-basis:34px;height:37px;min-height:37px;
 }
}
