/* ========================================================
   SOLVEC THEME — main.css  v1.1
   Replica visual de MasterStudy en solvec.pe
   ======================================================== */

/* ---- Variables ---- */
:root {
    --clr-navy:        #0a1628;
    --clr-navy-mid:    #0f2040;
    --clr-navy-light:  #162a52;
    --clr-blue:        #1e6fcf;
    --clr-blue-bright: #2681f2;
    --clr-blue-glow:   #3b9eff;
    --clr-accent:      #00c4ff;
    --clr-white:       #ffffff;
    --clr-off-white:   #f4f6fb;
    --clr-gray-light:  #e1e2e4;
    --clr-gray:        #aaaaaa;
    --clr-gray-dark:   #555555;
    --clr-text:        #333333;
    --clr-yellow:      #eab830;
    --clr-green:       #10c45c;
    --clr-finanzas:    #1e6fcf;
    --clr-tecnologia:  #00b894;
    --font-display:    'Barlow Condensed', 'Oswald', sans-serif;
    --font-body:       'DM Sans', 'Nunito Sans', sans-serif;
    --container-max:   1170px;
    --radius-sm:       4px;
    --radius-md:       8px;
    --radius-lg:       16px;
    --radius-pill:     100px;
    --ease-out:        cubic-bezier(0.22, 1, 0.36, 1);
    --transition:      0.25s var(--ease-out);
}

/* ---- Reset base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; overflow-y: scroll; overflow-x: hidden; scrollbar-gutter: stable; }
body {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 22px;
    color: var(--clr-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-yellow); text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
p { margin-bottom: 30px; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; }

/* ---- Wrapper ---- */

#main { min-height: 450px; padding-bottom: 50px; overflow: visible; }

/* ---- Container ---- */
.container { width: auto; max-width: var(--container-max); margin: 0 auto; padding: 0 15px; }
.row { margin: 0 -15px; }
.row::after { content: ''; display: table; clear: both; }
[class*="col-"] { padding: 0 15px; float: left; }
.col-md-2  { width: 16.6667%; }
.col-md-3  { width: 25%; }
.col-md-4  { width: 33.3333%; }
.col-md-6  { width: 50%; }
.col-md-9  { width: 75%; }
.col-md-12 { width: 100%; }
.col-sm-6  { width: 50%; }
.col-sm-12 { width: 100%; }
.col-xs-12 { width: 100%; }
.pull-left  { float: left !important; }
.pull-right { float: right !important; }
.clearfix::after { content: ''; display: table; clear: both; }
.hidden-xs, .hidden-sm { display: block; }
.visible-xs, .visible-sm { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ================================================================
   TOPBAR — idéntico al original solvec.pe con MasterStudy
   ================================================================ */
.header_top_bar {
    width: 100%;
    background: var(--clr-navy);
    color: #aaa;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 0 7px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.top_bar_info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top_bar_info li {
    float: left;
    margin-left: 33px;
    margin-bottom: 0;
    line-height: 14px;
}

.top_bar_info li:last-child { margin-left: 0; }

.top_bar_info li a {
    color: #aaa;
    font-size: 13px;
    font-weight: 600;
    transition: color var(--transition);
}

.top_bar_info li a:hover { color: #fff; }

.topbar__wa { color: #25D366 !important; }
.topbar__wa:hover { color: #fff !important; }

/* ================================================================
   HEADER PRINCIPAL — replicando MasterStudy header_default
   ================================================================ */
#header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header_default {
    background: var(--clr-navy);
    padding: 18px 0 15px;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header_default.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 14px 0 11px;
    background: #fff;
    box-shadow: 0 5px 5px rgba(0,0,0,0.08);
    z-index: 1001;
}

/* Logo */
.logo-unit {
    display: inline-block;
    vertical-align: middle;
}

.logo-unit a { display: block; }

.logo-unit img {
    max-height: 56px;
    width: auto;
    display: block;
}

/* Logo blanco (en fondo oscuro) y azul (en scroll/fijo) */
.logo-unit .logo-white { display: block; }
.logo-unit .logo-color { display: none; }
.header_default.fixed .logo-unit .logo-white { display: none; }
.header_default.fixed .logo-unit .logo-color { display: block; }

/* El custom logo de WP */
.logo-unit .custom-logo-link img {
    max-height: 56px;
    width: auto;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.header_default.fixed .logo-text { color: var(--clr-navy); }

/* ---- MENÚ PRINCIPAL desktop — idéntico a MasterStudy ---- */
.header_main_menu_wrapper {
    margin-top: 5px;
}

.header-menu {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0 -14px;
    float: left;
}

.header-menu > li {
    position: relative;
    float: left;
    padding: 0 14px;
    margin-bottom: 0;
}

.header-menu > li > a {
    display: block;
    padding: 6px 0;
    text-transform: uppercase;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color var(--transition);
}

.header-menu > li > a:hover,
.header-menu > li.current-menu-item > a,
.header-menu > li.current-menu-ancestor > a {
    color: #fff;
}

.header_default.fixed .header-menu > li > a {
    color: #333;
}

.header_default.fixed .header-menu > li > a:hover {
    color: var(--clr-yellow);
}

/* Chevron en menú */
.nav__chevron {
    display: inline-block;
    margin-left: 3px;
    font-size: 10px;
    transition: transform var(--transition);
    vertical-align: middle;
}

.nav__item--has-dropdown:hover .nav__chevron {
    transform: rotate(180deg);
}

/* Dropdown submenu */
.header-menu > li > ul.sub-menu {
    visibility: hidden;
    width: 225px;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 20px 0 0 -20px;
    padding: 10px 0;
    background: #fff;
    list-style: none;
    opacity: 0;
    z-index: 99;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    transition: opacity 0.2s ease, margin 0.2s ease, visibility 0.2s;
}

.header-menu > li > ul.sub-menu::before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    top: 0;
    left: 0;
    background: var(--clr-yellow);
}

.header-menu > li:hover > ul.sub-menu {
    margin-top: 11px;
    visibility: visible;
    opacity: 1;
}

/* Pseudo-element para cubrir el gap entre link y dropdown */
.header-menu > li::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 35px;
    z-index: 10;
    bottom: -30px;
    left: 0;
    display: none;
}

.header-menu > li:hover::before { display: block; }

.header-menu > li > ul.sub-menu > li {
    margin-bottom: 5px;
    position: relative;
}

.header-menu > li > ul.sub-menu > li a {
    display: block;
    padding: 6px 22px 6px 34px;
    font-size: 13px;
    font-weight: 400;
    color: #000;
    transition: color var(--transition), background var(--transition);
}

.header-menu > li > ul.sub-menu > li a:hover {
    color: var(--clr-yellow);
    background: #f8f8f8;
}

/* Acciones del header (CTA + carrito) */
.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 2px;
    margin-left: 20px;
}

.header__cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.7);
    transition: color var(--transition);
}

