.pf-screen {
  padding: clamp(24px, 4vw, 52px) 0 calc(var(--bottomnav-h) + 34px);
}
.pf-wrap {
  width: min(980px, 100%);
  margin: auto;
  padding-inline: var(--pad);
}
.pf-page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}
.pf-page-heading h1,
.pf-login h2,
.pf-head h2,
.pf-section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.05;
}
.pf-page-heading h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.pf-page-heading p {
  margin: 7px 0 0;
  color: var(--muted);
}
.pf-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pf-demo-switch,
.pf-demo-link {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 800;
  cursor: pointer;
}
.pf-demo-switch {
  padding: 8px 0;
}
.pf-login {
  display: flex;
  width: min(470px, 100%);
  margin: clamp(28px, 6vw, 76px) auto;
  padding: 34px 30px;
  align-items: center;
  flex-direction: column;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--sh-md);
}
.pf-login-icon {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  background: var(--accent-soft-bg);
  color: var(--accent);
}
.pf-login-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}
.pf-login h2 {
  font-size: 1.8rem;
}
.pf-login p {
  max-width: 34ch;
  margin: 10px 0 22px;
  color: var(--muted);
}
.pf-login-actions {
  display: grid;
  width: 100%;
  gap: 10px;
}
.pf-login-actions button,
.pf-primary-btn,
.pf-secondary-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: var(--r-md);
  font-weight: 800;
  cursor: pointer;
}
.pf-login-actions button {
  border: 0;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 7px 18px color-mix(in srgb, var(--primary) 22%, transparent);
}
.pf-login-actions .pf-ghost-btn {
  border: 1px solid var(--line);
  background: var(--btn-ghost-bg);
  color: var(--ink);
  box-shadow: none;
}
.pf-demo-link {
  margin-top: 20px;
  font-size: 0.76rem;
}
.pf-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--sh-sm);
}
.pf-avatar {
  display: grid;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 25%, transparent);
}
.pf-id {
  min-width: 0;
}
.pf-id h2 {
  font-size: 1.55rem;
}
.pf-id p {
  margin: 5px 0 0;
  color: var(--muted);
}
.pf-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.pf-primary-btn {
  border: 0;
  background: var(--primary);
  color: #fff;
}
.pf-secondary-btn {
  border: 1px solid var(--line);
  background: var(--btn-ghost-bg);
  color: var(--ink);
}
.pf-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 800;
  cursor: pointer;
}
.pf-head-actions svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.pf-tabs {
  display: flex;
  gap: 4px;
  margin: 20px 0 26px;
  border-bottom: 1px solid var(--line);
}
.pf-tabs button {
  position: relative;
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}
.pf-tabs button::after {
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 3px;
  border-radius: var(--r-pill);
  background: var(--primary);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.pf-tabs button[aria-selected="true"] {
  color: var(--accent);
}
.pf-tabs button[aria-selected="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}
.pf-tabs svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.pf-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 17px;
}
.pf-section-head h2 {
  font-size: 1.65rem;
}
.pf-addr-list,
.pf-order-list {
  display: grid;
  gap: 12px;
}
.pf-addr-card,
.pf-order-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-sm);
}
.pf-addr-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: start;
  gap: 14px;
  padding: 18px;
}
.pf-addr-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--accent-border);
  border-radius: 13px;
  background: var(--accent-soft-bg);
  color: var(--accent);
}
.pf-addr-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.pf-card-line {
  display: flex;
  align-items: center;
  gap: 9px;
}
.pf-addr-main h3,
.pf-order-card h3 {
  margin: 0;
  font-size: 1rem;
}
.pf-addr-main p {
  margin: 6px 0 3px;
  color: var(--ink-soft);
  font-weight: 700;
}
.pf-addr-main small,
.pf-order-top p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}
.pf-badge {
  padding: 3px 7px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--green) 15%, transparent);
  color: var(--green-ink, var(--green));
  font-size: 0.63rem;
  font-weight: 850;
}
.pf-card-actions {
  display: flex;
  gap: 8px;
}
.pf-card-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  background: var(--btn-ghost-bg);
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}
.pf-card-actions button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.pf-card-actions button.is-danger {
  color: var(--danger);
}
.pf-order-card {
  padding: 18px;
}
.pf-order-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.pf-order-top p {
  margin: 5px 0 0;
}
.pf-status {
  padding: 5px 9px;
  align-self: start;
  border-radius: var(--r-pill);
  font-size: 0.67rem;
  font-weight: 850;
  white-space: nowrap;
}
.pf-status.is-progress {
  background: var(--accent-soft-bg);
  color: var(--accent);
}
.pf-status.is-done {
  background: color-mix(in srgb, var(--green) 15%, transparent);
  color: var(--green-ink, var(--green));
}
.pf-order-total {
  display: block;
  margin: 15px 0;
  font-size: 1.2rem;
}
.pf-order-card > .pf-card-actions {
  justify-content: flex-end;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.pf-modal-actions {
  justify-content: flex-end;
}
.pf-detail-list {
  display: grid;
  gap: 0;
  margin-top: 2px;
  border-top: 1px solid var(--line);
}
.pf-detail-list p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}
.pf-detail-list span {
  color: var(--muted);
}
.pf-detail-list b {
  text-align: right;
}
@media (max-width: 767.98px) {
  .pf-screen {
    padding-top: 20px;
    padding-bottom: calc(
      var(--bottomnav-h) + env(safe-area-inset-bottom) + 26px
    );
  }
  .pf-page-heading {
    display: block;
    margin-bottom: 22px;
  }
  .pf-demo-switch {
    margin-top: 14px;
  }
  .pf-login {
    margin: 36px auto 20px;
    padding: 28px 20px;
  }
  .pf-head {
    flex-wrap: wrap;
    padding: 18px;
    gap: 12px;
  }
  .pf-avatar {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    font-size: 1.6rem;
  }
  .pf-id h2 {
    font-size: 1.28rem;
  }
  .pf-head-actions {
    width: 100%;
    margin-left: 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .pf-head-actions .pf-secondary-btn {
    flex: 1;
  }
  .pf-tabs {
    overflow-x: auto;
    margin-top: 16px;
  }
  .pf-tabs button {
    flex: 1 0 auto;
    padding-inline: 11px;
    font-size: 0.78rem;
  }
  .pf-section-head {
    align-items: start;
    flex-direction: column;
  }
  .pf-primary-btn {
    width: 100%;
  }
  .pf-addr-card {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
    padding: 15px;
  }
  .pf-addr-icon {
    width: 38px;
    height: 38px;
  }
  .pf-addr-main {
    min-width: 0;
  }
  .pf-card-actions {
    grid-column: 1/-1;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  .pf-card-actions button {
    flex: 1;
  }
  .pf-order-card {
    padding: 15px;
  }
  .pf-order-top {
    display: block;
  }
  .pf-status {
    display: inline-block;
    margin-top: 10px;
  }
  .pf-order-card > .pf-card-actions {
    justify-content: stretch;
  }
  .pf-modal-actions {
    justify-content: stretch;
  }
  .pf-modal-actions > * {
    flex: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pf-tabs button::after {
    transition: none;
  }
}
.pf-modal-open,
.pf-modal-open body {
  overflow: hidden;
  overscroll-behavior: none;
}
.modern-combo-backdrop[data-profile-modal-backdrop][hidden] {
  display: none !important;
}
.pf-profile-name-row {
  display: flex;
  align-items: center;
  gap: 7px;
}
.pf-provider-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
}
.pf-provider-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}
.pf-modal-form {
  display: grid;
  gap: 12px;
}
.pf-modal-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}
.pf-modal-form input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--field-bg);
  color: var(--ink);
  font: inherit;
  outline: none;
}
.pf-modal-form input::placeholder {
  color: var(--muted);
}
.pf-modal-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent);
}
.pf-address-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pf-address-form .is-wide {
  grid-column: 1/-1;
}
.pf-login[hidden],
.pf-auth[hidden] {
  display: none !important;
}
.pf-login-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: var(--r-md);
  font-weight: 800;
  text-decoration: none;
}
.pf-google-btn {
  background: var(--btn-ghost-bg);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.pf-google-btn:hover {
  background: var(--accent-soft-bg);
  border-color: var(--accent-border);
}
.pf-login-actions svg {
  width: 18px;
  height: 18px;
  stroke: none;
}
.pf-login-actions .pf-ghost-btn svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.pf-google-btn:focus-visible,
.pf-ghost-btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 2px;
}
@media (max-width: 767.98px) {
  .pf-address-form {
    grid-template-columns: 1fr;
  }
  .pf-address-form .is-wide {
    grid-column: auto;
  }
}
.pf-provider-caption {
  margin: 5px 0 0 !important;
  color: var(--muted);
  font-size: 0.82rem;
}
.pf-provider-icon {
  width: 18px;
  height: 18px;
}
.pf-provider-icon svg {
  width: 18px;
  height: 18px;
}
.pf-head-actions form {
  margin: 0;
}
.pf-profile-edit-btn,
.pf-profile-logout-btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--btn-ghost-bg);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.pf-profile-edit-btn:hover,
.pf-profile-logout-btn:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft-bg);
  transform: translateY(-1px);
}
.pf-profile-logout-btn {
  color: var(--danger);
}
.pf-profile-edit-btn:focus-visible,
.pf-profile-logout-btn:focus-visible,
.pf-address-suggestions button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 30%, transparent);
  outline-offset: 2px;
}
.pf-head-actions svg {
  width: 16px;
  height: 16px;
}
.pf-address-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.pf-address-search-field {
  position: relative;
}
.pf-address-search-control {
  position: relative;
  display: block;
}
.pf-address-search-control > svg {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 18px;
  height: 18px;
  pointer-events: none;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.pf-modal-form .pf-address-search-control input {
  padding-left: 42px;
  padding-right: 42px;
}
.pf-address-search-loading {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 15px;
  height: 15px;
  border: 2px solid color-mix(in srgb, var(--primary) 22%, transparent);
  border-top-color: var(--primary);
  border-radius: 50%;
  transform: translateY(-50%);
  animation: pf-search-spin 0.7s linear infinite;
}
.pf-address-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  max-height: 272px;
  overflow-y: auto;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 18px 36px color-mix(in srgb, #000 22%, transparent);
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--muted) 45%, transparent) transparent;
}
.pf-address-suggestions[hidden] {
  display: none;
}
.pf-address-suggestions button {
  display: grid;
  width: 100%;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 10px;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition:
    background 0.16s var(--ease),
    transform 0.16s var(--ease);
}
.pf-address-suggestions button:last-child {
  border-bottom: 0;
}
.pf-address-suggestions button:hover {
  background: var(--accent-soft-bg);
}
.pf-address-suggestions button:active {
  transform: scale(0.99);
  background: color-mix(in srgb, var(--accent-soft-bg) 80%, var(--surface));
}
.pf-address-suggestions button svg {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.pf-address-suggestions b,
.pf-address-suggestions small {
  display: block;
}
.pf-address-suggestions b {
  font-size: 0.88rem;
  line-height: 1.35;
}
.pf-address-suggestions small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}
.pf-address-suggestion-message {
  margin: 0;
  padding: 12px 10px;
  color: var(--muted);
  font-size: 0.82rem;
}
@keyframes pf-search-spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}
@media (max-width: 767.98px) {
  .pf-head-actions {
    gap: 8px;
  }
  .pf-profile-edit-btn {
    flex: 1;
  }
  .pf-profile-logout-btn {
    white-space: nowrap;
  }
  .pf-address-fields {
    grid-template-columns: 1fr;
  }
  .pf-address-suggestions {
    max-height: 240px;
  }
}
.pf-addr-card {
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  padding: 20px;
}
.pf-addr-content {
  min-width: 0;
}
.pf-addr-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.pf-addr-heading h3 {
  margin: 0;
  font-size: 1rem;
}
.pf-addr-street,
.pf-addr-location {
  max-width: 100%;
  margin: 7px 0 0;
}
.pf-addr-street {
  color: var(--ink-soft);
  font-weight: 750;
  overflow-wrap: break-word;
}
.pf-addr-location,
.pf-addr-cep {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}
.pf-addr-cep {
  display: block;
  margin-top: 3px;
}
.pf-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: color-mix(in srgb, var(--green) 14%, transparent);
  font-size: 0.66rem;
  text-transform: none;
  white-space: nowrap;
}
.pf-card-actions {
  align-self: end;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.pf-card-actions button {
  min-height: 38px;
  border: 1px solid transparent;
  background: var(--btn-ghost-bg);
  transition:
    background 0.16s var(--ease),
    border-color 0.16s var(--ease),
    transform 0.16s var(--ease);
}
.pf-card-actions button:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft-bg);
  transform: translateY(-1px);
}
.pf-card-actions button.is-danger:hover {
  border-color: color-mix(in srgb, var(--danger) 38%, var(--line));
  background: color-mix(in srgb, var(--danger) 9%, var(--surface));
}
.pf-card-actions button:focus-visible,
.pf-delete-confirm-btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 30%, transparent);
  outline-offset: 2px;
}
.pf-delete-confirmation .modern-combo-modal {
  width: min(430px, calc(100vw - 32px));
}
.pf-delete-confirmation-body {
  display: grid;
  justify-items: center;
  text-align: center;
}
.pf-delete-confirmation-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 13px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--danger) 13%, transparent);
  color: var(--danger);
}
.pf-delete-confirmation-icon svg,
.pf-delete-confirm-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.pf-delete-confirmation-body p {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
}
.pf-delete-confirmation-body strong {
  margin-top: 13px;
}
.pf-delete-confirmation-body > span:not(.pf-delete-confirmation-icon),
.pf-delete-confirmation-body small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.83rem;
}
.pf-delete-confirmation-body small {
  margin-top: 15px;
}
.pf-delete-confirmation-message {
  min-height: 1.2em !important;
  margin-top: 10px !important;
  color: var(--danger) !important;
  font-size: 0.8rem;
}
.pf-delete-confirm-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--danger);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.pf-delete-confirm-btn:disabled {
  opacity: 0.68;
  cursor: wait;
}
@media (max-width: 767.98px) {
  .pf-addr-card {
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: start;
    padding: 16px;
  }
  .pf-addr-content {
    padding-top: 1px;
  }
  .pf-card-actions {
    grid-column: 1/-1;
    justify-content: stretch;
  }
  .pf-card-actions button {
    flex: 1 1 auto;
    padding-inline: 8px;
  }
  .pf-delete-confirmation .modern-combo-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .pf-delete-confirmation .modern-combo-footer > * {
    width: 100%;
    padding-inline: 9px;
  }
}
.pf-modal-form input[readonly] {
  background: color-mix(in srgb, var(--field-bg) 82%, var(--muted));
  color: var(--muted);
  cursor: not-allowed;
}
@media (max-width: 767.98px) {
  .modern-combo-backdrop.pf-delete-confirmation {
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) 16px
      max(16px, env(safe-area-inset-bottom));
  }
  .pf-delete-confirmation .modern-combo-modal {
    width: min(430px, 100%);
    max-height: calc(
      100dvh - max(16px, env(safe-area-inset-top)) -
        max(16px, env(safe-area-inset-bottom)) - 16px
    );
    margin: 0;
    overflow: auto;
  }
  .pf-delete-confirmation .modern-combo-body {
    overflow: auto;
  }
}
@media (max-width: 360px) {
  .pf-delete-confirmation .modern-combo-footer {
    grid-template-columns: 1fr;
  }
}

