/* Customer identity & account panel (private staging; Camellia pink) */
.customer-account-card{border:1px solid #f1bed5;border-radius:16px;background:#fff7fa;color:#46283b;padding:20px 22px;margin:12px auto 24px;box-shadow:0 4px 20px rgba(153,45,89,.06)}
.customer-account-card>b,.customer-account-head b{font-size:1.08rem;color:#8e2452}
.customer-account-card p{margin:10px 0;line-height:1.6}
.customer-account-card label{display:flex;flex-direction:column;gap:5px;margin:10px 0;font-weight:650;font-size:.92rem}
.customer-account-card input[type=text],.customer-account-card input[type=tel]{border:1px solid #e2c9d4;border-radius:9px;background:white;padding:11px 12px;font-size:1rem;width:100%;min-width:0;color:#422739}
.customer-account-card small{display:block;font-weight:400;color:#78626c;margin-top:9px;line-height:1.5}
.customer-account-head,.customer-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.customer-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.customer-account-card .customer-marketing{display:flex;align-items:start;gap:9px;flex-direction:row;line-height:1.45;font-weight:500}
.customer-account-card .customer-marketing input{width:19px;height:19px;margin:0;flex:none;accent-color:#d8357d}
.customer-account-card h4{margin-top:22px;color:#8e2452}
.customer-account-card .customer-actions{justify-content:flex-start;margin:10px 0}
.customer-account-card button:disabled{opacity:.56;cursor:not-allowed}
.customer-address-list{margin:8px 0;padding:0;list-style:none}
.customer-address-list li{border-bottom:1px solid #ebcbd9;padding:8px 0;display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.customer-otp{display:flex;align-items:end;flex-wrap:wrap;gap:15px}
.customer-otp label{width:160px}
.customer-data-table{border-collapse:collapse;width:100%;font-size:.87rem}
.customer-data-table td,.customer-data-table th{padding:10px 8px;border-bottom:1px solid #e9cfdc;text-align:left;overflow-wrap:anywhere}
@media(max-width:690px){.customer-account-card{padding:15px}.customer-account-grid{grid-template-columns:1fr}.customer-actions .primary-btn,.customer-actions .sort-btn{width:100%}.customer-data-table{font-size:.77rem}}

/* Authentication is checkout-only, never a blocking panel during guest browsing
   and never a login prompt in Admin or staff screens. */
#customer-auth-root[hidden]{display:none!important}
#customer-auth-root:not([hidden]){
  position:fixed;inset:0;z-index:1600;max-width:none;width:100%;
  padding:14px;background:rgba(34,15,29,.66);overflow:auto;
  display:flex;align-items:safe center;justify-content:center
}
#customer-auth-root:not([hidden]) .customer-account-card{
  width:min(650px,100%);max-height:calc(100dvh - 28px);
  overflow-y:auto;margin:auto;box-shadow:0 16px 48px rgba(30,9,21,.28)
}
.customer-or-divider{text-align:center;font-weight:700;color:#9d5273;margin:12px 0}
