/* Customer account presentation only: visibility, authentication and saved data stay application-owned. */
.catalog-redesign #customerModal { color: #1a1d1b; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.catalog-redesign #customerModal [hidden] { display: none !important; }
.catalog-redesign #customerModal .modal-backdrop { background: #101510b8; backdrop-filter: blur(5px); }
.catalog-redesign #customerModal .customer-panel { width: min(800px, calc(100% - 40px)); border: 1px solid #ced4c4; border-radius: 8px; background: #f4f4ef; box-shadow: 0 24px 80px #0d160d40; scrollbar-width: thin; scrollbar-color: #a9b399 #f4f4ef; }
.catalog-redesign #customerModal .customer-panel > .modal-close { z-index: 2; top: 24px; right: 26px; display: grid; place-items: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 1px solid #536048; border-radius: 4px; background: #30372a; color: #fff; }
.catalog-redesign #customerModal .customer-panel > .modal-close svg { width: 22px; height: 22px; }
.catalog-redesign #customerModal .customer-modal-body { gap: 0; padding: 0; }
.catalog-redesign #customerModal .customer-modal-body > .eyebrow { margin: 0; padding: 28px 88px 8px 28px; background: #1a1d1b; color: #f7df22; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.catalog-redesign #customerModal #customerModalTitle { margin: 0; padding: 0 88px 14px 28px; background: #1a1d1b; color: #fff; font-size: clamp(25px, 3vw, 32px); font-weight: 800; letter-spacing: -.035em; line-height: 1.14; }
.catalog-redesign #customerModal #customerStatus { margin: 0; padding: 0 28px 24px; border-bottom: 3px solid #f7df22; background: #1a1d1b; color: #c4cbbd; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.catalog-redesign #customerModal :is(.customer-auth, .customer-account-home, .customer-profile, .customer-account-section) { min-width: 0; margin: 0 28px 28px; }
.catalog-redesign #customerModal :is(.customer-form, .customer-auth) { gap: 18px; }
.catalog-redesign #customerModal :is(.customer-auth, .customer-profile) { padding: 22px; border: 1px solid #dce2d2; border-radius: 6px; background: #fff; }
.catalog-redesign #customerModal :is(button, input, textarea, select, a):focus-visible { outline: 2px solid #a18a00; outline-offset: 3px; }
.catalog-redesign #customerModal :is(.button, .customer-tab, .customer-account-card, .customer-favorite-row, .price-display-toggle button) { transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.catalog-redesign #customerModal .button { gap: 9px; min-height: 46px; padding: 11px 16px; border-radius: 4px; font-size: 13px; font-weight: 700; line-height: 1.4; white-space: normal; }
.catalog-redesign #customerModal .button svg { width: 18px; height: 18px; flex-shrink: 0; }
.catalog-redesign #customerModal .button.primary { border-color: #ddc91e; background: #f7df22; color: #1a1d1b; box-shadow: none; }
.catalog-redesign #customerModal .button.secondary { border-color: #ccd5bf; background: #fff; color: #435333; }
.catalog-redesign #customerModal button:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* A compact price preference and clear login / registration tabs. */
.catalog-redesign #customerModal .price-display-preference { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 20px 28px; padding: 12px 14px; border: 1px solid #dbe1d1; border-radius: 5px; background: #e9ede2; }
.catalog-redesign #customerModal .price-display-preference > strong { color: #46533a; font-size: 12px; font-weight: 650; }
.catalog-redesign #customerModal .price-display-toggle { gap: 2px; padding: 3px; border: 1px solid #cfd7c2; border-radius: 4px; background: #f8faf4; }
.catalog-redesign #customerModal .price-display-toggle button { min-width: 70px; min-height: 38px; padding: 8px 14px; border-radius: 2px; color: #626e55; font-size: 12px; font-weight: 700; }
.catalog-redesign #customerModal .price-display-toggle button:is(.active, [aria-pressed="true"]) { background: #1a1d1b; color: #f7df22; }
.catalog-redesign #customerModal .customer-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; width: auto; margin: -22px -22px 4px; padding: 0; overflow: hidden; border: 0; border-bottom: 1px solid #dce2d2; border-radius: 5px 5px 0 0; background: #eef2e7; }
.catalog-redesign #customerModal .customer-tab { min-width: 0; min-height: 56px; padding: 14px 12px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; color: #59674d; font-size: 14px; font-weight: 700; line-height: 1.35; }
.catalog-redesign #customerModal .customer-tab.active { border-bottom-color: #f7df22; background: #262c23; color: #fff; box-shadow: none; }
.catalog-redesign #customerModal .customer-form label { min-width: 0; gap: 7px; color: #4b593e; font-size: 12px; font-weight: 650; line-height: 1.45; }
.catalog-redesign #customerModal .customer-form :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select) { display: block; width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; border: 1px solid #cdd6c1; border-radius: 4px; background: #fff; color: #1a1d1b; font-family: inherit; font-size: 14px; font-weight: 450; line-height: 1.4; }
.catalog-redesign #customerModal .customer-form textarea { min-height: 92px; resize: vertical; }
.catalog-redesign #customerModal .customer-form input::placeholder { color: #59674d; font-weight: 400; opacity: 1; }
.catalog-redesign #customerModal .customer-form :is(input, select, textarea):focus-visible { border-color: #9c920c; }
.catalog-redesign #customerModal .customer-grid-2 { gap: 14px; }
.catalog-redesign #customerModal .structured-address { gap: 14px; padding-top: 18px; border-top: 1px solid #e1e6d8; }
.catalog-redesign #customerModal .address-line-grid { grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; }
.catalog-redesign #customerModal .address-details-grid { grid-template-columns: 112px minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.catalog-redesign #customerModal .address-details-grid > label:last-child { grid-column: auto; }
.catalog-redesign #customerModal .address-helper { margin-top: 0; color: #59674d; font-size: 11px; font-weight: 450; line-height: 1.6; }
.catalog-redesign #customerModal .form-legal-note { margin: 0; padding: 14px 0 0; border-top: 1px solid #e1e6d8; color: #59674d; font-size: 11px; font-weight: 450; line-height: 1.6; }
.catalog-redesign #customerModal .form-legal-note a { color: #435333; text-decoration: underline; text-underline-offset: 3px; }
.catalog-redesign #customerModal .customer-form :is(.customer-professional-choice, .identity-card-notice-remember) { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 12px; width: 100%; margin: 0; padding: 16px; border: 1px solid #d7ddce; border-left: 3px solid #c2cbb5; border-radius: 4px; background: #f3f6ed; color: #1a1d1b; }
.catalog-redesign #customerModal .customer-form :is(.customer-professional-choice, .identity-card-notice-remember) input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: #a69000; }
.catalog-redesign #customerModal :is(.customer-professional-choice, .identity-card-notice-remember) strong { display: block; color: #283121; font-size: 13px; font-weight: 700; line-height: 1.5; }
.catalog-redesign #customerModal :is(.customer-professional-choice, .identity-card-notice-remember) small { display: block; margin-top: 4px; color: #59674d; font-size: 11px; font-weight: 450; line-height: 1.6; }
.catalog-redesign #customerModal .customer-form :is(.customer-professional-choice, .identity-card-notice-remember):has(input:checked) { border-color: #c8b61b; border-left-color: #f7df22; background: #262c23; }
.catalog-redesign #customerModal :is(.customer-professional-choice, .identity-card-notice-remember):has(input:checked) strong { color: #fff; }
.catalog-redesign #customerModal :is(.customer-professional-choice, .identity-card-notice-remember):has(input:checked) small { color: #c7d0bc; }

