/* Pagina de login: /my-account/ pentru vizitatorii nelogați (inc/account-login.php).
   Stânga: formularul EDD, cu markup-ul lui neschimbat. Dreapta: noutăți, testimonial, badge-uri. */

/* pagina umple exact ecranul, și când deasupra stă banda „Made in Europe” (wpchill-eu-banner) */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; background: var(--wp--preset--color--main); }
.wp-site-blocks { display: flex; flex-direction: column; flex: 1 0 auto; padding: 0; }

.mlg {
	--mlg-ink: var(--wp--preset--color--main);
	--mlg-paper: var(--wp--preset--color--base);
	--mlg-soft: var(--wp--preset--color--secondary);
	--mlg-line: var(--wp--preset--color--border-light);
	display: grid;
	grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
	flex: 1 0 auto;
	position: relative;
	margin: 0 !important;
	max-width: none !important;
	font-family: var(--wp--preset--font-family--instrument-sans);
}

/* ---- stânga ---- */
.mlg-left { display: flex; align-items: stretch; justify-content: center; box-sizing: border-box; padding: 96px 40px 32px; background: var(--mlg-paper); color: var(--mlg-ink); }
.mlg-box { display: flex; flex-direction: column; width: 100%; max-width: 380px; }
.mlg-box > * { margin-top: 0; margin-bottom: 0; }
/* logo-ul: pe verticală ca în header-ul site-ului (22px + rând de 39px); pe orizontală rămâne aliniat cu formularul (left: auto) */
.mlg-box > .mlg-logo { position: absolute; z-index: 2; top: 22px; display: flex; align-items: center; height: 39px; margin: 0; }
.mlg-logo a { color: inherit; text-decoration: none; }
.mlg-box > .mlg-h { margin-top: auto; }
.mlg-h { margin-bottom: 10px; font-family: var(--wp--preset--font-family--cormorant-garamond); font-size: clamp(2.75rem, 4vw, 3.5rem); font-weight: 500; line-height: 1; letter-spacing: -.01em; }
.mlg-sub { margin-bottom: 32px; font-size: 16px; line-height: 1.5; color: var(--mlg-soft); }
.mlg-sub a, .mlg-links a { color: var(--mlg-ink); text-underline-offset: 3px; }
.mlg-sub a { font-weight: 600; }
/* jos în pagină, pe aceeași linie cu cifrele din dreapta */
.mlg-box > .mlg-foot { margin-top: auto; }
.mlg-legal { margin: 0; font-size: 13px; line-height: 1.5; color: var(--mlg-soft); }
.mlg-foot > .mlg-links { display: flex; gap: 18px; margin: 6px 0 0; font-size: 13px; }
.mlg-links a { color: var(--mlg-soft); }

