/* Palheiros account: guest access follows the standalone registration page. */
body.pdb-account-page .main_title { display: none !important; }
body.pdb-account-page #content-area:before,
body.pdb-account-page #main-content .container:before { display: none !important; }
body.pdb-account-page #main-content .container { width: 100%; max-width: none; padding: 0; }
body.pdb-account-page #content-area { width: 100%; padding: 0; }
body.pdb-account-page #left-area { width: 100%; padding: 0; }
body.pdb-account-page #sidebar { display: none !important; }
body.pdb-account-guest #main-header,
body.pdb-account-guest #top-header,
body.pdb-account-guest #main-footer,
body.pdb-account-guest .et-l--header,
body.pdb-account-guest .et-l--footer { display: none !important; }
body.pdb-account-guest #page-container { padding-top: 0 !important; }
body.pdb-account-guest #main-content { background: #edeceb; }

.pdb-account-shell { box-sizing: border-box; width: 100%; padding: 32px 16px; }
.pdb-account-shell * { box-sizing: border-box; }
body.pdb-account-guest .pdb-account-shell {
    min-height: 100svh; min-height: 100dvh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 20px 8px;
}
.pdb-account-shell .pdb-reg-brand img { width: 120px; max-width: 42vw; height: auto; }
.pdb-account-card {
    width: min(100%, 960px); margin: 0 auto; padding: 28px;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 18px;
    box-shadow: 0 12px 36px rgba(0,0,0,.08); color: #17202a;
}
.pdb-login-card { width: min(100%, 600px); margin: 32px auto; padding: 32px; }
.pdb-account-card h2 { margin: 0 0 8px; color: #17202a; font-size: 32px; line-height: 1.15; }
.pdb-account-intro { margin: 0 0 24px; color: #52606b; line-height: 1.45; }
.pdb-login-card .woocommerce > h2 { display: none; }
.pdb-login-card .woocommerce form.login,
.pdb-login-card .woocommerce form.lost_reset_password { border: 0; padding: 0; margin: 0; }
.pdb-login-card .woocommerce form .form-row { width: 100%; float: none; margin: 0 0 16px; padding: 0; }
.pdb-login-card .woocommerce form label { display: block; color: #17202a; font-size: 14px; font-weight: 650; margin-bottom: 6px; }
.pdb-login-card .woocommerce form input.input-text {
    width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #cbd5e1;
    border-radius: 9px; background: #fff; font: inherit;
}
.pdb-login-card .woocommerce form input.input-text:focus { outline: 2px solid #16a34a; outline-offset: 1px; }
.pdb-login-card .woocommerce form button.button {
    min-height: 48px; padding: 12px 18px !important; border: 0 !important;
    border-radius: 10px !important; background: #16a34a !important;
    color: #fff !important; font-size: 16px; font-weight: 750;
}
.pdb-login-card .woocommerce form button.button:hover { background: #15803d !important; }
.pdb-login-card .woocommerce .woocommerce-LostPassword { margin-top: 14px; }
.pdb-login-card a, .pdb-portal a:not(.pdb-action):not(.pdb-order) { color: #166534; }
.pdb-account-register { margin: 18px 0 0; text-align: center; }

.pdb-portal-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 24px; }
.pdb-portal-head p { margin: 0; color: #52606b; }
.pdb-kicker { display: inline-block; margin-bottom: 8px; color: #16a34a; font-size: 13px; font-weight: 700; }
.pdb-portal-head .pdb-exit { color: #991b1b !important; font-weight: 700; white-space: nowrap; }
.pdb-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.pdb-action { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; text-decoration: none !important; }
.pdb-action:hover { border-color: #16a34a; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.pdb-action strong { color: #17202a; font-size: 16px; }
.pdb-action span { color: #52606b; font-size: 14px; line-height: 1.35; }
.pdb-info-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 18px; }
.pdb-info, .pdb-endpoint { background: #fafafa; border: 1px solid #e5e7eb; border-radius: 18px; padding: 20px; }
.pdb-info h3 { margin: 0 0 12px; color: #17202a; font-size: 20px; }
.pdb-info p { margin: 8px 0 0; color: #52606b; }
.pdb-orders { display: grid; gap: 10px; }
.pdb-order { display: flex; justify-content: space-between; gap: 16px; padding: 12px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; text-decoration: none !important; }
.pdb-order span { display: grid; gap: 4px; }
.pdb-order span:last-child { text-align: right; }
.pdb-order strong { color: #17202a; }
.pdb-order small { color: #52606b; }
.pdb-back { margin: 0 0 16px; font-weight: 700; }
.pdb-endpoint .woocommerce-MyAccount-navigation { display: none !important; }
.pdb-endpoint .woocommerce-MyAccount-content { float: none !important; width: 100% !important; }
.pdb-endpoint .woocommerce button.button,
.pdb-endpoint .woocommerce a.button { background: #16a34a !important; color: #fff !important; border: 0 !important; border-radius: 8px !important; }

@media (max-width: 640px) {
    .pdb-account-shell { padding: 20px 8px; }
    body.pdb-account-guest .pdb-account-shell { justify-content: flex-start; padding-top: 20px; }
    .pdb-account-shell .pdb-reg-brand img { width: 112px; }
    .pdb-login-card { width: 100%; margin: 8px auto; padding: 18px 14px; }
    .pdb-account-card h2 { font-size: 25px; }
    .pdb-account-intro { margin-bottom: 16px; font-size: 14px; }
    .pdb-portal { padding: 18px 14px; }
    .pdb-portal-head { flex-direction: column; gap: 10px; }
    .pdb-actions, .pdb-info-grid { grid-template-columns: 1fr; }
    .pdb-order { flex-direction: column; }
    .pdb-order span:last-child { text-align: left; }
    .pdb-endpoint { padding: 14px; overflow-x: auto; }
    .pdb-login-card .woocommerce form input.input-text { font-size: 16px; }
}
