/**
Theme Name: MARESS
Author: Jorge Olay
Author URI: https://www.linkedin.com/in/jorgeolaymkt/
Description: Tema para MARESS Barré Studio
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: maress
Template: astra
*/

/** Global Variables**/

:root {

/** Colors **/

--color-pink-500: #D76F98; 
--color-pink-400: #E38EAB; 
--color-pink-300: #F0AEBD; 
--color-pink-200: #F4CAD5; 
--color-pink-100: #FBEAEE; 
--color-cream-500: #C3B6AC; 
--color-cream-400: #CFC1B7; 
--color-cream-300: #D7CAC1; 
--color-cream-200: #E9E1DB; 
--color-cream-100: #F2ECE7; 
--color-white: #FFFFFF;
--color-gray-500: #5E5A58; 
--color-gray-400: #7E7C7A; 
--color-gray-300: #9E9C9A; 
--color-gray-200: #BFBDBC; 
--color-gray-100: #DEDDDC;

/** Bordes **/

--radius-tiny: 7px;
--radius-xsmall: 14px;
--radius-small: 20px;
--radius-button: 40px;

/** Espaciados **/

--tiny-space:9px;
--xxxsmall-space:10px;
--xxsmall-space:14px;
--xsmall-space:24px;
--small-space:36px;
--standard-space:42px;
--double-space:56px;
--big-space:87px;
--huge-space:96px;
--xhuge-space:124px;
--xxhuge-space:168px;

/** Sombras **/

--shadow-small: 3px 3px 9px 0 rgba(0, 0, 0, 0.14);

--shadow-xsmall: 2px 2px 7px 0 rgba(0, 0, 0, 0.14);

--shadow-xxsmall: 1px 1px 5px 0 rgba(0, 0, 0, 0.14);

}

/* END :root */

/* -- ||| REUSABLE ELEMENTS ||| -- */

/* HEADER */

.ast-logo-title-inline .ast-site-identity {
   padding-top: 0 !important;
   padding-bottom: 0 !important;
}

/* BOTONES */

a.wp-block-button__link.wp-element-button,
div.white-button a.wp-block-button__link.wp-element-button
   
   {
   box-sizing: border-box !important;   
   border: 1px solid transparent;       
   transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

a.wp-block-button__link.wp-element-button:hover {
   background-color: transparent !important;
   color: var(--color-pink-500) !important;   
   border-color: var(--color-pink-500) !important;
}

div.white-button a.wp-block-button__link.wp-element-button:hover {  
   background-color: transparent !important;
   color: var(--color-white) !important;   
   border-color: var(--color-white) !important;
}

/* LI BUTTONS */

ul.buttons {
   list-style: none;
   list-style-type: none;
   margin: 0;
   padding: 0;
}

ul.buttons li {
   border-radius: var(--radius-button);
   padding-top: var(--tiny-space);
   padding-bottom: var(--tiny-space);
   background-color: var(--color-cream-100);
   box-shadow: var(--shadow-xxsmall);
   text-align: center;
   padding-left: var(--xsmall-space);
   padding-right: var(--xsmall-space);
   font-weight: 600;
   display: inline-block;
   margin-right: var(--xxxsmall-space);
}

ul.buttons li:hover {
   background-color: var(--color-pink-100);
}

ul.buttons li:active {
   background-color: var(--color-pink-500);
   color: var(--color-pink-100);
}

ul.wp-block-list.buttons li.active,
ul.buttons li.active {
   background-color: var(--color-pink-500);
   color: var(--color-pink-100);
}

.white-button a.wp-block-button__link {
   color: var(--color-pink-500);
   background-color: var(--color-white);
}

#menu-item-661 a {
   background: var(--color-pink-500);
   color: var(--color-white);
   height: 42px;
   border-radius: var(--radius-button);
}

/* SECTION SPACING */

section.new-section.padd
   { 
   padding-top: var(--big-space);
   padding-bottom: var(--huge-space);
}

section.new-section.padd
   { 
   padding-top: var(--big-space);
   padding-bottom: var(--huge-space);
}

