@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Libre+Baskerville:wght@400;700&family=Open+Sans:wght@400;600;700&family=Oswald:wght@400;600;700&family=Quicksand:wght@400;600;700&family=Roboto:wght@400;500;700&display=swap');

.store-shell .brand-logo {
  box-sizing: border-box;
  width: min(160px, 100%);
  max-width: 160px;
  min-width: 0;
  height: 64px;
  overflow: hidden;
  flex: 0 1 160px;
}

.store-shell .brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  max-height: min(var(--logo-size, 54px), 54px);
  object-fit: contain;
}

.store-shell .nav-primary > * { min-width: 0; }
.store-shell .nav-center { min-width: 0; }

.payment-storefront-info {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--border, #dbe7ef);
  border-radius: 0.9rem;
  background: var(--surface, #fff);
}

.payment-storefront-info h3,
.payment-storefront-info p { margin: 0; }

/* En Envíos, los tres últimos pares de controles pertenecen a comunicación
   comercial y ahora se administran exclusivamente desde Pagos. */
.shipping-kind.product-benefits-admin .shipping-editor-grid > label:nth-child(n + 4) {
  display: none;
}

@media (max-width: 700px) {
  .admin .workspace:has(.design-editor) > header {
    position: sticky;
    top: 0;
    z-index: 40;
    gap: 0.65rem;
    padding-top: max(0.75rem, env(safe-area-inset-top));
    padding-bottom: 0.75rem;
    background: var(--page, #f7fbfd);
    border-bottom: 1px solid #dbe7ef;
  }

  .admin .workspace:has(.design-editor) > header > div:last-child {
    display: flex;
    flex: 0 0 auto;
    gap: 0.5rem;
  }

  .admin .workspace:has(.design-editor) > header button {
    white-space: nowrap;
  }

  .font-family-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .font-family-grid button,
  .font-family-grid b,
  .font-family-grid span {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .store-shell .brand-logo {
    width: min(112px, 30vw);
    max-width: 112px;
    height: 54px;
    flex-basis: 112px;
  }

  .store-shell .brand-logo img {
    max-height: 48px;
  }
}