.header__cart-icon:hover { color: #fff; }

.header_default.fixed .header__cart-icon { color: #555; }
.header_default.fixed .header__cart-icon:hover { color: var(--clr-blue); }

.header__cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    background: var(--clr-blue);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* Botón CTA header */
.header__cta.btn,
.header__cta.btn-default {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: var(--clr-blue);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    white-space: nowrap;
}

.header__cta.btn:hover,
.header__cta.btn-default:hover {
    background: var(--clr-blue-bright);
    color: #fff !important;
    transform: translateY(-1px);
}

/* ---- HAMBURGUESA mobile ---- */
.navbar-toggle {
    float: right;
    display: none;
    padding: 14px 0 15px 14px;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.navbar-toggle .icon-bar {
    display: block;
    width: 29px;
    height: 4px;
    background: var(--clr-yellow);
    border-radius: 5px;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.navbar-toggle .icon-bar:first-child { margin-top: 0; }

/* ---- MENÚ MOBILE ---- */
.header-menu-mobile { display: none; }

.header-menu-mobile .header-menu {
    float: none;
    margin: 0;
    padding: 0;
    border-top: 3px solid #e5e5e5;
}

.header-menu-mobile .header-menu > li {
    float: none;
    width: 100%;
    padding: 0;
    border-bottom: 1px solid #e1e2e4;
    margin-bottom: 0;
}

.header-menu-mobile .header-menu > li > a {
    display: block;
    padding: 16px 15px;
    color: #333;
    background: #f0f2f5;
    font-size: 15px;
}

.header-menu-mobile .header-menu > li > a:hover {
    color: var(--clr-yellow);
    background: #fff;
}

.header-menu-mobile .header-menu > li > ul.sub-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    margin: 0;
    padding: 0 0 10px 20px;
    box-shadow: none;
    background: #fff;
}

.header-menu-mobile .header-menu > li > ul.sub-menu::before { display: none; }

.header-menu-mobile .header-menu > li > ul.sub-menu li { margin-bottom: 0; }

.header-menu-mobile .header-menu > li > ul.sub-menu li a {
    padding: 10px 15px;
    color: #333;
    font-size: 14px;
}

/* ================================================================
   FOOTER — replicando exactamente solvec.pe con MasterStudy
   ================================================================ */
#footer {
    background: var(--clr-navy);
    color: #ccc;
    width: 100%;
}

/* Footer top: 4 columnas */
#footer_top {
    padding: 55px 0 30px;
    color: #ccc;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

#footer_top .widget {
    margin-bottom: 25px;
}

/* Logo en footer */
.footer__logo {
    display: block;
    margin-bottom: 18px;
}

.footer__logo img {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1); /* Logo blanco */
}

.footer__tagline {
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    line-height: 20px;
    margin-bottom: 20px;
}

/* Sociales en footer */
.footer__socials {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__socials li { margin-bottom: 0; }

.footer__socials li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.55);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.footer__socials li a:hover {
    background: var(--clr-blue);
    color: #fff;
}

.footer__socials li a.footer__wa:hover {
    background: #25D366;
}

/* Títulos de widget en footer */
#footer .widget_title h3,
#footer_top .widget_title h3 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 20px;
    padding: 0;
}

/* Menús de navegación en footer */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav li { margin-bottom: 0; }

.footer-nav a {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    transition: color var(--transition);
    text-decoration: none;
}

.footer-nav a:hover { color: var(--clr-yellow); }

/* Widget nav_menu generado por WP (cuando se asigna menú) */
#footer_top .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer_top .menu li {
    margin-bottom: 10px;
}

#footer_top .menu li a {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    transition: color var(--transition);
}

#footer_top .menu li a:hover { color: var(--clr-yellow); }

/* Contacto en footer */
.widget_contacts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_contacts li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.widget_contacts li .icon {
    color: #aaa;
    font-size: 16px;
    flex-shrink: 0;
    width: 18px;
    margin-top: 1px;
}

.widget_contacts li .text {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    line-height: 1.5;
}

.widget_contacts li .text a {
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}

