/*
Theme Name: ClubMAM
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clubmam
Tags: block-patterns, block-styles, blog, custom-colors, custom-logo, custom-menu, editor-style, e-commerce, featured-images, full-site-editing, full-width-template, grid-layout, sticky-post, template-editing, theme-options, three-columns, threaded-comments, two-columns, wide-blocks

/* Forms
--------------------------------------------- */

input, select, textarea {
	background-color: var(--wp--preset--color--background); 
	border: solid 1px var(--wp--preset--color--foreground); 
	border-radius: 2px;
	color: var(--wp--preset--color--foreground);  
}

button:not(.rcp_button, .wp-block-navigation__responsive-container-open ) {
    background-color: var(--wp--preset--color--primary);
    border-radius: 4px;
    border-width: 0;
    color: #fff;
    font-family: var(--wp--preset--font-family--arsenal);
    font-size: inherit;
    line-height: inherit;
    padding-top: 16px;
    padding-right: 32px;
    padding-bottom: 16px;
    padding-left: 32px;
    text-decoration: none;
    text-transform: uppercase;
}

#wp-submit {
    color: var(--wp--preset--color--white);
    text-transform: uppercase;
}

/* # Filtros
---------------------------------------------------------------------------------------------------- */
.facetwp-type-checkboxes {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.facetwp-checkbox.facetwp-checkbox {
	background: none !important;
	border: 2px solid var(--wp--preset--color--primary);
	border-radius: 3px;
	padding: 5px 15px;
	margin: 5px;
}

.facetwp-counter,
.facetwp-toggle {
	display: none;
}

.fcomplete-wrap {
    z-index: 99;
}

/* Dar formato a caja de búsqueda */
.facetwp-type-search {   
    max-width: 600px;
    margin: 0 auto;
}

.facetwp-type-search input {
	font-size: 16px;
    margin: 0;
    border-radius: 3px;
}

.facetwp-type-search input::placeholder {
    text-transform: unset;
}
.facetwp-facet.facetwp-facet-reset.facetwp-type-reset,
.facetwp-pager {
	text-align: center;
}

@media only screen and (min-width: 650px){
    .facetwp-input-wrap {  
        width: 600px;
    }
}

@media only screen and (max-width: 450px){
    .facetwp-input-wrap {  
        width: 100%;
        padding: 0 2px;
    }
}

@media only screen and (max-width: 600px){
	.facetwp-type-checkboxes {
		display: block;
    }
    .facetwp-type-search input {
		font-size: 14px;
		margin-top: 20px;
	}
}

.facetwp-facet-search input,
input.facetwp-autocomplete {
    padding: 20px;
    background-color: white;
    width: 80%;
}

.facetwp-reset.facetwp-hide-empty {
    padding: 16px 32px;
    background-color: var(--wp--preset--color--primary);
    border: none;
    color: var(--wp--preset--color--background);
}

.facetwp-autocomplete-update {
    color: var(--wp--preset--color--white);
    font-size: 20px;
    text-transform: uppercase;
    padding: 12px 0 18px;
    margin: 0 4px;
    background-color: var(--wp--preset--color--primary) !important;
    width: 10%;
}

@media only screen and (max-width: 600px) {
    .facetwp-type-checkboxes {
        display: inline-flex;
    }
    .facetwp-autocomplete-update {
    	margin: 4px 0 4px;
    	width: 100%;
	}
	input.facetwp-autocomplete {
    	width: 91%;
	}
}


/* # Restrict Content Pro
---------------------------------------------------------------------------------------------------- */
.rcp-restricted {
	max-width: 400px;
    border: 2px solid var(--wp--preset--color--primary);
    padding: 40px 80px;
    text-align: center;
}

.page-id-3523 .wp-block-spacer,
.page-id-668 .wp-block-spacer,
.rcp_header,
.rcp_description,
.rcp_login_link,
.rcp_registration_total_details,
#rcp_user_login_wrap,
#rcp_password_again_wrap {
	display: none;
}

.logged-in.page-id-668 .rcp_registration_total_details {
    display: block;
}

/*.registro-rcp #rcp_discount_code_wrap{
	display: none;
}*/

@media only screen and (min-width: 740px){
	/*#rcp_registration_form #rcp_password_wrap,*/
	#rcp_registration_form #rcp_user_login_wrap,
	#rcp_registration_form #rcp_user_first_wrap,
	#rcp_registration_form #rcp_discount_code {
	    float: left;
	    width: 48%;
	}

	/*#rcp_registration_form #rcp_password_again_wrap,
	#rcp_registration_form #rcp_user_email_wrap, */
	#rcp_registration_form #rcp_user_last_wrap,
	#rcp_registration_form #rcp_apply_discount {
	    float: right;
	    width: 47%;
	}
}

