/* Public storefront */
*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --brand: #6344ad;
  --brand-dark: #4f3489;
  --brand-light: #f3eefb;
  --store-mobile-gutter: 20px;
}

.store-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #0f172a;
  background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 45%, #f1f5f9 100%);
  -webkit-font-smoothing: antialiased;
}

.store-main {
  flex: 1;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 32px 24px;
  box-sizing: border-box;
}

.store-main--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.store-stack {
  width: min(480px, 100%);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.store-brand {
  display: flex;
  justify-content: center;
}

.store-brand-link {
  display: inline-flex;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.store-brand-link:hover {
  opacity: 0.85;
}

.store-brand-link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.store-logo-img {
  display: block;
  width: auto;
  max-width: 200px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.store-card {
  width: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  padding: 32px 32px 36px;
  display: flex;
  flex-direction: column;
}

.store-card > :first-child {
  margin-top: 0;
}

.store-card > :last-child {
  margin-bottom: 0;
}

.store-card-error {
  text-align: center;
}

.store-not-found-card {
  align-items: center;
  padding: 40px 32px 36px;
  padding-inline: 32px;
}

.store-not-found-icon {
  width: 72px;
  height: 72px;
  margin: 0 0 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 8px rgba(99, 68, 173, 0.06);
}

.store-not-found-icon--muted {
  background: #f1f5f9;
  color: #64748b;
  box-shadow: 0 0 0 8px rgba(15, 23, 42, 0.04);
}

.store-not-found-title {
  width: 100%;
  max-width: 22rem;
  margin: 0 0 10px;
  padding: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
  text-align: center;
  text-wrap: balance;
}

.store-not-found-lead {
  width: 100%;
  max-width: 22rem;
  margin: 0;
  padding: 0;
  text-align: center;
  text-wrap: pretty;
}

.store-not-found-lead strong {
  font-weight: 600;
  color: #0f172a;
}

.store-notice {
  background: var(--brand-light);
  border: 1px solid #d4c4ef;
  color: var(--brand-dark);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}

.store-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
}

.store-domain {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  word-break: break-word;
  margin: 0 0 12px;
}

.store-lead {
  color: #475569;
  line-height: 1.65;
  margin: 0 0 20px;
}

.store-lead--compact {
  margin-bottom: 0;
}

.store-card-actions {
  margin-top: 24px;
  flex-shrink: 0;
}

.store-price-block {
  margin-bottom: 20px;
}

.store-price-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.store-price {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
}

.store-price-note {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  margin-top: 4px;
}

.store-pending-block {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 24px;
}

.store-pending-title {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 8px;
}

.store-pending-text {
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

.store-trust-muted {
  border-top: none;
  padding-top: 0;
}

.store-checkout-form {
  margin-bottom: 24px;
}

.store-pay-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(99, 68, 173, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  box-sizing: border-box;
}

.store-pay-btn--link {
  text-decoration: none;
}

.store-pay-btn--link:visited {
  color: #fff;
}

.store-pay-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 68, 173, 0.45);
}

.store-pay-btn:active {
  transform: translateY(0);
}

.store-pay-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.store-pay-btn:disabled:hover {
  transform: none;
  box-shadow: none;
}

.store-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

.store-trust li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 8px;
}

.store-trust li:last-child {
  margin-bottom: 0;
}

.store-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

.store-footer {
  flex-shrink: 0;
  text-align: center;
  padding: 20px 24px 32px;
  font-size: 12px;
  color: #94a3b8;
}

.store-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.store-footer-nav a {
  color: #64748b;
  font-weight: 600;
  text-decoration: none;
}

.store-footer-nav a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.store-footer-sep {
  color: #cbd5e1;
  user-select: none;
}

.store-footer-copy {
  margin: 0;
}

/* Legal pages */
.store-main--legal {
  align-items: flex-start;
  padding-top: 28px;
  padding-bottom: 40px;
}

.store-legal {
  text-align: left;
}

.store-legal-updated {
  font-size: 12px;
  color: #94a3b8;
  margin: 0 0 8px;
}

.store-legal-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: #0f172a;
}

.store-legal-intro {
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 24px;
}

.store-legal h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 28px 0 10px;
}

.store-legal h2:first-of-type {
  margin-top: 0;
}

.store-legal p,
.store-legal li {
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 12px;
}

.store-legal ul {
  margin: 0 0 16px;
  padding-left: 1.25rem;
}

.store-legal li {
  margin-bottom: 6px;
}

.store-legal a {
  color: var(--brand-dark);
  font-weight: 500;
}

.store-legal a:hover {
  text-decoration: underline;
}

.store-legal-back {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  margin-bottom: 0;
}

.store-legal-back a {
  font-size: 14px;
  font-weight: 600;
}