/* Account home and saved profile: generous labels, small address blocks, reachable actions. */
.catalog-redesign #customerModal :is(.customer-account-home, .customer-account-section) { gap: 18px; }
.catalog-redesign #customerModal .customer-profile-head { gap: 16px; align-items: flex-start; }
.catalog-redesign #customerModal .customer-profile-head > div { min-width: 0; }
.catalog-redesign #customerModal :is(.customer-profile-head h3, #customerOrdersTitle) { margin: 0; color: #2c3525; font-size: 21px; font-weight: 750; letter-spacing: -.03em; line-height: 1.25; overflow-wrap: anywhere; }
.catalog-redesign #customerModal :is(.customer-profile-head p, #customerOrdersTitle + p) { margin: 7px 0 0; color: #59674d; font-size: 12px; font-weight: 450; line-height: 1.6; }
.catalog-redesign #customerModal .customer-profile > .customer-profile-head { padding-bottom: 18px; border-bottom: 1px solid #dce2d2; }
.catalog-redesign #customerModal .customer-profile-actions { gap: 8px; }
.catalog-redesign #customerModal .customer-profile-actions .button { min-height: 40px; padding: 9px 12px; font-size: 11px; }
.catalog-redesign #customerModal .customer-admin-entry { border-style: dashed; }
.catalog-redesign #customerModal .customer-account-menu { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.catalog-redesign #customerModal .customer-account-card { grid-template-columns: 46px minmax(0, 1fr) 20px; gap: 16px; min-height: 92px; padding: 20px; border: 1px solid #dce2d2; border-radius: 5px; background: #fff; box-shadow: none; transform: none; }
.catalog-redesign #customerModal .customer-account-card-icon { width: 46px; height: 46px; border: 1px solid #414b38; border-radius: 4px; background: #262c23; color: #f7df22; }
.catalog-redesign #customerModal .customer-account-card-icon svg { width: 22px; height: 22px; }
.catalog-redesign #customerModal .customer-account-card > svg { width: 20px; height: 20px; color: #8c9980; }
.catalog-redesign #customerModal .customer-account-card strong { margin-bottom: 5px; color: #293221; font-size: 16px; font-weight: 750; letter-spacing: -.015em; line-height: 1.3; }
.catalog-redesign #customerModal .customer-account-card small { color: #59674d; font-size: 12px; font-weight: 450; line-height: 1.5; }
.catalog-redesign #customerModal .customer-section-navigation { gap: 10px; }
.catalog-redesign #customerModal .customer-section-navigation .button { min-height: 42px; padding: 9px 12px; font-size: 12px; }
.catalog-redesign #customerModal .customer-worksites { gap: 18px; padding: 18px; border: 1px solid #dce2d2; border-radius: 5px; background: #f0f4e9; }
.catalog-redesign #customerModal .customer-worksites .customer-profile-head h3 { font-size: 18px; }
.catalog-redesign #customerModal .customer-worksites .customer-profile-head .button { flex-shrink: 0; padding: 9px 12px; min-height: 42px; font-size: 12px; }
.catalog-redesign #customerModal .customer-worksite-list { gap: 12px; }
.catalog-redesign #customerModal .customer-worksite-row { gap: 16px; padding: 18px; border: 1px solid #d3dcc6; border-top: 3px solid #b6c29f; border-radius: 4px; background: #fff; }
.catalog-redesign #customerModal .customer-worksite-row .structured-address { padding-top: 0; border: 0; }
.catalog-redesign #customerModal .customer-remove-worksite.button { min-height: 40px; padding: 9px 12px; border-color: #dfd2c9; background: #fff; color: #975336; font-size: 11px; }
.catalog-redesign #customerModal .customer-form > .button.primary { margin-top: 4px; }