.widget_contacts li .text a:hover { color: var(--clr-yellow); }

/* Copyright */
#footer_copyright {
    background: rgba(0,0,0,0.2);
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.copyright_text {
    color: rgba(255,255,255,0.35);
    font-size: 13px;
    margin-top: 3px;
}

.copyright_text a {
    color: rgba(255,255,255,0.35);
    text-decoration: underline;
}

.copyright_text a:hover { color: var(--clr-yellow); }

/* Menú legal en copyright */
#footer_copyright .footer_menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0;
}

#footer_copyright .footer_menu li {
    float: left;
    margin: 1px 20px 0 0;
    margin-bottom: 0;
}

#footer_copyright .footer_menu li:last-child { margin-right: 0; }

#footer_copyright .footer_menu li a {
    color: rgba(255,255,255,0.35);
    font-size: 13px;
    transition: color var(--transition);
}

#footer_copyright .footer_menu li a:hover { color: var(--clr-yellow); }

/* ================================================================
   WHATSAPP FLOTANTE
   ================================================================ */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    z-index: 9999;
    transition: transform var(--transition), box-shadow var(--transition);
}

.wa-float:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,211,102,0.6);
    color: #fff;
}

/* ================================================================
   CONTENIDO GENERAL
   ================================================================ */
.entry-header {
    background: #457992;
    padding: 50px 0;
    text-align: center;
}

.entry-header h1 {
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.page-hero {
    background: var(--clr-navy);
    padding: 40px 0 30px;
}

.page-hero__title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}

.page-content {
    padding: 50px 0;
}

/* Breadcrumb */
.woocommerce-breadcrumb,
.woocommerce-breadcrumb a {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}

.woocommerce-breadcrumb {
    margin-bottom: 20px;
}

/* ================================================================
   TIENDA WOOCOMMERCE
   ================================================================ */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce ul.products li.product {
    background: #fff;
    border: 1px solid var(--clr-gray-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(10,22,40,0.12);
}

.woocommerce ul.products li.product a img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
    display: block;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--clr-text);
    padding: 14px 13px 6px;
    line-height: 1.35;
}

.woocommerce ul.products li.product .price {
    padding: 0 13px 12px;
    color: var(--clr-blue);
    font-size: 1.1rem;
    font-weight: 700;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button {
    display: block;
    margin: 0 13px 13px;
    padding: 10px 15px;
    background: var(--clr-blue);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition);
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover {
    background: var(--clr-blue-bright);
    color: #fff !important;
}

/* Mensaje thankyou */
.thankyou-banner {
    text-align: center;
    background: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-light) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    color: #fff;
}

.thankyou-banner__title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.thankyou-banner__text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}

/* ================================================================
   BOTONES GENERALES
   ================================================================ */
.btn, .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    border: none;
}

.btn-primary, .btn--primary {
    background: var(--clr-blue);
    color: #fff !important;
}

.btn-primary:hover, .btn--primary:hover {
    background: var(--clr-blue-bright);
    color: #fff !important;
}

.btn-outline, .btn--outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover, .btn--outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
    color: #fff !important;
}

/* ================================================================
   PRODUCT CARD — stm-product-card (tarjeta estilo MasterStudy)
   ================================================================ */
.stm-product-card {
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.stm-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(10,22,40,0.15);
}

.stm-product-card__link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.stm-product-card__image-wrap { position: relative; }

.stm-product-card__image {
    position: relative;
    aspect-ratio: 270/200;
    overflow: hidden;
    background: var(--clr-navy);
}

.stm-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.stm-product-card:hover .stm-product-card__image img {
    transform: scale(1.05);
}

.stm-product-card__no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-light) 100%);
    font-size: 3.5rem;
}