.store-card-error .store-domain {
  font-size: 1.5rem;
}

.store-notice-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.store-account-flash {
  margin-top: 0;
  margin-bottom: 20px;
}

.store-account-alt-link {
  margin: 16px 0 0;
  padding-top: 4px;
  font-size: 13px;
  color: #64748b;
  text-align: center;
}

.store-account-alt-link a {
  color: #64748b;
  font-weight: 500;
  text-decoration: none;
}

.store-account-alt-link a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.store-checkout-email {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.store-checkout-consent {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.store-checkout-consent-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #475569;
  cursor: pointer;
}

.store-checkout-consent-input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
}

.store-checkout-consent-item a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.store-checkout-consent-item a:hover {
  color: var(--brand-dark);
}

.store-checkout-email-label {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.store-checkout-email-input {
  width: 100%;
  box-sizing: border-box;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  background: #fff;
}

.store-checkout-email-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(99, 68, 173, 0.15);
}

.store-otp {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.store-otp-digit {
  width: 44px;
  height: 52px;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: #0f172a;
  caret-color: var(--brand);
}

.store-otp-digit:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(99, 68, 173, 0.15);
}

.store-otp-digit::-webkit-outer-spin-button,
.store-otp-digit::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@media (max-width: 400px) {
  .store-otp {
    gap: 6px;
  }

  .store-otp-digit {
    width: 40px;
    height: 48px;
    font-size: 20px;
  }
}

.store-stack-wide {
  width: min(560px, 100%);
}

.store-card-account .button {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.store-account-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.store-domain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.store-domain-list li + li {
  border-top: 1px solid #e2e8f0;
}

.store-domain-list-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
}

.store-domain-list-link:hover {
  background: #f8fafc;
}

.store-domain-list-meta {
  font-size: 13px;
  color: #64748b;
}

.store-eyebrow a {
  text-decoration: none;
}

.store-eyebrow a:hover {
  text-decoration: underline;
}

/* Buyer account — domain detail */
.store-card-detail {
  gap: 0;
  padding-bottom: 40px;
}

.store-domain--detail {
  margin-bottom: 24px;
}

.store-back-link {
  color: #64748b;
  text-decoration: none;
}

.store-back-link:hover {
  color: var(--brand);
}

.store-detail-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-back-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  letter-spacing: normal;
  text-transform: none;
  transition: color 0.12s ease;
}

.store-detail-wrap .store-card {
  width: 100%;
}

.store-back-nav:hover {
  color: var(--brand);
}

.store-back-nav-icon {
  flex-shrink: 0;
}

.store-detail-panel {
  background: linear-gradient(180deg, #faf8ff 0%, #f8fafc 100%);
  border: 1px solid #e8e2f0;
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 20px;
}

.store-detail-panel--release {
  background: #f8fafc;
}

.store-detail-panel-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 14px;
}

.store-meta-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  margin: 0 0 16px;
  font-size: 14px;
}

.store-meta-grid dt {
  color: #64748b;
  font-weight: 500;
  margin: 0;
}

.store-meta-grid dd {
  margin: 0;
  text-align: right;
}

.store-meta-value {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #0f172a;
}

.store-status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
  background: #e2e8f0;
  color: #475569;
}

.store-status-pill--sold {
  background: var(--brand-light);
  color: var(--brand-dark);
}

.store-status-pill--released {
  background: #e0e7ff;
  color: #3730a3;
}

.store-status-pill--pending,
.store-status-pill--payment_processing {
  background: #fef3c7;
  color: #92400e;
}

.store-status-pill--approved {
  background: #dbeafe;
  color: #1d4ed8;
}

.store-status-pill--rejected {
  background: #fee2e2;
  color: #b91c1c;
}

.store-status-pill--completed {
  background: #dcfce7;
  color: #166534;
}

input[name="target_tag"] {
  text-transform: uppercase;
}

.store-tag-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}

.store-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  border: 1px solid #d4c4ef;
  background: #fff;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.12s ease, border-color 0.12s ease;
  box-sizing: border-box;
}

.store-btn-secondary:hover {
  background: var(--brand-light);
  border-color: var(--brand);
}

button.store-btn-secondary {
  margin: 0;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  appearance: none;
  -webkit-appearance: none;
}

.store-detail-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
}

.store-detail-section {
  border-top: 1px solid #e2e8f0;
  padding-top: 24px;
  padding-bottom: 8px;
  margin-top: 4px;
}

.store-detail-section:last-child {
  padding-bottom: 4px;
}

.store-detail-form {
  margin: 0;
  display: block;
  width: 100%;
}

.store-card-actions--tight {
  margin-top: 0;
}

.store-detail-section-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: #0f172a;
}

