.header .header-account {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 7px 12px;
    border: 1px solid var(--ink);
    border-radius: 7px;
    color: var(--ink);
    background: transparent;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}
.header .header-account:hover { background: #f1e7f3; }
.header-account svg {
    flex: none;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
}
.header-account span { max-inline-size: 14ch; overflow: hidden; text-overflow: ellipsis; }
.product-price-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.product-price-actions .detail-price { margin-block: 0; }
.product-favorite {
    display: inline-flex; align-items: center; justify-content: center; gap: 3px; min-width: 44px; min-height: 44px; padding: 0 4px;
    color: #b52553; background: transparent; border: 0; border-radius: 50%; cursor: pointer;
}
.product-favorite svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.product-favorite-count { font-size: .7rem; font-weight: 700; }
.product-favorite:disabled { cursor: wait; }
.product-favorite[aria-pressed="true"] svg { fill: currentColor; }
.product-favorite:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.catalog .card-actions { display: flex; align-items: center; gap: 4px; padding: 0 12px 12px; }
.catalog .product-card .card-actions .card-add { margin: 0; min-width: 0; }
.catalog .card-actions form { flex: none; margin: 0; }
.store-favorite-status { position: fixed; z-index: 5; left: 12px; bottom: 16px; margin: 0; max-width: calc(100% - 24px); padding: 8px 12px; background: #fff; color: var(--ink); border-radius: 8px; box-shadow: 0 3px 12px #101e5126; }
@media (max-width: 760px) {
    .catalog .card-actions { padding: 0 8px 8px; }
    .catalog .product-card .card-actions .card-add { padding-inline: 4px; gap: 4px; line-height: 1.15; white-space: normal; }
}
@media (max-width: 480px) { .header-account span { max-inline-size: 8ch; } }
.customer-login-dialog {
    width: min(900px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 0;
    border: 1px solid #e6dce9;
    border-radius: 16px;
    background: #fffdfb;
    color: var(--ink);
    box-shadow: 0 20px 70px #101e5133;
}
.customer-login-dialog::backdrop { background: #14224c80; }
html:has(.customer-login-dialog[open]) { overflow: hidden; }
html:has(.customer-login-dialog[open]) .store-footer .footer-copy > span { visibility: hidden; }
.customer-dialog-layout { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); }
.customer-dialog-content { padding: 38px clamp(18px, 4vw, 42px) 26px; min-width: 0; }
.customer-dialog-content h2 { margin: 0 0 14px; font: 700 clamp(26px, 4vw, 36px)/1.12 Georgia, serif; }
.customer-dialog-close { position: absolute; z-index: 1; top: 5px; right: 5px; margin: 0; }
.customer-dialog-close button { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: inherit; font-size: 26px; cursor: pointer; }
.customer-login-dialog a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.customer-login-dialog :focus-visible, .header-account:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.customer-login-dialog .customer-register-prompt { margin: 15px 0 0; line-height: 1.5; }
@media (max-width: 768px) {
    .customer-dialog-layout { display: block; }
    .customer-dialog-layout .customer-auth-photo { display: none; }
}
@media (max-width: 760px) {
    .header .header-account { padding-inline: 8px; gap: 4px; font-size: .8125rem; }
    .header-account svg { width: 17px; height: 17px; }
}
@media (max-width: 430px) {
    .header-shell .header { padding-inline: 4%; column-gap: 5px; }
    .header .logo { font-size: 26px; }
    .header .header-icon { width: 34px; padding-inline: 7px; }
    .header .menu-button { padding-inline: 6px; }
    .header-actions { margin-inline-start: auto; }
}
@media (max-width: 360px) {
    .header .logo { font-size: 24px; }
    .header .header-account { padding-inline: 6px; font-size: .75rem; }
    .header .header-icon { width: 32px; padding: 7px; }
    .header .menu-button { padding-inline: 5px; }
}
