.obaxua-contact {
  position: fixed;
  z-index: 1000;
  top: calc(max(18px, env(safe-area-inset-top)) + 54px);
  right: max(18px, env(safe-area-inset-right));
  color: #11120f;
  font: 700 10px/1.2 "OBAXUA Sans", Arial, sans-serif;
  letter-spacing: 0.08em;
}

.obaxua-contact summary {
  display: flex;
  align-items: center;
  min-height: 42px;
  gap: 8px;
  padding: 10px 14px;
  border: 1px dashed rgba(17, 18, 15, 0.75);
  border-radius: 999px;
  background: rgba(248, 247, 242, 0.92);
  box-shadow: 0 8px 24px rgba(27, 22, 16, 0.12);
  backdrop-filter: blur(14px);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.obaxua-contact summary::-webkit-details-marker { display: none; }
.obaxua-contact summary span { font-size: 17px; letter-spacing: 0; }

.obaxua-contact summary:focus-visible,
.contact-options a:focus-visible,
.contact-options button:focus-visible {
  outline: 3px solid var(--accent, #6c7950);
  outline-offset: 3px;
}

.contact-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: 250px;
  max-width: calc(100vw - 36px);
  gap: 9px;
  padding: 16px;
  border: 1px solid rgba(17, 18, 15, 0.7);
  background: #f8f7f2;
  box-shadow: 0 18px 48px rgba(27, 22, 16, 0.2);
}

.contact-options strong { margin-bottom: 3px; font-size: 12px; letter-spacing: 0; }

.contact-options a,
.contact-options button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(17, 18, 15, 0.45);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
}

.contact-options a:first-of-type { background: #11120f; color: white; }
.contact-options button { min-height: 34px; border-color: transparent; color: #73746e; }

@media (min-width: 1280px) {
  body:has(.commerce-shell) .obaxua-contact {
    top: var(--safe-top);
    right: calc(var(--receipt-width) + var(--commerce-gap) + var(--safe-right));
  }

  body:has(.commerce-shell) .top-status {
    display: none;
  }
}

@media (max-width: 640px) {
  .obaxua-contact {
    top: calc(max(12px, env(safe-area-inset-top)) + 50px);
    right: max(12px, env(safe-area-inset-right));
  }

  .obaxua-contact summary {
    width: 44px;
    height: 44px;
    min-height: 44px;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    font-size: 0;
  }

  .obaxua-contact summary span { font-size: 18px; }
}