/* Badge precio (esquina sup izquierda, igual MasterStudy) */
.stm-product-card__price-badge {
    position: absolute;
    top: 13px;
    left: -4px;
    z-index: 10;
    background: var(--clr-blue);
    color: #fff;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.stm-product-card__price-badge--sale { background: #e53e3e; }
.stm-product-card__price-badge--free { background: var(--clr-green); }

/* Badge categoría */
.stm-product-card__cat {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 10;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 100px;
}

/* Badge de categoría — solo colorea la pastilla, NO el article completo */
.stm-product-card__cat.cat--finanzas   { background: rgba(30,111,207,0.9);  color: #fff; }
.stm-product-card__cat.cat--tecnologia { background: rgba(0,184,148,0.9);   color: #fff; }

/* Asegurar que el article nunca tome el color de categoría */
.stm-product-card.cat--finanzas,
.stm-product-card.cat--tecnologia {
    background: var(--card-body-bg, #fff);
    color: inherit;
}

/* Body de la tarjeta */
.stm-product-card__body {
    padding: 14px 13px 7px;
    border-left: 1px solid #dcdcdc;
    border-right: 1px solid #dcdcdc;
    min-height: 90px;
    background: var(--card-body-bg, #fff);
}

.stm-product-card__title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    margin-bottom: 6px;
    transition: color var(--transition);
    display: block;
}

.stm-product-card:hover .stm-product-card__title { color: var(--clr-blue); }

.stm-product-card__instructor {
    font-size: 12px;
    color: #aaa;
    font-weight: 400;
    min-height: 1em;
}

/* Descripción corta en tarjeta (reemplaza al docente) */
.stm-product-card__desc {
    font-size: 12px;
    color: var(--card-desc-color, #666);
    font-weight: 400;
    line-height: 1.5;
    min-height: 2.5em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 4px 0 0;
}

/* Footer de la tarjeta */
.stm-product-card__footer {
    padding: 10px 13px 7px;
    border: 1px solid #dcdcdc;
    border-top: none;
    position: relative;
    overflow: hidden;
    min-height: 42px;
    background: var(--card-body-bg, #fff);
}

.stm-product-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.stm-product-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #848484;
}

.stm-product-card__meta-item svg { color: var(--clr-blue); flex-shrink: 0; }

/* CTA que sube al hover — idéntico a MasterStudy */
.stm-product-card__cta {
    position: absolute;
    bottom: -42px;
    left: 0;
    width: 100%;
    height: 42px;
    background: var(--card-cta-bg, var(--clr-blue));
    color: var(--card-cta-text, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: bottom 0.25s ease;
}

.stm-product-card:hover .stm-product-card__cta { bottom: 0; }

/* ================================================================
   HOME SECTIONS — Why-us, hero, etc.
   ================================================================ */
.why-us-section {
    background: var(--clr-navy);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.why-blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 40px 0 50px;
}

.why-block {
    padding: 40px 28px;
    text-align: center;
    transition: transform 0.3s ease;
}

.why-block:hover { transform: translateY(-4px); }
.why-block--green  { background: #10c45c; }
.why-block--yellow { background: #eab830; }
.why-block--blue   { background: var(--clr-blue); }
.why-block--pink   { background: #e91e8c; }

.why-block__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.9);
}

.why-block__title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 12px;
}

.why-block__desc { font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.6; }

.why-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.why-stat { text-align: center; padding: 20px 40px; }
.why-stat-divider { width: 1px; height: 55px; background: rgba(255,255,255,0.12); }
.why-stat__num { font-size: 3rem; font-weight: 800; color: #fff; line-height: 1; font-family: var(--font-display); }
.why-stat__plus { font-size: 1.5rem; font-weight: 700; color: var(--clr-blue-glow); }
.why-stat__label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-top: 6px; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-blue);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--clr-navy);
    line-height: 1.1;
}

.section-title.text-white { color: #fff; }
.text-center { text-align: center; }

.section-subtitle {
    margin-top: 10px;
    font-size: 15px;
    color: rgba(255,255,255,0.45);
    max-width: 560px;
    margin-inline: auto;
}

/* Hero home */
.hero-home {
    min-height: 80vh;
    background: var(--clr-navy);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-home__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(30,111,207,0.15) 0%, transparent 60%);
}

.hero-home__content { position: relative; z-index: 2; }

.hero-home__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.hero-home__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-home__title-accent { color: var(--clr-blue-glow); }

.hero-home__desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
    max-width: 480px;
    margin-bottom: 36px;
}

.hero-home__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-home__visual { display: flex; justify-content: center; align-items: center; }

/* 404 */
.not-found-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--clr-navy);
    padding: 80px 0;
    position: relative;
}

.not-found__title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}

.not-found__text { color: rgba(255,255,255,0.5); margin-bottom: 32px; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 991px) {
    .col-md-2, .col-md-3, .col-md-4, .col-md-6, .col-md-9 { width: 100%; float: none; }
    .col-sm-6 { width: 50%; float: left; }
    .hidden-xs, .hidden-sm { display: none !important; }
    .visible-xs, .visible-sm { display: block !important; }
    .navbar-toggle { display: block; }
    .header-menu-mobile.collapse.in { display: block !important; }
    .header_main_menu_wrapper { display: none; }
    .why-blocks { grid-template-columns: repeat(2, 1fr); }
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
    #footer_top .col-sm-6 { width: 50%; float: left; }
}

@media (max-width: 767px) {
    .col-sm-6 { width: 100%; float: none; }
    .pull-right { float: none !important; }
    .pull-left { float: none !important; }
    .top_bar_info { display: none; }
    .why-blocks { grid-template-columns: 1fr 1fr; }
    .woocommerce ul.products { grid-template-columns: 1fr; }
    .why-stat { padding: 16px 20px; }
    .why-stat-divider { display: none; }
    #footer_top { padding: 40px 0 20px; }
}

@media (max-width: 480px) {
    .why-blocks { grid-template-columns: 1fr; }
}

/* ================================================================
   SOLVEC VC ELEMENTS — Grilla de cursos dinámica
   ================================================================ */
.solvec-courses { width: 100%; }

.solvec-courses--grid {
    display: grid;
    gap: 1.5rem;
}
.solvec-courses--cols-1 { grid-template-columns: 1fr; }
.solvec-courses--cols-2 { grid-template-columns: repeat(2, 1fr); }
.solvec-courses--cols-3 { grid-template-columns: repeat(3, 1fr); }
.solvec-courses--cols-4 { grid-template-columns: repeat(4, 1fr); }

.solvec-courses--list { display: flex; flex-direction: column; gap: 1rem; }
.solvec-courses--list .stm-product-card { display: flex; flex-direction: row; }
.solvec-courses--list .stm-product-card__image-wrap { flex: 0 0 220px; }

@media (max-width: 900px) {
    .solvec-courses--cols-3,
    .solvec-courses--cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .solvec-courses--cols-2,
    .solvec-courses--cols-3,
    .solvec-courses--cols-4 { grid-template-columns: 1fr; }
    .solvec-courses--list .stm-product-card { flex-direction: column; }
    .solvec-courses--list .stm-product-card__image-wrap { flex: none; }
}

