/* Customer profile + settings list. */
.profile-page{max-width:720px;margin-inline:auto;padding-block:34px 80px}
.profile-hero{display:flex;align-items:center;gap:18px;padding:24px;border-radius:22px;background:linear-gradient(135deg,#eef3e9,#fdfaf3);border:1px solid #dce5d7;margin-bottom:16px}
.profile-avatar{display:grid;place-items:center;width:84px;height:84px;flex:none;border-radius:50%;background:linear-gradient(145deg,#356c4c,#1f3f2c);color:#fff;box-shadow:0 10px 24px rgba(31,63,44,.24)}
.profile-avatar svg{width:44px;height:44px}
.profile-identity{min-width:0}
.profile-identity .eyebrow{margin:0}
.profile-identity h1{font-size:clamp(1.8rem,4vw,2.4rem);margin:4px 0 3px;overflow-wrap:anywhere}
.profile-identity p{margin:0;color:var(--muted);font-size:.9rem;overflow-wrap:anywhere}
.profile-identity .profile-phone{margin-top:3px;font-weight:700;color:var(--green);letter-spacing:.02em}
.profile-menu{background:var(--paper);border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 10px 26px rgba(31,38,30,.06)}
.profile-row{display:flex;align-items:center;gap:13px;width:100%;padding:15px 16px;border:0;border-bottom:1px solid #f0ece2;background:transparent;color:var(--ink);text-align:start;font:inherit;cursor:pointer}
.profile-row:hover{background:#f6f8f1;text-decoration:none}
.profile-row-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:11px;background:#eef3e9;color:var(--green)}
.profile-row-icon svg{width:19px;height:19px}
.profile-row-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.profile-row-text strong{font-size:.96rem;line-height:1.25}
.profile-row-text span{font-size:.78rem;color:var(--muted);line-height:1.35;overflow-wrap:anywhere}
.profile-row-end{display:inline-flex;align-items:center;gap:6px;flex:none;color:var(--muted);font-size:.78rem;font-weight:700;white-space:nowrap}
.profile-menu > .profile-row:last-of-type{border-bottom:0}
.profile-logout-form{margin:0;border-top:1px solid #f0ece2}
.profile-logout-form .profile-row{border-bottom:0}
.profile-row-danger{color:#a4392b}
.profile-row-danger .profile-row-icon{background:#fbeae4;color:#a4392b}
.profile-row-danger .profile-row-text strong{color:#a4392b}
.profile-row-danger .profile-row-end{color:#a4392b}

/* Settings sub-pages (account, language, addresses). */
.settings-page{max-width:680px;margin-inline:auto;padding-block:34px 80px}
.settings-back{display:inline-block;font-size:.86rem;font-weight:700;margin-bottom:18px}
.settings-card{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:clamp(20px,4vw,30px);box-shadow:0 10px 26px rgba(31,38,30,.05)}
.settings-card .eyebrow{margin:0}
.settings-card h1{font-size:clamp(1.8rem,4vw,2.3rem);margin:5px 0 6px}
.settings-lead{margin:0 0 20px;color:var(--muted);font-size:.9rem;max-width:62ch}
.settings-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.settings-head .eyebrow{margin:0}
.settings-head h1{margin:4px 0 5px}
.settings-head .settings-lead{margin:0}
.settings-form p{display:grid;gap:6px;margin:0 0 14px}
.settings-form label{font-size:.82rem;font-weight:700}
.settings-form input[type="text"],.settings-form input[type="tel"],.settings-form input[type="email"],.settings-form select,.settings-form textarea{width:100%;border:1px solid #c9d0c6;border-radius:11px;background:#fff;padding:12px 13px;min-height:46px}
.settings-form input:focus,.settings-form select:focus,.settings-form textarea:focus{outline:2px solid #77a583;outline-offset:1px}
.settings-form .helptext{font-size:.72rem;color:var(--muted)}
.settings-form .errorlist{list-style:none;margin:0;padding:0;color:#a4392b;font-size:.76rem}
.settings-form .button{margin-top:6px}
.language-options{display:grid;gap:8px;margin:0 0 18px}
.language-option{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:11px;background:#fbf9f4;padding:12px 13px;font-size:.9rem;font-weight:700;cursor:pointer}
.language-option:hover{background:#f4f7ef;border-color:#c4d3be}
.language-option input{width:17px;height:17px;accent-color:var(--green);margin:0}
.settings-form .language-option{display:flex;padding:12px 13px}
.address-list{display:grid;gap:12px}
.address-card{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:17px 18px;box-shadow:0 6px 18px rgba(31,38,30,.04)}
.address-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.address-card h2{font-size:1.18rem;margin:0 0 4px}
.address-card p{margin:0;color:var(--muted);font-size:.84rem;line-height:1.4}
.address-line{margin-top:8px!important;font-size:.8rem!important}
.address-note{margin-top:8px!important;background:#fbf6ec;border-radius:9px;padding:8px 10px;font-size:.78rem!important}
.address-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:13px;padding-top:11px;border-top:1px solid #f0ece2}
.address-actions form{margin:0}
.address-action{border:0;background:none;padding:0;font-size:.8rem;font-weight:700;color:var(--green);text-decoration:underline;cursor:pointer}
.address-action:hover{color:#1f3f2c}
.address-action-danger{color:#a4392b}
.address-empty{background:var(--paper);border:1px dashed #cfc8b7;border-radius:16px;padding:32px 22px;text-align:center}
.address-empty h2{font-size:1.2rem;margin:0 0 4px}
.address-empty p{margin:0 0 16px;color:var(--muted);font-size:.86rem}

@media(max-width:700px){
  .profile-page{padding-block:24px 80px}
  .profile-hero{padding:20px;gap:14px;border-radius:18px}
  .profile-avatar{width:72px;height:72px}
  .profile-avatar svg{width:38px;height:38px}
  .profile-row{padding:14px 13px}
  .profile-row-end{font-size:.74rem}
  .settings-page{padding-block:24px 80px}
  .settings-head{align-items:flex-start}
  .settings-card{padding:20px 16px;border-radius:18px}
  .address-card{padding:15px}
}
