/**
 * SC Capacitaciones V7 — normalización visual para Tutor LMS, WooCommerce y
 * contenido Elementor. No modifica lógica de plugins ni oculta avisos críticos.
 */

/* Elementor */
.scc-elementor-document,
.elementor-page .scc7-main { --e-global-color-primary: var(--scc-blue); --e-global-color-secondary: var(--scc-teal-strong); --e-global-color-text: var(--scc-ink); --e-global-color-accent: var(--scc-orange); }
.elementor-page .elementor-widget-text-editor { color: var(--scc-ink-soft); }
.elementor-page .elementor-button { border-radius: var(--scc-radius-pill); background: var(--scc-blue); box-shadow: 0 10px 28px rgba(11, 111, 105, 0.18); font-weight: 800; }
.elementor-page .elementor-button:hover { background: var(--scc-blue-deep); }
.elementor-page .e-con { --container-max-width: var(--scc-shell); }

/* Tutor LMS */
body.scc-custom-theme.tutor-lms { --tutor-color-primary: var(--scc-blue); --tutor-color-primary-hover: var(--scc-blue-deep); --tutor-body-color: var(--scc-ink); --tutor-color-gray: var(--scc-blue-soft); --tutor-border-color: rgba(11, 111, 105, 0.16); }
body.scc-custom-theme .tutor-wrap { width: min(calc(100% - (var(--scc-gutter) * 2)), var(--scc-shell)); margin-inline: auto; padding-block: clamp(2.5rem, 5vw, 5rem); }
body.scc-custom-theme .tutor-card,
body.scc-custom-theme .tutor-course-card,
body.scc-custom-theme .tutor-dashboard-content-inner { border-color: var(--scc-line-blue); border-radius: var(--scc-radius); box-shadow: var(--scc-shadow-xs); }
body.scc-custom-theme .tutor-btn-primary,
body.scc-custom-theme .tutor-button { border-radius: var(--scc-radius-pill); background: var(--scc-blue); font-weight: 800; }
body.scc-custom-theme .tutor-course-details-title,
body.scc-custom-theme .tutor-course-details-page h1 { font-family: var(--scc-font-display); letter-spacing: -0.035em; }
body.scc-custom-theme .tutor-course-thumbnail img { border-radius: var(--scc-radius); }
body.scc-custom-theme .tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-menu-item.active a { background: var(--scc-blue-soft); color: var(--scc-blue); }
body.scc-custom-theme .tutor-ratings-stars { color: var(--scc-orange); }

/* WooCommerce */
body.scc-custom-theme.woocommerce-page { --theme-palette-color-1: var(--scc-blue); --theme-palette-color-2: var(--scc-blue-deep); }
body.scc-custom-theme.woocommerce-page .ct-container { width: min(calc(100% - (var(--scc-gutter) * 2)), var(--scc-shell)); }
body.scc-custom-theme .woocommerce-message,
body.scc-custom-theme .woocommerce-info,
body.scc-custom-theme .woocommerce-error { border: 1px solid var(--scc-line-blue); border-radius: var(--scc-radius); background: var(--scc-cloud); box-shadow: var(--scc-shadow-xs); }
body.scc-custom-theme .woocommerce form .form-row input.input-text,
body.scc-custom-theme .woocommerce form .form-row textarea,
body.scc-custom-theme .woocommerce form .form-row select { min-height: 3.2rem; border-color: var(--scc-line-blue); border-radius: 0.85rem; }
body.scc-custom-theme .woocommerce a.button,
body.scc-custom-theme .woocommerce button.button,
body.scc-custom-theme .woocommerce input.button,
body.scc-custom-theme .woocommerce #respond input#submit { border-radius: var(--scc-radius-pill); background: var(--scc-blue); color: var(--scc-white); font-weight: 800; }
body.scc-custom-theme .woocommerce a.button:hover,
body.scc-custom-theme .woocommerce button.button:hover { background: var(--scc-blue-deep); color: var(--scc-white); }
body.scc-custom-theme .woocommerce ul.products li.product { border: 1px solid var(--scc-line-blue); border-radius: var(--scc-radius-lg); background: var(--scc-white); box-shadow: var(--scc-shadow-xs); overflow: hidden; }
body.scc-custom-theme .woocommerce ul.products li.product img { border-radius: calc(var(--scc-radius-lg) - 0.35rem); }
body.scc-custom-theme .woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--scc-blue); }
body.scc-custom-theme .woocommerce-checkout-review-order,
body.scc-custom-theme .woocommerce-MyAccount-navigation,
body.scc-custom-theme .woocommerce-MyAccount-content { border-color: var(--scc-line-blue); border-radius: var(--scc-radius); }

/* Contact Form 7 or third-party forms inside V7 sections */
.scc-v7 .wpcf7 input:not([type="submit"]):not([type="checkbox"]),
.scc-v7 .wpcf7 textarea,
.scc-v7 .wpcf7 select { width: 100%; min-height: 3.1rem; border: 1px solid var(--scc-line-blue); border-radius: 0.85rem; }
.scc-v7 .wpcf7 input[type="submit"] { min-height: 3.1rem; padding-inline: 1.4rem; border: 0; border-radius: var(--scc-radius-pill); background: var(--scc-blue); color: var(--scc-white); font-weight: 800; }