/* ================================================================
   STM_ICON_BOX — Compatibilidad con shortcode de MasterStudy
   Replica las reglas CSS de masterstudy/assets/css/styles.css
   y masterstudy/assets/css/vc_modules/iconbox/style_1.css
   ================================================================ */

/* Layout ícono a la izquierda */
.icon_alignment_left::after {
    content: '';
    display: table;
    clear: both;
}
.icon_alignment_left .icon {
    float: left;
    margin-right: 20px;
}
.icon_alignment_left .icon_text {
    overflow: hidden;
}
.icon_alignment_left .icon_text h3 { margin: 6px 0 8px; }
.icon_alignment_left .icon_text h4 { margin: 1px 0 0; }
.icon_alignment_left .icon_text h5 { margin: 0 0 1px; }

/* Layout ícono a la derecha */
.icon_alignment_right .icon {
    float: right;
    margin-left: 20px;
}
.icon_alignment_right .icon_text {
    overflow: hidden;
}
.icon_alignment_right .icon_text h3 { margin-top: 6px; margin-bottom: 7px; }

/* Layout ícono centrado arriba */
.icon_alignment_center  { text-align: center; }
.icon_alignment_top_left { text-align: left; }

/* Caja completa */
.icon_box {
    position: relative;
    top: 0;
    padding: 30px 32px 50px;
    transition: .3s ease;
}

/* Párrafos dentro de icon_box */
.icon_box p {
    margin-bottom: 10px;
    opacity: .6;
    transition: .3s ease;
}
.icon_box:hover p { opacity: 1; }

/* Animaciones hover */
.stm_icon_box_hover_top    { transform: translateY(0); }
.stm_icon_box_hover_top:hover    { transform: translateY(-7px); }
.stm_icon_box_hover_bottom { transform: translateY(0); }
.stm_icon_box_hover_bottom:hover { transform: translateY(7px); }
.stm_icon_box_hover_right  { transform: translateX(0); }
.stm_icon_box_hover_right:hover  { transform: translateX(7px); }
.stm_icon_box_hover_left   { transform: translateX(0); }
.stm_icon_box_hover_left:hover   { transform: translateX(-7px); }

/* Clearfix */
.icon_box::after {
    content: '';
    display: table;
    clear: both;
}

@media (max-width: 991px) {
    /* En móvil forzamos ícono pequeño a la izquierda */
    .stm_icon_box_responsive .icon_alignment_left .icon {
        width: 35px !important;
        padding-left: 5px !important;
    }
}

/* ================================================================
   WPBAKERY — Compatibilidad de layout con MasterStudy
   Las filas full-width rompen el container; las normales quedan
   dentro del max-width definido en el template.
   ================================================================ */

/* ================================================================
   WPBAKERY — Layout igual a MasterStudy
   ================================================================ */

/* Filas full-width: escapan el .container via JS de WPBakery */
body .vc_row[data-vc-full-width]            { overflow: visible; }
body .vc_row[data-vc-full-width].vc_parallax { overflow: hidden; }

/* vc_section con "Extender sección": neutralizar el ancho fijo que inyecta WPBakery via JS */
body .vc_section[data-vc-full-width],
body .vc_section-has-fill {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    margin-left: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}
/* Evitar scroll horizontal en todo el sitio cuando hay secciones extendidas */
html { overflow-x: hidden; }

/* El wrapper interno no agrega padding extra */
.wpb_wrapper { padding: 0 !important; }

/* Margen inferior estándar entre filas */
.vc_row { margin-bottom: 35px; }

/* ================================================================
   FONDO DE FILAS NORMALES A ANCHO COMPLETO
   El contenido queda en el container (max-width) pero el background
   se extiende al 100% del viewport usando ::before.
   Igual que MasterStudy con filas en modo "stretch background only".
   ================================================================ */
.container .vc_row,
.vc_section .vc_row,
.vc_row.vc_row-has-fill {
    position: relative;
    overflow: visible;
}

/* Extiende el fondo de la fila al 100% del viewport */
.container .vc_row::before,
.vc_section .vc_row::before,
.vc_row.vc_row-has-fill::before {
    content: '';
    position: absolute;
    top:    0;
    bottom: 0;
    left:  calc(-50vw + 50%);
    right: calc(-50vw + 50%);
    z-index: -1;
    /* El color se asigna via JS (ver main.js) porque WPBakery
       lo pone en una clase CSS, no inline, y ::before no lo hereda */
    background-color: var(--vc-row-bg, transparent);
}

/* Asegura que el contenido de la fila quede por encima del pseudo-elemento */
.container .vc_row > .wpb_column,
.vc_section .vc_row > .wpb_column,
.vc_row.vc_row-has-fill > .wpb_column {
    position: relative;
    z-index: 1;
}

/* ================================================================
   VCE TTA TABS — Estilo Solvec (tabs de cursos por categoría)
   ================================================================ */
