.account-page { color: #373430; }
.account-page .content-wrapper-heading { margin-bottom: 84px; }
.account-page .content-wrapper-heading breadcrumb { color: #b6b6b6; }
.account-page .content-wrapper-content { overflow-wrap: break-word; }
.account-page .content-wrapper-content > .account { margin: 0; }
.account { --account-yellow: #ffbd14; --account-border: #edddcb; --account-muted: #8c8781; padding-bottom: 80px; }
.account [hidden], .account-page [hidden] { display: none !important; }
.account h2 { color: #000; font-size: 30px; font-weight: 900; line-height: 1.2; }
.account h3 { font-size: 16px; font-weight: 700; line-height: 1.4; }
.account ul, .account ol { list-style: none; padding: 0; margin: 0; }
.account button, .account-page input { -webkit-tap-highlight-color: transparent; }
.account button, .account-auth button { cursor: pointer; }
.account button:disabled, .account-auth button:disabled { cursor: wait; opacity: .6; }
.account :focus-visible, .account-auth :focus-visible { outline: 2px solid #9d5b00; outline-offset: 4px; }
.account-muted { color: #8c8781; }
.account-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 28px; border: 0; border-radius: 100px; background: #000; color: #fff; font-size: 16px; line-height: 1.4; text-decoration: none; transition: background-color .15s ease; cursor: pointer; }
.account-button:hover { background: #373430; }
.account-button-yellow { background: #ffbd14; color: #000; }
.account-button-yellow:hover { background: #efac08; }
.account-text-button { border: 0; padding: 0; background: none; color: inherit; font-size: 14px; line-height: 1.4; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.account-text-button:hover { color: #d34a17; }
.account-profile { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 52px; padding: 32px; border: 1px solid var(--account-border); border-radius: 24px; box-shadow: 0 14px 28px rgba(45, 32, 12, .045); }
.account-identity { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.account-avatar { display: flex; align-items: center; justify-content: center; flex: 0 0 72px; height: 72px; border-radius: 50%; background: var(--account-yellow); font-weight: 900; font-size: 26px; }
.account-identity-text { min-width: 0; }
.account .account-identity h2 { font-size: 24px; line-height: 1.2; }
.account-identity-text p { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.account-logout { color: #f14f20; }
.account-profile-fields { display: grid; gap: 12px; }
.account-inline-form { position: relative; min-height: 66px; padding: 13px 16px; border-radius: 4px; background: #f0f0f0; box-shadow: inset 0 0 0 1px transparent; }
.account-inline-form:focus-within { box-shadow: inset 0 0 0 1px #c7a057; }
.account-inline-form > label { display: block; color: #99938d; font-size: 12px; line-height: 16px; }
.account-inline-control { display: flex; align-items: center; gap: 8px; }
.account-inline-control input { min-width: 0; width: 100%; height: 24px; padding: 0; border: 0; outline: none !important; border-radius: 0; background: transparent; font-size: 16px; font-weight: 700; line-height: 24px; }
.account-inline-control input::placeholder { color: #77716b; font-weight: 400; }
.account-inline-form:has(input[type="date"]) { background-image: url('./images/calendar.png'); background-position: right 20px center; background-size: 17px auto; background-repeat: no-repeat; }
.account-inline-control input[type="date"] { position: relative; }
.account-inline-control input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0; cursor: pointer; width: 20px; }
.account-inline-save { display: flex; justify-content: center; align-items: center; width: 28px; height: 28px; flex: 0 0 28px; padding: 5px; border: 0; border-radius: 50%; background: var(--account-yellow); }
.account[data-enhanced] .account-inline-save { display: none; }
.account[data-enhanced] .account-inline-form:focus-within .account-inline-save { display: flex; }
.account-field-status { display: block; font-size: 12px; line-height: 16px; color: #297e46; }
.account-field-status:empty { display: none; }
.account-field-status.is-error { color: #b83112; }
.account-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 30px 0 8px; }
.account-dates dt { color: #99938d; font-size: 12px; line-height: 18px; }
.account-dates dd { margin: 0; font-size: 16px; line-height: 24px; }
.account-addresses-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 10px; }
.account .account-addresses-heading h2 { font-size: 24px; }
.account-addresses-heading button { flex-shrink: 0; }
.account .account-address-list { display: grid; gap: 16px; }
.account-address { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 10px 14px 10px 16px; border: 1px solid var(--account-border); border-radius: 16px; background: #fafafa; font-size: 16px; line-height: 1.5; }
.account-address > span { min-width: 0; overflow-wrap: anywhere; }
.account-icon-button { display: flex; justify-content: center; align-items: center; width: 32px; height: 32px; padding: 8px; border: 0; background: none; }
.account-address .account-icon-button img { filter: invert(41%) sepia(99%) saturate(2376%) hue-rotate(347deg) brightness(99%) contrast(100%); }
.account-address-form { margin-top: 16px; }
.account-form-field { display: grid; gap: 6px; font-size: 14px; }
.account-form-field > span { color: #77716b; }
.account-form-field input { width: 100%; min-width: 0; height: 50px; padding: 12px 16px; border: 1px solid #e2d8cb; border-radius: 8px; background: #fafafa; font-size: 16px; }
.account-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 12px; }
.account-form-error { color: #b83112; font-size: 14px; }
.account-form-error:empty { display: none; }
.account-notice { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 100; width: max-content; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 12px; background: #373430; box-shadow: 0 4px 24px #0002; color: white; font-size: 14px; }
.account-notice.is-error { background: #a72d13; }
.account-section { margin-top: 56px; padding-inline: 32px; }
.account-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.account-rules { min-height: 38px; padding: 7px 16px; white-space: nowrap; }
.account-loyalty-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 24px; }
.account-loyalty-card { padding: 24px; border-radius: 24px; background: var(--account-yellow); }
.account-loyalty-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.account-loyalty-card-heading > span { padding: 5px 12px; border-radius: 40px; background: #373430; color: #fff; font-size: 13px; font-weight: 700; line-height: 16px; }
.account-balance { margin-top: 20px; color: #000; font-size: 20px; font-weight: 900; line-height: 1.2; }
.account-balance > strong { margin-right: 5px; font-size: 30px; font-weight: 900; }
.account-balance-exchange { margin-top: 6px; color: #8b6c1d; font-size: 14px; }
.account-loyalty-benefit { margin-top: 22px; padding: 14px 16px 18px; border-radius: 16px; background: #ffe5a3; font-size: 14px; line-height: 1.5; }
.account-loyalty-benefit > strong { display: block; margin-bottom: 5px; }
.account-loyalty-benefit > p { color: #918062; }
.account .account-levels { display: grid; align-content: start; gap: 12px; }
.account-level { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 14px 16px; border-radius: 16px; background: #fafafa; font-size: 16px; line-height: 1.4; }
.account-level-number { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; height: 40px; border-radius: 50%; background: #fff4e5; color: #bb7919; font-size: 14px; font-weight: 900; }
.account-level:nth-child(2) .account-level-number { background: #e6f6ee; color: #2a8048; }
.account-level p { margin-top: 4px; color: #8c8781; font-size: 14px; }
.account-level-percent { align-self: flex-start; margin-left: auto; color: #8c8781; font-size: 14px; white-space: nowrap; }
.account-level.is-current { background: var(--account-yellow); }
.account-level.is-current .account-level-number { background: #373430; color: #fff; }
.account-level.is-current p { color: #977626; }
.account-level.is-current .account-level-percent { color: #373430; }
.account .account-loyalty-explainer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.account-loyalty-explainer li { padding: 20px; border-radius: 16px; background: #fafafa; font-size: 14px; line-height: 1.6; }
.account-loyalty-explainer li > span { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 10px; border-radius: 50%; background: var(--account-yellow); font-weight: 900; }
.account .account-loyalty-explainer h3 { margin-bottom: 10px; font-size: 16px; }
.account-loyalty-explainer p { color: #8c8781; }
.account-history { margin-top: 36px; }
.account-history > h2 { margin-bottom: 40px; }
.account .account-transactions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.account-transaction { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 14px 16px; border: 1px solid var(--account-border); border-radius: 16px; background: #fafafa; font-size: 16px; }
.account-transaction-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: #e6f6ee; }
.account-transaction-icon img { width: 14px; height: 14px; filter: invert(43%) sepia(20%) saturate(1494%) hue-rotate(88deg) brightness(87%) contrast(87%); }
.account-transaction.is-debit .account-transaction-icon { background: #f1f2f5; }
.account-transaction.is-debit .account-transaction-icon img { filter: invert(48%) sepia(10%) saturate(524%) hue-rotate(180deg) brightness(92%) contrast(86%); }
.account-transaction > div { min-width: 0; line-height: 1.4; }
.account-transaction time { display: block; margin-top: 4px; color: #8c8781; font-size: 14px; }
.account-transaction-amount { align-self: flex-start; margin-left: auto; color: #2b854b; white-space: nowrap; }
.account-transaction.is-debit .account-transaction-amount { color: #727a89; }
.account-load-more { margin-top: 40px; }
.account-orders { margin-top: 56px; padding: 28px 32px 32px; border-radius: 32px; background: #f0f0f0; }
.account-orders > h2 { margin-bottom: 40px; }
.account .account-order-list { display: grid; gap: 12px; }
.account-order { display: grid; grid-template-columns: 110px 170px minmax(0, 1fr) 110px 120px; align-items: center; gap: 24px; min-height: 74px; padding: 16px 20px; border-radius: 16px; background: #fafafa; font-size: 16px; line-height: 1.4; }
.account-order-number { overflow-wrap: anywhere; }
.account-order-total { white-space: nowrap; }
.account-order-items > span { display: block; color: #99938d; font-size: 12px; }
.account-order-items strong { display: block; }
.account-order-items > form { margin-top: 8px; }
.account-order-items .account-button { padding: 8px 16px; font-size: 14px; }
.account-order-status { justify-self: start; padding: 4px 12px; border-radius: 40px; background: #f1f2f5; color: #727a89; font-size: 12px; font-weight: 700; line-height: 1.5; }
.account-order-status:is(.is-completed, .is-delivered) { background: #e6f6ee; color: #2b854b; }
.account-order-status:is(.is-processing, .is-accepted) { background: #fff4e5; color: #bd7816; }
.account-empty { margin: 16px 0 24px; color: #8c8781; font-size: 16px; line-height: 1.6; }
.account-auth { max-width: 520px; margin: 0 auto 80px; padding: 32px; border: 1px solid #edddcb; border-radius: 24px; box-shadow: 0 14px 28px rgba(45,32,12,.045); }
.account-auth-tabs { display: flex; gap: 24px; margin-bottom: 28px; border-bottom: 1px solid #eee4d8; }
.account-auth-tabs a { padding-bottom: 12px; color: #8c8781; font-size: 18px; text-decoration: none; }
.account-auth-tabs a[aria-current] { box-shadow: 0 3px #ffbd14; color: #000; font-weight: 700; }
.account-page .account-auth h2 { margin-bottom: 10px; font-size: 28px; font-weight: 900; line-height: 1.2; }
.account-auth > p { font-size: 16px; line-height: 1.5; }
.account-auth-form { display: grid; gap: 16px; margin-top: 24px; }
.account-auth-form > button { margin-top: 8px; }
.account-remember { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.account-remember input { width: 18px; height: 18px; accent-color: #ffbd14; }
.account-password-hint { margin-top: -12px; color: #8c8781; font-size: 12px; }
.account-errors { margin: 20px 0; padding: 12px 16px; border-radius: 8px; background: #fff0eb; color: #ac3618; font-size: 14px; line-height: 1.5; }
@media (max-width: 1199px) {
  .account-profile { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 32px; }
  .account-loyalty-grid { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
  .account-order { grid-template-columns: 80px 110px minmax(0, 1fr) 90px 90px; gap: 16px; }
  .account-loyalty-card-heading { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 959px) {
  .account-profile { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; padding: 24px; }
  .account-section { padding-inline: 0; }
  .account-loyalty-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .account-order { grid-template-columns: 90px 1fr auto; gap: 10px 20px; }
  .account-order-items { grid-row: 2; grid-column: 1 / 3; }
  .account-order-total { grid-row: 1; grid-column: 3; }
  .account-order-status { grid-row: 2; grid-column: 3; }
  .account-order time { font-size: 14px; }
  .account-dates { grid-template-columns: 1fr; gap: 12px; }
  .account-identity { align-items: flex-start; gap: 12px; }
  .account-avatar { flex-basis: 52px; height: 52px; font-size: 22px; }
  .account .account-identity h2 { font-size: 20px; }
  .account-addresses-heading { flex-wrap: wrap; gap: 10px; }
}
@media (max-width: 767px) {
  .account-page .content-wrapper-heading { margin-bottom: 32px; }
  .account { padding-bottom: 40px; }
  .account h2 { font-size: 26px; }
  .account-profile { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 20px; border-radius: 20px; }
  .account-identity { align-items: center; margin-bottom: 20px; }
  .account-avatar { flex-basis: 60px; height: 60px; font-size: 24px; }
  .account .account-identity h2 { font-size: 22px; }
  .account-dates { grid-template-columns: 1fr 1fr; margin: 24px 0 0; }
  .account-dates dd { font-size: 14px; }
  .account-addresses-heading { align-items: center; }
  .account .account-addresses-heading h2 { font-size: 22px; }
  .account .account-address-list { gap: 12px; }
  .account-address { font-size: 14px; border-radius: 12px; padding: 10px 8px 10px 12px; }
  .account-section { margin-top: 40px; }
  .account-section-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 24px; }
  .account-loyalty-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .account-loyalty-card { padding: 24px; border-radius: 20px; }
  .account-loyalty-card-heading { flex-direction: row; align-items: center; }
  .account-level { gap: 10px; padding: 14px 12px; }
  .account-level strong { font-size: 14px; }
  .account-level p { font-size: 13px; }
  .account-level-number { flex-basis: 36px; height: 36px; }
  .account .account-loyalty-explainer { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px; }
  .account-loyalty-explainer li { position: relative; padding: 20px 20px 20px 76px; }
  .account-loyalty-explainer li > span { position: absolute; top: 20px; left: 20px; }
  .account .account-loyalty-explainer h3 { margin-bottom: 6px; }
  .account-history > h2, .account-orders > h2 { margin-bottom: 24px; }
  .account .account-transactions { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .account-transaction { padding: 14px 12px; font-size: 14px; }
  .account-transaction-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .account-load-more { margin-top: 24px; }
  .account-orders { margin-top: 40px; padding: 24px 16px; border-radius: 24px; }
  .account-order { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; padding: 16px; font-size: 14px; border-radius: 12px; }
  .account-order time { text-align: right; grid-column: 2 / 4; }
  .account-order-items { grid-row: 2; grid-column: 1 / 4; }
  .account-order-total { grid-row: 3; grid-column: 1 / 3; }
  .account-order-status { grid-row: 3; grid-column: 3; justify-self: end; }
  .account-auth { margin-bottom: 40px; padding: 24px 20px; }
  .account-page .account-auth h2 { font-size: 24px; }
  .account-auth input::placeholder { font-size: 13px; }
}
@media (max-width: 374px) {
  .account-profile { padding: 16px; }
  .account .account-identity h2 { font-size: 20px; }
  .account-avatar { flex-basis: 48px; height: 48px; font-size: 20px; }
  .account-loyalty-card { padding: 20px; }
  .account-loyalty-card-heading { flex-direction: column; align-items: flex-start; }
  .account-order { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .account-button { transition: none; }
}
