/**
Theme Name: Astra Child
Author: Innovation Studio
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

p, .ld-item-title, label, button, .woocommerce-breadcrumb, th, td, .woocommerce-info {
  font-family: "Lato", Sans-serif!important;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif!important;
}

.site-content {
	background-color: #faf8f6;
}

.heading-divider {
  position: relative;
  display: inline-block;
  padding: 0 1.5em; 
}

.heading-divider::before,
.heading-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 200%; 
  height: 2px;
  background-color: #D5B47B;
  transform: translateY(0.35em);
}

.heading-divider::before {
  right: 100%;
  margin-right: 1em;
}

.heading-divider::after {
  left: 100%;
  margin-left: 1em;
}

.overflow-container:has(.heading-divider) {
  overflow: hidden;
}
.learndash-wrapper h2:not(.hero) {
    position: relative;
    display: inline-block;
    padding-bottom: 6px; 
}

.ld-tabs.ld-tab-count-1 h2:not(.hero)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #D5B47B;
}
.wp-block-heading.hero {
	font-weight: 600;
    font-style: oblique;
    color: #8B5660;
}

/* Home */
.home .learndash-pager.learndash-pager-course_list {
	display: none;
}

.elementor-element-649267d .e-con-inner {
	align-items: flex-start!important;
}

.elementor-video {
	border-radius: .75rem!important;
}

.elementor-element-cf2bb32, .e-hosted-video.elementor-wrapper.elementor-open-inline {
	height: 100%!important;
}

.elementor-12 .elementor-element.elementor-element-cf2bb32 .elementor-wrapper {
    --video-aspect-ratio: unset!important;
}