#rcp_submit,
.rcp-button {
    padding: 12px 20px;
    font-size: 1.1rem;
    display: block;
    width: 100%;
    background-color: var(--wp--preset--color--primary);
    border: none;
    text-transform: uppercase;
    color: var(--wp--preset--color--background)
}

#rcp_registration_form {
    max-width: 600px;
}

.rcp_form .rcp_user_fieldset,
.rcp_form #rcp_gateway_extra_fields {
    max-width: 584px;
}

.rcp_form.rcp_form input[type="text"], 
#rcp-card-element,
#rcp_user_pass{
    padding: 12px 0px 12px 12px;
    width: 100%;

}

.rcp_form .rcp_user_fieldset input {
    max-width: 100% !important;
    border-radius: 0 !important;
}

#rcp_apply_discount {
    padding: 12px;
    background-color: transparent;
    border: 1px solid var(--wp--preset--color--primary);
    text-transform: uppercase;
    border-radius: 3px;
}

/* Mostrar entradas a las que no tiene acceso en blanco y negro */
.logged-in .wp-block-post.rcp-is-restricted.rcp-no-access {
    filter: grayscale();
}

/* # Block styles
---------------------------------------------------------------------------------------------------- */
/* Reset the counter */
ol.handwrite-numbers {
  counter-reset: list-counter;
  list-style: none; /* Remove default list styling */
}

/* Increment the counter for each list item */
ol.handwrite-numbers li {
  counter-increment: list-counter;
  position: relative;
  padding-left: 2em; /* Add padding to make room for the number */
}

/* Style the numbers using the before pseudo-element */
ol.handwrite-numbers li::before {
  content: counter(list-counter) ".";
  font-family: 'Wonderline'; /* Change this to your desired font for the numbers */
  position: absolute;
  left: 0;
  color: var(--wp--preset--color--secondary);
  font-weight: 700;
}

ul.is-style-leaf-check li {
  list-style-type: none; /* Ensure default list styles are not applied */
  position: relative; /* Establish a containing block for the absolute positioning */
  padding: 0 40px 20px; /* Adjust padding to make space for the image */

}

ul.is-style-leaf-check li::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 40%;
  transform: translateY(-50%);
  width: 32px; /* Set the desired width of the image */
  height: 32px; /* Set the desired height of the image */
  background-image: url("https://www.clubmam.raquelbernacer.com/wp-content/uploads/check-verde.svg");
  background-size: contain; /* Ensure the image is contained within the dimensions */
  background-repeat: no-repeat; /* Prevent the image from repeating */
}

ul.is-style-leaf-check-orange li {
  list-style-type: none; /* Ensure default list styles are not applied */
  position: relative; /* Establish a containing block for the absolute positioning */
  padding: 0 40px 20px; /* Adjust padding to make space for the image */

}

ul.is-style-leaf-check-orange li::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 15%;
  transform: translateY(-50%);
  width: 32px; /* Set the desired width of the image */
  height: 32px; /* Set the desired height of the image */
  background-image: url("https://www.clubmam.raquelbernacer.com/wp-content/uploads/check-verde.svg");
  background-size: contain; /* Ensure the image is contained within the dimensions */
  background-repeat: no-repeat; /* Prevent the image from repeating */
}

ul.is-style-logo li {
  list-style-type: none; /* Ensure default list styles are not applied */
  position: relative; /* Establish a containing block for the absolute positioning */
  padding-left: 32px; /* Adjust padding to make space for the image */
  max-width: 600px;
  margin-bottom: 12px;
}

ul.is-style-logo li::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 15%;
  transform: translateY(-50%);
  width: 32px; /* Set the desired width of the image */
  height: 32px; /* Set the desired height of the image */
  background-image: url("https://www.clubmam.raquelbernacer.com/wp-content/uploads/manzana-simple.svg");
  background-size: contain; /* Ensure the image is contained within the dimensions */
  background-repeat: no-repeat; /* Prevent the image from repeating */
}

.is-style-osom-details-with-color-and-border summary {
    background: #98C989;
}

.wp-block-group.shadow {
    box-shadow: var(--wp--preset--shadow--natural);
    padding-bottom: 20px;
}

.wp-block-group.shadow {
    box-shadow: var(--wp--preset--shadow--natural);
}