/* Favourites keep machine photography and complete titles, even on a narrow screen. */
.catalog-redesign #customerModal .customer-favorites { padding: 0; border: 0; border-radius: 0; background: transparent; }
.catalog-redesign #customerModal .customer-favorite-list { gap: 10px; }
.catalog-redesign #customerModal .customer-favorite-row { grid-template-columns: 70px minmax(0, 1fr); gap: 16px; padding: 14px 18px 14px 14px; border: 1px solid #dce2d2; border-right: 3px solid #c5ceb8; border-radius: 5px; background: #fff; }
.catalog-redesign #customerModal .customer-favorite-row > span { min-width: 0; }
.catalog-redesign #customerModal .customer-favorite-thumb { width: 70px; height: 72px; border: 1px solid #e7ecdf; border-radius: 3px; background: #fafbf7; }
.catalog-redesign #customerModal .customer-favorite-thumb :is(img, .media-pdf-thumb) { padding: 5px; object-fit: contain; }
.catalog-redesign #customerModal .customer-favorite-row strong { overflow: visible; color: #283221; font-size: 15px; font-weight: 750; letter-spacing: -.015em; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; }
.catalog-redesign #customerModal .customer-favorite-row small { margin-top: 6px; color: #59674d; font-size: 11px; font-weight: 550; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; }

