/* Shared BODYCARE chrome: bottom app navigation. Catalog is the visual source of truth. */
/* Shared chrome interactive cursor affordances live here, not in a separate asset. */
:is(
  a[href],
  button:not(:disabled),
  [role="button"],
  [data-menu-open],
  [data-cart-open],
  [data-account-trigger],
  .icon-button,
  .menu-trigger,
  .header-search__toggle,
  .bottom-nav a,
  .bottom-nav button
) {
  cursor: pointer;
}

@media (max-width: 1279px) {
  html,
  body {
    min-width: 0;
    overscroll-behavior-x: none;
    touch-action: pan-x pan-y;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  html:has(body.has-gallery-open),
  body.has-gallery-open,
  body.has-gallery-open * {
    touch-action: auto;
  }
}

.bottom-nav {
  display: none;
}

@media (max-width: 1279px) {
  .bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: var(--bodycare-z-bottom-nav, 151);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    min-height: calc(86px + env(safe-area-inset-bottom));
    overflow: hidden;
    padding: 7px 8px calc(5px + env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid rgba(126, 137, 148, 0.18);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -6px 18px rgba(77, 17, 62, 0.06);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: opacity 160ms ease;
  }

  .bottom-nav a,
.bottom-nav button {
    position: relative;
    display: grid;
    grid-template-rows: 44px 15px;
    min-width: 0;
    min-height: 74px;
    align-content: center;
    justify-items: center;
    gap: 2px;
    padding: 3px 0 0;
    border: 0;
    border-radius: 18px;
    background: transparent;
    color: #9aa6b1;
    font-family: var(--text-font);
    font-size: 10.5px;
    font-weight: 950;
    line-height: 1.05;
    text-decoration: none;
    transition:
      color 160ms ease,
      transform 160ms ease;
    -webkit-tap-highlight-color: transparent;
  }

  .bottom-nav a::before,
.bottom-nav button::before {
    position: absolute;
    top: 9px;
    left: 50%;
    z-index: 0;
    width: 46px;
    height: 40px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--pink) 0%, var(--pink-hover) 62%, var(--pink-dark) 100%);
    box-shadow:
      0 10px 22px rgba(var(--theme-accent-rgb), 0.22),
      0 1px 0 rgba(255, 255, 255, 0.42) inset;
    opacity: 0;
    content: "";
    transform: translateX(-50%) scale(0.88);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .bottom-nav a:hover,
.bottom-nav button:hover,
.bottom-nav .is-active,
.bottom-nav [aria-expanded="true"] {
    background: transparent;
    color: var(--pink);
  }

  .bottom-nav a:hover,
.bottom-nav button:hover {
    transform: translateY(-1px);
  }

  .bottom-nav .is-active::before,
.bottom-nav [aria-expanded="true"]::before {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }

  .bottom-nav svg,
.bottom-nav i[data-lucide] {
    position: relative;
    z-index: 1;
    display: block;
    align-self: center;
    width: 30px;
    height: 30px;
    color: currentColor;
    stroke: currentColor;
    stroke-width: 2.45;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.46));
    transition:
      color 160ms ease,
      stroke-width 160ms ease,
      transform 160ms ease,
      filter 160ms ease;
  }

  .bottom-nav .is-active svg,
.bottom-nav .is-active i[data-lucide],
.bottom-nav [aria-expanded="true"] svg,
.bottom-nav [aria-expanded="true"] i[data-lucide] {
    color: var(--paper);
    stroke-width: 2.55;
    filter: drop-shadow(0 4px 9px rgba(92, 18, 76, 0.16));
    transform: translateY(-1px);
  }

  .bottom-nav span {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bottom-nav .is-active span,
.bottom-nav [aria-expanded="true"] span {
    color: var(--pink);
  }

  .bottom-nav__counter[hidden] {
    display: none;
  }

  .bottom-nav__counter {
    position: absolute;
    top: 2px;
    right: auto;
    left: calc(50% + 13px);
    z-index: 2;
    display: inline-flex;
    width: 20px;
    min-width: 20px;
    height: 20px;
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.96);
    border-radius: 50%;
    background: var(--pink);
    color: var(--paper);
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    text-align: center;
    box-shadow: 0 5px 12px rgba(var(--theme-accent-rgb), 0.28);
  }

  .bottom-nav__counter.is-double {
    top: 1px;
    left: calc(50% + 12px);
    width: 22px;
    min-width: 22px;
    height: 22px;
    font-size: 9.5px;
  }

  .bottom-nav__counter.is-triple {
    top: 0;
    left: calc(50% + 11px);
    width: 24px;
    min-width: 24px;
    height: 24px;
    font-size: 8px;
  }
  body.is-menu-open .bottom-nav,
