.mg-account-benefit{display:flex;align-items:center;gap:16px;margin:0 0 24px;padding:18px 20px;border:1px solid #e3d8f1;border-radius:18px;background:#faf7ff;box-shadow:0 8px 28px rgba(76,49,105,.07)}
.mg-account-benefit>span{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:50%;background:#ede3f7;color:#744b9d;font-size:24px}
.mg-account-benefit div{flex:1}.mg-account-benefit strong{display:block;color:#2b2133;font-size:17px}.mg-account-benefit p{margin:4px 0 0;color:#665d6c}.mg-account-benefit .mg-button{white-space:nowrap}
.mg-orders-intro{margin-bottom:24px}.mg-orders-intro h2{margin-bottom:6px}.mg-orders-intro p{margin:0;color:#6d6572}
.mg-order-card-detailed{display:block!important;padding:22px!important}.mg-order-card-detailed>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.mg-order-card-detailed h3{margin:5px 0 0}.mg-download-status{padding:7px 10px;border-radius:999px;font-size:12px;font-weight:700}.mg-download-status.is-active{background:#e7f7ee;color:#17643a}.mg-download-status.is-expired{background:#f1eef3;color:#756d7a}
.mg-order-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 16px}.mg-order-photo{display:flex;align-items:center;gap:12px;padding:9px;border:1px solid #eee8f2;border-radius:12px}.mg-order-photo img{width:64px;height:64px;object-fit:cover;border-radius:9px}.mg-order-photo span{display:flex;flex-direction:column;gap:4px;min-width:0}.mg-order-photo strong{overflow:hidden;text-overflow:ellipsis}.mg-order-photo a{color:#70499b;font-weight:700}.mg-order-photo small{color:#8a828f}.mg-download-deadline{padding:10px 12px;border-radius:10px;background:#f7f1fc}
@media(max-width:700px){.mg-account-benefit{align-items:flex-start;flex-wrap:wrap}.mg-account-benefit div{flex-basis:calc(100% - 58px)}.mg-account-benefit .mg-button{width:100%;text-align:center}.mg-order-card-detailed>header{display:block}.mg-download-status{display:inline-block;margin-top:10px}.mg-order-photos{grid-template-columns:1fr}}

.mg-registration-intro{display:flex;gap:16px;align-items:flex-start;margin:0 0 24px;padding:20px 22px;border:1px solid #e5dcf0;border-radius:18px;background:linear-gradient(135deg,#fbf8ff 0%,#f3ecfb 100%);color:#31283b}
.mg-registration-intro>span{display:grid;flex:0 0 42px;width:42px;height:42px;place-items:center;border-radius:13px;background:#7750a8;color:#fff;font-size:22px}
.mg-registration-intro strong{display:block;margin-bottom:4px;font-size:1.05rem}.mg-registration-intro p{margin:0;line-height:1.55}
@media(max-width:600px){.mg-registration-intro{padding:17px}}

/* Cadastro antes da compra: remove a grade do painel usada somente após o login. */
body.woocommerce-account:not(.logged-in) .page-content{max-width:1060px;margin-left:auto;margin-right:auto;padding:34px}
body.woocommerce-account:not(.logged-in) .page-content>.woocommerce{display:block;width:100%;max-width:none}
body.woocommerce-account:not(.logged-in) .mg-registration-intro{width:100%;box-sizing:border-box}
body.woocommerce-account:not(.logged-in) #customer_login{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;width:100%;margin:0}
body.woocommerce-account:not(.logged-in) #customer_login::before,
body.woocommerce-account:not(.logged-in) #customer_login::after{display:none}
body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
body.woocommerce-account:not(.logged-in) #customer_login .u-column2{float:none;width:auto;margin:0;padding:28px;border:1px solid #e8dff0;border-radius:18px;background:#fff;box-shadow:0 12px 32px rgba(77,50,94,.07);box-sizing:border-box;min-width:0}
body.woocommerce-account:not(.logged-in) #customer_login h2{margin:0 0 18px;color:#2d2433;font-size:1.55rem}
body.woocommerce-account:not(.logged-in) #customer_login form{margin:0;padding:0;border:0}
body.woocommerce-account:not(.logged-in) #customer_login .form-row{display:block;width:100%;margin:0 0 16px}
body.woocommerce-account:not(.logged-in) #customer_login label{display:block;margin:0 0 7px;font-weight:700;color:#554c5c}
body.woocommerce-account:not(.logged-in) #customer_login input.input-text{display:block;width:100%;min-width:0;padding:13px 14px;border:1px solid #dcd3e4;border-radius:11px;box-sizing:border-box;background:#fff}
body.woocommerce-account:not(.logged-in) #customer_login .password-input{display:block;width:100%}
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-privacy-policy-text{color:#736a78;font-size:.92rem;line-height:1.55}
body.woocommerce-account:not(.logged-in) #customer_login .button{min-height:44px;padding:11px 22px;border-radius:11px;background:#7650a5;color:#fff;font-weight:800}

@media(max-width:760px){
body.woocommerce-account:not(.logged-in) .page-content{padding:16px}
body.woocommerce-account:not(.logged-in) #customer_login{grid-template-columns:1fr;gap:18px}
body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
body.woocommerce-account:not(.logged-in) #customer_login .u-column2{padding:21px 17px}
}

/* Feedback privado do cliente. */
.mg-feedback-panel{max-width:760px;padding:28px;border:1px solid #e7dff0;border-radius:22px;background:#fff;box-shadow:0 14px 38px rgba(76,49,105,.08)}
.mg-feedback-panel>header{display:flex;gap:16px;align-items:flex-start;margin-bottom:24px}
.mg-feedback-panel>header>span{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,#8057ad,#a57bc8);color:#fff;font-size:23px;box-shadow:0 8px 20px rgba(118,80,165,.22)}
.mg-feedback-panel h2{margin:0 0 6px;color:#2d2433;font-size:1.65rem}.mg-feedback-panel header p{margin:0;color:#706778;line-height:1.6}
.mg-feedback-success{display:flex;flex-direction:column;gap:3px;margin:0 0 22px;padding:15px 17px;border:1px solid #bfe5cd;border-radius:13px;background:#eefaf2;color:#175f37}
.mg-feedback-form{display:grid;gap:21px}.mg-feedback-form fieldset{margin:0;padding:0;border:0}.mg-feedback-form legend,.mg-feedback-field>span{display:block;margin:0 0 9px;color:#4d4354;font-weight:800}.mg-feedback-field small{font-weight:500;color:#877d8d}
.mg-feedback-stars{display:flex;flex-wrap:wrap;gap:9px}.mg-feedback-stars label{display:flex;align-items:center;gap:6px;min-width:54px;padding:10px 13px;border:1px solid #ddd2e7;border-radius:12px;background:#fbf9fd;color:#7650a5;cursor:pointer;transition:.18s ease}.mg-feedback-stars label:hover{transform:translateY(-1px);border-color:#a988c7;background:#f6f0fb}.mg-feedback-stars input{position:absolute;opacity:0;pointer-events:none}.mg-feedback-stars label:has(input:checked){border-color:#7650a5;background:#7650a5;color:#fff;box-shadow:0 6px 15px rgba(118,80,165,.18)}.mg-feedback-stars span{font-size:19px}.mg-feedback-stars small{font-weight:800}
.mg-feedback-field select,.mg-feedback-field textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #dcd3e4;border-radius:12px;background:#fff;color:#322a37;font:inherit}.mg-feedback-field select{min-height:48px;padding:10px 13px}.mg-feedback-field textarea{padding:14px;resize:vertical;line-height:1.55}.mg-feedback-field select:focus,.mg-feedback-field textarea:focus{outline:3px solid rgba(118,80,165,.14);border-color:#7650a5}.mg-feedback-form>.mg-button{justify-self:start;min-height:46px;padding:12px 22px}
.mg-feedback-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.mg-download-actions{display:flex;flex-wrap:wrap;gap:14px}.mg-feedback-link{display:inline-flex;align-items:center;justify-content:center;margin-top:8px;padding:10px 14px;border:1px solid #d9cce6;border-radius:11px;color:#70499b;font-weight:800;text-decoration:none}.mg-feedback-link:hover{background:#f6f0fb;color:#59367e}
@media(max-width:600px){.mg-feedback-panel{padding:20px 16px}.mg-feedback-panel>header{gap:12px}.mg-feedback-panel h2{font-size:1.4rem}.mg-feedback-stars{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.mg-feedback-stars label{justify-content:center;min-width:0;padding:9px 5px}.mg-feedback-stars small{display:none}.mg-feedback-form>.mg-button{width:100%;justify-content:center;text-align:center}}