/* Mi cuenta */
body.woocommerce-account {
  background: #FAF8F6;
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body.woocommerce-account .site-content,
body.woocommerce-account .content-area {
  padding-top: 60px;
  padding-bottom: 60px;
}

body.woocommerce-account .woocommerce h1,
body.woocommerce-account .woocommerce h2,
body.woocommerce-account .woocommerce h3,
body.woocommerce-account .entry-title {
  color: #8B5660;
}

body.woocommerce-account .woocommerce form.login,
body.woocommerce-account .woocommerce form.register,
body.woocommerce-account .woocommerce form.lost_reset_password,
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account .woocommerce-MyAccount-navigation {
  background: #fff;
  border: 1px solid rgba(139, 86, 96, 0.12);
  border-radius: .5rem;
  box-shadow: 0 4px 20px -4px rgba(139, 86, 96, 0.08);
  padding: 28px;
}

body.woocommerce-account .woocommerce input[type="text"],
body.woocommerce-account .woocommerce input[type="email"],
body.woocommerce-account .woocommerce input[type="password"],
body.woocommerce-account .woocommerce input[type="tel"],
body.woocommerce-account .woocommerce textarea,
body.woocommerce-account .woocommerce select {
  border-radius: 12px;
  border: 1px solid rgba(139, 86, 96, 0.18);
  padding: 10px 12px;
  box-shadow: none;
}

body.woocommerce-account .woocommerce input:focus,
body.woocommerce-account .woocommerce textarea:focus,
body.woocommerce-account .woocommerce select:focus {
  outline: none;
  border-color: #D5B47B;
  box-shadow: 0 0 0 3px rgba(213, 180, 123, 0.25);
}

body.woocommerce-account .woocommerce button.button,
body.woocommerce-account .woocommerce a.button,
body.woocommerce-account .woocommerce input.button,
body.woocommerce-account .woocommerce #respond input#submit,
.single_add_to_cart_button.button.alt,
.learndash-button-closed {
  background: #8B5660!important;
  border: 1px solid #8B5660!important;
  color: #fff!important;
  border-radius: .5rem!important;
  padding: 10px 18px!important;
  font-weight: 600!important;
  text-shadow: none;
  box-shadow: none;
	border-radius: .5rem!important;
	width: 100%!important;
	font-family: "Cormorant Garamond", Sans-serif!important;
}

body.woocommerce-account .woocommerce button.button:hover,
body.woocommerce-account .woocommerce a.button:hover,
body.woocommerce-account .woocommerce input.button:hover,
.single_add_to_cart_button.button.alt:hover, 
.learndash-button-closed:hover {
  background: #7a4b54!important;
  border-color: #7a4b54!important;
}

body.woocommerce-account .woocommerce a {
  color: #8B5660;
}
body.woocommerce-account .woocommerce a:hover {
  color: #D5B47B;
}

.ld-course-list-content .ld_course_grid .thumbnail.course {
  /* Card */
  background: #fff;
  border: 1px solid rgba(139, 86, 96, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 4px 20px -4px rgba(139, 85.99999999999997, 96.00000000000001, 0.5);
  transition: all .3s ease;
	height: 100%!important;
}

.ld-course-list-content .ld_course_grid .thumbnail.course:hover {
  box-shadow: 0px 10px 30px -6px rgba(139, 85.99999999999997, 96.00000000000001, 0.8);
}

.ld-course-list-content .ld_course_grid .thumbnail.course > a img {
  display: block;
  width: 100%;
  height: 200px;         
  object-fit: cover;
}

.ld-course-list-content .ld_course_grid .thumbnail.course .caption {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ld-course-list-content .ld_course_grid .thumbnail.course .entry-title {
  margin: 0;
  color: #6F444F;
  font-family: "Cormorant Garamond", Sans-serif;
}

.ld-course-excerpt{
  font-size: 14px;
  color: #936C76;
	margin: 0px 0px 10px 0px!important;
}


.ld-course-list-content .ld_course_grid .thumbnail.course .ld_course_grid_button {
  margin-top: auto;
}

.ld-course-list-content .ld_course_grid .thumbnail.course .ld_course_grid_button .btn,
.ld-course-list-content .ld_course_grid .thumbnail.course .ld_course_grid_button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: .5rem;
  background: #8B5660;
  border: 1px solid #8B5660;
  color: #fff !important;
  font-family: "Cormorant Garamond", Sans-serif;
	font-weight: 600;
  text-decoration: none;
  box-shadow: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.ld-course-list-content .ld_course_grid .thumbnail.course .ribbon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(250, 248, 246, 0.95);
  color: #8B5660;
  border: 1px solid rgba(213, 180, 123, 0.55);
  padding: 6px 10px;
  border-radius: 999px;
  font-family: "Cormorant Garamond", Sans-serif;
  font-weight: 600;
  font-size: 16px;
}

.ld-course-list-items .ld_course_grid .thumbnail.course .ribbon.enrolled {
    background: #7a4b54;
    color: #fff;
}

.ribbon.enrolled {
	border: none!important;
	font-weight: 600;
}

.ld-course-list-content .ld_course_grid .thumbnail.course {
  position: relative;
}

.ld-course-list-content .ld_course_grid .thumbnail.course.thumbnail,
.ld-course-list-content .ld_course_grid .thumbnail.course .caption {
  border: 0;
  background: transparent;
}

.ld-course-list-content .ld_course_grid .thumbnail.course .btn-primary {
  background-image: none;
}

@media (max-width: 767px) {
  .ld-course-list-content .ld_course_grid .thumbnail.course > a img {
    height: 190px;
  }
}

.ld-course-list-items .ld_course_grid .thumbnail.course .ribbon:before {
	display: none!important;
}



.ld-course-list-content .ld_course_grid .thumbnail.course .ribbon.enrolled::after, .ld-course-list-content .ld_course_grid .thumbnail.course .ribbon.completed::after {
  content: "";
}

.ld-course-status-label {
	font-size: 16px!important;
}

.ld-login-text {
	color: #8b5660!important;
}

.ld-course-status.ld-course-status-not-enrolled, .ld-lesson-status, .ld-progress, .learndash-wrapper .ld-breadcrumbs, .ld-topic-status {
	background: #faf8f6!important;
}

.entry-meta {
	display: none;
}

.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .sfwd-mark-complete:after {
	right: 5%!important;
}

.navigation.post-navigation {
	display: none;
}

.woocommerce-cart .cart-collaterals .cart_totals>h2, .woocommerce-cart .cart-collaterals .cross-sells>h2, .woocommerce-js table.shop_table thead, .woocommerce-page table.shop_table thead {
    background-color: transparent!important;
}

/* Cuestionarios */
.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem:not(.ld-sortable__item) label.is-selected, .learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem:not(.ld-sortable__item) label:focus-within {
    border-color: #d9a8a0;
}

.wpProQuiz_questionListItem input[type="radio"]:checked + label::before,
.wpProQuiz_questionListItem input[type="checkbox"]:checked + label::before {
  border-color: #d9a8a0;
}

.wpProQuiz_questionListItem input[type="radio"]:checked + label::after {
  background-color: #d9a8a0;
}

.wpProQuiz_points.wpProQuiz_points--message {
	background-color: #faf8f6;
	border: none;	
}

.learndash-wrapper .ld-quiz-actions input[name=reShowQuestion], .learndash-wrapper .ld-quiz-actions input[name=restartQuiz], .wpProQuiz_button, .quiz_continue_link, .ld-button, .ld-status.ld-status-complete.ld-secondary-background {
    background: #8b5660!important;
	border-radius: .5rem .5rem .5rem .5rem!important;
}

.learndash-wrapper .ld-breadcrumbs .ld-status.ld-status-complete {
	background: #d5b47b !important;
    color: #faf8f6;
}

.wpProQuiz_questionListItem input[type="radio"]:checked {
  accent-color: #d9a8a0;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem:not(.ld-sortable__item) .ld-quiz-question-item__status {
    top: 40%!important;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem:not(.ld-sortable__item) label.is-selected, .learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem:not(.ld-sortable__item) label:focus-within {
    border-color: #8b5660!important;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_response {
    background-color: transparent!important;
    border: none!important;
    padding: 0px!important;
}

.wpProQuiz_questionInput {
	margin-right: 1em!important;
}

.learndash-wrapper .ld-alert--step-completed .ld-button .ld-icon {
    right: 10px;
}

@media (768px < width < 1024px) {
.ld-course-list-items .col-md-4 {
        max-width: 50%!important;
	flex: unset!important;
    }
}

.input-text, .select2-selection.select2-selection--single {
	background-color: #F9F7F5!important;
    border-color: #E7E0DA!important;
    border-radius: 4px!important;
}

/* Cuenta */

body.page-id-471{
  --cb-accent: #7b4a52; /* ajusta si quieres clavar el tono */
  --cb-radius: 16px;
  --cb-shadow: 0 18px 40px rgba(0,0,0,.08);
}

body.page-id-471 .site-main .entry-content .woocommerce{
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 110px) 20px 90px;
}


body.page-id-471 .woocommerce .u-column1 > h2,
body.page-id-471 .woocommerce .u-column2 > h2{
  margin: 0 0 18px;
  line-height: 1.15;
}

body.page-id-471 .woocommerce form.login,
body.page-id-471 .woocommerce form.register{
  background: #fff;
  border: 1px solid rgba(0,0,0,.05);
  border-radius: var(--cb-radius);
  box-shadow: var(--cb-shadow);
  padding: clamp(22px, 3.2vw, 40px);
  margin: 0;
}

body.page-id-471 .woocommerce form.login label,
body.page-id-471 .woocommerce form.register label{
  display: block;
  font-weight: 600;
  margin: 0 0 8px;
}

body.page-id-471 .woocommerce form .input-text,
body.page-id-471 .woocommerce form input[type="text"],
body.page-id-471 .woocommerce form input[type="email"],
body.page-id-471 .woocommerce form input[type="password"]{
  width: 100%;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  outline: none;
}

body.page-id-471 .woocommerce form .input-text:focus,
body.page-id-471 .woocommerce form input[type="text"]:focus,
body.page-id-471 .woocommerce form input[type="email"]:focus,
body.page-id-471 .woocommerce form input[type="password"]:focus{
  border-color: var(--cb-accent);
  box-shadow: 0 0 0 3px rgba(123,74,82,.12);
}

body.page-id-471 .woocommerce button.button,
body.page-id-471 .woocommerce input.button,
body.page-id-471 .woocommerce a.button{
  background: var(--cb-accent);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 600;
  line-height: 1;
}

body.page-id-471 .woocommerce button.button:hover,
body.page-id-471 .woocommerce input.button:hover,
body.page-id-471 .woocommerce a.button:hover{
  filter: brightness(0.95);
}

body.page-id-471 .woocommerce form .woocommerce-form__label-for-checkbox{
  margin: 10px 0 14px;
}

body.page-id-471 .woocommerce form .lost_password a{
  text-decoration: none;
}

body.page-id-471 .woocommerce form .lost_password a:hover{
  text-decoration: underline;
}

.btn-logged, .btn-logged * { display: none !important; }

body.logged-in .btn-logged,
body.logged-in .btn-logged * { 
	display: inline-flex !important; 
}

@media (max-width: 767px) {
	body.logged-in .btn-logged,
body.logged-in .btn-logged * { 
	width: 100%!important;
}
	.menu-item-546, .menu-item-545 {
		background-color: #8b5660!important;
	}
	.menu-item-546 a, .menu-item-545 a {
		color: #fff!important;
	}
}

@media (min-width: 767px) {
		body.logged-in .btn-logged.menu-item-546, body.logged-in .btn-logged.menu-item-547, .btn-guest.menu-item-545 {
		display: none!important;
	}
}

body.logged-in .btn-guest,
body.logged-in .btn-guest * { display: none !important; }


@media (max-width: 1024px) {
	.woocommerce .col2-set .col-1 {
		margin-bottom: 50px!important;
	}
}
/* Producto */
.woocommerce-js h2 {
	margin: 0!important;
}

.learndash-wrapper h2 {
	margin: 20px 0px!important; 
}

.single-product .ppcp-messages, .cart_totals .ppcp-messages {
	display: none!important;
}

/* Perfil */
.ld-profile-card {
	display: none!important;
}

.learndash-wrapper .ld-course-status.ld-course-status-enrolled {
    background-color: transparent!important;
}

@media (max-width: 1024px) {
	.sfwd-lessons-template-default h1.entry-title, .sfwd-topic-template-default h1.entry-title, .sfwd-quiz-template-default h1.entry-title {
	margin-top: 50px;
}	
}

.learndash-wrapper .learndash_mark_complete_button:not(.ld--ignore-inline-css) {
	    background-color: #d5b47b !important;
}
@media (max-width: 767px) {
	.learndash-wrapper .ld-alert--step-completed .ld-button {
    max-width: 100%!important;
}	
}


@media (max-width: 640px) {
    .learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .learndash_mark_complete_button {
        text-align: center!important;
    }
}

@media (max-width: 640px) {
    .learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-button {
        margin-left: 0px!important;
    }
}

.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-actions {
    align-items: center!important;
}

.learndash-wrapper .ld-course-status.ld-course-status-enrolled {
    padding: 0!important;
    margin: 20px 0px!important;
}

.mct-social-share {
	display: none!important;
}

/* Lecciones */
.sfwd-topic-template-default .ld-video {
	margin: 20px 0px!important;
}

.tema-pdf-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(139, 86, 96, 0.12);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 20px -4px rgba(139, 86, 96, 0.08);
  margin: 20px 0;
}

.tema-pdf-icono {
  font-size: 34px;
  line-height: 1;
}

.tema-pdf-contenido h3 {
  margin: 0 0 8px;
  color: #8B5660;
}

.tema-pdf-contenido p {
  margin: 0 0 14px;
}

/* Footer */
.cmplz-categories {
	color: #F9F7F5B3!important;
}

/* Cuenta */
body.page-id-471 .site-main .entry-content .woocommerce::before {
  content: "";
  display: block;
  width: 78px;
  height: 78px;
  margin: 0 auto 26px;
  background: url("https://campusbeauty.es/wp-content/uploads/2026/03/star-svgrepo-com.png") center/contain no-repeat;
}

.ld-course-list-items .ld_course_grid .thumbnail.course .ribbon.enrolled {
    background: #f0f0f0;
}

.ld-course-list-items .ld_course_grid .thumbnail.course .ribbon.enrolled {
    color: #8B5660;
}

/* Precio con oferta en ficha del curso */
.course-price-oferta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.course-price-regular {
    color: #aaa;
    font-size: 0.9em;
}

.course-price-sale {
    font-weight: bold;
    font-size: 1.2em;
    color: #8B4B6B;
}

.course-sale-badge {
    background: #c0392b;
    color: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.72em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Fecha de finalización */
.course-end-date {
    margin-top: 10px;
    font-size: 0.9em;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-end-date-label {
    font-weight: 600;
}

.course-end-date-value {
    color: #8B4B6B;
    font-weight: 500;
}

.curso-fecha-fin {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    font-size: 0.88em;
    color: #666;
    justify-content: center;
}
.curso-fecha-icono {
    font-size: 1.1em;
}
.curso-fecha-texto strong {
    color: #8B4B6B;
}

.cb-review-flag{
	display:inline-block;
	margin-right:6px;
	vertical-align:middle;
	box-shadow:0 0 2px rgba(0,0,0,.15);
}