.account-page { padding-top: 28px; padding-bottom: 80px; }
.account-breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; color: #7d8593; font-size: 13px; }
.account-heading { margin-bottom: 54px; }
.account-heading h1 { margin-bottom: 9px; font-size: clamp(34px, 3.6vw, 50px); font-weight: 800; letter-spacing: -.04em; }
.account-heading p { margin: 0; color: #7b8394; font-size: 18px; }
.account-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 44px; }
.account-sidebar { min-width: 0; }
.account-person { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.account-avatar { display: grid; place-items: center; flex: 0 0 68px; height: 68px; border-radius: 50%; background: #ededf2; color: #777f8d; font-size: 29px; font-weight: 650; }
.account-person strong { display: block; font-size: 19px; overflow-wrap: anywhere; }
.account-person div > span { display: block; margin-top: 3px; color: #7b8394; font-size: 14px; }
.account-page .woocommerce-MyAccount-navigation { float: none; width: 100%; }
.account-page .woocommerce-MyAccount-navigation ul { padding: 0; margin: 0; list-style: none; }
.account-page .woocommerce-MyAccount-navigation li { margin-bottom: 7px; }
.account-page .woocommerce-MyAccount-navigation a { position: relative; display: flex; align-items: center; gap: 19px; min-height: 49px; padding: 12px 18px; border-radius: 8px; font-size: 14px; line-height: 1.45; }
.account-page .woocommerce-MyAccount-navigation .icon { flex: 0 0 25px; width: 25px; height: 25px; }
.account-page .woocommerce-MyAccount-navigation a:hover { background: #f6f7f8; }
.account-page .woocommerce-MyAccount-navigation a[aria-current="page"] { background: #fff0f3; color: var(--color-red); }
.account-page .woocommerce-MyAccount-navigation a[aria-current="page"]::before { position: absolute; content: ''; inset: 7px auto 7px 0; width: 3px; background: var(--color-red); border-radius: 4px; }
.account-page .woocommerce-MyAccount-navigation .account-nav-logout { margin-top: 25px; padding-top: 20px; border-top: 1px solid #e5e9ed; }
.account-page .woocommerce-MyAccount-content { float: none; width: auto; min-width: 0; }
.account-main > h2, .account-shopping-list > h2 { margin: 0 0 25px; font-size: 30px; }
.account-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 22px; }
.account-section-heading h2 { margin: 0; font-size: clamp(25px, 2.6vw, 34px); letter-spacing: -.035em; }
.account-section-heading .text-link { font-size: 14px; white-space: nowrap; }
.account-order-card { padding: 26px; border: 1px solid #e2e7ec; border-radius: 8px; }
.account-order-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.account-order-heading h3 { margin: 0 0 7px; font-size: 25px; line-height: 1.3; }
.account-order-heading time { color: #7b8394; font-size: 14px; }
.account-order-status { display: grid; justify-items: end; gap: 7px; color: #7b8394; font-size: 13px; text-align: right; }
.account-status { display: inline-block; width: fit-content; padding: 4px 12px; border-radius: 8px; background: #f0f2f5; color: #526070; font-size: 14px; line-height: 1.4; }
.account-status-transit { color: #0670d8; background: #e8f2ff; }
.account-status-delivered, .account-status-completed { color: #267343; background: #eaf6ee; }
.account-status-failed, .account-status-cancelled, .account-status-refunded { color: #a03446; background: #fff0f3; }
.account-status-on-hold, .account-status-pending { color: #8b5f19; background: #fff6e3; }
.account-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; margin: 28px 0 30px; }
.account-progress li { position: relative; display: grid; justify-items: center; align-content: start; gap: 9px; color: #7b8394; text-align: center; font-size: 14px; }
.account-progress li:not(:last-child)::after { position: absolute; content: ''; left: calc(50% + 23px); right: calc(-50% + 23px); top: 15px; height: 2px; background: #d9dfe7; }
.account-progress-dot { display: grid; place-items: center; width: 31px; height: 31px; border: 2px solid #d2d8e1; border-radius: 50%; background: #fff; }
.account-progress-dot .icon { width: 20px; height: 20px; }
.account-progress .is-done, .account-progress .is-current { color: var(--color-ink); }
.account-progress .is-done .account-progress-dot { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.account-progress .is-current .account-progress-dot { background: var(--color-red); border-color: var(--color-red); box-shadow: 0 0 0 5px #fff0f3; }
.account-progress .is-current .account-progress-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: white; }
.account-order-items { list-style: none; padding: 0; margin: 16px 0 0; }
.account-order-items > li { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 18px 0; border-bottom: 1px solid #e5e9ed; }
.account-item-image img { display: block; width: 100px; height: 100px; object-fit: cover; border-radius: 8px; }
.account-item-description { min-width: 0; overflow-wrap: anywhere; }
.account-item-description > strong { display: block; font-size: 17px; line-height: 1.45; }
.account-item-quantity { display: block; margin-top: 4px; font-size: 13px; color: #7b8394; }
.account-item-description .wc-item-meta { padding: 0; margin: 5px 0 0; list-style: none; color: #7b8394; font-size: 12px; }
.account-item-description .wc-item-meta li p { display: inline; margin: 0; }
.account-item-price { font-size: 17px; font-weight: 700; white-space: nowrap; text-align: right; }
.account-order-total { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 19px; }
.account-shipping { display: flex; align-items: center; gap: 12px; color: #7b8394; font-size: 14px; min-width: 0; }
.account-shipping > .icon { color: var(--color-ink); flex: 0 0 26px; }
.account-shipping span { overflow-wrap: anywhere; }
.account-shipping small { display: block; margin-top: 4px; font-size: 12px; }
.account-order-total > div:last-child { display: flex; align-items: baseline; gap: 15px; flex-shrink: 0; }
.account-order-total > div:last-child > span { color: #626b79; font-size: 14px; }
.account-order-total strong { font-size: 25px; line-height: 1.4; }
.account-order-total strong small { display: block; font-size: 11px; color: #7b8394; font-weight: 400; }
.account-order-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.account-page .account-button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 46px; padding: 12px 24px; border: 1px solid var(--color-red); border-radius: 7px; background: var(--color-red); color: #fff; font-size: 14px; font-weight: 500; text-align: center; line-height: 1.45; cursor: pointer; }
.account-page .account-button:hover { background: var(--color-red-hover); border-color: var(--color-red-hover); color: #fff; }
.account-page .account-button-outline { background: #fff; color: var(--color-ink); border-color: #a1a9b6; }
.account-page .account-button-outline:hover { background: #f5f6f8; border-color: var(--color-ink); color: var(--color-ink); }
.account-order-actions .account-button { min-width: 160px; }
.account-more-items { margin: 16px 0 0; color: #7b8394; font-size: 14px; }
.account-more-items a { color: var(--color-red); }
.account-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.account-shortcuts section { padding: 27px; border: 1px solid #e2e7ec; border-radius: 8px; }
.account-shortcuts section > .icon { width: 37px; height: 37px; margin-bottom: 16px; }
.account-shortcuts h3 { margin-bottom: 8px; font-size: 20px; }
.account-shortcuts p { margin-bottom: 20px; color: #7b8394; font-size: 14px; }
.account-shortcuts .text-link { font-size: 14px; }
.account-help { display: flex; align-items: center; gap: 24px; padding: 28px; margin-top: 34px; border-radius: 10px; background: #f5f6f8; }
.account-help > .icon { width: 49px; height: 49px; flex: 0 0 49px; }
.account-help > div { flex: 1; }
.account-help h2 { margin-bottom: 6px; font-size: 20px; }
.account-help p { margin: 0; color: #7b8394; font-size: 14px; }
.account-help > a { flex-shrink: 0; }
.account-empty { padding: 38px; border: 1px solid #e2e7ec; border-radius: 8px; text-align: center; }
.account-empty > .icon { width: 44px; height: 44px; margin-bottom: 20px; }
.account-empty h3 { font-size: 25px; margin-bottom: 12px; }
.account-empty p { max-width: 450px; margin: 0 auto 24px; color: #7b8394; }
.account-orders-list { display: grid; gap: 22px; }
.account-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; margin-top: 24px; }
.account-muted { color: #7b8394; }
.account-shopping-list [data-account-favorites] { margin-block: 28px; }
.account-shopping-list .favorite-row { padding-block: 20px; }
.account-order-summary { padding: 24px; border-radius: 8px; background: #f5f6f8; margin-bottom: 28px; }
.account-order-summary > p { color: #7b8394; }
.account-order-notes { margin-bottom: 28px; }
.account-order-notes > div { padding: 18px 0; border-bottom: 1px solid #e5e9ed; }
.account-order-notes time { color: #7b8394; font-size: 13px; }
.account-order-notes p:last-child { margin-bottom: 0; }
.account-page .woocommerce form.login, .account-page .woocommerce form.register { margin-top: 22px; padding: 28px; border: 1px solid #e2e7ec; border-radius: 10px; }
.account-page .woocommerce > form.woocommerce-ResetPassword, .account-page .woocommerce > form.login { max-width: 600px; }
.account-page .woocommerce .col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.account-page .woocommerce .col2-set::before, .account-page .woocommerce .col2-set::after { display: none; }
.account-page .woocommerce .col2-set .col-1, .account-page .woocommerce .col2-set .col-2 { float: none; width: auto; min-width: 0; }
.account-page .woocommerce form .form-row { padding: 0; margin-bottom: 22px; }
.account-page .woocommerce form .form-row label { margin-bottom: 7px; font-size: 14px; line-height: 1.6; }
.account-page .woocommerce form .form-row input.input-text, .account-page .woocommerce form .form-row textarea, .account-page .woocommerce form .form-row select { min-height: 46px; padding: 12px 14px; border: 1px solid #dce1e8; border-radius: 7px; background: #fff; color: var(--color-ink); font-size: 15px; line-height: 1.5; }
.account-page .woocommerce form .password-input input.input-text { padding-right: 48px; }
.account-page .woocommerce form fieldset { margin: 30px 0; padding: 24px; border: 1px solid #e2e7ec; border-radius: 8px; }
.account-page .woocommerce form fieldset legend { padding-inline: 8px; font-size: 20px; font-weight: 650; }
.account-page .woocommerce button.button, .account-page .woocommerce input.button, .account-page .woocommerce a.button { padding: 13px 23px; border-radius: 7px; background: var(--color-red); color: #fff; min-height: 44px; line-height: 1.4; }
.account-page .woocommerce button.button:hover, .account-page .woocommerce a.button:hover { background: var(--color-red-hover); }
.account-page .woocommerce-Address { padding: 24px; border: 1px solid #e2e7ec; border-radius: 8px; }
.account-page .woocommerce-Address h2 { font-size: 21px; }
.account-page .woocommerce-Address address { font-style: normal; color: #626b79; line-height: 1.8; }
.account-page .woocommerce-Address .edit { color: var(--color-red); }
.account-page .woocommerce table.shop_table { border: 1px solid #e2e7ec; border-radius: 8px; font-size: 14px; }
.account-page .woocommerce table.shop_table th, .account-page .woocommerce table.shop_table td { padding: 16px; overflow-wrap: anywhere; }
.account-page .woocommerce-customer-details address { border: 1px solid #e2e7ec; border-radius: 8px; padding: 20px; width: auto; }
.account-page .woocommerce :is(.woocommerce-error,.woocommerce-info,.woocommerce-message) { border-radius: 8px; }
@media (max-width: 1100px) {
    .account-layout { grid-template-columns: 205px minmax(0, 1fr); gap: 30px; }
    .account-order-card { padding: 22px; }
    .account-help { flex-wrap: wrap; gap: 18px; }
    .account-help > a { margin-left: 67px; }
    .account-order-items > li { grid-template-columns: 80px minmax(0, 1fr) auto; gap: 15px; }
    .account-item-image img { width: 80px; height: 80px; }
}
@media (max-width: 800px) {
    .account-heading { margin-bottom: 30px; }
    .account-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .account-person { margin-bottom: 18px; }
    .account-page .woocommerce-MyAccount-navigation ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .account-page .woocommerce-MyAccount-navigation li { margin: 0; }
    .account-page .woocommerce-MyAccount-navigation .account-nav-logout { margin: 0; padding: 0; border: 0; }
    .account-page .woocommerce-MyAccount-navigation a { height: 100%; padding: 12px; gap: 10px; background: #f7f8fa; font-size: 13px; }
    .account-page .woocommerce-MyAccount-navigation .icon { width: 22px; height: 22px; flex-basis: 22px; }
}
@media (max-width: 560px) {
    .account-page { padding-top: 20px; padding-bottom: 50px; }
    .account-heading h1 { font-size: 36px; }
    .account-heading p { font-size: 16px; line-height: 1.65; }
    .account-page .woocommerce-MyAccount-navigation ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account-section-heading { align-items: start; flex-direction: column; gap: 10px; }
    .account-order-card { padding: 18px; }
    .account-order-heading { flex-wrap: wrap; gap: 12px; }
    .account-order-heading h3 { font-size: 23px; }
    .account-order-status { justify-items: start; text-align: left; }
    .account-progress { margin-block: 26px; }
    .account-progress li { font-size: 11px; }
    .account-order-items > li { grid-template-columns: 65px minmax(0, 1fr); gap: 12px; }
    .account-item-image { grid-row: span 2; align-self: start; }
    .account-item-image img { width: 65px; height: 65px; }
    .account-item-description > strong { font-size: 15px; }
    .account-item-price { grid-column: 2; text-align: left; font-size: 16px; }
    .account-order-total { flex-direction: column; align-items: stretch; gap: 20px; }
    .account-order-total > div:last-child { justify-content: space-between; }
    .account-order-actions { gap: 10px; }
    .account-order-actions .account-button { width: 100%; min-width: 0; }
    .account-shortcuts { grid-template-columns: minmax(0, 1fr); gap: 15px; margin-top: 22px; }
    .account-shortcuts section { padding: 23px; }
    .account-help { padding: 22px; margin-top: 24px; }
    .account-help > .icon { flex-basis: 36px; width: 36px; height: 36px; }
    .account-help h2 { font-size: 18px; }
    .account-help > a { margin: 0; width: 100%; }
    .account-empty { padding: 28px 20px; }
    .account-page .woocommerce .col2-set { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .account-page .woocommerce form .form-row-first, .account-page .woocommerce form .form-row-last { float: none; width: 100%; }
    .account-page .woocommerce form fieldset, .account-page .woocommerce form.login, .account-page .woocommerce form.register { padding: 20px; }
    .account-page .woocommerce table.shop_table th, .account-page .woocommerce table.shop_table td { padding: 11px; font-size: 13px; }
}