.mlg-box #edd_login_form { margin: 0 0 40px; }
.mlg-box #edd_login_form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.mlg-box #edd_login_form legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mlg-box #edd_login_form p { position: relative; margin: 0 0 20px; }
.mlg-box #edd_login_form label { display: block; margin: 0 0 8px; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--mlg-ink); }
.mlg-box #edd_login_form .edd-input {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	padding: 0 16px 0 46px;
	border: 1px solid var(--mlg-line);
	border-radius: 10px;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: 16px center;
	background-size: 18px;
	font: inherit;
	font-size: 16px;
	color: var(--mlg-ink);
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.mlg-box #edd_user_login { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B675F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E"); }
.mlg-box #edd_user_pass { padding-right: 48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B675F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2.5'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.mlg-box #edd_login_form .edd-input:hover { border-color: #b9b3a7; }
.mlg-box #edd_login_form .edd-input:focus { outline: none; border-color: var(--mlg-ink); box-shadow: 0 0 0 3px rgba(30, 30, 28, .12); }
.mlg-eye { position: absolute; right: 6px; bottom: 6px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--mlg-soft); cursor: pointer; }
.mlg-eye:hover { color: var(--mlg-ink); }
.mlg-eye:focus-visible { outline: 2px solid var(--mlg-ink); outline-offset: -2px; }
.mlg-eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mlg-box #edd_login_form .edd-login-remember { margin-bottom: 24px; }
.mlg-box #edd_login_form .edd-login-remember label { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-weight: 400; cursor: pointer; }
.mlg-box #rememberme { width: 20px; height: 20px; margin: 0; accent-color: var(--mlg-ink); }
.mlg-box #edd_login_submit { display: block; box-sizing: border-box; width: 100%; height: 52px; margin: 0; padding: 0 24px; border: 1px solid var(--mlg-ink); border-radius: 999px; background: var(--mlg-ink); color: var(--mlg-paper); font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; box-shadow: none; transition: background .15s ease, color .15s ease; }
.mlg-box #edd_login_submit:hover { background: transparent; color: var(--mlg-ink); }
.mlg-box #edd_login_submit:focus-visible { outline: 2px solid var(--mlg-ink); outline-offset: 3px; }
.mlg-box #edd_login_form .edd-login-submit { margin-bottom: 18px; }
.mlg-box #edd_login_form .edd-lost-password { margin: 0; font-size: 15px; }
.mlg-box #edd_login_form .edd-lost-password a { color: var(--mlg-ink); text-underline-offset: 3px; }
.mlg-box .edd_errors { margin: 0 0 20px; padding: 12px 14px; border: 1px solid #d9a79c; border-radius: 10px; background: #fbeeea; color: #7c2d1c; font-size: 15px; line-height: 1.45; }
.mlg-box .edd_errors p { margin: 0; }

/* ---- dreapta: trei noutăți, un testimonial, badge-urile de încredere ---- */
.mlg-right { position: relative; display: flex; align-items: stretch; justify-content: center; box-sizing: border-box; padding: 40px 56px 32px; background: var(--mlg-ink); color: var(--mlg-paper); overflow: hidden; }
.mlg-news { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 620px; }
.mlg-title { margin: auto 0 16px; font-family: var(--wp--preset--font-family--cormorant-garamond); font-size: clamp(1.875rem, 2.5vw, 2.375rem); font-weight: 500; line-height: 1.05; color: inherit; }
.mlg-list { display: grid; gap: 10px; margin-bottom: 40px; }
.mlg-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; box-sizing: border-box; padding: 18px 20px 18px 24px; border-radius: 14px; background: #fff; color: var(--mlg-ink); }
.mlg-txt { min-width: 0; }
/* articolele vin din blog: titlurile lungi nu au voie să strice coloana */
.mlg-txt h3, .mlg-txt p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mlg-txt h3 { padding-bottom: .08em; }
.mlg-txt h3 { margin: 0 0 4px; font-family: var(--wp--preset--font-family--cormorant-garamond); font-size: 26px; font-weight: 600; line-height: 1.1; color: inherit; }
.mlg-txt p { margin: 0; font-size: 15px; line-height: 1.38; color: var(--mlg-soft); }
.mlg-cta { display: inline-flex; align-items: center; box-sizing: border-box; height: 34px; padding: 0 16px; white-space: nowrap; border: 1px solid var(--mlg-ink); border-radius: 999px; background: var(--mlg-ink); color: var(--mlg-paper); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; line-height: 1; text-decoration: none; text-transform: uppercase; transition: background .15s ease, color .15s ease; }
a.mlg-cta:hover { background: transparent; color: var(--mlg-ink); }
a.mlg-cta:focus-visible { outline: 2px solid var(--mlg-ink); outline-offset: 2px; }


/* jos, lipite de marginea panoului: testimonialul și cifrele, fără cutii, cu tipografia site-ului */
.mlg-quote { margin: auto 0 0; padding: 24px 0 0; border-top: 1px solid rgba(245, 243, 238, .16); }
.mlg-stars { display: block; margin-bottom: 10px; font-size: 14px; line-height: 1; letter-spacing: .14em; color: #e6b34a; }
.mlg-quote blockquote { margin: 0; padding: 0; border: 0; font-family: var(--wp--preset--font-family--cormorant-garamond); font-size: 23px; font-weight: 500; font-style: normal; line-height: 1.26; color: inherit; text-wrap: pretty; }
.mlg-quote figcaption { margin-top: 12px; font-size: 13px; line-height: 1.4; color: rgba(245, 243, 238, .62); }
.mlg-quote strong { font-weight: 600; color: var(--mlg-paper); }
.mlg-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(245, 243, 238, .16); list-style: none; }
.mlg-badges li { display: flex; flex-direction: column; gap: 5px; min-width: 0; margin: 0; padding: 0 0 0 24px; border-left: 1px solid rgba(245, 243, 238, .16); }
.mlg-badges li:first-child { padding-left: 0; border-left: 0; }
.mlg-badges span { font-size: 11px; font-weight: 600; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; color: rgba(245, 243, 238, .62); white-space: nowrap; }
.mlg-badges strong { display: flex; align-items: center; gap: 8px; font-family: var(--wp--preset--font-family--cormorant-garamond); font-size: 28px; font-weight: 500; line-height: 1.05; }
.mlg-badges i { font-style: normal; font-size: .7em; color: #e6b34a; }
.mlg-eu strong::after { content: ""; flex: 0 0 auto; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 52 52' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='26' cy='26' r='25' fill='%231146b8'%3E%3C/circle%3E%3Cg fill='%23FFCC00'%3E%3Ccircle cx='26' cy='7.8' r='1.7'%3E%3C/circle%3E%3Ccircle cx='35.1' cy='10.2' r='1.7'%3E%3C/circle%3E%3Ccircle cx='41.8' cy='16.9' r='1.7'%3E%3C/circle%3E%3Ccircle cx='44.2' cy='26' r='1.7'%3E%3C/circle%3E%3Ccircle cx='41.8' cy='35.1' r='1.7'%3E%3C/circle%3E%3Ccircle cx='35.1' cy='41.8' r='1.7'%3E%3C/circle%3E%3Ccircle cx='26' cy='44.2' r='1.7'%3E%3C/circle%3E%3Ccircle cx='16.9' cy='41.8' r='1.7'%3E%3C/circle%3E%3Ccircle cx='10.2' cy='35.1' r='1.7'%3E%3C/circle%3E%3Ccircle cx='7.8' cy='26' r='1.7'%3E%3C/circle%3E%3Ccircle cx='10.2' cy='16.9' r='1.7'%3E%3C/circle%3E%3Ccircle cx='16.9' cy='10.2' r='1.7'%3E%3C/circle%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }

@media (max-height: 800px) and (min-width: 1024px) {
	.mlg-left, .mlg-right { padding-top: 24px; padding-bottom: 24px; }
	.mlg-left { padding-top: 76px; }
	.mlg-sub { margin-bottom: 20px; }
	.mlg-box #edd_login_form p { margin-bottom: 14px; }
	.mlg-box #edd_login_form { margin-bottom: 24px; }
	.mlg-title { margin-bottom: 10px; font-size: 1.75rem; }
	.mlg-list { gap: 8px; margin-bottom: 20px; }
	.mlg-card { padding: 12px 16px 12px 20px; }
	.mlg-txt h3 { font-size: 21px; }
	.mlg-txt p { font-size: 13.5px; }
	.mlg-cta { height: 30px; font-size: 10.5px; }
	.mlg-quote { padding-top: 14px; }
	.mlg-stars { margin-bottom: 7px; font-size: 12px; }
	.mlg-quote blockquote { font-size: 18px; }
	.mlg-quote figcaption { margin-top: 7px; font-size: 12px; }
	.mlg-badges { margin-top: 13px; padding-top: 12px; }
	.mlg-badges strong { font-size: 22px; }
}
@media (max-height: 640px) and (min-width: 1024px) { .mlg-quote { display: none; } }
@media (max-width: 1240px) and (min-width: 1024px) {
	.mlg-right { padding-left: 32px; padding-right: 32px; }
	.mlg-card { gap: 16px; padding: 16px 16px 16px 20px; }
}
@media (min-width: 1800px) {
	.mlg-box { max-width: 440px; }
	.mlg-news { max-width: 800px; }
	.mlg-card { gap: 32px; padding: 26px 28px 26px 32px; }
	.mlg-txt h3 { font-size: 31px; }
	.mlg-txt p { font-size: 17px; }
	.mlg-cta { height: 40px; padding: 0 20px; font-size: 13px; }
	.mlg-title { font-size: 3rem; margin-bottom: 22px; }
	.mlg-list { margin-bottom: 56px; }
	.mlg-quote { padding-top: 32px; }
	.mlg-stars { margin-bottom: 14px; font-size: 18px; }
	.mlg-quote blockquote { font-size: 30px; }
	.mlg-quote figcaption { margin-top: 16px; font-size: 15px; }
	.mlg-badges { margin-top: 30px; padding-top: 26px; }
	.mlg-badges li { padding-left: 32px; gap: 7px; }
	.mlg-badges strong { font-size: 36px; }
	.mlg-badges span { font-size: 13px; }
}
@media (max-width: 1023px) {
	.mlg { grid-template-columns: minmax(0, 1fr); }
	.mlg-left { padding: 104px 24px 16px; }
	.mlg-right { padding: 56px 24px 128px; }
	/* pe o coloană, „jos în pagină” înseamnă sub cifre, pe panoul închis */
	.mlg-box > .mlg-foot { position: absolute; z-index: 2; bottom: 32px; left: max(24px, calc((100vw - 620px) / 2)); right: max(24px, calc((100vw - 620px) / 2)); margin: 0; color: rgba(245, 243, 238, .62); }
	.mlg-foot .mlg-legal, .mlg-foot .mlg-links a { color: rgba(245, 243, 238, .62); }
	.mlg-news { max-width: 620px; }
}
@media (max-width: 520px) {
	.mlg-card { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 12px; padding: 18px 20px; }
	.mlg-txt h3 { font-size: 22px; }
	.mlg-txt p { font-size: 14px; }
	.mlg-quote blockquote { font-size: 20px; }
	.mlg-badges li { padding-left: 14px; }
	.mlg-badges span { font-size: 10px; letter-spacing: .08em; }
	.mlg-badges strong { font-size: 24px; gap: 6px; }
	.mlg-eu strong::after { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) { .mlg-cta { transition: none; } }