/* GAPS */

.steps .wp-block-group, /** Separación Imagen y Subtítulo **/
.testimonials .wp-block-group

   { 
   gap: var(--xxxsmall-space);
}

/* BACKGROUND COLOR */

.cream-bg {
   background-color: var(--color-cream-100);
}

.dark-pink-bg {
   background-color: var(--color-pink-500);
}

.light-pink-bg {
   background-color: var(--color-pink-100);
}

.white-bg {
   background-color: var(--color-white);
}

/* TYPOGRPHY & COLOR */

p.margin-top-cero {
   margin-top: 0;
}

p.margin-top-xxxsmall {
   margin-top: var(--xxxsmall-space);
}

h1, h2, h3 {
   font-style: italic;
}

.white-text { 
   color: var(--color-white);
}

.dark-gray-text {
   color: var(--color-gray-500);
}

.dark-pink-text {
   color: var(--color-pink-500);
}

h2 {
   padding-bottom: var(--xxxsmall-space);
}

.small {
   font-size: 16px;
}

/* LISTS */

.big-height li {
   line-height: var(--standard-space);
}

/* SEPARATOR */

.new-section .wp-block-separator
   {
   margin-bottom: 33px;
   border: 1px solid var(--color-gray-200);
   max-width: 70px !important;
}

/* PARAGRAPH ON CTA */

.new-section p.cta
   {
   max-width: 30%;
   min-width: 45%;
}

/* RADIUS */

.radius20, .radius20 img, .radius-20 img {
   border-radius: var(--radius-small);
}

.radius14, .radius-14 img {
   border-radius: var(--radius-xsmall);
}

/* SHADOWS */

.smallShadow, .small-shadow img {
   box-shadow: var(--shadow-small);
}

/* PADDINGS */

.padding-sides-xsmall {
   padding-left: var(--xsmall-space);
   padding-right: var(--xsmall-space);
}

.padding-sides-small {
   padding-left: var(--small-space);
   padding-right: var(--small-space);
}

.padding-sides-standar {
   padding-left: var(--standard-space);
   padding-right: var(--standard-space);
}

.padding-sides-double {
   padding-left: var(--double-space);
   padding-right: var(--double-space);
}

.padding-sides-big {
   padding-left: var(--big-space);
   padding-right: var(--big-space);
}

.padding-small {
   padding: var(--small-space);
}

.padding-btm-xxxsmall {
   margin-bottom: var(--xxxsmall-space)!important;
}

/* ACCORDEON */

.wp-block-accordion {
   width:50%;
   margin: 0 25%;
}

.wp-block-accordion h3 {
   font-size: 18px;
   font-style: normal;
   font-family: 'quicksand', sans-serif;
   font-weight: bold;
   color: var(--color-gray-400);

}

button.wp-block-accordion-heading__toggle {
   padding-left: var(--xsmall-space);
   padding-right: var(--xsmall-space);
}

.wp-block-accordion p.wp-block-paragraph {
   padding-left: var(--xsmall-space);
   padding-right: var(--xsmall-space);
}

/* ACCORDEON FXs */

.wp-block-accordion-item .wp-block-accordion-heading__toggle:hover,
.wp-block-accordion-item .wp-block-accordion-heading__toggle:focus {
   background-color: var(--color-pink-400);
   transition: all 0.2s ease-in-out;
   color: var(--color-white);
}

.wp-block-accordion-item .wp-block-accordion-heading__toggle:hover,
.wp-block-accordion-item .wp-block-accordion-heading__toggle:focus,
.wp-block-accordion-item .wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title,
.wp-block-accordion-item .wp-block-accordion-heading__toggle:focus .wp-block-accordion-heading__toggle-title {
    text-decoration: none !important;
    text-decoration-line: none !important;
    outline: none !important;
    border-bottom: none !important;
}

.wp-block-accordion-item .wp-block-accordion-panel {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease, padding 0.4s ease;
    padding-top: 0;
    padding-bottom: 0;
}