.stm_lms_courses__single--price {
    color: white !important;
}
.vc_general.vc_tta.vc_tta-tabs .vc_tta-tabs-container {
    margin: 0 0 0px !important;
}
.vc_general.vc_tta.vc_tta-tabs {
    border-color: transparent !important;
}
.vc_general.vc_tta.vc_tta-tabs .vc_tta-tabs-container .vc_tta-tabs-list {
    background-color: #142dff !important;
}
.vc_tta-panel-body {
    background-image: linear-gradient(to bottom, rgba(255,255,255,.2) 0, rgba(255,255,255,.01) 0%) !important;
}
.vc_tta.vc_tta-style-modern .vc_tta-panel-body,
.vc_tta.vc_tta-style-modern .vc_tta-panel-heading,
.vc_tta.vc_tta-style-modern .vc_tta-tab > a {
    background-image: linear-gradient(to bottom, rgba(255,255,255,.2) 0, rgba(255,255,255,.01) 0%) !important;
    background-color: #142dff !important;
}
.vc_general.vc_tta.vc_tta-tabs .vc_tta-tab.vc_active > a {
    color: #eab830 !important;
}
.vc_tta-color-white.vc_tta-style-modern .vc_tta-panel.vc_active .vc_tta-panel-title > a {
    color: #eab830 !important;
}
.vc_tta-color-white.vc_tta-style-modern .vc_tta-panel .vc_tta-panel-title > a {
    color: white !important;
}
.vc_tta-title-text {
    color: white !important;
}
h2.masterstudy-custom-title {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}


/* ================================================================
   SOLVEC COURSE CARD
   ================================================================ */
.solvec-course-card {
    background: var(--card-body-bg, #fff);
    border: 1px solid var(--card-border-color, #e5e7eb);
    border-radius: 16px 6px 16px 0;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.solvec-course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(10,22,40,0.15);
}
.solvec-course-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* ── Imagen: contenedor con aspect-ratio ── */
.solvec-course-card__img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;       /* moderno, funciona en todos los browsers post-2021 */
    overflow: hidden;
    flex-shrink: 0;
    background: #0a1628;
}

/* <img> cubre 100% con object-fit — funciona en desktop Y móvil */
.solvec-course-card__img {
    position: absolute;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    border-radius: 0 !important;
}
.solvec-course-card__img--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #0a1628, #162a52);
    color: #fff;
}
.solvec-course-card:hover .solvec-course-card__img {
    transform: scale(1.04);
    transition: transform 0.4s ease;
}