body.is-locked .bottom-nav,
body.has-cart-open .bottom-nav,
body.has-filter-open .bottom-nav {
    pointer-events: none;
    opacity: 0;
  }
}

@media (min-width: 1280px) {
  .bottom-nav {
    display: none;
  }
}

/* Shared bottom-nav lock: one visual size for home and catalog. */
@media (max-width: 1279px) {
  body.home-page .bottom-nav,
  body.catalog-page .bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: var(--bodycare-z-bottom-nav, 151);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    min-height: calc(70px + env(safe-area-inset-bottom));
    overflow: hidden;
    padding: 6px 6px calc(5px + env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid rgba(84, 72, 82, 0.12);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -4px 14px rgba(77, 17, 62, 0.05);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.home-page .bottom-nav a,
  body.home-page .bottom-nav button,
  body.catalog-page .bottom-nav a,
  body.catalog-page .bottom-nav button {
    display: grid;
    grid-template-rows: 32px 16px;
    min-width: 0;
    min-height: 58px;
    align-content: center;
    justify-items: center;
    gap: 1px;
    padding: 1px 1px 0;
    border: 0;
    border-radius: 16px;
    background: transparent;
    box-shadow: none;
    color: #5e525c;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.1;
    transform: none;
  }

  body.home-page .bottom-nav svg,
  body.home-page .bottom-nav i[data-lucide],
  body.catalog-page .bottom-nav svg,
  body.catalog-page .bottom-nav i[data-lucide] {
    width: 22px;
    height: 22px;
    color: #5e525c;
    stroke: #5e525c;
    stroke-width: 2;
    filter: none;
  }

  body.home-page .bottom-nav a::before,
  body.home-page .bottom-nav button::before,
  body.catalog-page .bottom-nav a::before,
  body.catalog-page .bottom-nav button::before {
    position: absolute;
    top: 1px;
    left: 50%;
    z-index: 0;
    display: block;
    width: 46px;
    height: 31px;
    border-radius: 999px;
    background: rgba(var(--theme-accent-rgb), 0.1);
    box-shadow: none;
    opacity: 0;
    content: "";
    transform: translateX(-50%) scale(0.94);
  }

  body.home-page .bottom-nav a:hover svg,
  body.home-page .bottom-nav button:hover svg,
  body.home-page .bottom-nav .is-active svg,
  body.home-page .bottom-nav [aria-expanded="true"] svg,
  body.catalog-page .bottom-nav a:hover svg,
  body.catalog-page .bottom-nav button:hover svg,
  body.catalog-page .bottom-nav .is-active svg,
  body.catalog-page .bottom-nav [aria-expanded="true"] svg,
  body.home-page .bottom-nav a:hover i[data-lucide],
  body.home-page .bottom-nav button:hover i[data-lucide],
  body.home-page .bottom-nav .is-active i[data-lucide],
  body.home-page .bottom-nav [aria-expanded="true"] i[data-lucide],
  body.catalog-page .bottom-nav a:hover i[data-lucide],
  body.catalog-page .bottom-nav button:hover i[data-lucide],
  body.catalog-page .bottom-nav .is-active i[data-lucide],
  body.catalog-page .bottom-nav [aria-expanded="true"] i[data-lucide] {
    color: #5e525c;
    stroke: #5e525c;
    stroke-width: 2;
    transform: none;
  }

  body.home-page .bottom-nav .is-active::before,
  body.home-page .bottom-nav [aria-expanded="true"]::before,
  body.catalog-page .bottom-nav .is-active::before,
  body.catalog-page .bottom-nav [aria-expanded="true"]::before {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }

  body.home-page .bottom-nav span,
  body.catalog-page .bottom-nav span,
  body.home-page .bottom-nav .is-active span,
  body.home-page .bottom-nav [aria-expanded="true"] span,
  body.catalog-page .bottom-nav .is-active span,
  body.catalog-page .bottom-nav [aria-expanded="true"] span {
    color: #6f6570;
    font-size: 10px;
    font-weight: 500;
  }
}

@media (max-width: 760px) {
  html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  input:not([data-code-cell]),
select,
textarea {
    font-size: 16px;
  }

}

/* Shared compact bottom app navigation. */
@media (max-width: 1279px) {
  body:not(.checkout-page):has(.bottom-nav) {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }

  body .bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-width: 0;
    min-height: calc(70px + env(safe-area-inset-bottom));
    max-width: 100%;
    padding: 6px 6px calc(5px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(84, 72, 82, 0.12);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -4px 14px rgba(77, 17, 62, 0.05);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translateY(0);
    visibility: visible;
    transition:
      opacity 160ms ease,
      transform 180ms ease,
      visibility 0s linear 0s;
  }

  body .bottom-nav a,
  body .bottom-nav button,
  body .bottom-nav a:hover,
  body .bottom-nav button:hover,
  body .bottom-nav .is-active,
  body .bottom-nav [aria-expanded="true"] {
    grid-template-rows: 32px 16px;
    min-width: 0;
    min-height: 58px;
    max-width: 100%;
    gap: 1px;
    padding: 1px 1px 0;
    border-radius: 16px;
    background: transparent;
    box-shadow: none;
    color: #5e525c;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.1;
    transform: none;
  }

  body .bottom-nav a::before,
  body .bottom-nav button::before,
  body .bottom-nav a:hover::before,
  body .bottom-nav button:hover::before {
    position: absolute;
    top: 1px;
    left: 50%;
    z-index: 0;
    display: block;
    width: 46px;
    height: 31px;
    border-radius: 999px;
    background: rgba(var(--theme-accent-rgb), 0.1);
    box-shadow: none;
    opacity: 0;
    content: "";
    transform: translateX(-50%) scale(0.94);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  body .bottom-nav .is-active::before,
  body .bottom-nav [aria-expanded="true"]::before {
    position: absolute;
    top: 1px;
    left: 50%;
    z-index: 0;
    display: block;
    width: 46px;
    height: 31px;
    border-radius: 999px;
    background: rgba(var(--theme-accent-rgb), 0.1);
    box-shadow: none;
    opacity: 1;
    content: "";
    transform: translateX(-50%) scale(1);
  }

  body .bottom-nav svg,
  body .bottom-nav i[data-lucide],
  body .bottom-nav a:hover svg,
  body .bottom-nav a:hover i[data-lucide],
  body .bottom-nav button:hover svg,
  body .bottom-nav button:hover i[data-lucide],
  body .bottom-nav .is-active svg,
  body .bottom-nav .is-active i[data-lucide],
  body .bottom-nav [aria-expanded="true"] svg,
  body .bottom-nav [aria-expanded="true"] i[data-lucide] {
    width: 22px;
    height: 22px;
    color: #5e525c;
    stroke: #5e525c;
    stroke-width: 2;
    filter: none;
    transform: none;
  }

  body .bottom-nav span,
  body .bottom-nav .is-active span,
  body .bottom-nav [aria-expanded="true"] span {
    color: #6f6570;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body .bottom-nav [data-ai-open] span {
    font-size: 9.2px;
  }

  body .bottom-nav__counter {
    top: -1px;
    left: calc(50% + 10px);
    width: 18px;
    min-width: 18px;
    height: 18px;
    border-width: 2px;
    font-size: 9.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body .bottom-nav__counter.is-double {
    left: calc(50% + 9px);
    width: 20px;
    min-width: 20px;
    height: 20px;
    font-size: 9px;
  }

  body .bottom-nav__counter.is-triple {
    left: calc(50% + 8px);
    width: 22px;
    min-width: 22px;
    height: 22px;
    font-size: 7.8px;
  }

  body.has-mobile-input-focus:not(.checkout-page):has(.bottom-nav) {
    padding-bottom: env(safe-area-inset-bottom);
  }

  body.has-mobile-input-focus .bottom-nav {
    pointer-events: none;
    opacity: 0;
    transform: translateY(calc(100% + env(safe-area-inset-bottom)));
    visibility: hidden;
    transition:
      opacity 120ms ease,
      transform 160ms ease,
      visibility 0s linear 160ms;
  }
}

@media (max-width: 430px) {
  body:not(.checkout-page):has(.bottom-nav) {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  body .bottom-nav {
    min-height: calc(64px + env(safe-area-inset-bottom));
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
  }

  body .bottom-nav a,
body .bottom-nav button,
body .bottom-nav a:hover,
body .bottom-nav button:hover,
body .bottom-nav .is-active,
body .bottom-nav [aria-expanded="true"] {
    grid-template-rows: 28px 14px;
    min-height: 50px;
    gap: 0;
    padding: 0;
    border-radius: 12px;
    font-size: 9.2px;
    line-height: 1.05;
  }

  body .bottom-nav a::before,
body .bottom-nav button::before,
body .bottom-nav a:hover::before,
body .bottom-nav button:hover::before,
body .bottom-nav .is-active::before,
body .bottom-nav [aria-expanded="true"]::before {
    top: 0;
    width: 40px;
    height: 28px;
  }

  body .bottom-nav svg,
body .bottom-nav i[data-lucide],
body .bottom-nav a:hover svg,
body .bottom-nav a:hover i[data-lucide],
body .bottom-nav button:hover svg,
body .bottom-nav button:hover i[data-lucide],
body .bottom-nav .is-active svg,
body .bottom-nav .is-active i[data-lucide],
body .bottom-nav [aria-expanded="true"] svg,
body .bottom-nav [aria-expanded="true"] i[data-lucide] {
    grid-row: 1;
    place-self: center;
    width: 20px;
    height: 20px;
  }

  body .bottom-nav span,
body .bottom-nav .is-active span,
body .bottom-nav [aria-expanded="true"] span {
    grid-row: 2;
    align-self: start;
    max-width: 100%;
    font-size: 9.2px;
    line-height: 1.05;
  }

  body .bottom-nav [data-ai-open] span {
    font-size: 8.3px;
  }

  body .bottom-nav__counter {
    top: -2px;
    left: calc(50% + 8px);
    width: 17px;
    min-width: 17px;
    height: 17px;
    font-size: 8.6px;
  }

  body .bottom-nav__counter.is-double {
    left: calc(50% + 7px);
    width: 19px;
    min-width: 19px;
    height: 19px;
    font-size: 8px;
  }

  body .bottom-nav__counter.is-triple {
    left: calc(50% + 7px);
    width: 21px;
    min-width: 21px;
    height: 21px;
    font-size: 7.2px;
  }
}

/* Account button system: keep actions visually consistent across account pages. */
body.account-page {
  --account-button-border: rgba(var(--theme-accent-rgb), 0.42);
  --account-button-hover-border: var(--pink);
  --account-button-bg: #ffffff;
  --account-button-hover-bg: var(--pink);
  --account-button-color: var(--pink);
  --account-button-hover-color: #ffffff;
  --account-button-danger: #e11d48;
  --account-button-danger-soft: #fff1f3;
}

body.account-page .account-main :is(
  .payments-add,
  .payment-secondary,
  .payments-help button,
  .addresses-add,
  .address-action,
  .address-set-primary,
  .settings-primary,
  .settings-outline,
  .settings-session button,
  .beauty-edit,
  .beauty-recommendations,
  .beauty-add-brand,
  .beauty-editor__save,
  .beauty-editor__cancel,
  .order-card__outline,
  .order-card__primary,
  .orders-support button,
  .favorites-actions button,
  .favorite-card__button,
  .favorites-more,
  .reviews-awaiting-card button,
  .review-actions button,
  .reviews-more,
  .rebuy-product-card__button,
  .rebuy-row__actions button:first-child,
  .rebuy-more,
  .review-card__button,
  .account-product-card__button,
  .account-catalog-card__button
),
body.account-page .account-ui-modal :is(.account-ui-button),
body.account-page .payments-modal :is(.payments-modal__submit, .payments-modal__cancel) {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid var(--account-button-border);
  border-radius: var(--radius-pill);
  background: var(--account-button-bg);
  color: var(--account-button-color);
  box-shadow: none;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transform: none;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

body.account-page .account-main :is(
  .payments-add,
  .addresses-add,
  .settings-primary,
  .beauty-edit,
  .beauty-recommendations,
  .order-card__primary,
  .reviews-more,
  .rebuy-more,
  .favorites-more
) {
  min-height: 54px;
  padding-right: 26px;
  padding-left: 26px;
}

body.account-page .account-main :is(
  .review-actions button,
  .address-action,
  .payment-secondary,
  .payments-help button,
  .settings-session button
) {
  min-height: 38px;
  padding-right: 14px;
  padding-left: 14px;
  font-size: 14px;
}

body.account-page .account-main :is(
  .payments-add,
  .payment-secondary,
  .payments-help button,
  .addresses-add,
  .address-action,
  .address-set-primary,
  .settings-primary,
  .settings-outline,
  .settings-session button,
  .beauty-edit,
  .beauty-recommendations,
  .beauty-add-brand,
  .beauty-editor__save,
  .beauty-editor__cancel,
  .order-card__outline,
  .order-card__primary,
  .orders-support button,
  .favorites-actions button,
  .favorite-card__button,
  .favorites-more,
  .reviews-awaiting-card button,
  .review-actions button,
  .reviews-more,
  .rebuy-product-card__button,
  .rebuy-row__actions button:first-child,
  .rebuy-more,
  .review-card__button,
  .account-product-card__button,
  .account-catalog-card__button
):hover,
body.account-page .account-main :is(
  .payments-add,
  .payment-secondary,
  .payments-help button,
  .addresses-add,
  .address-action,
  .address-set-primary,
  .settings-primary,
  .settings-outline,
  .settings-session button,
  .beauty-edit,
  .beauty-recommendations,
  .beauty-add-brand,
  .beauty-editor__save,
  .beauty-editor__cancel,
  .order-card__outline,
  .order-card__primary,
  .orders-support button,
  .favorites-actions button,
  .favorite-card__button,
  .favorites-more,
  .reviews-awaiting-card button,
  .review-actions button,
  .reviews-more,
  .rebuy-product-card__button,
  .rebuy-row__actions button:first-child,
  .rebuy-more,
  .review-card__button,
  .account-product-card__button,
  .account-catalog-card__button
):focus-visible,
body.account-page .account-ui-modal :is(.account-ui-button):hover,
body.account-page .account-ui-modal :is(.account-ui-button):focus-visible,
body.account-page .payments-modal :is(.payments-modal__submit, .payments-modal__cancel):hover,
body.account-page .payments-modal :is(.payments-modal__submit, .payments-modal__cancel):focus-visible {
  border-color: var(--account-button-hover-border);
  background: var(--account-button-hover-bg);
  color: var(--account-button-hover-color);
  box-shadow: 0 10px 22px rgba(var(--theme-accent-rgb), 0.18);
  outline: 0;
}

body.account-page .account-main :is(
  .settings-outline--danger,
  .address-action--delete,
  [data-review-delete]
),
body.account-page .account-action-menu button.is-danger,
body.account-page .payment-card-menu button[data-payment-action="unlink"] {
  border-color: rgba(225, 29, 72, 0.34);
  background: #ffffff;
  color: var(--account-button-danger);
}

body.account-page .account-main :is(
  .settings-outline--danger,
  .address-action--delete,
  [data-review-delete]
):hover,
body.account-page .account-main :is(
  .settings-outline--danger,
  .address-action--delete,
  [data-review-delete]
):focus-visible,
body.account-page .account-action-menu button.is-danger:hover,
body.account-page .account-action-menu button.is-danger:focus-visible,
body.account-page .payment-card-menu button[data-payment-action="unlink"]:hover,
body.account-page .payment-card-menu button[data-payment-action="unlink"]:focus-visible {
  border-color: var(--account-button-danger);
  background: var(--account-button-danger);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(225, 29, 72, 0.16);
}

body.account-page .account-main :is(
  .payment-more,
  .order-more,
  .rebuy-row__more
) {
  border: 1px solid rgba(var(--theme-accent-rgb), 0.22);
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #344054;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

body.account-page .account-main :is(
  .payment-more,
  .order-more,
  .rebuy-row__more
):hover,
body.account-page .account-main :is(
  .payment-more,
  .order-more,
  .rebuy-row__more
):focus-visible {
  border-color: var(--account-button-border);
  background: var(--pink-soft);
  color: var(--pink);
  outline: 0;
}

body.account-page .account-action-menu,
body.account-page .payment-card-menu {
  border-radius: 18px;
}

body.account-page .account-action-menu button,
body.account-page .payment-card-menu button {
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
}

body.account-page .account-action-menu button:hover,
body.account-page .account-action-menu button:focus-visible,
body.account-page .payment-card-menu button:hover,
body.account-page .payment-card-menu button:focus-visible {
  border-color: rgba(var(--theme-accent-rgb), 0.2);
  background: var(--pink-soft);
  color: var(--pink);
  outline: 0;
}

body.account-page .account-main :is(
  .review-actions button svg,
  .address-action svg,
  .payments-add svg,
  .reviews-awaiting-card button svg,
  .favorites-actions button svg,
  .settings-outline svg,
  .beauty-edit svg
) {
  flex: 0 0 auto;
}

body.account-page .account-main button[data-review-delete],
body.account-page .account-main .address-action.address-action--delete,
body.account-page .account-main .settings-outline.settings-outline--danger {
  border-color: rgba(225, 29, 72, 0.34);
  background: #ffffff;
  color: var(--account-button-danger);
}

body.account-page .account-main button[data-review-delete]:hover,
body.account-page .account-main button[data-review-delete]:focus-visible,
body.account-page .account-main .address-action.address-action--delete:hover,
body.account-page .account-main .address-action.address-action--delete:focus-visible,
body.account-page .account-main .settings-outline.settings-outline--danger:hover,
body.account-page .account-main .settings-outline.settings-outline--danger:focus-visible {
  border-color: var(--account-button-danger);
  background: var(--account-button-danger);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(225, 29, 72, 0.16);
}

body.account-page.reviews-page .account-main .review-actions button[data-review-delete],
body.account-page.addresses-page .account-main .address-card__actions .address-action.address-action--delete,
body.account-page.settings-page .account-main .settings-card--danger .settings-outline.settings-outline--danger {
  border-color: rgba(225, 29, 72, 0.34);
  background: #ffffff;
  color: var(--account-button-danger);
}

body.account-page.reviews-page .account-main .review-actions button[data-review-delete]:hover,
body.account-page.reviews-page .account-main .review-actions button[data-review-delete]:focus-visible,
body.account-page.addresses-page .account-main .address-card__actions .address-action.address-action--delete:hover,
body.account-page.addresses-page .account-main .address-card__actions .address-action.address-action--delete:focus-visible,
body.account-page.settings-page .account-main .settings-card--danger .settings-outline.settings-outline--danger:hover,
body.account-page.settings-page .account-main .settings-card--danger .settings-outline.settings-outline--danger:focus-visible {
  border-color: var(--account-button-danger);
  background: var(--account-button-danger);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(225, 29, 72, 0.16);
}

body.account-page .account-action-menu button,
body.account-page .account-action-menu button.is-danger,
body.account-page .payment-card-menu button,
body.account-page .payment-card-menu button[data-payment-action="unlink"] {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}