/* Request history: status colors and cancellation semantics are deliberately preserved. */
.catalog-redesign #customerModal .customer-order-list { gap: 14px; }
.catalog-redesign #customerModal .customer-order-card { border: 1px solid #d3dcc7; border-radius: 5px; background: #fff; }
.catalog-redesign #customerModal .customer-order-head { align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid #dbe3d0; background: #e9efe1; }
.catalog-redesign #customerModal .customer-order-reference { color: #59674d; font-size: 9px; font-weight: 650; letter-spacing: .09em; line-height: 1.5; }
.catalog-redesign #customerModal .customer-order-head strong { color: #2b3722; font-size: 14px; font-weight: 700; line-height: 1.45; }
.catalog-redesign #customerModal .customer-order-status { max-width: 100%; padding: 7px 10px; border: 1px solid #e6d794; border-radius: 3px; background: #fff3c5; color: #776010; font-size: 10px; font-weight: 700; line-height: 1.45; text-align: center; }
.catalog-redesign #customerModal .customer-order-status-accepted { border-color: #b8dfc6; background: #e3f4e9; color: #247040; }
.catalog-redesign #customerModal :is(.customer-order-status-cancelled, .customer-order-status-refused) { border-color: #d3d9d1; background: #eff2ed; color: #687463; }
.catalog-redesign #customerModal .customer-order-status-cancellation { border-color: #e6c6b6; background: #fff0e7; color: #975031; }
.catalog-redesign #customerModal .customer-order-items { gap: 12px; padding: 18px; }
.catalog-redesign #customerModal .customer-order-item { gap: 14px; padding-bottom: 12px; border-bottom: 1px solid #e7ecdf; font-size: 12px; line-height: 1.5; }
.catalog-redesign #customerModal .customer-order-item:last-child { padding-bottom: 0; border-bottom: 0; }
.catalog-redesign #customerModal .customer-order-item > span { min-width: 0; overflow-wrap: anywhere; }
.catalog-redesign #customerModal .customer-order-item strong { color: #34432a; font-size: 13px; font-weight: 650; }
.catalog-redesign #customerModal :is(.customer-order-item small, .customer-order-item > span:last-child) { color: #59674d; font-size: 11px; }
.catalog-redesign #customerModal .customer-order-worksite { align-items: flex-start; gap: 9px; margin: 0 18px 18px; padding: 12px; border: 1px solid #e3e9d9; border-radius: 3px; background: #f6f8f1; color: #59674d; font-size: 11px; line-height: 1.6; }
.catalog-redesign #customerModal .customer-order-worksite svg { flex: 0 0 17px; margin-top: 1px; }
.catalog-redesign #customerModal .customer-order-worksite span { min-width: 0; overflow-wrap: anywhere; }
.catalog-redesign #customerModal .customer-order-footer { gap: 16px; padding: 14px 18px; border-top: 1px solid #e3e9d9; background: #fbfcf8; }
.catalog-redesign #customerModal .customer-order-footer small { color: #59674d; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.catalog-redesign #customerModal .customer-order-cancel.button { flex-shrink: 0; min-height: 40px; padding: 9px 12px; border-color: #dfd2c9; color: #975336; font-size: 11px; }
.catalog-redesign #customerModal :is(.quote-empty, .customer-orders-state) { min-height: 120px; margin: 0; padding: 26px 20px; border: 1px dashed #c8d2bb; border-radius: 5px; background: #fff; color: #59674d; font-size: 13px; line-height: 1.6; text-align: center; }
.catalog-redesign #customerModal .customer-orders-state-error { border-color: #dcae98; background: #fff7f2; color: #985133; }
.catalog-redesign #customerModal .customer-orders-state .loading-spinner { border-color: #dce2d2; border-top-color: #a89400; }