/* Badge FECHA — esquina superior derecha */
.solvec-course-card__date {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 3;
    background: var(--card-cta-bg, #e63946);
    color: #fff;
    border-radius: 8px;
    padding: 7px 11px 5px;
    text-align: center;
    min-width: 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    line-height: 1;
    pointer-events: none;
}
.solvec-course-card__date-day {
    font-size: 22px;
    font-weight: 800;
    display: block;
    line-height: 1;
}
.solvec-course-card__date-month {
    font-size: 11px;
    font-weight: 700;
    display: block;
    margin-top: 2px;
}

/* Badge CATEGORÍA — pill ovalada sobre la imagen */
.solvec-course-card__cat {
    position: absolute;
    bottom: 12px; left: 12px;
    z-index: 3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    color: #fff;
    background: var(--card-cta-bg, #1e6fcf);
    border-radius: 100px;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.solvec-course-card__cat.cat--tecnologia { background: var(--card-cta-bg, rgba(0,184,148,0.95)); }
.solvec-course-card__cat.cat--finanzas   { background: var(--card-cta-bg, rgba(30,111,207,0.95)); }

/* ── Cuerpo ── */
.solvec-course-card__body {
    flex: 1;
    padding: 16px 16px 18px;
    background: var(--card-body-bg, #fff);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.solvec-course-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--card-title-color, #111827);
    line-height: 1.35;
    margin: 0;
    text-align: center;
}

/* Metadatos */
.solvec-course-card__meta {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid var(--card-border-color, #e5e7eb);
    padding-top: 10px;
}
.solvec-course-card__meta li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: var(--card-meta-color, #6b7280);
    line-height: 1.4;
}
.solvec-course-card__meta li svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.6;
}

/* Fallback para browsers sin aspect-ratio (iOS < 15) */
@supports not (aspect-ratio: 3/2) {
    .solvec-course-card__img-wrap {
        padding-top: 66.66%;
    }
}

/* ================================================================
   SOLVEC CARD HORIZONTAL — imagen izq + contenido der
   ================================================================ */

.solvec-courses-h--list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.solvec-card-h {
    background: var(--card-body-bg, #fff);
    border: 1px solid var(--card-border-color, #e5e7eb);
    border-radius: 16px 6px 16px 0;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    width: 100%;
}
.solvec-card-h:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10,22,40,0.12);
}

.solvec-card-h__link {
    display: grid;
    grid-template-columns: 42% 1fr;
    text-decoration: none;
    color: inherit;
    min-height: 312px;
}

/* ── Imagen ── */
.solvec-card-h__img-wrap {
    position: relative;
    overflow: hidden;
    background: #0a1628;
}
.solvec-card-h__img {
    position: absolute;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.35s ease;
}
.solvec-card-h:hover .solvec-card-h__img {
    transform: scale(1.04);
}
.solvec-card-h__img--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 3rem;
    background: linear-gradient(135deg, #0a1628, #162a52);
}

/* Badge fecha */
.solvec-card-h__date {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 3;
    background: var(--card-cta-bg, #e63946);
    color: #fff;
    border-radius: 8px;
    padding: 6px 10px 4px;
    text-align: center;
    min-width: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    line-height: 1;
}
.solvec-card-h__date-day   { font-size: 20px; font-weight: 800; display: block; }
.solvec-card-h__date-month { font-size: 10px; font-weight: 700; display: block; margin-top: 2px; }

/* Badge categoría — pill ovalada */
.solvec-card-h__cat {
    position: absolute;
    bottom: 12px; left: 12px;
    z-index: 3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 5px 14px;
    color: #fff;
    background: var(--card-cta-bg, #1e6fcf);
    border-radius: 100px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.solvec-card-h__cat.cat--tecnologia { background: var(--card-cta-bg, rgba(0,184,148,0.95)); }
.solvec-card-h__cat.cat--finanzas   { background: var(--card-cta-bg, rgba(30,111,207,0.95)); }

/* ── Contenido derecha ── */
.solvec-card-h__body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    background: var(--card-body-bg, #fff);
}

.solvec-card-h__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--card-title-color, #111827);
    line-height: 1.3;
    margin: 0;
}

.solvec-card-h__desc {
    font-size: 14px;
    color: var(--card-desc-color, #4b5563);
    line-height: 1.6;
    margin: 0;
}

.solvec-card-h__meta {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.solvec-card-h__meta li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--card-meta-color, #6b7280);
    line-height: 1.4;
}
.solvec-card-h__meta li svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.55;
}

/* Responsive: apilado en móvil */
@media (max-width: 700px) {
    .solvec-card-h__link {
        grid-template-columns: 1fr;
        grid-template-rows: 220px auto;
    }
    .solvec-card-h__img-wrap { min-height: 220px; }
    .solvec-card-h__title { font-size: 16px; }
    .solvec-card-h__body { padding: 16px; }
}

/* ── Preloader ─────────────────────────────────────────────────── */
#solvec-preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #0a1628;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#solvec-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.solvec-preloader__spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255,255,255,.15);
    border-top-color: #1e6fcf;
    border-radius: 50%;
    animation: solvec-spin 0.7s linear infinite;
}
@keyframes solvec-spin {
    to { transform: rotate(360deg); }
}
/* Evitar scrollbar flash */

/* ── Fila hero a ancho completo sin JS de WPBakery ── */
.vc_row.hero-full-width,
.vc_row.hero-full-width.vc_row-o-full-height {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

/* Filas full-width rompen el container */
.wpb-content-wrap .vc_row[data-vc-full-width="true"],
.wpb-content-wrap .vc_row.vc_row-o-full-height {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* ================================================================
   SOLVEC — CURSOS CON FILTRO  [solvec_courses_filter]
   ================================================================ */

/* ── Wrapper principal ─────────────────────────────────────────── */
.solvec-cf {
    width: 100%;
}

/* ── TABS ──────────────────────────────────────────────────────── */
.solvec-cf__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 2rem;
}

.solvec-cf__tab {
    display: inline-flex;
    align-items: center;
    padding: 8px 22px;
    border-radius: 999px;
    border: 1.5px solid #d1d5db;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.12s;
    font-family: inherit;
    line-height: 1;
    white-space: nowrap;
}

.solvec-cf__tab:hover {
    border-color: var(--clr-blue, #1e6fcf);
    color: var(--clr-blue, #1e6fcf);
    transform: translateY(-1px);
}

.solvec-cf__tab--active {
    background: var(--clr-blue, #1e6fcf) !important;
    border-color: var(--clr-blue, #1e6fcf) !important;
    color: #fff !important;
    font-weight: 600;
}

/* ── Grid wrap con posición relativa para el loader ────────────── */
.solvec-cf__grid-wrap {
    position: relative;
    min-height: 200px;
}

/* ── Estado de carga: opacidad en la grilla ────────────────────── */
.solvec-cf__grid-wrap.is-loading .solvec-cf__grid {
    opacity: 0.35;
    pointer-events: none;
    transition: opacity 0.2s;
}

/* ── Loader (3 puntos animados) ────────────────────────────────── */
.solvec-cf__loader {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.solvec-cf__grid-wrap.is-loading .solvec-cf__loader {
    display: flex;
}

.solvec-cf__loader span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--clr-blue, #1e6fcf);
    animation: scf-bounce 0.9s infinite ease-in-out both;
}

.solvec-cf__loader span:nth-child(1) { animation-delay: -0.30s; }
.solvec-cf__loader span:nth-child(2) { animation-delay: -0.15s; }
.solvec-cf__loader span:nth-child(3) { animation-delay:  0s;    }

@keyframes scf-bounce {
    0%, 80%, 100% { transform: scale(0);   opacity: .4; }
    40%            { transform: scale(1);   opacity: 1;  }
}

/* ── Mensaje sin cursos ────────────────────────────────────────── */
.solvec-cf__grid .solvec-no-courses {
    grid-column: 1 / -1;
    text-align: center;
    color: #9ca3af;
    padding: 3rem 0;
    font-size: 15px;
}

/* ── Animación de entrada de tarjetas tras filtro ──────────────── */
.solvec-cf__grid .solvec-course-card {
    animation: scf-fadein 0.3s ease both;
}

@keyframes scf-fadein {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* ── Responsivo ────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .solvec-cf__tabs {
        gap: 8px;
    }
    .solvec-cf__tab {
        padding: 6px 16px;
        font-size: 13px;
    }
}


/* ================================================================
   SHOP HERO — Catálogo Solvec
   ================================================================ */

.shop-hero {
    background: #142DFF;
    padding: 32px 0 28px;
}

.shop-hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.shop-hero__eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    margin: 0 0 6px;
}

.shop-hero__title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 4px;
}

.shop-hero__title-accent {
    color: #E6B800;
}

.shop-hero__sub {
    font-size: 13px;
    color: rgba(255,255,255,.6);
    margin: 0;
}

.shop-hero__stats {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.shop-hero__stat {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
    padding: 12px 20px;
    text-align: center;
    min-width: 76px;
}

.shop-hero__stat--accent {
    background: rgba(230,184,0,.15);
    border-color: rgba(230,184,0,.4);
}

.shop-hero__stat-num {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    font-family: Georgia, 'Times New Roman', serif;
}

.shop-hero__stat--accent .shop-hero__stat-num {
    color: #E6B800;
}

.shop-hero__stat-label {
    display: block;
    font-size: 10px;
    color: rgba(255,255,255,.55);
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

@media (max-width: 600px) {
    .shop-hero__stats { gap: 8px; }
    .shop-hero__stat  { padding: 10px 14px; min-width: 60px; }
    .shop-hero__stat-num { font-size: 20px; }
}


/* ================================================================
   SHOP LAYOUT — Sidebar + Contenido
   ================================================================ */

.solvec-shop-layout {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 40px;
    padding: 28px 0 60px;
    align-items: start;
    overflow: visible;
}

.solvec-shop-sidebar {
    position: sticky;
    top: 90px;
    align-self: start;
    background: #fff;
    border: none;
    border-radius: 0;
    padding: 0;
}

/* Topbar (resultado count + ordering) */
.solvec-shop-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
}

.solvec-shop-topbar .woocommerce-result-count {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.solvec-shop-topbar .woocommerce-ordering select {
    font-size: 13px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 12px;
    background: #fff;
    color: #374151;
    cursor: pointer;
}

/* Mensaje sin resultados */
.solvec-no-results {
    font-size: 14px;
    color: #6b7280;
    padding: 40px 0;
    text-align: center;
}


/* ================================================================
   SIDEBAR — Filtros
   ================================================================ */

/* Buscador */
.solvec-sidebar__search {
    position: relative;
    margin-bottom: 0;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
}

.solvec-sidebar__search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.solvec-sidebar__search-input {
    width: 100%;
    padding: 8px 32px 8px 34px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    color: #374151;
    background: #f9fafb;
    outline: none;
    transition: border-color .15s;
}

.solvec-sidebar__search-input:focus {
    border-color: #142DFF;
    background: #fff;
}

.solvec-sidebar__search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 16px;
    color: #9ca3af;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.solvec-sidebar__search-clear:hover { color: #374151; }

/* Grupos */
.solvec-sidebar__group {
    margin-bottom: 0;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 0;
}

.solvec-sidebar__group:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.solvec-sidebar__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 10px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #374151;
    cursor: pointer;
    text-align: left;
}

.solvec-sidebar__chevron {
    font-size: 14px;
    color: #9ca3af;
    transition: transform .2s;
}

.solvec-sidebar__heading[aria-expanded="false"] .solvec-sidebar__chevron {
    transform: rotate(-90deg);
}

.solvec-sidebar__body {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 8px 10px;
}

/* Subencabezado de grupos dentro del tipo */
.solvec-sidebar__subheading {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #9ca3af;
    margin: 6px 0 4px 2px;
}

.solvec-sidebar__subheading--mt {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #e5e7eb;
}

/* Checkboxes */
.solvec-sidebar__check {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 5px 7px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #374151;
    transition: background .12s;
    user-select: none;
}

.solvec-sidebar__check:hover {
    background: #f3f4f6;
}

.solvec-sidebar__check input[type="checkbox"] {
    margin: 0 8px 0 0;
    accent-color: #142DFF;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    cursor: pointer;
}

.solvec-sidebar__checkmark { display: none; } /* reservado para custom checkbox futuro */

.solvec-sidebar__count {
    margin-left: auto;
    font-size: 11px;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 1px 7px;
    border-radius: 10px;
    flex-shrink: 0;
}

/* Check activo (cuando el input está marcado) */
.solvec-sidebar__check:has(input:checked) {
    background: #EEF0FF;
    color: #142DFF;
    font-weight: 600;
}

.solvec-sidebar__check:has(input:checked) .solvec-sidebar__count {
    background: rgba(20,45,255,.12);
    color: #142DFF;
}

/* Sin resultados */
.solvec-sidebar__check--zero {
    opacity: .45;
}

/* Botón limpiar */
.solvec-sidebar__clear {
    display: block;
    width: calc(100% - 32px);
    margin: 10px 16px 12px;
    padding: 8px;
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 12px;
    color: #6b7280;
    cursor: pointer;
    text-align: center;
    transition: all .15s;
}

.solvec-sidebar__clear:hover {
    border-color: #142DFF;
    color: #142DFF;
    background: #EEF0FF;
}

/* Mobile toggle */
.solvec-sidebar__mobile-toggle {
    display: none;
}

.solvec-sidebar__toggle-chevron {
    margin-left: auto;
}

/* Conteo de filtros activos */
.solvec-filter-count {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 12px;
}


/* ================================================================
   RESPONSIVE — Mobile
   ================================================================ */

@media (max-width: 768px) {
    .solvec-shop-layout {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 16px 0 40px;
    }

    .solvec-shop-sidebar {
        position: static;
        border-radius: 8px;
        margin-bottom: 20px;
        padding: 12px 14px;
    }

    .solvec-sidebar__mobile-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        background: none;
        border: none;
        font-size: 14px;
        font-weight: 600;
        color: #374151;
        cursor: pointer;
        padding: 4px 0 12px;
    }

    .solvec-sidebar__inner {
        display: none;
    }

    .solvec-sidebar__inner.is-open {
        display: block;
    }

    .shop-hero__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .shop-hero__stats {
        align-self: stretch;
        justify-content: space-between;
    }
}
