.customer-area { max-width: 1240px; margin-inline: auto; padding: clamp(40px, 6vw, 80px) 20px; color: #382a2e; background: #fff; }
.customer-area * { box-sizing: border-box; }
.customer-area h1, .customer-area h2 { color: #7e4352; font-family: var(--font-heading-family, 'Tajawal', serif); font-weight: 400; line-height: 1.25; }
.customer-area h1 { font-size: clamp(30px, 4vw, 48px); margin: 0 0 16px; }
.customer-area h2 { font-size: 26px; margin: 0 0 22px; }
.customer-area p { line-height: 1.75; color: #715e63; }
.customer-area a, .customer-link { color: #984d61; text-underline-offset: 4px; }
.customer-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(30px, 6vw, 80px); align-items: start; }
.customer-welcome { padding-block: 40px; }
.customer-welcome > span { display: block; color: #d37b90; letter-spacing: .18em; font-size: 12px; margin-bottom: 20px; }
.customer-panel { min-width: 0; border: 1px solid #ecdce1; border-radius: 6px; padding: clamp(20px, 3vw, 32px); background: #fff; }
.customer-form { display: grid; gap: 16px; }
.customer-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 500; }
.customer-form input, .customer-form select { display: block; width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; border: 1px solid #dac7cd; border-radius: 4px; background: #fff; color: #382a2e; font: inherit; }
.customer-form input:focus, .customer-form select:focus { outline: 2px solid #d37b90; outline-offset: 2px; }
.customer-form input[type=file] { font-size: 12px; }
.customer-form input[type=checkbox] { width: 18px; min-height: 18px; accent-color: #d37b90; }
.customer-form label.customer-checkbox { display: flex; align-items: center; gap: 8px; }
.customer-area small { color: #715e63; font-size: 12px; line-height: 1.6; }
.customer-button { display: inline-flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; gap: 10px; border: 1px solid #d37b90; border-radius: 4px; padding: 12px 18px; background: #d37b90; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.customer-button:hover { background: #b65f75; }
.customer-button:disabled, .customer-link:disabled { cursor: wait; opacity: .72; }
.customer-link { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 12px 0; font: inherit; text-decoration: underline; cursor: pointer; }
.customer-button-loader { display: none; width: 16px; height: 16px; flex: 0 0 16px; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: customer-button-spin .7s linear infinite; }
.is-loading .customer-button-loader { display: inline-block; }
.customer-form [aria-invalid="true"] { border-color: #a74455; box-shadow: 0 0 0 2px rgba(167, 68, 85, .1); }
@keyframes customer-button-spin { to { transform: rotate(360deg); } }
.customer-code { letter-spacing: .45em; text-align: center; direction: ltr; font-size: 22px !important; }
.customer-auth-links { display: grid; gap: 16px; margin-top: 24px; font-size: 14px; }
.customer-notice, .customer-errors { padding: 12px 16px; border-inline-start: 3px solid #d37b90; margin-bottom: 20px; background: #fff5f7; overflow-wrap: anywhere; }
.customer-errors { color: #9e283e; }.customer-errors p { margin: 0; color: inherit; }
.customer-heading, .customer-identity { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.customer-identity { justify-content: flex-start; margin: 0; min-width: 0; }.customer-identity p { overflow-wrap: anywhere; }
.customer-avatar { display: grid; place-items: center; width: 80px; height: 80px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: #fff1f4; color: #a75669; }
.customer-avatar img { width: 100%; height: 100%; object-fit: cover; }
.customer-account-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.customer-settings { display: grid; gap: 24px; min-width: 0; }
.customer-badge { display: inline-block; background: #fff1f4; color: #984d61; padding: 5px 9px; border-radius: 4px; font-size: 12px; }
.customer-order-row { display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; border-bottom: 1px solid #ecdce1; overflow-wrap: anywhere; }
.customer-order-row p { margin: 8px 0; font-size: 13px; }
.customer-totals { max-width: 440px; margin-inline-start: auto; padding-block: 20px; }
.customer-totals > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; }.customer-totals dd { margin: 0; }
.customer-area nav[role=navigation] { margin-top: 20px; }.customer-area .pagination { display: flex; flex-wrap: wrap; list-style: none; gap: 10px; padding: 0; }
@media(max-width: 850px) { .customer-auth, .customer-account-grid { grid-template-columns: 1fr; }.customer-auth { max-width: 560px; gap: 20px; }.customer-welcome { padding: 0; }.customer-area { padding-inline: 16px; } }
@media(max-width: 420px) { .customer-order-row { flex-direction: column; gap: 10px; }.customer-heading { align-items: flex-start; }.customer-identity h1 { font-size: 28px; } }