/* Keep validation feedback visible without flagging untouched registration fields. */
.catalog-redesign #customerModal .customer-form :is(input, textarea, select):is([aria-invalid="true"], .reservation-field-invalid, :user-invalid) { border-color: #c1463b; background: #fff8f6; color: #81332b; box-shadow: 0 0 0 1px #c1463b; }
.catalog-redesign #customerModal .reservation-field-error { color: #a53f34; font-size: 11px; line-height: 1.5; }
@media (hover: hover) {
  .catalog-redesign #customerModal .button.primary:not(:disabled):hover { background: #ffe94b; border-color: #c9b417; }
  .catalog-redesign #customerModal .button.secondary:not(:disabled):hover { border-color: #a3b38b; background: #f2f6eb; }
  .catalog-redesign #customerModal .customer-panel > .modal-close:hover { border-color: #a0ad8e; background: #48523d; }
  .catalog-redesign #customerModal .customer-tab:not(.active):hover { background: #e3e9d9; color: #34432a; }
  .catalog-redesign #customerModal :is(.customer-account-card, .customer-favorite-row):not(:disabled):hover { border-color: #b0b94d; background: #f9fbea; box-shadow: none; transform: none; }
}
@media (max-width: 620px) {
  .catalog-redesign #customerModal { padding: 8px 0; }
  .catalog-redesign #customerModal .customer-panel { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 6px; }
  .catalog-redesign #customerModal .customer-panel > .modal-close { top: 17px; right: 16px; }
  .catalog-redesign #customerModal .customer-modal-body > .eyebrow { padding: 22px 76px 8px 20px; font-size: 9px; }
  .catalog-redesign #customerModal #customerModalTitle { padding: 0 76px 14px 20px; font-size: 25px; }
  .catalog-redesign #customerModal #customerStatus { padding: 0 20px 22px; font-size: 12px; }
  .catalog-redesign #customerModal .price-display-preference { gap: 10px; margin: 14px 12px; padding: 10px 12px; }
  .catalog-redesign #customerModal .price-display-preference > strong { font-size: 11px; line-height: 1.4; }
  .catalog-redesign #customerModal .price-display-toggle button { min-width: 58px; min-height: 40px; padding: 8px 10px; font-size: 11px; }
  .catalog-redesign #customerModal :is(.customer-auth, .customer-account-home, .customer-profile, .customer-account-section) { margin: 0 12px 16px; }
  .catalog-redesign #customerModal :is(.customer-auth, .customer-profile) { padding: 16px; }
  .catalog-redesign #customerModal .customer-tabs { margin: -16px -16px 2px; }
  .catalog-redesign #customerModal .customer-tab { min-height: 52px; padding: 12px 8px; font-size: 12px; }
  .catalog-redesign #customerModal .customer-form :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select) { padding: 11px 10px; font-size: 16px; }
  .catalog-redesign #customerModal .customer-grid-2 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .catalog-redesign #customerModal .address-line-grid { grid-template-columns: minmax(0, 1fr) 70px; gap: 10px; }
  .catalog-redesign #customerModal .address-details-grid { grid-template-columns: 88px minmax(0, 1fr); gap: 12px 10px; }
  .catalog-redesign #customerModal .address-details-grid > label:last-child { grid-column: 1 / -1; }
  .catalog-redesign #customerModal .customer-form :is(.customer-professional-choice, .identity-card-notice-remember) { padding: 12px; gap: 10px; }
  .catalog-redesign #customerModal .customer-profile-head { flex-direction: column; gap: 12px; }
  .catalog-redesign #customerModal .customer-profile-actions { flex-direction: row; justify-content: flex-start; align-items: center; }
  .catalog-redesign #customerModal .customer-account-card { grid-template-columns: 40px minmax(0, 1fr) 16px; gap: 12px; min-height: 92px; padding: 16px 13px; }
  .catalog-redesign #customerModal .customer-account-card-icon { width: 40px; height: 42px; }
  .catalog-redesign #customerModal .customer-account-card strong { font-size: 14px; }
  .catalog-redesign #customerModal .customer-account-card small { font-size: 11px; }
  .catalog-redesign #customerModal .customer-account-card > svg { width: 16px; height: 16px; }
  .catalog-redesign #customerModal .customer-section-navigation { flex-direction: row; flex-wrap: wrap; }
  .catalog-redesign #customerModal .customer-section-navigation .button { width: auto; flex: 0 1 auto; }
  .catalog-redesign #customerModal .customer-worksites { padding: 13px; }
  .catalog-redesign #customerModal .customer-worksite-row { padding: 13px; }
  .catalog-redesign #customerModal .customer-worksite-row .address-details-grid { grid-template-columns: minmax(0, 1fr); }
  .catalog-redesign #customerModal .customer-worksite-row .address-line-grid { grid-template-columns: minmax(0, 1fr) 64px; }
  .catalog-redesign #customerModal .customer-favorite-row { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .catalog-redesign #customerModal .customer-favorite-thumb { width: 56px; height: 62px; }
  .catalog-redesign #customerModal .customer-favorite-row strong { font-size: 14px; }
  .catalog-redesign #customerModal .customer-order-head { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 14px; }
  .catalog-redesign #customerModal .customer-order-status { width: fit-content; }
  .catalog-redesign #customerModal .customer-order-items { padding: 16px 14px; }
  .catalog-redesign #customerModal .customer-order-item { flex-direction: column; gap: 4px; }
  .catalog-redesign #customerModal .customer-order-worksite { margin: 0 14px 16px; }
  .catalog-redesign #customerModal .customer-order-footer { padding: 14px; gap: 12px; }
  .catalog-redesign #customerModal .customer-order-cancel.button { width: 100%; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-redesign #customerModal :is(.customer-panel, .modal-backdrop, button) { transition: none; }
  .catalog-redesign #customerModal .customer-orders-state .loading-spinner { animation: none; }
}