.pf-toast {
  position: fixed;
  top: 72px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 16px 40px color-mix(in srgb, #000 18%, transparent);
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.pf-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.pf-toast-icon {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--green) 14%, transparent);
  color: var(--green-ink, var(--green));
}
.pf-toast-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}
.pf-toast-content {
  min-width: 0;
  font-size: 0.88rem;
  line-height: 1.35;
}
.pf-toast-content strong {
  font-weight: 800;
}
.pf-toast.is-success {
  border-color: color-mix(in srgb, var(--green) 38%, var(--line));
  background: color-mix(in srgb, var(--green) 7%, var(--surface));
}
.pf-toast.is-error {
  border-color: color-mix(in srgb, var(--danger) 42%, var(--line));
  background: color-mix(in srgb, var(--danger) 7%, var(--surface));
}
.pf-toast.is-error .pf-toast-icon {
  background: color-mix(in srgb, var(--danger) 14%, transparent);
  color: var(--danger);
}
.pf-toast.is-error .pf-toast-content {
  color: var(--danger);
}
@media (max-width: 767.98px) {
  .pf-toast {
    top: auto;
    left: 50%;
    right: auto;
    bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom) + 12px);
    width: max-content;
    min-width: 0;
    max-width: calc(100vw - 28px);
    justify-content: flex-start;
    text-align: left;
    transform: translate(-50%, 10px) scale(0.98);
  }
  .pf-toast.is-visible {
    transform: translate(-50%, 0) scale(1);
  }
  .pf-toast-icon {
    position: static;
    transform: none;
    flex: 0 0 28px;
  }
  .pf-toast-content {
    width: auto;
    text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pf-toast {
    transition: none;
  }
}
.pf-login-actions .pf-google-btn {
  background: var(--btn-ghost-bg);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.pf-login-actions .pf-google-btn:hover {
  background: var(--accent-soft-bg);
  border-color: var(--accent-border);
}
.pf-orders-list { display: grid; gap: 12px; }
.pf-order-card { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.pf-order-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pf-order-head h3, .pf-order-total { margin: 0; font-weight: 800; }
.pf-order-meta { margin: 10px 0; color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.pf-order-actions {
  --pf-border: var(--line);
  --pf-border-strong: var(--accent-border);
  --pf-soft: var(--btn-ghost-bg);
  --pf-soft-hover: var(--accent-soft-bg);
  --pf-text: var(--ink);
  --pf-accent: var(--accent);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.pf-order-actions button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid var(--pf-border);
  border-radius: 11px;
  background: var(--pf-soft);
  color: var(--pf-text);
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.pf-order-actions button svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pf-order-actions button:hover { background: var(--pf-soft-hover); border-color: var(--pf-border-strong); }
.pf-order-actions button:focus-visible { outline: 3px solid color-mix(in srgb, var(--pf-accent) 30%, transparent); outline-offset: 2px; }
.pf-order-actions button:active { transform: translateY(1px); }
.pf-order-actions button.is-primary { color: var(--pf-accent); }
.pf-order-status {
  --status-color: var(--muted);
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--status-color) 28%, var(--line));
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--status-color) 10%, var(--surface));
  color: var(--status-color);
  font-size: .75rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.pf-order-status svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pf-order-status.is-processing { --status-color: #a66a00; }
.pf-order-status.is-received { --status-color: var(--green-ink, #168451); }
.pf-order-status.is-cancelled { --status-color: var(--danger); }
html[data-theme="dark"] .pf-order-status.is-processing { --status-color: #f0b84b; }
html[data-theme="dark"] .pf-order-status.is-received { --status-color: #62d49a; }
html[data-theme="dark"] .pf-order-status.is-cancelled { --status-color: #ff7d7d; }
.pf-orders-empty { padding: 22px; border: 1px dashed var(--line); border-radius: 16px; }
.modern-order-details-modal { width:min(760px,calc(100vw - 32px)); max-height:min(88dvh,880px); border-radius:24px; box-shadow:0 20px 60px rgba(33,19,15,.28); }
.modern-order-details-header { padding:13px 20px; }
.modern-order-details-body { padding:18px 24px 8px; }
.modern-order-details-meta { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.modern-order-details-meta-card { display:flex; align-items:center; gap:11px; min-width:0; padding:12px; border:1px solid var(--line,#e9ddda); border-radius:14px; background:var(--surface-2,#f6eeeb); }
.modern-order-details-meta-icon, .modern-order-details-address-icon { display:grid; flex:0 0 auto; place-items:center; width:38px; height:38px; border-radius:11px; background:var(--surface,#fff); color:var(--primary,var(--accent,#c9482f)); }
.modern-order-details-meta-icon svg, .modern-order-details-address-icon svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.modern-order-details-meta-card > span:last-child { display:grid; min-width:0; gap:1px; }
.modern-order-details-meta-card small, .modern-order-details-summary header span { color:var(--ink-soft,#746763); font-size:.72rem; font-weight:650; }
.modern-order-details-meta-card strong { overflow-wrap:anywhere; font-size:.93rem; line-height:1.25; }
.modern-order-details-meta-card em { overflow-wrap:anywhere; color:var(--ink-soft,#746763); font-size:.74rem; font-style:normal; }
.modern-order-details-address { display:flex; gap:12px; margin:16px 0; padding:14px; border:1px solid var(--line,#e9ddda); border-radius:16px; background:var(--surface-2,#f6eeeb); }
.modern-order-details-address h3, .modern-order-details-summary h3 { margin:0; font-size:1rem; line-height:1.25; }
.modern-order-details-address p { margin:3px 0 0; color:var(--ink-soft,#746763); font-size:.85rem; line-height:1.35; }
.modern-order-details-address-complement { color:var(--ink,#231815) !important; }
.modern-order-details-summary { margin:16px 0 8px; padding:14px; border:1px solid var(--line,#e9ddda); border-radius:16px; background:var(--surface-2,#f6eeeb); }
.modern-order-details-summary > header { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:6px; }
.modern-order-details-summary > header div { display:grid; gap:2px; }
.modern-order-details-items { display:grid; }
.modern-order-details-totals { display:grid; gap:8px; margin-top:4px; padding:16px 0 8px; border-top:1px solid var(--line,#e9ddda); }
.modern-order-details-totals div { display:flex; justify-content:space-between; gap:16px; color:var(--ink-soft,#746763); font-size:.88rem; }
.modern-order-details-totals strong { color:var(--ink,#231815); font-variant-numeric:tabular-nums; }
.modern-order-details-totals .modern-order-details-discount strong { color:var(--primary,var(--accent,#c9482f)); }
.modern-order-details-totals .is-total { margin-top:3px; padding-top:12px; border-top:1px solid var(--line,#e9ddda); color:var(--ink,#231815); font-size:1.04rem; font-weight:800; }
.modern-order-details-totals .is-total strong { color:var(--primary,var(--accent,#c9482f)); font-size:1.12rem; }
.modern-order-details-footer { grid-template-columns:1fr 1fr; padding:13px 24px calc(13px + env(safe-area-inset-bottom)); }
.modern-order-details-footer button:focus-visible, .modern-order-details-modal .modern-cart-modal-close:focus-visible { outline:3px solid color-mix(in srgb,var(--primary,var(--accent,#c9482f)) 42%,transparent); outline-offset:2px; }
html[data-theme="dark"] .modern-order-details-modal { box-shadow:0 20px 60px rgba(0,0,0,.52); }
html[data-theme="dark"] .modern-order-details-meta-card, html[data-theme="dark"] .modern-order-details-address, html[data-theme="dark"] .modern-order-details-summary { background:var(--surface-2); }
@media (max-width:767.98px) { .modern-order-details-modal { width:100%; max-height:90dvh; border-radius:24px 24px 0 0; } .modern-order-details-header { padding:11px 16px; } .modern-order-details-body { padding:14px 16px 6px; } .modern-order-details-meta { grid-template-columns:1fr; } .modern-order-details-footer { padding-inline:16px; } }
@media (max-width:400px) { .pf-order-actions { gap:6px; } .pf-order-actions button { padding-inline:10px; } }
@media (max-width:375px) { .modern-order-details-footer { grid-template-columns:1fr; gap:8px; padding:10px 14px calc(10px + env(safe-area-inset-bottom)); } .modern-order-details-footer button { min-width:0; font-size:.9rem; } }
@media (max-width:420px) { .modern-order-details-meta-card { padding:11px; } }
