/* Compact profile in the company's white, grey and burgundy palette. */
.theme-bento.page-profile main { padding-top: 12px; }
.theme-bento .profile-toolbar { display:flex; justify-content:space-between; align-items:center; gap:24px; border-bottom:1px solid var(--line); margin-bottom:16px; }
.theme-bento .profile-tabs { display:flex; gap:32px; margin:0; padding:0; flex-wrap:nowrap; border:0; }
.theme-bento .profile-tabs a { display:flex; align-items:center; position:relative; min-height:52px; padding:10px 0; border-radius:0; color:var(--muted); font-size:14px; white-space:nowrap; background:none; }
.theme-bento .profile-tabs a[aria-current] { color:var(--brand); background:none; font-weight:600; border:0; }
.theme-bento .profile-tabs a[aria-current]::after { content:''; position:absolute; bottom:-1px; height:2px; left:0; right:0; background:var(--brand); }
.theme-bento .account-session { margin-top:20px; padding-top:16px; border-top:1px solid var(--line); }
.theme-bento .profile-logout { display:inline-flex; gap:9px; align-items:center; min-height:44px; padding:9px 14px; color:var(--ink); border:1px solid var(--line); border-radius:10px; background:#fff; font-size:12px; cursor:pointer; }
.theme-bento .profile-logout:hover { border-color:var(--brand); background:#fff; }
.theme-bento .profile-logout img { width:18px; height:18px; opacity:.75; }
.theme-bento .profile-layout { grid-template-columns:minmax(0,1fr) 288px; gap:28px; }
.theme-bento .profile-main { min-width:0; }
.theme-bento.page-profile .panel { border:1px solid var(--line); border-radius:18px; padding:28px; background:#fff; }
.theme-bento.page-profile :is(.account-panel,.orders-panel) .section-heading { align-items:center; margin-bottom:24px; gap:16px; }
.theme-bento.page-profile :is(.account-panel,.orders-panel) h1 { font-size:24px; letter-spacing:-.035em; margin:0; line-height:1.3; }
.theme-bento.page-profile :is(.account-panel,.orders-panel) .section-heading p { font-size:12px; margin-top:7px; }
.theme-bento .account-edit { min-height:42px; padding:9px 16px; border:1px solid var(--line); background:white; border-radius:10px; font-size:12px; }
.theme-bento .account-edit:hover { border-color:var(--brand); color:var(--brand); }
.theme-bento .account-section { border:0; margin:0; padding:0; min-width:0; }
.theme-bento .account-section + .account-section { margin-top:20px; padding-top:18px; border-top:1px solid var(--line); }
.theme-bento .account-section :is(h2,legend) { font-family:var(--font); font-size:13px; font-weight:600; letter-spacing:0; margin-bottom:12px; padding:0; color:var(--ink); }
.theme-bento .account-section legend { float:left; width:100%; }
.theme-bento .account-section .form-grid { clear:both; }
.theme-bento .account-values { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; margin:0; }
.theme-bento .account-values > div { min-width:0; padding:8px 12px; border:1px solid var(--line); border-radius:8px; background:var(--surface); }
.theme-bento .account-values .wide { grid-column:1/-1; }
.theme-bento .account-values dt { font-size:12px; line-height:1.35; color:var(--muted); margin:0 0 3px; }
.theme-bento .account-values dd { font-size:14px; line-height:1.4; font-weight:500; margin:0; overflow-wrap:anywhere; }
.theme-bento .unified-account .form-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; }
.theme-bento .unified-account :is(input,textarea) { font-size:14px; min-height:44px; background:var(--surface); border:1px solid var(--line); border-radius:8px; padding:8px 12px; }
.theme-bento .unified-account :is(input,textarea):focus { background:#fff; border-color:var(--brand); outline:2px solid #89070715; outline-offset:2px; }
.theme-bento .unified-account textarea { min-height:64px; resize:vertical; }
.theme-bento .account-actions { margin-top:28px; padding-top:24px; border-top:1px solid var(--line); gap:16px; flex-wrap:wrap; }
.theme-bento .account-actions .form-message { margin:0; font-size:12px; width:100%; }
.theme-bento .account-actions .form-message:empty { display:none; }
.theme-bento.page-profile .loyalty-card { padding:20px; background:var(--surface); border-color:transparent; border-radius:14px; }
.theme-bento.page-profile .loyalty-card .balance { font-size:36px; line-height:1.15; margin-top:6px; }
.theme-bento.page-profile .loyalty-card > p:not(.small-label) { margin-top:4px; font-size:12px; line-height:1.5; }
.theme-bento.page-profile .loyalty-card .pending { padding:12px 0 0; margin:12px 0; border-top:1px solid var(--line); }
.theme-bento.page-profile .loyalty-card .btn { min-height:44px; padding:9px 12px; border:1px solid var(--line); border-radius:10px; font-size:12px; }
.theme-bento.page-profile .loyalty-card > .help { margin-top:8px; font-size:11px; }
.theme-bento .profile-aside { gap:12px; align-content:start; align-self:start; }
.theme-bento .help-panel { padding:18px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.theme-bento .help-panel h3 { font-family:var(--font); font-size:14px; letter-spacing:0; }
.theme-bento .help-panel p { margin:6px 0 12px; font-size:12px; line-height:1.5; }
.theme-bento .help-panel .manager-phone { display:flex; min-height:44px; align-items:center; justify-content:center; padding:9px 10px; border-radius:10px; background:var(--brand); color:#fff; font-size:14px; white-space:nowrap; }
.theme-bento .help-panel .manager-phone:hover { background:var(--brand-dark); }
.theme-bento .preview-label { font-size:11px; color:var(--muted); white-space:nowrap; }
.theme-bento .order { position:relative; border-top:1px solid var(--line); border-bottom:0; }
.theme-bento .order summary { display:grid; grid-template-columns:minmax(0,1fr) 288px 16px; align-items:center; gap:16px; padding:18px 0; min-height:80px; cursor:pointer; list-style:none; }
.theme-bento .order summary::-webkit-details-marker { display:none; }
.theme-bento .order summary:hover { background:transparent; }
.theme-bento .order summary:hover .order-chevron { border-color:var(--brand); }
.theme-bento .order summary strong { font-size:14px; font-weight:600; }
.theme-bento .order summary small { font-size:11px; margin-top:5px; }
.theme-bento .order-row-actions { position:absolute; top:18px; right:32px; width:288px; display:flex; align-items:center; justify-content:flex-end; gap:10px; }
.theme-bento .order-row-actions .btn { min-height:44px; padding:10px 14px; border:1px solid var(--line); border-radius:10px; background:#fff; font-size:12px; white-space:nowrap; }
.theme-bento .order-row-actions .order-edit { background:var(--surface); color:var(--ink); }
.theme-bento .order-row-actions .order-edit:hover { border-color:var(--brand); color:var(--brand); }
.theme-bento .order-row-actions .order-edit:disabled { opacity:.45; cursor:not-allowed; color:var(--muted); border-color:var(--line); background:var(--surface); }
.theme-bento .order-row-actions .order-repeat { background:var(--brand); color:#fff; border-color:var(--brand); }
.theme-bento .order-row-actions .order-repeat:hover { background:var(--brand-dark); border-color:var(--brand-dark); }
.theme-bento .order summary:focus-visible { outline:2px solid var(--brand); outline-offset:3px; border-radius:8px; }
.theme-bento .order-chevron { width:8px; height:8px; border-right:1.5px solid var(--muted); border-bottom:1.5px solid var(--muted); transform:rotate(45deg); transition:transform .15s; justify-self:center; }
.theme-bento .order-details[open] .order-chevron { transform:rotate(225deg); }
.theme-bento .order:has(> .order-details[open]) + .order { border-top-color:transparent; }
.theme-bento .order-body { padding:0 0 24px; }
.theme-bento .order-details[open] .order-body { padding:12px 14px 8px; margin-bottom:14px; border:1px solid #d4d5da; border-radius:12px; background:#fff; }
.theme-bento .order-delivery { display:flex; flex-wrap:wrap; gap:6px 14px; background:var(--surface); padding:12px 14px; margin:0 0 10px; border-radius:8px; font-size:12px; }
.theme-bento .order-delivery span { color:var(--muted); }
.theme-bento .order-delivery strong { font-weight:500; }
.theme-bento .order-line { display:grid; grid-template-columns:48px minmax(0,1fr) auto; align-items:center; gap:14px; padding:10px 0; font-size:13px; }
.theme-bento .order-line img { width:48px; height:48px; object-fit:contain; border-radius:8px; background:var(--surface); }
.theme-bento .order-line strong { font-weight:500; font-size:12px; }
.theme-bento .order-product small { display:block; font-size:11px; color:var(--muted); margin-top:3px; }
.theme-bento .profile-signed-out { max-width:600px; margin:40px auto; text-align:center; }
.theme-bento .profile-signed-out h1 { font-size:24px; }
.theme-bento .profile-signed-out p { color:var(--muted); margin:16px 0 24px; }
@media (max-width:1000px) {
 .theme-bento .profile-layout { grid-template-columns:minmax(0,1fr) 248px; gap:20px; }
 .theme-bento.page-profile .panel { padding:22px; }
}
@media (max-width:1100px) {
 .theme-bento .order summary { grid-template-columns:minmax(0,1fr) 16px; gap:10px 14px; padding:16px 0 68px; min-height:120px; }
 .theme-bento .order-action-space { display:none; }
 .theme-bento .order-row-actions { top:62px; right:0; left:0; width:auto; }
 .theme-bento .order-chevron { grid-column:2; }
}
@media (max-width:760px) {
 .theme-bento .profile-layout { grid-template-columns:1fr; }
 .theme-bento .profile-aside { grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; }
 .theme-bento .profile-toolbar { gap:12px; flex-wrap:wrap; }
 .theme-bento .profile-tabs { gap:22px; }
 .theme-bento .profile-tabs a { font-size:12px; }
}
@media (max-width:640px) {
 .theme-bento.page-profile main { padding-top:12px; }
 .theme-bento .profile-toolbar { display:grid; grid-template-columns:minmax(0,1fr); gap:0; margin-bottom:12px; }
 .theme-bento .profile-tabs { display:flex; width:100%; gap:0; justify-content:space-between; }
 .theme-bento .profile-tabs a { min-height:52px; padding:10px 0; font-size:11px; }
 .theme-bento.page-profile .panel { padding:20px; border-radius:14px; }
 .theme-bento.page-profile :is(.account-panel,.orders-panel) h1 { font-size:20px; }
 .theme-bento .account-edit { padding:8px 10px; font-size:11px; }
 .theme-bento .account-values { grid-template-columns:minmax(0,1fr); gap:8px; }
 .theme-bento .account-values dd { font-size:13px; }
 .theme-bento .unified-account .form-grid { grid-template-columns:1fr; }
 .theme-bento .unified-account :is(input,textarea) { font-size:16px; }
 .theme-bento .account-section + .account-section { margin-top:18px; padding-top:16px; }
 .theme-bento .account-actions { gap:12px; }
 .theme-bento .account-actions .primary { flex:1; padding:12px; font-size:12px; }
 .theme-bento .profile-aside { grid-template-columns:1fr; }
 .theme-bento .preview-label { display:none; }
 .theme-bento .order summary { padding:16px 0 68px; gap:10px; }
 .theme-bento .order summary strong { font-size:12px; }
 .theme-bento .order summary small { font-size:10px; }
 .theme-bento .order-line { grid-template-columns:38px minmax(0,1fr) auto; gap:10px; font-size:12px; }
 .theme-bento .order-line img { width:38px; height:38px; }
 .theme-bento .order-line strong { font-size:11px; }
 .theme-bento .order-delivery { font-size:11px; }
 .theme-bento .order-details[open] .order-body { padding:10px 10px 6px; }
 .theme-bento .order-row-actions { gap:8px; }
 .theme-bento .order-row-actions .btn { flex:1; padding:10px 8px; font-size:11px; }
}
@media (max-width:359px) {
 .theme-bento.page-profile .panel { padding:16px; }
 .theme-bento .profile-tabs a { font-size:10px; }
 .theme-bento.page-profile :is(.account-panel,.orders-panel) h1 { font-size:18px; }
 .theme-bento .account-edit { padding:7px 8px; font-size:10px; }
}

.theme-bento.page-profile .security-subtitle { font-family:var(--font); font-size:14px; letter-spacing:0; margin:24px 0 8px; }