.wp-block-query .wp-block-group.shadow {
    box-shadow: var(--wp--preset--shadow--natural);
	border: transparent;
}

.wp-block-group.shadow .wp-post-image {
    border-radius: 5px 5px 0 0;
}

@media only screen and (min-width: 960px) {
	.negative-margin {
		margin-left: -80px;
	}
}

@media only screen and (max-width: 660px){
	.wp-container-core-group-is-layout-64 {
	    flex-wrap: wrap;
	}
}

.single-receta .wprm-recipe.wprm-recipe-snippet.wprm-recipe-template-snippet-basic-buttons {
    display: none;
}

.wprm-recipe-print.wprm-recipe-link.wprm-print-recipe-shortcode.wprm-block-text-normal.wprm-recipe-print-wide-button.wprm-recipe-link-wide-button.wprm-color-accent {
    color: #ffffff;
    background-color: #025958 !important;
    border-color: #025958 !important;
    border-radius: 3px;
    padding: 10px 5px;
}
.wprm-call-to-action.wprm-call-to-action-simple {
    display: none;
}

/* # Mostrar texto RGPD en acordeón
---------------------------------------------------------------------------------------------------- */
.gdpr-accordion input {
    display: none;
}

.gdpr-accordion span  {
    text-decoration: underline;
}

.gdpr-accordion {
    font-size: 14px;
}

.gfield_consent_description {
    display: none;
}

input:checked + label + .gfield_consent_description  {
    display: block;
}

.wp-custom-logo .custom-logo-link {
	display: block;
}

#gform_submit_button_2 {
    text-transform: uppercase;
    padding: 20px 60px;
}

#input_2_2 {
    width: 100%;
}

label[for="gdpr_info"] {
    font-size: 14px;
    padding-left: 8px;
}

.error404 .wp-block-search__input {
    background-color: var(--wp--preset--color--white);
}

.home footer.wp-block-template-part,
.home footer.wp-block-template-part .wp-block-group {
	margin-top: 0 !important;
}

.login-modal-box form .login-submit input {
	background-color: var(--wp--preset--color--primary);
}

.wp-element-button:hover, .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--primary) !important;
    color: var(--wp--preset--color--background);
}

/* Mantener el footer pegado abajo */
.wp-site-blocks {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.wp-site-blocks > main {
	flex-grow: 1;
}

body.admin-bar .wp-site-blocks {
	min-height: calc( 100vh - var(--wp-admin--admin-bar--height, 32px) );
}

.rcp_discounts_fieldset {
    display: none;
}

#rcp_profile_editor_form.rcp_form input[type="email"], 
#rcp_profile_editor_form.rcp_form input[type="password"], 
#rcp_profile_editor_form.rcp_form input[type="text"] {
    padding: 12px 0px 12px 12px;
    width: 100%;
    max-width: 400px;
}

#rcp_profile_editor_form.rcp_form select {
    height: 32px;
    width: 100%;
}

@media only screen and (min-width: 660px){
	#rcp_profile_editor_form.rcp_form input[type="email"], 
	#rcp_profile_editor_form.rcp_form input[type="password"], 
	#rcp_profile_editor_form.rcp_form input[type="text"],
	#rcp_profile_editor_form.rcp_form .rcp-button,
	#rcp_profile_editor_form.rcp_form select {
	    width: 50%;
	}
}

.page-id-6502 .rcp_discounts_fieldset,
.page-id-6502 .rcp_registration_total_details {
    display: block;
    margin-bottom: 20px;
}

.ml-embedded h4 {
    font-size: 22px !important;
}

.wp-container-core-group-is-layout-0c3e000d {
    flex-wrap: wrap;
}

/* Best option ribbon label */
.wp-block-column:has(.best-option) {
    position: relative;
    overflow: visible;
}

.best-option::before {
    content: "Mejor opción";
    position: absolute;
    top: -20px;
    right: -22px;
    background: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--foreground);
    padding: 8px 12px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    transform-origin: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
}

@media only screen and (max-width: 660px){
	.wp-container-core-group-is-layout-bb614083 {
	    flex-wrap: wrap;
	}
}

.page-id-9523 footer .wp-elements-74df81e5683d7a5e45e32f8dabaab80c {
    margin-top: -20px !important;
}

.wprmprc-container-header-container {
    display: none;
}

/* Evitar que el menu responsive oculte OML */
.wp-block-navigation__responsive-container.is-menu-open {
    z-index:9999;
}