.wp-block-accordion-item .wp-block-accordion-heading__toggle[aria-expanded="true"] + .wp-block-accordion-panel,
.wp-block-accordion-item:has(.wp-block-accordion-heading__toggle[aria-expanded="true"]) .wp-block-accordion-panel {
    max-height: 300px;
    opacity: 1;
    padding-top: 10px;
    padding-bottom: 15px;
}

.wp-block-accordion-item .wp-block-accordion-panel[hidden] {
    display: block !important; 
}

.wp-block-accordion {
   padding-top: var(--tiny-space);
}

/* HEIGHT FIXES */

.new-section.steps .wp-block-columns.content {
   height: 449px;
}

.new-section.method .wp-block-columns.content {
   height: 500px;
}

.new-section.equilibrium .wp-block-columns.content {
   height: 510px;
}

/* TAGS - TABS */


.small.tag {
   padding-left: var(--tiny-space);
   padding-right: var(--tiny-space);
   padding-top: 2px;
   padding-bottom: 2px;
   margin-top: 3px;
   border-radius: var(--radius-button);
   padding-left: var(--xsmall-space);
   padding-right: var(--xsmall-space);
   width: -webkit-fit-content;
}

/* WIDTHS */

.seventy-width {
   width: 70%;
}

.eighty-width {
   width: 80%;
}

.eighty-width {}

/** ||| HOME - HERO SECTION **/

.hero-maress {
   position:relative;
}

.hero-maress .hero-card {
   position: absolute;
   left: 5.6%;
   top: 24.7%;
   max-width: 554px;
   width: calc(100% - 16%); /*  A FIX FOR SMALL SCREENS */
   border: none;
   border-radius: var(--radius-small);
   padding: 32px 40px 36px 40px;
   z-index: 5;
   background-color: var(--color-cream-100);
   box-shadow: var(--shadow-small);
}

.hero-card h1 {
   padding:0px 10px !important;
   color: var(--color-gray-400);
}

.hero-card p {
   padding:3px 45px 2px 45px;
}

/** ||| HOME - STEPS SECTION ||| **/

.step-card { /** Tarjeta **/
   background-color: var(--color-white);
   border-radius: var(--radius-xsmall);
   padding-top: var(--xsmall-space);
   padding-bottom: var(--xsmall-space);
   box-shadow: var(--shadow-small);
}

.steps h4 { /** Subtítulo **/
   color: var(--color-gray-400);
}

.step-card .wp-block-group, .step-card p { /** Párrafo inferior **/
   padding-left: var(--xsmall-space);
   padding-right: var(--xsmall-space);
}

/** ||| HOME - METHOD SECTION ||| **/

.new-section.method { /** Sección complete **/
   background-color: var(--color-white);
}

.new-section.method .method-half {
   padding-top: 4px;
}

new-section.method h2 {
   padding-bottom: 0;
}

.new-section.method p {
   padding: 0px 0 5px 0;
}

.new-section.method ul.body-parts {
   list-style: none;
   padding: 2px 0 21px 0;
   margin: 0;
   display: flex;         /* Activa el diseño en línea (horizontal) */
   flex-wrap: wrap;       /* Permite que los elementos salten de línea */
   gap: 15px; 
}

.new-section.method .body-parts li {
   color: var(--color-pink-500);
   width: 140px;
   text-align: center;
   padding-top: var(--tiny-space);
   padding-bottom: var(--tiny-space);
   font-weight: bold;
   background-color: var(--color-white);
   border: 1px solid var(--color-pink-500);
   border-radius: var(--radius-button);
}

/** ||| HOME - EQUILIBRIUM SECTION ||| **/

.new-section.equilibrium .content {
   padding-top: var(--small-space);
}

.new-section.equilibrium .content.is-layout-flex {
   gap: var(--xhuge-space);
}

.new-section.equilibrium h3 {
   padding-top: var(--tiny-space);
   padding-bottom: var(--tiny-space);
}

.new-section.equilibrium h4 {
   border-top: 1px solid var(--color-pink-200);
   border-bottom: 1px solid var(--color-pink-200);
   padding-top: var(--small-space);
   padding-bottom: var(--small-space);
}