.store-detail-section .store-lead--compact {
  margin-bottom: 20px;
}

.store-release-tag-form {
  margin-top: 16px;
}

.store-release-tag-form .store-card-actions {
  margin-top: 0;
}

.store-checkout-form--flush {
  margin-bottom: 0;
}

.store-domain--list-title {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.store-lead--flush {
  margin-bottom: 20px;
}

.store-domain-cards {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-domain-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
}

.store-domain-card--archived {
  background: #f8fafc;
}

.store-domain-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.store-domain-card-name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  word-break: break-word;
}

.store-domain-card-name:hover {
  color: var(--brand);
}

.store-domain-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.store-domain-card-actions > form,
.store-domain-card-actions .store-inline-form,
.store-domain-card-actions .store-domain-card-archive-form {
  display: contents;
}

.store-btn-secondary--sm,
a.store-btn-secondary--sm,
button.store-btn-secondary--sm {
  width: auto;
  min-height: 34px;
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1.2;
  border-radius: 8px;
  box-sizing: border-box;
}

.store-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.store-btn-ghost:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.store-btn-ghost--sm,
a.store-btn-ghost--sm,
button.store-btn-ghost--sm {
  min-height: 34px;
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1.2;
  border-radius: 8px;
  box-sizing: border-box;
}

button.store-btn-ghost {
  margin: 0;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.store-btn-ghost--block {
  width: 100%;
  box-sizing: border-box;
}

.store-account-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
  margin-top: 4px;
}

.store-inline-form {
  margin: 0;
}

.store-detail-section--archive {
  margin-top: 20px;
  padding-bottom: 4px;
}

.store-status-pill--sold {
  flex-shrink: 0;
}

.store-domain-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.store-domain-card-archive-form {
  margin: 0;
  flex-shrink: 0;
}

/* Confirm modal (buyer / public pages) */
body.modal-open {
  overflow: hidden;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.confirm-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.confirm-modal[hidden] {
  display: none;
}

.confirm-modal.is-open[hidden] {
  display: grid;
}

.confirm-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.confirm-modal-card {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12);
  padding: 24px;
}

.confirm-modal-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: #0f172a;
}

.confirm-modal-alert {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.confirm-modal-alert svg {
  display: block;
}

.confirm-modal-message {
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 22px;
}

.confirm-modal-lead {
  margin: 0 0 16px;
  color: #334155;
  line-height: 1.65;
}

.confirm-modal-detail {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
}

.confirm-modal-tag-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  margin: 0 0 4px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-align: center;
}

.confirm-modal-tag-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.confirm-modal-highlight {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0f172a;
  word-break: break-word;
}

.confirm-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* ── Mobile (public / buyer pages) ───────────────────────────── */
@media (max-width: 768px) {
  .store-body {
    min-height: 100dvh;
    overflow-x: hidden;
  }

  .store-main {
    padding: var(--store-mobile-gutter);
    padding-left: max(var(--store-mobile-gutter), env(safe-area-inset-left));
    padding-right: max(var(--store-mobile-gutter), env(safe-area-inset-right));
  }

  .store-main--center {
    flex: 1;
    min-height: 0;
  }

  .store-stack,
  .store-stack-wide {
    width: 100%;
    max-width: 440px;
    gap: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .store-main--center .store-stack,
  .store-main--center .store-stack-wide {
    width: 100%;
  }

  .store-card {
    width: 100%;
    max-width: 100%;
    padding: 24px 22px 28px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  }

  .store-not-found-card {
    padding: 32px 22px 28px;
    padding-inline: 22px;
  }

  .store-footer {
    padding: 16px var(--store-mobile-gutter);
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }

  .store-main--legal {
    padding-top: 20px;
  }

  .store-legal-title {
    font-size: 1.5rem;
  }

  .store-price {
    font-size: 2.1rem;
  }

  .store-account-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .store-account-header .button,
  .store-account-header .store-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .store-meta-grid {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }

  .store-meta-grid dt {
    margin-top: 10px;
  }

  .store-meta-grid dt:first-child {
    margin-top: 0;
  }

  .store-meta-grid dd {
    text-align: left;
  }

  .store-domain-card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .store-domain-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .store-domain-card-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .store-domain-card-actions .store-btn-secondary--sm,
  .store-domain-card-actions .store-btn-ghost--sm {
    width: 100%;
    justify-content: center;
  }

  .store-detail-panel {
    padding: 16px;
  }

  .confirm-modal {
    padding: 16px;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .confirm-modal-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .confirm-modal-actions .store-btn-secondary,
  .confirm-modal-actions .store-btn-ghost,
  .confirm-modal-actions .store-pay-btn {
    width: 100%;
  }
}
