/* =====================================================================
   Dalma - Bordo editorial  .  Paid Memberships Pro feluletek
   Design: dalma-bordo-editorial
   bg #F5EDE7 . surface #FDF7F3 . ink #231A1A . accent #8C3243 (bordo)
   heading: Cormorant Garamond . body: Manrope
   Csak a .pmpro feluleteket es a PMPro oldalakat erinti.
   ===================================================================== */

/* Token-lekepezes a PMPro valtozoira (body-ra scope-olva, hogy
   biztosan felulirja a #pmpro_colors :root ertekeit) */
body {
  --pmpro--color--accent:            #8C3243;
  --pmpro--color--accent--variation: #6E2334;
  --pmpro--color--contrast:          #231A1A;
  --pmpro--color--base:              #FDF7F3;
  --pmpro--color--base-2:            #EFE1D8;
  --pmpro--color--white:             #FDF7F3;
  --pmpro--color--border:            #E7D8CE;
  --pmpro--color--border--variation: #E7D8CE;
  --pmpro--base--border-radius:      10px;
  --pmpro--box-shadow:               0 16px 40px rgba(139, 50, 63, 0.07);
}

/* Oldalhatter a PMPro oldalakon (meleg krem) */
body.pmpro-login,
body.pmpro-levels,
body.pmpro-checkout,
body.pmpro-account,
body.pmpro-billing,
body.pmpro-cancel,
body.pmpro-confirmation,
body.pmpro-invoice,
body.pmpro-member-profile-edit { background-color: #F5EDE7; }

/* Tartalomszelesseg */
body.pmpro-login    .pmpro { max-width: 500px;  margin-inline: auto; }
body.pmpro-levels   .pmpro { max-width: 1000px; margin-inline: auto; }
body.pmpro-checkout .pmpro,
body.pmpro-account  .pmpro,
body.pmpro-billing  .pmpro,
body.pmpro-cancel   .pmpro,
body.pmpro-invoice  .pmpro,
body.pmpro-confirmation .pmpro { max-width: 880px; margin-inline: auto; }

/* Tipografia */
.pmpro,
.pmpro input, .pmpro select, .pmpro textarea, .pmpro button,
.pmpro label, .pmpro p, .pmpro li, .pmpro td, .pmpro th, .pmpro a {
  font-family: 'Manrope', -apple-system, system-ui, sans-serif;
  color: #231A1A;
}
.pmpro h1, .pmpro h2, .pmpro h3, .pmpro h4,
.pmpro .pmpro_card_title, .pmpro .pmpro_font-large {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500; color: #231A1A;
  line-height: 1.12; letter-spacing: 0.005em;
}
.pmpro .pmpro_card_title { font-size: clamp(1.7rem, 3.4vw, 2.35rem); margin: 0 0 0.5em; }

/* Kartyak (login wrap, szint-csoportok, fiok-blokkok) */
.pmpro .pmpro_card {
  background: #FDF7F3; border: 1px solid #E7D8CE; border-radius: 16px;
  box-shadow: 0 16px 40px rgba(139, 50, 63, 0.07);
  padding: clamp(24px, 4vw, 40px);
}
.pmpro .pmpro_login_wrap { margin-inline: auto; }

/* Cimkek */
.pmpro .pmpro_form_label { color: #231A1A; font-weight: 500; letter-spacing: 0.01em; margin-bottom: 6px; }
.pmpro .pmpro_asterisk { color: #8C3243; }

/* Beviteli mezok */
.pmpro input[type="text"], .pmpro input[type="email"],
.pmpro input[type="password"], .pmpro input[type="url"],
.pmpro input[type="search"], .pmpro input[type="number"],
.pmpro input[type="tel"], .pmpro input[type="date"],
.pmpro select, .pmpro textarea {
  background: #FFFDFC; border: 1px solid #E7D8CE; border-radius: 10px;
  color: #231A1A; padding: 12px 14px; box-shadow: none;
}
.pmpro input:focus, .pmpro select:focus, .pmpro textarea:focus {
  border-color: #8C3243; outline: none; box-shadow: 0 0 0 3px rgba(139, 50, 63, 0.14);
}
.pmpro ::placeholder { color: #6B5A5A; opacity: 0.85; }

/* Elsodleges gombok */
.pmpro .pmpro_btn, .pmpro .pmpro_btn-submit,
.pmpro a.pmpro_btn-select, .pmpro input[type="submit"] {
  background-color: #8C3243; border: 1px solid #8C3243; color: #FFFFFF;
  border-radius: 10px; padding: 14px 30px;
  font-family: 'Manrope', sans-serif; font-weight: 600; letter-spacing: 0.01em;
  text-transform: none; text-decoration: none; box-shadow: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.08s ease;
}
.pmpro .pmpro_btn:hover, .pmpro .pmpro_btn-submit:hover,
.pmpro a.pmpro_btn-select:hover, .pmpro input[type="submit"]:hover {
  background-color: #6E2334; border-color: #6E2334; color: #FFFFFF;
}
.pmpro .pmpro_btn:active, .pmpro a.pmpro_btn-select:active { transform: translateY(1px); }

/* Masodlagos / plain gomb (pl. jelszo-mutato) */
.pmpro .pmpro_btn-plain { background: transparent; border: none; color: #6B5A5A; box-shadow: none; padding: 0; }
.pmpro .pmpro_btn-plain:hover { color: #8C3243; background: transparent; }
.pmpro .pmpro_icon svg { stroke: currentColor; }

/* Linkek */
.pmpro a:not(.pmpro_btn):not(.pmpro_btn-select) { color: #8C3243; text-decoration: underline; text-underline-offset: 2px; }
.pmpro a:not(.pmpro_btn):not(.pmpro_btn-select):hover { color: #6E2334; }

/* Muveleti navigacio (elfelejtett jelszo / regisztracio) */
.pmpro .pmpro_actions_nav { margin-top: 20px; font-size: 0.95rem; color: #6B5A5A; }

/* Tagsagi szintek tabla */
.pmpro .pmpro_levels_table { width: 100%; border-collapse: collapse; }
.pmpro .pmpro_levels_table th {
  text-align: left; font-family: 'Manrope', sans-serif; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem;
  color: #6B5A5A; border-bottom: 1px solid #E7D8CE; padding: 0 0 12px;
}
.pmpro .pmpro_levels_table td { padding: 18px 0; border-bottom: 1px solid #EFE1D8; vertical-align: middle; }
.pmpro .pmpro_levels_table tr:last-child td { border-bottom: none; }
.pmpro .pmpro_levels_table td:first-child { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; color: #231A1A; }
.pmpro .pmpro_level-price {
  font-family: 'Cormorant Garamond', serif; font-weight: 600; color: #8C3243;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0;
}
#pmpro_levels .pmpro_level_group { margin-bottom: 32px; }

/* Tablazatok altalaban (fiok, szamla, szamlazas) */
.pmpro .pmpro_table th {
  background: transparent; color: #6B5A5A; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 600; border-bottom: 1px solid #E7D8CE;
}
.pmpro .pmpro_table td { border-bottom: 1px solid #EFE1D8; }

/* Uzenetek (szemantikus szinek maradnak, csak lekerekites) */
.pmpro .pmpro_message { border-radius: 10px; }

/* Spacer finomhangolas (density: airy) */
.pmpro .pmpro_spacer { height: 8px; }

/* Reszponziv */
@media (max-width: 600px) {
  .pmpro .pmpro_card { padding: 22px; border-radius: 14px; }
  .pmpro .pmpro_btn, .pmpro a.pmpro_btn-select { width: 100%; text-align: center; }
}
/* A PMPro oldalak Elementor-szekcioinak hattere atlatszo (kremszin latszodjon a regi szurke helyett) */
body.pmpro-login .elementor-section,
body.pmpro-levels .elementor-section,
body.pmpro-checkout .elementor-section,
body.pmpro-account .elementor-section,
body.pmpro-billing .elementor-section,
body.pmpro-cancel .elementor-section,
body.pmpro-confirmation .elementor-section,
body.pmpro-invoice .elementor-section,
body.pmpro-member-profile-edit .elementor-section { background-color: transparent !important; background-image: none !important; }

/* === Dalma site chrome: Astra fejlec === */
.ast-primary-header-bar, #masthead { background-color:#F5EDE7; }
#masthead { box-shadow:none; border-bottom:1px solid #ECDDD4; }
.custom-logo { max-height:46px; width:auto; height:auto; }
#masthead .menu-item > a { font-family:'Manrope',sans-serif; color:#231A1A; font-weight:500; letter-spacing:.01em; }
#masthead .menu-item > a:hover, #masthead .menu-item.current-menu-item > a { color:#8C3243; }

/* csak logo a fejlecben (site title elrejtese) + logo meret */
#masthead .site-title, #masthead .ast-site-title-wrap .site-title { display:none !important; }
#masthead .custom-logo { max-height:52px !important; width:auto; }
/* Fejlec magassag rogzitese, logo kozepre, a magassag 80%-an (72/90) */
#masthead .ast-primary-header-bar, #masthead .site-primary-header-wrap { min-height:90px; }
#masthead .ast-primary-header-bar .site-header-section { align-items:center; }
#masthead .site-branding .custom-logo-link { display:inline-flex; align-items:center; padding:0; margin:0; line-height:0; }

/* PMPro oldalak: Elementor wrapper-hatterek atlatszova (regi szurke panel eltuntetese, barmelyik wrapperen is van) */
body.pmpro-login .elementor-element, body.pmpro-levels .elementor-element, body.pmpro-checkout .elementor-element, body.pmpro-account .elementor-element, body.pmpro-billing .elementor-element, body.pmpro-cancel .elementor-element, body.pmpro-confirmation .elementor-element, body.pmpro-invoice .elementor-element, body.pmpro-member-profile-edit .elementor-element {
  background-color: transparent !important; background-image: none !important; box-shadow: none !important; border-radius: 0 !important;
}

/* A tartalmas oszlop widget-wrap szurke hatterenek eltuntetese PMPro oldalakon */
body.pmpro-login .elementor-widget-wrap, body.pmpro-login .elementor-element-populated, body.pmpro-levels .elementor-widget-wrap, body.pmpro-levels .elementor-element-populated, body.pmpro-checkout .elementor-widget-wrap, body.pmpro-checkout .elementor-element-populated, body.pmpro-account .elementor-widget-wrap, body.pmpro-account .elementor-element-populated, body.pmpro-billing .elementor-widget-wrap, body.pmpro-billing .elementor-element-populated, body.pmpro-cancel .elementor-widget-wrap, body.pmpro-cancel .elementor-element-populated, body.pmpro-confirmation .elementor-widget-wrap, body.pmpro-confirmation .elementor-element-populated, body.pmpro-invoice .elementor-widget-wrap, body.pmpro-invoice .elementor-element-populated, body.pmpro-member-profile-edit .elementor-widget-wrap, body.pmpro-member-profile-edit .elementor-element-populated {
  background-color: transparent !important; background-image:none !important; box-shadow: none !important; border-radius: 0 !important;
}
/* Kartya 'actions' lablec: warm helyett szurke */
.pmpro .pmpro_card_actions { background-color: transparent !important; border-top: 1px solid #EFE1D8; }

/* Logo-oldal padding csokkentese, hogy a fejlec 90px legyen es a logo 80% (72/90) */
#masthead .site-branding { padding-top:7px !important; padding-bottom:7px !important; }
#masthead .ast-builder-menu-1 .menu-item, #masthead #ast-hf-menu-1 .menu-item { line-height:1.4; }

/* Fooldal theme-site-logo a referencia (dalma-coaching.de) aranyahoz (~52px keppmagassag) */
.elementor-widget-theme-site-logo img { width:auto !important; max-height:52px !important; height:auto !important; }

/* === Astra lablec - Dalma bordo === */
#colophon.site-footer, .site-footer { background-color:#F5EDE7; border-top:1px solid #ECDDD4; }
.ast-footer-copyright { text-align:center; padding:20px 0; }
.ast-footer-copyright p, .ast-footer-copyright { font-family:'Manrope',sans-serif; color:#6B5A5A; font-size:14px; margin:0; }
#colophon a { color:#8C3243; text-decoration:none; }
#colophon a:hover { color:#6E2334; text-decoration:underline; }

/* === Dalma design: H1-ek es tartalmi linkek bordo === */
h1, h1 a, .elementor-widget-heading h1.elementor-heading-title, .entry-title, .ast-archive-title { color:#8C3243 !important; }
.elementor-widget-text-editor a:not(.elementor-button), .elementor-widget-heading a, .entry-content a:not(.elementor-button):not(.wp-block-button__link), .ast-the-content a:not(.wp-block-button__link) { color:#8C3243; }
.elementor-widget-text-editor a:not(.elementor-button):hover, .entry-content a:not(.elementor-button):hover, .ast-the-content a:hover { color:#6E2334; }


/* --- Levels oldal: Select gomb szovege tisztan feher --- */
body.pmpro-levels a.pmpro_btn-select,
body.pmpro-levels a.pmpro_btn-select * { color: #FFFFFF !important; }