.new-section.equilibrium ul.big-height {
   padding-top: var(--xxxsmall-space);
}

.new-section.equilibrium .wp-block-columns.content {
   margin-bottom: var(--double-space);
}

.new-section.equilibrium .content.is-layout-flex {
   background-image: url(https://maress.mx/wp-content/uploads/2026/08/equilibrium-dot.svg);
   background-repeat: no-repeat;
   background-position: center 278px;
}

/* ||| HOME - TESTIMONIALS ||| */

.new-section.testimonials .content {
   padding-top: var(--xxsmall-space);
}

/* ||| METHOD ||| */

.new-section.full-body .content {
   padding-top: var(--xsmall-space);
   padding-bottom: var(--xsmall-space);
}

.new-section.full-body .benefits {
   padding-top: var(--xsmall-space);
}

.benefits-icon {
   width: 80px;
}

/* ||| CLASSES ||| */

.new-section.rythm .content.is-layout-flex {
   gap: var(--standard-space);
}

.new-section.rythm p.small-padding-top {   
   margin-top: 7px;
}

.new-section.rythm .live-class {
   padding: var(--xxsmall-space); 
}

.new-section.rythm .live-class figure {
   float: left;
}

.new-section.rythm .live-class p {
   margin: 0;
   margin-left:var(--huge-space);
}

.new-section.rythm .live-class p.dark-gray-text {
   margin-top: 19px;
}

/* ||| COMMUNITY SECTION |||  */

.moreThan-top-btm-padding {
   padding-top: var(--small-space);
   padding-bottom: var(--xxxsmall-space);
}

.ambassador .content {
   padding-top: var(--standard-space);
}

.new-section.ambassador .content.is-layout-flex {
   gap: var(--big-space);
}

.new-section.ambassador .content hr {
   margin-top: var(--small-space);
   margin-bottom: var(--small-space);
   width: 100%;
}

/* ||| MEMBERSHIP SECTION |||  */

.new-section.membership-tables .content {
   padding-top: var(--double-space);
}

.new-section.membership-tables .content hr.wp-block-separator {
   max-width: 100% !important;
   height: 1px !important;
   border: none;
}

.new-section.membership-tables ul {
   list-style: none;
   padding-left: 0;
}

.new-section.membership-tables li {
   background: url(https://maress.mx/wp-content/uploads/2026/09/bullet-check-mark.svg) no-repeat 0px 4px;
   padding-left: var(--xsmall-space);
   margin-bottom: var(--xxxsmall-space);
}

.new-section.membership-tables .content.is-layout-flex {
   gap: var(--double-space);
}

/* ||| OVERLAY - PROTECTED CONTENT |||  */   

/* Contenedor del Paywall Overlay */
.maress-paywall-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin: 30px 0;
    min-height: 320px;
    background: #fdf8f9;
    border: 1px solid #f2e6e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fondo difuminado (Blur) */
.maress-paywall-blur {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px;
    filter: blur(7px);
    opacity: 0.3;
    pointer-events: none;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.maress-fake-player {
    width: 80%;
    height: 140px;
    background: #e5d3d7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

.maress-fake-play-icon {
    font-size: 32px;
    color: #ffffff;
}

/* Tarjeta Flotante Overlay */
.maress-paywall-card {
    position: relative;
    z-index: 5;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #f2e6e9;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(210, 118, 133, 0.08);
}

.maress-paywall-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.maress-paywall-title {
    font-size: 22px;
    color: #2b2b2b;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.maress-paywall-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 24px;
}

.maress-paywall-btn {
    display: inline-block;
    background: #d27685;
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(210, 118, 133, 0.25);
}

.maress-paywall-btn:hover {
    background: #b85d6c;
}

/* ||| OCULTAR MENUS |||  */ 

body:not(.logged-in) .solo-logueados {
    display: none !important;
}

/* Ocultar ítems de visitante cuando SÍ hay sesión iniciada */
body.logged-in .solo-visitantes {
    display: none !important;
}

/* |||  ||| */